Skip to main content

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 fold;
5mod render;
6
7pub use fold::Transcript;
8pub use render::{Activity, Group, State, markdown};
9
10#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)]
11pub struct BlockId(pub usize);
12
13/// Disk-document edits use stable slots. A group update replaces only that group's text;
14/// prose strings leave this layer immediately and are retained by the existing private pages.
15pub struct Patch {
16    pub id: BlockId,
17    pub text: String,
18}