chore: rebrand companion-os to clanker-agent

- Rename all package names from companion-* to clanker-*
- Update npm scopes from @mariozechner to @harivansh-afk
- Rename config directories .companion -> .clanker
- Rename environment variables COMPANION_* -> CLANKER_*
- Update all documentation, README files, and install scripts
- Rename package directories (companion-channels, companion-grind, companion-teams)
- Update GitHub URLs to harivansh-afk/clanker-agent
- Preserve full git history from companion-cloud monorepo
This commit is contained in:
Harivansh Rathi 2026-03-26 16:22:52 -04:00
parent f93fe7d1a0
commit 67168d8289
356 changed files with 2249 additions and 10223 deletions

View file

@ -17,7 +17,7 @@ describe("package commands", () => {
beforeEach(() => {
tempDir = join(
tmpdir(),
`companion-package-commands-${Date.now()}-${Math.random().toString(36).slice(2)}`,
`clanker-package-commands-${Date.now()}-${Math.random().toString(36).slice(2)}`,
);
agentDir = join(tempDir, "agent");
projectDir = join(tempDir, "project");
@ -89,7 +89,7 @@ describe("package commands", () => {
.map(([message]) => String(message))
.join("\n");
expect(stdout).toContain("Usage:");
expect(stdout).toContain("companion install <source> [-l]");
expect(stdout).toContain("clanker install <source> [-l]");
expect(errorSpy).not.toHaveBeenCalled();
expect(process.exitCode).toBeUndefined();
} finally {
@ -109,7 +109,7 @@ describe("package commands", () => {
.join("\n");
expect(stderr).toContain('Unknown option --unknown for "install".');
expect(stderr).toContain(
'Use "companion --help" or "companion install <source> [-l]".',
'Use "clanker --help" or "clanker install <source> [-l]".',
);
expect(process.exitCode).toBe(1);
} finally {
@ -127,7 +127,7 @@ describe("package commands", () => {
.map(([message]) => String(message))
.join("\n");
expect(stderr).toContain("Missing install source.");
expect(stderr).toContain("Usage: companion install <source> [-l]");
expect(stderr).toContain("Usage: clanker install <source> [-l]");
expect(stderr).not.toContain("at ");
expect(process.exitCode).toBe(1);
} finally {