agent-doc-core 0.34.43

Pure document data layer for agent-doc (component parsing, frontmatter, template, CRDT, pending, diff classification, model tier)
Documentation
//! agent-doc-core — document data layer for agent-doc.
//!
//! See `tasks/agent-doc/plan-agent-doc-core-extraction.md` for the wave plan.
//! Currently extracted: Wave 1 (id, crdt, component, model_tier, pending),
//! Wave 2 (frontmatter, project_config), Wave 3 (template), Wave 4 (diff
//! pure half per #rtx6 Option 1 — `ComputeResult`, `compute`,
//! `compute_with_current`, `wait_for_stable_content`, `run` stay in the main
//! crate's `diff_io.rs` because they call `snapshot::{load,save,resolve,
//! path_for}`). Some functions in `frontmatter`, `project_config`, and
//! `template` take `&Path` and touch the filesystem — they live here for the
//! convenience of a single move and may be split into orchestration wrappers
//! in a follow-up tidy.

pub mod component;
pub mod crdt;
pub mod diff;
pub mod ffi;
pub mod frontmatter;
pub mod gate_verify;
pub mod heuristics;
pub mod id;
pub mod ipc_corruption;
pub mod log_time;
pub mod model_tier;
pub mod op_log;
pub mod pending;
pub mod project_config;
pub mod replay_guard;
pub mod syntax;
pub mod template;
pub mod topic;
pub mod turn_scope;

pub use component::Component;
pub use crdt::CrdtDoc;
pub use diff::{
    DiffClassification, DiffType, OrchestrationRequest, OrchestrationRequestMode,
    ParsedSlashCommands, PromptBearingChange, PromptBearingChangeKind,
};
pub use id::{
    BOUNDARY_ID_LEN, format_boundary_marker, new_boundary_id, new_boundary_id_with_summary,
};
pub use template::{ComponentInfo, PatchBlock, TemplateInfo};