@oh-my-pi/pi-agent-core
Added
- Added support for a W3C
TRACEPARENTenvironment 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_lengthfinish 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_efforton the first failure (#21672) - Fixed
omitThinkingnot 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_controlbreakpoints, which the proxy forwards (#19927 by @cassfij)
@oh-my-pi/pi-coding-agent
Added
- Added
completionPercentto running task jobs inctx.getAsyncJobSnapshot(), so extensions can show a subagent's latest completion estimate (#15338 by @ff-zeno) - Added
functions.<name>(…)as an alias oftool.<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-goalinterview without the TUI (#16073 by @oyty) - Added
/cdas 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 (SDKskillPaths) 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
skillsallowlist 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
litesearch with query-relevant highlights as snippets, instead of billed per-result summaries; setexa.searchMode: fullfor the previous summaries and synthesized answer (#21444 by @Xytronix) - Running subagent rows in
waitandread proc://now show an automatic retry in progress, such asretrying 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/listand deleted onsession/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
commitacceptsallowEmpty: true(allow_empty=Truein 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 addagainst a bare repository failing withnot a repositorywhen run through the bash tool:omp worktree addnow 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
.venvorvenv, 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.showImageshides them (#9931, #19185 by @Skare69) - Fixed typing while
/loopis 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
/exportsplitting 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 -fnot reaching bash 4.2 child shells (CentOS/RHEL 7): both theBASH_FUNC_f%%andBASH_FUNC_f()spellings are now exported and imported (#21402 by @jchanghong023). - Fixed
@pathimports inAPPEND_SYSTEM.mdandSYSTEM.mdbeing inserted into the system prompt as literal text instead of the imported file contents; an--append-system-promptfile 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
inlineToolDescriptorsisauto/onand a customSYSTEM.md,SYSTEM_TEMPLATE.md, orsystemPromptcallback 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
--modelfailing withModel "…" not foundfor a model an extension registers when its id has a colon that is not a thinking level, such as a gateway'sauto: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
/treeindenting 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
tasksubagent that was started early while the call streamed, then dropped because the finished call changed, staying behind as aparkedchild 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
yieldanswering only "expected object, received string" whendatais 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
readranges 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
:rawreads 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 clearfailing 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
evalrewriting 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,/compactincluded, now counts the eval state note from the start (#21926 by @will-bogusz)
@oh-my-pi/pi-natives
Fixed
- Fixed a closed or applied
EditSessionkeeping 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
- @ff-zeno made their first contribution in #15338
- @Abelo9996 made their first contribution in #17294
- @its-benjamin made their first contribution in #18486
- @AlexShum22 made their first contribution in #18494
- @Skare69 made their first contribution in #19185
- @y0usaf made their first contribution in #21939
- @rolandrabben-prog made their first contribution in #21963
- @Orbsynated made their first contribution in #22002
Full Changelog: v19.4.6...v19.4.7