mirror of
https://github.com/earendil-works/pi.git
synced 2026-06-18 15:54:04 +08:00
99281e5913
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
99281e5913
ยท
2026-01-30 17:44:25 +01:00
History