torrid-fish/dsh-remote-workspace0

dsh-remote-workspace

DSH add-workspace selector: in-app local folder picker + remote workspace under ~/.dsh/remote (composes with dsh-ssh-tunnel, zero install on remote)

包名
dsh-remote-workspace
版本
0.1.0
许可证
MIT
最近更新
2026年8月23日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:torrid-fish/dsh-remote-workspace

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/@/ + a README that teaches the agent to operate via dsh-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.directoryFlow
  • sidebar.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)

MethodBodyReturns
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.