github can1357/oh-my-pi v19.4.7

47 minutes ago

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

Added

  • Added support for a W3C TRACEPARENT environment variable: root telemetry spans now join the launching process's trace instead of starting a separate one (#18494 by @AlexShum22)

Fixed

  • Fixed OpenAI remote compaction missing the prompt cache: it now sends the same history and system prompt as a normal turn, including the date/working-directory note, no forced tool_choice, and replayed history cleaned the same way (#14923, #22025 by @H4vC)

@oh-my-pi/pi-ai

Fixed

  • Fixed Mistral's model_length finish reason surfacing as a provider error instead of a length stop (#18486 by @its-benjamin)
  • Fixed tool calls whose arguments were one complete JSON object followed by stray closing braces or brackets (e.g. {"a":1}}) being rejected as unparseable (#16644 by @Komzpa)
  • GitHub Copilot Chat Completions replies now record their server-reported AI credits, and a finished Gemini reply that arrives without its billing frame counts as unknown spend (#21875, #21944 by @Bensonluo)
  • Fixed a deterministic 5xx chat-template failure ("got multiple values for keyword argument 'reasoning_effort'") exhausting the whole retry budget; the request now falls back to top-level reasoning_effort on the first failure (#21672)
  • Fixed omitThinking not hiding thinking for Cursor models; Kimi K3 keeps its thinking because its history is rebuilt from it (#21999, #22002 by @Orbsynated)

@oh-my-pi/pi-catalog

Fixed

  • Fixed Claude models behind a LiteLLM proxy getting no prompt caching: requests now carry Anthropic cache_control breakpoints, which the proxy forwards (#19927 by @cassfij)

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

Added

  • Added completionPercent to running task jobs in ctx.getAsyncJobSnapshot(), so extensions can show a subagent's latest completion estimate (#15338 by @ff-zeno)
  • Added functions.<name>(…) as an alias of tool.<name>(…) in Python and JavaScript eval cells, the spelling OpenAI models write unprompted (#21212 by @aktanazat)
  • Added renderGuidedGoalInterview() (goals/guided-interview) so RPC and SDK hosts can start the /guided-goal interview without the TUI (#16073 by @oyty)
  • Added /cd as an alias of /move, so relocating the session reads like the shell command it mirrors (#18591 by @iacore).
  • Extensions can await ctx.getContextBreakdown() to read the session's per-category context usage, including free space, the auto-compaction buffer, and the snapcompact wire savings (#14208 by @listellm).
  • Added a repeatable --skill <path> flag (SDK skillPaths) that loads a skill file or directory outside the discovery roots, also under --no-skills; it replaces a discovered skill of the same name (#8766, #21563 by @JamieJ5926)
  • Added a skills allowlist to agent definitions: subagents receive only the parent skills whose names match its entries (exact names or globs); skills: [] passes none (#21665 by @alphastorm)

Changed

  • Exa web search with an API key now defaults to Exa's low-latency lite search with query-relevant highlights as snippets, instead of billed per-result summaries; set exa.searchMode: full for the previous summaries and synthesized answer (#21444 by @Xytronix)
  • Running subagent rows in wait and read proc:// now show an automatic retry in progress, such as retrying 7/10 in 45s: <provider error>, so a subagent that is only re-sending a failed request no longer reads as working (#19015 by @wolfiesch)

Fixed

  • Fixed ACP clients (such as Zed) listing an empty history entry for every new session that was never prompted; such sessions are now hidden from session/list and deleted on session/close (#22033)
  • Fixed closing the /btw, /omfg, cleanse or command-report panel leaving a blank gap above the composer until the screen was redrawn
  • Eval commit accepts allowEmpty: true (allow_empty=True in Python) to create a new commit with HEAD's tree when nothing is selected; other staged work stays staged (#21558 by @JamieJ5926, fixes #21463).
  • Fixed git worktree add against a bare repository failing with not a repository when run through the bash tool: omp worktree add now finds a bare repository the way git does (also when it sits inside a checkout) and gives its worktrees a plain checkout (#21995 by @Xytronix)
  • Python language servers such as pyright now see the project's installed packages: when the project has a .venv or venv, omp starts its language servers with that environment activated, instead of leaving pyright to report installed imports as unresolved unless the venv was activated before launching omp (#21077 by @XL-Lewis)
  • Resume refreshes typo matches when the full session listing arrives (#21700 by @jchanghong023)
  • Images you paste into a prompt now show under your sent message in terminals that draw images (Kitty, iTerm2, SIXEL), not only in Tern; terminal.showImages hides them (#9931, #19185 by @Skare69)
  • Fixed typing while /loop is active replacing the recurring loop prompt: typed input is now a one-off steer, /loop <prompt> replaces the prompt, and after Esc pauses the loop the next typed prompt resumes it (#7348, #21570 by @JamieJ5926)
  • Fixed /export splitting a quoted output path that contains spaces (/export "my report.html") into two arguments (#10785 by @oleg494)
  • Fixed legacy memory banks being omitted from recall when their WAL sidecar files are missing (#16694, #21986 by @holny)
  • Fixed functions exported with export -f not reaching bash 4.2 child shells (CentOS/RHEL 7): both the BASH_FUNC_f%% and BASH_FUNC_f() spellings are now exported and imported (#21402 by @jchanghong023).
  • Fixed @path imports in APPEND_SYSTEM.md and SYSTEM.md being inserted into the system prompt as literal text instead of the imported file contents; an --append-system-prompt file path expands them too, while literal prompt text is left as is (#17294 by @Abelo9996)
  • Fixed provider tool descriptions being stripped off the wire when inlineToolDescriptors is auto/on and a custom SYSTEM.md, SYSTEM_TEMPLATE.md, or systemPrompt callback omits {{toolInventory}} (#21939 by @y0usaf)
  • In RPC mode, a session change while a goal continuation turn's run waits on background work (for example a tree navigation) no longer starts a second continuation turn into that run. Before, the extra turn also left one continuation turn counted after the run ended, so the next turn nobody prompted did not restart the goal loop (#21789 by @sjawhar)
  • Fixed --model failing with Model "…" not found for a model an extension registers when its id has a colon that is not a thinking level, such as a gateway's auto:eea; it now resolves once extensions load, as an id without a colon does. An unknown id with a thinking suffix (id:high) still fails at once (#21963 by @rolandrabben-prog)
  • Fixed multi-second startup stalls when omp runs from a temp or cache directory with thousands of entries (#20049 by @arfoux).
  • Fixed /tree indenting an unbranched conversation as if it had branches when the only other branches hold entries the current filter hides (such as model-usage records)
  • Fixed memory growing with every tool call in a long session: tool cards removed from the transcript (compaction, session switch, fork, resume, a closed subagent view) are now released (#22013 by @H4vC)
  • Fixed finished bash runs staying in memory for the whole session through their transcript results (#22014 by @H4vC)
  • Fixed sessions that used the edit tool, subagents included, staying in memory after they ended; an edit that streamed its arguments but never ran is now cleaned up with its session (#22012 by @H4vC)
  • Fixed a batch task subagent that was started early while the call streamed, then dropped because the finished call changed, staying behind as a parked child with no output that never reported to its parent; it now ends as a killed agent (#22001)
  • Fixed subagent turns that stop after a tool result without answering or yielding being treated as successful or leaving their parent without a failure notice (#22001)
  • Fixed providers routed through an auth gateway (transport: pi-native) losing their gateway-listed models after a restart loaded them from the model cache (#21930)
  • Fixed yield answering only "expected object, received string" when data is a string of malformed JSON; the error now includes the parse failure and asks for the object or array itself (#21982 by @alphastorm)
  • Fixed raw read ranges of text ending in a newline reporting a line number past the returned lines (#21873)
  • Fixed the daemon staying on an old build after an upgrade when tool steps were open at session start: a newer session now keeps retrying the upgrade with backoff while its connection lives, and deferred upgrades are logged (#21943)
  • Fixed :raw reads whose ranges all start past the end of the file returning an empty result instead of the beyond-end notice (#21983 by @alphastorm)
  • Fixed omp worktree clear failing for unprivileged users on retained overlayfs workspaces whose mount was already gone (#21749)
  • Fixed the Nix package keeping an unused second copy of the native addon (146 MiB on x86_64-linux) in its runtime closure (#22000 by @shgew)
  • Fixed auto-compaction in a session that used eval rewriting the whole session file to correct the compaction's token count, which froze the UI for seconds on large sessions; the divider's after-count, /compact included, now counts the eval state note from the start (#21926 by @will-bogusz)

@oh-my-pi/pi-natives

Fixed

  • Fixed a closed or applied EditSession keeping its URL resolver callback alive, which held every session that had used the edit tool in memory until exit (#22012 by @H4vC)

@oh-my-pi/pi-tui

Fixed

  • Fixed old terminal frames, with the transcript rows they rendered, staying in memory after later frames replaced them (#22011 by @H4vC)
  • Fixed omp falling back to 16 colors in a Windows console started outside a Windows Terminal shell (Win+R, shortcuts), which drew thinking text in the same color as the answer
  • Fixed Tern native resume showing a blank transcript when rendered text contained a lone UTF-16 surrogate; such characters are now sent as U+FFFD (#21891)

What's Changed

  • feat(task): let agent definitions limit the skills their subagents see by @alphastorm in #21665
  • fix(yield): say when string data is not valid JSON by @alphastorm in #21982
  • fix(read): explain raw ranges that start past the end of the file by @alphastorm in #21983
  • fix(nix): dropped the native addon's own store path from the omp closure by @shgew in #22000
  • fix(coding-agent): stop rewriting the session file to correct a compaction token count by @will-bogusz in #21926
  • fix(tui): released a disposed computation's closure so old frames are not kept alive by @H4vC in #22011
  • fix(natives): released the edit session's URL resolver once the session closed or applied by @H4vC in #22012
  • fix(coding-agent): disposed tool cards with their transcript blocks by @H4vC in #22013
  • fix(coding-agent): held a bash result's native run weakly from the transcript by @H4vC in #22014
  • fix(tui): replayed history when a dismissed dock panel would leave blank rows by @H4vC in #22027
  • fix(agent): send the live provider context in OpenAI remote compaction by @H4vC in #22025
  • feat(coding-agent): add repeatable --skill flag by @JamieJ5926 in #21563
  • fix(coding-agent): keep the captured loop prompt when input steers a loop (#7348) by @JamieJ5926 in #21570
  • fix(mnemopi): recall legacy banks whose WAL sidecars are missing by @holny in #21986
  • feat(extensions): expose context breakdown to extensions by @listellm in #14208
  • feat(coding-agent): expose subagent completion estimate in the async job snapshot by @ff-zeno in #15338
  • feat(coding-agent): export the guided-goal interview kickoff for RPC/SDK hosts by @oyty in #16073
  • fix(ai): accept one complete tool call JSON object followed by stray closing braces by @Komzpa in #16644
  • fix(coding-agent): expand @path imports in APPEND_SYSTEM.md and SYSTEM.md by @Abelo9996 in #17294
  • feat(robomp): skip PR review for configured bot authors by @djdembeck in #17871
  • fix(robomp): make agent event history limit configurable by @djdembeck in #18169
  • fix(mistral): map model_length stop reason and align mistral-large-4 reasoning ladder by @its-benjamin in #18486
  • feat(agent): parent root telemetry spans to the TRACEPARENT env context by @AlexShum22 in #18494
  • feat(slash): add /cd as an alias of /move by @iacore in #18591
  • feat(coding-agent): show a subagent's automatic retry in running task rows by @wolfiesch in #19015
  • feat(coding-agent): drew sent prompts' attached images in the terminal by @Skare69 in #19185
  • perf(coding-agent): cap direct-child repo scan in scratch dirs by @arfoux in #20049
  • fix(coding-agent): started language servers with the project's Python venv activated by @XL-Lewis in #21077
  • fix(eval): accept functions. as an alias for tool. by @aktanazat in #21212
  • fix(shell): export functions in both BASH_FUNC spellings by @jchanghong023 in #21402
  • feat(web-search): use Exa lite search with highlights as snippets by @Xytronix in #21444
  • fix(coding-agent): allow an intentional empty commit through the eval commit API by @JamieJ5926 in #21558
  • test(shell): wrote each program a test runs from a child sh by @sjawhar in #21577
  • fix(coding-agent): refresh session fuzzy matches when the full listing arrives by @jchanghong023 in #21700
  • fix(coding-agent): admitted no RPC goal continuation turn into a run paused on background work by @sjawhar in #21789
  • fix(coding-agent): keep wire tool descriptions when custom prompt omits tool inventory by @y0usaf in #21939
  • fix(coding-agent): defer --model ids with a colon that is not a thinking level by @rolandrabben-prog in #21963
  • fix(coding-agent): add worktrees from bare repositories through git by @Xytronix in #21995
  • fix(coding-agent): support quoted paths with spaces in /export argument parsing by @oleg494 in #10785
  • fix(ai,catalog): read the Copilot AI-credit frame on Chat Completions by @Bensonluo in #21944
  • fix(ai): honor omitThinking for Cursor models by @Orbsynated in #22002
  • fix(task): killed subagents of discarded speculative launches by @roboomp in #22005
  • fix(coding-agent): drop unprompted ACP session stubs from history by @H4vC in #22033

New Contributors

Full Changelog: v19.4.6...v19.4.7

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

NewReleases is sending notifications on new releases.