Jiyr0119/dsh-workspace-explorer ↗★ 30
@jiyr0119/dsh-workspace-explorer
DeepSeek Harness 工作区文件资源管理器(原生插件):右侧面板展示工作区目录树,点击/拖拽插入文件引用,含搜索/预览/国际化 | Native DSH plugin: workspace file-tree panel with click/drag references, search, preview, i18n. 适合需要在右侧面板浏览工作区目录树,并通过点击或拖拽快速插入文件引用的用户。
설치
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Jiyr0119/dsh-workspace-explorerInstallation & usage
Way 1 · Native install via dsh plugin add / storefront (recommended)
One command installs the full plugin — no build step, no config changes. The npm package ships a native host half (lib/index.js, webServer JSON routes incl. /dsh-we/api/config) and a browser bundle (lib/client.js via dsh.plugin.json).
dsh plugin --profile web add -w @jiyr0119/dsh-workspace-explorer@latest
(or click the install button in the DSH market). After install, a “Workspace Files” pill (name + icon) appears in the session header; restart or hard-refresh the web UI if needed. This is the zero-config, no-build path.
Way 2 · npm source package (manual paste)
npm install @jiyr0119/dsh-workspace-explorer — the package ships dynamic/host.js / dynamic/client.js for the manual paste flow below, with semver releases.
Way 3 · Dynamic plugin paste (zero-build fallback) A dynamic Cordis plugin: no build step, no config changes — useful for quick experimentation or environments without the storefront.
- In the DSH web UI, have an agent run
cordis_define(or use the dynamic plugin panel) withidPrefixwsex. - Paste the whole
dynamic/host.jsinto Host code. - Paste the whole
dynamic/client.jsinto Client code. cordis_runto activate; authorize on the Run card when it first appears.- Click the “Workspace Files” pill (name + folder icon) in the session header → expand directories → click a file, or drag it into the composer, then send.
ℹ️ pnpm note: modern pnpm (9/10) refuses to add a dependency at the workspace root (
ERR_PNPM_ADDING_TO_ROOT), hence the-wflag above. Alternative: create~/.dsh/profiles/web/.npmrccontainingignore-workspace-root-check=true.
⚠️ Common misconception: a listing alone never auto-installs anything — users still click install. With Way 1 the full UI now appears after install (native bundle, v0.4.0+ verified with a clean
dsh plugin add— no boot errors).
See docs/install.md for details.
Usage
- Click the “Workspace Files” pill (feature name + folder icon) at the top right of the session header, beside the Session log button, to open the popup.
- Expand directories to browse files.
- Click a file, or drag it into the composer, then send.
- Use the Settings tab at the top of the popup (or DSH Settings → Workspace Explorer) to adjust panel behavior.