style(desktop): fix import order in office-open touched files

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
m4
2026-09-17 23:08:53 +08:00
parent 526b13170d
commit 74fa6881ea
3 changed files with 3 additions and 2 deletions
@@ -71,6 +71,7 @@ it('registers hermes:fs:openExternal and routes local paths through the resolver
it('stages byte payloads under <userData>/external-open', async () => {
const handler = handlerFor('hermes:fs:openExternal')
const result = (await handler({}, { data: [0x50, 0x4b], ext: '.docx', name: 'remote doc' })) as {
ok: boolean
path?: string
+1 -1
View File
@@ -14,8 +14,8 @@ import {
migrateProfileScopedDesktopPlugins,
reconcileUnifiedDesktopHalves
} from './desktop-plugins-root'
import { readDirForIpc } from './fs-read-dir'
import { openExternalFileForIpc, type OpenExternalFilePayload } from './fs-open-external'
import { readDirForIpc } from './fs-read-dir'
import { gitRootForIpc } from './git-root'
export interface FsIpcDeps {
@@ -7,8 +7,8 @@ import { TreeSkeleton } from '@/components/chat/skeletons'
import { Codicon } from '@/components/ui/codicon'
import { markRightPanePerf } from '@/debug/right-pane-events'
import { useResizeObserver } from '@/hooks/use-resize-observer'
import { cn } from '@/lib/utils'
import { isOfficeFilePath, openFileWithSystemApp } from '@/lib/office-files'
import { cn } from '@/lib/utils'
import { type RepoChangeKind, repoChangeKindForPath } from '@/store/coding-status'
import { $renamingPath, beginInlineRename } from '@/store/file-actions'
import { $revealInTreeRequest } from '@/store/layout'