DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Plugin Aitelier — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-plugin-aitelier

Plugin Aitelier

从 DeepSeek Harness 使用 AItelier 作为子代理:生成、编辑、运行、导出和导入 SkillFlow 管道。仅客户端——需要运行中的 AItelier 后端(Docker;请参阅 README)。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add dsh-plugin-aitelier@0.1.9
README兼容性版本

兼容性与来源证明

Plugin Aitelier 以 dsh-plugin-aitelier 发布,当前版本为 0.1.9。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
npm
Registry 更新时间
2026/9/20

版本

0.1.9stable
2026/9/8
0.1.8stable
2026/8/28
0.1.7stable
2026/8/28
查看其余 7 个版本收起版本
0.1.6stable
2026/8/27
0.1.5stable
2026/8/26
0.1.4stable
2026/8/26
0.1.3stable
2026/8/25
0.1.2stable
2026/8/25
0.1.1stable
2026/8/25
0.1.0stable
2026/8/25
最新版
0.1.9
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
27.9 kB
文件数
4
Surface
any
许可证
MIT
发布源
npm
GitHub
★ 3
周下载
96
最近提交
2026/9/20
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

README

dsh-plugin-aitelier

Use AItelier as a subagent from DeepSeek Harness: design a pipeline, edit its graph / roles / prompts / tools, run it, and carry it to another machine.

The plugin is a Profile Bundle that mounts one @deepseek-ai/dsh-mcp-client row against AItelier's MCP endpoint. The model then sees the surface as native tools under mcp__aitelier__*.

Compatibility: the patch assumes dsh-mcp-client's config shape as of dsh 0.1.0-rc.2 (serverName/transport/url/headers/toolCallTimeoutMs); every dsh release through 0.1.2-alpha.1 keeps it. This is deliberately not a peerDependencies entry: the plugin has no code and imports nothing — dsh resolves the mcp-client name from its own installation — and a declared peer would invite pnpm's auto-install-peers to pull a second, registry-sourced copy of dsh-mcp-client into the profile, which dsh's profile-first module resolution would then shadow the installation's instance with.

No mcp__aitelier__* tools? Read this first.

A connection failure here is silent. dsh-mcp-client has failOnStartupError: false, so an unreachable endpoint does not stop dsh booting — the tools simply never appear, and nothing says why. An agent in that state can only report "no such tools" and guess; it cannot diagnose it from the inside. Check, in order:

  1. Is AItelier running? curl -s localhost:4444/health should answer {"status":"ok",…}. If not, start it — see Prerequisite.
  2. Is the URL right for where dsh runs? The default is http://127.0.0.1:4444/mcp (host). Use http://aitelier:4444/mcp only if dsh is itself a container on the same docker network.
  3. Does the endpoint answer? curl -s -X POST $AITELIER_MCP_URL -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"c","version":"0"}}}' — a 421 means the Host header is not in AItelier's allow-list (set AITELIER_MCP_ALLOWED_HOSTS on the AItelier side).
  4. Is the row actually mounted? dsh --profile <name> --dump-config | grep -A3 mcp-aitelier.

Prerequisite: AItelier itself

This plugin is a client. It does not install or start AItelier — you need one running and reachable first. AItelier ships as a container:

git clone https://github.com/linxuhao/AItelier && cd AItelier
mkdir -p ~/.aitelier-secrets && chmod 700 ~/.aitelier-secrets
printf '%s' "sk-your-deepseek-key" > ~/.aitelier-secrets/DEEPSEEK_API_KEY
chmod 600 ~/.aitelier-secrets/DEEPSEEK_API_KEY
docker compose up -d          # serves the API + MCP endpoint on 127.0.0.1:4444

The LLM key stays on the AItelier side and never travels through this plugin — see Which API key goes where.

Install

corepack enable pnpm     # `dsh plugin` drives pnpm; on a node-only box it refuses
dsh plugin --profile headless add dsh-plugin-aitelier

That one command installs the package and appends it to the profile's dsh.profile.bundles. Then restart the profile. Configure it in the Harness home's env layer (~/.dsh/.env):

AITELIER_MCP_URL=http://127.0.0.1:4444/mcp   # the default; set it only to override
AITELIER_ADMIN_TOKEN=…                       # required for writes and private State reads

Ordinary workflow reads work with no credentials. Writes and private State reads need the token — see Authorization.

Verify the install by asking the agent to call mcp__aitelier__list_pipelines; it should come back with the registered pipelines.

Persistent project State DAG

For project goals and acceptance, first call state_graph_help and read its driver_guide field. It is the tool-only fallback for the MCP prompt state_graph_driver and resource aitelier://state/driver-guide; use the live schemas instead of assuming this client bundles the latest server contract. If State tools are absent, report the backend capability gap; ordinary pipeline operations can still be used where appropriate.

Use one persistent State project per product. Register workflow or external attempts before dispatch, retain exact IDs and frozen context, and wait with state_graph_read(action="wait_for_state_change", arguments=...). Persist next_after with its filter scope. Timeout does not stop a worker; completion produces a candidate, not acceptance. Record actual evidence for each criterion before explicit verification. Checkpoint decisions follow existing authorization.

Keep a compact private director notebook for decisions, unresolved questions, worker/worktree ownership and cursor handoff. Reference State IDs; do not copy its status tables or event history. No notebook API is assumed. On resume, read current State before acting; notes cannot grant permission or certify results.

The surface

ToolKindWhat it is for
list_pipelinesreadStart here. Names + input_hint for every registered pipeline.
get_pipelinereadOne pipeline's graph YAML and step list.
edit_pipelinewriteReplace the graph. Validated before anything is written.
list_roles / get_rolereadThe agent roles a pipeline's steps use.
edit_rolewriteModel, tools, temperature, thinking.
list_templates / get_templatereadEach role's prompt.
edit_templatewriteReplace a role's prompt — the main way to change behaviour.
list_tools / get_toolreadHost tools; which are generated (editable) vs built-in.
edit_toolwriteWrite a generated tool. The source must import and define its own name.
export_pipelinereadThe whole closure — graph, roles with prompts, custom tools — as one JSON bundle.
import_pipelinewriteInstall a bundle, optionally under a new name.
generate_pipelinewriteWrite a NEW pipeline from a description (runs AItelier's grounded generator). edit_target= re-generates an existing one with a change.
archive_pipelinewriteRetire a generated pipeline. Deleting its files alone leaves a runnable zombie.
run_pipelinewriteStart a run; returns a run_id immediately.
wait_for_runreadBlock until the run pauses at a checkpoint or finishes. Use this, not a poll loop.
answer_checkpointwriteApprove or reject a paused run. Rejecting sends work back with feedback.

| get_available_models | read | The INTERNAL model names this deployment serves (flash, pro, …), their ordered endpoint candidates, and whether each can serve right now. Roles reference these names, never a provider/model string — start here before edit_role. | | list_providers | read | Registered endpoints: base URL, the NAME of the secret each reads, and which models it serves. | | add_provider / update_provider / delete_provider | write | Manage endpoints. api_key_env is the NAME of a secret file, never the key. Deleting one a model still uses is refused. | | add_model / delete_model | write | Create or remove an internal model name. Order is policy: calls bind to the first candidate and the rest are failover, so put a pay-as-you-go endpoint LAST. Deleting one something references is refused. | | map_model / unmap_model | write | Point an internal model at one more endpoint, or take one away. Removing the last candidate is refused — a model resolving to nothing fails at its first call. | | skillflow_docs_list / skillflow_docs_search / skillflow_docs_read | read | Skillflow's own spec for the graph YAML edit_pipeline accepts. Read it before inventing a field. |

Every run-taking tool names its argument run_id and accepts either a run id or a project id (the newest run of that project is used, and the reply names which one). Before 2026-08-26 four of them called it run and only some accepted a project id — a call written against the old shape fails validation with the key it wanted, so it is a retry, not a wrong answer.

Editing needs something to edit

Only generated (gen_*) pipelines are editable and exportable — a built-in config lives in the AItelier repo and travels with it. A fresh AItelier has no generated pipelines at all, so on a new install every edit_* and export_pipeline call correctly refuses, and list_pipelines shows only built-ins. Make one with generate_pipeline.

The skill

The package ships one skill, aitelier-pipelines, at skills/aitelier-pipelines/SKILL.md. It teaches the loop below, which tool answers which question when a drive fails, and the failure shapes that pass all three of AItelier's structural gates and only show up on a real run. Install it into a skill root DSH already scans:

mkdir -p ~/.dsh/skills
cp -r ~/.dsh/profiles/*/node_modules/dsh-plugin-aitelier/skills/aitelier-pipelines ~/.dsh/skills/

~/.dsh/skills ($DSH_HOME/skills) is the user-dsh root — scanned for every project, no git root required. The package lives in the PROFILE's node_modules, not your project's: dsh plugin add installs into $DSH_HOME/profiles/<name>, so a cp run from a project directory finds nothing. For one project only, <projectRoot>/.agents/skills/ works too — the project root being the nearest ancestor with a .git.

Why this is a copy and not automatic. A Cordis patch targets a row by id and replaces its whole config. Mounting the skill by patching the shared skill-filesystem row would therefore overwrite whatever skill roots, watch settings and custom directories you already had. Inserting an isolated provider row instead would need this patch to resolve its own installed directory, and this bundle ships no code to do that with. One cp you can see beats a config edit that silently drops your other skills.

The loop: generate → drive → observe → fix

The whole point of the surface. AItelier's own three structural gates check that a generated pipeline is shaped right; only running it shows whether it works, and that is a judgment loop, not a fixed DAG:

  1. generate_pipeline("…") → a run_id. The generator is scheduler-driven, so AItelier advances it; you do not step it.
  2. wait_for_run → it pauses at a design review. Read it, then answer_checkpoint — approve, or reject with feedback and it revises. On completion the pipeline appears in list_pipelines as gen_<slug>.
  3. run_pipeline(gen_<slug>, seed_text=…) — a test drive. Checkpoints are answered for you by default (see below).
  4. wait_for_run → get_run_summary. A step failed, or the outputs are wrong? trace_list(run_id, errors_only=true) finds where, trace_read(seq) shows the actual prompt and response, get_step_output shows what a middle step wrote. Inside a fan-out, get_run_summary names the loop item each instance ran for ({step: t_impl, status: failed, item: health_bar}) — a loop body runs once per item, plus retries, so without it a failure names a step that ran nine times and you are guessing which task broke.
  5. Fix and go again. edit_template for a prompt (usually the answer), edit_pipeline for the graph — consult skillflow_docs_search for the schema rather than guessing — edit_tool for a tool's code. Or generate_pipeline(edit_target=gen_<slug>, description="the change") for a surgical regeneration. Then back to 3.
  6. stop_pipeline any drive that is going nowhere, and archive_pipeline the attempts you abandon.

Nothing in that loop steps the pipeline by hand: AItelier's scheduler runs it, and the agent decides at checkpoints and between runs.

Runs do not block, but waiting does

An AItelier run is long and may pause for human approval, so run_pipeline returns a run_id and nothing else. Then call wait_for_run: it is push-based and returns the instant the run settles — at a checkpoint OR at a failure, because a watcher that matches only the happy ending sits silently through a crash.

It waits at most timeout_seconds (default 45) and then returns status: "waiting", timed_out: true. That is not a failure — call it again.

The ceiling is your client's, not ours. A wait longer than toolCallTimeoutMs does not wait longer: the client hangs up first and the model sees a transport error instead of "still running". This plugin therefore raises toolCallTimeoutMs to 10 minutes (override with AITELIER_MCP_TIMEOUT_MS), well above wait_for_run's own default, so the two cannot fight. Use timeout_seconds: 0 for one look with no wait.

A paused run is waiting to be answered — answer_checkpoint(run_id, decision, feedback), right here. The UI is the other way in, not the only one. (This line used to say DSH could not approve, while the table above listed answer_checkpoint; the tool always worked.)

An approval carries no feedback channel: AItelier refuses decision: "approve" with non-empty feedback rather than accept text it cannot deliver. To make a demand stick, reject with it — that sends the step back to redo the work against it.

Authorization

Ordinary workflow reads are open. Writes and private State reads require authorization, checked per tool by AItelier itself. This client sends AITELIER_ADMIN_TOKEN for direct, off-tunnel connections.

The reason it is per tool rather than per path: MCP posts every call, read or write, to the same URL, so AItelier's normal method-based write gate cannot tell them apart. Exempting the path would have left edit_pipeline unauthenticated. See api/mcp_router.py.

Without the token, write tools answer denied: … and change nothing. That is a legitimate read-only installation.

Which API key goes where

Two different credentials, two different owners. They do not mix:

  • AItelier's LLM key (DEEPSEEK_API_KEY) belongs to AItelier and never leaves it. Its agents run inside its own container and call the model themselves; DSH is only telling them what to do. AItelier reads it from a mounted secret file, deliberately not from the environment, so subprocesses cannot inherit it.
  • The credential in THIS plugin's config is only for reaching AItelier: AITELIER_ADMIN_TOKEN. That is the one DSH owns.

Both sides follow the same rule — configuration carries a reference to a secret, never the secret. cordis.patch.yml holds process.env.AITELIER_ADMIN_TOKEN, not a token.

Not included

A native SubagentProvider (the seat subagent-codex and subagent-claude-code occupy) is not part of this version. It would let ctx.subagents.start('aitelier', …) delegate a whole task and make DSH's own tool-subagent-control / -report work against it. The blocker is not effort but contract: a one-shot subagent is request → result, while an AItelier run stops at human checkpoints. DSH's continuable children (prepareContinuable + followup) are the right shape for that, and it is worth doing separately.

stop_pipeline
write
Cancel a run that is going nowhere.
get_run_statusreadA single non-blocking look.
get_run_summaryreadWhat the run did: per-step status, the FIRST failure with its error, final outputs. Inside a loop each entry names the item it ran for.
get_step_outputreadThe files ONE step produced. Each is capped at 20000 chars; a file that was cut says so in the text and in a truncated map, and file=<name> reads one file at a 200000-char cap.
list_runsreadRecent runs, newest first — the entry point when you hold no id.
trace_list / trace_search / trace_readreadThe durable trace: find where it broke, then read the actual prompt / response / tool result.