# AgentTeams v0.1.13

This release makes long-running AgentTeams sessions calmer, more predictable, and easier to observe.

## Fixed & Improved

- **No retry storms while checking progress**: an idle member with an open task attempt now stays parked instead of restarting the same work whenever the captain checks status.
- **Explicit pause and resume**: a captain message resumes a parked member with the same task capability, while reassignment still revokes the previous attempt safely.
- **Activity panel discovery**: teams created after the first page discovery pass appear without a manual reload.
- **Lower idle overhead**: ordinary cardless sessions probe every five seconds and upgrade to the one-second live cadence only after a team is discovered.
- **Clearer delegation guidance**: the captain is instructed to create work for every required contributor and to avoid busy polling or waiting on unassigned members.

## Verification

- Passed production build, offline verification, lifecycle verification, the eight-member complex stress suite, and the Skill mirror check.
- Ran three independent four-member workflows with real DeepSeek models in a `/tmp` workspace; all assigned tasks completed in all three runs.
- Verified parked-member resume, task dependency gates, member-to-member reassignment, captain takeover, archive readback, live language switching, panel persistence, and idle polling cadence in the real Harness Web UI.

## Known Limitation

- After a hard DSH restart, the team, members, tasks, and dependency graph are restored, but unfinished members may remain in **Ready to continue** instead of resuming automatically. The captain can explicitly resume or reassign them; automatic cold-restart continuation will be addressed separately.

## Installation

```sh
dsh plugin --profile web add @nanmicoder/dsh-agent-teams
```

<details>
<summary><b>中文版本 / Chinese Version</b></summary>

# AgentTeams v0.1.13

本次更新让长时间运行的 AgentTeams 协作更安静、更可预测，也更容易观察。

## 修复与改进

- **查询进度不再触发重复工作**：成员空闲但仍持有未完成任务时会保持暂停，不会因为队长查询状态而重新执行同一件事。
- **明确的暂停与继续语义**：队长发消息可让暂停成员沿用原任务能力继续执行；任务转派仍会安全撤销旧 attempt。
- **活动面板自动发现团队**：首次页面探测之后才创建的团队，也能自动出现在面板中，无需手动刷新。
- **降低普通会话开销**：没有团队卡片的普通会话每 5 秒低频探测一次，发现团队后才升级为每秒实时轮询。
- **更清晰的派工指导**：要求每位必须参与的成员都有明确任务，并避免高频查询或等待未分配工作的成员。

## 验证

- 通过生产构建、离线验证、生命周期验证、八成员复杂压力测试及 Skill 镜像检查。
- 在 `/tmp` workspace 中使用真实 DeepSeek 模型连续运行 3 轮独立四人团队流程，三轮所有已分配任务均完成。
- 在真实 Harness Web UI 中验证成员暂停继续、任务依赖、成员间转派、队长接管、归档读取、语言实时切换、面板状态保持及普通会话轮询频率。

## 已知限制

- DSH 硬重启后，团队、成员、任务和依赖图能够恢复，但未完成成员可能停在“待继续执行”，不会自动恢复工作。队长可以显式继续或转派；冷重启自动续跑将在后续版本单独处理。

## 安装

```sh
dsh plugin --profile web add @nanmicoder/dsh-agent-teams
```

</details>
