@paulmh/agentbridge-client
v0.2.0
Published
Typed relay client and end-to-end encryption for Agent Bridge
Readme
@paulmh/agentbridge-client
Typed relay client and end-to-end encryption for Agent Bridge.
Extracted from the agentbridge CLI so other Node services can talk to the
relay directly. Provides:
BridgeCrypto— HKDF key derivation and AES-256-GCM envelope encryption per the normativecrypto-spec.md, guarded by the sharedtest-vectors.jsonconformance fixture.RelayClient— a typedfetchwrapper over the relay REST surface.RelayWebSocket— a reconnecting client for the relay's per-bridge push socket.
All content is encrypted client-side; the relay only ever sees ciphertext.
Install
npm install @paulmh/agentbridge-clientRequires Node 20+.
License
MIT
