Files
deepseek-harness/packages/client/ui-directory-picker/src/index.ts
T
imccyu 40af20cafe refactor(picker): split the directory-picker faces into their own packages
The browse and native backends were dual-face packages: a Node backend plus a
browser surface under one tsconfig that referenced Client packages. That put
Client projects — and through them the Client runtime — inside the Host
compiler aggregate, which builds before the generated Remote contributions
exist. Each browser half moves to its own Client package, and both backends
become Node-only.

The interaction is still one choice: the adaptive chooser mounts the backend
and its surface as a pair of Loader entries and tears both down in reverse, so
a resolved kind still swaps both faces. Compositions that pin an interaction
directly now pin the pair, and the chooser's runtime-string package list keeps
naming everything a composing app must resolve.
2026-08-11 23:33:16 +08:00

11 lines
483 B
TypeScript

/**
* Directory-picker browsing surface, node half. Pure UI plugin: the empty
* apply exists so the plugin appears in the host cordis.yml / Loader; the
* browser half ships via exports["./client"], discovered through the
* package.json dsh.client declaration. The listing and creation primitives it
* drives live in `@deepseek-ai/dsh-host-directory-picker-browse`.
*/
/** Host plugin body — no host-side behavior for this surface plugin. */
export function apply(): void {}