# AgentTeams v0.1.12

This release adds host-native English and Simplified Chinese localization to the AgentTeams Web UI.

## New & Improved

- **Official Harness locale integration**: the plugin registers its own `agentTeams` namespace with the Harness locale service instead of inspecting or rewriting host DOM.
- **Complete localized Web surfaces**: the conversation card and activity panel now translate task and member states, dynamic summaries, progress labels, dependency guidance, archive markers, controls, and accessibility text.
- **Live language switching**: changing the Harness language updates the active AgentTeams card and panel immediately without a page reload or a separate plugin setting.
- **Consistent fallback behavior**: English remains the fallback for missing locale entries, and dictionary keys and placeholders are verified as a release contract.

The `/agent-teams` slash-command description and input hint remain stable English metadata because the current Harness command protocol does not expose a locale namespace.

## Verification

- Ran a real DeepSeek API workflow in an isolated `/tmp` Git project with one captain, two members, two dependent tasks, durable messaging, generated artifacts, and a successful project verification command.
- Verified English → Chinese → English live switching in the real Harness Web UI, including panel folding, dock/floating mode, task dependencies, and member transcript navigation.
- Passed type checking, production build, offline verification, lifecycle verification, the eight-member complex stress suite, and the Skill mirror check.

## Installation

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

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

# AgentTeams v0.1.12

本次更新为 AgentTeams Web UI 增加基于宿主官方能力的简体中文与英文多语言支持。

## 新增与改进

- **接入 Harness 官方多语言服务**：插件注册独立的 `agentTeams` 命名空间，不读取或改写宿主 DOM。
- **完整覆盖 Web 界面**：对话卡片与活动面板中的任务/成员状态、动态摘要、进度、依赖提示、归档标识、操作按钮及无障碍文案均已适配。
- **语言实时切换**：修改 Harness 语言后，当前 AgentTeams 卡片和面板无需刷新即可同步更新，也不需要插件自己的语言设置。
- **稳定回退与发布校验**：缺失文案按官方机制回退到英文，发布验证会检查中英文字典的键和模板参数保持一致。

由于当前 Harness 命令协议尚未提供 locale namespace，`/agent-teams` 在 slash 菜单中的描述和输入提示暂时保留稳定的英文元数据。

## 验证

- 在隔离的 `/tmp` Git 项目中使用真实 DeepSeek API 完成队长、两名成员、两个依赖任务、持久消息、真实产物及项目校验的完整链路。
- 在真实 Harness Web UI 中验证英文 → 中文 → 英文实时切换，以及面板收起、停靠/浮动、任务依赖和成员记录跳转。
- 通过类型检查、生产构建、离线验证、生命周期验证、八成员复杂压力测试及 Skill 镜像检查。

## 安装

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

</details>
