Skip to main content

Module threads

Module threads 

Source
Expand description

Thread storage manager and thread-local persisted state.

Modules§

types
Type definitions for thread storage.

Structs§

AttachmentManifestEntry
Per-thread model context for a CAS attachment.
ContextWindow
LLM context window state for a thread.
MessageAttachment
A CAS object referenced by one user message.
OcrModelAnnotation
OCR output for a single model.
OcrRegion
OCR data for an image region.
SideChatData
A SideChat thread uses the common message/context/attachment files without OCR state.
SideChatMetadata
Metadata for a SideChat thread stored outside Explorer workspaces.
ThreadData
Complete thread data including messages and OCR.
ThreadMetadata
Metadata for a thread session stored in the thread index.
ThreadStorage
Main storage manager for threads and content-addressed objects.
WorkspaceMetadata
A workspace groups threads and the directories its AI sandbox can read.

Enums§

OcrAnnotationEntry
OCR annotations entry.
ThreadMessage
A persisted message with a strict role-specific JSON shape.

Constants§

DEFAULT_SIDE_CHAT_TITLE
DEFAULT_THREAD_TITLE
EMPTY_STATE_ASSET_ID

Functions§

default_ocr_annotations

Type Aliases§

AttachmentManifest
OcrAnnotations
OCR annotations keyed by sentinel/model ID.