Kadima-code/dsh-subagent-fold ↗★ 1

@dsh-external/dsh-subagent-fold

子代理列表按批次折叠与管理工具 适合子代理较多,需要按时间分组折叠和便捷删除子代理的用户。

套件
@dsh-external/dsh-subagent-fold
相容性
待驗證
版本
0.0.4
授權
BSD-3-Clause
最近更新
2026年10月21日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Kadima-code/dsh-subagent-fold

Usage

  1. Open the built-in Subagent button (native hover-open is untouched).
  2. The bottom shows a "Current N" label plus the current batch (always expanded); above it are Previous N / Today N / History N.
  3. Click any group header to expand/collapse; headers show only "name + count".
  4. Also works inside a subagent session: its header (parent/directory dropdown) is grouped the same way.
  5. Delete a subagent: the trailing ⋯ on each row opens "Delete subagent" (confirmed twice; a running one is stopped first). The row disappears and the "N subagents" count decreases accordingly.
GroupMeaningDefault
Currentthe most recent batch of subagents (parallel spawns = one batch)always expanded
Previousthe batch before thatcollapsed
Todayother batches from todaycollapsed
Historyanything before todaycollapsed

A "batch" is clustered by creation time; a gap of ≤ 120 s counts as the same batch.