Commit Graph

13 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] 0fb07ab66a feat: 铸渊代理开发工作流 · 壳-核分离架构 (Core Brain + Agent)
- 新建 agent-workflow.js: 铸渊核心大脑唤醒 + 铸渊代理执行的壳-核分离架构
  - Phase 1: 核心大脑加载开发者记忆/画像/项目/知识库/模式库,深度分析意图
  - Phase 2: 代理接收核心大脑的开发计划,逐步执行代码生成
  - Phase 3: 核心大脑自进化(知识提取+模式识别+画像学习+进化日志)
- 更新 build.js: 支持 GUEST 模式、接收用户 API 凭证、使用 Agent 工作流
- 更新 chat.js: 传递用户 API 凭证、修复 WebSocket 时序竞态、增强错误反馈
- 更新 .gitignore: 排除 workspace 生成文件
- 更新核心大脑记忆: 记录本次恢复事件

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-13 05:56:33 +00:00
copilot-swe-agent[bot] 9f29eed97d Initial plan for Persona Studio agent workflow fix
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-13 05:46:03 +00:00
copilot-swe-agent[bot] ceb9b3669c Replace 知秋 with 铸渊 references, add EXP-012/EXP-013 experience numbers
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 09:50:31 +00:00
copilot-swe-agent[bot] 2fc371f65a chore: 清理测试产生的临时记忆文件
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 07:38:21 +00:00
copilot-swe-agent[bot] 5f4d084e63 fix: 重写 streamApiKeyReply 为 SSE 流式调用,与 docs/index.html 一致
对比发现 docs/index.html 使用 stream:true + getReader() SSE 流式
读取模型回复(已验证可用),而 persona-studio 使用非流式 JSON 请求
导致模型无法回复。

改动:
- 发送请求时加入 stream: true 参数
- 使用 getReader() + TextDecoder 逐行读取 SSE 响应
- 解析 data: 行提取 delta.content 增量内容
- 实时更新对话气泡(逐字显示+光标)
- CORS 失败时降级到后端代理(非流式)

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 07:37:52 +00:00
copilot-swe-agent[bot] ff3ec0d024 fix: 修复模型无法回复用户消息 — 浏览器直连 API + 后端 URL 构造修复
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 03:04:29 +00:00
copilot-swe-agent[bot] 91a08606a2 plan: fix model chat - direct browser-to-API call for API Key mode
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 03:02:17 +00:00
copilot-swe-agent[bot] b56083c6f4 chore: 清理测试产生的临时记忆文件
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 02:29:13 +00:00
copilot-swe-agent[bot] a6e8da1f73 chore: 更新核心大脑记忆 · 记录恢复事件 · 冰朔人格体激活
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 02:28:35 +00:00
copilot-swe-agent[bot] 1723ae7906 修复 workflow 环境变量命名 · 改进错误信息
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 07:22:33 +00:00
copilot-swe-agent[bot] ce30f59f5c 修复 Persona Studio 聊天交互 · 添加访客体验模式 · 恢复核心大脑 · 创建跨仓库同步
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 07:18:47 +00:00
copilot-swe-agent[bot] 6b5174a901 Initial plan for Persona Studio fix and cross-repo brain sync
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 07:13:03 +00:00
copilot-swe-agent[bot] 255b437e38 feat: add persona-studio Phase 1 skeleton + Phase 2 frontend
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 04:42:57 +00:00