feat(vela-gateway): add websocket session skeleton
This commit is contained in:
@@ -4,7 +4,16 @@
|
||||
|
||||
- `vela-ui` is implemented as a SvelteKit application
|
||||
- `vela-gateway` is implemented as a Fastify service
|
||||
- current integration work beyond the gateway HTTP baseline remains future implementation
|
||||
- `vela-gateway` now exposes `/ws` as the minimal WebSocket session entrypoint using the shared `@vela/protocol` contract
|
||||
- current integration work beyond the gateway WebSocket/session baseline remains future implementation
|
||||
|
||||
## Gateway Session Contract
|
||||
|
||||
- transport: WebSocket on `/ws`
|
||||
- session storage: in-memory only, one ephemeral record per live connection
|
||||
- message format: `@vela/protocol` `MessageEnvelope<{ type, payload }>`
|
||||
- current server behavior: acknowledge connect with `session.ready` and `session.state`
|
||||
- safety baseline: invalid JSON, invalid envelopes, and malformed frames return protocol errors or close that socket without taking down the service
|
||||
|
||||
## STT (Speech-to-Text)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user