dsh-bili-scroll
c1overzz
DSH 插件:每天替你刷一轮 B站,读字幕挑出值得的、写一份日报,值得的 @ 你
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Tetrachlorosilane/dsh-combinagents
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | 简体中文
A user-owned reporting composition for DSH (DeepSeek Harness) agents and subagents.
DSH already gives each subagent a fixed native parent. This plugin adds a separate, editable layer on top: you decide who reports to whom, independently of the native subagent tree. The composition is an overlay. The plugin does not move a session, rewrite its native parent, change its workspace, or change its sandbox or permission policy.
Compatibility: DSH
0.2.2-rc.3on the desktop/web profile. This is an unpublished local plugin bundle, not an npm package to install from a registry. Node.js 22 or newer is required.
Part of the dsh-plugin topic.
Think of it as an editable organization chart beside the native subagent tree, not a replacement for that tree.
0.2.2-rc.3 with the desktop/web UI.tool-subagent-controltool-subagenttool-subagent-forksessions, storageDomain, subagents, and the
sidebar-right client UI. Missing optional services degrade individual fields,
not the whole tab.The plugin can run beside other tool plugins. It keeps the native tool definitions; it only intercepts execution for the six names listed below.
This checkout is a DSH bundle (package.json has a dsh.bundle.patch
entry). It is not published to npm.
- id: dsh-combinagents
config:
autoGrantDelegatedEdges: true
disabled: false
composed preset that removes them; without the native definitions there is
nothing for the plugin to intercept.After a Host restart, open a standard session. Existing sessions created under an older composed preset keep their old preset until you move them; they receive a compatibility fallback, but a new standard session is recommended.
If the tab or header chip is missing, confirm the plugin is enabled in the profile and refresh the page after the Host restart.
subagent or subagent_fork. It is mirrored
into the composition automatically, with its native parent and an
auto-granted delegation edge.A session belongs to at most one composition. If you attach a session that is already in another composition, its subtree moves; a remaining source forest is re-keyed to another local root.
| Action | What it does |
|---|---|
| Add a session | Add an existing DSH session as a composition node |
| Add external | Add a placeholder for an external/non-local execution |
| Reports to | Set the node's parent; No parent makes it a root |
| Rename | Change the node label (not the DSH session title) |
| Message / Interrupt grants | Allow that action along the composition path |
| Sync native agents | Import native descendants that are not mirrored yet |
| Clone whole tree | Create a new independent tree; source stays unchanged |
| Bud as new root | Clone one node and its subtree as a new root |
| Show one-shot agents | Show one-shot nodes that are hidden by default |
| Composition tasks | Create, start, complete, reopen, and delete plugin tasks |
| Open conversation | Open a local session; external nodes never offer it |
Nodes show live, saved, or archived state, plus the native parent,
workspace, sandbox, permission preset, agent preset, and lifecycle mode when
available.
The tab filters one-shot nodes by default. Enable Show one-shot agents to see them. External nodes remain visible because they are placeholders, not necessarily one-shot agents.
The plugin does not register shadow copies of the native tools. It registers a
tools/execute interceptor. For these six names, the native definition and
therefore the model-facing name, description, parameters, output schema,
presentation, prompt guidance, and restrictions stay unchanged; only the
execution path uses the composition:
| Tool | In this plugin |
|---|---|
list_agents |
Lists continuable composition nodes, with mode= in the description |
send_message |
Follows composition edges and grants; rejects one-shot targets |
interrupt_agent |
Follows composition ancestor/grant rules; can interrupt live one-shot agents |
subagent |
Starts a native child, mirrors it, and auto-grants the edge |
subagent_fork |
Same as subagent, using the fork provider |
wait_agent |
Native caller-inbox wait behavior |
composition_task is the only globally registered extra tool. The old
composition_list_agents, composition_send_message, and
composition_interrupt_agent aliases are removed. Native
list_subagent_models and other unique tools are untouched.
list_agents omits one-shot and external rows, matching the native
continuable listing. One-shot targets cannot receive follow-ups. The lifecycle
mode is shown in the row description because the native output schema does not
have a separate mode field.
Composition nodes carry the same native lifecycle distinction:
| Mode | Meaning |
|---|---|
continuable |
A long-lived child that can receive follow-up messages |
one-shot |
A terminal execution with no follow-up |
external |
An external execution with no local session |
unknown |
A legacy or not-yet-synced record |
A name is not a lifecycle mode. A child without an explicit name still gets a
generated agent-N name and can still be continuable. Use Sync native agents
to refresh modes from the native catalogs.
The storages live under the DSH home, so two profiles can open the same composition data. Each Host keeps its own in-memory storage-domain snapshot. The plugin makes them converge:
.revision marker is
updated..mutation.lock, so two profiles
do not overwrite each other's read-modify-write./state every 3 seconds and the header chip polls /summary
every 5 seconds while visible.This is eventual convergence, not a synchronous distributed database.
Writes from an older plugin version do not publish the marker, and a custom
storage backend outside the default directory needs a storageDir override.
SessionHeader, native subagent/catalog,
cwd, sandbox policy, or permission preset.send_message
and interrupt_agent execution use composition grants; they do not bypass
native session policy.| Symptom | Check |
|---|---|
| The six native-name tools still behave natively | Is the plugin enabled? Does the profile keep the native delegation rows? Restart the Host after installing. |
composition_* tools are missing |
They were removed by design; use the native names plus composition_task. |
NOT_IN_COMPOSITION |
Create a composition for this session, or use subagent from a top-level agent. |
AGENT_BUSY |
An affected agent or one of its composition ancestors/descendants is running. Wait for it to finish. |
another DSH profile is changing the composition |
Another profile holds the mutation lock. Retry after a moment. |
storageMemory warning |
The storage domain could not open. Changes last until the Host restarts; check the DSH storage backend. |
| A one-shot agent is missing | It is hidden by default. Enable Show one-shot agents; use Sync native agents if its mode is still unknown. |
| The tree looks stale in another profile | Wait for the 3-second poll, refresh the page, or check that both profiles run this version. |
| The tab is absent | Confirm the plugin and client UI are enabled, then refresh after the Host restart. |
reports-to forest.send_message target selection ambiguous.npm test
npm run check
Tests use only Node's built-in test runner. There is no build step and no runtime dependency.
index.js Host entry and bridge lifecycle
client.js Right-sidebar tab, header utility, count chip
src/graph.js Pure composition graph
src/clone.js Pure clone/bud planner
src/clone-manager.js Clone/bud host adapter
src/store.js Storage domain, revision reload, mutation lock
src/discovery.js Session and native-catalog discovery
src/manager.js Serialized mutations and grants
src/http.js Loopback JSON bridge
src/controls.js Native tool execution interception
More detail:
MIT. See LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。