mirror of
https://github.com/harivansh-afk/clanker-agent.git
synced 2026-04-21 16:01:09 +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
|
|
@ -139,7 +139,7 @@ describe("CombinedAutocompleteProvider", () => {
|
|||
let outsideDir = "";
|
||||
|
||||
beforeEach(() => {
|
||||
rootDir = mkdtempSync(join(tmpdir(), "pi-autocomplete-root-"));
|
||||
rootDir = mkdtempSync(join(tmpdir(), "companion-autocomplete-root-"));
|
||||
baseDir = join(rootDir, "cwd");
|
||||
outsideDir = join(rootDir, "outside");
|
||||
mkdirSync(baseDir, { recursive: true });
|
||||
|
|
@ -339,9 +339,9 @@ describe("CombinedAutocompleteProvider", () => {
|
|||
|
||||
test("includes hidden paths but excludes .git", () => {
|
||||
setupFolder(baseDir, {
|
||||
dirs: [".pi", ".github", ".git"],
|
||||
dirs: [".companion", ".github", ".git"],
|
||||
files: {
|
||||
".pi/config.json": "{}",
|
||||
".companion/config.json": "{}",
|
||||
".github/workflows/ci.yml": "name: ci",
|
||||
".git/config": "[core]",
|
||||
},
|
||||
|
|
@ -356,7 +356,7 @@ describe("CombinedAutocompleteProvider", () => {
|
|||
const result = provider.getSuggestions([line], 0, line.length);
|
||||
|
||||
const values = result?.items.map((item) => item.value) ?? [];
|
||||
assert.ok(values.includes("@.pi/"));
|
||||
assert.ok(values.includes("@.companion/"));
|
||||
assert.ok(values.includes("@.github/"));
|
||||
assert.ok(
|
||||
!values.some(
|
||||
|
|
@ -432,7 +432,7 @@ describe("CombinedAutocompleteProvider", () => {
|
|||
let baseDir = "";
|
||||
|
||||
beforeEach(() => {
|
||||
baseDir = mkdtempSync(join(tmpdir(), "pi-autocomplete-"));
|
||||
baseDir = mkdtempSync(join(tmpdir(), "companion-autocomplete-"));
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue