Skip to content

Commit 04de7cb

Browse files
committed
chore(deps): migrate from @mariozechner to @earendil-works (closes #39)
The four @mariozechner/pi-* packages this repo depends on are deprecated upstream; the @earendil-works/pi-* line at v0.74.0 is the canonical replacement. This commit completes the migration end-to-end without leaving any indirect aliases in place: - Source imports across src/commands/, src/components/, src/tools/, src/index.ts, src/manager.ts, src/notification.ts, and src/status-bar-controller.ts now reference @earendil-works/pi-coding-agent, @earendil-works/pi-tui, and @earendil-works/pi-ai. - peerDependencies and devDependencies repinned to @earendil-works at ^0.74.0. @earendil-works/pi-ai added to dev so type-only imports resolve. - @aliou/pi-utils-ui ^0.10.0 -> ^0.4.1. v0.4 imports cleanly from @earendil-works/pi-tui so no indirection remains, but it removes the createPanelPadder / renderPanelRule / renderPanelTitleLine helpers this repo still consumes for mid-body separators. The three helpers (~30 lines total) are ported in tree under src/components/panel-helpers.ts so pi-processes owns the rendering surface it relies on. - @aliou/pi-utils-settings ^0.10.0 -> ^0.15.1. - @aliou/biome-plugins ^0.3.2 -> ^0.8.1. - typescript ^5.9.3 -> ^6.0.3. - biome.json schema reference bumped to 2.4.15 so the CLI from @aliou/biome-plugins stops emitting a deserialise warning. - Biome auto-fixes applied along the way: src/manager.ts exports sorted alphabetically; tsconfig.json arrays compacted. After this change pnpm install reports 0 vulnerabilities, pnpm typecheck (tsc --noEmit) is clean, pnpm lint (biome check) is clean, and the 18 existing vitest tests still pass. node-domexception remains as the only transitive deprecation, seven levels deep through fetch-blob.
1 parent 6edf4d2 commit 04de7cb

39 files changed

Lines changed: 1122 additions & 1896 deletions

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.4.2/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.4.15/schema.json",
33
"plugins": [
44
"./node_modules/@aliou/biome-plugins/plugins/no-inline-imports.grit",
55
"./node_modules/@aliou/biome-plugins/plugins/no-js-import-extension.grit",

package.json

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,31 +33,26 @@
3333
"CONTRIBUTING.md"
3434
],
3535
"dependencies": {
36-
"@aliou/pi-utils-settings": "^0.10.0",
37-
"@aliou/pi-utils-ui": "^0.1.0",
36+
"@aliou/pi-utils-settings": "^0.15.1",
37+
"@aliou/pi-utils-ui": "^0.4.1",
3838
"@aliou/sh": "^0.1.0",
3939
"typebox": "^1.0.0"
4040
},
4141
"peerDependencies": {
42-
"@mariozechner/pi-coding-agent": "0.72.1",
43-
"@mariozechner/pi-tui": "0.72.1"
42+
"@earendil-works/pi-coding-agent": "*",
43+
"@earendil-works/pi-tui": "*"
4444
},
4545
"devDependencies": {
46-
"@aliou/biome-plugins": "^0.3.2",
46+
"@aliou/biome-plugins": "^0.8.1",
4747
"@biomejs/biome": "^2.3.13",
4848
"@changesets/cli": "^2.27.11",
49-
"@mariozechner/pi-ai": "0.72.1",
50-
"@mariozechner/pi-coding-agent": "0.72.1",
5149
"@types/node": "^25.0.10",
5250
"husky": "^9.1.7",
53-
"typescript": "^5.9.3",
54-
"vitest": "^4.0.18"
55-
},
56-
"pnpm": {
57-
"overrides": {
58-
"@mariozechner/pi-ai": "$@mariozechner/pi-coding-agent",
59-
"@mariozechner/pi-tui": "$@mariozechner/pi-coding-agent"
60-
}
51+
"typescript": "^6.0.3",
52+
"vitest": "^4.0.18",
53+
"@earendil-works/pi-coding-agent": "^0.74.0",
54+
"@earendil-works/pi-tui": "^0.74.0",
55+
"@earendil-works/pi-ai": "^0.74.0"
6156
},
6257
"scripts": {
6358
"typecheck": "tsc --noEmit",
@@ -72,10 +67,10 @@
7267
},
7368
"packageManager": "pnpm@10.26.1",
7469
"peerDependenciesMeta": {
75-
"@mariozechner/pi-coding-agent": {
70+
"@earendil-works/pi-coding-agent": {
7671
"optional": true
7772
},
78-
"@mariozechner/pi-tui": {
73+
"@earendil-works/pi-tui": {
7974
"optional": true
8075
}
8176
}

pnpm-lock.yaml

Lines changed: 1001 additions & 1813 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/commands/clear/command.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 { ProcessManager } from "../../manager";
33

44
export function registerPsClearCommand(

src/commands/dock/command.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 { DockActions } from "../../hooks/widget";
33

44
export function registerPsDockCommand(

src/commands/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* /ps:dock [show|hide|toggle] - Control dock visibility
1010
*/
1111

12-
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
12+
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
1313
import type { DockActions } from "../hooks/widget";
1414
import type { ProcessManager } from "../manager";
1515
import { registerPsClearCommand } from "./clear";

src/commands/kill/command.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 { LIVE_STATUSES } from "../../constants";
33
import type { DockActions } from "../../hooks/widget";
44
import type { ProcessManager } from "../../manager";

src/commands/logs/command.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 { LogOverlayComponent } from "../../components/log-overlay-component";
33
import type { ProcessManager } from "../../manager";
44
import { allProcessCompletions } from "../completions";

src/commands/pick-process.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { ExtensionCommandContext } from "@mariozechner/pi-coding-agent";
1+
import type { ExtensionCommandContext } from "@earendil-works/pi-coding-agent";
22
import { ProcessPickerComponent } from "../components/process-picker-component";
33
import type { ProcessInfo } from "../constants";
44
import type { ProcessManager } from "../manager";

src/commands/pin/command.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 { DockActions } from "../../hooks/widget";
33
import type { ProcessManager } from "../../manager";
44
import { allProcessCompletions } from "../completions";

0 commit comments

Comments
 (0)