pi-mono/packages/coding-agent/docs
Mario Zechner 9f9277ccdd refactor(coding-agent): replace AgentSessionRuntimeHost with closure-based AgentSessionRuntime
- Replace AgentSessionRuntimeHost and bootstrap abstractions with AgentSessionRuntime
- Runtime creation is now closure-based via CreateAgentSessionRuntimeFactory
- Factory closes over process-global fixed inputs, recreates cwd-bound services per effective cwd
- Session config (model, thinking, tools, scoped models) re-resolved per target cwd
- CLI resource paths resolved once at startup as absolute paths
- Swap lifecycle: teardown old, create next, apply next (hard fail on creation error)
- Unified diagnostics model (info/warning/error) for args, services, session resolution, resources
- No logging or process exits inside creation/parsing logic
- Removed session_directory support
- Removed session_switch and session_fork extension events (use session_start with reason)
- Moved package/config CLI to package-manager-cli.ts
- Fixed theme init for --resume session picker
- Fixed flaky reftable footer test (content-based polling)
- Fixed silent drop of unknown single-dash CLI flags
- Added error diagnostics for missing explicit CLI resource paths
- Updated SDK docs, examples, plans, exports, tests, changelog

fixes #2753
2026-04-03 20:14:12 +02:00
..
images Add pi.dev donation attribution 2026-02-03 23:00:40 +01:00
compaction.md docs(coding-agent): clarify repeated compaction boundary behavior (#2662) 2026-03-29 17:03:56 +02:00
custom-provider.md fix(ai): add qwen-chat-template compat mode closes #2020 2026-03-14 05:20:27 +01:00
development.md chore: make pi-test.sh runnable from any directory 2026-03-26 15:43:42 +01:00
extensions.md refactor(coding-agent): replace AgentSessionRuntimeHost with closure-based AgentSessionRuntime 2026-04-03 20:14:12 +02:00
json.md fix(coding-agent): restore extension input source semantics 2026-03-29 19:28:04 +02:00
keybindings.md feat(coding-agent): add label timestamps to the session tree (#2691) 2026-03-30 15:56:37 +02:00
models.md fix(coding-agent): resolve models.json auth per request closes #1835 2026-03-27 00:47:40 +01:00
packages.md fix(coding-agent): support configurable npm wrapper command closes #2072 2026-03-14 04:38:01 +01:00
prompt-templates.md docs(coding-agent): clarify how to toggle settings and invoke templates 2026-01-25 20:56:24 +01:00
providers.md fix(ai): support prompt caching for Bedrock application inference profiles (#2346) 2026-03-18 11:21:10 +01:00
rpc.md fix(coding-agent): restore extension input source semantics 2026-03-29 19:28:04 +02:00
sdk.md refactor(coding-agent): replace AgentSessionRuntimeHost with closure-based AgentSessionRuntime 2026-04-03 20:14:12 +02:00
session.md docs(coding-agent): improve README structure and update session/compaction docs 2026-01-26 01:25:15 +01:00
settings.md refactor(coding-agent): replace AgentSessionRuntimeHost with closure-based AgentSessionRuntime 2026-04-03 20:14:12 +02:00
shell-aliases.md docs(coding-agent): add windows.md and shell-aliases.md 2026-01-25 22:12:03 +01:00
skills.md fix(coding-agent): tighten skill discovery and edit diffs closes #2603 2026-03-27 03:48:28 +01:00
terminal-setup.md docs: document xfce4-terminal and terminator keyboard protocol limitations (#2166) 2026-03-15 18:54:18 +01:00
termux.md docs(coding-agent): add Termux setup guide and changelog audit 2026-02-02 00:09:17 +01:00
themes.md docs(coding-agent): fix token count in themes.md, rewrite skills.md 2026-01-25 20:48:47 +01:00
tmux.md fix(tui,coding-agent): handle tmux xterm extended keys and warn on tmux setup fixes #1872 2026-03-07 23:01:48 +01:00
tree.md refactor(coding-agent): add runtime host for session switching closes #2024 2026-03-31 13:49:57 +02:00
tui.md fix(coding-agent): built-in tools work like extension tools 2026-03-22 04:20:38 +01:00
windows.md docs(coding-agent): add windows.md and shell-aliases.md 2026-01-25 22:12:03 +01:00