Skip to main content

Module attachments

Module attachments 

Source

Structs§

AttachmentReclamationReport
Outcome of a host-invoked orphan-attachment reclamation sweep.
FileAttachmentStore
InMemoryAttachmentStore
SessionScopedAttachmentStore
Session-scoped wrapper that records a write-ahead intent in AttachmentManifest before delegating each put to the backing AttachmentStore. The intent row durably captures “this session is about to write these bytes,” so if the process dies between put and the next committed runtime state, a later GC sweep can reconcile the orphaned bytes by walking AttachmentManifest::list_uncommitted.
StoredAttachment

Enums§

AttachmentStoreError
AttachmentStorePersistence

Traits§

AttachmentStore

Functions§

content_id
reclaim_orphaned_attachments
Reclaim attachment bytes left orphaned by a crash between put and the next durable commit — the host-invocable counterpart to StoreMaintenance::gc_unreachable for attachment payloads.
resolve_llm_request_attachments