arbor-server

Crates.ioarbor-server
lib.rsarbor-server
version1.0.1
created_at2026-01-05 12:09:32.892812+00
updated_at2026-01-07 18:49:40.530731+00
descriptionWebSocket server implementing the Arbor Protocol
homepage
repository
max_upload_size
id2023708
size94,254
Anand B (Anandb71)

documentation

README

Arbor

arbor-server

WebSocket server for Arbor
Real-time graph queries for IDEs and visualizers

Crates.io License


Overview

arbor-server exposes the Arbor graph over WebSocket, enabling:

  • VS Code Extension: Live code highlighting
  • Logic Forest Visualizer: Real-time graph rendering
  • Custom Clients: Any tool that speaks JSON-RPC

Protocol

Default: ws://localhost:7432

Method Description
discover Find architectural entry points
impact Calculate blast radius of changes
context Get ranked context for AI prompts
graph.subscribe Stream live graph updates
spotlight Highlight a node across clients

Message Format

{
  "jsonrpc": "2.0",
  "method": "context",
  "params": { "node": "auth::validate", "depth": 2 },
  "id": 1
}

Usage

cargo install arbor-graph-cli
arbor serve  # Starts on ws://localhost:7432

Links

Commit count: 0

cargo fmt