Skip to content

The agent that grows with you

style(ts): sort imports/exports the way perfectionist wants after the rebase

teknium1988d47147905
diff --git a/apps/shared/src/index.ts b/apps/shared/src/index.ts
index 8c77b9de3a0..42297fc1f32 100644
--- a/apps/shared/src/index.ts
+++ b/apps/shared/src/index.ts
@@ -61,15 +61,6 @@ export {
} from './data-url-read-max'
export { compactNumber } from './format'
export { type FuzzyMatch, fuzzyRank, fuzzyScore, fuzzyScoreMulti, type RankedItem } from './fuzzy'
-export {
- applyDocumentLocale,
- type EndonymLocale,
- isRecord,
- LOCALE_ENDONYMS,
- mergeTranslations,
- RTL_LOCALES,
- type TranslationOverride
-} from './i18n'
export {
type ApprovalRequestPayload,
BACKEND_EVENT_NAMES,
@@ -112,6 +103,15 @@ export {
type VaultUnlockRequestPayload,
type WakeDetectedPayload
} from './gateway-events'
+export {
+ applyDocumentLocale,
+ type EndonymLocale,
+ isRecord,
+ LOCALE_ENDONYMS,
+ mergeTranslations,
+ RTL_LOCALES,
+ type TranslationOverride
+} from './i18n'
export {
DEFAULT_HEARTBEAT_DEADLINE_MS,
DEFAULT_HEARTBEAT_INTERVAL_MS,
@@ -134,7 +134,6 @@ export {
JsonRpcGatewayClient,
type WebSocketLike
} from './json-rpc-gateway'
-export { reconnectBackoffDelayMs, type ReconnectBackoffOptions } from './reconnect-backoff'
export { modelSearchText } from './model-search-text'
export {
DEFAULT_REASONING_EFFORT,
@@ -144,6 +143,7 @@ export {
type ReasoningEffort,
type ReasoningEffortValue
} from './reasoning-effort'
+export { reconnectBackoffDelayMs, type ReconnectBackoffOptions } from './reconnect-backoff'
export { skillInvocationText } from './skill-scaffold'
export {
type HermesSkin,
diff --git a/ui-tui/src/app/createGatewayEventHandler.ts b/ui-tui/src/app/createGatewayEventHandler.ts
index 6006596a5bf..4f5a821202e 100644
--- a/ui-tui/src/app/createGatewayEventHandler.ts
+++ b/ui-tui/src/app/createGatewayEventHandler.ts
@@ -1,9 +1,9 @@
import { execFile } from 'child_process'
import { forceRedraw, onTerminalBackground, onTerminalForeground } from '@hermes/ink'
-import type { SubagentStatus, Usage } from '@hermes/shared/gateway-events'
import { stripAnsi } from '@hermes/shared/ansi'
import { relativeLuminance } from '@hermes/shared/color'
+import type { SubagentStatus, Usage } from '@hermes/shared/gateway-events'
import { STARTUP_IMAGE, STARTUP_QUERY } from '../config/env.js'
import { STREAM_BATCH_MS } from '../config/timing.js'
diff --git a/ui-tui/src/components/appChrome.tsx b/ui-tui/src/components/appChrome.tsx
index 2a5de7ce856..287d359abe8 100644
--- a/ui-tui/src/components/appChrome.tsx
+++ b/ui-tui/src/components/appChrome.tsx
@@ -1,6 +1,6 @@
import { Box, type ScrollBoxHandle, stringWidth, Text } from '@hermes/ink'
-import type { Usage } from '@hermes/shared/gateway-events'
import { compactNumber } from '@hermes/shared/format'
+import type { Usage } from '@hermes/shared/gateway-events'
import { useStore } from '@nanostores/react'
import { type ReactNode, type RefObject, useEffect, useMemo, useRef, useState } from 'react'
import unicodeSpinners from 'unicode-animations'
diff --git a/ui-tui/src/components/modelPicker.tsx b/ui-tui/src/components/modelPicker.tsx
index 60100ccaf16..4f5c6965a0f 100644
--- a/ui-tui/src/components/modelPicker.tsx
+++ b/ui-tui/src/components/modelPicker.tsx
@@ -1,6 +1,6 @@
import { Box, Text, useInput, useStdout } from '@hermes/ink'
-import type { ModelOptionProvider, ModelOptionsResponse } from '@hermes/shared/gateway-events'
import { fuzzyRank } from '@hermes/shared/fuzzy'
+import type { ModelOptionProvider, ModelOptionsResponse } from '@hermes/shared/gateway-events'
import { modelSearchText } from '@hermes/shared/model-search-text'
import { useEffect, useMemo, useState } from 'react'