Expand description
agent-doc library — shared components for CLI, FFI, and editor plugins.
Re-exports the core document manipulation modules that are shared between the CLI binary and native plugin bindings (JNI, napi-rs).
Modules§
- component
- crdt
- ffi
- C ABI exports for editor plugin native bindings.
- frontmatter
- merge
- 3-way merge with append-friendly conflict resolution.
- template
- Template-mode support for in-place response documents.
Constants§
- BOUNDARY_
ID_ LEN - Default number of hex characters for boundary IDs.
Functions§
- format_
boundary_ marker - Format a boundary marker comment.
- new_
boundary_ id - Generate a new boundary ID (short hex string from UUID v4).
- new_
boundary_ id_ with_ summary - Generate a boundary ID with an optional summary suffix.