Skip to content

HuanLinOTO/dsh-plugin-yet-another-subagent

70Last commit Aug 15, 2026

dsh-plugin-yet-another-subagent DSH plugin

This plugin provides a configurable subagent (subagent) profile system for DSH. It uses a single `subagent` tool with a `profile` parameter to select from multiple profiles. It includes Web UI settings, real-time progress (tool calls/tokens/activity), and a subagent tree tab for clicking into child sessions.

How to install the dsh-plugin-yet-another-subagent DSH plugin

dsh plugin --profile web add @huanlin/dsh-plugin-yet-another-subagent

Copying does not run this command. Review the repository and version before installing the dsh-plugin-yet-another-subagent DSH plugin.

dsh-plugin-yet-another-subagent DSH plugin data source

dsh-plugin-yet-another-subagent DSH plugin snapshot date: Aug 16, 2026

discovered

What the dsh-plugin-yet-another-subagent DSH plugin can do

  • Single `subagent` tool with profile enumeration parameter
  • Supports foreground and background (continuable / one-shot) modes
  • Profile persistence via DSH settings seam to `$DSH_HOME/settings.yaml`
  • RPC CRUD endpoints: profiles.list, profiles.add, profiles.update, profiles.remove
  • Real-time progress display: tool calls, token usage, activity status
  • Subagent tree tab view that allows clicking into child conversation sessions

Where the dsh-plugin-yet-another-subagent DSH plugin fits

  • Configure different subagent profiles for different tasks (e.g., general, programming, writing)
  • Run subagents as background processes in complex multi-step tasks
  • Manage subagent configurations visually through the Web UI settings page
  • Monitor real-time progress of subagent tool calls and token consumption

Who the dsh-plugin-yet-another-subagent DSH plugin is for

  • DSH users who need flexible subagent profile management
  • Advanced users who want to visualize subagent execution progress

dsh-plugin-yet-another-subagent DSH plugin limitations

  • Old sessions are incompatible: after upgrading, result cards in old sessions cannot be clicked due to format changes
  • Projection schema changes require host restart to take effect (stateVersion 2)
  • Headless assembly without settings provider falls back to in-memory state (no persistence)

dsh-plugin-yet-another-subagent DSH plugin: from the repository README

Quoted from the HuanLinOTO/dsh-plugin-yet-another-subagent README, the upstream source of the dsh-plugin-yet-another-subagent DSH plugin. Copyright remains with the original authors.

> 📌 本插件已收录于 [dshfind](https://dshfind.com/zh) 插件超市,点击上方徽章直达主页。 # yet-another-subagent [![npm version](https://img.shields.io/npm/v/@huanlin/dsh-plugin-yet-another-subagent)](https://www.npmjs.com/package/@huanlin/dsh-plugin-yet-another-subagent) 可配置的子代理(subagent)profile 系统,提供单一 `subagent` 工具 + `profile` 参数选择,支持 Web UI 设置、实时进度展示(工具调用/token/活动)、子代理树标签页、点击跳转子会话。 ## 架构 单 bundle,三入口(host `.` + invariant `./invariant` + client `./client`)。 - **Host 半**(`src/index.ts`): - 单一 `subagent` 工具,通过 `profile` 枚举参数选择 profile(非每 profile 一个工具) - 复用官方 `spawn` provider,支持前台(foreground)和后台(continuable / one-shot)两种模式 - Profile 状态通过 settings seam 持久化到 `$DSH_HOME/settings.yaml` - RPC CRUD:`profiles.list` / `.add` / `.update` / `.remove`(专用 `/ya-subagent` 通道,不共享 `/api`) - 两个 session projection:`subagentProfile`(父会话 childId→profileId 映射 + callId→childId)+ `yaSubagentProgress`(子会话实时 toolcall/token/活动状态) - **Client 半**(`src/client/index.ts`): - `settings.section` — Profile 编辑页 - `tool.call.toolview`(key `subagent`)— `SubagentCard` 工具调用卡片 - `conversation.view`(id `subagent-tree`)— `SubagentTreeView` 子代理树标签页 `cordis.patch.yml` 只禁用官方 `tool-subagent`(spawn 路径),保留 `tool-subagent-fork`(无名称冲

Read the full READMERepository license: NOASSERTION

dsh-plugin-yet-another-subagent DSH plugin questions

How do I install this plugin?

Run `dsh plugin --profile web add @huanlin/dsh-plugin-yet-another-subagent` in your terminal. Restart the `dsh web` process and hard refresh your browser (Ctrl+Shift+R) to see the new settings and tools.

How do I configure subagent profiles?

You can configure profiles via the Web UI settings section (provided by the plugin) or by editing the `profiles` field in your `cordis.patch.yml` configuration. The RPC endpoints `profiles.list` and `profiles.add` are also available for programmatic management.

Can I run a subagent in the background?

Yes. The plugin supports two background modes: `continuable` (you can continue the conversation later) and `one-shot` (the subagent runs once and returns). Set the `backgroundMode` field in your profile configuration to either value.

My old sessions don't work after upgrade – what should I do?

This is a known limitation. The `completed <label> subagent <id>` render format changed, so old session result cards cannot be clicked. Only new sessions started after the host restart will work correctly. Consider archiving or moving on from old sessions.

How can I see the progress of subagent tool calls?

The plugin provides a real-time progress display in the Web UI, showing tool calls, token usage, and activity status. You can also open the subagent tree tab (id: `subagent-tree`) to view the hierarchy and click into child sessions.