Skip to main content

Module v2

Module v2 

Source

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
V3 default agent_id payload value on Qdrant collections.
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
Subentries of legacy <install>/workspace/memory/ that belong to the shared instance memory dir (<install>/data/memory/).
V2_WORKSPACE_TOPLEVEL_DISPATCH
Single canonical V2 → V3 top-level workspace dispatch.
V3_CHANNEL_TYPES
Channel section keys subject to V3 alias-wrapping. A missing entry here sends its V2 [channels.<type>] block through the passthrough branch, which leaves it flat instead of <type>.default-shaped and the V3 deserializer then chokes on the typed HashMap<String, T> slot. Tests cross-check this list against the typed channel slots on ChannelsConfig to catch silent drift.
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 a Qdrant collection to the V3 multi-agent shape.
migrate_sqlite_memory_to_v3
Migrate a SQLite memory database to the V3 multi-agent shape.
migrate_v2_to_v3_install_filesystem
V2 → V3 install-root filesystem migration.
relocate_default_agent_skills_to_shared
Heal intermediate v0.8.0-pre 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
V3 destination path for a top-level entry under legacy workspace/.