Skip to content

The agent that grows with you

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

hermes-seaeye[bot]bbb7b607b4c1
diff --git a/apps/desktop/electron/main.ts b/apps/desktop/electron/main.ts
index 91b3224f5c4..85bec536387 100644
--- a/apps/desktop/electron/main.ts
+++ b/apps/desktop/electron/main.ts
@@ -4886,9 +4886,7 @@ function downloadViaTokenToFile(url, token, ctx, options: any = {}) {
parsed,
{
method: 'GET',
- headers: options.bearer
- ? { Authorization: `Bearer ${options.bearer}` }
- : { 'X-Hermes-Session-Token': token }
+ headers: options.bearer ? { Authorization: `Bearer ${options.bearer}` } : { 'X-Hermes-Session-Token': token }
},
res => {
// Headers arrived — the connection phase is done. Drop the idle timeout
diff --git a/apps/desktop/src/lib/svg-image.test.ts b/apps/desktop/src/lib/svg-image.test.ts
index 03e0fc33c92..2e81a5958c0 100644
--- a/apps/desktop/src/lib/svg-image.test.ts
+++ b/apps/desktop/src/lib/svg-image.test.ts
@@ -43,8 +43,8 @@ describe('normalizeSvgSize', () => {
})
it('leaves an explicit pixel height when only width is a percentage', () => {
- const svg =
- '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="70" viewBox="0 0 500 200"><rect/></svg>'
+ const svg = '<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="70" viewBox="0 0 500 200"><rect/></svg>'
+
const out = normalizeSvgSize(svg)
expect(out).toContain('width="500"')
diff --git a/apps/desktop/src/store/session-dot-state.test.ts b/apps/desktop/src/store/session-dot-state.test.ts
index 81f20f9b0b0..52b614ecf4c 100644
--- a/apps/desktop/src/store/session-dot-state.test.ts
+++ b/apps/desktop/src/store/session-dot-state.test.ts
@@ -4,7 +4,13 @@ import { createClientSessionState } from '@/lib/chat-runtime'
import type { SessionInfo } from '@/types/hermes'
import { $sessions, $unreadFinishedSessionIds, setSessions } from './session'
-import { $delegatingSessionIds, $sessionDotStateById, hasLiveTurn, showsRunningArc, unreadSessionCount } from './session-dot-state'
+import {
+ $delegatingSessionIds,
+ $sessionDotStateById,
+ hasLiveTurn,
+ showsRunningArc,
+ unreadSessionCount
+} from './session-dot-state'
import { clearAllSessionStates, publishSessionState } from './session-states'
import { $unreadWriteGuard } from './session-unread-remote'
import { $subagentsBySession, type SubagentProgress } from './subagents'