mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-25 17:54:34 +08:00
- Add normalizeBuiltinToolNames() to map old session-based tool names (search_sessions, get_session_messages, get_session_summaries) to current segment names; applied in assistant parser, agent-stream-runner, and desktop tool-filter so existing assistant configs keep working - Propagate agent stream error chunks as thrown Errors in CLI chat command - Pass assistantId through ResolvedAIChatTarget to agent stream - Preserve legacy chat_session rows in v6 migration when segment table already exists (INSERT OR IGNORE + DROP); revert v3/v5 DDL to chat_session - Rename session_id alias to segment_id in relationship query - Add tests: assistant-parser normalization, tool-filter legacy names, agent-stream-runner legacy allowlist, REPL error resilience, migration paths Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>