feat(view): capture live snapshots for static export

Add view capture to record per-cell outputs and session summary with source hashes. view output --snapshot consumes the capture without re-executing and rejects source drift. Includes snapshot parsing tests.
This commit is contained in:
cflmy committed 2026-10-18 14:45:26 +08:00
1 parent 0f852593bc
commit 74908ebf04
5 files changed
+159 -4

No files matched your search

+1
View File
@@ -53,6 +53,7 @@ v3 必须继续满足以下约束,否则不进入实现:
| G5 | ✅ 基本实现 | `session_interrupt` + view Interrupt;Python SIGINT 保留会话;Node 进程可能被终止 |
| G4 | ✅ 已实现(API) | add/remove/set-value + generation;view 尚未提供 add/remove UI |
| G6 | ✅ 已实现(API) | export/import/replay JSON snapshot;view/CLI 尚未做文件封装 |
| G9 | ✅ 已实现(CLI/API 基础) | `view capture` + `view output --snapshot`;source hash 校验 |
| G3/G7/G8/G9/G10 | ⏳ 设计已定,未实现 | 见对应章节 |
## 3. 缺口清单