acp-http-adapter
Minimal ACP HTTP to stdio proxy.
Endpoints
GET /v1/healthPOST /v1/rpcGET /v1/rpc(SSE)DELETE /v1/rpc
Stdio framing
Uses ACP stdio framing from ACP docs:
- UTF-8 JSON-RPC messages
- one message per line
- newline-delimited (
\n) - no embedded newlines in messages
Run
--registry-json accepts:
- full registry document (
{"agents":[...]}) with--registry-agent-id - single registry entry (
{"id":"...","distribution":...}) - direct distribution object (
{"npx":...}or{"binary":...})
Library
use Duration;
use ;
run_server.await?;