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

@ -12,9 +12,9 @@ import type {
Context,
Model,
OpenAICompletionsCompat,
} from "@mariozechner/companion-ai";
import { getApiProvider } from "@mariozechner/companion-ai";
import { getOAuthProvider } from "@mariozechner/companion-ai/oauth";
} from "@mariozechner/clanker-ai";
import { getApiProvider } from "@mariozechner/clanker-ai";
import { getOAuthProvider } from "@mariozechner/clanker-ai/oauth";
import { afterEach, beforeEach, describe, expect, test } from "vitest";
import { AuthStorage } from "../src/core/auth-storage.js";
import { clearApiKeyCache, ModelRegistry } from "../src/core/model-registry.js";
@ -27,7 +27,7 @@ describe("ModelRegistry", () => {
beforeEach(() => {
tempDir = join(
tmpdir(),
`companion-test-model-registry-${Date.now()}-${Math.random().toString(36).slice(2)}`,
`clanker-test-model-registry-${Date.now()}-${Math.random().toString(36).slice(2)}`,
);
mkdirSync(tempDir, { recursive: true });
modelsJsonPath = join(tempDir, "models.json");