Skip to content

The agent that grows with you

fix(lint): sort imports

Brooklyn Nicholson5b39269e1ad7
diff --git a/apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/lifecycle.ts b/apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/lifecycle.ts
index ee9a3d467b7..79e873c2489 100644
--- a/apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/lifecycle.ts
+++ b/apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/lifecycle.ts
@@ -1,6 +1,7 @@
import type { GatewayEvent } from '@hermes/shared'
import type { HermesSkin } from '@hermes/shared/skin'
+import { clearClarifyRequest } from '@/store/clarify'
import {
notifyCronChanged,
notifyPairingChanged,
@@ -12,7 +13,6 @@ import {
type PetChangeMeta,
setChangeEventsAvailable
} from '@/store/live-sync'
-import { clearClarifyRequest } from '@/store/clarify'
import { clearAllPrompts } from '@/store/prompts'
import { markRuntimeGone } from '@/store/runtime-gone'
import { dropSessionState, unbindTileRuntime } from '@/store/session-states'
diff --git a/apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/session-info.ts b/apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/session-info.ts
index 3416be42f0d..65208aa2cd9 100644
--- a/apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/session-info.ts
+++ b/apps/desktop/src/app/session/hooks/use-message-stream/gateway-event/session-info.ts
@@ -1,10 +1,10 @@
import { normalizePersonalityValue } from '@/lib/chat-runtime'
import { modelOptionsQueryKey } from '@/lib/model-options'
import { reconcileApprovalModeForProfile } from '@/store/approval-mode'
+import { clearClarifyRequest } from '@/store/clarify'
import { reconcileSessionCompacting } from '@/store/compaction'
import { requestDesktopOnboardingForCredentialWarning } from '@/store/onboarding'
import { followActiveSessionCwd } from '@/store/projects'
-import { clearClarifyRequest } from '@/store/clarify'
import { clearAllPrompts } from '@/store/prompts'
import {
$activeSessionId,
@@ -298,6 +298,7 @@ export function handleSessionInfoEvent(ctx: GatewayEventContext): boolean {
clearAllPrompts(sessionId)
clearClarifyRequest(undefined, sessionId)
}
+
// Set when THIS event releases a confirmed live turn whose terminal
// message never arrived. The updater is invoked exactly once,
// synchronously, by updateSessionState.