DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-workspace-default-path

m

dsh-workspace-default-path

Manifest valid

DSH 插件:添加工作区时记住上次使用的目录,下次打开浏览对话框直接定位(预填 + 自动记忆,官方流程不动)。 | DSH plugin: remember the last used workspace directory for Add workspace - prefill + auto-memory over the official flow.

UI (client)hasBundlePatchMachine translated

dsh-workspace-default-path

中文版:README.zh.md · DSH (DeepSeek Harness) plugin

Remember the last used workspace directory for the Add workspace flow (sidebar / conversation empty-state). Two lightweight hooks over the official flow — nothing is replaced, and the whole thing is a single on/off toggle in Settings → General.

Features

  • Remember — every workspace you add (from the browse dialog, the system dialog, or any other entry) is recorded automatically.
  • Prefill — with a remembered path, the official "Add workspace" browse dialog opens directly on the last used directory, breadcrumb path bar included; all browsing, editing and confirm interactions stay 100% official.
  • Off = stock — with the toggle off, both hooks are inert: no redirection, no recording, identical to an uninstalled plugin.
  • Hot-reloadable — the toggle persists to $DSH_HOME/settings.yaml (dsh-workspace-default-path.rememberLast / .lastPath) and applies immediately, no restart.

Install

From GitHub (standard, same as any other dsh plugin dependency):

dsh plugin --profile web add github:masknull/dsh-workspace-default-path

The package declares dsh.bundle, so the command also activates it (adds it to the profile's dsh.profile.bundles). If it is not auto-added, append "dsh-workspace-default-path" to that list in $DSH_HOME/profiles/web/package.json manually.

Runtime deps of the node half (@deepseek-ai/schemastery + cosmokit + @standard-schema/spec) are declared in dependencies, so pnpm resolves them into the profile's hoisted node_modules automatically — no manual copying.

Verify:

dsh --profile web --dump-config | grep workspace-default-path

Restart the web service after install or any code update (client HMR is disabled in the current web composition). Local development works the same way: dsh plugin --profile web add '<local-path>'.

Usage

  1. Open Settings → General → "Remember last workspace" → On.
  2. Add a workspace as usual (any method). Its path is remembered.
  3. Next time you click Add workspace, the dialog opens on that directory.
  4. Toggle Off anytime to restore the default behavior.

How it works

All over official seams; no official interaction is replaced.

HookMechanism
Remember (write)Subscribes to ctx.workspaces.list; any newly appearing workspace's path is written to lastPath
Prefill (read)The browse dialog opens with listDirectory(undefined) (host home). When remembering is on and lastPath exists, that initial call is redirected to listDirectory(lastPath); all other calls pass through untouched

Version compatibility

  • v0.2.0+ requires DSH ≥ dsh-v0.1.2-alpha.1: that release moved the snapshot-store primitives from @deepseek-ai/dsh-client-runtime/client into the frozen module-table word @deepseek-ai/dsh-client-store. On older hosts this plugin refuses to load with a clear diagnostic; use the v0.1.x line (built for the client-runtime era) there.
  • Needs @deepseek-ai/dsh-client-ui-workspace for the workspaces/browse-dialog services (built into current DSH).

Dependencies

  • Node half (lib/index.js): @deepseek-ai/schemastery (+ @deepseek-ai/cosmokit, @standard-schema/spec) — declared in dependencies, installed by pnpm on add.
  • Browser half: only official frozen-module-table entries (react, @deepseek-ai/dsh-client-store, @deepseek-ai/dsh-client-ui-primitives).

License

MIT.

Comments

Loading…

Similar plugins

dsh-actions

by cdredfox

为你的 DSH 增加快捷指令的操作,把常用提示词存成输入框上方的一排快捷按钮,点击即填入。支持置顶、搜索、自动收纳溢出。

Manifest valid

★ 0

MIT

JavaScript

Oct 17, 2026

dsh plugin --profile web add @cdredfox/dsh-prompt-shortcuts

by milu7

Starts the DSH desktop New Workspace folder picker in a directory you configure (Windows only) and adds a settings page for it, falling back to the stock picker when the saved folder is missing.

UI & ExperienceDevelopment & InfrastructureManifest valid

★ 1

MIT

JavaScript

Oct 29, 2026

dsh plugin --profile web add dsh-directory-plugin

by luis1232023

增强dsh左侧工作区区侧栏——每个工作区文件夹下提供 任务/文件/Git 子 Tab,含文件树与右侧预览、Git 的 Changes/Graph 双视图、搜索、视图切换与添加工作区,界面样式对齐默认插件。

Manifest valid

★ 3

MIT

JavaScript

Aug 26, 2026

dsh plugin --profile web add dsh-workspace-enhance

by ShiraGawaAnri

DSH 配置档插件(profile bundle):像 Claude Code / Codex Desktop 一样,在输入框输入 `@` 提及**当前会话所在工作区**的文件/目录,支持带优先级的模糊搜索与键盘补全。

Manifest valid

★ 0

MIT

JavaScript

Aug 16, 2026

dsh plugin --profile web add @dsh-external/dsh-at-mention

by miao-ge

DSH plugin: right-click menu on the left sidebar workspace rows - rename, delete workspace, open in VS Code, reveal in File Explorer, plus open in a new tab when dsh-project-tabs is installed.

Manifest valid

★ 0

MIT

JavaScript

Oct 5, 2026

dsh plugin --profile web add dsh-sidebar-context-menu

by d0ublecl1ck

DSH Web 插件:最后一个未归档会话被归档的瞬间自动隐藏该工作区行,另在工作区行「…」菜单里追加「隐藏工作区」并配官方 Modal 恢复入口;只切 display,不归档、不删除、不改写任何工作区注册与会话数据。

UI & ExperienceDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 0

MIT

JavaScript

Oct 7, 2026

dsh plugin --profile web add dsh-hide-empty-workspace