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§
- Attachment
Manifest Entry - Per-thread model context for a CAS attachment.
- Context
Window - LLM context window state for a thread.
- Document
Conversion - Persistent pointer from one immutable source document to its generated PDF object.
- Encrypted
KeyRecord - Gallery
Image - Gallery
Thread - KeyFile
- KeyStore
Transaction - Last
Login - Message
Attachment - A CAS object referenced by one user message.
- Object
File Context - Content-derived metadata shared by every thread that references an object.
- Object
Manifest - Metadata stored beside one immutable CAS blob.
- Object
Manifest Lock - Object
Remote - A Gemini Files API handle scoped to one stable API-key identity.
- OcrModel
Annotation - OCR output for a single model.
- OcrRegion
- OCR data for an image region.
- Product
Version - Profile
- Profile metadata stored in profiles.json.
- Profile
Auth - Authentication state stored in auth.json.
- Profile
Identity - Stable federated identity metadata for a local profile.
- Profile
KeyRecords - Profile
Snapshot - In-memory profile snapshot used by UI callers that need account state.
- Profile
Store - Manager for profile storage operations.
- Reverse
Image Search Cache - Side
Chat Data - A SideChat thread uses the common message/context/attachment files without OCR state.
- Side
Chat Metadata - Metadata for a SideChat thread stored outside Explorer workspaces.
- Stored
Image - Result of storing an object in content-addressable storage.
- Thread
Data - Complete thread data including messages and OCR.
- Thread
Metadata - Metadata for a thread session stored in the thread index.
- Thread
Storage - Main storage manager for threads and content-addressed objects.
- Version
File - Version
Store - Version
Store Guard - Workspace
Metadata - A workspace groups threads and the directories its AI sandbox can read.
Enums§
- Attachment
File Type - How an object is exposed to the model.
- OcrAnnotation
Entry - OCR annotations entry.
- Record
Cipher - Record
Kdf - Storage
Error - Storage error types.
- Thread
Message - A persisted message with a strict role-specific JSON shape.
- Version
Type
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§
- Attachment
Manifest - OcrAnnotations
- OCR annotations keyed by sentinel/model ID.
- Result
- Result type alias for storage operations.