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:
Harivansh Rathi 2026-03-10 07:39:32 -05:00
parent e8fe3d54af
commit 536241053c
303 changed files with 3603 additions and 3602 deletions

View file

@ -17,7 +17,7 @@ describe("package commands", () => {
beforeEach(() => {
tempDir = join(
tmpdir(),
`pi-package-commands-${Date.now()}-${Math.random().toString(36).slice(2)}`,
`companion-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("pi install <source> [-l]");
expect(stdout).toContain("companion 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 "pi --help" or "pi install <source> [-l]".',
'Use "companion --help" or "companion 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: pi install <source> [-l]");
expect(stderr).toContain("Usage: companion install <source> [-l]");
expect(stderr).not.toContain("at ");
expect(process.exitCode).toBe(1);
} finally {