pi-mono/packages/coding-agent/docs
Armin Ronacher 42933fdb50 feat(ai,agent,coding-agent): emit events for nested tool calls and record them
Calls a tool makes through executeTool (for example from exec scripts) now emit tool_execution_start/update/end with parentToolCallId, for extensions and telemetry. Interactive mode keeps showing them inside the parent's row, and Agent.pendingToolCalls only tracks model-issued calls.

The model-issued call's tool result message carries nestedCalls, a bounded record like Codex's ExecutedToolCalls: name, arguments, status, duration, and error, never results. Arguments over 8 KiB per call or 32 KiB in total are omitted, at most 256 calls are kept, and complete is false when anything was lost or still running. Compaction and branch summaries count files touched by nested read/edit/write calls, and HTML exports list nested calls.
2026-09-27 19:14:50 +02:00
..
images docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
cli-integration.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
cli.md feat(coding-agent): add codemode.mode to present tools like Codex's tool modes 2026-09-27 19:07:25 +02:00
compaction.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
configuration.md feat(coding-agent): connect MCP servers and expose them through codemode 2026-09-25 15:02:51 +02:00
containerization.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
custom-provider.md feat(ai,coding-agent): unify image and classifier model infrastructure (#9948) 2026-09-23 17:41:19 +02:00
docs.json feat(coding-agent): connect MCP servers and expose them through codemode 2026-09-25 15:02:51 +02:00
environment-variables.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
extensions.md feat(ai,agent,coding-agent): emit events for nested tool calls and record them 2026-09-27 19:14:50 +02:00
how-pi-works.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
index.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
json.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
keybindings.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
llama-cpp.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
mcp.md feat(coding-agent): add tool discovery for exec and a tool_search tool 2026-09-27 18:48:47 +02:00
message-types.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
models.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
packages.md fix(coding-agent): prevent duplicate extension runtimes (closes #9863) 2026-09-23 15:33:56 +02:00
prompt-templates.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
providers.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
quickstart.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
rpc-commands.md feat(coding-agent): report prompt disposition in RPC responses 2026-09-25 14:53:11 +02:00
rpc-extension-ui.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
rpc.md feat(coding-agent): report prompt disposition in RPC responses 2026-09-25 14:53:11 +02:00
sdk.md feat(coding-agent): report prompt disposition in RPC responses 2026-09-25 14:53:11 +02:00
security.md feat(coding-agent): connect MCP servers and expose them through codemode 2026-09-25 15:02:51 +02:00
session-format.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
sessions.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
settings.md feat(coding-agent): add codemode.mode to present tools like Codex's tool modes 2026-09-27 19:07:25 +02:00
shell-aliases.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
skills.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
slash-commands.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
terminal-setup.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
termux.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
themes.md feat(coding-agent,tui): System theme (#10067) 2026-09-26 13:33:47 +02:00
tmux.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
tui.md feat(tui,coding-agent): add color values and theme styling (#8398) 2026-09-24 14:42:22 +02:00
usage.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
windows.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00