已核实档案CONF. 80/100官方

Host Directory Picker

dsh-host-directory-picker

The web GUI host's workspace-directory picker is a capability seam.

AI 能力插件hosthosthost-directory-picker
类型
插件
host
版本
0.1.1-rc.2
能力包版本
分发
open_source
安装分发方式
资料置信度
80/100
达到公开展示门槛
01

先看结论

基于现有公开资料生成,最后决策仍应核对原始来源。

The web GUI host's workspace-directory picker is a capability seam. The abstract `DirectoryPicker` service (`ctx.directoryPicker`) is its Service Definition. Its only method, `capability()`, returns a discriminated union describing how an operator selects a directory. Backends differ in user interaction, not just implementation: `{ kind: 'native', pick(signal) }` opens one native OS chooser on the host display ([`-native`](../directory-picker-native/README.md)); `{ kind: 'browse', list(path?), createDirectory(path, name) }` provides listing and creation operations for an in-app browser, which works for remote clients that cannot reach an OS chooser ([`-browse`](../directory-picker-browse/README.md)). Consumers switch on `capability().kind`; the union derives from the merge-extensible `DirectoryPickerCapabilities` map, and a new backend adds its variant there through declaration merging. For an unknown kind, consumers hide directory picking rather than fail. The capability object must be stable for the service lifetime. Each backend package also has a browser entrypoint that registers the matching interaction in ui-workspace's directory-flow slots, so one composition row selects both the host capability and the client flow. A composition that should choose at runtime mounts [`-auto`](../directory-picker-auto/README.md), which inspects the host once at boot and mounts the matching backend row.

02

能力

它能让 Agent / 使用者做什么。

  • 适用 Agent:DeepSeek Harness
  • 适配模型:DeepSeek
03

安装与获取

可复现安装方式。

@deepseek-ai/dsh-host-directory-picker

04

来源与核实

保留来源、时间与置信度,供回溯。

来源
DeepSeek Harness 官方 npm @deepseek-ai/dsh(源码仓库 github.com/deepseek-ai/deepseek-harness)
核实日期
2026-09-04
许可证
MIT
05

实效证据

来源可信不等于任务有效。

暂无通过审核、可复现的同任务 A/B 运行证据;本档案仅证明来源可信,不代表实测有效。

Host Directory Picker - 档案 - 效率派 · 效率派