artifactize_core/agent/session/transcript.rs
1//! Semantic, minimal session presentation. Stored events remain lossless; this view keeps only
2//! prose and bounded activity headers, never tool output, arguments, reasoning or media payloads.
3
4mod candidate;
5mod fold;
6mod render;
7
8pub use fold::Transcript;
9pub use render::{Activity, Group, State, markdown};
10
11#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
12pub struct BlockId(pub usize);
13
14/// Disk-document edits use stable slots. A group update replaces only that group's text;
15/// prose strings leave this layer immediately and are retained by the existing private pages.
16pub struct Patch {
17 pub id: BlockId,
18 pub text: String,
19}