Skip to content

Commit e85979a

Browse files
authored
chore(deps): migrate pi-compass to @earendil-works namespace (#117)
\`npm install -g pi-compass\` emits four \`@mariozechner\` deprecation warnings on every install. The \`@earendil-works/pi-*\` packages at v0.74.0 are the canonical replacements. ## Scope (pi-compass only) This PR migrates only \`packages/pi-compass\`. All 10 source and test files under \`src/\` and the workspace \`package.json\` were updated — a namespace-only change. The other workspaces are being migrated in separate PRs (see #102 for pi-simplify). ## Verification - \`npm --workspace=pi-compass run typecheck\`: clean. - \`npm --workspace=pi-compass test\`: 106 of 106 vitest tests pass. ## Note on Conventional Commits This is a \`chore(deps)\` change. The migrated workspace keeps its existing public API; only its peer dependency names change.
1 parent 09807e0 commit e85979a

11 files changed

Lines changed: 13 additions & 13 deletions

packages/pi-compass/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@
5555
"prepack": "test -d dist || { echo 'Error: dist/ missing. Run npm run build first.' && exit 1; }"
5656
},
5757
"peerDependencies": {
58-
"@mariozechner/pi-coding-agent": "^0.62.0",
59-
"@mariozechner/pi-ai": "^0.62.0",
60-
"@mariozechner/pi-tui": "^0.62.0",
58+
"@earendil-works/pi-coding-agent": "^0.74.0",
59+
"@earendil-works/pi-ai": "^0.74.0",
60+
"@earendil-works/pi-tui": "^0.74.0",
6161
"@sinclair/typebox": "^0.34.0"
6262
},
6363
"devDependencies": {

packages/pi-compass/src/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { describe, it, expect, vi } from "vitest";
2-
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
2+
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
33
import extension from "./index.js";
44

55
function makeMockPi(): ExtensionAPI {

packages/pi-compass/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type {
22
ExtensionAPI,
33
ExtensionCommandContext,
4-
} from "@mariozechner/pi-coding-agent";
4+
} from "@earendil-works/pi-coding-agent";
55

66
import { detectProject } from "./project.js";
77
import { ensureStorageLayout, loadCachedCodemap } from "./storage.js";

packages/pi-compass/src/onboard-command.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { describe, it, expect, vi, afterAll } from "vitest";
22
import { mkdtempSync, rmSync, mkdirSync, writeFileSync } from "node:fs";
33
import { tmpdir } from "node:os";
44
import { join } from "node:path";
5-
import type { ExtensionAPI, ExtensionCommandContext } from "@mariozechner/pi-coding-agent";
5+
import type { ExtensionAPI, ExtensionCommandContext } from "@earendil-works/pi-coding-agent";
66
import { handleOnboardCommand } from "./onboard-command.js";
77
import type { StateRef } from "./types.js";
88
import type { CompassState } from "./types.js";

packages/pi-compass/src/onboard-command.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type {
22
ExtensionAPI,
33
ExtensionCommandContext,
4-
} from "@mariozechner/pi-coding-agent";
4+
} from "@earendil-works/pi-coding-agent";
55
import { generateCodemap } from "./codemap-generator.js";
66
import { formatCodemapMarkdown } from "./codemap-formatter.js";
77
import { saveCachedCodemap } from "./storage.js";

packages/pi-compass/src/onboard-tools.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { describe, it, expect, vi, afterAll } from "vitest";
22
import { mkdtempSync, rmSync, mkdirSync, writeFileSync } from "node:fs";
33
import { tmpdir } from "node:os";
44
import { join } from "node:path";
5-
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
5+
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
66
import { registerOnboardTools } from "./onboard-tools.js";
77
import type { StateRef } from "./types.js";
88
import type { CompassState, CodeMap, CacheEntry } from "./types.js";

packages/pi-compass/src/onboard-tools.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
1+
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
22
import { Type } from "@sinclair/typebox";
33
import type { StateRef } from "./types.js";
44
import { getOrGenerateCodemap } from "./codemap-generator.js";

packages/pi-compass/src/project.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { describe, it, expect, vi } from "vitest";
2-
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
2+
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
33
import { detectProject } from "./project.js";
44

55
function makeMockPi(execResults: Record<string, { code: number; stdout: string; stderr: string }>): ExtensionAPI {

packages/pi-compass/src/project.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { createHash } from "node:crypto";
22
import { basename } from "node:path";
3-
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
3+
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
44
import type { ProjectInfo } from "./types.js";
55

66
function hashString(input: string): string {

packages/pi-compass/src/tour-command.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { describe, it, expect, vi, afterAll } from "vitest";
22
import { mkdtempSync, rmSync, mkdirSync, writeFileSync } from "node:fs";
33
import { tmpdir } from "node:os";
44
import { join } from "node:path";
5-
import type { ExtensionAPI, ExtensionCommandContext } from "@mariozechner/pi-coding-agent";
5+
import type { ExtensionAPI, ExtensionCommandContext } from "@earendil-works/pi-coding-agent";
66
import { handleTourCommand } from "./tour-command.js";
77
import type { StateRef } from "./types.js";
88
import type { CompassState, CodeMap, CacheEntry } from "./types.js";

0 commit comments

Comments
 (0)