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
durationfield 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 usagenow reports quota for the key that requests actually use. Before, it checked the stored login key even when amodels.ymlkey or--api-keyoverrode it (#16084).- When Claude retries after a
reasoning_extractionrefusal, 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-codexnow 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 genericx-session-idheader with the conversation ID. Custom providers that point atapi.x.aisendx-grok-conv-idonly if they setproviderType: xaiorcompat.promptCacheSessionHeader.
Added
promptCacheSessionHeaderandsessionHeader(KDLprompt-cache-session-headerandsession-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-flashandminimax/minimax-m3models, which returned 404 errors when selected. DeepSeek V4.1 Flash is available asdeepseek/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
/loginor the setup wizard re-discovers the provider's models and selects a default model when none is set, so the status line no longer showsno-model - Added
toolInterceptor.enabledandtoolInterceptor.rulesto catch matching tool calls before approval, using regex patterns and/orjudge-model questions, and redirect the agent with custom guidance (#19642 by @asuffield) - Added
hindsight.mentalModelMaxTokens(envHINDSIGHT_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.multiplexingsetting (envPI_SSH_MULTIPLEXING); turning it off uses ssh_config as written, without ControlMaster options (#17532) - Status line: the
fullandnerdpresets now include theusagesegment,showResetCredits: falsehides the saved-reset badge, and the model segment gainsshowProvider,displayandmaxLengthoptions (#9929, #12915, #20559 by @Xytronix) - GitHub tool: added
pr_updateto edit a PR's title, body, base, reviewers, assignees, labels, draft status and open/closed state.file_readlists directories and reads line ranges,search_codeshows the matched line, andpr_createsuggests theowner:branchform for fork branches (#20968 by @asuffield) - Added an opt-in
gitlabtool (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
rgrejects grep-style-rn/-nrwith an error explaining that-rmeans--replace editaccepts*** 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.ymloptionscompat.promptCacheSessionHeader/compat.sessionHeaderto set the session id header, andcompat.neutralizeDeepseekSpecialTokens.omp models --jsonnow reports compat overrides, withextraBodyvalues 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
…