Skip to main content

Crate codewhale_core

Crate codewhale_core 

Source

Re-exports§

pub use context_reference::ContextReference;
pub use context_reference::ContextReferenceKind;
pub use context_reference::ContextReferenceSource;
pub use context_reference::MediaAttachmentReference;
pub use context_reference::media_attachment_references;

Modules§

context_reference
Durable context reference records and media attachment parsing.
fragments
Bounded context-fragment system with hard caps (issue #5264).
prefix_cache
Prefix-cache stability manager (inspired by Reasonix’s Pillar 1).
request
Compatibility path for the shared protocol request types.
role
Compatibility path for the shared protocol role types.
secret_eq
The one constant-time comparison for bearer tokens, nonces and proofs.
tool_parser
Legacy parser for text-based tool calls from DeepSeek models.

Structs§

Runtime
Compatibility configuration.

Functions§

persisted_overlap
How many leading entries of offered repeat the end of persisted: the longest suffix of persisted that is also a prefix of offered. Longest persisted suffix repeated by an offered history prefix. Linear work preserves genuine repeated messages without an unbounded nested scan.