Release · Oh My Pi · can1357

Oh My Pi v19.4.1

What's new in Oh My Pi v19.4.1, released Dec 1, 2026 (). Newer: v19.4.4 (Dec 4, 2026)

Release notes

Oh My Pi v19.4.1

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

Fixed
  • Fixed Codex remote compaction dropping earlier reasoning context for GPT-6.2 and missing the prompt cache. Compacted turns now keep both, the same as a normal turn (#20995, #21228 by @alphastorm).

@oh-my-pi/pi-ai

Added
  • Thinking blocks in streamed replies now include a duration field giving the model's thinking time in milliseconds. Saved replies keep this value.
Fixed
  • The auth-gateway now passes structured response_format (json_schema/json_object) through to Chat Completions upstreams. If an upstream can't honor it, the gateway returns a 400 error instead of silently returning free text (#20815).
  • omp usage now reports quota for the key that requests actually use. Before, it checked the stored login key even when a models.yml key or --api-key overrode it (#16084).
  • When Claude retries after a reasoning_extraction refusal, it no longer resends <think>…</think> reasoning that another model put at the start of its reply. GPT sometimes does this on the Codex endpoint (#21112 by @Mannan-Goyal).
  • GPT-6.2 on openai-codex now keeps its earlier reasoning and prompt cache on side requests and on turns sent in full after a reconnect. Side requests include subagent completion probes, /btw, and composer predictions (#20995, #21228 by @alphastorm).
  • Logging in again now clears a block on an account that its organization rejected (oauth_not_allowed_for_organization) or that hit an auth or account-policy error. A renewed account no longer has to wait out the seven-day block. If Anthropic still refuses the account, the next request blocks it again (#21258).

@oh-my-pi/pi-catalog

Breaking Changes
  • Session headers are no longer inferred from the provider base URL. Morph (api.morphllm.com) now gets the generic x-session-id header with the conversation ID. Custom providers that point at api.x.ai send x-grok-conv-id only if they set providerType: xai or compat.promptCacheSessionHeader.
Added
  • promptCacheSessionHeader and sessionHeader (KDL prompt-cache-session-header and session-header) now accept any header name.
Changed
  • Gemini 4 Neon is now the default model for Google, Google Vertex and Google AI Ultra.
Fixed
  • Databricks Claude serving endpoints (databricks-claude-*) are now recognized as Claude models and use the same model settings as Claude on other hosts (#21172).
  • Fixed Vercel AI Gateway model discovery returning no models when the configured base URL is empty or contains only whitespace. It now uses the default gateway URL in that case (#21125 by @JamieJ5926).
  • Fixed Devin SWE-2.1 session cost estimates showing $0. They now use Devin's published price of $0.50 input and $2.50 output per million tokens through January 30, 2027, and its list price after that (#21190 by @will-bogusz).
  • Removed Modular Cloud's retired deepseek/deepseek-v4.1-flash and minimax/minimax-m3 models, which returned 404 errors when selected. DeepSeek V4.1 Flash is available as deepseek/deepseek-v4.1-flash-1017 (#21193 by @tommyjtl).

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

Added
  • With task.crossInstance, typing in a session gives the omp instances it messaged in the last 10 minutes a fresh 20-message budget, so human-in-the-loop exchanges between sessions are no longer refused. RPC-mode sessions (--mode rpc) now join cross-instance messaging, and RPC client prompts also refresh the budget (#21241)
  • Transcript blocks for aborted replies now flag the interruption, including Esc interrupts
  • Signing in with /login or the setup wizard re-discovers the provider's models and selects a default model when none is set, so the status line no longer shows no-model
  • Added toolInterceptor.enabled and toolInterceptor.rules to catch matching tool calls before approval, using regex patterns and/or judge-model questions, and redirect the agent with custom guidance (#19642 by @asuffield)
  • Added hindsight.mentalModelMaxTokens (env HINDSIGHT_MENTAL_MODEL_MAX_TOKENS). The built-in seed budgets went up to 4096 tokens, so mental model refreshes no longer get cut off (#6300)
  • Added the ssh.multiplexing setting (env PI_SSH_MULTIPLEXING); turning it off uses ssh_config as written, without ControlMaster options (#17532)
  • Status line: the full and nerd presets now include the usage segment, showResetCredits: false hides the saved-reset badge, and the model segment gains showProvider, display and maxLength options (#9929, #12915, #20559 by @Xytronix)
  • GitHub tool: added pr_update to edit a PR's title, body, base, reviewers, assignees, labels, draft status and open/closed state. file_read lists directories and reads line ranges, search_code shows the matched line, and pr_create suggests the owner:branch form for fork branches (#20968 by @asuffield)
  • Added an opt-in gitlab tool (gitlab.enabled) for projects, files, issues, merge requests, discussions, search and CI pipelines/logs. mr:// URLs now also support MR listings and cached overviews (#20396 by @asuffield)
  • The shell's rg rejects grep-style -rn/-nr with an error explaining that -r means --replace
  • edit accepts *** Insert Before Block: and *** Insert After Block:
  • Bash cards show whether a call read files, wrote them or ran an outside program, and show a diff or the new content for each changed file
  • Added the models.yml options compat.promptCacheSessionHeader/compat.sessionHeader to set the session id header, and compat.neutralizeDeepseekSpecialTokens. omp models --json now reports compat overrides, with extraBody values redacted (#20832 by @dany-on-demand, #17092)
  • Added --preset <name> to start a session on a saved model preset (#20306 by @nick-maderight)
  • Credentials in agent.db

…