CJYLZS/dsh-remote-development ↗★ 3

dsh-remote-development

Lightweight remote development for DeepSeek Harness: pick a remote workspace over SSH and let the agent work on it with the SAME local tools — file, shell, and search providers are routed to the remote host by the plugin. No extra model tools, no third-party UI plugin. 适合需要让AI智能体直接在远程服务器上进行文件和终端操作的用户。

패키지
dsh-remote-development
호환성
미검증
Harness peer 범위
^0.1.2-rc.1
Cordis peer 범위
^4.0.2
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 9. 10.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:CJYLZS/dsh-remote-development

Usage

Three steps and nothing else:

  1. Add a machine. In the Web GUI's dsh-remote-development settings section, enter host, port, and username, choose password / private key / SSH agent authentication (optional jump proxy), and click test.
  2. Pick a remote directory. In the workspace directory flow (the hero "choose directory" dialog or the sidebar workspaces picker), open the Remote tab, browse the machine's directories, and set one as the session workspace.
  3. Work as usual. That is the whole setup. File tools, shell, bash, and search run through the same tool calls as before — only now they execute on the remote machine; the model's working directory is the remote path, so it needs no special instructions and gains no new tools. Anything outside the chosen directory keeps local behavior, so existing sessions are untouched.

Under the hood, setting a remote workspace creates an anchor under $DSH_HOME/remote-workspaces/-- / — a real local directory whose metadata records the remote coordinates. There is no "current machine" and no default target: the anchor alone decides where its session's tools execute. If that machine is later deleted, operations on the workspace fail with an explicit "machine is no longer configured" error instead of silently running elsewhere — re-add the machine to resume, or delete the workspace directory.


Configuration

Machines are managed in the settings section; the plugin itself takes config defaults through cordis.yml (all optional):

FieldDefaultMeaning
commandTimeoutMs20000Per-command timeout; the channel is closed after SIGTERM grace.
connectTimeoutMs15000SSH connection establishment timeout.
maxOutputChars200000Command output kept head-plus-tail beyond this size.
maxFileBytes52428800Largest file read or written through SFTP.
hostKeyModeaccept-newaccept-new, verify, or off.
remoteRipgreprgRemote binary the packaged ripgrep is rewritten to.
anchorRoot$DSH_HOME/remote-workspacesRoot directory for anchor directories.
auditLogoffAppend-only JSONL audit of remote executions.