refactor(host): browse flow off the ./client surface (export discipline)

BrowseDirectoryFlow and its injected face move to the package-internal
src/client/flow.ts, mirroring -native: ./client exports only the Loader
surface and the same-package spec imports the internal module directly.
This commit is contained in:
creatixchu
2026-07-29 02:56:38 +08:00
parent 882e16fdf0
commit d68a58f6a4
3 changed files with 50 additions and 39 deletions

View File

@@ -6,7 +6,8 @@ import { SlotsService } from '@deepseek-ai/dsh-client-runtime/client'
import type { DirectoryListing } from '@deepseek-ai/dsh-client-runtime/client'
import { LocaleService } from '@deepseek-ai/dsh-client-locale/client'
import type { DirectoryFlowOwnerProps } from '@deepseek-ai/dsh-client-ui-workspace/client'
import { apply, BrowseDirectoryFlow, inject } from '../src/client/index.ts'
import { apply, inject } from '../src/client/index.ts'
import { BrowseDirectoryFlow } from '../src/client/flow.ts'
afterEach(cleanup)