Introduction¶
When developing with DeepSeek Harness (DSH), models and tools are often tied to the local machine workspace: checking GPU status, modifying training scripts, running long tasks remotely — the common approach is to switch terminals, manually SSH, or add another layer of MCP. Operation results are scattered across multiple windows, and the Harness-side approval and tool cards cannot provide a unified interface.
Orca is a local bundle plugin for DSH that connects “trusted SSH hosts” into Harness’s native tools, approvals, and right sidebar. Decisions stay in the local conversation, while execution happens on host aliases already configured in ~/.ssh/config; remote hosts only need Bash, Python 3, and OpenSSH — no Orca daemon service is deployed. The execution engine is derived from remote-fleet v0.7.0, evolving independently in this repository as orca_* tools (current package version 0.8.0, MIT).
Maintainer: Becomingw. Directory page: skillhub.cn/plugins/Becomingw/dsh-orca; Source code: github.com/Becomingw/dsh-orca. This is a community plugin catalog and has no official affiliation with DeepSeek / High-Flyer.
What Is This¶
In one sentence: Local decisions, fleet execution.
The plugin provides 10 native orca_* tools, plus a cached fleet panel: host connection status, GPU / memory / disk, registered tasks, command output, paginated file reading, server-side grep, patches with pre-checks and rollback, tmux long tasks, etc. — all viewable in the conversation and sidebar. Supports bilingual (Chinese/English) interface.
Core Features¶
Fleet Panel¶
Open Fleet from the top bar to view host status and recent tasks in the right sidebar. The panel is a cached view: opening the sidebar itself does not initiate SSH; the host probes in the background at configured intervals, and manual refresh is also available. On failure, the last successful data is preserved and marked as stale. When hosts is not explicitly configured, tools can use aliases from SSH config, and the panel auto-discovers and monitors up to 12 hosts; after explicit configuration, tools and panel scope are limited to that list.
Native Tools and Display¶
Tool call results are presented as Harness native tool cards: command output, file content with line numbers, search results, diff and conflict chunk display, expandable and copyable. Regular orca_run executes within time limits and output caps without streaming output; long tasks use orca_launch with tmux and structured logs, viewing log tails as needed.
Patches and Tasks¶
orca_patch performs pre-checks before writing, verifying the file hash from the last read; it records backups and patch IDs, and provides actionable feedback on conflicts. orca_rollback rolls back by patch ID. orca_stop targets tasks registered in the panel, requiring confirmation and task identity verification before stopping.
Authorization Modes¶
Default Controlled Mode: command glob interception and ask-free rules, trust directories, approval by operation category (ask-free / ask first and remember / ask every time), 1–90 day memory period — all editable and savable in Settings → Orca Config → Execution Authorization, no need to modify config files each time. Open Mode disables Orca’s own command filtering and extra approvals, but Harness permissions, host scope, parameter validation, patch conflict detection, and task identity verification still apply.
Under Controlled Mode, the default approval policies for each tool (can be overridden by rules and memory grants) are as follows:
| Tool | Purpose | Default Approval |
|---|---|---|
orca_status |
Host resources, GPU, tmux, and registered tasks | Ask-free |
orca_read |
Paginated reading of remote files | Ask-free |
orca_grep |
Server-side search (with context and .gz) |
Ask-free |
orca_ls |
List directories and files | Ask-free |
orca_run |
Time-limited, output-limited commands | Ask first and remember |
orca_launch |
tmux long tasks and logs | Ask first and remember |
orca_patch |
Pre-check and apply patches | Ask every time; dry_run ask-free |
orca_rollback |
Rollback by patch ID | Ask every time |
orca_stop |
Stop registered tasks | Ask every time |
orca_grants |
List or revoke memory grants | Ask-free |
Host scope, python startup command, panel pollSeconds / jobLimit, etc. are still configured in the current profile’s cordis.patch.yml; authorization overrides saved by the frontend take precedence over policy in the file, and you can click Restore Config File and save again to return to file policy. Memory and override default directory is $DSH_HOME/storages/orca/ (or ~/.dsh if DSH_HOME is not set).
Installation and Activation¶
1. Prepare Environment¶
| Location | Requirements |
|---|---|
| Local machine | DeepSeek Harness, Node.js ≥ 22, Python 3, OpenSSH client |
| Remote | SSH-able Linux with Bash and Python 3; tmux required for long tasks; nvidia-smi required for GPU metrics |
| SSH | Use Host aliases in ~/.ssh/config; terminal should be able to connect non-interactively |
First check aliases with BatchMode (replace example hostname with your own):
ssh -o BatchMode=yes gpu-alpha 'python3 --version'
2. Install Plugin¶
Following the repository README, place the plugin in a local directory, then have the plugin manager install the bundle in a DSH session:
git clone https://github.com/Becomingw/dsh-orca.git ~/plugins/dsh-orca
Please install the local plugin ~/plugins/dsh-orca
Restart DSH after installation or update to load host tools and frontend components; no need to start a separate frontend dev server. To update an installed copy, git pull --ff-only in the repository directory and restart DSH the same way.
3. First Use¶
- Open a DSH session, click Fleet in the top bar to view hosts and tasks.
- Go to Settings → Orca Config → Execution Authorization, select a mode or edit rules, click Save Authorization Settings.
- Describe remote operations in the conversation, and the model will call
orca_*tools.
Typical Usage¶
The following examples are from the official README; replace host aliases and paths to reproduce.
Check resources:
Check the GPU, memory, and disk status of gpu-alpha.
Read files, modify parameters, and view patch pre-check first:
Read the first 120 lines of /srv/demo/vision/train.py on gpu-alpha,
change batch_size from 32 to 64, and show the patch pre-check result first.
Launch training with tmux and write logs:
Start python3 train.py with tmux in /srv/demo/vision on gpu-alpha,
session name vision-train, logs written to /srv/demo/logs/train.log.
Applicable Scenarios and Notes¶
Who it’s for: Those who already do agentic or daily development in DSH, have multiple trusted Linux machines (especially with GPUs) that need unified status viewing, code reading/modification, and tmux task running via SSH, and want operations to go through Harness tools and approval chains rather than setting up another remote MCP or migrating workspaces.
Runtime boundaries: The plugin runs locally with the current DSH process privileges and accesses remote hosts through your SSH identity; read the source code and MIT license before installation, confirm that host scope and authorization rules meet your security requirements. The panel task count only covers recent registered records; zero tasks does not mean the host is idle; patch failures require manual handling based on conflict reports — you cannot assume full automatic recovery. In Controlled Mode, if Harness is configured with approval: never, operations requiring approval will be rejected — this is different from Orca’s Open Mode.
For more detailed panel metrics, policy storage, and architecture explanations, see the repository’s docs/ (e.g., panel.md, policy.md).
Conclusion¶
Orca consolidates SSH fleets into 10 orca_* tools and a cached fleet panel within DSH: status is readable, files are searchable and editable, commands and tmux tasks are manageable, and authorization can be configured visually in the frontend. If you are extending the DSH plugin ecosystem, you can get installation steps and configuration examples from the directory page and GitHub repository.
- Directory page: https://www.skillhub.cn/plugins/Becomingw/dsh-orca
- GitHub: https://github.com/Becomingw/dsh-orca