# AgentTeams v0.1.11

This release restores AgentTeams activity and member history after a DeepSeek Harness client or host restart. It fixes the rc.8 compatibility regressions reported in [#60](https://github.com/NanmiCoder/dsh-agent-teams/issues/60) and [#61](https://github.com/NanmiCoder/dsh-agent-teams/issues/61).

## Fixes

- **Cold-start activity recovery**: selecting a captain session now performs a lightweight live and archived team discovery pass, so older sessions without an AgentTeams conversation card restore their activity panel after restart.
- **Reliable member activity**: live `running / idle / ready` state is resolved from the durable team roster and Agent registry instead of depending on the versioned `listChildren()` projection shape.
- **Persistent member history**: retired AgentTeams members remain discoverable in the Harness subagent catalog for transcript review while direct follow-up remains blocked.
- **rc.8 transcript navigation**: activity-panel and conversation-card member links refresh the parent catalog and use `openSubagent()` navigation with parent-child addressing, with a fallback for older Harness runtimes.

## Verification

- Reproduced the full captain/member/task/archive lifecycle in a real `/tmp` workspace on the Harness web client.
- Verified cold restart recovery without opening the built-in subagent catalog first.
- Verified archived member navigation and complete persisted task history.
- Passed type checking, production build, offline verification, lifecycle verification, and the eight-member complex stress suite.

## Installation

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

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

# AgentTeams v0.1.11

本次更新修复 DeepSeek Harness 客户端或 host 重启后 AgentTeams 活动面板与成员历史消失的问题，对应 [#60](https://github.com/NanmiCoder/dsh-agent-teams/issues/60) 和 [#61](https://github.com/NanmiCoder/dsh-agent-teams/issues/61) 中报告的 rc.8 兼容性回归。

## 修复

- **冷启动活动恢复**：选择队长会话时会执行一次轻量的活动团队与历史归档发现；即使旧会话没有 AgentTeams 对话卡片，重启后也能恢复活动面板。
- **可靠的成员活动状态**：从持久化团队成员表和 Agent registry 解析真实的 `running / idle / ready`，不再依赖容易变化的 `listChildren()` 投影结构。
- **成员历史持续可见**：已退休的 AgentTeams 成员继续保留在 Harness 子代理目录中供历史记录查看，但直接 follow-up 仍会被拒绝。
- **rc.8 历史会话导航**：活动面板和对话卡片会先刷新父级目录，再通过带父子地址的 `openSubagent()` 打开成员记录；旧版 Harness 继续使用兼容回退。

## 验证

- 在 Harness Web 客户端的真实 `/tmp` workspace 中完成队长、成员、任务和归档全流程复现。
- 验证未预先打开内置子代理目录时的冷重启恢复。
- 验证归档成员导航及完整持久化任务历史。
- 通过类型检查、生产构建、离线验证、生命周期验证及八成员复杂压力测试。

## 安装

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

</details>
