From 609582da97ee272f3eee1aeeb6c38cf17871a867 Mon Sep 17 00:00:00 2001 From: CommandCodeBot Date: Thu, 18 Jun 2026 08:16:18 +0530 Subject: [PATCH] Fix KeybindingsToast browser fixture to include commandCode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ServerSettingsSchema in packages/contracts/src/settings.ts already requires `commandCode` in `providers` (it landed in "Add Command Code provider" — 2080dba5), but the test fixture in apps/web/src/components/KeybindingsToast.browser.tsx was never updated to match. With strict TS, that produced: src/components/KeybindingsToast.browser.tsx(146,7): error TS2741: Property 'commandCode' is missing in type ... but required in type ... and broke the Check job in CI. Add the missing commandCode block to the fixture, matching the defaults declared on CommandCodeSettings (enabled=true, skipOnboarding=true, maxTurns=25, printTimeoutMs=180_000). Co-authored-by: CommandCodeBot --- apps/web/src/components/KeybindingsToast.browser.tsx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/apps/web/src/components/KeybindingsToast.browser.tsx b/apps/web/src/components/KeybindingsToast.browser.tsx index 12781005333..75ee65a3eda 100644 --- a/apps/web/src/components/KeybindingsToast.browser.tsx +++ b/apps/web/src/components/KeybindingsToast.browser.tsx @@ -167,6 +167,16 @@ function createBaseServerConfig(): ServerConfig { serverPassword: "", customModels: [], }, + commandCode: { + enabled: true, + binaryPath: "", + autoAccept: false, + trustProject: false, + skipOnboarding: false, + maxTurns: 25, + printTimeoutMs: 180_000, + customModels: [], + }, }, }, };