reactive-resume
reactive-resume
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:yqdnsjs-qq/dsh-server-manager
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
![]()
Multi-server operations for DeepSeek Harness: let the agent see, log into, operate and deploy to your servers — with the same connection the panel uses.
中文说明 · Documentation · Security · Changelog
dsh-server-manager is a DSH plugin with two halves that share one configuration:
server_* tools for the agent (list, status, exec, transfer, logs, services, Docker, deploy, rollback, config) and an authenticated HTTP API for the dashboard.Everything runs locally: the plugin speaks SSH (ssh2) for servers and the native web APIs for NAS boxes, keeps credentials on your machine, and never sends them to a model.
An agent that can write a project should be able to ship it. This plugin closes that loop:
server_deploy packages it, uploads it over SFTP, extracts it into a timestamped release, swaps a current symlink, runs your post-deploy commands, checks health and prunes old releases.server_status and server_logs prove whether it actually worked.server_rollback puts the previous release back if it did not.No CI, no pipeline YAML, no copy-pasting scp commands.

vault:name); env:NAME and file:path remain available for CI.sudo docker when the login user cannot reach the socket.pvesh create …/apt/update once.sudo fallback) and lists every installed app with current/latest version, update flag and container status. It never calls the 1Panel API or upgrades an app by itself.bash -s; exit code, stdout, stderr and duration come back. Optional sudo -S.current symlink, kept releases, local build step, deploy hooks, HTTP or command health checks, deploy manifests.rm -rf /, mkfs, dd to disks, fork bombs, database drops, and a JSONL audit log of every mutating action.ssh2 is bundled to ESM at release time; the client half is plain ESM too.plugin_manager install_bundle target=file:/absolute/path/to/dsh-server-manager
dsh plugin --profile web add dsh-server-manager
Restart or refresh the DSH window, then open 服务器监控管理 (Server Deck) in the left sidebar (next to Plugins, Automation tasks and Self-media workspace).
Requires DSH ≥ 0.2.1 and Node.js ≥ 20.
The plugin has no runtime npm dependencies: ssh2 is pre-bundled to ESM at release time, so
there are no install scripts, no native build, and no compiler needed. If you install from a source
checkout with npm install, ssh2 is present as a dev dependency only for rebuilding that bundle.
Open 服务器监控管理, click Add server, fill host / user / password (or key), save.
Click Refresh — the node turns green with load, memory, disk and uptime.
Ask the agent:
Check all my servers and tell me which one is unhealthy.
It will call server_status and summarize.
Deploy something:
Build this project and deploy it to prod at /opt/apps/shop, run
npm ci --omit=dev, then check http://127.0.0.1:3000/health. Roll back if the health check fails.
The agent calls server_deploy, reads the step report, and uses server_rollback if needed.
| Tool | What it does |
|---|---|
server_list |
List configured servers, policy, host-key trust and cached status. |
server_status |
Probe one or every server (uptime, load, CPU, memory, disks, Docker, systemd). |
server_exec |
Run a shell script over SSH; returns exit code, stdout, stderr. |
server_transfer |
Upload or download a single file over SFTP. |
server_logs |
Tail journalctl, Docker logs, or a file. Read-only safe. |
server_service |
Inspect/control systemd units, Docker containers, compose projects. |
server_docker |
Live container inventory (state, health, ports, stats, compose project); start/stop/restart/pause, logs, compose upgrade. |
server_deploy |
Package → upload → release → hooks → health → prune. |
server_rollback |
Move current back to a previous release. |
server_manage |
Add/update/remove/test/import servers; forget a pinned host key. |
Full parameter reference: docs/tools.md.
Configuration lives in ~/.dsh/server-manager/ ($DSH_HOME/server-manager when set):
| File | Purpose |
|---|---|
servers.json |
Servers, defaults, policy (mode 600 on POSIX). |
known_hosts.json |
Pinned host-key fingerprints. |
status-cache.json |
Last probe result per server. |
audit.jsonl |
Append-only audit trail, rotated at 5 MiB. |
Minimal servers.json:
{
"version": 1,
"servers": [
{
"id": "prod-web",
"name": "Prod web",
"host": "203.0.113.10",
"port": 22,
"username": "deploy",
"auth": "key",
"privateKeyPath": "~/.ssh/id_ed25519",
"policy": { "readOnly": false }
}
]
}
Prefer references over literals:
{ "password": "env:PROD_SSH_PASSWORD" }
{ "password": "file:~/.secrets/prod-web" }
Details: docs/configuration.md.
This plugin intentionally grants real shell access — that is the point. The guardrails are:
allowDangerous: true.^systemctl status, while another stays open.Read docs/security.md before pointing this at production.
npm install --ignore-scripts
npm test # node:test, no network required
npm run check # syntax check for host and client bundles
npm run build:vendor # regenerate src/vendor/ssh2.js after upgrading ssh2
Layout:
src/ host half (config, ssh, probe, deploy, tools, routes)
client/ browser half (sidebar panel, plain ESM)
test/ unit tests with fake transports
docs/ user and maintainer documentation
examples/ sample configuration
See CONTRIBUTING.md.
Tested against the DSH desktop 0.2.2-rc.x line on Windows 11 with an Ubuntu 24.04 target (password auth), including deploy, rollback and file transfer. Key and SSH-agent auth use the same ssh2 paths; macOS/Linux hosts should work but are less exercised — please report issues.
MIT © dsh-server-manager contributors
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 监控、服务器。