pi-mono/packages/coding-agent/src/core/hooks
Mario Zechner 9d8230dfc6 feat(coding-agent): expose deliverAs option in hook sendMessage() API
- pi.sendMessage(msg, options?) now accepts { triggerTurn?, deliverAs? }
- deliverAs: 'steer' (default) or 'followUp' controls delivery timing
- Update all mode handlers to pass options through
- Update file-trigger example to use new API
- Update CHANGELOG
2026-01-03 00:13:26 +01:00
..
index.ts fix: export type guard functions at runtime, fixes #397 2026-01-02 10:37:28 +01:00
loader.ts feat(coding-agent): expose deliverAs option in hook sendMessage() API 2026-01-03 00:13:26 +01:00
runner.ts feat(coding-agent): update AgentSession for steer()/followUp() API 2026-01-03 00:13:25 +01:00
tool-wrapper.ts Fix hook tool_result event not emitted for tool errors 2025-12-31 17:12:55 +01:00
types.ts feat(coding-agent): expose deliverAs option in hook sendMessage() API 2026-01-03 00:13:26 +01:00