Repository navigation
chore: upgrade pi to 1.2.0 - #1006
Merged
Merged
Conversation
- Bump @earendil-works/pi-* to 1.2.0 (manifests + overrides); drop overrides for chord/pi-client/pi-protocol/pi-server, which upstream removed as deps. - Port the 4 Bun patches to 1.2.0 (re-anchored: anthropic web_search injection and server-tool passthrough, retry JSON-parse patterns, quietStartup default, pi-tui Windows console lifecycle). Same hunk count as 1.0.0. - hooks: before_agent_start now also fires for custom-message runs (no prompt). - Theme $schema -> https://pi.dev/schemas/theme.schema.json. - patches.test: accept upstream's SETTINGS_DEFAULTS.quietStartup fallback.
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
Upgrades pi from 1.0.0 to 1.2.0.
@earendil-works/pi-*packages to 1.2.0 in the root and package manifests and in rootoverrides.chord,pi-client,pi-protocolandpi-server, which upstream no longer depends on.web_searchinjection, server-tool passthrough inconvertTools, JSON-parse retry patterns.quietStartupdefaults to on.hooks/extension.ts: in 1.2,before_agent_startalso fires for runs started bypi.sendMessage(..., { triggerTurn: true }). Those events have noprompt, so the hook sendspromptonly whenmessageType === "user".$schemanow points tohttps://pi.dev/schemas/theme.schema.json. The theme passes 1.2's new startup validation.patches.test.ts: accepts upstream's newSETTINGS_DEFAULTS.quietStartupfallback, which is stillfalse.Verification
bun installinstalls only 1.2.0 pi packages, and coding-agent loads the patched copies of pi-ai and pi-agent-core.bun run buildandbun run typecheckpass.bun run testpasses against a throwaway Redis. The first full run failed on thepatches.test.tsassertion, which also skipped the UI, docs and mobile tests. After the fix, the CLI stage (214 passed, 0 failed) and every stage after it were re-run and passed. The stages before the CLI stage passed on the first run.Not changed
azure-openai-responsesAPI type. Upstream renamed the provider toazurein 1.0.3, but pi-ai still has theazure-openai-responsesAPI type, so I left it.