dsh-orchestrator

DSH PLUGIN浏览器与联网

仓库 lucagiftzek/dsh-orchestrator · npm @lucagiftzek/dsh-orchestrator

浏览器与联网 L5 · 运行验证通过 安全审查:低风险 可信度:金 可安装插件
安装这个插件

为 DeepSeek Harness 增加 Orchestrate 标签页,统一创建、派生与追踪 agent 会话和四类任务,并提供 runner、provider 卡片与受保护的机器 API。

一句话选型结论

按资料字段整理

dsh-orchestrator 是浏览器与联网类的 DSH 可安装插件,验证等级 L5 · 运行验证通过,安全审查为低风险,列出 5 项功能,有可直接复制的安装命令。验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么;涉及密钥或系统权限的,建议先在隔离环境试装。

分类浏览器与联网 收录类型可安装插件 验证等级L5 · 运行验证通过 安全审查低风险
验证等级 L5 L5 · 运行验证通过
GitHub 星标 0 复刻 0 · 未关闭 issue 0
最近更新 2026-11-01 创建于 2026-11-01
README 16.0 KB 正文体量,越大说明说明书写得越细

安装

可安装插件
在 DSH 里执行,装完用 dsh plugin list 确认已挂上;标了 L4 / L5 的命令已在沙盒里真实跑通
dsh plugin --profile web add @lucagiftzek/dsh-orchestrator
  1. 1
    确认版本与运行环境

    兼容的 DSH 版本为 0.2.2-rc.1,Node.js 要求 >=22.5;版本不匹配时安装会报错。

  2. 2
    执行安装命令

    在 DSH 里执行上面的命令;多包仓库要注意区分具体子包名,别装错包。

  3. 3
    确认已挂载

    用 dsh plugin list 查看列表里是否出现这个插件,出现即挂载成功。

  4. 4
    试跑并检查权限

    加载后跑一个最小用例,确认它能正常工作;同时看它申请了哪些文件、命令或网络权限。

兼容 DSH 版本0.2.2-rc.1版本不匹配时安装会报错
Node.js 要求>=22.5来自仓库 package.json 的 engines 字段
前置依赖react@^18.2.0需要同时安装的同级依赖
npm 包名@lucagiftzek/dsh-orchestrator可用 npm view 查看包信息

能做什么

5 项功能
字段来自项目仓库与公开索引,中文说明由本站标注

dsh-orchestrator:DeepSeek Harness 的多智能体编排标签页

  • Orchestrate 标签页统一管理
  • 14 个 orch_* agent 工具
  • 四类任务:命令/抓取/HTTP/agent
  • 多 runner 执行与健康探测
  • 受密钥保护的机器 API

适用场景

智能体编排

上游标签

ai-agentsdeepseek-harnessdshdsh-pluginmulti-agentorchestration

验证等级与安全审查

L5 · 运行验证通过
自动化流程结论,不是人工审核
验证等级L5 · 运行验证通过在 dsh 沙盒中完成安装与运行冒烟——装得上、跑得起来
安全审查低风险静态分析结论,未标注不代表已通过审查
仓库健康度活跃按仓库活跃度与最近更新时间给出
可信度金综合仓库活跃度与验证结果

上面的结论来自上游最近一次自动化验证(2026-11-12): 同一套检查会在插件发新版后重跑,页面显示的是最新一次的逐项结果。

逐项检查结果

L1 · 已找到 ✓ 通过
  • L1.0_DEFAULTED_FROM_L3 由 L3 推定 默认通过——L3 安装规范已通过(全库 L3 扫描策略)
L2 · 结构化 ✓ 通过
  • L2.0_DEFAULTED_FROM_L3 由 L3 推定 默认通过——L3 安装规范已通过(全库 L3 扫描策略)
L3 · 安装规范 ✓ 通过
  • L3.1_INSTALL_COMMAND_PARSED 安装命令已解析 方式:安装规范解析
  • L3.2_DSH_VERSION_DECLARED DSH 版本已声明 方式:DSH 版本声明
L4 · 安装已测 ✓ 通过
  • L4.1_INSTALL_EXECUTED_CONFINED 受限沙盒内执行安装 方式:沙盒安装执行
  • L4.2_INSTALL_SUCCESS 沙盒安装成功 方式:沙盒安装执行
  • L4.3_ARTIFACT_CONFIRMED 安装产物已确认 方式:沙盒安装执行
  • L4.4_RESOLVED_ARTIFACT 安装版本已解析 方式:沙盒安装执行
L5 · 运行已测 ✓ 通过
  • L5.1_INSTALL_PASSED_SANDBOXED 沙盒安装通过 方式:沙盒安装执行
  • L5.2_WEB_BOOT_READY Web 启动就绪 方式:Web 启动
  • L5.3_HTTP_SERVED HTTP 服务响应 方式:HTTP 请求
  • L5.4_PLUGIN_INVENTORY_ACTIVE 插件清单中已激活 方式:插件清单查询

风险详情

  • 结论说明 静态扫描 低;动态审计无结论(以下以静态为准)→ 总评级 低。
  • 风险计数 严重 0 / 高 0 / 中 1

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 验证等级 L5:安装和运行都在沙盒里跑通过,装完能直接用的概率高。
  • 静态安全审查为低风险,没有发现明显可疑行为。
  • 有可直接复制的安装命令,不用自己翻文档找入口。
  • 标注了兼容的 DSH 版本(0.2.2-rc.1),按版本装不容易报错。
  • 列出了 5 项功能,能直接看出它解决什么问题。

先想清楚的地方

  • 需要同时装好同级依赖,漏装会启动失败。
  • 验证通过不等于安全:插件会读写文件、执行命令或联网,装前先到仓库确认它做了什么。

更适合

  • 需要在浏览器与联网场景里给 DSH 补能力的人。
  • 想装完就能用、不想自己排依赖的人。
  • 能接受在本地装依赖、愿意自己确认权限的人。

不太适合

  • 只使用 DSH 官方内置能力、不接受第三方插件的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
插件验证等级安全审查星标兼容版本安装命令
dsh-orchestrator当前 L5 · 运行验证通过 低风险 0 0.2.2-rc.1 有
dsh-our-free-model L3 · 安装规范通过 低风险 8,796 未标注 有
dsh-web L3 · 安装规范通过 低风险 8,549 未标注 无
BrowserSkill L4 · 沙盒安装通过 低风险 8,456 未标注 有
dsh-pocket L5 · 运行验证通过 低风险 1,656 0.2.0-rc.2 等 12 个 有
Browser4 L4 · 沙盒安装通过 中风险 1,152 未标注 有

仓库档案

浏览器与联网
字段来自项目仓库与公开索引,中文说明由本站标注
作者 / 维护方lucagiftzek仓库 dsh-orchestrator · 默认分支 main
分类浏览器与联网network
收录类型可安装插件声明了 dsh.bundle、可用 dsh plugin add 安装的条目
开发语言JavaScript仓库主语言
许可证MIT商用或二次分发前请确认条款原文
星标 / 复刻 / issue0 / 0 / 0收录时的数值,非实时
创建 / 更新2026-11-01 · 2026-11-01最后推送 2026-11-01
本站收录2026-11-02首次进入本站目录的时间

README 全文

16.0 KB
作者原文,中文版优先;只做安全转义,不改内容

dsh-orchestrator

Spawn, prompt and track agent chats and tasks from one Orchestrate tab, with orch_* tools and runners.

dsh plugin --profile web add dsh-better-sidebar   # the tab host, skip if installed
dsh plugin --profile web add @lucagiftzek/dsh-orchestrator
# or from GitHub: dsh plugin --profile web add github:lucagiftzek/dsh-orchestrator
# restart dsh web, then open the Orchestrate tab

Screenshot from a demo DSH instance with sample data.

Agent swarm + task orchestration for DeepSeek Harness (DSH).

A plugin that adds an Orchestrate tab to dsh-better-sidebar, like the built-in Background Tasks view, but broader:

  • Agents: create, list, prompt, fork (split a conversation), fan-out and cancel agent chats, with a chat-style transcript drawer. Sessions address all of it through 14 orch_* tools.
  • Tasks: tracked, status-updated work of four kinds: command (shell on any runner), scrape (deterministic multi-URL extraction, no model in the loop), http (endpoint calls), agent (a spawned chat whose answer is the task output).
  • Runners: where commands execute: this host, ssh targets, or remote tool servers (any other host running this plugin). Explicit selection or the configured default.
  • Providers: external integrations rendered as status cards, including an optional HPC allocation card and any JSON status endpoint.
  • Remote API: a secret-protected machine API: prompt chats, spawn agents, create tasks, and serve the tool-server contract so OTHER hosts can run work here.

Everything is settings-driven: runners, providers, presets, limits and the API secret live in Settings → Orchestrator (or the cordis config row). Nothing is hardcoded, no hosts, no commands, no credentials in the code.


Contents

  • Install
  • The tab
  • The agent tools
  • Task types
  • Runners: where work executes
  • Providers: integrations
  • The machine API
  • Settings reference
  • Security model
  • Kill switches
  • Development

Install

Requires DSH >= 0.1.1-rc.1, Node >= 22.5, the web profile, and dsh-better-sidebar (the tab host).

Install from npm: dsh plugin --profile web add @lucagiftzek/dsh-orchestrator, or from GitHub: dsh plugin --profile web add github:lucagiftzek/dsh-orchestrator.

dsh plugin --profile web add @lucagiftzek/dsh-orchestrator
# or from GitHub: dsh plugin --profile web add github:lucagiftzek/dsh-orchestrator

The package declares dsh.bundle, so dsh plugin add lists it in dsh.profile.bundles. From a checkout instead:

git clone https://github.com/lucagiftzek/dsh-orchestrator
dsh plugin --profile web add link:$PWD/dsh-orchestrator

lib/ is committed, so no build step is needed. Then restart dsh-web (the client half mounts live after a browser refresh; the host half, tools, settings namespace, API route, needs the restart). Full steps are in cordis.patch.yml.

The tab

Open the sidebar + menu → Orchestrate. Five sections:

Section What it shows / does
agents every chat (live + cold) with title, running state, recency; quick prompt, stop, chat drawer (transcript + send box + fork + cancel); + new agent spawn form with fan-out
tasks every task with status, runner, live output (auto-polling while running), cancel; + new task form for all four types
runners execution targets with health probes
providers integration cards, an hpc provider shows the allocation headline, queue, collector health and staged proposals
api machine-API secret management + ready-made curl examples + the tool-server contract

A badge on the tab counts active work (running agents + running tasks).

The agent tools

Sessions get these tools (registered through the standard ctx.tools seam, they behave like any core tool):

tool what it does
orch_status one-screen overview: agents, tasks by status, runners, providers
orch_agents_list list chats (live/cold, titles, running flags), with search
orch_agent_status one chat: running state + last user/assistant text
orch_agent_prompt deliver a message into a chat (id, unique prefix, or exact title); cold chats resume
orch_agent_spawn create chat(s), optionally with a first prompt; count fans out with {i} interpolation, how you split work across agents
orch_agent_fork split a conversation: fork a chat's completed-turn history into a new session, then prompt the fork
orch_agent_cancel cancel a chat's active turn (queued work is kept)
orch_task_create create + run a task (see below)
orch_task_list / orch_task_status / orch_task_output list / inspect / read tasks
orch_task_cancel cancel a task (kills the runner process or cancels the agent turn)
orch_runners runner inventory + health probes
orch_providers provider status cards (for example an HPC allocation)

Task types

type spec fields output
command command, cwd, runner, timeoutMs stdout + stderr, capped
scrape urls[], extract (text/html/json), selector (tag/.class/#id/[attr]), attribute, pattern (regex) JSON rows: per-URL status + extracted data
http url, method, body, headers, expectStatus, timeoutMs response body, capped
agent prompt, count (fan-out), forkOf (split an existing chat), promptExisting (drive an existing chat), preset, cwd the chat itself, live status while it works, the assistant answer when it settles

All tasks: global concurrency cap with queueing, cancellation, durable history with pruning, and an audit event log. Tasks also mirror (best-effort) into ctx.jobs so they appear in the built-in Background Tasks surface.

Live output: command tasks stream stdout/stderr into the task record as it arrives (the tab's output panel and orch_task_output show progress while the command runs, not just the final result); scrape tasks log per-URL progress lines ([2/5] https://… -> 200) before the structured JSON replaces them at settlement.

After mounting (restart), verify the host with bash scripts/verify-host.sh [port] [secret]: health, dashboard shape, the trust fence, the CSRF gate, and (with the secret) a machine probe round trip.

Runners: where work executes

Declared in Settings, never in code:

  • local: spawn on this host (bash -lc, argv only, scrubbed env: no SSH_AUTH_SOCK, no inherited secrets)
  • ssh: ssh --; target, binary, connect timeout and extra args are operator config; the command is one argv element on this side
  • http: a remote tool server speaking this plugin's contract: POST {url} {kind, spec, timeoutMs} → {ok, status, output, detail}. Any host running dsh-orchestrator serves it at /dsh-orchestrator/api/remote/run: so your boxes can run work for each other. The auth token is read from an env var at call time (secretEnv), never stored.

Selection: explicit runner id, else the configured default, else round-robin across enabled runners.

Providers: integrations

  • hpc (optional): an adapter for an HPC allocation status service you run yourself (a GPU-hour grant, a cluster quota). It reads {url}/health and {url}/state; the contract is below. Leave it out if you have no such service.
  • http: any JSON status endpoint; ok/health/status/headline keys are highlighted when present, everything else renders as fields. Optional secretEnv for a bearer token read at call time.

The hpc contract (only the fields you have are needed; missing ones render as empty):

GET {url}/health  -> {"ok": true}
GET {url}/state?logbook=0 -> {
"headline": "1,234 GPU-hours left, 24 days to the deadline",
"balance":  {"gpu_hours_left": 1234, "billing_hours_left": 56789, "deadline": "2027-01-31"},
"collector": {"status": "ok", "checked_at": "2027-01-07T10:00:00Z"},
"queue":    {"running": [ ... ], "pending": [ ... ]},
"staged":   [{"arm": {"armed": true}}, ...]
}

CamelCase keys (gpuHoursLeft, billingHoursLeft) are accepted too. secretEnv names an environment variable holding a bearer token, read at call time.

Add your own control planes (pods, orchestrators, dashboards) as http providers; add your remote boxes as ssh or http runners. The plugin has zero knowledge of any specific host.

The machine API

Protected by a secret (DSH_ORCHESTRATOR_SECRET env or Settings), constant-time compared, rate-limited per IP, failing closed when no secret is configured. Present it as x-orchestrator-secret: or Authorization: Bearer.

# prompt any chat (id, unique prefix, or exact title), cold chats resume
curl -sS -X POST http://127.0.0.1:3080/dsh-orchestrator/api/remote/prompt \\
-H "content-type: application/json" \\
-H "x-orchestrator-secret: $DSH_ORCHESTRATOR_SECRET" \\
-d '{"chat":"Research","message":"status report?"}'

# spawn an agent
curl -sS -X POST http://127.0.0.1:3080/dsh-orchestrator/api/remote/agents/create \\
-H "content-type: application/json" \\
-H "x-orchestrator-secret: $DSH_ORCHESTRATOR_SECRET" \\
-d '{"title":"nightly-research","prompt":"summarize todays papers","count":3}'

# run work on this host from anywhere (the tool-server contract)
curl -sS -X POST http://127.0.0.1:3080/dsh-orchestrator/api/remote/run \\
-H "content-type: application/json" \\
-H "x-orchestrator-secret: $DSH_ORCHESTRATOR_SECRET" \\
-d '{"kind":"command","spec":{"command":"uptime"},"timeoutMs":30000}'
# -> {"ok":true,"status":"completed","output":"..."}

Reads (/status, /agents, /tasks, /providers, /runners, /settings) also answer to the secret. Browser reads are trust-fenced (loopback + Host authority); browser mutations additionally require the same-origin CSRF header set and the harness session cookie (see Security).

Settings reference

Where the values live depends on the DSH line (lib/dual-settings.js picks it by capability): on DSH 0.1.5 they are the registered namespace dsh-orchestrator in settings.yaml; on DSH 0.2.x they are the dsh-orchestrator row of the profile's cordis.patch.yml (every field live except stateDir), imported once from settings.yaml.imported while the row is still empty. api.secret is a secret field and is redacted on every read.

Everything lives under the dsh-orchestrator settings namespace (Settings → Orchestrator) or the cordis config row. Highlights:

key default meaning
enabled true master switch
api.secret / env DSH_ORCHESTRATOR_SECRET , machine API secret (env wins; never echoed back)
api.rateLimitPerMinute 60 per-IP machine call budget
agents.spawnMax 8 fan-out cap per spawn
agents.defaultPreset / agents.defaultCwd , defaults for new chats
tasks.maxConcurrent 4 engine-wide live task cap
tasks.defaultRunner local runner for unqualified tasks
tasks.allowCommandTasks true can command tasks run at all
tasks.allowRemoteRunners true may tasks leave this host
tasks.historyKeep 400 finished tasks kept
mirrorJobs true mirror tasks into ctx.jobs (Background Tasks tab)
runners[] local only execution targets, see above
providers[] , integrations, see above
trustedHosts[] , extra Host authorities for the public edge

Security model

Two caller classes, two gates (full detail in docs/DESIGN.md):

  • Browser (tab + settings UI): loopback peer + trust fence (Host authority, no cross-site) on reads; adds same-origin sec-fetch-site/Origin, JSON content-type, the plugin's X-Requested-With header, and the harness session cookie presence on mutations. No GET ever mutates.
  • Machine (curl / cron / other boxes): the operator secret, constant-time compared, per-IP rate-limited, with a tighter wrong-secret budget. Fails closed with no secret.
  • Commands run with a scrubbed environment (PATH/HOME/LANG only) and argv-only spawning. SSH credentials are the operator's ssh config; http tokens are env vars read at call time. Secrets never appear in settings reads, logs, or the task store.

Kill switches

# disable without uninstalling (needs a dsh-web restart):
# ~/.dsh/profiles/web/cordis.patch.yml
- id: dsh-orchestrator
disabled: true

# runtime, no restart:
DSH_ORCHESTRATOR_DISABLE=1   # in the dsh-web environment

Development

npm run check   # node --check every file
npm install     # devDependencies: esbuild, jsdom, react, react-dom
npm run build   # bundle src/client.jsx -> lib/client.js (esbuild, or ESBUILD_MAIN)
npm test        # host-half tests, lossless JSON checks, client render test, dual-settings tests

The client test needs jsdom and react from the devDependencies (or a package directory named by DSH_TEST_REQUIRE_SEED); without them it skips.

Status

0.1.1: used daily on a real deployment. MIT license, see LICENSE. Issues and PRs welcome.


More plugins by the same author

All of them are open source and run on DeepSeek Harness 0.2.x (several on 0.1.5 too).

Plugin What it does
dsh-artifacts An Artifacts tab that lists the files an agent produced and previews them in place, plus a template library agents can use and extend
dsh-mail Mail client and agent mail tools: IMAP, POP3, SMTP and OAuth2 accounts, scheduled and bulk sends with unsubscribe handling
dsh-note-keeper Obsidian-compatible Markdown notes in the sidebar with search, graph, audio notes and transcription, OCR and client-side encryption
dsh-phone SMS and calls (Twilio, SIP via Asterisk) with call audio through your own server, live voicemail and Telegram
dsh-voice Read-aloud, dictation and language-aware speech with 23 TTS and STT providers, per-language routing and word highlighting
dsh-orchestrator (this one) Agent swarm and task orchestration: an Orchestrate tab, orch_* tools, runners, provider cards and a machine API
dsh-workspace-rail A workspace-first sidebar rail: pinned chats, projects as folders, live Recents, search and unread markers
DSH-Idle-Watchdog Idle-chat nudges and an authenticated HTTP API that posts a prompt into any chat
dsh-plugin-updates Update checker that only offers releases your running DSH core can load
dsh-subagent-tiering Subagents default to a cheaper sibling of the parent model unless the agent names a route
dsh-fs-reobserve Ends self-inflicted stale-file errors after an agent's own shell commands
dsh-request-image-cap Clamps every image sent to the model to a pixel cap, fixing many-image request errors
dsh-seal An encrypted channel in front of DSH: a Go reverse proxy plus a service worker that seal all DSH browser traffic

Built by Luca Tzekos, who also makes Job Opportunities API: employer-direct job data with per-field provenance you can verify yourself, free to read and available as an API. If this plugin is useful to you, a star on this repo or a look at jobopportunitiesapi.org is the best thanks.

常见问题

9 问
答案由本站依据条目字段整理,不引用上游原文
dsh-orchestrator 怎么安装?

在 DSH 里执行 `dsh plugin --profile web add @lucagiftzek/dsh-orchestrator` 即可。对应的 npm 包名是 `@lucagiftzek/dsh-orchestrator`。

dsh-orchestrator 的验证等级是什么意思?

L5 · 运行验证通过。在 dsh 沙盒中完成安装与运行冒烟——装得上、跑得起来

dsh-orchestrator 安全吗?

低风险。静态扫描 低;动态审计无结论(以下以静态为准)→ 总评级 低。

dsh-orchestrator 装之前要先确认什么?

先看它会读写哪些文件、执行哪些命令、连接哪些网络地址;验证等级只说明装得上、跑得起来,不等于安全。涉及密钥或系统权限的,建议先在隔离环境试装。

dsh-orchestrator 支持哪些 DSH 版本?

上游记录的兼容版本包括 0.2.2-rc.1。

dsh-orchestrator 需要什么运行环境?

Node.js >=22.5;需要同时安装 react@^18.2.0。环境不满足时安装会失败,建议先确认本机版本。

dsh-orchestrator 用的是什么许可证?

上游标注为 MIT。商用或二次分发前请到仓库确认许可证原文。

dsh-orchestrator 有哪些功能?

Orchestrate 标签页统一管理、14 个 orch_* agent 工具、四类任务:命令/抓取/HTTP/agent、多 runner 执行与健康探测、受密钥保护的机器 API。

这条记录的数据可靠吗?

本站按仓库名去重后合并整理,字段以作者仓库与 npm 元数据为准;安装命令、仓库地址与 README 保持原文,带 L4 / L5 标记的安装命令已在隔离沙盒里真实跑通。

同名或近似条目

6 条
不同作者的仓库分开列,请确认你要装的是哪一个
浏览器与联网
按星标排序,可作替代方案

dsh-our-free-model

dsh-our-free-model

在 DeepSeek Harness 中装上这个 DSH plugin,无需登录、注册或填 API Key,即可直接调用 DeepSeek

L3 · 安装规范通过 8,796 星

dsh-web

dsh-web

侧边栏多列任务看板:卡片交给真实 DSH 智能体会话执行,支持 cron 定时(Host 侧到点执行,关浏览器也生效)。

L3 · 安装规范通过 8,549 星

BrowserSkill

BrowserSkill

BrowserSkill 的 DeepSeek Harness 浏览器自动化桥接插件,通过原生浏览器工具控制可见的 Chrome 和 Edg

L4 · 沙盒安装通过 8,456 星

dsh-pocket

dsh-pocket

DSH Pocket 让 DeepSeek Harness 装进口袋:电脑跑 dsh web,手机扫码即实时同步访问(局域网+公网),人在外

L5 · 运行验证通过 1,656 星

Browser4

Browser4

L4 · 沙盒安装通过 1,152 星

agentrq

agentrq

L4 · 沙盒安装通过 1,140 星

lucagiftzek 的其它插件

6 个

插件的元信息来自作者仓库;分类、验证等级与安全结论的中文说明为中文整理,最近核验 2026-11-12。