深度档原来是 start →(黑盒30-60s)→ done,看不到中间过程。改成逐步可见: 后端: - deep.strategy 加 runStream():逐步 yield step 事件(plan/write/verify/repair 的 running/done + 各步摘要:大纲/质量分/问题数);撰写/修订步走 runner.stream 逐字 partial(打字机)。run() 保留不动。 - orchestrator 深度档 SSE 路径改为消费 runStream → 转发 step + partial 事件;新增 PlanScriptStreamEvent.step。 前端: - use-script-stream 解析 step 事件,维护 steps 时间线(done 后保留可回看)。 - 新增 ScriptDeepProcess 组件:步骤时间线(spinner/✓ + 大纲展示 + 接地安全/质量分 + 修订问题数)。 - plan-detail-app 在话术区顶部渲染过程面板;正文 sections 在下方逐字流。 端到端实测(本地 deepseek-v4-flash):start→step plan(running/done)→step write+逐字partial→ step verify→step repair→done,全程事件正常流出。abort/停止复用现有。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| adapt-data.ts | Loading commit data... | |
| call-widget.tsx | Loading commit data... | |
| chain-viz.tsx | Loading commit data... | |
| drawer.tsx | Loading commit data... | |
| emr-soap-view.tsx | Loading commit data... | |
| execution-api.ts | Loading commit data... | |
| facts-timeline.tsx | Loading commit data... | |
| mock-data.ts | Loading commit data... | |
| outcome-form.tsx | Loading commit data... | |
| persona-display.ts | Loading commit data... | |
| persona-feature-hover.tsx | Loading commit data... | |
| plan-detail-app.tsx | Loading commit data... | |
| plan-detail-types.ts | Loading commit data... | |
| reason-line.tsx | Loading commit data... | |
| recall-oracle.ts | Loading commit data... | |
| script-deep-process.tsx | Loading commit data... | |
| script-viewer.tsx | Loading commit data... | |
| shared.tsx | Loading commit data... | |
| task-drawer.tsx | Loading commit data... | |
| tooth-timeline.tsx | Loading commit data... | |
| use-script-stream.ts | Loading commit data... | |
| use-summary-stream.ts | Loading commit data... |