mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-25 17:54:34 +08:00
Move AI-related translations (tools, agent prompts, LLM, summary) from Electron-specific locale files into @openchatlab/node-runtime, enabling single-source maintenance across Electron and Server. - Add packages/node-runtime/src/ai/i18n/ with createAiTranslate() and bundled locale data (zh-CN, en-US, ja-JP, zh-TW) - Electron locale files now compose: Electron-specific keys + shared AI translations from node-runtime - Server agent.ts switches to shared buildSystemPrompt with evidence policy, data snapshot injection, ownerInfo and mentionedMembers support - Server route fetches dataSnapshot from getChatOverview before agent run