pi-mono/packages/coding-agent/src
Mario Zechner 99281e5913 feat(coding-agent): add ctx.getSystemPrompt() to extension context
Adds a method to access the effective system prompt (after any per-turn
extension modifications) from the extension context.

Implementation:
- Add systemPrompt getter to AgentSession reading from agent.state.systemPrompt
- Wire getSystemPrompt through ExtensionContextActions to ExtensionRunner
- Add getSystemPrompt to interactive-mode's shortcut context
- Update docs with ctx.getSystemPrompt() section
- Add system-prompt-header.ts example
- Add example to docs reference table

Closes #1098
2026-01-30 17:44:25 +01:00
..
cli feat(ai): add Kimi For Coding provider support 2026-01-29 04:12:28 +01:00
core feat(coding-agent): add ctx.getSystemPrompt() to extension context 2026-01-30 17:44:25 +01:00
modes feat(coding-agent): add ctx.getSystemPrompt() to extension context 2026-01-30 17:44:25 +01:00
utils feat(coding-agent): add OSC 52 clipboard support for SSH/mosh sessions 2026-01-30 03:25:00 +01:00
cli.ts Set coding agent CLI process title (#742) 2026-01-15 13:14:14 +01:00
config.ts feat(coding-agent): add PI_SHARE_VIEWER_URL env var for custom share viewer (#889) 2026-01-21 23:19:12 +01:00
index.ts feat(coding-agent): resolve resources with enabled state 2026-01-25 02:13:24 +01:00
main.ts fix(coding-agent): improve thinking defaults in footer 2026-01-29 00:33:45 +01:00
migrations.ts chore: remove deprecation comment from getToolsDir, add changelog entry for #470 2026-01-05 20:26:48 +01:00