Release notes
Oh My Pi v19.1.1
@oh-my-pi/pi-agent-core
Fixed
- Prevented oversized handoffs from reaching the provider by detecting when prepared context exceeds the target model’s context window.
- Preserved provider error status, error identifiers, retry classification, and cancellation markers on failed or cancelled assistant turns.
- Fixed speculative tool calls hanging when discarded or aborted before execution completed.
@oh-my-pi/pi-ai
Added
- Added
AssistantMessage.requestId, populated from Anthropic’srequest-idresponse header, so failed or refused requests retain the identifier needed for Anthropic support. - Added
GET /v1/pi/modelstoomp auth-gateway, serving the gateway's model catalog (limits, thinking levels, pricing) to pi-native clients.
Changed
- Devin account selection now prioritizes logins with remaining daily or weekly quota, then accounts funded by on-demand balance, while skipping accounts with no available capacity. Devin logins also track email, user ID, and organization so separate organizations are distinguishable in
omp usageandauth.accountPolicies; existing logins must be reauthenticated to populate this information. - Billing failures from providers are now treated as usage limits, allowing retries to rotate accounts and continue through the model fallback chain.
- Provider usage reports registered by extensions now persist across omp processes, avoiding unnecessary repeated usage-endpoint checks.
- Requests that stall during provider operations are now classified as timeouts, allowing automatic fallback to another model.
- Reduced idle memory usage by loading prompt-perturbation data only when perturbation is enabled for a request.
Fixed
- Fixed split tool-call handling so models configured with
splitToolCallsreceive each tool call together with its corresponding result in the correct message order. - Fixed
apple/on-devicefinish-reason handling so requests no longer emit spurious stderr warnings and correctly report recognized stop or length completions. - Improved local validation for empty Anthropic requests by reporting the model, provider, and received message count instead of an opaque provider error.
- Fixed OpenAI and Codex requests failing on MCP tool schemas containing unsupported unescaped character patterns.
- OpenRouter Responses requests that end in an unbilled encrypted reasoning item now surface the underlying provider failure instead of completing silently.
- Fixed preservation of Gemini thought signatures across tool calls when using Portkey or the authentication gateway.
- Fixed the thinking-loop guard incorrectly retrying final answers containing long Markdown tables or similarly shaped JSON records.
- Fixed strict tool-schema conversion so object properties that accept arbitrary fields are not incorrectly restricted to empty objects.
- Fixed
antigravity-climodels failing to receive images returned by tools such asread. - Fixed transient proxy errors from disrupting snapshot streaming and disabling usage reporting for the remainder of the process.
- Fixed concurrent Antigravity CLI sessions for the same account failing during credential staging.
- Fixed OpenAI Codex WebSocket continuations so sticky turn routing information is preserved for subsequent requests.
- Improved recovery from a corrupt
agent.dbso readable provider credentials are restored where possible and disabled credentials remain disabled.
@oh-my-pi/browser-relay
Fixed
- The side panel’s Connection settings now show the browser’s specific reason when it refuses the native host (for example, because native messaging is blocked by enterprise policy), instead of incorrectly suggesting that the host may be missing.
@oh-my-pi/pi-catalog
Added
- Z.AI (
zai) now discovers the models available to your GLM Coding Plan key, so newly released GLM models appear without waiting for a catalog update. - Added
getUpstreamPin()androutedModelsAreEqual()to@oh-my-pi/pi-catalog/modelsfor distinguishing aggregator models routed to different upstream providers. - Added
@oh-my-pi/pi-catalog/discovery/pi-nativeandpiNativeModelManagerOptions()for reading a provider's model roster from an auth gateway'sGET /v1/pi/models.
Fixed
- Fixed Llama 3.x models failing after turns that invoked multiple tools when served through vLLM-based hosts, including CoreWeave through OpenRouter.
- Devin usage is now kept separate for organizations that share the same email address.
- Updated Devin image token accounting to match Devin’s published 1,089-token charge per image across supported Gemini image models.
- Corrected Devin pricing and context limits for GPT-5.6 Sol, Terra, and Luna Fast lanes, including long-context rates above 272K input tokens and the standard 272K limit when Extended Context is disabled.
- Corrected Cursor pricing for GPT-5.6 Sol, Terra, and Luna models so output above 272K input tokens uses the documented 1.5× rate.
- Turning thinking off for GPT-6.1 Terra now uses the supported
nonereasoning effort. - Fixed GPT-6.2 and later OpenAI Responses models losing reasoning context after session pruning and subsequent tool calls.
- Corrected Bedrock Kimi K3.1 Pro Highspeed reasoning options and effort handling.
- GitHub Copilot now lists only models available to the account, including after restarting.
- Codex models discovered before being bundled now use their formatted display names, such as
GPT-6.2 Sol.
@oh-my-pi/pi-coding-agent
Breaking Changes
- The native shell Rust API now stores indexed variables as
IndexedArrayinstead ofVec; constructVarValue::Indexedvalues withitems.into().
Added
- Added the opt-in
treestatus segment, which shows a session’s position in the session tree after a rewind or on a branch; in Tern, the segment opens/treewhen clicked. - Providers routed through an auth gateway (
transport: pi-native) now list the gateway's models, so models the gateway discovered at runtime (such as new Codex models) can be selected without declaring them inmodels.yml, and models the gateway cannot route are hidden. - Added
computer.takeoveras the replacement forcomputer.backgroundFallback, withfallback,foreground, andalwaysmodes for controlling when the computer tool takes over the foreground window. Existing fallback behavior is preserved by default. - Added a portable
columnshell builtin with util-linux-compatible options, including table formatting, named columns, alignment, hiding, ordering, JSON output, tree display, and width controls. - Added extension todo backends through
pi.registerTodoBackend()and thetodo.backendsetting. Registered backends can mirror the session’s complete todo list to an external store and can be selected and configured from/settings→ Tools → Todos. /wtnow runs the new worktree’spost-checkouthook, displays progress in the TUI, and loads skills and commands created by the hook. Failed hooks leave the worktree intact and display a warning.
Changed
- Empty-stop recovery now records each retry with the selected model, provider, and stop metadata, making repeated empty model responses visible in the session log.
- The quick model picker refreshes stale provider catalogs in the background, so long-running sessions can discover newly available models.
- On Linux, language-server file watching now adapts to the inotify watch limit so large workspaces are less likely to interfere with other file watchers and system services.
- The
evaltool now documents its default 30-second cell deadline in its prompt and timeout parameter.
Fixed
- Improved Magic Edit so it can search and read the current draft, retry failed replacements without losing successful edits, validate syntax before writing, and support models that emit tool calls as text.
- Fixed shell tool command handling when
bashis replaced by an extension, including support for tool-only command lines with remote or sandboxed shells.
…