Skip to content

chore(deps): upgrade Pi to 1.0.0 - #425

Merged
bubbleptr merged 1 commit into
mainfrom
chore/upgrade-pi-1.0
Oct 2, 2026
Merged

bubbleptr merged 1 commit into
mainfrom
chore/upgrade-pi-1.0

Conversation

@bubbleptr

@bubbleptr bubbleptr commented Oct 2, 2026 •

Copy link
Copy Markdown
Owner

No linked issue: dependency upgrade to the Pi 1.0 release (2026-10-01), and the prerequisite for a Pi Durable multi-client spike, which needs @earendil-works/chord and pi-ai at ^1.0.0.

Summary

  • Bump @earendil-works/pi-ai and @earendil-works/pi-coding-agent from 0.99.1 to 1.0.0; chord follows to 1.0.0 through the lockfile.
  • Pi 1.0 removes codemode-deferred from McpExposure. It only survives as a load-time alias that loadMcpConfig resolves to codemode, so existing mcp.json files still load and show as codemode. Pace's exposure union, the backend validation list and the Settings → MCP options drop it (the existing both-ways type assertion caught this). The codemode option now says its tools are found with searchTools(), matching the 0.99.2 change that stopped listing them in the codemode description.
  • Pi 1.0 keys MCP OAuth credentials by server name and URL (McpOAuthCredentialStore.tokens(name, url)). The "signed in" check passes the server name, so two servers sharing a URL report their own state. URL-only credentials written by older Pi are still read.
  • The verbatim copies of Pi's slash command names, prompt template loading and the pi-tui autocomplete separator are byte-identical in 1.0 (diffed against the installed packages); only their version notes change.
  • No change needed in the bundling plugins: dist/extensions/codemode/worker.js, dist/extensions/mcp and the single createRequire(...).resolve("quickjs-wasi/quickjs.wasm") in dist/config.js are all still where they were.

Test plan

  • bun run typecheck
  • bun run lint
  • bun run test: 167 files, 1970 tests
  • bun run build
  • bun run test:bundled-runtime: 3/3, including codemode scripts reaching MCP tools in the shipped backend
  • New: Settings → MCP offers exactly codemode, deferred, direct, hidden
  • New: servers sharing a URL report stored credentials per name
  • Playwright E2E not run locally

Checklist

  • Linked issue or a short reason this has none
  • Title follows Conventional Commits
  • bun run typecheck, bun run test, and bun run build are green
  • ADR added or updated if an architectural boundary or product term changed (none changed)
  • CONTEXT.md updated if vocabulary changed (none changed)
  • New or changed shared/ui/ components are registered on /design (none changed)
  • Branch is chore/; this is not a push to main

Devin Review

Pi 1.0 drops "codemode-deferred" from its exposure union (it only survives as
a load-time alias of "codemode") and keys MCP OAuth credentials by server name
and URL. Pace's exposure list, settings options and stored-credential check
follow both; the codemode option now says its tools are found with
searchTools(), which is what 0.99.2 changed.

The verbatim copies of Pi's slash commands, prompt template loading and the
pi-tui autocomplete separator are unchanged in 1.0; only their version notes
move.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@bubbleptr
bubbleptr merged commit 525060f into main Oct 2, 2026
2 checks passed
@bubbleptr
bubbleptr deleted the chore/upgrade-pi-1.0 branch October 2, 2026 07:24
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.

1 participant