NODEDC_PLATFORM/services/ai-workspace-hub
Codex 999fe4d906 feat: add AI Workspace npm bridge setup 2026-06-24 20:40:12 +03:00
..
src feat: add AI Workspace npm bridge setup 2026-06-24 20:40:12 +03:00
Dockerfile Add platform AI Workspace Hub 2026-05-30 13:28:23 +03:00
README.md Add platform AI Workspace Hub 2026-05-30 13:28:23 +03:00
package-lock.json Add platform AI Workspace Hub 2026-05-30 13:28:23 +03:00
package.json Add platform AI Workspace Hub 2026-05-30 13:28:23 +03:00

README.md

NODE.DC AI Workspace Hub

Public rendezvous and relay service for AI Workspace Codex workers.

The service is intentionally thin:

  • Windows Codex agents connect outbound over WebSocket.
  • Engine talks to the hub over internal HTTP endpoints.
  • The hub routes requests, public reasoning events, final responses and stop commands by pairing code.
  • The hub does not run Codex and does not store project files.

Public WebSocket

wss://ai-hub.nodedc.ru/api/ai-workspace/hub?pairingCode=<code>&machineName=<name>

Synology terminates TLS and proxies the request to this service over HTTP.

Internal HTTP

All internal API routes require Authorization: Bearer <AI_WORKSPACE_HUB_TOKEN> when AI_WORKSPACE_HUB_TOKEN is configured.

GET  /healthz
GET  /api/ai-workspace/hub/v1/agents/:pairingCode
GET  /api/ai-workspace/hub/v1/agents/:pairingCode/events?since=0&limit=100
POST /api/ai-workspace/hub/v1/agents/:pairingCode/request
POST /api/ai-workspace/hub/v1/agents/:pairingCode/dispatch

request waits for the worker response. dispatch returns immediately and keeps events available for polling.