Skip to main content

Module v2

Module v2 

Structs§

FilesystemMigrationReport
Result of a successful filesystem migration.
V2Config
V2 partial typed lens. Everything not explicitly named flows through passthrough unchanged.

Enums§

V2WorkspaceDest
Destination class for a top-level entry under the legacy <install>/workspace/ directory.

Constants§

QDRANT_DEFAULT_AGENT_ID
SQLITE_MEMORY_SCHEMA_VERSION
On-disk schema version stamped after a successful SQLite memory migration. Future migrations consult this rather than re-running PRAGMA detection.
V2_MEMORY_DATA_NAMES
V2_WORKSPACE_TOPLEVEL_DISPATCH
V3_CHANNEL_TYPES
V3_INSTALL_ROOT_NAMES
V3 root directories that should exist after a successful migration. The e2e test asserts every entry under <install> is either one of these, the post-migration config.toml(.backup)?, or a backup-*/.

Functions§

memory_subentry_v3_path
V3 destination path for a subentry under legacy workspace/memory/.
migrate_qdrant_collection_to_v3
migrate_sqlite_memory_to_v3
migrate_v2_to_v3_install_filesystem
relocate_default_agent_skills_to_shared
Heal intermediate installs that landed skills under agents/default/workspace/skills/ before the host-wide shared/skills/ layout was introduced. Idempotent.
sqlite_ensure_agent_uuid
Mint-or-query a single agent row keyed by alias. Used by the SQLite migration’s default-agent backfill and by the ensure_agent_uuid trait impl on the memory backend (alias resolution at agent-loop entry).
sqlite_ensure_default_agent_uuid
Mint or query the default agent’s row. Idempotent on concurrent first-init: the returned UUID is the row that actually persisted, not the candidate we attempted to insert.
v2_workspace_toplevel_dest
Dispatch a top-level legacy entry name to its V2WorkspaceDest class.
workspace_toplevel_v3_path