Skip to content

The agent that grows with you

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

hermes-seaeye[bot]3729602dc9c1
diff --git a/apps/desktop/src/api/sessions.test.ts b/apps/desktop/src/api/sessions.test.ts
index e151dc58da3..424ac0558f3 100644
--- a/apps/desktop/src/api/sessions.test.ts
+++ b/apps/desktop/src/api/sessions.test.ts
@@ -327,9 +327,7 @@ describe('searchSessions profile scope', () => {
it('searches the given profile instead of the primary backend', async () => {
// Unscoped, the primary searched its launch profile while the sidebar showed another.
hermesApi.mockResolvedValue({ results: [] } as never)
- vi.mocked(client.profileScoped).mockImplementation(profile =>
- profile ? { priority: 'foreground', profile } : {}
- )
+ vi.mocked(client.profileScoped).mockImplementation(profile => (profile ? { priority: 'foreground', profile } : {}))
await searchSessions('zebra', 'research')
diff --git a/apps/desktop/src/components/provider-status-chip.tsx b/apps/desktop/src/components/provider-status-chip.tsx
index 7494be035fa..75285460f43 100644
--- a/apps/desktop/src/components/provider-status-chip.tsx
+++ b/apps/desktop/src/components/provider-status-chip.tsx
@@ -45,6 +45,7 @@ function useChipState(provider: ModelOptionProvider): ChipState | null {
}
const reset = (ms: null | number) => (ms === null ? null : formatReset(ms))
+
const lines = [
copy.usageTip(provider.name),
...windows.map(w => copy.usageWindow(w.label, w.remaining, reset(w.resetMs)))