Skip to main content

Module context_reference

Module context_reference 

Source
Expand description

Durable context reference records and media attachment parsing.

Separated from composer completion and terminal-only UI so session persistence, image attachment, and engine history can reference context and attachment items without depending on codewhale-tui.

Structs§

ContextReference
The transcript keeps the user’s compact text (@path or [Attached ...]) readable. This record preserves the exact target and inclusion state for the context inspector and for session resume without leaking raw metadata into the visible history cell.
MediaAttachmentReference

Enums§

ContextReferenceKind
ContextReferenceSource

Functions§

media_attachment_references
Extract media attachment references from text formatted as [Attached <kind>: <path>].