# DSH Remote Workspace & Deployment Agent
### `dsh-ssh-files-sidebar`
**A complete Remote SSH workspace for DeepSeek Harness: files, terminal, remote editing, zero-to-one deployment, runbooks, automation, and closed-loop delivery.**
[](https://github.com/qigelunbiya/dsh-ssh-files-sidebar/actions/workflows/build.yml)
[](https://github.com/qigelunbiya/dsh-ssh-files-sidebar/releases/latest)
[](./LICENSE)
[](https://github.com/topics/dsh-plugin)
[简体中文](./README.md) · **English**
---
## Understand it in 30 seconds
Use this plugin when your DeepSeek Harness workflow involves:
- Linux / SSH servers;
- remote file browsing, editing, upload, and download;
- local source code with remote service startup, logs, and port checks;
- an unfamiliar project whose deployment procedure is not known yet;
- capturing a working procedure into `DEPLOYMENT.md`;
- graduating a validated Runbook into one-click automation and eventually agent-operated delivery, verification, diagnosis, and recovery.
The goal is to keep all of that inside **one conversation, one SSH safety boundary, and one deployment maturity path**.
### More than an SSH file sidebar
| Capability | `dsh-ssh-files-sidebar` |
| --- | --- |
| SSH Files / SFTP / Terminal | ✅ |
| Remote Workspace | ✅ |
| Local source + session-bound Linked SSH | ✅ |
| Remote Vision / system OCR | ✅ |
| Zero-to-one deployment of unfamiliar projects | ✅ |
| `DEPLOYMENT.md` Runbook | ✅ |
| Automation boundary based on real user habits | ✅ |
| One-click scripts | ✅, only after Runbook validation |
| Agent-operated deploy + health/log verification | ✅ |
| UAT-driven diagnosis / fix / rollback loop | ✅ |
> Core principle: **discover the real environment and workflow first, document it second, automate it only after validation, and let the Agent operate the loop only after that automation is proven.**
---
## One-minute install
### Recommended: prebuilt GitHub Release
With an installed `dsh` CLI:
```powershell
dsh plugin --profile web add https://github.com/qigelunbiya/dsh-ssh-files-sidebar/releases/latest/download/dsh-ssh-files-sidebar.tgz
```
From a DeepSeek Harness source checkout:
```powershell
pnpm dsh plugin --profile web add https://github.com/qigelunbiya/dsh-ssh-files-sidebar/releases/latest/download/dsh-ssh-files-sidebar.tgz
```
Then start or restart the Web profile:
```powershell
dsh web
```
or, from source:
```powershell
pnpm dsh web
```
The release tarball already contains `lib/`, so normal users do **not** need to clone the repository, install dependencies, build the package, or grant install-time build permission.
> DeepSeek Harness also supports direct GitHub source installs. With pnpm 10, however, a git dependency's `prepare` script must be explicitly allowlisted. That is why this project recommends the prebuilt release tarball for normal users.
### GitHub source install (development / debugging)
```powershell
dsh plugin --profile web add github:qigelunbiya/dsh-ssh-files-sidebar
```
This repository provides `prepare`, so a git install can build its runtime bundle. If pnpm 10 blocks the script, follow the DSH / pnpm message and add `dsh-ssh-files-sidebar: true` under the profile's `pnpm-workspace.yaml -> allowBuilds`, then retry.
---
## Product capabilities
### 1. Remote SSH Workspace
One top-level plugin composes:
- `dsh-better-sidebar`
- `@linxin666/dsh-ssh`
- `dsh-rw`
- this project's SSH Files / Linked SSH / Deployment Layer
Hosts and credentials have one source of truth:
```text
~/.dsh/dsh-ssh.json
```
One conversation binds one SSH target. The Agent does not get a free multi-host surface for host enumeration or switching.
### 2. SSH Files + Editor + Terminal
SSH Files includes:
- remote directory tree;
- CodeMirror edit / save;
- image, PDF, HTML, and archive preview;
- multi-select;
- upload / download;
- inline rename;
- directory creation / delete;
- per-session expansion memory.
Shortcuts:
| Action | Shortcut |
| --- | --- |
| Toggle selection | `Ctrl/Cmd + Click` |
| Range select | `Shift + Click` |
| Select visible items | `Ctrl/Cmd + A` |
| Inline rename | `F2` |
| Delete | `Delete` |
| Save | `Ctrl/Cmd + S` |
| Search / replace | `Ctrl/Cmd + F` |
### 3. Local Workspace + Linked SSH
Recommended development / deployment model:
```text
LOCAL Workspace (real source)
+
Conversation Linked SSH (single target)
+
Project-root DEPLOYMENT.md
```
Git, builds, and artifact checks stay local. Uploads, service management, logs, and health checks stay locked to the current conversation's server.
### 4. Remote Vision / OCR
The Agent can inspect images directly from the current SSH target. Text-only flows can use supported system OCR paths without manually copying a server screenshot into the local Workspace first.
---
## From "I don't know how to deploy this" to a closed loop
Two entry paths converge on the same mature workflow.
```mermaid
flowchart TD
A1["Known deployment experience