dsh-workspace-default-dir
Manifest validSet the default initial directory of dsh's workspace directory picker (native + browse backends), with a GUI settings card. Set the default initial directory of dsh's "Add Workspace" directory picker (including GUI settings card).
dsh-workspace-default-dir
English · 中文 · 日本語 · 한국어 · Français · Deutsch · Español · Português · Русский
Make dsh's workspace directory picker (Add workspace → Select workspace directory) open at a directory you choose — for example E:\python_project — instead of the Windows user home.
Install
Pick one of the three ways below, then restart dsh web:
# 1) npm package (when published to npm)
dsh plugin --profile web add dsh-workspace-default-dir
# 2) GitHub repository (ships the prebuilt lib/, no local build required)
dsh plugin --profile web add https://github.com/dragan2023/dsh-workspace-default-dir
# 3) Local directory (development / self-hosted)
dsh plugin --profile web add D:\path\to\dsh-workspace-default-dir
After restarting dsh web, a Workspace default directory entry appears under Settings.
Usage
Open Settings → Workspace default directory (设置 → 工作区默认目录). Type an absolute path — for example E:\python_project — then click Save (保存). The next time you open the Add workspace directory picker it starts at that folder — no restart needed.

The card always shows the currently active directory (当前生效). Leave the input empty and save, or click Clear (清除), to return to the default (the user home).
The same setting is available on the command line:
dsh-workspace-default-dir set E:\python_project # set the default directory
dsh-workspace-default-dir get # show the current default
dsh-workspace-default-dir clear # clear it (back to home)
dsh-workspace-default-dir status # patch & setting state
The GUI card and the CLI write the same DSH_PICKER_INITIAL_DIR (setx-persisted), so they stay in sync.
Behavior & limitations
- Both picker backends are covered: the native Windows dialog (via
IFileDialog::SetFolder) and the browse picker (used when the web server binds a non-loopback host, e.g. LAN0.0.0.0). - Registry fallback: the patched pickers read
DSH_PICKER_INITIAL_DIRfrom the process environment first, then straight fromHKCU\Environment— bypassing the stale-Explorer-environment problem (no Explorer restart needed aftersetx). - Self-healing: on every dsh boot the plugin idempotently re-applies the two small backend patches, so a dsh upgrade that restored the stock files is repaired automatically.
- This is a patch-type plugin: it modifies the two picker package files inside the dsh installation (idempotent, additive only). The browse backend loads its patched module at dsh startup, so one
dsh webrestart is needed after install/upgrade; the native dialog reads its worker on every open. - Verified on Windows + dsh 0.1.0-rc.6. On other platforms/versions, if the edit pairs do not match, a warning is logged and the patch is skipped (dsh still boots).
License
MIT — see LICENSE.
Comments
Loading…
From the same category
by zhu1090093659
DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop
★ 8.3k
↓ 172/wk
Apache-2.0
TypeScript
Oct 2, 2026
dsh plugin --profile web add dsh-webby ccch1mneyyy
DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol
★ 3.9k
↓ 13.6k/wk
MIT
TypeScript
Oct 2, 2026
dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tuiby YuJunZhiXue
DeepSeek Harness 破甲:让所有模型都能破甲,不同模型可换不同提示词;默认提示词面向国模「小码酱」。Jailbreak for every model — swap prompts per model. 求 Star 收藏 ⭐
★ 3k
MIT
JavaScript
Oct 2, 2026
dsh plugin --profile web add dsh-purgeby bowenliang123
The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,
★ 1.8k
↓ 33.2k/wk
Apache-2.0
TypeScript
Sep 30, 2026
dsh plugin --profile web add dsh-contextby agentrq
AgentRQ: Human-in-loop realtime conversational task manager for AI Agents. Self-hosted! Control your own agents from wherever you want Mobile, Web, Desktop. Designed to work well with your own Claude
★ 1.1k
↓ 56/wk
Apache-2.0
JavaScript
Oct 2, 2026
dsh plugin --profile web add @agentrq/dsh-plugin-agentrqby vshulcz
One memory shared by Claude Code, Codex, Cursor, Copilot CLI, OpenClaw and 20 more coding agents, built from the session history already on disk. A fix found in one agent comes back in any of them, in
★ 1.1k
↓ 1.3k/wk
MIT
Go
Oct 2, 2026
dsh plugin --profile web add dsh-deja