Skip to content

fix(pi-simplify): widen peer ranges to allow 0.75.x#127

Merged
MattDevy merged 1 commit into
MattDevy:mainfrom
ta3pks:chore/pi-simplify-widen-peer-range-0.75
May 24, 2026
Merged

fix(pi-simplify): widen peer ranges to allow 0.75.x#127
MattDevy merged 1 commit into
MattDevy:mainfrom
ta3pks:chore/pi-simplify-widen-peer-range-0.75

Conversation

@ta3pks
Copy link
Copy Markdown
Contributor

@ta3pks ta3pks commented May 24, 2026

Summary

Widen the @earendil-works/pi-{ai,coding-agent,tui} peer ranges in packages/pi-simplify/package.json from ^0.74.0 to >=0.74.0 <0.76.0.

The current ^0.74.0 ceiling (<0.75.0) prevents installing any extension that peers ^0.75.x (e.g. pi-rtk-optimizer@0.8.0) alongside pi-simplify. npm resolves the intersection to 0.74.x for pi-simplify's constraint, then the newer extension's ^0.75.4 peer is unsatisfiable, and pi update fails with ERESOLVE.

Pi runtime itself shipped 0.75 weeks ago and pi -v already reports 0.75.x on current installs, so widening the range realigns the peer with the runtime already deployed.

Widening to >=0.74.0 <0.76.0 (caret-OR equivalent: ^0.74.0 || ^0.75.0) keeps existing 0.74.x users working while unblocking the 0.75 line.

Note: this is the same kind of fix being requested over at nicobailon/pi-powerline-footer#67 — pi-simplify hits the exact same downstream conflict.

Scoped to pi-simplify only; happy to do the equivalent change across the other packages in this monorepo if you want — just say the word and I'll send follow-up PRs.

Test plan

  • After release, run pi install npm:pi-rtk-optimizer on a host that already has pi-simplify installed — should resolve cleanly without --legacy-peer-deps
  • pi update should succeed on a host with the current extension set
  • Existing CI for pi-simplify continues to pass (no code change, peer range only)

Bump @earendil-works/pi-ai, pi-coding-agent, and pi-tui peer ranges
from ^0.74.0 to >=0.74.0 <0.76.0 in packages/pi-simplify/package.json.

The 0.74-only ceiling blocks any consumer that installs another
extension peering ^0.75.x (e.g. pi-rtk-optimizer@0.8.0) alongside
pi-simplify, breaking 'pi update' with ERESOLVE. The 0.74 -> 0.75
upgrade is API-compatible for the surface area used here, so the range
can be widened without code changes.
@ta3pks ta3pks requested a review from MattDevy as a code owner May 24, 2026 14:37
Copy link
Copy Markdown
Owner

@MattDevy MattDevy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you for raising a PR to fix this 😀

@MattDevy MattDevy enabled auto-merge (squash) May 24, 2026 14:55
@MattDevy MattDevy disabled auto-merge May 24, 2026 14:55
@MattDevy MattDevy changed the title chore(pi-simplify): widen peer ranges to allow 0.75.x fix(pi-simplify): widen peer ranges to allow 0.75.x May 24, 2026
@MattDevy MattDevy enabled auto-merge (squash) May 24, 2026 14:55
@MattDevy MattDevy merged commit de2757a into MattDevy:main May 24, 2026
3 checks passed
@MattDevy MattDevy mentioned this pull request May 24, 2026
MattDevy added a commit that referenced this pull request May 24, 2026
🤖 I have created a release *beep* *boop*
---


<details><summary>pi-simplify: 0.2.2</summary>

##
[0.2.2](pi-simplify-v0.2.1...pi-simplify-v0.2.2)
(2026-05-24)


### Bug Fixes

* **pi-simplify:** Widen peer ranges to allow 0.75.x
([#127](#127))
([de2757a](de2757a))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
@ta3pks ta3pks deleted the chore/pi-simplify-widen-peer-range-0.75 branch May 25, 2026 10:56
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