Skip to content

Migrate @mariozechner/pi-* packages to @earendil-works/pi-* (0.78.0)#3707

Open
wojtekn wants to merge 11 commits into
trunkfrom
migrate-pi-ai-to-earendil-works
Open

Migrate @mariozechner/pi-* packages to @earendil-works/pi-* (0.78.0)#3707
wojtekn wants to merge 11 commits into
trunkfrom
migrate-pi-ai-to-earendil-works

Conversation

@wojtekn
Copy link
Copy Markdown
Contributor

@wojtekn wojtekn commented Jun 5, 2026

Related issues

How AI was used in this PR

Claude Code identified all affected files and performed the migration.

Proposed Changes

The @mariozechner/* npm scope is deprecated — the upstream author has moved to @earendil-works/*. This replaces all four packages (pi-ai, pi-agent-core, pi-coding-agent, pi-tui) from 0.70.2 to 0.78.0 across all package.json files and import statements.

The version jump includes several fixes relevant to Studio:

  • Fixed createAgentSession() failing with ENOENT when package.json is missing next to the bundle entrypoint (directly affects bundled CLI)
  • Fixed Anthropic-compatible requests incorrectly picking up ANTHROPIC_AUTH_TOKEN for non-Anthropic providers
  • Fixed HTTP idle timeout for long-running provider streams
  • Fixed AgentSession retry/compaction/event settlement

Using 0.78.0 rather than 0.78.1 (latest) because 0.78.1 was published June 4 and falls within the dependency cooldown window.

Testing Instructions

  • Run the Studio CLI AI agent flow and verify it starts a session correctly
  • Confirm no TypeScript errors: npm run typecheck

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?

The @mariozechner/* npm scope is deprecated in favor of @earendil-works/*.
Updates all four packages (pi-ai, pi-agent-core, pi-coding-agent, pi-tui)
from 0.70.2 to 0.78.0 across package.json files and all import statements.
@wojtekn wojtekn requested review from a team and youknowriad June 5, 2026 08:57
@wpmobilebot
Copy link
Copy Markdown
Collaborator

📊 Performance Test Results

Comparing 5c6e87a vs trunk

app-size

Metric trunk 5c6e87a Diff Change
App Size (Mac) 1313.13 MB 1384.77 MB +71.64 MB 🔴 5.5%

site-editor

Metric trunk 5c6e87a Diff Change
load 1625 ms 1655 ms +30 ms ⚪ 0.0%

site-startup

Metric trunk 5c6e87a Diff Change
siteCreation 9007 ms 9026 ms +19 ms ⚪ 0.0%
siteStartup 4408 ms 4414 ms +6 ms ⚪ 0.0%

Results are median values from multiple test runs.

Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff)

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.

2 participants