The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
chore(desktop): sort imports flagged by perfectionist lint (#118748)
Brooklyn Nicholson1390383b5c11
diff --git a/apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/desktop-bridge.ts b/apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/desktop-bridge.tsindex 3ec64ca7cab..076f38dfd82 100644--- a/apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/desktop-bridge.ts+++ b/apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/desktop-bridge.ts@@ -1,7 +1,7 @@import { writeAgentTerminalChunk } from '@/app/right-sidebar/terminal/agent-terminal-stream'import { closeAgentTerminalByProc } from '@/app/right-sidebar/terminal/terminals'import { applyDesktopLayoutPreset, revealDesktopPane } from '@/store/pane-focus'-import { recordAgentReaction, reactionOverlayScope } from '@/store/reactions-local'+import { reactionOverlayScope, recordAgentReaction } from '@/store/reactions-local'import { setMessages } from '@/store/session'import { $tipsEnabled, type ActiveTip, agentTipId, showTip } from '@/store/tips'diff --git a/apps/desktop/src/components/assistant-ui/thread/use-message-reactions.ts b/apps/desktop/src/components/assistant-ui/thread/use-message-reactions.tsindex 2ec788e8774..2578812a238 100644--- a/apps/desktop/src/components/assistant-ui/thread/use-message-reactions.ts+++ b/apps/desktop/src/components/assistant-ui/thread/use-message-reactions.ts@@ -1,5 +1,5 @@-import { registryBackendScopeKey } from '@hermes/shared'import { useAuiState, useMessageRuntime } from '@assistant-ui/react'+import { registryBackendScopeKey } from '@hermes/shared'import { useStore } from '@nanostores/react'import { type MouseEvent, useCallback } from 'react'@@ -106,8 +106,10 @@ export function useMessageReactions(// on source A can never repaint a coincidental same-numbered row on// source B (a tile from another connection, a cross-source resume).const activeProfile = useStore($activeGatewayProfile)+const viewScope =sessionEventScopeFor(runtimeSessionId) ?? registryBackendScopeKey(activeGatewayConnectionId(), activeProfile)+const agentLive = rowId === undefined ? undefined : agentLiveReactions(agentAll, rowId, viewScope)return {diff --git a/apps/desktop/src/store/reactions-local.ts b/apps/desktop/src/store/reactions-local.tsindex 35ca03a6fc2..196f1dc9fae 100644--- a/apps/desktop/src/store/reactions-local.ts+++ b/apps/desktop/src/store/reactions-local.ts@@ -1,6 +1,5 @@-import { atom } from 'nanostores'-import { registryBackendScopeKey } from '@hermes/shared'+import { atom } from 'nanostores'import { $activeGatewayProfile } from '@/store/profile'import { applyReaction } from '@/store/reactions'