Release notes
Oh My Pi v19.4.3
@oh-my-pi/pi-ai
Added
- Capture
output_tokens_details.thinking_tokens(andreasoning_tokens) from Anthropic-compatible usage payloads such as MiniMax intousage.reasoningTokens, and omittools/tool_choicefortoolChoice: "none"on Anthropic endpoints that declaresupportsNoneToolChoice: false(#21592 by @eggpeat).
Changed
- Anthropic subscription (OAuth) requests now match Claude Code 2.1.336: its version, beta list and order, per-request attribution headers, prompt and turn fields in the billing header,
diagnostics, andmetadata.user_idkey order. The usage probe sends only the OAuth beta, as Claude Code does.
Fixed
- Preserve
clear_at: "next_user_message"on string-content Anthropic developer turns combined with effort or tool-change controls by splitting the turn-scoped text into its own system message (#21592 by @eggpeat). - Anthropic subscription replies that the server pauses (output limit, time limit, or
pause_turn) and marks resumable now continue in the same message instead of stopping. thinkingProgressUpdatesstream option: on Claude models that write progress updates between tool calls, show those instead of thinking summaries.anthropicCacheKeepalivestream option: keeps a Claude subscription session's 1-hour prompt cache warm while the session is active, where Anthropic offers it.- The Anthropic connection warm-up now probes
/api/hellolike Claude Code instead of the API root, so warm-ups no longer log acowork transport rejected404.
@oh-my-pi/pi-catalog
Added
- Added
MiniMax-M4acrossminimax,minimax-cn,minimax-code, andminimax-code-cnwith official pricing ($0.80 input, $3.10 output, $0.05 cache read; China PAYG equivalent onminimax-cnandminimax-code-cn), 1M context window, 262,144-token output cap, native image input,low–maxadaptive thinking effort (defaulting tomax), and MiniMax tokenizer support (#21592 by @eggpeat). - Added
MINIMAX_CN_API_KEYenvironment-key resolution, default model (MiniMax-M4),api.minimax.cnofficial endpoint host, and auth policy forminimax-cn(#21592 by @eggpeat).
Changed
- Set
MiniMax-M4as the default model forminimax,minimax-cn,minimax-code, andminimax-code-cn, and updated Token Plan key validation probes fromMiniMax-M3toMiniMax-M3.1-Flash(#21592 by @eggpeat).
Fixed
- Enabled the semantic thinking-loop guard across MiniMax's own endpoints and tightened MiniMax Anthropic endpoint handling (
supports-context-management #false,supports-forced-tool-choice #false,supports-none-tool-choice #falseomittingtools/tool_choicewhen opting out, 10 MB per-image cap, 200-image official-endpoint budget, and 120 MB inline-image / 128 MB request-body clamp) (#21592 by @eggpeat).
@oh-my-pi/pi-coding-agent
Added
- Added the
compat.supportsNoneToolChoiceboolean option to themodels.ymlschema for Anthropic-compatible endpoints that ignoretool_choice: { type: "none" }(#21592 by @eggpeat). - "Progress updates instead of summaries" setting (Model → Thinking): Claude Fable 5, Mythos 5.1+, Opus 5.5 and Sonnet 5.5 show short notes between tool calls in place of thinking summaries.
- "Anthropic Cache Keepalive" setting (Model → Retry & Fallback): keeps a Claude subscription session's prompt cache warm while you are active, where Anthropic offers it.
- Added
tools.approvalKeys: strictso approval prompts ignore Enter and the arrow keys and answer only to a click, the approve key (Ctrl+Enter) or Esc (#21419) - Added
agent://peersdetails (cwd, session file and ID, last activity) andagent://peers?json(#21567) - Added
--agent-name <name>to set the agent name that ruleagentsscoping matches in--mode rpc/-psessions (#21415) - Added a per-pool
freshAgentsoption to evalworkpool()(Pythonfresh_agents) that overrideseval.workpool.freshAgents(#16699) - Added
eval.envPassthrough.namesandeval.envPassthrough.prefixesto pass extra environment variables to Python eval kernels; provider API keys stay blocked (#14960) - Added an
injectoption to the RPCbtwcommand; the completedbtw_recordframe carries the parsed<inject>prompt (#21389) - Added
/session unpinto drop an account pinned with/session pin(#21368) - Added opt-in
input.confirmClear(off/double/confirm) so Ctrl+C asks before clearing a non-empty prompt (#21547) - Added opt-in
input.confirmInterruptso Esc asks before stopping a running main-agent turn (#21229) - Added a
platformsfield to MCP server entries; servers for other operating systems are skipped and listed under "Other platforms" in/mcp list(#20909) - Added
--only-mcp <names>andmcp.allowedServersto limit a session to named MCP servers (#19573) - Added
lsp.projectConfig,lsp.localBinariesandlsp.workspaceDiagnostics(user config only) to stop a project from supplying LSP config, server binaries, or workspace diagnostic commands (#18204) - Added
task.maxEffortByModelto cap subagent thinking effort per model, including retry fallbacks (#16728) - The AutoQA consent prompt now shows the report it would send before you allow sharing (#17217)
- Added agent frontmatter
memory: falseto run a subagent without memory recall, memory tools, or auto-learn (#19785) - Added
task.peerMessaging; set it tofalseto stop subagents messaging peers and the main agent (#20963) - Added
live.sleepPrevention(off/idle/display) to keep the machine awake for a connected/livecall (#21221) - Added
tui.titlePrefixto put a marker (e.g. a per-profile emoji) in front of the live terminal title (#20839) - Added
launch.ownerNotifications; set it tofalseso bash services stay inproc://
…