Add Sse Endpoint

Add a Server-Sent Events (SSE) endpoint that stays inside the OpenAPI-driven contract. Use when the user wants streaming/long-lived push from Go to the renderer and WebSocket is not required. Covers registering `text/event-stream` in Huma, declaring a discriminated-union event schema, and writing the thin TS parser since `openapi-typescript` only types the stream body as `string`.

zerx-lab 7313ea1 5.0 KB Updated

File contents

zerx-lab/zpass/tree/main/desktop/.agents/skills/add-sse-endpoint commit 7313ea129d

Frequently asked questions

npx skillmds@latest add zerx-lab/add-sse-endpoint