Skip to main content

Crate arbor_server

Crate arbor_server 

Source
Expand description

Arbor Server - WebSocket server for the Arbor Protocol

This crate implements the server side of the Arbor Protocol, allowing AI agents and IDE integrations to query the code graph.

The server supports:

  • Multiple concurrent connections
  • JSON-RPC 2.0 messages
  • Real-time graph updates via subscriptions
  • File watching with debounced re-indexing

Re-exports§

pub use sync_server::BroadcastMessage;
pub use sync_server::FocusNodePayload;
pub use sync_server::GraphUpdatePayload;
pub use sync_server::IndexerStatusPayload;
pub use sync_server::SyncServer;
pub use sync_server::SyncServerConfig;
pub use sync_server::SyncServerHandle;

Modules§

sync_server
Real-time sync server for the Arbor Visualizer.

Structs§

ArborServer
The Arbor WebSocket server.
Request
A JSON-RPC request.
Response
A JSON-RPC response.
RpcError
A JSON-RPC error.
ServerConfig
Server configuration.

Enums§

ServerMessage
Server-to-client messages.

Type Aliases§

SharedGraph
Shared graph state across connections.