Expand description
Chat session persistence — WAL quins + JSON sidecar under {storage}/Chats/.
Structs§
- Chat
Environment - Snapshot of chat inference scope and LLM-visible capabilities.
- Chat
Message - Chat
Participant - Chat
Session - Chat
Session Share Target - Target descriptor for ontology sharing UI (solo chats and group sessions).
- Chat
Session Summary - Ontology
Scope Summary - Per-ontology scope summary compiled into the chat environment.
- Session
Meta
Enums§
Functions§
- add_
participant - Adds participant.
- append_
message - Appends a message.
- append_
message_ with_ author - Appends a message with an author.
- append_
message_ with_ options - Appends a message with options.
- append_
relay_ message_ with_ agent_ meta - Ingest a relayed message with pre-set sub-agent metadata (skips local decoration / re-publish).
- chats_
dir - Chats directory.
- compact_
session_ to_ q42 - Compacts a session to q42.
- compile_
session_ did - Compiles the session DID.
- content_
hash_ u64 - The content hash carried on a chat message: FNV-1a
q_hashof the content, masked to the 60-bit object space. Public so interop layers (e.g.solid_chat) can reproduce it for imported messages. - create_
group_ session - Creates group-session.
- create_
session - Creates session.
- delete_
session - Deletes a session.
- get_
last_ session_ id - Gets last-session-id.
- get_
participants - Gets participants.
- get_
session_ did - Gets session-did.
- list_
session_ share_ targets - Sessions and groups that can be selected as share targets (each has a stable
session_did). - list_
sessions - Lists chat sessions.
- load_
session - Loads session.
- remove_
participant - Removes participant.
- rename_
session - Renames a session.
- set_
last_ session_ id - Sets last-session-id.