nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Twens03/dsh-quiet-subagents
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A session-scoped, manually armed, one-shot "quiet mode" for direct subagents. Let the main session finish its current work; handle the child result on the next turn.
dsh-quiet-subagents is a DeepSeek Harness (DSH) plugin. It does not change the subagent itself. It changes when messages from direct child subagents are delivered: while quiet mode is armed, a child's send_message and completion notice no longer steer into the running main turn. They wait in the QueueDock above the Web composer and are delivered as one human-readable bubble on the next turn.
Use it when:
Install · Quick start · Configuration · Limitations · Troubleshooting
subagent / subagent_fork. Agent Teams team-message and ordinary user messages are untouched.humanize=false, the raw runtime text is kept and may include the child id.0.2.1-rc.2. The 0.2.1-rc.3 changes do not touch this plugin's integration points, but run a quick regression after upgrading.engines.node field in package.json.DSH's agent and queue surfaces are still evolving. This plugin aims to stay compatible, but re-test the quiet flow after a major DSH upgrade.
This project is distributed through GitHub for now, not npm.
The repository root is this package directory (package.json and cordis.patch.yml at the top). From the machine that runs DSH:
dsh plugin --profile desktop add github:Twens03/dsh-quiet-subagents
To pin a commit:
dsh plugin --profile desktop add github:Twens03/dsh-quiet-subagents#<commit-sha>
This command installs the plugin into the
desktopprofile. DSH plugins are isolated per profile; to use it in the Web app, run:dsh plugin --profile web add github:Twens03/dsh-quiet-subagents
This is a pure JavaScript bundle: lib/ and client/ are committed, so there is no prepare/build step and no allowBuilds authorization is needed. DSH reads dsh.bundle and adds the package to the profile's bundle list; if your DSH version does not do that automatically, add "dsh-quiet-subagents" to dsh.profile.bundles and restart.
dsh-quiet-subagents directory (or install the package from this repository if your DSH version supports repository installation).The plugin does not auto-update. To update, replace the installed directory with a newer release and restart DSH.
git clone https://github.com/Twens03/dsh-quiet-subagents.git
dsh plugin --profile desktop add /path/to/dsh-quiet-subagents
DSH should add the package to dsh.profile.bundles because it declares dsh.bundle; if it does not, add:
"dsh-quiet-subagents"
Restart DSH. This path is for development; regular users can use the GitHub command or a release ZIP.
If the settings card is missing: confirm the plugin is installed and enabled, restart DSH, and make sure you installed a real package directory rather than a read-only development link. Some local link installations cannot expose the client config schema; install a packaged/physical copy instead.
In the main session:
Arm quiet mode:
quiet_on
Start a direct child subagent. Let it do its work and call send_message when it has something to report.
Continue your own main-turn work. Do not poll, sleep, or read child logs just to wait for the child.
Finish the main turn when your work is done.
On the next turn, the result arrives as a QueueDock bubble or as a normal delivered message.
Quiet mode disarms itself after that child interaction is delivered.
To stop early:
quiet_off
To inspect the current state without exposing child UUIDs:
quiet_status
The purpose of quiet mode is not to make the main turn wait synchronously for a child. It prevents the child from interrupting the running turn.
spawn_teammate + wait_agent.quiet_off does not speed up queued bubbles. It stops further quiet processing; already queued bubbles still deliver normally.Open Plugins → dsh-quiet-subagents and use the settings card. Settings are saved to the profile and take effect after DSH restarts.
| Setting | Default | Values | Meaning |
|---|---|---|---|
enabled |
true |
true / false |
false disables all hooks and tools |
onlyCompleted |
true |
true / false |
Let failed or aborted settlements pass through |
autoOff |
delivered |
delivered / replied |
When quiet mode disarms |
ttlTurns |
3 |
positive integer | Fallback turns when no child message arrives after arming |
settledDelivery |
coalesce |
coalesce / always / never |
How completion notices are delivered |
humanize |
true |
true / false |
Keep raw runtime text when false; useful for debugging |
language |
auto |
auto / zh / en |
Bubble copy language |
debug |
false |
true / false |
Mirror plugin events to the DSH log |
logFile |
unset | file path | Optional: write event-by-event JSONL evidence |
autoOff| Value | Behavior |
|---|---|
delivered |
Disarm as soon as the last bubble is claimed on a later turn |
replied |
Deliver the bubble, then wait for the main session's turn-stopping before disarming |
Both modes auto-disarm; only the timing differs.
settledDelivery| Value | Behavior |
|---|---|
coalesce |
Default. One bubble per child; settled refreshes it in place to "Subagent finished" |
always |
Always create a separate "Subagent finished" bubble; a child may produce two bubbles |
never |
When a send_message exists, do not create a separate completion bubble; append new closing text to the same bubble and keep the "Subagent message" title. If only settled arrives, still create a finished bubble |
never edge case: if the original bubble has already been claimed by the next turn and the closing has new content, the plugin adds a short finished bubble so information is not lost. If there is no new content, it adds nothing.
next-step queue. At the next agent/pre-step, the plugin turns it into a next-turn QueueDock bubble.send_message; it waits for the main turn's next step boundary.send_message and settled are already waiting at the same pre-step, the first visible state is already the finished state. This is intentional merging.next-turn item per turn. Multiple children arrive across multiple turns; QueueDock shows a collapsed count.team-message do not go through quiet mode.next-turn item can be claimed before the browser paints it. The result is not lost, but QueueDock may show no bubble.next-turn claims one item per turn. This is DSH queue behavior, not message loss.plugins.bundle.config.| Symptom | Likely cause / action |
|---|---|
quiet_on is rejected as child-only |
A subagent session cannot arm quiet mode; call it in the main session that starts the child |
| No bubble appears after arming | The message may have been claimed on the next turn; check whether the result arrived and use quiet_status for phase/delivered |
| Bubbles arrive across several turns | Multiple children or queued next-turn items; DSH claims one per turn |
quiet_off does not show a result immediately |
It does not flush queued bubbles; they still deliver on normal turns |
| No settings card | Confirm install, enablement, and restart; use a physical/packaged install rather than a read-only development link |
never mode has no separate completion bubble |
Expected: completion text is merged when a message exists; inspect the closing text |
| Quiet mode does not auto-off | Check onlyCompleted, ttlTurns, and quiet_status; use quiet_off if needed |
debug and the optional logFile record events. If enabled, make sure the logs do not contain sensitive content.The package has two halves:
lib/: Host plugin; registers tools, listens to DSH events, and maintains quiet state.client/: Web client half; registers the plugins.bundle.config settings card on the Plugins page.There is no build step. Restart DSH after changing Host code, or use DSH's client development flow for client changes.
See CHANGELOG.md for release notes and LICENSE for the license.
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: agent、agents、session。