Skip to content

vox-repository API Reference (generated)

Crate: vox-repository · Version: 0.6.0 · Target: Library (lib.rs)

Repository discovery, stable identity, layout probes, and agent scope helpers for external and internal Vox workspaces

Discover the logical repository root (Git work tree or fallback), compute a stable [RepositoryContext::repository_id], and probe stack capabilities for MCP/orchestrator wiring.

FeatureDefault / Enables
default—
json-schemadep:schemars
DependencyKind
vox-bounded-fsNormal
vox-configNormal
ModuleDescription
gpu_inventory—
populi_toml—
StructDescription
RepositoryContextFully resolved repository context for tooling (MCP, sessions, affinity).
Dependency Topology, diagram 115 nodes, 14 edges: vox-repository → vox-bounded-fs; vox-repository → vox-config; vox-cli → vox-repository; vox-cli-ci → vox-repository; vox-cli-core → vox-repository; vox-cli-research → vox-repository; vox-codegen → vox-repository; vox-compiler → vox-repository; vox-corpus → vox-repository; vox-db…vox-repositoryvox-bounded-fsvox-configvox-clivox-cli-civox-cli-corevox-cli-researchvox-codegenvox-compilervox-corpusvox-dbvox-doc-inventoryvox-guivox-integration-testsvox-ml-cli
Diagram source
graph {
direction: right
node vox_repository: "vox-repository"
node vox_bounded_fs: "vox-bounded-fs"
vox_repository -> vox_bounded_fs
node vox_config: "vox-config"
vox_repository -> vox_config
node vox_cli: "vox-cli"
vox_cli -> vox_repository
node vox_cli_ci: "vox-cli-ci"
vox_cli_ci -> vox_repository
node vox_cli_core: "vox-cli-core"
vox_cli_core -> vox_repository
node vox_cli_research: "vox-cli-research"
vox_cli_research -> vox_repository
node vox_codegen: "vox-codegen"
vox_codegen -> vox_repository
node vox_compiler: "vox-compiler"
vox_compiler -> vox_repository
node vox_corpus: "vox-corpus"
vox_corpus -> vox_repository
node vox_db: "vox-db"
vox_db -> vox_repository
node vox_doc_inventory: "vox-doc-inventory"
vox_doc_inventory -> vox_repository
node vox_gui: "vox-gui"
vox_gui -> vox_repository
node vox_integration_tests: "vox-integration-tests"
vox_integration_tests -> vox_repository
node vox_ml_cli: "vox-ml-cli"
vox_ml_cli -> vox_repository
}
Consumer CrateRole
vox-cliDirect workspace dependent
vox-cli-ciDirect workspace dependent
vox-cli-coreDirect workspace dependent
vox-cli-researchDirect workspace dependent
vox-codegenDirect workspace dependent
vox-compilerDirect workspace dependent
vox-corpusDirect workspace dependent
vox-dbDirect workspace dependent
vox-doc-inventoryDirect workspace dependent
vox-guiDirect workspace dependent
vox-integration-testsDirect workspace dependent
vox-ml-cliDirect workspace dependent
vox-orchestratorDirect workspace dependent
vox-orchestrator-dDirect workspace dependent
vox-orchestrator-driverDirect workspace dependent
vox-orchestrator-mcpDirect workspace dependent
vox-plugin-populi-meshDirect workspace dependent
vox-populiDirect workspace dependent
vox-populi-typesDirect workspace dependent
vox-project-scaffoldDirect workspace dependent
KindSymbolSignatureSourceDescription
structRepositoryContextpub struct RepositoryContextcrates/vox-repository/src/lib.rs#L141-L156Fully resolved repository context for tooling (MCP, sessions, affinity).
structgpu_inventory::GpuInventorySnapshotpub struct GpuInventorySnapshotcrates/vox-repository/src/gpu_inventory.rs#L10-L19Driver-visible NVIDIA inventory snapshot (Layer A — probe-backed).
fngpu_inventory::probe_nvidia_gpu_inventory_best_effortpub fn probe_nvidia_gpu_inventory_best_effort() -> Option<GpuInventorySnapshot>crates/vox-repository/src/gpu_inventory.rs#L27-L29Probe NVIDIA GPUs via NVML. NVML probing has moved to vox-plugin-nvml-probe. This stub always returns None. Callers should migrate to plugin-host dispatch via VoxPlugin::as_hardware_probe() to get live GPU inventory.
structpopuli_toml::VoxMeshTransportpub struct VoxMeshTransportcrates/vox-repository/src/populi_toml.rs#L13-L24Mesh transport options (TLS, WireGuard hints).
structpopuli_toml::VoxMeshTomlpub struct VoxMeshTomlcrates/vox-repository/src/populi_toml.rs#L29-L49Parsed mesh coordination table from Vox.toml ([mesh] or legacy [mens]).
enumpopuli_toml::VoxMeshTomlErrorpub enum VoxMeshTomlErrorcrates/vox-repository/src/populi_toml.rs#L53-L63Error reading or parsing Vox.toml for the mesh section only.
typepopuli_toml::MeshTomlpub type MeshToml = VoxMeshTomlcrates/vox-repository/src/populi_toml.rs#L66English-first alias for [VoxMeshToml] (same type).
typepopuli_toml::MeshTomlErrorpub type MeshTomlError = VoxMeshTomlErrorcrates/vox-repository/src/populi_toml.rs#L68English-first alias for [VoxMeshTomlError] (same type).
fnpopuli_toml::read_vox_populi_tomlpub fn read_vox_populi_toml(path: &Path) -> Result<Option<VoxMeshToml>, VoxMeshTomlError>crates/vox-repository/src/populi_toml.rs#L90-L124Read [mesh] or legacy [mens] from path (typically .../Vox.toml). Returns None if the file or both sections are missing / empty.