Implement B-Tree style index: - Path to CID mapping (exact lookup) - List by prefix (directory listing) - Glob pattern matching (* and ? wildcards) - Insert, remove, paths operations Supports hierarchical addressing: /agents/frankie/tasks Refs RFC-NCP-001 L1 Index Developed with Frankie assistance |
||
|---|---|---|
| .. | ||
| src | ||
| README.md | ||
README.md
NCP Core Types
This directory contains the Nexus Context Protocol prototype implementation.
Structure
src/types.nim- Core types (CID, ContextNode, Path)src/l0_storage.nim- File backend, CID generation (Blake3)src/l1_index.nim- B-Tree index, path-based addressingtests/test_ncp.nim- Unit tests
Status
Feature 1 (Core Types): In Progress