mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
15 lines
541 B
TypeScript
15 lines
541 B
TypeScript
/**
|
|
* The /api URL prefix — single source for both halves of the web transport.
|
|
* The node half registers this prefix on the web server; both halves share the
|
|
* event paths below for the browser WebSocket downlinks.
|
|
*/
|
|
|
|
/** Route prefix owning every api request (`/api` and `/api/<anything>`). */
|
|
export const API_PATH = '/api'
|
|
|
|
/** Browser mux-frame WebSocket pathname. */
|
|
export const MUX_EVENTS_PATH = `${API_PATH}/events.mux`
|
|
|
|
/** Browser host-frame WebSocket pathname. */
|
|
export const HOST_EVENTS_PATH = `${API_PATH}/events.host`
|