Document runtime-core shared service package in repo guides

Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
Cursor AgentandTheo Browne committed 2026-02-10 14:37:46 +00:00
1 parent 1bf5a4e389
commit 115367db13
2 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -17,9 +17,10 @@ If a tradeoff is required, choose correctness and robustness over short-term con
## Package Roles
- `apps/t3`: Node CLI/runtime. Owns WebSocket server lifecycle, browser launch, and RPC routing.
- `apps/desktop`: Runtime internals (provider/session/process managers) used by `apps/t3`.
- `apps/desktop`: Runtime internals (provider/session orchestration and Codex app-server manager) used by `apps/t3`.
- `apps/renderer`: React/Vite UI. Owns session UX, conversation/event rendering, and client-side state.
- `packages/contracts`: Shared Zod schemas and TypeScript contracts for provider events, WebSocket payloads, and model/session types.
- `packages/runtime-core`: Shared Node runtime services (`ProcessManager`, `TodoStore`) reused by `apps/t3` and `apps/desktop`.
## Codex App Server (Important)
+2 -1
View File
@@ -52,9 +52,10 @@ Runtime command semantics:
## Workspace layout
- `/apps/t3`: CLI launcher + local WebSocket runtime server.
- `/apps/desktop`: Runtime internals used by `t3` (no Electron app shell).
- `/apps/desktop`: Runtime internals used by `t3` (provider orchestration and Codex app-server lifecycle; no Electron app shell).
- `/apps/renderer`: React + Vite UI for session control, conversation, and protocol event stream.
- `/packages/contracts`: shared Zod schemas + TypeScript types for WS protocol, provider events, and API contracts.
- `/packages/runtime-core`: shared Node runtime services (`ProcessManager`, `TodoStore`) consumed by both `apps/t3` and `apps/desktop`.
## Codex prerequisites