dsh-remote-workspace
No description
- Stars
- 0
- Language
- JavaScript
- Created
- Aug 23, 2026
- Updated
- Aug 23, 2026
Introduction
dsh-remote-workspace
Standalone DSH plugin that takes over Add workspace with a Local/Remote selector instead of the OS native file dialog (which cannot open when you remote in over Tailnet).
- Local → an in-app directory browser (no native dialog).
- Remote (phase 2) → creates
~/.dsh/remote/<alias>@<host>/+ a README that teaches the agent to operate viadsh-ssh-tunnel's SSHManager (pure SSH, zero install on remote).
What it does
Disables the default directory-picker (native/browse) via its bundle patch, then occupies
the two directory-flow slots used by ui-workspace:
conversation.hero.workspace.directoryFlowsidebar.workspaces.directoryFlow
Adoption semantics (createWorkspace, error dialog, Choose again) stay owned by
ui-workspace; this plugin only produces a picked path (Local today, Remote later).
Host API (fenced to loopback / trusted hosts)
| Method | Body | Returns |
|---|---|---|
health | — | {ok, version, name} |
list_dir | {path?} | {ok, path, home, crumbs[], entries[]} |
create_dir | {path, name} | {ok, path} |
Development
npm test # offline smoke tests
npm run check # syntax checks
License
MIT — see LICENSE.