9 Commits

Author SHA1 Message Date
root
10183340fc fix: cp001 identity override - use user/assistant pair instead of system role 2026-05-22 17:14:22 +08:00
root
b0e1094ff7 feat: cp001 child persona - only corpus collection boundaries, everything else goes to dad 2026-05-22 16:57:52 +08:00
root
0d03df2f17 fix: Corpus Agent token not persisted to localStorage, refresh loses memory 2026-05-22 16:50:42 +08:00
root
d7753f034f fix: Corpus Agent page blank because IIFE never shows .app div
Root cause: auto-login IIFE checks localStorage for current_user, calls
/api/auth/quick-login async, sets token in .then() callback - but never sets
document.getElementById("app").style.display = "flex".
The old if(token) block that shows .app runs synchronously before the fetch
completes, so .app stays display:none.

Fix: add display:flex inside the IIFE's .then callback after successful
quick-login.
2026-05-22 16:42:16 +08:00
root
088548405a fix: Corpus Agent SSE token events not forwarded to frontend\n\nRoot cause: Portal chat-v2 sends token events as {"token":"铸"} without a "type"\nfield. The Corpus Agent was checking data.get("type", "") == SSE_TYPE_TOKEN, but\nsince there was no "type" field, all token events were silently dropped.\n\nFix: Also match events where event_type is empty but a "token" key exists in data. 2026-05-22 16:27:53 +08:00
铸渊
ff38c723ca D109续③ · 登录改为代码仓库账号密码(告别长Token) 2026-05-21 14:26:40 +00:00
铸渊
57e8751fc8 D109续② · 语料Agent部署上线+对话API+Nginx路由+大脑日志 2026-05-21 14:16:49 +00:00
铸渊
7abc7e6414 D109续② · 语料Agent添加对话API(30轮记忆+商业模型引擎) + Web聊天界面 2026-05-21 14:14:20 +00:00
铸渊
e10b8f09a9 D109续 · 小红书运营启动 + 语料采集系统开发 2026-05-21 14:02:06 +00:00