Skip to main content

Module paths

Module paths 

Source
Expand description

Resolve the shared registry directory (<shared_home>/agents/registry/).

Functions§

resolve_global_shared_root đź”’
The global, channel-independent <home>/shared root. Deliberately UNAFFECTED by isolated_auth_enabled() — callers that need the true ~/.agentmux home (e.g. migrations/runner.rs’s MigrationContext.home) must call this directly rather than deriving it from resolve_shared_store_path(), which DOES vary with isolation.
resolve_identity_store_path
Resolve ~/.agentmux/shared/identity-store.db — the permanently-global store for agent→account links, bundles, drone definitions, muxbus credentials, per-agent M2M credentials, native memory, and cron jobs. See docs/specs/SPEC_IDENTITY_STORE_SPLIT_2026_08_17.md.
resolve_shared_definitions_dir
Resolve the GLOBAL <home>/shared/agents/definitions/ directory.
resolve_shared_lan_instances_dir
Resolve the GLOBAL <home>/shared/lan/instances/ directory: one file per LAN-enabled AgentMux instance on this host, so whichever instance holds the UDP probe port can list the others as siblings (SPEC_LAN_FLEET_FEED_2026_10_03.md §3). Beside agents/, not inside the reactive registry: these are instances, not agents.
resolve_shared_reactive_dir
Resolve the GLOBAL <home>/shared/agents/reactive/ directory — the cross-channel presence registry for live reactive-injection targets (agent_id -> local_url/block_id/pid/auth_key, one entry per channel), used by MuxBus Tier 2b same-host cross-channel delivery (issue #1916 / PR #2350) and by agent admission’s other-instance probe.
resolve_shared_registry_dir
Resolve the GLOBAL <home>/shared/agents/registry/ directory.
resolve_shared_store_path
Resolve ~/.agentmux/shared/store.db — the global store for accounts, bundles, drone definitions, and MuxBus credentials.
resolve_shared_transcripts_dir
Resolve the GLOBAL <home>/shared/agents/transcripts/ directory.