Skip to content

chore(deps): migrate @mariozechner -> @earendil-works (closes #39)#40

Closed
av1155 wants to merge 1 commit into
aliou:mainfrom
av1155:fix/issue-39-namespace-migration
Closed

chore(deps): migrate @mariozechner -> @earendil-works (closes #39)#40
av1155 wants to merge 1 commit into
aliou:mainfrom
av1155:fix/issue-39-namespace-migration

Conversation

@av1155
Copy link
Copy Markdown

@av1155 av1155 commented May 14, 2026

Closes #39.

pnpm install against v0.9.0 prints four deprecation warnings:

npm warn deprecated @mariozechner/pi-agent-core@0.72.1: please use @earendil-works/pi-agent-core instead going forward
npm warn deprecated @mariozechner/pi-tui@0.72.1: please use @earendil-works/pi-tui instead going forward
npm warn deprecated @mariozechner/pi-ai@0.72.1: please use @earendil-works/pi-ai instead going forward
npm warn deprecated @mariozechner/pi-coding-agent@0.72.1: please use @earendil-works/pi-coding-agent instead going forward

This PR completes the namespace migration end-to-end without leaving any indirect aliases in place.

Source migration

Repo imports across src/commands/, src/components/, src/hooks/, src/tools/, src/index.ts, src/manager.ts, and src/notification.ts now reference @earendil-works/pi-coding-agent, @earendil-works/pi-tui, and @earendil-works/pi-ai.

Direct dep updates

  • peerDependencies: @earendil-works/pi-coding-agent and @earendil-works/pi-tui (was @mariozechner/*).
  • devDependencies: same swap pinned at ^0.74.0. @earendil-works/pi-ai added so the type imports in src/tools/actions/start.ts resolve.
  • @aliou/pi-utils-ui: ^0.10.0 to ^0.4.1. v0.4 imports cleanly from @earendil-works/pi-tui, so no aliasing remains.
  • @aliou/pi-utils-settings: ^0.10.0 to ^0.15.1.
  • @aliou/biome-plugins: ^0.3.2 to ^0.8.1.
  • typescript: ^5.9.3 to ^6.0.3.
  • biome.json $schema reference bumped to 2.4.15 to match the CLI pulled in by @aliou/biome-plugins.

In-tree port: panel helpers

@aliou/pi-utils-ui@0.4.x dropped createPanelPadder, renderPanelRule, and renderPanelTitleLine from its public surface in favour of a Panel class. The new Panel does not directly support the mid-body separators that processes-component.ts draws between the process list and the output preview, so the three helpers (about thirty lines total) are ported in tree under src/components/panel-helpers.ts. The new file imports from @earendil-works/pi-coding-agent and @earendil-works/pi-tui directly. processes-component.ts, process-picker-component.ts, and log-dock-component.ts now import the helpers from the local file. pi-processes now owns the panel rendering surface it relies on, with no transitive coupling to a specific version of @aliou/pi-utils-ui.

Biome auto-fixes

biome check --write after the dep bump applied two safe fixes that the pre-commit hook requires:

  • src/manager.ts:752: sort the export type { ... } list alphabetically.
  • tsconfig.json: compact the include / exclude arrays.

Verification

  • pnpm audit: found 0 vulnerabilities.
  • pnpm typecheck (tsc --noEmit): clean.
  • pnpm lint (biome check): clean.
  • pnpm test (vitest run): 18 tests across two files pass.

node-domexception@1.0.0 remains as the only transitive deprecation, seven levels deep through fetch-blob.

@av1155 av1155 force-pushed the fix/issue-39-namespace-migration branch from ebe1287 to 27f75f2 Compare May 14, 2026 03:21
…iou#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.
@av1155 av1155 force-pushed the fix/issue-39-namespace-migration branch from 27f75f2 to 04de7cb Compare May 14, 2026 03:52
@av1155 av1155 marked this pull request as ready for review May 14, 2026 04:00
@aliou
Copy link
Copy Markdown
Owner

aliou commented May 14, 2026

Hey @av1155, thanks for this! I'm working on a refactor of the extension that already includes this so I'll close this for now. I'll leave the issue open and and close it when the next version is released.

@aliou aliou closed this May 14, 2026
@aliou aliou mentioned this pull request May 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(deps): refresh deps and migrate to @earendil-works namespace

2 participants