mirror of
https://github.com/harivansh-afk/clanker-agent.git
synced 2026-04-16 21:03:42 +00:00
refactor: finish companion rename migration
Complete the remaining pi-to-companion rename across companion-os, web, vm-orchestrator, docker, and archived fixtures. Verification: - semantic rg sweeps for Pi/piConfig/getPi/.pi runtime references - npm run check in apps/companion-os (fails in this worktree: biome not found) Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
parent
e8fe3d54af
commit
536241053c
303 changed files with 3603 additions and 3602 deletions
|
|
@ -12,9 +12,9 @@ import type {
|
|||
Context,
|
||||
Model,
|
||||
OpenAICompletionsCompat,
|
||||
} from "@mariozechner/pi-ai";
|
||||
import { getApiProvider } from "@mariozechner/pi-ai";
|
||||
import { getOAuthProvider } from "@mariozechner/pi-ai/oauth";
|
||||
} from "@mariozechner/companion-ai";
|
||||
import { getApiProvider } from "@mariozechner/companion-ai";
|
||||
import { getOAuthProvider } from "@mariozechner/companion-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(),
|
||||
`pi-test-model-registry-${Date.now()}-${Math.random().toString(36).slice(2)}`,
|
||||
`companion-test-model-registry-${Date.now()}-${Math.random().toString(36).slice(2)}`,
|
||||
);
|
||||
mkdirSync(tempDir, { recursive: true });
|
||||
modelsJsonPath = join(tempDir, "models.json");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue