Skip to content

DeepSeek Harness Tauri 桌面版 | Only 8mb installer, zero environment setup, preset plugins, Windows / macOS / Linux.

fix(lint): satisfy eslint — import ordering and EOF newlines

[email protected]6b889e807e22
diff --git a/src/store/modules/harness/store.ts b/src/store/modules/harness/store.ts
index 3b3781d5..01d179eb 100644
--- a/src/store/modules/harness/store.ts
+++ b/src/store/modules/harness/store.ts
@@ -16,8 +16,8 @@ import { listen } from '@tauri-apps/api/event'
import i18next from 'i18next'
import { defineStore } from 'valtio-define'
import { queryClient } from '@/config/client'
-import { harnessUpdater } from '../harness-updater'
import { pickErrorLines } from '@/utils/log-utils'
+import { harnessUpdater } from '../harness-updater'
const MAX_RETRIES = 8
const IFRAME_LOAD_TIMEOUT = 20000
diff --git a/src/utils/log-utils.ts b/src/utils/log-utils.ts
index ac88b9e9..be33cca1 100644
--- a/src/utils/log-utils.ts
+++ b/src/utils/log-utils.ts
@@ -25,4 +25,4 @@ export function formatLogLine(line: string): string {
export function pickErrorLines(lines: readonly string[]): string[] {
const errored = lines.filter(line => ERROR_LINE_MARKERS.test(line)).slice(0, 8)
return errored.length > 0 ? errored : lines.slice(-8)
-}
\ No newline at end of file
+}
diff --git a/src/utils/toast.ts b/src/utils/toast.ts
index 4b8b7403..6dbcc29e 100644
--- a/src/utils/toast.ts
+++ b/src/utils/toast.ts
@@ -1,5 +1,5 @@
-import type { ToastVariants } from '@heroui/styles'
import type { ToastContentValue } from '@heroui/react/toast'
+import type { ToastVariants } from '@heroui/styles'
import { ToastQueue } from '@heroui/react'
/** toast() 可选项:库内未暴露的 HeroUIToastOptions(toast-queue 收敛的 content + 超时回调),这里用公开的 ToastContentValue 组合 */
diff --git a/test/index.test.ts b/test/index.test.ts
index 1895b1b0..56560925 100644
--- a/test/index.test.ts
+++ b/test/index.test.ts
@@ -40,4 +40,4 @@ describe('pickErrorLines', () => {
it('handles empty input', () => {
expect(pickErrorLines([])).toEqual([])
})
-})
\ No newline at end of file
+})