Release notes
Oh My Pi v18.22.1
@oh-my-pi/pi-agent-core
Added
- A model on an extension's custom api can take the Anthropic on-demand compaction lane by declaring
remoteCompaction: { api: "anthropic-messages", enabled: true }; the request goes through its own stream like any turn (#19580 by @ryanskidmore)
Fixed
- Fixed provider-error handling so failed tool calls are no longer fed back to the model as refusal explanations.
- Fixed one-shot retries and title generation for custom Zhipu Coding Plan providers so Beijing-time quota resets are honored.
- Fixed OpenAI remote compaction (V1 and V2) dropping configured headers of models.yml and extension-registered models, so header-authenticated gateways returned 401 (#19579 by @ryanskidmore)
@oh-my-pi/pi-ai
Added
- Added support for request-specific Anthropic beta headers through the
extraBetasoption inbuildAnthropicSearchHeaders. - Added
omitDemotedReasoningtoStreamOptions, allowing Anthropic requests to omit other models' reasoning that would otherwise be replayed as text; refused requests report the omitted block count indemotedReasoningBlocks. - Usage reports can now include the credential ID used by API-key or OAuth credentials, and
AuthStorage.sessions.stickyprovides a read-only lookup for the credential serving a session. - Added
riskAcknowledgementtoOAuthPrompt, allowing hosts to display login-warning acceptance text even when they decline input before the authorization URL is shown. remoteCompaction: { api: "anthropic-messages", enabled: true }opts an Anthropic model at a gatewaybaseUrloutside the known deployments into on-demand compaction;enabledalone keeps such a gateway excluded, and a reroute away from the configured endpoint still has to reach a known deployment.isBuiltinApi()tells a built-in request adapter from an extension's custom api (#19580 by @ryanskidmore)
Changed
- OpenAI Codex requests now track the latest compatible
@openai/codexclient version automatically, with an optionalPI_AI_CODEX_CLIENT_VERSIONoverride, so newly available Codex models can be used without updating omp. - Updated OpenAI Codex request formatting and ChatGPT token-refresh reporting to match Codex CLI 0.169.
- Updated Claude Code and Gemini CLI client version identifiers to 2.1.326 and 0.68.0, respectively.
Fixed
- Fixed OpenAI Decisions usage accounting for gateways that report
prompt_tokensandcompletion_tokensinstead ofinput_tokensandoutput_tokens. - Improved streaming performance for fenced thinking content containing very long unbroken lines.
- Fixed Anthropic requests replaying signed server-compaction blocks with unsupported thread metadata, avoiding a rejected request before retrying.
- Improved diagnostics for Anthropic connections that drop before a response by reporting elapsed time, upload state, and request size.
- Fixed Anthropic conversations losing reasoning from earlier non-Claude turns or turns retained through compaction.
- Fixed credential rotation and retry timing for custom providers using the Zhipu Coding Plan endpoint so Beijing-time quota resets are honored.
- Fixed Claude Fable and Mythos usage-limit errors so rotation selects a sibling account with available quota when possible.
- Invalid Antigravity CLI tool arguments now return validation errors and the expected schema to the model instead of ending the turn.
- Abandoned Antigravity CLI login directories without credentials are automatically cleaned up after 24 hours.
- Improved reliability of managed Antigravity CLI downloads on slow connections and provided more useful progress and timeout errors.
- Fixed Antigravity CLI host tools with mixed-type union schemas being published incorrectly, allowing subagents to submit results.
- Fixed Codex assistant messages in the
partial_answerphase losing their phase when stored and replayed.
@oh-my-pi/browser-relay
Fixed
- Fixed an issue where the browser relay could fail to identify the page and title of a frame it emptied and hid in a tab.
@oh-my-pi/pi-catalog
Fixed
- Fixed Factory Droid's Muse Spark 1.3 support so image inputs work and the model is available without the retired feature flag.
- Fixed GitLab Duo Claude models so earlier reasoning context is handled correctly during follow-up turns and compaction.
- Fixed stale Command Code model metadata, including image-input support, reasoning controls, token pricing, and deployment context limits.
- Fixed retry-reset timezone handling for custom providers using the Zhipu Coding Plan endpoint, including base URLs with trailing slashes.
@oh-my-pi/pi-coding-agent
Breaking Changes
- The JavaScript eval
commithelper now validates its arguments strictly: unknown option names and non-object options throw aTypeErrorthat lists the supported options. Update scripts that pass extra options. Committing an unchanged draft repository now reports that it is unchanged instead of suggestingtake().
Added
- Added the
providers.webKeylesssetting, enabled by default, to control whether web search and URL reading may use keyless services. Disable it to restrict these operations to configured providers; individualomp q --model web/<engine>requests can still explicitly run a keyless engine. - Added configurable live voice endpoints and API keys through
live.endpointandlive.apiKey. Live voice can now connect to any OpenAI Realtime WebRTC-compatible server without Codex or ChatGPT sign-in, including offline use, andlive.voiceaccepts arbitrary voice names. - Computer
el.setValue()now accepts finite safe integer and decimal numbers and writes them as text, while continuing to reject unsupported values such as booleans, objects,NaN, andInfinity. - On macOS, browser results now report relevant native windows—such as pickers, print or save sheets, sign-in prompts, passkey dialogs, and permission bubbles—with their
computer.window()identifiers. - Browser
select()now accepts label-, value-, and zero-based index-based choices, including mixed choices for multi-select controls, across Chromium, Tern, and cmux tabs.
Changed
- Keyless Parallel searches no longer send session or model identifiers; only the search query is sent.
- The
computertool's macOS takeover messages now describe the actual keyboard handoff state and explain the behavior of background window moves and hover-only controls. - Chromium
tab.observe()andtab.ariaSnapshot()now wait briefly for page updates triggered by preceding actions, producing more reliable post-action results. - When another agent controls the desktop,
InputBusynow identifies that agent and its omp process. - Subagents now use their own browser context by default instead of opening tabs in the user's Chrome, Tern, or cmux session; relay or Tern access can still be requested explicitly.
- Browser task guidance is now delivered automatically after the first browser call, with safety guidance available before the first call and restored after compaction or rewind.
- Named-menu reads now include nested commands with their complete command paths.
- The eval
commithelper now runs configured Git hooks in addition to hooks in.git/hooks/, matchinggit commitbehavior. Configured hooks may cause commits to take longer or be rejected. - Service readiness patterns now match line boundaries correctly, and shell file-time commands honor the configured
TZtimezone. - Large
writeandeditcalls remain responsive while their arguments stream. - Selective commits now handle initialized submodule pointers and sparse checkouts more accurately, and report unmatched paths explicitly.
…