From 7d3075d0d5e64e2c14bcb93809c2f6588e8cfde4 Mon Sep 17 00:00:00 2001 From: "hermes-seaeye[bot]" <307254004+hermes-seaeye[bot]@users.noreply.github.com> Date: Wed, 29 Jul 2026 07:13:20 +0000 Subject: [PATCH] fmt(js): `npm run fix` on merge (#73960) Co-authored-by: github-actions[bot] --- apps/desktop/electron/main.ts | 4 +--- apps/desktop/src/app/settings/combobox-input.tsx | 8 +++++--- apps/desktop/src/app/settings/toolset-config-panel.tsx | 6 +----- ui-tui/src/__tests__/createGatewayEventHandler.test.ts | 4 +--- 4 files changed, 8 insertions(+), 14 deletions(-) diff --git a/apps/desktop/electron/main.ts b/apps/desktop/electron/main.ts index 50a6f040d25b..80d77d4a34a6 100644 --- a/apps/desktop/electron/main.ts +++ b/apps/desktop/electron/main.ts @@ -8039,9 +8039,7 @@ async function spawnPoolBackend(profile, entry) { onWaitTick: reason => { if (!poolAnnounced) { poolAnnounced = true - rememberLog( - `[updates] update in progress (${reason}); deferring pool backend start for profile "${profile}"` - ) + rememberLog(`[updates] update in progress (${reason}); deferring pool backend start for profile "${profile}"`) } }, pollMs: UPDATE_WAIT_POLL_MS, diff --git a/apps/desktop/src/app/settings/combobox-input.tsx b/apps/desktop/src/app/settings/combobox-input.tsx index f8dcd7933817..63dd426068b1 100644 --- a/apps/desktop/src/app/settings/combobox-input.tsx +++ b/apps/desktop/src/app/settings/combobox-input.tsx @@ -40,8 +40,7 @@ export function ComboboxInput({ const query = value.trim().toLowerCase() const isExact = options.some(option => option.toLowerCase() === query) - const visible = - query && !isExact ? options.filter(option => option.toLowerCase().includes(query)) : options + const visible = query && !isExact ? options.filter(option => option.toLowerCase().includes(query)) : options return ( @@ -98,7 +97,10 @@ export function ComboboxInput({ }} value={option} > - + {optionLabels?.[option] ?? option} ))} diff --git a/apps/desktop/src/app/settings/toolset-config-panel.tsx b/apps/desktop/src/app/settings/toolset-config-panel.tsx index d0c92957c6df..382e76709570 100644 --- a/apps/desktop/src/app/settings/toolset-config-panel.tsx +++ b/apps/desktop/src/app/settings/toolset-config-panel.tsx @@ -798,11 +798,7 @@ export function ToolsetConfigPanel({ toolset, onConfiguredChange }: ToolsetConfi {copy.activeBackendHint} ) : ( - diff --git a/ui-tui/src/__tests__/createGatewayEventHandler.test.ts b/ui-tui/src/__tests__/createGatewayEventHandler.test.ts index 06460a188289..404aac38603f 100644 --- a/ui-tui/src/__tests__/createGatewayEventHandler.test.ts +++ b/ui-tui/src/__tests__/createGatewayEventHandler.test.ts @@ -889,9 +889,7 @@ describe('createGatewayEventHandler', () => { onEvent({ payload: { text: 'stop the docker container' }, type: 'voice.transcript' } as any) - await vi.waitFor(() => - expect(ctx.submission.submitRef.current).toHaveBeenCalledWith('stop the docker container') - ) + await vi.waitFor(() => expect(ctx.submission.submitRef.current).toHaveBeenCalledWith('stop the docker container')) expect(ctx.voice.setVoiceEnabled).not.toHaveBeenCalled() })