ahp 0.1.0

Agent Host Protocol SDK — transport-agnostic client, reducers, and JSON-RPC plumbing.
Documentation

Agent Host Protocol SDK — transport-agnostic client, reducers, and JSON-RPC plumbing.

This crate builds on [ahp_types] and adds:

  • [reducers] — pure state reducers ported from types/reducers.ts
  • [transport] — pluggable [transport::Transport] trait for any framed byte stream (WebSocket, TCP, stdio, …)
  • [client] — async JSON-RPC client with action subscription, write-ahead dispatch, and reconnect/replay
  • [error] — error types returned by the client and reducers