Skip to main content

Module registry

Module registry 

Source
Expand description

Shared ASD repo registry — ~/.config/asd/repos.toml.

Read/write API used by the asd CLI, asd-mcp, and CTXone. See docs/repo-registry.md for the schema and atomic-write protocol.

Structs§

Registry
Parsed registry. BTreeMap keeps disk order deterministic.
RepoEntry
One registered repo.

Enums§

RegistryError

Constants§

ENV_REGISTRY
Env var that overrides the default registry path.
SCHEMA_VERSION
Current schema version persisted in repos.toml.

Functions§

find_db_upwards
Walk up from the current directory to the filesystem root, returning the first .asd-state.db found — git-style project discovery. Shared by the CLI default-db resolution and the asd-mcp server so both isolate to the project the process was started in, independent of the registry’s active repo (Plan Q t-002 / Plan S t-004).

Type Aliases§

Result