Browser surface
apps/chat-web owns the hosted workspace UI, session navigation, runtime panels, and artifact presentation without duplicating persistence logic.
onesagent separates public browser UX from durable control-plane state and runtime execution. The gateway owns sessions and SSE, while workers prepare scoped workspaces and dispatch runtime jobs.
apps/chat-web owns the hosted workspace UI, session navigation, runtime panels, and artifact presentation without duplicating persistence logic.
apps/chat-gateway owns browser-facing APIs, session history, jobs, runs, uploads, SSE delivery, and scoped runtime settings.
apps/worker-cluster prepares workspace custody, dispatches runtime adapters, collects artifacts, and keeps execution separate from the browser surface.
Each page is written around hosted workspace, persistent session, multi-runtime, runtime-native, browser access, durable job, artifact, and SSE search intent.
Runtime execution belongs in the worker-cluster through adapter-mediated lanes, not in the browser or gateway.
The gateway is the durable control-plane boundary for sessions, jobs, persistence, uploads, and browser-facing event streams.