Commit Graph
353 Commits
  • feat: add workflow console connection flow
    - Browser DTO contracts (ConnectionSuccess, ApiFailure, OperationName)
    - API client with fetch-json wrapper and typed failure responses
    - Reducer state machine with 7 connection phases and session persistence
    - ConnectionHeader component with form, status display, and aria-live region
    - 27 console tests passing (7 reducer, 7 API client, 6 component, 7 misc)
    - All typecheck clean across RPC, server, and console packages
  • feat: expose workflow console api and RPC service with @effect/rpc
    - Replace manual JSON-RPC protocol handling with @effect/rpc typed RPCs
    - Add evidence capture layer (per-call Ref, response body buffering/reconstruction)
    - Add service module with typed dispatch and layer composition via Layer.mergeAll
    - Add Hono API with /api/health, /api/connect, /api/rpc routes
    - Add browser DTO contracts, error mapping, body size limits
    - Add 13 Hono route tests and 12 target-policy tests passing
    - Delete old protocol.ts and protocol.test.ts (replaced by rpcs.ts/service.ts)