co-mono/packages/ai/src
Mario Zechner 9ebee631be mom: turn-based context, timestamp fixes, system prompt improvements (#68)
Breaking Changes:
- Timestamps now use Slack format - run migrate-timestamps.ts for existing logs

Added:
- Channel/user ID mappings in system prompt
- Skills documentation in system prompt
- Debug last_prompt.txt output
- Bash working directory info
- Token-efficient log queries filtering tool calls

Changed:
- Turn-based message context (groups consecutive bot messages as one turn)
- Messages sorted by Slack timestamp
- Condensed system prompt (~5k → ~2.7k chars)
- Simplified user prompt
- Selective logging (skip UI status labels)

Fixed:
- Duplicate message logging from app_mention handler
- Username obfuscation in thread messages
2025-11-27 23:45:25 +01:00
..
agent chore: bump coding-agent to 0.7.14 - fix Anthropic OAuth and Mistral API compatibility 2025-11-17 12:46:59 +01:00
providers Add custom headers support for models.json 2025-11-20 17:05:31 +01:00
utils Add Unicode surrogate sanitization for all providers 2025-10-13 14:26:54 +02:00
index.ts refactor(ai): improve error handling and stop reason types 2025-09-18 19:57:13 +02:00
models.generated.ts mom: turn-based context, timestamp fixes, system prompt improvements (#68) 2025-11-27 23:45:25 +01:00
models.ts refactor(ai): Simplify API with new streaming interface and model management 2025-09-03 01:25:19 +02:00
stream.ts Limit max output tokens to 32k 2025-10-30 15:47:36 +01:00
types.ts Add custom headers support for models.json 2025-11-20 17:05:31 +01:00