agentmux_srv_core/registry/
mod.rs1#![allow(dead_code, unused_imports)]
19
20pub mod atomic;
21pub mod complete_enumeration;
22pub mod def_migrate;
23pub mod def_record_lock;
24pub mod def_schema;
25pub mod def_slug_index;
26pub mod def_store;
27pub mod leases;
28pub(crate) use leases::{lock_exclusive, try_lock_exclusive, try_lock_exclusive_range};
31pub mod migrate;
32pub mod paths;
33pub mod schema;
34pub mod shared_guard;
35pub mod store;
36pub mod unreadable;
37pub mod work_store;
38
39#[cfg(test)]
40mod tests;
41
42#[cfg(test)]
43pub(crate) mod upgrade_shapes_tests;
44
45pub use unreadable::UnreadableRecord;
46pub use migrate::{
47 backfill_source_bases_once, enumerate_objects_dbs, migrate_from_sqlite_once, MigrateStats,
48 SourceBackfillStats,
49};
50pub use paths::{
51 resolve_identity_store_path, resolve_isolated_work_store_path, resolve_shared_definitions_dir, resolve_shared_instances_dir, resolve_shared_lan_instances_dir,
52 resolve_shared_reactive_dir, resolve_shared_registry_dir, resolve_shared_store_path,
53 resolve_shared_transcripts_dir,
54};
55pub use paths::{resolve_global_shared_root, shared_root_ignoring_deferral};
59pub use complete_enumeration::enumerate_objects_dbs_complete;
60pub use def_migrate::{migrate_definitions_global_once, DefMigrateStats};
61pub use def_schema::{
62 DefContentBlob, DefSkillBlob, DefValidationError, DefinitionRecord, DefinitionRecordV1,
63 FormerSlug, AgentSeat, Handover, DEF_MAX_SUPPORTED_SCHEMA, DEF_MIN_SUPPORTED_SCHEMA,
64};
65pub use def_slug_index::SlugEntry;
66pub use def_store::{record_bytes, DefStoreError, DefinitionStore, LockedRecord, SlugAllocationLock};
67pub use leases::{ClaimantInfo, Lease, LeaseError, LeaseHolder, LeaseStore, LEASE_TTL_MS, RENEW_INTERVAL_MS};
68pub use schema::{
69 NamedAgentRecord, NamedAgentRecordV1, ValidationError, MAX_SUPPORTED_SCHEMA,
70 MIN_SUPPORTED_SCHEMA,
71};
72pub use store::{RecordScope, Registry, RegistryError};