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.