diff --git a/1Project/工作台/网页agent功能.md b/1Project/工作台/网页agent功能.md new file mode 100644 index 0000000..f4d2592 --- /dev/null +++ b/1Project/工作台/网页agent功能.md @@ -0,0 +1,16 @@ +## 要做的内容 + - 启动/管理子进程 + - 解析 --json 输出 + - 保存 codexSessionId + - 做 SSE 给网页 + - 做一层本地 session 映射 + - 处理超时、取消、错误展示 + - 结构 ``` type ChatSession = { + codexSessionId: string // codex 的真实 session id + cwd: string + createdAt: string + updatedAt: string``` + +## 具体业务 +- 碎片->立项 +- 待阅读->立项 \ No newline at end of file