DeepSHPlugins
dsh-wsl-workspace-picker 專案預覽
GITHUB / COMMUNITY PROJECT

dsh-wsl-workspace-picker

UI 增強JavaScriptMIT

Web UI 增強版工作區目錄選擇器:WSL 下 /mnt Windows 磁碟機代號一鍵直達、完整面包屑層級與常顯路徑輸入框。

1 StarsWilliamShi666 更新時間 2026-08-17
訪問 GitHub 倉庫
dsh-wsl-workspace-picker 專案預覽

專案介紹

中文

Web UI 增強版工作區目錄選擇器:WSL 下 /mnt Windows 磁碟機代號一鍵直達、完整面包屑層級與常顯路徑輸入框。

English

Enhanced workspace directory browser for the web UI: one-click access to /mnt Windows drives under WSL, full breadcrumb ancestry and an always-visible path input.

專案資訊與收錄訊號

快照 2026-09-11
作者 / 組織
WilliamShi666
倉庫
WilliamShi666/dsh-wsl-workspace-picker
GitHub Stars
1
Forks
0
開發語言
JavaScript
許可證
MIT
最近推送
2026-08-17
Manifest
資料中檢測到宣告

公開倉庫不自動等於可商用;許可證與當前相容性以原專案文件為準。Manifest 和資料評分不構成安裝安全認證。

資料評分

51/ 100
維護活躍
83
文件與實用資訊
85
生態關注度
9
安裝便捷訊號
75
專案宣告訊號
100

README 含完整安裝與使用說明;關注度尚低(1)。

評分來自已有資料快照的五維模型,僅作瀏覽參考,不是實際使用評測或安全檢測結論。

安裝與使用

所有專案資料與許可均以對應 GitHub 倉庫為準。

dsh plugin --profile web add dsh-wsl-workspace-picker

複製命令不會自動執行。請先閱讀倉庫文件,確認環境要求與許可證。

專案截圖

倉庫 README

GitHub 原文

已儲存的倉庫文件快照;文件抓取時間未記錄,可能與上方目錄介紹處於不同版本。安裝前請核對當前倉庫說明。

儲存庫檔案保留原文,指令與授權文字不作自動改寫。

dsh-wsl-workspace-picker

Awesome DSH Plugin

Enhanced workspace-directory browser for the DeepSeek Harness web UI: quick access to /mnt Windows drives, full breadcrumb ancestry from the filesystem root, and an always-visible path input.

| 中文说明 |

Screenshot

dsh-wsl-workspace-picker dialog

The enhanced "Select Workspace Directory" dialog: quick-access chips for /mnt Windows drives at the top, the always-visible path input, and full breadcrumbs from /.

Why

The stock in-app directory picker (the dialog behind the sidebar workspaces "+" button and the conversation-hero workspace picker) starts at the Linux home directory and folds its breadcrumbs at home. Under WSL, Windows drives live at /mnt/c, /mnt/d, … — reachable only by typing a path into a barely visible pencil-glyph editor that most users never find, and never clickable through the breadcrumbs at all.

This plugin shadows the stock dialog with a single-pane browser that makes every path reachable:

  • Quick-access chips — Home, /, /mnt, /mnt/c, /mnt/d, /mnt/e, /mnt/f — one click to any Windows drive under WSL.
  • An always-visible path input — type any absolute path (e.g. /mnt/d/projects) and press Enter.
  • Full breadcrumb ancestry from / — click up and down through the whole filesystem; no more home-folding dead end.
  • New-folder creation and a hidden-files toggle, like the stock dialog.

Install

dsh plugin --profile web add dsh-wsl-workspace-picker

Restart dsh web and refresh the browser page. Open the workspace picker via the sidebar workspaces "+" button (or the conversation-hero workspace picker) — the enhanced dialog appears in place of the stock one.

Uninstall:

dsh plugin --profile web remove dsh-wsl-workspace-picker

How it works

The browser half of this dual-face package registers into both directoryFlow slots (sidebar.workspaces.directoryFlow and conversation.hero.workspace.directoryFlow) at slot priority −10. DSH's slot system is shadowing: the lowest-priority occupant of a slot renders, so priority −10 replaces the stock browse dialog (registered at priority 0) in both entry points. The stock plugin stays loaded and untouched, and uninstalling this plugin restores it.

The listing itself reuses the host's existing browse capability over the client runtime (ctx.workspaces.listDirectory / createDirectory) — no host-side code, no filesystem access of its own.

dsh-wsl-workspace-picker/
├── package.json      # dsh.bundle.patch + dsh.client (dual-face declaration)
├── cordis.patch.yml  # loader-entry insertion
├── scripts/build.mjs # ESBuild: src/ → lib/
├── src/
│   ├── client.tsx    # browser half (TypeScript source)
│   ├── styles.ts     # dialog stylesheet + injection
│   └── index.ts      # host half (empty apply)
└── lib/
    ├── index.js      # host half (built)
    └── client.js     # browser half (built: __ModuleLoader__ bundle)

The browser half is written in TypeScript and compiled with ESBuild (npm run build). Runtime imports (react, react/jsx-runtime, @deepseek-ai/dsh-client-ui-primitives, …) are external: they resolve through the web shell's module table at load time, exactly like the official client bundles. npm run typecheck runs tsc --noEmit.

Compatibility

  • DeepSeek Harness 0.1.0-rc.6 and later (web profile)
  • Any host where /mnt/<drive> Windows mounts exist (WSL); on other hosts the chips simply list directories that may not exist
  • Locales: English, 简体中文 (follows your UI language)

Security & scope

Pure UI plugin. It adds no host-side behavior, opens no network connections, and only lists/creates directories through the same host browse capability the stock dialog already uses — with whatever file-sandbox policy your profile has in effect.

License

MIT

使用前核對

安裝步驟、相容版本與授權範圍以原專案當前文件為準。Stars 和評分是快照中的導航訊號。

安裝與排錯 · 專案問題反饋

同類專案