chore: upgrade @oh-my-pi SDK packages to 18.16.0 #221

Merged
lucas merged 1 commit from agent/issue-219-sdk-18-16-0 into main 2026-11-03 16:24:07 +01:00
Collaborator

Closes: #219

  • pi-ai, pi-coding-agent and pi-tui are bumped to exact 18.16.0 in the root and apps/server package.json files, and bun.lock is updated.
  • The patch is regenerated as patches/@oh-my-pi%2Fpi-coding-agent@18.16.0.patch. The prompt edits, writeToolName and every systemPromptTemplate forwarding hunk (sdk.ts, executor.ts, structured-subagent.ts, tools/index.ts) are re-applied. The hunks for sdk.ts, executor.ts and structured-subagent.ts had to be re-anchored by hand. The pushOnce("required", { label: "plan-mode-decision" }) removal is dropped because 18.16.0 no longer has that call.
  • ExtensionUIBridge gets no-op implementations of the new ExtensionUIContext members: rerenderMessage, getLinkClicksAvailable (returns false), and getEditorComponent (returns undefined).
  • session-policy.test.ts had one decidePolicy call that used the old sync, 5-argument form. It is now async and passes NO_API, like the other calls.

Verification: bun install --frozen-lockfile reports no changes and applies the patch. bun run typecheck passes. bun test in apps/server: 1205 passed, 0 failed. I did not boot the server or check plan mode in the UI manually.

Closes: #219 - `pi-ai`, `pi-coding-agent` and `pi-tui` are bumped to exact `18.16.0` in the root and `apps/server` package.json files, and `bun.lock` is updated. - The patch is regenerated as `patches/@oh-my-pi%2Fpi-coding-agent@18.16.0.patch`. The prompt edits, `writeToolName` and every `systemPromptTemplate` forwarding hunk (sdk.ts, executor.ts, structured-subagent.ts, tools/index.ts) are re-applied. The hunks for sdk.ts, executor.ts and structured-subagent.ts had to be re-anchored by hand. The `pushOnce("required", { label: "plan-mode-decision" })` removal is dropped because 18.16.0 no longer has that call. - `ExtensionUIBridge` gets no-op implementations of the new `ExtensionUIContext` members: `rerenderMessage`, `getLinkClicksAvailable` (returns `false`), and `getEditorComponent` (returns `undefined`). - `session-policy.test.ts` had one `decidePolicy` call that used the old sync, 5-argument form. It is now async and passes `NO_API`, like the other calls. Verification: `bun install --frozen-lockfile` reports no changes and applies the patch. `bun run typecheck` passes. `bun test` in apps/server: 1205 passed, 0 failed. I did not boot the server or check plan mode in the UI manually.
Carry the local pi-coding-agent patch forward; upstream already drops
the forced plan-mode tool choice, so that hunk is gone. The deck UI
bridge gains no-op stubs for the new ExtensionUIContext members.

Co-Authored-By: Claude Opus 5.5 via omp-deck
lucas approved these changes 2026-11-03 16:23:51 +01:00
lucas merged commit 7cae2d46e4 into main 2026-11-03 16:24:07 +01:00
lucas deleted branch agent/issue-219-sdk-18-16-0 2026-11-03 16:24:07 +01:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lucas/omp-deck!221
No description provided.