c6d66d2d583a387bfe453b46632951ef6d4f0f5a
When a session is created for a conversation that already has messages in the DB, prior messages are loaded via ConversationsRepo.findMessages() and injected into the agent session as a system prompt addition so the agent has full context of the prior exchange. Context window management (M1-005): if the full history would exceed 80% of the model's context window (estimated at ~4 chars/token), older messages are summarized as a simple extractive summary and only the most recent messages are kept verbatim. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Merge pull request 'feat(gateway): add Anthropic, OpenAI, Z.ai LLM providers (P8-002)' (#212) from feat/p8-002-llm-providers into main
Description
Self-hosted multi-user AI agent platform — web dashboard, TUI, remote control, shared memory, mission orchestration
Releases
13
Languages
TypeScript
77.6%
Shell
17.4%
PowerShell
2.5%
JavaScript
1.2%
Python
0.9%
Other
0.3%