nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:laughinbytes/dsh-host-ops
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Host-side DSH tools for agents — workspaces, sessions, and configuration, with preview, approval, audit and revert for writes.
For DeepSeek Harness (DSH).
This is the developer-facing README. The page users see inside DSH is generated from the
localized detail documents in docs/detail.md /
docs/detail.zh.md through the official meta.detail mechanism.
Three host-side tools that expose DSH's own operations to an agent. All calls go through DSH
services (workspaceRegistry, sessionController, sessionQuery, sessionTitle, agents,
configEditor, approval); the plugin never edits DSH's files directly.
| Tool | Operations |
|---|---|
dsh_workspace_manage |
list, get, create, rename, reorder, remove (remove only unregisters — files, sessions and history stay) |
dsh_session_manage |
list, get, search, read, start, send, steer, queue, wait, notify, fork, attach, rename, reorder, sort, pin, unpin, archive, unarchive, cancel, model |
dsh_config_manage |
list, get, set, reset, revert, history — config of any editable row in the current profile (DSH core rows and installed plugin rows alike) |
send delivers for the next turn: an idle target starts now, a running target receives it
after the current turn (non-disruptive).steer injects into the turn currently running, adopted at its next step; on an idle target
it falls back to queue and says so.queue only inspects or edits pending messages; it never sends new text.send, steer, start, read and wait return a cursor; pass it as after to
read/wait to get only what happened after that point. wait supports
until: done | reply | step and returns partial content plus idleForMs on timeout.dsh plugin --profile desktop add dsh-host-ops
From GitHub instead: dsh plugin --profile desktop add "github:laughinbytes/dsh-host-ops#main".
desktop is the Desktop app profile (the Web UI profile is web). You can also use
Plugins → Add plugin. Declare/install no @deepseek-ai/* packages yourself: they are
peerDependencies resolved from the DSH installation.
The plugin row accepts three options (defaults shown):
| Option | Default | Meaning |
|---|---|---|
approval |
ask |
ask = approval required for every config write; never = config writes read-only |
requirePreview |
true |
writes require the preview token |
strictErrors |
false |
throw on every degradation path (development/testing only) |
Change them through the agent (dsh_config_manage, with preview/approval/audit). Host-only
plugins have no editable form on the Plugins page; that page only shows the component
on/off switch.
approval.request must return allowed-once; a missing approval channel
fails closed.auditId for records from the current runtime;
mismatched current values refuse the revert and list the conflicts. After a reload, use
the receipt or reset.providers[].apiKey) are masked in previews, receipts, approvals, history and get.secret fields and password/token/apiKey
names are rejected when added or changed (including inherited values a complete override
would pin into the profile); credential-ref fields (e.g. apiKeyEnv) are references and
stay allowed. Set secrets in Settings/credentials, or use a ${credential:...} reference.agent-loop, webserver, connection, modules, …) carry a
warning with emergency recovery instructions.DSH >=0.2.1-rc.2 or >=0.2.2-rc.1 (tested on 0.2.2-rc.3); Node >=22.19.0; verified on
macOS Desktop, other platforms untested. Audit history is in-memory for the current runtime
(last 100 writes; cleared when the plugin reloads). Config
edits cover existing rows' top-level fields only. The plugin cannot install/enable plugin
bundles, edit agent presets, or write DSH storage files directly.
node scripts/verify-dsh-host-ops.mjs # logic suite (fake DSH services), 413 checks
node scripts/verify-dsh-host-ops-schema.mjs # schema suite (real @deepseek-ai/dsh-tools), 64 checks
In an installed profile, ask the agent to “list my workspaces” — the tools answering without errors is the end-to-end smoke test.
Full local gate (host suites + compliance + presentation + standards): npm test.
Disable or remove the dsh-host-ops bundle on Plugins (or
dsh plugin --profile desktop remove dsh-host-ops). Config overrides made through the tool
remain in the profile patch layer — while the plugin is still loaded, use
dsh_config_manage (revert/reset); after a reload, use reset or the receipt from the
write.
If a startup-required row was changed and DSH no longer boots: quit DSH, rename
~/.dsh/profiles/<profile>/cordis.patch.yml to .bak-<timestamp>, start DSH again; original
values are in the tool receipt.
Repository layout, install policy for daily use and release scanning:
docs/development.md.
Plugin spec source: dsh-dev/docs/spec-matrix.md (DSH 0.2.2-rc.3). Run npm test before committing.
MIT © 2026 laughinbytes. Chinese: README.zh.md.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: agent、session。