github can1357/oh-my-pi v18.22.1

2 hours ago

@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 extraBetas option in buildAnthropicSearchHeaders.
  • Added omitDemotedReasoning to StreamOptions, allowing Anthropic requests to omit other models' reasoning that would otherwise be replayed as text; refused requests report the omitted block count in demotedReasoningBlocks.
  • Usage reports can now include the credential ID used by API-key or OAuth credentials, and AuthStorage.sessions.sticky provides a read-only lookup for the credential serving a session.
  • Added riskAcknowledgement to OAuthPrompt, 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 gateway baseUrl outside the known deployments into on-demand compaction; enabled alone 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/codex client version automatically, with an optional PI_AI_CODEX_CLIENT_VERSION override, 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_tokens and completion_tokens instead of input_tokens and output_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_answer phase 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 commit helper now validates its arguments strictly: unknown option names and non-object options throw a TypeError that lists the supported options. Update scripts that pass extra options. Committing an unchanged draft repository now reports that it is unchanged instead of suggesting take().

Added

  • Added the providers.webKeyless setting, enabled by default, to control whether web search and URL reading may use keyless services. Disable it to restrict these operations to configured providers; individual omp q --model web/<engine> requests can still explicitly run a keyless engine.
  • Added configurable live voice endpoints and API keys through live.endpoint and live.apiKey. Live voice can now connect to any OpenAI Realtime WebRTC-compatible server without Codex or ChatGPT sign-in, including offline use, and live.voice accepts 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, and Infinity.
  • 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 computer tool'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() and tab.ariaSnapshot() now wait briefly for page updates triggered by preceding actions, producing more reliable post-action results.
  • When another agent controls the desktop, InputBusy now 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 commit helper now runs configured Git hooks in addition to hooks in .git/hooks/, matching git commit behavior. 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 TZ timezone.
  • Large write and edit calls remain responsive while their arguments stream.
  • Selective commits now handle initialized submodule pointers and sparse checkouts more accurately, and report unmatched paths explicitly.
  • Git commit operations now provide clearer status and hook feedback, including unchanged repositories, hook output, hook-modified commit subjects, and repositories with an in-progress operation or unresolved conflicts.
  • /continue now resumes the newest session for the current directory when the most recent session was created elsewhere before receiving its first message.
  • /copy now copies the content displayed by mid-turn out:// replies and preserves their code blocks.
  • Tools enabled in goal mode remain available after leaving that mode.
  • Status-line usage now reflects the credential actually selected for multi-credential providers.
  • Custom providers using the Zhipu Coding Plan endpoint now retry at the correct Beijing-time quota reset.
  • ^model references followed by sentence punctuation now resolve as model-agent references.
  • /restart now restarts through the original launcher so upgraded installations are used by the resumed session.
  • RPC hosts reliably receive completion events after quota errors, and OSC 7501 terminals no longer play stale success notifications during a newer run.

Fixed

  • Fixed configured Exa and Firecrawl credentials silently falling back to keyless endpoints when credential resolution failed; credential errors are now reported.
  • Fixed eval cells bypassing delegated-task completion with yield; use the direct tool instead.
  • Fixed /commit and eval commits creating incorrect single-parent commits during merge and other Git operations; commits are now refused while an operation is in progress or conflicts remain.
  • Fixed the apply_patch tool documentation incorrectly describing it as a shell command and disallowing absolute paths.
  • Fixed the shell rg builtin ignoring slash-containing --glob patterns.
  • Fixed eval commit only(...) failing when a selected path or glob matched no changed files.
  • Fixed browser calls becoming permanently busy after interrupted page evaluation, and fixed stale JavaScript confirm or prompt dialogs causing subsequent calls to fail.
  • Fixed macOS Chrome and Electron computer.setValue() failing to select an option from an empty option list.
  • Fixed browser relay tabs being closed when another extension—such as a password manager—holds the tab; the tab now remains available for reattachment.
  • Fixed macOS computer takeovers failing to report user intervention when the user continued typing.
  • Improved browser relay errors for hidden extension frames by identifying the frame, extension, and page involved.
  • Fixed Anthropic web search for site: queries and safety-refused searches, including clearer refusal and provider-error reporting and appropriate retry behavior.
  • Subagents without an output schema no longer receive an unnecessary yield tool, and yield without data no longer incorrectly uses the last message as its result.
  • Fixed macOS popup and menu interactions that could leave menus open or press the wrong control.
  • Fixed Claude losing reasoning from earlier non-Claude model turns after model switches or compaction, and prevented refusal text from contaminating later requests.
  • Fixed selective commits skipping updated submodule pointers and incorrectly reporting sparse-checkout paths as deletions.
  • Fixed Git status scans hanging when background Git processes kept output pipes open.
  • Fixed first-launch WebKit startup on macOS falling back to Chromium while the engine was still initializing.
  • Fixed rejecting pre-commit hook output being omitted from commit errors.
  • Fixed Ghidra analysis of Objective-C message results and arm64 retain-register data in Mach-O binaries, including cached frameworks.
  • Fixed browser interactions behind modal dialogs incorrectly reporting success; covered fields and disabled elements are now rejected, and covered drag endpoints are detected.
  • Fixed RPC login for providers that require an at-your-own-risk confirmation; the confirmation is now presented to the host and login proceeds only after approval.
  • On Linux, language-server file watching no longer consumes excessive inotify watches in node_modules and .git/objects.

@oh-my-pi/pi-mnemopi

Fixed

  • Fixed embedding requests failing when oversized inputs were clipped in the middle of an emoji or other Unicode character.

@oh-my-pi/pi-natives

Added

  • Added DesktopFocusReturn.keyboard, which reports what happened to the user's keyboard after a macOS takeover: handed back, left as chosen, kept, brought to the front only, or not sent.
  • Added desktopWindowRoster() to enumerate all on-screen macOS windows, including popups, pickers, and system prompts, with their owners, layers, and visibility to listWindows.
  • Added sparse-checkout-aware Git tree operations so selective commits preserve files outside the sparse cone and collapsed sparse-directory entries.

Changed

  • macOS scrolling now matches Windows and Linux: positive dy scrolls down and positive dx scrolls right.
  • InputBusy now identifies the agent and omp process holding input or focus control when that information is available.
  • Wayland text input now supports characters unavailable through the active keyboard layout, including accented characters, CJK text, and emoji, on compositors providing libei text support.
  • Improved Linux accessibility performance and scalability for large GTK, Qt, and other applications, including faster element lookups and bounded tree reads for very large tables and lists.
  • Tree listings now expose gitlink modes so selective commits can distinguish submodule pointers from ordinary files.

Fixed

  • Fixed macOS and Windows focus restoration after computer takeovers and background input, including cases where the target application brought itself forward; the originating app now becomes active again and focus results are reported accurately.
  • Fixed keyboard input on Windows and X11 when the target uses a different keyboard layout or when Caps Lock, StickyKeys, or another layout is active.
  • Fixed X11 input being delivered to another application's menu, screen lock, or other keyboard grab; input now waits for transient grabs to end or fails without sending keys.
  • Fixed Linux text entry from affecting the user's active field during agent input. Supported GTK and Qt text fields now use safe accessibility-based entry where possible, while unsupported fields continue to use the existing keyboard path.
  • Fixed Linux interactions with combo boxes so unsupported popup-opening actions are refused safely, while supported GTK 3 and Chromium selections can be made without taking over the keyboard.
  • Fixed macOS accessibility labels for SwiftUI toggles, including matching their adjacent labels with find({ title }).
  • Fixed macOS element references in refreshed tables, including Activity Monitor, so row actions follow an unchanged row, reject a changed row safely, and provide useful before-and-after details when the row cannot be matched.
  • Fixed macOS clicks and presses being reported as successful when the target was hidden, unavailable, covered by a sheet, or otherwise not clickable.
  • Fixed macOS Chromium <select> interactions, including option matching, menu cleanup, and safe handling when the available options are incomplete.
  • Fixed macOS setValue for numeric controls such as sliders and steppers, including reporting values that the control clamps or rounds; unsupported but step-able controls now explain how to use their increment and decrement actions.
  • Fixed macOS takeover and background input from sending keys while the user is actively typing or holding input controls; such operations now wait for a safe idle point or fail without sending input.
  • Fixed macOS menu and popup-button interactions from leaving menus open or sending keys into the user's application after background input completes.
  • Fixed macOS background actions from incorrectly stopping when the user's app briefly took the keyboard, and improved target selection after drag-and-drop or remote-control interaction.
  • Fixed Wayland screenshots and screenshot-dependent clicks, drags, and scrolls in released Linux builds. capabilities() now reports when capture is unavailable, with an explanatory error when PipeWire is missing.
  • Fixed a Windows native IPC crash that could leave daemon-served tools hanging after another session closed its connection.
  • Fixed commitCreate() errors from omitting rejecting pre-commit or commit-msg hook output; hook output is now included consistently with git commit.
  • Fixed Rust block edits anchored on the first attribute or documentation comment so they cover the complete item instead of being treated as single-line edits.

Removed

  • Removed the obsolete wayland-pipewire Cargo feature and OMP_NATIVE_FEATURES configuration variable.

@oh-my-pi/omp-stats

Fixed

  • Fixed the Gain tab undercounting savings for sessions that use snapcompact context compaction, including backfilling recent compaction history after upgrading.

@oh-my-pi/pi-tui

Added

  • Task tool and agent hub rows now use distinct, theme-aware colours for the main agent and subagents; themes can optionally customize the six subagent colours.
  • Added word wrapping for table columns and rows, preserving hard line breaks so long table content remains readable.

Changed

  • Improved terminal UI responsiveness and reduced CPU usage while streaming long responses, monitoring the event loop, and typing with macOS spell checking enabled.
  • Status account identities can now include an optional credential ID, allowing usage to be attributed to API-key accounts and cached usage to refresh when the credential changes.

Fixed

  • Images in Ask forms now render correctly in Kitty-protocol terminals, including Kitty, Ghostty, and herdr.
  • Fixed model mentions followed by punctuation so they become editable chips without consuming the punctuation.
  • Fixed /copy to copy the visible prose from mid-turn out:// replies, including replies sent by commands, instead of the tool's internal result text.

What's Changed

  • perf(ai): stop rescanning the open line in FencedThinkingScanner by @H4vC in #19493
  • perf(coding-agent): check TTSR tool arguments for changes per value, not per byte by @H4vC in #19494
  • fix(commit): let draft.only skip globs that match no changed path by @alphastorm in #19472
  • fix(ai): send replayed Anthropic compaction blocks without a thread by @alphastorm in #19473
  • fix(commit): refuse to commit a draft while a merge or rebase is in progress by @alphastorm in #19474
  • fix(edit): describe apply_patch as tool input, not a shell command by @alphastorm in #19468
  • fix(builtins): match rg anchored globs relative to the working directory by @alphastorm in #19476
  • fix(eval): reject yield through the eval tool bridge by @alphastorm in #19470
  • fix(launch): match service ready patterns per line by @alphastorm in #19471
  • fix(builtins): honor the shell's TZ in stat, diff and find by @alphastorm in #19482
  • feat(catalog): add the Factory Droid models droid 1.7.1 serves by @will-bogusz in #19191
  • fix(natives): map Windows keys on the receiving keyboard layout by @will-bogusz in #19025
  • fix(natives): put Linux el.type text into GTK and Qt text fields through accessibility by @will-bogusz in #19035
  • fix(natives): follow rebuilt macOS table rows without selecting a neighbour by @will-bogusz in #19048
  • fix(natives): name a macOS control by the label its AXTitleUIElement links to by @will-bogusz in #19061
  • fix(natives): report where focus went after a Windows takeover by @will-bogusz in #19062
  • fix(natives): point a refused macOS press at the element's own click by @will-bogusz in #19063
  • fix(natives): refuse X11 XTest keys while another client grabs the keyboard by @will-bogusz in #19066
  • fix(natives): type X11 XTest text through a neutral keyboard state by @will-bogusz in #19080
  • fix(stats): count snapcompact compactions on the Gain tab by @will-bogusz in #19120
  • fix(natives): scroll down for a positive dy on macOS, as on Windows and Linux by @will-bogusz in #19165
  • fix(browser-relay): keep a relay tab when another extension's frame keeps omp out by @will-bogusz in #19178
  • test(ai): keep captured Factory Droid parity cases when one case fails by @will-bogusz in #19194
  • fix(natives): give the user's key window back after macOS takeover and focus-guard hand-backs by @will-bogusz in #19208
  • fix(natives): choose a Chromium select's option on macOS and close the menu it opens by @will-bogusz in #19224
  • fix(browser): forget a dialog the user or another client answered by @will-bogusz in #19481
  • fix(natives): choose Linux combo box options without opening their keyboard-grabbing list by @will-bogusz in #19034
  • fix(natives): stop Linux accessibility reads from freezing apps that show long tables by @will-bogusz in #19036
  • feat(browser): let observe() settle the effects of the preceding action by @will-bogusz in #19045
  • fix(natives): close the menu a macOS background key press opens by @will-bogusz in #19179
  • fix(natives): refuse macOS element actions on a control a person could not click by @will-bogusz in #19258
  • fix(natives): keep macOS takeover from taking a typing user's keys by @will-bogusz in #19296
  • fix(natives): set macOS sliders and other number controls from setValue by @will-bogusz in #19405
  • feat(tui,natives,coding-agent): give each agent a colour and name the input-lock holder in InputBusy by @will-bogusz in #18987
  • fix(browser-relay): say what the relay hid in a driven tab by @will-bogusz in #19001
  • fix(natives): place macOS clicks for the focus guard where WindowServer routed them by @will-bogusz in #16553
  • feat(natives): type text the wayland layout lacks through libei text by @will-bogusz in #18013
  • feat(coding-agent): find nested menu commands in one read by @will-bogusz in #18222
  • fix(natives): load libpipewire at runtime so released addons capture on Wayland by @will-bogusz in #18353
  • fix(ai): say whether an Anthropic request body finished uploading when its connection drops by @will-bogusz in #18624
  • feat(agent,coding-agent): send a short browser guide with the first browser call by @will-bogusz in #18786
  • feat(coding-agent): keep subagents' browser tabs out of the user's Chrome and Tern pane unless asked by @will-bogusz in #18789
  • feat(coding-agent): name the native windows a browser call raised on macOS by @will-bogusz in #18925
  • fix(ai,coding-agent): carry other models' reasoning to Claude and retry its refusal without it by @will-bogusz in #17610
  • fix(ai,coding-agent): keep Anthropic web search queries intact, always search, and report refusals by @will-bogusz in #18125
  • fix(web-search): require opt-in before keyless third-party search by @H4vC in #19562
  • feat(catalog): add Bifrost gateway provider by @Xytronix in #19053
  • fix(vcs): reported commit hook stdout in the rejection error by @roboomp in #19452
  • fix(coding-agent): skipped inotify watches on excluded lsp watch dirs by @roboomp in #19461
  • fix(pi-ast): resolve Rust attribute and doc comment block anchors through the item by @acfrazier in #19464
  • fix(ai): bounded agy downloads by stall instead of total deadline by @roboomp in #19469
  • fix(vcs): stop git reads waiting on pipes a background child holds by @alphastorm in #19478
  • fix(ai): rotate Claude Mythos usage limits to a sibling with quota by @BadAd84 in #19484
  • fix(ai,tui,coding-agent): attribute the usage segment to the session's serving credential by @thekitaev in #19492
  • fix(session): ignored other-cwd fresh breadcrumbs on --continue by @roboomp in #19498
  • fix(ai): published antigravity-cli host tools with mcp schema normalizer by @roboomp in #19503
  • fix(tui): wrapped ask form table cells instead of truncating them by @roboomp in #19507
  • fix(natives): bump mio to 1.2.4 to fix Windows named-pipe panic by @ve3xone in #19508
  • fix(coding-agent): say once that a macOS background move gives no hover by @will-bogusz in #19509
  • fix(tui): convert ask form pictures to PNG for Kitty by @jaredlyon in #19512
  • fix(coding-agent): preserve live tool roster on goal-mode exit by @yuzu-octopus in #19514
  • fix(natives): count keys moved back to a macOS user's app as theirs by @will-bogusz in #19515
  • feat(browser): accept explicit dropdown option selectors by @will-bogusz in #19518
  • fix(natives): read each AT-SPI element in two concurrent rounds by @will-bogusz in #19521
  • fix(coding-agent): refuse browser keys aimed at a field a modal dialog covers by @will-bogusz in #19524
  • fix(rpc): routed login-warning risk prompt to rpc hosts by @roboomp in #19527
  • fix(coding-agent): restart through the upgraded launcher by @yuzu-octopus in #19529
  • fix(tui): copy out:// reply prose from /copy by @bannert1337 in #19551
  • fix(ghidra): repair Objective-C analysis of Mach-O programs by @shgew in #19558
  • fix(antigravity-cli): return actionable tool schema errors by @SenCha930511 in #19413
  • fix(coding-agent): bound usage-limit bookkeeping so agent_end still arrives by @yuzu-octopus in #19417
  • fix(coding-agent): suppress stale agent_end status reports mid-run by @yuzu-octopus in #19418
  • fix(agent): stop replaying provider refusal text in tool placeholders by @flosrn in #19419
  • fix(antigravity-cli): clean abandoned login directories by @SenCha930511 in #19420
  • fix(browser): waited for a WebKit host still starting up on macOS by @shgew in #19423
  • fix(coding-agent): rejected unknown options in the js commit prelude by @roboomp in #19442
  • fix(tui,coding-agent): resolve model mentions with trailing punctuation by @yuzu-octopus in #19445
  • fix(catalog,coding-agent): honor Zhipu reset timezone for custom providers by @yuzu-octopus in #19446
  • fix(vcs): ran config-defined git hooks in the commit helper by @roboomp in #19447
  • fix(commit): return the hook-rewritten commit subject by @eggpeat in #19448
  • fix(vcs): keep sparse-checkout paths out of selective-commit hook diffs by @yuzu-octopus in #19453
  • fix(mnemopi): kept clipToWindow cut points off surrogate pairs by @roboomp in #19458
  • fix(catalog): update Command Code models and prices by @jasonharrison in #19462
  • fix(commit): support explicitly selected gitlink SHA updates by @kim-dali in #19556
  • fix(agent): sent configured headers on OpenAI remote compaction requests by @ryanskidmore in #19579
  • feat(agent,ai): Anthropic on-demand compaction for custom-api models and opted-in gateways by @ryanskidmore in #19580

New Contributors

Full Changelog: v18.22.0...v18.22.1

Don't miss a new oh-my-pi release

NewReleases is sending notifications on new releases.