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 <[email protected]>
This commit is contained in:
1 parent
ae27e0b57f
commit
dd1ab44137
2 files changed
+2
No files matched your search
@@ -14,6 +14,7 @@ const MODE_ARGS = {
|
||||
"--ui=tui",
|
||||
"--filter=@t3tools/contracts",
|
||||
"--filter=@t3tools/web",
|
||||
"--filter=@t3tools/desktop",
|
||||
"--filter=t3",
|
||||
"--parallel",
|
||||
],
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
"T3CODE_AUTH_TOKEN",
|
||||
"T3CODE_DESKTOP_WS_URL"
|
||||
],
|
||||
"globalPassThroughEnv": ["OPENAI_API_KEY"],
|
||||
"tasks": {
|
||||
"build": {
|
||||
"dependsOn": ["^build"],
|
||||
|
||||
Reference in new issue
Block a user