Expand description
Domain types: memories, scopes, metadata, validation, and application state.
Structs§
- AppState
- Shared application state threaded through the Axum server.
- Changed
Memories - Memories that changed between two git commits.
- Edit
Args - Arguments for the
edittool — modify an existing memory. - Forget
Args - Arguments for the
forgettool — delete a memory. - List
Args - Arguments for the
listtool — browse stored memories. - Memory
- A single memory unit, stored on disk as a markdown file with YAML frontmatter.
- Memory
Metadata - Metadata attached to every
Memory. - Read
Args - Arguments for the
readtool — retrieve a specific memory by name. - Recall
Args - Arguments for the
recalltool — semantic search. - Reindex
Stats - Statistics from an incremental reindex operation.
- Remember
Args - Arguments for the
remembertool — store a new memory. - Sync
Args - Arguments for the
synctool — push/pull the git remote.
Enums§
- Pull
Result - The outcome of a
pull()operation. - Scope
- Where a memory lives on disk and conceptually.
- Scope
Filter - Controls which scopes are searched during read-only operations.
Functions§
- parse_
qualified_ name - Parse a qualified name of the form
"global/<name>"or"projects/<project>/<name>"back into a(Scope, name)pair. - parse_
scope - Parse an optional scope string.
Nonedefaults toScope::Global. - parse_
scope_ filter - Parse a scope string into a
ScopeFilterfor use inrecallandlist. - validate_
branch_ name - Validate a git branch name to prevent ref injection.
- validate_
name - Validate that a memory name or project name contains only safe characters.