The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fmt(js): `npm run fix` on merge (#93429)
hermes-seaeye[bot]8c8193dce5fa
diff --git a/apps/desktop/electron/connection-registry.test.ts b/apps/desktop/electron/connection-registry.test.tsindex 3ad9a9d4a47..a5d7b6206fe 100644--- a/apps/desktop/electron/connection-registry.test.ts+++ b/apps/desktop/electron/connection-registry.test.ts@@ -1297,10 +1297,10 @@ test('Apply between two remotes keeps each real registration once and activatesconst remotes = second.connections.filter(connection => connection.kind === 'remote')- assert.deepEqual(- remotes.map(connection => connection.url).sort(),- ['https://one.example.com', 'https://two.example.com']- )+ assert.deepEqual(remotes.map(connection => connection.url).sort(), [+ 'https://one.example.com',+ 'https://two.example.com'+ ])assert.equal(new Set(remotes.map(connection => connection.id)).size, 2)assert.equal(second.primary, remotes.find(connection => connection.url === 'https://two.example.com')?.id)assert.equal(second.lastUsed, second.primary)diff --git a/apps/desktop/electron/remote-liveness.test.ts b/apps/desktop/electron/remote-liveness.test.tsindex 6614d454a76..38874bc5601 100644--- a/apps/desktop/electron/remote-liveness.test.ts+++ b/apps/desktop/electron/remote-liveness.test.ts@@ -268,17 +268,12 @@ describe('revalidatePooledRemoteBackends', () => {const harness = (rawEntries: Array<[string, { process?: unknown; remoteBaseUrl?: null | string; authMode?: string }]>) => {- const entries: Array<[- string,- TestRemoteConnection & { connectionPromise: Promise<TestRemoteConnection> }- ]> = rawEntries.map(([profile, entry]) => {- const connection = { ...entry, baseUrl: String(entry.remoteBaseUrl || '') }-- return [- profile,- { ...connection, connectionPromise: Promise.resolve(connection) }- ]- })+ const entries: Array<[string, TestRemoteConnection & { connectionPromise: Promise<TestRemoteConnection> }]> =+ rawEntries.map(([profile, entry]) => {+ const connection = { ...entry, baseUrl: String(entry.remoteBaseUrl || '') }++ return [profile, { ...connection, connectionPromise: Promise.resolve(connection) }]+ })const unreachable = new Set<string>()const log = vi.fn()diff --git a/apps/desktop/src/app/chat/session-tile.test.ts b/apps/desktop/src/app/chat/session-tile.test.tsindex 47cab3b3e7f..3b932138555 100644--- a/apps/desktop/src/app/chat/session-tile.test.ts+++ b/apps/desktop/src/app/chat/session-tile.test.ts@@ -4,7 +4,9 @@ import { sessionTileResumeFailure } from './session-tile'describe('sessionTileResumeFailure', () => {it('keeps a confirmed durable session retryable instead of repeating a stale 404', () => {- expect(sessionTileResumeFailure('session not found', true, true)).toBe('Session is still available — retry resuming it.')+ expect(sessionTileResumeFailure('session not found', true, true)).toBe(+ 'Session is still available — retry resuming it.'+ )})it('fails safe on an inconclusive durable lookup', () => {diff --git a/apps/desktop/src/store/session.ts b/apps/desktop/src/store/session.tsindex 201d46c4036..6c415a2478e 100644--- a/apps/desktop/src/store/session.ts+++ b/apps/desktop/src/store/session.ts@@ -125,10 +125,7 @@ export function sessionBelongsToProfile(* (Bot Mode's canonical "Bot Chat") never appear in the row list, so the hint is* often the only sync source.*/-export function knownSessionProfile(- sessions: readonly SessionInfo[],- sessionId: null | string-): string | undefined {+export function knownSessionProfile(sessions: readonly SessionInfo[], sessionId: null | string): string | undefined {if (!sessionId) {return undefined}