libertaria-stack/ncp-prototype
Markus Maiwald 514e521abe feat(ncp): add L1 index layer with path-based addressing
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
2026-02-02 12:19:40 +01:00
..
src feat(ncp): add L1 index layer with path-based addressing 2026-02-02 12:19:40 +01:00
README.md feat(ncp): add core types for Nexus Context Protocol 2026-02-02 12:09:38 +01:00

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 addressing
  • tests/test_ncp.nim - Unit tests

Status

Feature 1 (Core Types): In Progress