Repository navigation
Switch the terminal UI stack to the official @earendil-works scope - #66
Merged
Merged
Conversation
The @mariozechner/pi-{agent-core,ai,coding-agent,tui} packages were renamed
and deprecated ("use @earendil-works/... going forward"); their last published
version (0.73.1) is still affected by 3 open advisories with no fix. Migrate
the whole suite to @earendil-works/pi-* ^0.80.2, which carries the fixes.
- Repoint all import specifiers @mariozechner/pi-* -> @earendil-works/pi-*
across src, extensions, scripts, skills, docs and the mac packaging script.
- Bump the 4 root deps to ^0.80.2.
- Adapt to the 0.54 -> 0.80 API surface:
- pi-ai: legacy helpers (complete/completeSimple/stream/streamSimple/getModel/
getEnvApiKey/streamOpenAIResponses) moved to the `@earendil-works/pi-ai/compat`
subpath; OAuth helpers to `@earendil-works/pi-ai/oauth`; deep `/dist/...`
imports repointed (types -> root, google-shared -> /api); onPayload callback
now (payload, model); ProviderHeaders allows null values; typebox re-exported
from pi-ai.
- pi-tui: dropped the `Editor` infix (getKeybindings/setKeybindings/
KeybindingsConfig/KeybindingsManager); KeybindingsManager(definitions,
userBindings?); namespaced keybinding ids; async 4-arg AutocompleteProvider.
- pi-coding-agent: codingTools -> createCodingTools(cwd); Skill.source ->
Skill.sourceInfo.source; ModelRegistry.create(...)/getApiKeyForProvider;
generateSummary headers param; createAgentSession tools is a name allowlist.
- pi-agent-core: agent.replaceMessages/setSystemPrompt -> agent.state.*.
- Add pnpm override "@apilium/mayros": "workspace:*" so the bluebubbles plugin
resolves its peer to the workspace package instead of pulling the published
0.1.1, which bundled the old vulnerable pi suite.
Closes the 3 remaining pi-coding-agent advisories: pnpm audit no longer reports
any @mariozechner/pi or pi-coding-agent finding, and @earendil-works has none.
Verified: pnpm install, pnpm tsgo (0 errors), pnpm lint (0 errors), oxfmt on
changed files. Full test suite not run here (native deps + live keys); needs a
CI run and a smoke test of the agent runtime before merge.
…il' into chore/merge-pi-earendil-migration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Moves the four core agent libraries from the original personal scope to the official `@earendil-works` scope and bumps them from 0.54.0 to 0.80.2. This brings the terminal UI, agent loop, model layer, and coding agent onto the maintained release line instead of the legacy personal-publish path.
Why
The original scope was a personal publish; the maintained line moved to `@earendil-works`. Staying on the legacy scope meant missing security patches, no further releases, and a name that does not match the project's identity.
Test plan