The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fmt(js): `npm run fix` on merge (#90690)
hermes-seaeye[bot]6f31cfad7825
diff --git a/apps/desktop/electron/backend-start-failure.test.ts b/apps/desktop/electron/backend-start-failure.test.tsindex 42d3724897c..f612171f469 100644--- a/apps/desktop/electron/backend-start-failure.test.ts+++ b/apps/desktop/electron/backend-start-failure.test.ts@@ -95,9 +95,7 @@ test('FIX host-key change: classified from the kind tag and from stringified ssh)assert.equal(isHostKeyChangedBootFailure(new Error('Host key verification failed.')), true)assert.equal(- isHostKeyChangedBootFailure(- new Error('The host key for [email protected] has CHANGED since you last connected.')- ),+ isHostKeyChangedBootFailure(new Error('The host key for [email protected] has CHANGED since you last connected.')),true)assert.equal(isHostKeyChangedBootFailure(new Error('Connection refused')), false)@@ -113,8 +111,14 @@ test('FIX host-key change: latches and is never auto-retried (157-failure loop,})test('host-key latch never fires for local failures or ordinary remote faults', () => {- assert.equal(shouldLatchHostKeyChangedFailure({ attemptedRemote: false, isReauth: false, isHostKeyChanged: true }), false)- assert.equal(shouldLatchHostKeyChangedFailure({ attemptedRemote: true, isReauth: false, isHostKeyChanged: false }), false)+ assert.equal(+ shouldLatchHostKeyChangedFailure({ attemptedRemote: false, isReauth: false, isHostKeyChanged: true }),+ false+ )+ assert.equal(+ shouldLatchHostKeyChangedFailure({ attemptedRemote: true, isReauth: false, isHostKeyChanged: false }),+ false+ )assert.equal(shouldLatchHostKeyChangedFailure({ attemptedRemote: true, isReauth: false }), false)})diff --git a/apps/desktop/electron/main.ts b/apps/desktop/electron/main.tsindex 0907bdd2324..0dca6c0a326 100644--- a/apps/desktop/electron/main.ts+++ b/apps/desktop/electron/main.ts@@ -12669,7 +12669,7 @@ async function enumerateRegistryAgentSources(registry = readDesktopConnectionsRe// reported like any other unreachable source and retried on the next poll.const perSourceTimeoutMs = 10_000- const withEnumerationDeadline = async <T,>(work: Promise<T>): Promise<T> => {+ const withEnumerationDeadline = async <T>(work: Promise<T>): Promise<T> => {let timer: ReturnType<typeof setTimeout> | null = nulltry {