Release · Oh My Pi · can1357

Oh My Pi v19.2.0

What's new in Oh My Pi v19.2.0, released Nov 25, 2026 (). Newer: v19.3.0 (Nov 29, 2026)

Release notes

Oh My Pi v19.2.0

@oh-my-pi/pi-agent-core

Added
  • Added customizable notices for unmet soft tool requirements, allowing hosts to specify the text shown when a required tool call does not satisfy its requirement.
  • Added AgentLoopError and turn-level error metadata so hosts can distinguish an agent loop that ended because a soft tool requirement was not met from a failed request.
  • Added abort-signal support to provider-context transformation and side-request context building.
  • Added optional tool detachment when aborting an agent run, allowing tools that support background execution to continue instead of being terminated.
  • Agents can accept an asynchronous Cursor handler factory; a session opens its execution bridge on the first Cursor request, including after a model switch.
Fixed
  • Fixed DeepSeek DSML markup leaking into tool-call arguments and being executed or replayed.
  • Fixed DeepSeek DSML markup being incorrectly included in conversation history on OpenRouter Responses requests.
  • Fixed unmet soft tool requirements leaving tool calls unanswered when a run was continued or retried.

@oh-my-pi/pi-ai

Breaking Changes
  • maxInFlightRequests limits are now scoped per process unless the host configures a ProviderSlotBroker; the previous cross-process lease-directory mechanism has been removed.
Added
  • Added ProviderSlotBroker support through configureProviderSlotBroker(broker), allowing hosts such as coding-agent to coordinate maxInFlightRequests limits across processes.
  • Added AssistantMessage.errorFromAgentLoop to distinguish errors caused by the agent loop from errors returned by the provider.
  • OpenAI- and Anthropic-compatible requests to custom hosts now include an x-session-id header when the host does not provide its own session header, preserving conversation affinity through gateways and proxies. Official OpenAI, Anthropic, and Codex APIs are unchanged.
  • Added an "Anthropic (Claude Pro/Max, 1-year token)" login that lasts a year instead of 30 days and never refreshes; image uploads to Anthropic's Files API stay with the regular login.
  • Added regional and custom endpoint selection to /login otari, storing non-US endpoints with the account so EU and self-hosted deployments do not need OTARI_BASE_URL configured separately.
Changed
  • Requests waiting for maxInFlightRequests capacity now begin immediately when capacity is released, rather than relying on periodic polling.
  • omp auth-gateway now preserves Codex session and thread headers and uses Claude Code and OpenCode session identifiers for prompt-cache affinity, improving cache reuse through the gateway.
  • Anthropic (Claude Pro/Max) logins now refresh the way Claude Code 2.1.332 does and are disabled only when Anthropic rejects the refresh token with invalid_grant; a failed background refresh no longer fails requests while the access token is still valid, and a 403 "OAuth token has been revoked" refreshes the same login before switching accounts.
  • Reduced CPU spent scanning streamed DeepSeek prose and long inline code spans that quote template tokens.
Fixed
  • Fixed generate_image edits through OpenAI-compatible gateways that rejected the documented JSON image-edit format.
  • Anthropic OAuth accounts explicitly rejected by an organization are now excluded from account rotation for seven days, including across sessions and restarts.
  • Fixed text-encoded tool calls from DeepSeek, Kimi K2, and Qwen models on OpenRouter Responses-compatible routes, allowing them to stream as normal tool calls instead of failing or triggering retries.
  • Fixed GitHub Copilot Gemini requests failing when MCP tool schemas contain union types such as ["string", "null"].
  • Reduced duplicate retries for openai-completions streams that receive an HTTP 500 response.
  • Fixed omp usage for Synthetic weekly-only plans so it displays weekly credit usage and the next regeneration time.
  • Fixed antigravity-cli quota exhaustion and unavailable-model handling so affected accounts are correctly rotated or blocked and reported reset times are honored.
  • Fixed Gemini models on OpenRouter losing reasoning during long tool-call loops.
  • Fixed prompt-cache misses for /btw and other side turns on OpenCode Go and Zen.
  • Fixed antigravity-cli losing conversation context during OAuth refreshes and when restoring saved turns after generation metadata compaction.

@oh-my-pi/browser-relay

Fixed
  • Fixed relay sessions leaving an unwanted “omp” tab group in Chrome’s bookmarks bar after closing relay tabs.

@oh-my-pi/pi-catalog

Added
  • Added Otari credential helpers and endpoint-aware model discovery, supporting stored { token, baseUrl } credentials and US/EU endpoints.
  • Added GLM-5.4 to the Zhipu Coding Plan with image input, a 1M-token context window, and low/high/max thinking levels; it is preferred for the slow role over GLM-5.3.
  • Added OpenRouter chat-model discovery for tool-capable models through the OpenAI-compatible provider-models API.
  • Added Gemini-compatible tool schema conversion for OpenAI-compatible providers; GitHub Copilot Gemini models now use the appropriate schema format.
Changed
  • Updated the judge role for OpenCode Go and Zen to prefer OpenCode's free jev-1.13-free model, with Zen's jev-1.14 as a fallback.
  • Changed ai&'s default model to moonshotai/kimi-k3, replacing the unavailable moonshotai/kimi-k2.7-code.
  • Classified OpenCode Zen's Jev 1.14, Gemini Decision 1, GPT-6 Luna Decision, and future decision models as judge models rather than chat models.
  • Removed StepFun's dr-search-api web-search SKU from chat-model listings.
  • Updated Devin and Cursor pricing and usage accounting for image tokens and long-context GPT-5.6 models to match their published rates and limits.
  • Repeated provider resolution reuses bundled model fingerprints instead of serializing the same catalog rows again.
Fixed
  • Improved QwenCloud Token Plan discovery errors by reporting the endpoint host and underlying failure reason when the models endpoint cannot be loaded.
  • Fixed Bedrock Kimi K3.1 requests failing because of unsupported temperature settings, and fixed Kimi K3.1 Pro Highspeed requests failing due to invalid output-token and reasoning-effort settings.
  • Fixed Claude models on Google Vertex failing after the active tool set changed during a session.
  • Fixed Claude models on OpenRouter preserving thinking and reasoning context across follow-up requests and tool calls.
  • Fixed Llama 3.x models served through vLLM-based hosts failing after multiple tool calls in one turn.
  • Fixed Devin accounts belonging to separate organizations under the same email address being merged.
  • Fixed GPT-6.1 Terra sending an unsupported reasoning level when thinking was disabled.
  • Fixed GPT-6.2 and later OpenAI Responses models losing reasoning context after session pruning.
  • Fixed GitHub Copilot model listings to respect the account's available and enabled model roster, including after restarts.
  • Fixed Codex models discovered before their bundled definitions were available displaying slug-style names instead of their normal display names.

@oh-my-pi/pi-coding-agent

Breaking Changes
  • Migrated extension, hook, and custom-tool UI rendering to the host's @oh-my-pi/pi-tui implementation. Renderers now return pi-tui nodes or row objects, UI factories receive a lightweight UI host, and renderers receive the host theme and text-style helpers. Extensions that import bundled or alternate pi-tui packages no longer load; see Migrating from pi-tui.
  • Removed ctx.ui.setEditorComponent and getEditorComponent; use the ctx.ui.composer hooks instead. registerComposerShape now accepts a ComposerShape, and tools must return nodes from renderCall and renderResult instead of implementing describeCall and describeResult.
  • Updated ctx.ui.custom options: pi-tui overlay options are no longer supported, fullscreen is a standalone option, and onHandle receives a { closed, close() } handle.

…