Repository navigation
chore(deps): align Pi SDK packages at 1.4.0 - #159
Merged
Merged
Conversation
Bump @earendil-works/pi-coding-agent and @earendil-works/pi-tui from 1.2.0 to 1.4.0. The 1.3 and 1.4 releases contain no extension-API breaking changes that affect pi-loop; typecheck and tests pass unchanged. Supersedes the 1.3.0 Dependabot bumps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pi-coding-agent 1.2.0 through 1.4.0 pin undici 8.10.2, which is now covered by several high-severity advisories (GHSA-4qv8-2p9j-2685 and others) and fails `npm run audit:all` in CI. Following the existing postcss override, pin the patched 8.x release for the dev install; published consumers are unaffected. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
@earendil-works/pi-coding-agentand@earendil-works/pi-tuifrom 1.2.0 to 1.4.0 (exact pins, same as before). This replaces Dependabot PRs build(deps-dev): bump @earendil-works/pi-tui from 1.2.0 to 1.3.0 #156 and build(deps-dev): bump @earendil-works/pi-coding-agent from 1.2.0 to 1.3.0 #157 (1.3.0).undici: ^8.12.3entry tooverrides, next to the existing postcss override. pi-coding-agent 1.2.0–1.4.0 pinsundici@8.10.2, and that version now has several high-severity advisories (GHSA-4qv8-2p9j-2685, GHSA-2m5v-pch6-74hx, …). Because of them,npm run audit:allfails on master's lockfile today. The override only changes the dev install. Published consumers are unaffected.API migration review (pi 1.2.0 → 1.4.0)
I read the pi-coding-agent CHANGELOG for 1.3.0 and 1.4.0. Neither release has extension-API breaking changes that affect pi-loop, so no source changes were needed. Typecheck and tests pass unchanged.
before_provider_headersno longer sees attribution headers, andgenerateSummary()ignoresreserveTokens. pi-loop uses neither.defaultActive: false. pi-loop doesn't usedefaultActive, so its tools behave as before (and better on resumed sessions).BeforeAgentStartEventbecame a union onmessageType. pi-loop'sbefore_agent_starthandler ignores the event payload, so this is still safe.peerDependencies stay at
"*". pi-loop uses no API added in 1.3 or 1.4, so a>=1.4.0floor would only cause install warnings for users on older pi without protecting anything.Verification
npm cinpm run lintnpm run typechecknpm testnpm run buildnpm run test:packagepackage smoke passed (73 files; public types compiled)npm run audit:allfound 0 vulnerabilities(before the override: 1 high, 1 moderate)git diff --checkNote: I ran
test:packageandaudit:allwith npm 11, which matches CI's Node 22 toolchain. Locally, npm 12.0.2 failstest:packagebecausenpm pack --jsonnow returns an object keyed by package name instead of an array, soscripts/package-smoke.mjsreadspackReport[0]as undefined. npm 12 also refusesnpm run audit:allwithEALLOWSCRIPTS. Both come from the local npm version and have nothing to do with this change. They're worth a separate follow-up if npm 12 support matters.