Expand description
convergio-mesh โ Peer discovery, delta sync, delegation tracking.
Implements Extension: owns mesh_sync_stats, peer_heartbeats, host_heartbeats, mesh_peer_state, coordinator_events, delegation_progress.
Modulesยง
- auth
- Mesh peer authentication via HMAC-SHA256 challenge-response.
Pre-shared key loaded from peers.conf
[mesh]section. - capability_
registry - Capability registry: CRUD and query operations on node_capabilities.
- capability_
routes - HTTP API routes for the node capability registry.
- capability_
types - Types for the node capability registry.
- convergence
- Post-sync convergence verification.
- delegation
- Delegation progress tracking.
- error
- General mesh error type covering auth, config, db, io, network.
- ext
- MeshExtension: Extension trait implementation.
- mcp_
defs - MCP tool definitions for the mesh extension.
- peers_
parser - INI parser and serialiser for ~/.claude/config/peers.conf.
- peers_
registry - PeersRegistry: load, save, and mutation operations.
- peers_
types - Peer configuration types for peers.conf INI format.
- routes
- HTTP API routes for mesh sync and peer management.
- routes_
cross_ poll - Cross-poll routes: query local or remote plan summary via mesh proxy.
- routes_
role_ config - HTTP API routes for mesh node role configuration.
- routes_
sync_ repo - POST /api/mesh/sync-repo โ git pull + rebuild + CLI update on THIS node. SECURITY: This endpoint executes system commands and MUST require auth.
- schema
- Mesh DB migrations: peer heartbeats, sync stats, convergence, coordinator events, delegation progress.
- sync
- HTTP LWW sync loop: timestamp-based peer replication.
- sync_
apply - Sync data exchange: export local changes, apply remote changes.
- sync_
cursor - Sync cursor advance rule.
- sync_
loop - Background mesh sync loop.
- transport
- HTTP transport helpers for background sync.
- types
- Shared mesh types: sync metadata, change records, stats, delegation.