Skip to main content

Module types

Module types 

Source
Expand description

Domain types: memories, scopes, metadata, validation, and application state.

Structs§

AppState
Shared application state threaded through the Axum server.
ChangedMemories
Memories that changed between two git commits.
EditArgs
Arguments for the edit tool — modify an existing memory.
ForgetArgs
Arguments for the forget tool — delete a memory.
ListArgs
Arguments for the list tool — browse stored memories.
Memory
A single memory unit, stored on disk as a markdown file with YAML frontmatter.
MemoryMetadata
Metadata attached to every Memory.
ReadArgs
Arguments for the read tool — retrieve a specific memory by name.
RecallArgs
Arguments for the recall tool — semantic search.
ReindexStats
Statistics from an incremental reindex operation.
RememberArgs
Arguments for the remember tool — store a new memory.
SyncArgs
Arguments for the sync tool — push/pull the git remote.

Enums§

PullResult
The outcome of a pull() operation.
Scope
Where a memory lives on disk and conceptually.
ScopeFilter
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. None defaults to Scope::Global.
parse_scope_filter
Parse a scope string into a ScopeFilter for use in recall and list.
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.