From dd1ab44137d42c93fdf26520632a62293e6ffdd5 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sat, 28 Feb 2026 02:16:58 +0000 Subject: [PATCH] Include desktop app in default dev mode and pass OPENAI_API_KEY through turbo - Add --filter=@t3tools/desktop to the dev mode in dev-runner so 'bun run dev' also spins up the Electron app alongside contracts, web, and server. - Add OPENAI_API_KEY to globalPassThroughEnv in turbo.json so the Codex CLI receives the key when spawned by the server process (turbo strict env mode strips undeclared vars from child processes). Co-authored-by: Theo Browne --- scripts/dev-runner.mjs | 1 + turbo.json | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/dev-runner.mjs b/scripts/dev-runner.mjs index 5020bea97c..f6237a169c 100644 --- a/scripts/dev-runner.mjs +++ b/scripts/dev-runner.mjs @@ -14,6 +14,7 @@ const MODE_ARGS = { "--ui=tui", "--filter=@t3tools/contracts", "--filter=@t3tools/web", + "--filter=@t3tools/desktop", "--filter=t3", "--parallel", ], diff --git a/turbo.json b/turbo.json index 671336afae..623b286549 100644 --- a/turbo.json +++ b/turbo.json @@ -13,6 +13,7 @@ "T3CODE_AUTH_TOKEN", "T3CODE_DESKTOP_WS_URL" ], + "globalPassThroughEnv": ["OPENAI_API_KEY"], "tasks": { "build": { "dependsOn": ["^build"],