DeepSeek Harness 一次 turn 的调用链

日志先行 → 组装 → 请求 → 工具 → 结算,UI 只消费投影

DeepSeek Harness 一次 turn 的调用链 日志先行 → 组装 → 请求 → 工具 → 结算,UI 只消费投影 发送一句用户消息 投递进 agent.inbox append turn/start(claim 输入 · 快照模型选择) 组装 sections + step 准入的工具 schema prepareCall 绑定适配器 → stream assistant/message(compact stream 落定) tools/pre-execute → execute 按 sandbox 策略 spawn stdout · exit code tools/post-execute → tool/result append tool/result · step/end(还欠请求就再走一步) append turn/end session/event → 投影增量折叠 流式渲染 一 · 开启 turn:事实先落盘 二 · 一个 step:组装与请求 三 · 工具:过三道拦截 四 · 结算:事件回放成界面 浏览器 / CLI · 调用方 · 时序参与者 浏览器 / CLI 调用方 API 网关 · TypertGateway · 时序参与者 API 网关 TypertGateway AgentLoop · turn / step 驱动器 · 时序参与者 AgentLoop turn / step 驱动器 Session 日志 · append-only · 时序参与者 Session 日志 append-only system-prompt · section 组装 · 时序参与者 system-prompt section 组装 LLM seam · LlmAdapter · 时序参与者 LLM seam LlmAdapter 工具管线 · 三道 waterfall · 时序参与者 工具管线 三道 waterfall 执行世界 · sandbox 策略 · 时序参与者 执行世界 sandbox 策略 图例 主路径请求 返回 异步追踪 普通消息