github can1357/oh-my-pi v19.0.0

49 minutes ago

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

Added

  • Added support for excluding custom messages from model context and compaction or branch summaries, while allowing queued steering and follow-up messages to continue correctly after excluded messages.

@oh-my-pi/pi-ai

Added

  • Added a prewarm stream option for Anthropic Messages requests to refresh prompt caches without generating billable output; it is rejected for budget thinking, forced tool choice, and structured output.
  • Claude usage reports now include the account subscription plan in metadata.subscriptionPlan, supporting Max 5x, Max 20x, Pro, Team, and Enterprise plans.
  • Added retryUnreachableBroker and onBrokerRetry options to discoverAuthStorage, allowing hosts to control startup retries for temporarily unavailable authentication brokers and display retry status.

Fixed

  • Fixed Claude account failover after a shared weekly usage limit recovers, ensuring accounts become available again when usage reporting no longer shows that window.
  • Authentication broker startup now tolerates temporary broker restarts and connection interruptions by retrying for up to 30 seconds, while still failing immediately for rejected tokens or malformed snapshots.
  • Improved authentication broker compatibility across client and broker versions by tolerating unknown credential, usage, and observed-usage fields and values.
  • Fixed Codex Spark usage meters so reports that identify the meter only by metered_feature remain correctly scoped to the Spark model.
  • Fixed Antigravity CLI requests for models whose available IDs include effort suffixes, such as resolving gemini-4-hydrogen when only gemini-4-hydrogen-high is offered.

@oh-my-pi/pi-catalog

Added

  • Added support for prompt-cache prewarming on the first-party Anthropic endpoint via the isPromptCachePrewarmSupported compatibility capability.

Fixed

  • Fixed hosted judgment requests for TypeSafe, OpenRouter, Command Code, and OpenCode Zen when evaluating more than 32 questions.
  • Improved Devin image handling to support more conversation images within provider limits, and updated image compaction for Devin Gemini models to reflect their billed token usage.
  • Fixed Devin Gemini model pricing so models switch from promotional to list pricing when promotions end.
  • Fixed Kiro API key authentication (KIRO_API_KEY and ksk_…) so model listing, chat, and /usage requests work correctly.

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

Breaking Changes

  • Changed SDK cache warming controls: createAgentSession.cacheWarming now accepts the mode cap "off", "streaming", or "idle"; the lower of this value and providers.cacheWarming applies. Use "off" instead of false.
  • Replaced artifact://N links with readable, listable, and completable local://N.log files at the session's local:// root. artifact:// links in existing sessions are not migrated.
  • Replaced session.handoff(focus) with session.compact(focus, { mode: "handoff" }); use abortCompaction() to cancel it.
  • Consolidated shared background processes under one per-user daemon rather than project-specific brokers. Daemons and services from older versions are not adopted; omp ps now reports global, project, and session units together, removes --global, changes --json output to {daemon, reports}, and no longer adds ?project= to dsm:// handles.
  • Renamed SDK deferSkillDescriptionCompression to deferHintCompression and startSkillDescriptionCompression() to startHintCompression(); these settings and methods now also cover MCP namespace hints.

Added

  • Added built-in MCP transforms, including the Codex Desktop node_repl replacement. Built-ins can be disabled with mcp.builtinTransforms; /mcp list identifies replaced servers and /mcp enable node_repl can explicitly connect one.
  • Added optional MCP eval namespaces through mcp.evalNamespaces, exposing servers as JavaScript and Python namespaces with documentation at xd://eval/. Results preserve text and structured data, and binary resources are saved as local:// files.
  • Added model-generated names for /tan agents and their tray cards, with a readable random fallback when naming fails or times out.
  • Added configurable cache-warming strategies (auto, keepalive, and compact), including long-tool-call keepalive and pre-expiry prompt compaction. Cache-warming events now report the selected method and costs.
  • Added optional cross-instance task discovery and messaging with task.crossInstance, exposing same-folder instances through agent://peers.
  • Added btw mode: drafts beginning with ? submit as /btw questions and receive distinct UI indication.
  • Added Tern live cards for running subagents and background jobs, including progress, tool counts, status, controls, transcripts, and restored access to finished agents.
  • Added daemon update survival and optional TCP hosting through OMP_DAEMON_TCP, preserving running services, PTYs, and language servers across daemon upgrades.
  • Loaded speech-to-text and text-to-speech models once per machine, unloading them after 15 minutes of inactivity.
  • Added ovnfs worktree support to /wt, the project resume picker, and omp worktree list/clear, while preserving session resume from the source repository after checkout removal.
  • Added Claude subscription plans to omp usage and /usage output.
  • Added progress reporting for background skill-description and MCP namespace hint generation.
  • Added excludeFromContext to pi.sendMessage payloads so extensions can display and save per-turn messages without sending them to the model.
  • Added a 30-second retry window for CLI and print-mode commands while the authentication broker restarts or is briefly unavailable.
  • Added a notify option to the bash tool for reporting matching output from background commands and named services, waking idle sessions or ending blocked waits.

Changed

  • Improved cache warming for Anthropic-compatible providers with no-output prewarming where supported and billing based on actual replay costs; task subagents now keep prompt caches warm during long tool calls when streaming warming is enabled.
  • Generated skill descriptions and MCP namespace hints once per machine, sharing results and progress across omp windows.
  • Preserved thinking levels when switching models, adjusting only when the selected model cannot support the current level; model defaults apply only when no level is set.
  • Extended repeated reply and subagent waits to use the session's prompt-cache lifetime, and made subagent waits follow the live parent's next message when appropriate.
  • Made /handoff run as background compaction while preserving the current response and newly arriving messages.
  • Redesigned ask prompts as a single scrolling form above the composer, preserving partial answers and allowing users to skip pending questions by sending a message.
  • Enabled composer predictions by default, showing the active model's suggested next message after completed turns; disable them in Settings → Interaction.
  • Disabled tool-call intent tracing by default in print, RPC, ACP, and SDK sessions; enable it with tools.intentTracing or PI_INTENT_TRACING.
  • Updated ovnfs checkout guidance and git guard messages to explain how to land, pull, or discard changes.
  • Improved subagent completion probes and side requests so they focus on deliverables and do not include still-streaming reasoning as plain history.
  • Standardized wait behavior to a 5-second initial idle wait followed by four-minute back-to-back waits.
  • Always provide subagents with the shared LSP tool; task.enableLsp now controls only LSP formatting and diagnostics for edits.
  • Improved bash services, PTYs, and embedded shells with session environment inheritance, session-file URL support, clearer readiness validation, and more transparent minimized output.
  • Named managed Chromium clearly when running in a window and improved browser, screenshot, upload, frame, selector, network, and CDP behavior across tabs and browser backends.
  • Improved hashline editing with verbatim replacement bodies, safer range and path validation, clearer parse and syntax diagnostics, support for larger files and SSH files, and more predictable raw reads and line selectors.
  • Improved MCP reliability with ten-minute tool-call deadlines, longer deadlines when progress is reported, clearer timeout and connection errors, and one retry after expired HTTP sessions.
  • Expanded the embedded shell with portable built-ins and internal-URL support for common workflows, including file inspection, archiving, process control, environment loading, file watching, locking, speech, opening files, and patch application.
  • Improved LSP and debugging diagnostics, language coverage, workspace detection, references, rename, code actions, and server lifecycle reporting.
  • Improved eval tooling with Python 3.9+ validation, UTF-8 execution, package installation refreshes, full tool results, protocol-file access, threaded Python helpers, and clearer kernel-loss and timeout messages.
  • Improved commit drafts and summaries to handle hooks, amend operations, worktrees, filters, line endings, large untracked trees, review files, and JavaScript/Python API parity more accurately.
  • Improved URL, archive, GitHub, Terraform Registry, package documentation, web search, and remote-file handling, including filtering, pagination, binary conversion, archive member access, and clearer provider errors.
  • Improved usage and account policy reporting so subscription limits and scoped exhaustion identify the affected plan or meter accurately.
  • Improved worktree, process, wait, agent messaging, session restore, memory retention, Spotlight, Windows shell, and macOS performance behavior.

Fixed

  • Fixed MCP resource links and binary resources so they remain accessible as readable files or inline content rather than being dropped or shown only as placeholders.
  • Fixed commit drafts after pre-commit hooks and partial prior commits so the index, diff, selected blocks, amended parent, review files, and generated summaries remain accurate.
  • Fixed automatic Hindsight and Mnemopi retention during runs with async work, subagents, or peer messages, preventing duplicate or overlapping retention.
  • Fixed blocked agents and waits by reporting waiters and dependency chains, delivering messages to queued agents, and correctly handling killed, evicted, resumed, or empty-output jobs.
  • Fixed session resume and process-result handling across unified-daemon upgrades.
  • Fixed thinking-level display and model-switcher behavior for subagents, auto-thinking sessions, and manually adjusted levels.
  • Fixed worktree cloning, ovnfs/Git transitions, service readiness checks, shell environment inheritance, Windows junction removal, process substitution, checksums, and background command cancellation.
  • Fixed browser automation reliability across screenshots, clicks, fills, tabs, frames, dialogs, uploads, CDP endpoints, stale connections, concurrent evaluations, browser startup, viewport emulation, clipboard, and platform-specific input.
  • Fixed hashline, AST editing, generated-file detection, numbered content, remote-file editing, syntax diagnostics, path handling, and line-ending behavior.
  • Fixed eval kernels, Python and JavaScript helpers, package imports, nested tool calls, internal URLs, and moved working directories.
  • Fixed LSP, language-server startup, diagnostics, references, rename, code actions, project loading, file types, and debugger adapter selection.
  • Fixed command-output summarization so relevant context, metadata, Git output, test timing, AWS output, lint diagnostics, and binary detection are preserved instead of being misclassified.
  • Fixed read, grep, glob, URL, archive, SQLite, video, RSS, GitHub, package-documentation, SSH, and web-search handling across selectors, filters, pagination, archives, binary content, and provider failures.
  • Fixed todo operations, ask compatibility and timeout behavior, image generation validation, GitHub PR pushes, plan proposals, and session accounting for side-channel model calls.
  • Fixed MCP OAuth reauthentication errors to expose registration endpoints, status details, and remedies, and fixed auth-broker shutdown so refreshed tokens are saved safely.
  • Fixed Spotlight retry and account handling, including waitlisted accounts, rate limits, outages, and request identification.
  • Fixed cross-platform shell and desktop behavior, including macOS startup and redraw performance, Windows file operations and application lookup, speech output, and desktop opening.

@oh-my-pi/collab-web

Fixed

  • Fixed web search cards without a synthesized answer displaying raw numbered result lists; they now show a concise excerpt for each source instead.

@oh-my-pi/pi-natives

Added

  • Added VcsGitRepo.worktreeToGit() to convert worktree content into the blob representation produced by git add.
  • Added support for using a Shell as a process's shell, routing commands through the process's standard streams while preserving the process session and terminal for external commands.
  • Added ShellRunOptions.speech to connect the host speech handler to the shell's say command.
  • Added an in-process file shell builtin with broad file-type detection, MIME and encoding output, archive/image/document support, and compatibility with the commonly used file command options.

Changed

  • Improved typing and key-press responsiveness in iPhone Mirroring, reducing per-character latency by approximately half.

Fixed

  • Fixed screenshots of partially off-screen Linux windows on Wayland and X11 so the visible region is captured and coordinate-based zoom targets correctly.
  • Fixed Wayland input operations on desktops without an available input route to fail immediately with a clear PermissionDenied error instead of attempting unnecessary screen capture first.
  • Fixed macOS computer interactions so background clicks, key presses, pop-up menu actions, and takeover calls restore the previously active window within the call.
  • Fixed macOS pop-up menu reads immediately after typing so they reflect the option selected by the entered letters.

@oh-my-pi/omp-stats

Breaking Changes

  • Spotlight recovery counts reads from local spill files toward recovery counts; reads from artifact references in older sessions continue to count as before.

Added

  • Expanded the Overview's Token mix to include off-transcript model calls—such as title generation, job captions, judge queries, and cache warming—with per-source request counts, token totals, and usage shares.
  • Added a Decision models card to the Overview showing requests, tokens, and usage share by judgment use case for native judgment models.
  • Request details for title-generation and judge calls now display the generated reply or recorded judge answers.

Changed

  • Token mix shares for the main agent, subagents, and advisor now reflect conversation turns only, excluding side-channel model calls.

Fixed

  • Hardened the dashboard against DNS rebinding by rejecting requests made through unconfigured public host names. IP addresses, localhost, LAN short names, local network domains, and Tailscale names remain supported; configure reverse-proxy or other custom domains with OMP_STATS_ALLOWED_HOSTS, including wildcard subdomains such as *.example.com.

@oh-my-pi/pi-tui

Breaking Changes

  • Full-output references and the [raw output: …] footer now use local://N.log instead of artifact://N.

Added

  • Added the btw composer mode, including the btwMode theme color in all bundled themes.
  • Added feature-gated native docking for runtime children, allowing components to appear only on terminals that advertise the required capability.
  • Added options to preserve intraword underscores when stripping inline Markdown and to open JobsSheet on a selected job.
  • Custom message payloads can now be excluded from model context while remaining available in normalized and restored saved entries.
  • Added transcript blocks for output reported by running background jobs and services.

Changed

  • Reworked ask dialogs into a single stacked flow: the active question stays open while answered questions fold into compact summaries with their selected options visible. This applies across terminal and native interfaces and improves keyboard navigation, sizing, and host composer integration.
  • Improved composer behavior while an ask dialog is pending: the composer indicates that typing there will skip the question, folds to a compact state when appropriate, and offers an explicit Skip & send action for drafts that bypass the ask.
  • Added support for folded and faint composer states and clearer visual indication when the interface is awaiting an answer.
  • Model search now supports provider/model queries, prioritizing exact provider matches and searching that provider's model IDs first.

Fixed

  • Improved background-job notices in Tern by grouping all output under one header and showing the complete lines.
  • Fixed Tern composer handling of -> and => so typing them no longer unexpectedly inserts a line break.
  • Fixed web search results without a synthesized answer to show each source once with a concise cleaned excerpt.
  • Fixed long Tern tool-approval prompts so their details scroll within the available window and the choices and Approve/Deny controls remain visible.
  • Fixed table chart unit display and change-factor calculations for measurements with scaled units.
  • Fixed checkbox groups so pressing Enter with nothing selected first checks the focused box.
  • Ask forms now open each question with its preselected answer, allowing Enter to accept the recommendation without replacing it.

@oh-my-pi/pi-utils

Added

  • Added utilities for formatting and parsing session spill URLs using the local://N.log format.
  • Added postmortem.exitCleanlyOnStopSignals() so long-running services exit successfully after completing cleanup on SIGINT or SIGTERM.

Fixed

  • Fixed Windows shell discovery incorrectly selecting the WSL bash.exe launcher, which could cause services to run under WSL.
  • Fixed archive opening so the extraction-size limit is enforced when an oversized member is read rather than preventing access to the entire archive.
  • Fixed OMP_LOG_LEVEL so it also controls console output from services such as omp auth-broker serve, not just log-file output.
  • Fixed Markdown parsing so emphasis and link labels are not prematurely terminated by marker characters inside code spans, autolinks, inline HTML tags, or link destinations.

@oh-my-pi/pi-wire

Added

  • Added tray state and interaction properties, including focus, peek, quiet, main status, item references, card status and actions, and event state.
  • Added layout transition properties to nodes for coordinating layout animations.
  • Added support for folding a dock composer into its compact row.

What's Changed

  • fix(tui): scroll native approval details so choices stay in view by @c-w-z in #19617
  • perf(natives): type on iPhone Mirroring twice as fast by @will-bogusz in #17897
  • feat(extensions): let custom messages stay out of model context by @materemias in #19550
  • fix(natives): read a macOS popup after the option its typed letters choose by @will-bogusz in #19516
  • fix(natives): put the user's key window back in front of a macOS target after background input and takeover by @will-bogusz in #19532
  • fix(pi-builtins): rm -r removes junctions inside a tree by @zhivko-kocev in #19572
  • fix(pi-builtins): read process substitution (/dev/fd/N) in builtins on Windows by @zhivko-kocev in #19574
  • docs(auth-gateway): describe reclaim moving warm pins back by @will-bogusz in #19586
  • fix(natives): capture the visible part of a Linux window partly off its monitor by @will-bogusz in #19596
  • fix(ai): retry the initial auth-broker snapshot through a broker restart by @will-bogusz in #19598
  • fix(coding-agent): let auth-broker serve save an in-flight refresh before exit by @will-bogusz in #19599
  • fix(ai): heal Claude tier blocks a shared weekly wall caused from single-window usage reports by @will-bogusz in #19600
  • fix(catalog): switch Devin's Gemini promo prices to list when each promo ends by @will-bogusz in #19601
  • fix(ai): read auth-broker responses that carry fields a newer broker adds by @will-bogusz in #19602
  • fix(utils): apply OMP_LOG_LEVEL to the console transport by @will-bogusz in #19605
  • fix(coding-agent): judge omp usage policy state by account-wide windows by @will-bogusz in #19606
  • fix(catalog): carry Devin's measured image limits by @will-bogusz in #19619
  • fix(natives): refuse every Wayland input call at once when no input route exists by @will-bogusz in #19629
  • fix(antigravity-cli): selected agy's effort-suffixed model ids by @roboomp in #19640
  • fix(mcp): surfaced rejected DCR diagnostics through mcp reauth by @roboomp in #19643
  • fix(coding-agent): regenerated the stale export viewer metadata by @will-bogusz in #19696
  • fix: restored main's lint and type-check job by @will-bogusz in #19699
  • fix(utils): skipped markdown delimiters inside code spans, html and links by @roboomp in #19671
  • fix(commit): stopped drafts keeping per-line attribution of unrecorded files by @roboomp in #19685
  • fix(catalog): sent tokentype header with kiro api keys by @roboomp in #19691
  • fix(coding-agent): retained memory on yielded pauses and serialized retains by @roboomp in #19692

Full Changelog: v18.22.2...v19.0.0

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

NewReleases is sending notifications on new releases.