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 ピア範囲
>=0.1.5-rc.1
Cordis ピア範囲
>=0.1.5-rc.1
バージョン
0.7.1
ライセンス
Apache-2.0
最終更新
2026/09/16

インストール

検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗

ドキュメント

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.