weave-crdt 0.2.6

CRDT-based coordination for multi-agent code editing. Entity-level claims, conflict detection, and version tracking.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub mod error;
pub mod ops;
pub mod state;
pub mod sync;

pub use error::{Result, WeaveError};
pub use ops::{
    agent_heartbeat, claim_entity, cleanup_stale_agents, detect_potential_conflicts,
    get_agent_status, get_entities_for_file, get_entity_status, record_modification,
    register_agent, release_entity, upsert_entity, AgentStatus, ClaimResult, EntityStatus,
    PotentialConflict,
};
pub use state::EntityStateDoc;
pub use sync::{extract_entity_ids, resolve_entity_id, sync_from_files};

#[cfg(any(test, feature = "test-helpers"))]
pub use ops::set_agent_last_seen;