Skip to content

The agent that grows with you

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

hermes-seaeye[bot]07ed2fdb6047
diff --git a/apps/desktop/electron/bootstrap-platform.test.ts b/apps/desktop/electron/bootstrap-platform.test.ts
index 4cc206813e5..3c736e70173 100644
--- a/apps/desktop/electron/bootstrap-platform.test.ts
+++ b/apps/desktop/electron/bootstrap-platform.test.ts
@@ -88,19 +88,19 @@ test('detectRemoteDisplay honors the HERMES_DESKTOP_DISABLE_GPU override both wa
test('resolveLinuxPasswordStore applies known backends on linux', () => {
for (const store of ['gnome-libsecret', 'kwallet', 'kwallet5', 'kwallet6', 'basic']) {
- assert.deepEqual(
- resolveLinuxPasswordStore({ env: { HERMES_DESKTOP_PASSWORD_STORE: store }, platform: 'linux' }),
- { store, warning: null }
- )
+ assert.deepEqual(resolveLinuxPasswordStore({ env: { HERMES_DESKTOP_PASSWORD_STORE: store }, platform: 'linux' }), {
+ store,
+ warning: null
+ })
}
})
test('resolveLinuxPasswordStore is a no-op when the env var is unset', () => {
assert.deepEqual(resolveLinuxPasswordStore({ env: {}, platform: 'linux' }), { store: null, warning: null })
- assert.deepEqual(
- resolveLinuxPasswordStore({ env: { HERMES_DESKTOP_PASSWORD_STORE: ' ' }, platform: 'linux' }),
- { store: null, warning: null }
- )
+ assert.deepEqual(resolveLinuxPasswordStore({ env: { HERMES_DESKTOP_PASSWORD_STORE: ' ' }, platform: 'linux' }), {
+ store: null,
+ warning: null
+ })
})
test('resolveLinuxPasswordStore ignores the env var off linux', () => {
diff --git a/apps/desktop/electron/main.ts b/apps/desktop/electron/main.ts
index 23ad06c89bd..9c40a64739a 100644
--- a/apps/desktop/electron/main.ts
+++ b/apps/desktop/electron/main.ts
@@ -46,7 +46,12 @@ import {
} from './backend-probes'
import { waitForDashboardPortAnnouncement } from './backend-ready'
import { shouldLatchBackendStartFailure, shouldLatchRemoteReauthFailure } from './backend-start-failure'
-import { detectRemoteDisplay, isWindowsBinaryPathInWsl, isWslEnvironment, resolveLinuxPasswordStore } from './bootstrap-platform'
+import {
+ detectRemoteDisplay,
+ isWindowsBinaryPathInWsl,
+ isWslEnvironment,
+ resolveLinuxPasswordStore
+} from './bootstrap-platform'
import { decideBootstrapRepair } from './bootstrap-repair-guard'
import { runBootstrap } from './bootstrap-runner'
import { applyConnectionChange, resolveTerminalConnection } from './connection-apply'
diff --git a/apps/desktop/src/app/chat/composer/paste-to-focus.test.ts b/apps/desktop/src/app/chat/composer/paste-to-focus.test.ts
index b86c715561d..108d1dc75b9 100644
--- a/apps/desktop/src/app/chat/composer/paste-to-focus.test.ts
+++ b/apps/desktop/src/app/chat/composer/paste-to-focus.test.ts
@@ -1,10 +1,6 @@
import { afterEach, describe, expect, it, vi } from 'vitest'
-import {
- onComposerAttachImagesRequest,
- onComposerFocusRequest,
- onComposerInsertRequest
-} from './focus'
+import { onComposerAttachImagesRequest, onComposerFocusRequest, onComposerInsertRequest } from './focus'
import { handleWindowPaste, routeClipboardToComposer } from './paste-to-focus'
/** Minimal DataTransfer stand-in: text/plain + optional image file items. */
diff --git a/apps/desktop/src/app/chat/sidebar/session-row.tsx b/apps/desktop/src/app/chat/sidebar/session-row.tsx
index c02a9589cfb..5b547c5363a 100644
--- a/apps/desktop/src/app/chat/sidebar/session-row.tsx
+++ b/apps/desktop/src/app/chat/sidebar/session-row.tsx
@@ -233,6 +233,7 @@ function SidebarSessionRowImpl({
const context = useStoreSelector($projects, projects =>
card ? (sessionProjectLabel(session, projects) ?? (pathLeaf(session.cwd) || t.sidebar.projects.home)) : null
)
+
// Card footer line: which model worked on it and how big it got. Rendered
// as separate spans with a flex gap — a joined string can't put real space
// between them (HTML collapses runs of whitespace to one).
diff --git a/apps/desktop/src/lib/markdown-code.test.ts b/apps/desktop/src/lib/markdown-code.test.ts
index 79c5d091beb..ec12187f2c3 100644
--- a/apps/desktop/src/lib/markdown-code.test.ts
+++ b/apps/desktop/src/lib/markdown-code.test.ts
@@ -39,9 +39,7 @@ describe('isLikelyProseCodeBlock', () => {
describe('isLikelyStructuredText', () => {
it('flags indented config stanzas', () => {
- expect(
- isLikelyStructuredText(['Host x', ' HostName 10.0.0.1', ' Port 22'].join('\n'))
- ).toBe(true)
+ expect(isLikelyStructuredText(['Host x', ' HostName 10.0.0.1', ' Port 22'].join('\n'))).toBe(true)
})
it('flags flat key-value / settings listings', () => {