Replaces the host-side folder chooser in the Add workspace flow with a name dialog, so a remote browser can create and open a workspace instead of an OS dialog appearing on the Host screen.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-quick-workspace
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:wilsonchengassistant/dsh-quick-workspace
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
Make the sidebar's Add workspace button work when you are driving the DeepSeek Harness web UI from somewhere other than the host machine.
What was wrong
The stock flow opens an OS folder chooser on the host. dsh-host-directory-picker-auto
resolves the native backend whenever the bind host is 127.0.0.1 on macOS, and that
backend is a renderless osascript "choose folder with prompt …" call: it puts a Finder
dialog on the host's screen and renders nothing in the browser.
So from a remote browser (Tailscale, LAN, a phone) the button looks completely dead, and
it gets worse than dead — while the hidden dialog is open, WorkspacePickFlow holds
directoryBusy, and shortcutControls.add is a no-op whenever that flag is set. Every
later click is then silently ignored, with no error and nothing on screen.
What this plugin does
It occupies both directory-flow holes — the sidebar header button and the composer's Choose workspace — with a name dialog:
- you type a name,
- the dialog shows the exact path it is about to create,
- DSH makes the folder and registers it as a workspace, then opens it.


New folders land beside the deployment's default workspace, which on this machine is
~/Documents/deepseek-harness/ for a workspace at ~/Documents/deepseek-harness/default-workspace.
It registers at priority: -100, which is the documented way to shadow a single-kind
slot occupant: SlotCore.register sorts entries by ascending priority and the lowest
renders, so this takes the seat instead of throwing already has a registration against
the native/browse picker.
Install
dsh plugin --profile web add file:/path/to/plugins/dsh-quick-workspace
Then restart dsh web so the host half re-imports (see below).
Languages
The dialog ships in English and Simplified Chinese (zh), registered as
ctx.locale.register("quickWorkspace", { zh, en }) — 12 keys each, kept parallel.
Traditional Chinese comes from the separate dsh-zh-hant
pack, which converts every bundle's zh dictionary to Traditional with OpenCC. The
zh dictionary here is therefore Simplified on purpose: writing Traditional into
it would make Simplified users read Traditional text, and it would turn the zh-Hant
conversion into a no-op instead of the reverse of this table.
Two things that bite when editing this
lib/index.jsneeds adsh webrestart. The client half hot-reloads; the host half does not. After editinglib/index.js,rm -rf ~/.dsh/profiles/web/node_modules/dsh-quick-workspaceand re-add, or restart the server.process.cwd()is/.dsh webruns as a launchd KeepAlive agent, so the working directory is the filesystem root, andmkdir("/<name>")fails with a bareEACCESthat tells the user nothing. The parent comes fromworkspaceRegistryinstead, and the root is refused outright withquick-workspace/no-parent.
Wire shapes worth remembering
ctx.connection.rpc.call("/api", "ns/method", payload)resolves to the{ok, value | error}envelope. Reading.pathstraight off it yieldsundefinedwithout throwing — always unwrap.- The Gateway derives its argument descriptor from the Host method's signature. A
parameterless
describe()must be sent{args: {}};{args: {request: {}}}is rejected withgateway/arguments-invalid.
Uninstall
dsh plugin --profile web remove dsh-quick-workspace (or disable it on the Plugins page),
then restart dsh web. The stock folder picker comes back.
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 10735
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 10735
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
ccch1mneyyy/dsh-TUI★ 8661
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 7538
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
omdsh-dev/DSH-better-sidebar★ 5419
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
omdsh-dev/dsh-genui★ 1103
Interactive UI components rendered inline in replies: layout, charts, forms, quizzes, mermaid, 3D scenes, and an action event loop back to the model.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.