Skip to main content

Module storage

Module storage 

Source
Expand description

Storage access shared by every Squigit shell-facing service.

Modules§

cas
Content-addressable storage for images and generic files.
error
Error types for persisted storage.
paths
profiles
Profile, auth-state, and encrypted-key root storage.
rules
threads
Thread storage manager and thread-local persisted state.
version
Shared persisted release metadata for Squigit shells.

Structs§

AttachmentManifestEntry
Per-thread model context for a CAS attachment.
ContextWindow
LLM context window state for a thread.
DocumentConversion
Persistent pointer from one immutable source document to its generated PDF object.
EncryptedKeyRecord
GalleryImage
GalleryThread
KeyFile
KeyStoreTransaction
LastLogin
MessageAttachment
A CAS object referenced by one user message.
ObjectFileContext
Content-derived metadata shared by every thread that references an object.
ObjectManifest
Metadata stored beside one immutable CAS blob.
ObjectManifestLock
ObjectRemote
A Gemini Files API handle scoped to one stable API-key identity.
OcrModelAnnotation
OCR output for a single model.
OcrRegion
OCR data for an image region.
ProductVersion
Profile
Profile metadata stored in profiles.json.
ProfileAuth
Authentication state stored in auth.json.
ProfileIdentity
Stable federated identity metadata for a local profile.
ProfileKeyRecords
ProfileSnapshot
In-memory profile snapshot used by UI callers that need account state.
ProfileStore
Manager for profile storage operations.
ReverseImageSearchCache
SideChatData
A SideChat thread uses the common message/context/attachment files without OCR state.
SideChatMetadata
Metadata for a SideChat thread stored outside Explorer workspaces.
StoredImage
Result of storing an object in content-addressable storage.
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.
VersionFile
VersionStore
VersionStoreGuard
WorkspaceMetadata
A workspace groups threads and the directories its AI sandbox can read.

Enums§

AttachmentFileType
How an object is exposed to the model.
OcrAnnotationEntry
OCR annotations entry.
RecordCipher
RecordKdf
StorageError
Storage error types.
ThreadMessage
A persisted message with a strict role-specific JSON shape.
VersionType

Constants§

AUTH_MODE_GOOGLE_OIDC_PKCE
AUTH_SCHEMA_VERSION
DEFAULT_SIDE_CHAT_TITLE
DEFAULT_THREAD_TITLE
EMPTY_STATE_ASSET_ID
GOOGLE_ISSUER
GOOGLE_PROFILE_ID_PREFIX
GOOGLE_PROVIDER
KEY_FILE_SCHEMA_VERSION
OBJECT_MANIFEST_SCHEMA_VERSION
VERSION_FILE_NAME

Functions§

canonical_google_issuer
list_gallery
Return stored thread images grouped for gallery presentation.
load_rules
rules_path
save_rules
store_file
Store arbitrary bytes in Squigit’s content-addressable storage.
store_image
Store image bytes in Squigit’s content-addressable storage.

Type Aliases§

AttachmentManifest
OcrAnnotations
OCR annotations keyed by sentinel/model ID.
Result
Result type alias for storage operations.