Skip to content

The agent that grows with you

fmt(js): `npm run fix` on merge (#73960)

hermes-seaeye[bot]7d3075d0d5e6
diff --git a/apps/desktop/electron/main.ts b/apps/desktop/electron/main.ts
index 50a6f040d25..80d77d4a34a 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 f8dcd793381..63dd426068b 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 (
<Popover onOpenChange={setOpen} open={open}>
@@ -98,7 +97,10 @@ export function ComboboxInput({
}}
value={option}
>
- <Codicon className={cn('mr-2 size-4', option === value ? 'opacity-100' : 'opacity-0')} name="check" />
+ <Codicon
+ className={cn('mr-2 size-4', option === value ? 'opacity-100' : 'opacity-0')}
+ name="check"
+ />
<span className="truncate">{optionLabels?.[option] ?? option}</span>
</CommandItem>
))}
diff --git a/apps/desktop/src/app/settings/toolset-config-panel.tsx b/apps/desktop/src/app/settings/toolset-config-panel.tsx
index d0c92957c6d..382e7670957 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}
</Pill>
) : (
- <Button
- disabled={selecting !== null}
- onClick={() => void handleSelect(provider)}
- size="sm"
- >
+ <Button disabled={selecting !== null} onClick={() => void handleSelect(provider)} size="sm">
{selecting === provider.name ? <Loader2 className="size-3.5 animate-spin" /> : <Check />}
{copy.useBackend}
</Button>
diff --git a/ui-tui/src/__tests__/createGatewayEventHandler.test.ts b/ui-tui/src/__tests__/createGatewayEventHandler.test.ts
index 06460a18828..404aac38603 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()
})