Description
Build a minimal v0.1 reference implementation of approvalprotocol using stdio transport (simplest to start).
Context
RFC-001 defines the protocol design. Now we need working code that others can fork, test, and extend. stdio transport is the easiest first target (no WebSocket complexity).
What to build
- Agent side: Send
approval.request over stdio, wait for response
- Approver side: Receive request, show prompt, send
approval.granted or approval.denied
- Use JSON-RPC 2.0 message format (per RFC-001)
- TypeScript implementation (Node.js)
- Basic CLI demo:
approver-stdio listens, agent-stdio sends test request
Acceptance Criteria
Resources
Good first issue: Foundational, clear spec to follow, enables others to build on top.
Description
Build a minimal v0.1 reference implementation of approvalprotocol using stdio transport (simplest to start).
Context
RFC-001 defines the protocol design. Now we need working code that others can fork, test, and extend. stdio transport is the easiest first target (no WebSocket complexity).
What to build
approval.requestover stdio, wait for responseapproval.grantedorapproval.deniedapprover-stdiolistens,agent-stdiosends test requestAcceptance Criteria
src/stdio/agent.tssends approval requestssrc/stdio/approver.tsreceives and respondsnode agent-stdio.js | node approver-stdio.jsResources
Good first issue: Foundational, clear spec to follow, enables others to build on top.