PCP · pcp
PCP Registry — Capability Registry
Capability registry with DashMap backend — tracks all registered apps, their capabilities, and serves capability lookups for the PCP daemon.
pcp-registryv0.2.0pcp
1.9K
Lines of Code
65
Tests
12
Files
Architecture
Thin wrapper around DashMap with registry-specific operations.
Overview
pcp-registry provides the in-memory capability registry that the PCP daemon uses to track all known apps and their capabilities. It uses DashMap for lock-free concurrent access, supports capability registration/deregistration, and provides efficient lookup by app_id, capability_id, or category.
Data Flow
App detection → register capabilities in registry → daemon queries registry on invocation → dispatches to correct app
Dependencies
Internal (1)
External (4)
serde_json workspacetokio workspacedashmap workspacetracing workspace
Depends on pcp-core. External: dashmap (concurrent map).