chore: migrate pi-* deps to @earendil-works, harden native install (v0.3.1)#18
Conversation
…0.3.1)
Dependencies:
- Migrate @mariozechner/pi-{ai,agent-core,coding-agent} (deprecated) to
@earendil-works/pi-* ^0.79.9. Updates source backends, test mocks, docs,
and the example extension. Typecheck confirms API compatibility.
Install hardening:
- Add a lazy, fail-friendly better-sqlite3 loader (native-sqlite.ts) that
translates a missing/incompatible native binding into actionable guidance
(npm approve-scripts + npm rebuild). Wired into the core and platform
SQLite stores.
- Document the npm 11+ install-script gating in both READMEs and the
getting-started guide.
Release:
- Bump to 0.3.1; refresh stale version/RC references in docs.
Closes the deprecated-dependency warnings surfaced on install.
|
Warning Review limit reached
More reviews will be available in 45 minutes and 5 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (32)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
@earendil-works/pi-* declare engines.node >=22.19.0 (bundled undici 8.5.0 needs a Node 22 API), so Node 20 can no longer run the execution backends. - Raise engines.node to >=22.19.0 in root, core, and platform manifests - Drop Node 20 from the CI test matrix; bump release workflow to Node 22 - Update runtime Dockerfile stages and doc examples to node:22-alpine - Update getting-started prerequisites to Node 22.19+ Docker executor node templates (node:20-slim) are left as-is — they sandbox user workloads and do not run pi. Follow-up to the @earendil-works migration; keeps v0.3.1.
- CHANGELOG: add 0.3.1 entry (pi migration, Node 22 floor, install hardening) - README / core / platform READMEs: note Node.js 22.19+ requirement - Update publish smoke tests to assert engines >= 22.19 (matches the new floor)
Summary
Maintenance release (v0.3.1) that clears the deprecated-dependency warnings seen on
npm installand improves the first-run experience on npm 11+.Changes
Dependencies — migrate off deprecated
@mariozechner/pi-*@mariozechner/pi-ai,@mariozechner/pi-agent-core,@mariozechner/pi-coding-agentwere deprecated (renamed by the author). Migrated to@earendil-works/pi-*^0.79.9.tsc --buildpasses, confirming the0.65 → 0.79API surface is compatible.Install hardening (npm 11+ allow-scripts)
better-sqlite3(andkoffi), which need their build scripts to compile — otherwise the package fails at runtime with a cryptic native-binding error.packages/core/src/state/native-sqlite.ts) that translates a missing/incompatible binding into actionable guidance (npm approve-scripts+npm rebuild). Wired into the core and platform SQLite stores.Release
0.3.1; refreshed stale version / RC references in docs.Testing
tsc --build✅biome check✅Notes
package-lock.jsonregenerated to resolve@earendil-works/*.