# AgentTeams v0.1.15-alpha.1

## Compatibility first

**Requires DeepSeek Harness 0.1.2-alpha.2.** This is an opt-in Alpha release,
published to npm **alpha**. **latest remains 0.1.14** for the previous host line.
There is no dual-version adapter and the plugin does not upgrade Harness for you.

```sh
# First verify that the Harness instance you run is 0.1.2-alpha.2.
dsh --version
dsh plugin --profile web add @nanmicoder/dsh-agent-teams@0.1.15-alpha.1
```

Keep a working older host/plugin pair if you cannot update Harness. The previous
baseline was Harness **0.1.0-rc.8 + plugin 0.1.14**:

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

Restart the matching host and refresh the browser. Source users must update and
rebuild the actual Harness checkout too. See the README for upgrade and rollback
instructions; neither every older RC nor future Alpha versions are claimed as supported.

## Changes

- Restore the Web client on Alpha.2 using its current conversation, session,
  store and subagent APIs; remove the retired client-runtime dependency.
- Pin the development dependency graph to Alpha.2 and validate the packaged plugin.
- Protect raw state, plan, halt and artwork routes with host authentication and
  Host/Origin checks; fail closed when the Connection service is unavailable.
- Keep prereleases away from npm/GitHub latest through explicit channel metadata,
  publication flags and regression checks.

## Validation

Real DeepSeek API calls in `/tmp`, including a three-member order-settlement
workflow producing JSON, offline HTML and an independent review. Human UI tests
covered plan revision/approval/discard, invalid dependencies, member navigation,
interruption/continuation, refresh recovery, locales/themes and 390px layouts.
Model output mistakes required human correction and member continuation; this
does not claim unattended business correctness. See
[the acceptance record](https://github.com/NanmiCoder/dsh-agent-teams/blob/v0.1.15-alpha.1/docs/alpha2-release-acceptance.md).

Full build/verification and real HTTP authentication regression checks passed
locally. Real API/UI coverage is macOS arm64 + Alpha.2 + DeepSeek Flash; Docker
was unavailable. Linux Actions run the build and automated checks before publish.

## 中文说明

本版只对应 **Harness 0.1.2-alpha.2**，通过 **alpha** 渠道发布，
**latest 保留 0.1.14**。没有安装 Alpha.2、或实际运行的 Harness 源码未更新，
请保留原先可用的旧插件；原验证基线为宿主 0.1.0-rc.8 + 插件 0.1.14。
升级插件不会自动升级宿主。更新后必须重启对应宿主并刷新浏览器；
回退时也要匹配宿主与插件版本，不需要删除凭据或团队数据。

本次修复 Alpha.2 下插件无法加载的问题，并补齐 Web 路由认证。
已用真实 API 完成订单分析、报表生成和独立复核，并在真实 UI 中验证计划审核、
修改、取消、成员续跑、刷新、多语言、主题和手机宽度。
业务产物曾出现模型执行偏差，已通过人工反馈和成员续跑修正，详见验收记录。
