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 -1
View File
@@ -10,7 +10,7 @@ mod notebook_api;
mod output;
mod render;
pub use output::{write_static, OutputOptions};
pub use output::{write_capture, write_static, CaptureOptions, OutputOptions};
use std::fs;
use std::io::{self, Read};