dsh-cc/dsh-cc--packages-interaction-command-agents ↗★ 1

@dsh-cc/command-agents

Human-facing slash command to list, inspect, and stop continuable background agents 适合管理可续后台代理的用户;attach子命令尚未实现。

패키지
@dsh-cc/command-agents
호환성
미검증
Harness peer 범위
>=0.1.5-rc.1
Cordis peer 범위
>=0.1.5-rc.1
버전
0.7.1
라이선스
Apache-2.0
최근 업데이트
2026. 9. 16.

설치

검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗

@dsh-cc/command-agents

English | 中文

Human-facing /agents command for continuable background agents (plan docs/plans/2026-09-05-continuable-background-ux.md §3.2, Slice 0 MVP).

Surface

  • /agents — grouped list (Working / Idle / Ready; residency only — no Blocked/Done groups), label-rendered rows, pin state incl. gate deny code.
  • /agents — thin detail: pin provenance (path, definition, model selector, workspace, gate evaluation), residency, ids.
  • /agents stop — one interrupt request on a running child (the child stays continuable/resumable); short no-op explanation otherwise.
  • /agents attach — namespace reserved, not implemented (P1).

Shared snapshot

src/snapshot.ts is a pure snapshot provider over injected services (subagents.listChildren host-plane, agents.get registry, realm-interior resumePinStore). The plugin mounts INSIDE the cc-services realm and publishes the read-only ccAgents service on the ROOT context (CcPlugins pattern), so the TUI local-slash path consumes the SAME snapshot. The preset surface renders the thin detail only; the TUI adds fold-derived decorations (provider/model, prompt excerpt, last stopReason) additively — the divergence is deliberate and documented in the capability manifest.