github can1357/oh-my-pi v19.4.3

one hour ago

@oh-my-pi/pi-ai

Added

  • Capture output_tokens_details.thinking_tokens (and reasoning_tokens) from Anthropic-compatible usage payloads such as MiniMax into usage.reasoningTokens, and omit tools/tool_choice for toolChoice: "none" on Anthropic endpoints that declare supportsNoneToolChoice: 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, and metadata.user_id key 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.
  • thinkingProgressUpdates stream option: on Claude models that write progress updates between tool calls, show those instead of thinking summaries.
  • anthropicCacheKeepalive stream 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/hello like Claude Code instead of the API root, so warm-ups no longer log a cowork transport rejected 404.

@oh-my-pi/pi-catalog

Added

  • Added MiniMax-M4 across minimax, minimax-cn, minimax-code, and minimax-code-cn with official pricing ($0.80 input, $3.10 output, $0.05 cache read; China PAYG equivalent on minimax-cn and minimax-code-cn), 1M context window, 262,144-token output cap, native image input, low–max adaptive thinking effort (defaulting to max), and MiniMax tokenizer support (#21592 by @eggpeat).
  • Added MINIMAX_CN_API_KEY environment-key resolution, default model (MiniMax-M4), api.minimax.cn official endpoint host, and auth policy for minimax-cn (#21592 by @eggpeat).

Changed

  • Set MiniMax-M4 as the default model for minimax, minimax-cn, minimax-code, and minimax-code-cn, and updated Token Plan key validation probes from MiniMax-M3 to MiniMax-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 #false omitting tools/tool_choice when 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.supportsNoneToolChoice boolean option to the models.yml schema for Anthropic-compatible endpoints that ignore tool_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: strict so approval prompts ignore Enter and the arrow keys and answer only to a click, the approve key (Ctrl+Enter) or Esc (#21419)
  • Added agent://peers details (cwd, session file and ID, last activity) and agent://peers?json (#21567)
  • Added --agent-name <name> to set the agent name that rule agents scoping matches in --mode rpc / -p sessions (#21415)
  • Added a per-pool freshAgents option to eval workpool() (Python fresh_agents) that overrides eval.workpool.freshAgents (#16699)
  • Added eval.envPassthrough.names and eval.envPassthrough.prefixes to pass extra environment variables to Python eval kernels; provider API keys stay blocked (#14960)
  • Added an inject option to the RPC btw command; the completed btw_record frame carries the parsed <inject> prompt (#21389)
  • Added /session unpin to 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.confirmInterrupt so Esc asks before stopping a running main-agent turn (#21229)
  • Added a platforms field to MCP server entries; servers for other operating systems are skipped and listed under "Other platforms" in /mcp list (#20909)
  • Added --only-mcp <names> and mcp.allowedServers to limit a session to named MCP servers (#19573)
  • Added lsp.projectConfig, lsp.localBinaries and lsp.workspaceDiagnostics (user config only) to stop a project from supplying LSP config, server binaries, or workspace diagnostic commands (#18204)
  • Added task.maxEffortByModel to 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: false to run a subagent without memory recall, memory tools, or auto-learn (#19785)
  • Added task.peerMessaging; set it to false to stop subagents messaging peers and the main agent (#20963)
  • Added live.sleepPrevention (off/idle/display) to keep the machine awake for a connected /live call (#21221)
  • Added tui.titlePrefix to put a marker (e.g. a per-profile emoji) in front of the live terminal title (#20839)
  • Added launch.ownerNotifications; set it to false so bash services stay in proc:// without sending exit or notify events to a session (#21015)
  • Added mcp.acpServers to load named on-disk MCP servers into ACP sessions alongside the host's mcpServers (#16783)
  • Extensions can hide skills from the <skills> listing with ctx.hideSkill(name) / ctx.unhideSkill(name) and read ctx.skills; hidden skills stay loadable (#21279)
  • Extensions can read the composer's Vim mode, pending command and Visual selection through ctx.ui.composer.vimState() and onVimChange() (#20861)
  • Extensions can answer tool approvals on the user's behalf, for example from another device; the first answer wins and the terminal dialog closes with a notice (#21356 by @Rinai-R)

Fixed

  • On Windows the bash tool resolves paths the way Git Bash does: test -x, ls, stat and running dir/java find dir/java.exe, so Gradle, gradlew and Maven accept JAVA_HOME; /usr/bin, /bin and /etc reach Git's install, so /usr/bin/env and #!/usr/bin/env scripts run; and /tmp is the temp directory in shell builtins as in the utilities (#18937)
  • Fixed tui.autoGraph chart category names running into the bars, and bold group names into their members, when the chart sets in DejaVu Sans (#16623)
  • Plan Review's a annotates the plan line the cursor is on, so after End it reaches the plan's final lines and every line of a plan taller than the screen can be annotated (#21394, #21496 by @JamieJ5926)
  • /login shows the sign-in link under the dialog box without borders, so selecting it in the terminal copies only the URL (#21550)
  • Resumed sessions reuse the memory block from their first request, so a lesson learned in another session no longer rewrites the prompt cache (#15704, #21557 by @JamieJ5926)
  • Fixed subagents in the parent's working directory editing the wrong checkout: they are told where relative paths resolve and to use absolute paths for another checkout (#13370)
  • Fixed attached sessions launching redundant daemons during an in-place daemon upgrade or after a daemon exit (#21595)
  • Fixed browser tab.type() refusing a field whose focus handler opens a picker with its own input; the keys now go to the picker's input, as a user's would
  • Fixed relay tab.waitForDownload() returning a download that finished before the wait without letting the site start more downloads, so Chrome's "download multiple files" prompt could still appear
  • Fixed an ACP client disconnecting right after session/new causing an unhandled error when omp sent the session's first updates
  • Fixed /fork pane and /fork tab in Herdr desktop app terminals reporting that no multiplexer was detected; they now open the fork as a pane of the current tab or a new tab of the current space (#21387)
  • Fixed thinking, replies and tool-call previews arriving only once each block finished while secret redaction is on; they stream again, holding back only text that may still be part of a secret
  • Fixed the raw SSE debug view staying empty while secret redaction is on; provider frames are now shown with secrets masked
  • Fixed Bash and eval file-change previews freezing the terminal on large edits; changes that exceed the preview limit are still listed
  • Fixed terminal pauses when loading Git tags in repositories with many tags
  • Fixed todo "Task not found" errors to explain tasks are named by exact text and list open task labels (#20822)
  • Fixed omp crashing on startup on Windows when a junction-linked plugin is refused (e.g. inside Tern or over SSH); the plugin is now skipped with a warning (#14315)
  • Fixed Cursor sessions growing by megabytes per turn: server records are stored once in the session blob store (#15816)
  • Fixed the RPC backpressure spool growing to tens of GB by merging streaming deltas while the host lags (#16139)
  • Fixed browsers launched through app.path running forever after their tabs closed without kill; they now end with the session that opened them (#15953)
  • Fixed /usage showing pooled quota as available when an account's exhausted longer window blocks its shorter ones (#20085)
  • Stopped warning when default local model servers aren't running. Sessions share a one-minute retry window; manual refresh still probes immediately.
  • Fixed glob returning nothing for names with spaces or literal braces, and explained when a path was split into several entries (#12179)
  • Fixed block edits anchored at the first /// or /** */ doc comment of a C#, C++, TypeScript or Java declaration being refused as a single-line block (#16360)
  • Fixed read-only task subagents arming prewalk and getting nudges they cannot act on (#16385)
  • Fixed the daemon client respawning a daemon on every dial when it cannot bind its endpoint, writing one fatal log per attempt; start failures now back off and log once (#19628)
  • Fixed lsp diagnostics reporting OK while a language server is still indexing; lsp status shows the open progress (#17716)
  • Fixed the shared LSP daemon not saying why one server split into several identities; lsp status names the differing inputs (#21540)
  • Fixed terminal pauses when preparing shell command visualizations and replay
  • Fixed bash results storing the whole shell trace in session files; the saved trace keeps only its newest replay records (#21490)
  • Fixed saved bash traces keeping expanded arguments and assignment values (#18709)
  • Fixed bash runs silently losing their output tail when the native output stream stopped early; the result now carries an [output incomplete …] notice (#18250)
  • Fixed lsp reporting "no pyproject.toml … in the file's directory or its parents" for files in a project outside the session directory; a root marker above the file now starts that server from PATH (never from the other project's .venv or node_modules) (#21604)
  • In a Tern pane, Stencil services (Spotlight, omp stream, omp clip, omp skill) use the Stencil account Tern is signed in to when omp has no Stencil /login or STENCIL_API_KEY; Tern keeps the refresh token and hands omp short-lived access tokens.
  • Tool approvals answered in an ACP client are now saved in the session file like terminal approvals, so omp stats and session observers can see them and tell when a session is waiting on the client's permission dialog
  • Pasting a file name or readable slug such as PrayStation_POEM_6_DOME_v2.mp4 no longer triggers "Secret detected (High-entropy token)" (#21586)
  • A project's AGENTS.md or CLAUDE.md now loads when the repository root (or the working directory, outside a repository) has a name starting with ., such as a dotfiles repository cloned to ~/.dotfiles (#21590)

@oh-my-pi/pi-natives

Breaking Changes

  • Removed TtyWriter; nothing used it since the TUI writes terminal output through its own sink

Added

  • Added ShellRunResult.outputIncomplete, set when the output callback stopped receiving output before the command's output ended (#18250)

Fixed

  • Fixed glob patterns treating a comma-less {name} as a brace group instead of literal braces (#12179)
  • Fixed Windows desktop input refusals for targets with an unreadable integrity token to name the failing call and OS error and suggest an accessibility action (#21393)

@oh-my-pi/pi-tui

Fixed

  • Fixed resizes in Herdr desktop app terminals erasing their scrollback and replaying the whole transcript; they now repaint in place (#21099, #21569 by @JamieJ5926)
  • Fixed streamed thinking, tool output and edits sometimes never appearing in Tern: when Tern loses an update, the transcript is sent again in place
  • Fixed output from other programs writing to the same terminal corrupting omp's escape sequences mid-write: large writes now end only between sequences
  • Fixed stray program output (a library's console.log, native diagnostics, inherited child processes) appearing on screen or corrupting the display while omp runs; it now goes to the omp log until omp hands the terminal back
  • Fixed the mouse wheel not scrolling full-screen pages without mouse reporting (/changelog, /tools and other long reports) in iTerm2, which only sends wheel arrow keys on the alternate screen once the app enables alternate scroll (DEC 1007)

@oh-my-pi/pi-utils

Breaking Changes

  • Replaced the stderr guard (suppressTerminalStderr, restoreTerminalStderr, setStderrRedirectTarget, isTerminalStderrSuppressed) with the terminal output guard (guardTerminalOutput, releaseTerminalOutput, setTerminalOutputRedirectTarget, isTerminalOutputGuarded, terminalOutputFd), which can also keep stdout off the terminal

What's Changed

  • feat(extensions): let extensions answer tool approvals by @Rinai-R in #21356
  • fix: sweep of 29 open issues across coding-agent, natives and tooling by @H4vC in #21580
  • feat(catalog,ai): add MiniMax-M4 and tighten MiniMax Anthropic handling by @eggpeat in #21592
  • fix: repaint in place and place /fork pane|tab in Herdr desktop terminals by @JamieJ5926 in #21569
  • fix: sweep of 11 open issues (settings, subagents, daemon, extensions) by @H4vC in #21609
  • fix(coding-agent): sized chart labels for dejavu sans advances by @roboomp in #21622
  • fix(coding-agent): stopped flagging pasted file names as secrets by @roboomp in #21587
  • fix(coding-agent): loaded context files at a dot-named project root by @roboomp in #21593
  • fix(lsp): found root markers for files outside the session cwd by @roboomp in #21605
  • fix: merge batch of p2 fixes (secrets, lsp, context files, plan review, login, memory, charts) by @H4vC in #21624
  • fix(ci): restore main's checks and the native/unit tests PR runners fail by @H4vC in #21618
  • style(ast): rustfmt is_doc_comment by @H4vC in #21645

Full Changelog: v19.4.2...v19.4.3

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

NewReleases is sending notifications on new releases.