co-mono/packages/coding-agent/src
Mario Zechner 75a9c3c714 Use proper HookAppMessage type instead of _hookData marker
Following the same pattern as BashExecutionMessage:
- HookAppMessage has role: 'hookMessage' with customType, content, display, details
- isHookAppMessage() type guard for checking message type
- messageTransformer converts to user message for LLM context
- TUI checks isHookAppMessage() for rendering as CustomMessageComponent

This makes the API clean for anyone building on AgentSession - they can
use the type guard instead of knowing about internal marker fields.
2025-12-30 22:42:19 +01:00
..
cli feat(coding-agent): Add --session-dir flag for custom session directory 2025-12-25 20:27:41 +01:00
core Use proper HookAppMessage type instead of _hookData marker 2025-12-30 22:42:19 +01:00
modes Use proper HookAppMessage type instead of _hookData marker 2025-12-30 22:42:19 +01:00
utils fix: Use bash instead of sh on Unix systems 2025-12-26 23:12:57 +01:00
cli.ts Remove old implementation files (main.ts, cli.ts, tui-renderer.ts), rename new files 2025-12-09 01:21:28 +01:00
config.ts Refactor OAuth/API key handling: AuthStorage and ModelRegistry 2025-12-25 03:48:36 +01:00
index.ts Add CustomMessageEntry for hook-injected messages in LLM context 2025-12-30 22:42:18 +01:00
main.ts Add TUI rendering for CustomMessageEntry 2025-12-30 22:42:18 +01:00
migrations.ts Add automatic session migration for v0.30.0 bug 2025-12-26 03:24:49 +01:00