Repository navigation
chore(pi): upgrade the bundled Pi engine to 1.3.0 - #463
Merged
Merged
Conversation
added 3 commits
October 19, 2026 21:16
Pin pi-ai and pi-coding-agent at 1.3.0 (was 1.0.4). Pace keeps using only the package root and pi-ai/bun-oauth; the codemode, tool-search, and MCP built-in factories are still exported, and chord is no longer a dependency of the engine. `pi mcp list --json` reports `resources` as a boolean since Pi 1.2.0 and dropped `resourceTemplates`, so McpServerProbe and the probe passthrough follow that shape. ADR-0031 records the upgrade; ADR-0042 notes that its premise (chord ships with the engine) no longer holds.
Pi 1.2.0 dropped the chord dependency and removed the unpublished pi-server, pi-client, and pi-protocol packages; chord 1.3.0 is still published but only pi-durable depends on it, with a rewritten protocol. The ADR's premise — chord arriving with the embedded engine — does not hold, so the plan is not pursued and the extension panel question goes back to the extension UI slot ADR-0018 reserved.
…d note
The upgrade entry copied an older claim that Pace uses only the root entry
and pi-ai/bun-oauth. Since 2026-10-01 the backend also imports
dist/extensions/mcp/{cli,config,oauth}.js through the @pace/pi-mcp alias,
so name that surface; it is unchanged in 1.3.0.
ADR-0042 repeated the chord history in both the deprecation note and the
background, so keep it only in the note.
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
Pins
@earendil-works/pi-aiand@earendil-works/pi-coding-agentat 1.3.0 (was 1.0.4), crossing 1.1.0, 1.2.0, and 1.3.0. Only the engine moves in this PR; the user-visible feature notes and the version bump wait for the release.pi-coding-agentroot entry andpi-ai/bun-oauth.createCodemodeExtension,createToolSearchExtension, andcreateMcpExtensionare still exported, andbuiltInExtensionskeeps its shape (including thellama.cppbuilt-in Pace deliberately skips).pi mcp list --jsonshape change. Since 1.2.0,resourcesis a booleantrueinstead of a count, andresourceTemplatesis gone.McpServerProbeand the probe passthrough follow that shape; the field has no UI consumer today.@earendil-works/chordand deleted the unpublished pi-server / pi-client / pi-protocol packages. Pace never imported chord, so bundles are unchanged (the lockfile also sheds chord's esbuild subtree).@earendil-works/pi-durable, and the extension-panel question returns to the extension UI slot ADR-0018 reserved.Test plan
bun run typecheckbun run lintbun run test— 173 files, 2123 testsbun run build— including the ADR-0046 guard on Pi'sdist/config.jsstring replacement and thechunks/placement checkbun run test:bundled-runtime— 4/4, including codemode → MCP end to end with no node_modules and an empty PATH, which is the packaging-layout regression for codemode's worker andquickjs.wasmdist: the QuickJS resolve line still appears exactly once,dist/extensions/{codemode/worker.js, mcp, tool-search}still exist, and the three built-in factories are still exported from the root