co-mono/packages/coding-agent/src
Mario Zechner 2add465fbe Serialize conversation to text for summarization
Instead of passing conversation as LLM messages (which makes the model
try to continue it), serialize to text wrapped in <conversation> tags.

- serializeConversation() formats messages as [User]/[Assistant]/[Tool result]
- Tool calls shown as function(args) format
- Tool results truncated to prevent bloat
- Conversation wrapped in <conversation> tags in the prompt
2025-12-30 22:42:24 +01:00
..
cli WIP: Major cleanup - move Attachment to consumers, simplify agent API 2025-12-30 22:42:20 +01:00
core Serialize conversation to text for summarization 2025-12-30 22:42:24 +01:00
modes Fix compaction message rendering to go through addMessageToChat 2025-12-30 22:42:24 +01:00
utils refactor(hooks): split session events into individual typed events 2025-12-30 22:42:22 +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 ReadonlySessionManager and refactor branch summarization 2025-12-30 22:42:23 +01:00
main.ts refactor(hooks): split session events into individual typed events 2025-12-30 22:42:22 +01:00
migrations.ts Add automatic session migration for v0.30.0 bug 2025-12-26 03:24:49 +01:00