pi-mono/packages/coding-agent/docs
Armin Ronacher 6f1072cc08 feat(coding-agent): shrink codemode prompt and guide scripts back from errors
Move the codemode script reference, including the models API, into
docs/codemode.md and keep only one line per global in the tool
description. Declared tools get a one-line note on how scripts call them,
and the codemode system prompt guidance and MCP server section are shorter.
With the default tools a GPT-5.6 request drops from about 5,300 to 3,300
tokens.

Errors now point the way back: unknown tools and models members name close
matches, models.classify() and models.generateImages() validate their
arguments, unknown or mistyped models point to getAvailableOfType(),
store() overflow explains the store, and unshown generated images get a note.
2026-10-01 18:27:23 +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): shrink codemode prompt and guide scripts back from errors 2026-10-01 18:27:23 +02:00
codemode.md feat(coding-agent): shrink codemode prompt and guide scripts back from errors 2026-10-01 18:27:23 +02:00
compaction.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
configuration.md feat(coding-agent): codemode and MCP 2026-09-29 09:12:50 +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): shrink codemode prompt and guide scripts back from errors 2026-10-01 18:27:23 +02:00
environment-variables.md docs(coding-agent): add Radius to providers page, rename provider docs sections 2026-10-01 17:06:00 +02:00
extensions.md feat(coding-agent): stop waiting for MCP servers on the first prompt 2026-09-30 17:21:05 +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): add Radius to providers page, rename provider docs sections 2026-10-01 17:06:00 +02:00
json.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
keybindings.md fix(coding-agent,tui): paste Finder file paths instead of icons (#10136) 2026-09-28 20:59:29 +01:00
llama-cpp.md feat(coding-agent): support +name/-name in defaultTools 2026-09-29 14:02:57 +02:00
mcp.md fix(coding-agent): store MCP OAuth credentials per server name and URL 2026-10-01 11:20:59 +02:00
message-types.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
models.md feat(coding-agent): shrink codemode prompt and guide scripts back from errors 2026-10-01 18:27:23 +02:00
packages.md refactor(coding-agent): resolve built-in extensions as builtin:<name> paths (#10159) 2026-09-29 10:51:01 +02:00
prompt-templates.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
providers.md docs(coding-agent): add Radius to providers page, rename provider docs sections 2026-10-01 17:06:00 +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 docs(coding-agent): add Radius to providers page, rename provider docs sections 2026-10-01 17:06:00 +02:00
security.md feat(coding-agent): codemode and MCP 2026-09-29 09:12:50 +02:00
session-format.md feat(coding-agent): Virtual models (#10035) 2026-09-28 23:30:45 +02:00
sessions.md docs(coding-agent): refresh documentation (#9898) 2026-09-22 16:48:19 +02:00
settings.md feat(coding-agent): shrink codemode prompt and guide scripts back from errors 2026-10-01 18:27:23 +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 feat(coding-agent): make fullscreen the default TUI mode 2026-10-01 17:26:35 +02:00
virtual-models.md feat(coding-agent): Virtual models (#10035) 2026-09-28 23:30:45 +02:00
windows.md feat(coding-agent): support +name/-name in defaultTools 2026-09-29 14:02:57 +02:00