Merge single ongoing agent conversations into main
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
| Path | Responsibility | Owner Notes |
|
||||
|---|---|---|
|
||||
| `electron/coding-teacher/**`, `electron/api/routes/coding-teacher.ts`, `shared/coding-teacher.ts`, and `src/pages/Chat/Teacher*.tsx` | Main-owned 下发智能体目录与选择、云凭据、项目/Pi 快照、三个只读工具、Yuxi 续接、项目级咨询和讨论 | 服务端发布定义提供人设与显示资料,无本地老师/朋友分类或名称工具限制;旧合成朋友话题/草稿只读。`context.ts` 按执行路径测量完整请求,`model-runner.ts` 使用近似 Token 预算,`cloud-runner.ts` 使用精确 JSON 字节并仅路由云端主线程正文。账号/项目/本轮来源隔离,无本机写入或命令。见 [咨询 ADR](../10-decisions/ADR-2026-09-22-coding-teacher.md)。 |
|
||||
| `electron/coding-teacher/**`, `electron/api/routes/coding-teacher.ts`, `shared/coding-teacher.ts`, and `src/pages/Chat/Teacher*.tsx` | Main-owned下发目录、账号/智能体唯一聊天、每轮项目/Pi/版本快照、三个只读工具及Yuxi续接 | `conversation-store.ts` 持有轻量索引、独立轮文件、历史分页、旧记录导入和已读;`service.ts` 按请求ID更新、冻结范围并轮转内部线程。Renderer只保存草稿/窗口阅读锚点,无新话题入口。服务端定义人设与资料;不明归属旧记录只读。context按执行路径计量,cloud-runner仅路由主线程正文,无本机写入或命令。主动观察后续接入同一聊天。见[咨询ADR](../10-decisions/ADR-2026-09-22-coding-teacher.md)。 |
|
||||
| `electron/coding-projects/project-config.ts`, `src/pages/Chat/CodingProjectConversations.tsx`, and `src/components/layout/Sidebar.tsx` | 内部默认 Agent 与项目下会话导航 | 旧绑定保留;首次发送或显式新建创建会话,打开项目不创建。 |
|
||||
| `electron/coding-plugins/manifest.ts`, `release-descriptor.ts`, `signature-verifier.ts`, and `trusted-keys.ts` | Closed Plugin package/descriptor parsing, fixed code-owned resource roots, compatibility checks, canonical archive validation, and Ed25519 trust | Data Service plus exact Game Resource, Game Audio and Project Scaffold roots are code-owned. Other schema-2 packages still pass descriptor/signature/archive validation; downloadable P0 Skill assets remain text/image-only. Hosted Web Search is not a current Plugin root. |
|
||||
| `electron/coding-plugins/account-plugin-cache.ts`, `marketplace-client.ts`, and `package-store.ts` | Main-owned Account Library cache, authenticated server client, and atomic immutable device installation store | Account acquisition and device installation are separate. Package bytes switch atomically only after descriptor, signature, archive, client-range, and provenance checks; failed updates preserve the prior current release. |
|
||||
|
||||
Reference in New Issue
Block a user