The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fmt(js): `npm run fix` on merge (#96833)
hermes-seaeye[bot]7e7fc6445be9
diff --git a/apps/desktop/src/app/chat/composer/hooks/use-slash-completions.test.tsx b/apps/desktop/src/app/chat/composer/hooks/use-slash-completions.test.tsxindex 2e56281a1de..518090d96cc 100644--- a/apps/desktop/src/app/chat/composer/hooks/use-slash-completions.test.tsx+++ b/apps/desktop/src/app/chat/composer/hooks/use-slash-completions.test.tsx@@ -174,6 +174,7 @@ describe('useSlashCompletions', () => {const api = harness({ request } as unknown as HermesGateway)const items = await completions(api, 're')+const groupOf = (command: string) =>(items.find(item => (item.metadata as { command?: string })?.command === command)?.metadata as { group?: string })?.groupdiff --git a/apps/desktop/src/app/chat/composer/hooks/use-slash-completions.ts b/apps/desktop/src/app/chat/composer/hooks/use-slash-completions.tsindex cde76d9874f..a22dbe68130 100644--- a/apps/desktop/src/app/chat/composer/hooks/use-slash-completions.ts+++ b/apps/desktop/src/app/chat/composer/hooks/use-slash-completions.ts@@ -15,11 +15,7 @@ import {rankSkillCommands,slashCompletionGroup} from '@/lib/desktop-slash-commands'-import {- $slashCompletionsEpoch,- cachedSlashCompletion,- hasCachedSlashCompletion-} from '@/lib/slash-completion-cache'+import { $slashCompletionsEpoch, cachedSlashCompletion, hasCachedSlashCompletion } from '@/lib/slash-completion-cache'import { normalize } from '@/lib/text'import { $sessions } from '@/store/session'diff --git a/apps/desktop/src/app/contrib/hooks/use-session-tile-delegate.test.ts b/apps/desktop/src/app/contrib/hooks/use-session-tile-delegate.test.tsindex a81224bbb3b..01594e840ef 100644--- a/apps/desktop/src/app/contrib/hooks/use-session-tile-delegate.test.ts+++ b/apps/desktop/src/app/contrib/hooks/use-session-tile-delegate.test.ts@@ -200,6 +200,7 @@ describe('useSessionTileDelegate resumeTile', () => {messages: [{ id: 'm1', parts: [{ type: 'text', text: 'old' }], role: 'user' }],storedSessionId: 'stored-a'}+const runtimeIdByStoredSessionIdRef = { current: new Map([['stored-a', 'runtime-a']]) }const sessionStateByRuntimeIdRef = { current: new Map([['runtime-a', stateA]]) }const updateSessionState = vi.fn((_id, updater) => updater(stateA))@@ -221,7 +222,9 @@ describe('useSessionTileDelegate resumeTile', () => {expect(getLatestSessionMessages).toHaveBeenCalled()expect(updateSessionState).toHaveBeenCalled()- const updater = updateSessionState.mock.calls[0][1] as (state: typeof stateA) => { messages: Array<{ parts?: Array<{ text?: string }> }> }+ const updater = updateSessionState.mock.calls[0][1] as (state: typeof stateA) => {+ messages: Array<{ parts?: Array<{ text?: string }> }>+ }const next = updater(stateA)const texts = next.messages.flatMap(message => (message.parts ?? []).map(part => part.text ?? ''))diff --git a/apps/desktop/src/components/pane-shell/tree/renderer/collapse-restore-affordance.test.tsx b/apps/desktop/src/components/pane-shell/tree/renderer/collapse-restore-affordance.test.tsxindex b07f751292b..0209ae87281 100644--- a/apps/desktop/src/components/pane-shell/tree/renderer/collapse-restore-affordance.test.tsx+++ b/apps/desktop/src/components/pane-shell/tree/renderer/collapse-restore-affordance.test.tsx@@ -182,9 +182,7 @@ describe('docked tool tile — collapsing keeps the restore chip', () => {it('chevron-collapse of a row-docked tile keeps the tab as a restore handle', () => {render(<LiveTreeGroup index={1} parentAxis="row" />)- fireEvent.click(- globalThis.document.querySelector('[data-tree-group="g-routines"] button[aria-label="Minimize"]')!- )+ fireEvent.click(globalThis.document.querySelector('[data-tree-group="g-routines"] button[aria-label="Minimize"]')!)expect(zoneAt(1).minimized).toBe(true)expect(tabEl('hermes-bots:routines')).toBeTruthy()