Skip to content

The agent that grows with you

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

hermes-seaeye[bot]c3a4bba74dc6
diff --git a/apps/desktop/src/app/shell/hooks/use-statusbar-items.test.tsx b/apps/desktop/src/app/shell/hooks/use-statusbar-items.test.tsx
index 446af4ad21a..a7758f40552 100644
--- a/apps/desktop/src/app/shell/hooks/use-statusbar-items.test.tsx
+++ b/apps/desktop/src/app/shell/hooks/use-statusbar-items.test.tsx
@@ -168,7 +168,9 @@ describe('statusbar workspace menu — change working directory', () => {
item?.onSelect?.()
await vi.waitFor(() => expect(changeSessionCwd).toHaveBeenCalledWith('/opt/data/profiles/austin', undefined))
- expect(selectDesktopPaths).toHaveBeenCalledWith(expect.objectContaining({ defaultPath: '/opt/data', directories: true }))
+ expect(selectDesktopPaths).toHaveBeenCalledWith(
+ expect.objectContaining({ defaultPath: '/opt/data', directories: true })
+ )
})
it("targets a focused tile's own runtime, and is absent for a cold tile or another gateway's tile", async () => {
diff --git a/apps/desktop/src/store/onboarding.ts b/apps/desktop/src/store/onboarding.ts
index f8f5f13aa2f..9f1551fad45 100644
--- a/apps/desktop/src/store/onboarding.ts
+++ b/apps/desktop/src/store/onboarding.ts
@@ -1395,11 +1395,9 @@ export async function confirmOnboardingModel(ctx: OnboardingContext) {
// this file's non-blocking gateway calls. The alternative (silently
// keeping the previous default) is still safer than the bug this fixes.
try {
- const res = await setMainModelAssignment(
- { provider: flow.providerSlug, model: flow.currentModel },
- undefined,
- { skipConfirmPrompt: true }
- )
+ const res = await setMainModelAssignment({ provider: flow.providerSlug, model: flow.currentModel }, undefined, {
+ skipConfirmPrompt: true
+ })
notifyGatewayTools(res.gateway_tools)
} catch (error) {