@devries-cameron20 / t3code Mirror · read-only / commits / a999933297
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 25, 18:30 UTC

Fix web typecheck for optional script env

Only pass extraEnv to projectScriptRuntimeEnv when defined to satisfy exactOptionalPropertyTypes in CI. Co-authored-by: codex <codex@users.noreply.github.com>

Julius Marminge committed Feb 17, 2026 at 21:07 UTC a999933297969e269a15cda37c4999bc3b8d8c93
1 file changed +1 -1
apps/web/src/components/ChatView.tsx
+1 -1
@@ -702,7 +702,7 @@ export default function ChatView() {
702 script,
703 threadId: activeThreadId,
704 worktreePath: activeThread.worktreePath ?? null,
705 - extraEnv: options?.env,
705 + ...(options?.env ? { extraEnv: options.env } : {}),
706 }),
707 );
708