From 115367db133676296f01a7556192976d145797f3 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 10 Feb 2026 14:37:46 +0000 Subject: [PATCH] Document runtime-core shared service package in repo guides Co-authored-by: Theo Browne --- AGENTS.md | 3 ++- README.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 3b80f7a0fd..5727261da6 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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) diff --git a/README.md b/README.md index 75df9cc8ca..5b083b43fa 100644 --- a/README.md +++ b/README.md @@ -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