bailinghub 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.en.md CHANGED
@@ -29,15 +29,15 @@ You choose which business APIs become available. BailingHub connects the convers
29
29
  <img src="assets/readme-product-overview.en.svg" width="100%" alt="BailingHub connects conversational entry points to governed business capabilities while the business system remains the authority">
30
30
  </picture>
31
31
 
32
- ## v0.6.0: Follow the Conversation Through Its Business Actions
32
+ ## v0.6.1: Follow the Conversation Through Its Business Actions
33
33
 
34
34
  Select accounts A and B from the same business system in a compatible client, then ask: “Check orders for both stores, but update the contact for Store A only.” The agent can choose the corresponding authorization for each action within that selection. Your business system must expose those operations and still decides whether each call is allowed.
35
35
 
36
36
  In **Tasks → Conversations**, administrators can read the text synchronized by the client—user requests, intermediate explanations and final replies—then open each account's original calls and approvals. Unsynchronized text and missing history are identified separately from business results.
37
37
 
38
- This experience uses **BailingHub 0.6.0 + MCP/Agent Client SDK 0.4.0 + DSH plugin 0.4.0**, or your own client implementing the same host APIs. These are separate packages. Multi-account scope currently covers one business system and one workspace.
38
+ This experience uses **BailingHub 0.6.1 + MCP/Agent Client SDK 0.4.0 + DSH plugin 0.4.0**, or your own client implementing the same host APIs. These are separate packages. Multi-account scope currently covers one business system and one workspace.
39
39
 
40
- [Start with the user guide](docs/user-guide/conversations.en.md) · [Upgrade and compatible versions](docs/RELEASE_NOTES_v0.6.0.en.md)
40
+ [Start with the user guide](docs/user-guide/conversations.en.md) · [Upgrade and compatible versions](docs/RELEASE_NOTES_v0.6.1.en.md)
41
41
 
42
42
  ## Operate the System by Conversation
43
43
 
@@ -127,7 +127,7 @@ To explore before installing, use the [online experience](https://trial.bailingh
127
127
  To run the complete disposable loop locally:
128
128
 
129
129
  ```bash
130
- git clone --branch v0.6.0 --depth 1 https://github.com/bailinghub/bailinghub.git
130
+ git clone --branch v0.6.1 --depth 1 https://github.com/bailinghub/bailinghub.git
131
131
  cd bailinghub
132
132
  export BAILING_TOKEN="${BAILING_TOKEN:-$(openssl rand -hex 32)}"
133
133
  docker compose up --build
@@ -211,7 +211,7 @@ Run separate BailingHub deployments for mutually isolated organizations. A `clie
211
211
  - [HTTP Contract](docs/CONTRACT.en.md) — stable network and identity boundaries.
212
212
  - [Architecture](docs/ARCHITECTURE.en.md) — runtime layers and dependency direction.
213
213
  - [English Documentation Map](docs/README.en.md) — the complete public documentation index.
214
- - [Changelog](docs/CHANGELOG.en.md) and [v0.6.0 Release Notes](docs/RELEASE_NOTES_v0.6.0.en.md) — current release changes and upgrade notes.
214
+ - [Changelog](docs/CHANGELOG.en.md) and [v0.6.1 Release Notes](docs/RELEASE_NOTES_v0.6.1.en.md) — current release changes and upgrade notes.
215
215
 
216
216
  ## Feedback and Ecosystem
217
217
 
package/README.md CHANGED
@@ -27,15 +27,15 @@
27
27
 
28
28
  在线体验环境只用于了解产品和配置方式。请勿上传生产凭据、敏感数据或接入真实业务;正式使用请自行部署开源版。
29
29
 
30
- ## v0.6.0:看完整沟通,再追到每次业务操作
30
+ ## v0.6.1:看完整沟通,再追到每次业务操作
31
31
 
32
32
  例如,你在支持的新客户端里选择同一业务系统的 A、B 两份授权,再说:“分别查一下两家店的订单,只修改 A 店的联系人。”Agent 可在已选范围内为每次操作使用对应授权,业务系统仍按原规则决定能否执行。示例中的查询和修改能力需要由你的业务系统开放。
33
33
 
34
34
  管理员可以在“任务→会话”看到客户端已同步的沟通过程:用户说了什么、助手中途如何说明、最后回复了什么,再进入各账户的原始调用和审批记录。归档暂未同步或原文缺失时会明确提示。
35
35
 
36
- 这组使用体验需要 **BailingHub 0.6.0 + MCP/Agent Client SDK 0.4.0 + DSH 插件 0.4.0**,或接入相同宿主接口的自有客户端。三个项目分别安装;多授权首期只覆盖同一系统、同一工作区。
36
+ 这组使用体验需要 **BailingHub 0.6.1 + MCP/Agent Client SDK 0.4.0 + DSH 插件 0.4.0**,或接入相同宿主接口的自有客户端。三个项目分别安装;多授权首期只覆盖同一系统、同一工作区。
37
37
 
38
- [从用户角度开始使用](docs/user-guide/conversations.md) · [升级与版本配套](docs/RELEASE_NOTES_v0.6.0.md)
38
+ [从用户角度开始使用](docs/user-guide/conversations.md) · [升级与版本配套](docs/RELEASE_NOTES_v0.6.1.md)
39
39
 
40
40
  ## 适合哪些团队
41
41
 
@@ -117,7 +117,7 @@
117
117
  在本机启动中枢、MySQL、Demo 业务系统、工具源、路由和接入方:
118
118
 
119
119
  ```bash
120
- git clone --branch v0.6.0 --depth 1 https://github.com/bailinghub/bailinghub.git
120
+ git clone --branch v0.6.1 --depth 1 https://github.com/bailinghub/bailinghub.git
121
121
  cd bailinghub
122
122
  export BAILING_TOKEN="${BAILING_TOKEN:-$(openssl rand -hex 32)}"
123
123
  docker compose up --build
@@ -197,7 +197,7 @@ BailingHub Core 是独立服务,只通过稳定网络契约与业务系统协
197
197
  | 接入本地智能体 | [Agent Client v1 指南](docs/AGENT_CLIENT_QUICKSTART.md) |
198
198
  | 查 API 与边界契约 | [HTTP 契约](docs/CONTRACT.md) · [Client API](docs/CLIENT_API.md) |
199
199
  | 理解架构与长期取舍 | [架构](docs/ARCHITECTURE.md) · [项目愿景](VISION.md) |
200
- | 查看版本变化 | [CHANGELOG](docs/CHANGELOG.md) · [v0.6.0 Release Notes](docs/RELEASE_NOTES_v0.6.0.md) |
200
+ | 查看版本变化 | [CHANGELOG](docs/CHANGELOG.md) · [v0.6.1 Release Notes](docs/RELEASE_NOTES_v0.6.1.md) |
201
201
 
202
202
  完整中英文文档地图见 [docs/README.md](docs/README.md)。公共 API、SDK、Schema、Docker Demo 与代码标识保持语言中立。
203
203
 
@@ -18,7 +18,7 @@ services:
18
18
  retries: 30
19
19
 
20
20
  demo-business:
21
- image: ${BAILING_DEMO_BUSINESS_IMAGE:-crpi-xm97pbcjrmf5in3s.cn-shanghai.personal.cr.aliyuncs.com/bailinghub/bailing-demo-business:0.6.0}
21
+ image: ${BAILING_DEMO_BUSINESS_IMAGE:-crpi-xm97pbcjrmf5in3s.cn-shanghai.personal.cr.aliyuncs.com/bailinghub/bailing-demo-business:0.6.1}
22
22
  environment:
23
23
  DEMO_HOST: 0.0.0.0
24
24
  DEMO_PORT: 19080
@@ -29,7 +29,7 @@ services:
29
29
  - "${BAILING_DEMO_PUBLIC_PORT:-19080}:19080"
30
30
 
31
31
  bailinghub:
32
- image: ${BAILINGHUB_IMAGE:-crpi-xm97pbcjrmf5in3s.cn-shanghai.personal.cr.aliyuncs.com/bailinghub/bailinghub:0.6.0}
32
+ image: ${BAILINGHUB_IMAGE:-crpi-xm97pbcjrmf5in3s.cn-shanghai.personal.cr.aliyuncs.com/bailinghub/bailinghub:0.6.1}
33
33
  depends_on:
34
34
  mysql:
35
35
  condition: service_healthy
@@ -48,7 +48,7 @@ the end user to paste a BailingHub Client Token, Tool Provider Secret, or busine
48
48
 
49
49
  ### 3.1 Deploy Core and apply migrations
50
50
 
51
- Full conversation archives require BailingHub0.6.0, Agent Client SDK0.4.0 and a compatible client.
51
+ Full conversation archives require BailingHub0.6.1, Agent Client SDK0.4.0 and a compatible client.
52
52
  Apply migrations055/056 and the new057 from one deployment step; runtime startup does not apply them.
53
53
  Confirm that health and readiness pass, no migration is pending, the console can edit
54
54
  Agent Client settings, and production traffic uses HTTPS.
@@ -45,7 +45,7 @@ BailingHub Client Token、Tool Provider Secret 或业务系统密码的步骤。
45
45
 
46
46
  ### 3.1 部署 Core 并执行数据库迁移
47
47
 
48
- 完整对话归档使用 BailingHub0.6.0、Agent Client SDK0.4.0及兼容客户端。Core需要已有迁移055/056及新增057;由一个部署步骤执行迁移,运行时启动不会自动迁移。
48
+ 完整对话归档使用 BailingHub0.6.1、Agent Client SDK0.4.0及兼容客户端。Core需要已有迁移055/056及新增057;由一个部署步骤执行迁移,运行时启动不会自动迁移。
49
49
  升级后先确认:
50
50
 
51
51
  - `/health` 和 `/health/ready` 正常;
@@ -22,6 +22,16 @@ Each public version should describe:
22
22
 
23
23
  ## Unreleased
24
24
 
25
+ ## v0.6.1 - Conversation Release and Package Source Verification
26
+
27
+ Planned release date: 2026-09-08.
28
+
29
+ - **User experience**: carries forward the visible conversations, authorization trace links and same-system multi-account clients from 0.6.0. The recommended set is Core 0.6.1 + SDK 0.4.0 + DSH 0.4.0.
30
+ - **Release correction**: the 0.6.0 source tag and npm package exist, but missing source-commit metadata prevented the formal Release gate from passing. 0.6.1 uses an independent clone and checks that metadata before publishing; the original 0.6.0 artifacts remain unchanged.
31
+ - **Integration and schema**: no business behavior, API, dependency or migration changes relative to 0.6.0. Upgrades from 0.5.1 still explicitly apply migration 057; installations that already applied 057 do not recreate its tables.
32
+ - **Validation**: retain the release gates for the exact tag, CI, images, npm version, content digest and gitHead before creating the GitHub Release.
33
+ - **Related docs**: [v0.6.1 release notes](RELEASE_NOTES_v0.6.1.en.md) and [user guide](user-guide/conversations.en.md).
34
+
25
35
  ## v0.6.0 - Follow the Conversation Through Its Business Actions
26
36
 
27
37
  Planned release date: 2026-09-08.
@@ -29,7 +39,7 @@ Planned release date: 2026-09-08.
29
39
  - **One conversation view**: inspect synchronized user messages, intermediate explanations and final replies by turn, then open each account's original execution record.
30
40
  - **Multiple accounts in a conversation**: with SDK / DSH 0.4.0, select authorized accounts from the same business system before chatting; the agent chooses the appropriate authorization for each action.
31
41
  - **Existing authority stays intact**: identities, approvals and account memory remain separate. Full text is restricted to the Hub administration audit domain and is not broadcast into each account's memory.
32
- - **Upgrade impact**: migration057 adds three archive tables. Business capability declarations and approval rules do not change. Clients need explicit conversation scope and durable history; follow the upgrade guide.
42
+ - **Upgrade impact**: migration 057 adds three archive tables. Business capability declarations and approval rules do not change. Clients need explicit conversation scope and durable history; follow the upgrade guide.
33
43
  - **Verification focus**: recovery in the same runtime after an offline reopening, acknowledgement-loss deduplication, whole-group revocation, visible history gaps and late cancellation responses. A successful business action alone does not prove complete transcript capture.
34
44
  - **Related docs**: [v0.6.0 release notes](RELEASE_NOTES_v0.6.0.en.md), [multi-account conversation guide](user-guide/conversations.en.md) and [integration contract](AGENT_CONVERSATION_AUDIT.en.md).
35
45
 
package/docs/CHANGELOG.md CHANGED
@@ -15,6 +15,16 @@
15
15
 
16
16
  ## Unreleased
17
17
 
18
+ ## v0.6.1 - 完整对话配套正式发布与来源校验
19
+
20
+ 计划发布日期:2026-09-08。
21
+
22
+ - **使用体验**:延续0.6.0的完整可见对话、逐授权执行回链与同系统多授权客户端配套,推荐Core0.6.1 + SDK0.4.0 + DSH0.4.0。
23
+ - **发布修正**:0.6.0的源码标签和npm包已生成,但包缺少来源提交元数据,未通过正式Release门禁。0.6.1从独立克隆发布并预检源码关联;原0.6.0制品保持不变。
24
+ - **对接与数据库**:相对0.6.0不改变业务行为、接口、依赖或迁移。从0.5.1升级仍需显式应用057迁移;已有057无需重复建表。
25
+ - **验证**:保留原发布门禁,核对Tag、CI、镜像、npm版本、内容摘要与gitHead后创建Release。
26
+ - **相关文档**:[v0.6.1发布说明](RELEASE_NOTES_v0.6.1.md)与[使用者指南](user-guide/conversations.md)。
27
+
18
28
  ## v0.6.0 - 看完整沟通,再追到每次业务操作
19
29
 
20
30
  计划发布日期:2026-09-08。
@@ -7,7 +7,7 @@ It is not certification, a benchmark, or evidence of production adoption. Passin
7
7
  ## Scope
8
8
 
9
9
  - Target: the open-source BailingHub Docker demo;
10
- - Stable baseline: `v0.6.0`;
10
+ - Stable baseline: `v0.6.1`;
11
11
  - Data: the bundled demo orders, tickets, refunds, and failure probe;
12
12
  - Expected time: about 20 minutes after images and dependencies are available;
13
13
  - Not required: a real model key, production API, production credential, or real business data.
@@ -32,7 +32,7 @@ curl -fsSL https://www.bailinghub.com/install.sh | sh
32
32
  cd "$HOME/bailinghub"
33
33
  ```
34
34
 
35
- The installer pulls the official `v0.6.0` images by default, generates random tokens and an admin password, starts the services, and runs the smoke test. The initial administrator is created only when the administrator table is empty; restarting, upgrading, recreating containers, or reinstalling against the same persistent database does not overwrite a changed password. The optional `/metrics` endpoint remains disabled and does not affect core validation. Keep the reported version, install mode, elapsed time, and the commands printed under `常用命令`, but never include passwords or tokens in your report. After Docker is installed, the current non-root login usually still needs the printed `sudo docker compose ...` commands; Docker group membership may not take effect until the next login.
35
+ The installer pulls the official `v0.6.1` images by default, generates random tokens and an admin password, starts the services, and runs the smoke test. The initial administrator is created only when the administrator table is empty; restarting, upgrading, recreating containers, or reinstalling against the same persistent database does not overwrite a changed password. The optional `/metrics` endpoint remains disabled and does not affect core validation. Keep the reported version, install mode, elapsed time, and the commands printed under `常用命令`, but never include passwords or tokens in your report. After Docker is installed, the current non-root login usually still needs the printed `sudo docker compose ...` commands; Docker group membership may not take effect until the next login.
36
36
 
37
37
  If the default directory is already in use, choose a new empty directory instead of overwriting an existing deployment:
38
38
 
@@ -46,7 +46,7 @@ cd "$HOME/bailinghub-validation"
46
46
  ### Path B: local source reproduction
47
47
 
48
48
  ```bash
49
- git clone --depth 1 --branch v0.6.0 https://github.com/bailinghub/bailinghub.git
49
+ git clone --depth 1 --branch v0.6.1 https://github.com/bailinghub/bailinghub.git
50
50
  cd bailinghub
51
51
  git rev-parse HEAD
52
52
  export BAILING_TOKEN="$(openssl rand -hex 32)"
@@ -167,7 +167,7 @@ After the core task passes, you may continue with:
167
167
  - [Trusted rich rendering and chat reliability](RELEASE_NOTES_v0.1.15.en.md).
168
168
  - [Bounded tool runtime and resilient semantic retrieval](RELEASE_NOTES_v0.1.16.en.md).
169
169
  - [Composable Core and Kernel Host API v1](RELEASE_NOTES_v0.3.0.en.md).
170
- - [Current stable release notes](RELEASE_NOTES_v0.6.0.en.md).
170
+ - [Current stable release notes](RELEASE_NOTES_v0.6.1.en.md).
171
171
 
172
172
  Select the relevant track in the same Issue form and disclose whether you received direct maintainer assistance.
173
173
 
@@ -7,7 +7,7 @@
7
7
  ## 验证范围
8
8
 
9
9
  - 验证对象:BailingHub 开源版 Docker demo;
10
- - 稳定基线:`v0.6.0`;
10
+ - 稳定基线:`v0.6.1`;
11
11
  - 数据范围:仓库自带的 demo 订单、工单、退款和故障工具;
12
12
  - 预计用时:镜像和依赖下载完成后约 20 分钟;
13
13
  - 不需要:真实大模型 Key、生产 API、生产凭据或真实业务数据。
@@ -32,7 +32,7 @@ curl -fsSL https://www.bailinghub.com/install.sh | sh
32
32
  cd "$HOME/bailinghub"
33
33
  ```
34
34
 
35
- 脚本默认拉取 `v0.6.0` 官方镜像,生成随机 Token 与后台密码,启动服务并自动运行基础体检。首次管理员只在数据库管理员表为空时创建;对同一持久化数据库进行重启、升级、容器重建或重新安装,不会覆盖已经修改的管理员密码。可选 `/metrics` 端点默认关闭,不影响基础验证。请保留终端输出中的版本、安装模式、耗时和“常用命令”,但不要把密码或 Token 写入反馈。新安装 Docker 后,当前非 root 会话通常仍需使用脚本打印的 `sudo docker compose ...` 命令;重新登录后 Docker 组权限才可能生效。
35
+ 脚本默认拉取 `v0.6.1` 官方镜像,生成随机 Token 与后台密码,启动服务并自动运行基础体检。首次管理员只在数据库管理员表为空时创建;对同一持久化数据库进行重启、升级、容器重建或重新安装,不会覆盖已经修改的管理员密码。可选 `/metrics` 端点默认关闭,不影响基础验证。请保留终端输出中的版本、安装模式、耗时和“常用命令”,但不要把密码或 Token 写入反馈。新安装 Docker 后,当前非 root 会话通常仍需使用脚本打印的 `sudo docker compose ...` 命令;重新登录后 Docker 组权限才可能生效。
36
36
 
37
37
  如果默认目录已被占用,请使用一个新的空目录,不要覆盖现有部署:
38
38
 
@@ -46,7 +46,7 @@ cd "$HOME/bailinghub-validation"
46
46
  ### 路径 B:本地源码复现
47
47
 
48
48
  ```bash
49
- git clone --depth 1 --branch v0.6.0 https://github.com/bailinghub/bailinghub.git
49
+ git clone --depth 1 --branch v0.6.1 https://github.com/bailinghub/bailinghub.git
50
50
  cd bailinghub
51
51
  git rev-parse HEAD
52
52
  export BAILING_TOKEN="$(openssl rand -hex 32)"
@@ -167,7 +167,7 @@ docker compose exec -T bailinghub npm run demo:e2e
167
167
  - [可信富内容渲染与聊天可靠性](RELEASE_NOTES_v0.1.15.md)。
168
168
  - [工具运行时收敛与语义检索韧性](RELEASE_NOTES_v0.1.16.md)。
169
169
  - [可组合 Core 与 Kernel Host API v1](RELEASE_NOTES_v0.3.0.md)。
170
- - [当前稳定版发布说明](RELEASE_NOTES_v0.6.0.md)。
170
+ - [当前稳定版发布说明](RELEASE_NOTES_v0.6.1.md)。
171
171
 
172
172
  扩展验证请在同一 Issue 模板中选择对应路径,并说明是否获得过维护者的直接帮助。
173
173
 
package/docs/README.en.md CHANGED
@@ -111,7 +111,9 @@ This directory contains public documentation for the open-source BailingHub proj
111
111
  | [RELEASE_NOTES_v0.5.0.en.md](RELEASE_NOTES_v0.5.0.en.md) | `v0.5.0` revocable local-Agent authorization and governed local planning. |
112
112
  | [RELEASE_NOTES_v0.5.0.md](RELEASE_NOTES_v0.5.0.md) | Chinese `v0.5.0` release notes. |
113
113
  | [RELEASE_NOTES_v0.5.1.en.md](RELEASE_NOTES_v0.5.1.en.md) | `v0.5.1` Agent Client management center and bulk write-operation configuration. |
114
+ | [RELEASE_NOTES_v0.6.1.en.md](RELEASE_NOTES_v0.6.1.en.md) | `v0.6.1`: follow a conversation through its business actions, with compatible multi-account clients. |
114
115
  | [RELEASE_NOTES_v0.6.0.en.md](RELEASE_NOTES_v0.6.0.en.md) | `v0.6.0`: follow a conversation through its business actions, with compatible multi-account clients. |
116
+ | [RELEASE_NOTES_v0.6.1.md](RELEASE_NOTES_v0.6.1.md) | Chinese `v0.6.1` release notes and upgrade guide. |
115
117
  | [RELEASE_NOTES_v0.6.0.md](RELEASE_NOTES_v0.6.0.md) | Chinese `v0.6.0` release notes and upgrade guide. |
116
118
  | [RELEASE_NOTES_v0.5.1.md](RELEASE_NOTES_v0.5.1.md) | Chinese `v0.5.1` release notes. |
117
119
  | [RELEASE_NOTES_v0.1.0.en.md](RELEASE_NOTES_v0.1.0.en.md) | First public release notes. |
package/docs/README.md CHANGED
@@ -125,7 +125,9 @@
125
125
  | [RELEASE_NOTES_v0.5.0.en.md](RELEASE_NOTES_v0.5.0.en.md) | English `v0.5.0` revocable local-Agent authorization and governed local planning release notes. |
126
126
  | [RELEASE_NOTES_v0.5.1.md](RELEASE_NOTES_v0.5.1.md) | `v0.5.1` 智能体客户端管理中心与批量写操作配置说明。 |
127
127
  | [RELEASE_NOTES_v0.5.1.en.md](RELEASE_NOTES_v0.5.1.en.md) | English `v0.5.1` Agent Client management center and bulk write-operation configuration release notes. |
128
+ | [RELEASE_NOTES_v0.6.1.md](RELEASE_NOTES_v0.6.1.md) | `v0.6.1` 看完整沟通,再追到每次业务操作;配套多授权客户端升级。 |
128
129
  | [RELEASE_NOTES_v0.6.0.md](RELEASE_NOTES_v0.6.0.md) | `v0.6.0` 看完整沟通,再追到每次业务操作;配套多授权客户端升级。 |
130
+ | [RELEASE_NOTES_v0.6.1.en.md](RELEASE_NOTES_v0.6.1.en.md) | English `v0.6.1` release notes and upgrade guide. |
129
131
  | [RELEASE_NOTES_v0.6.0.en.md](RELEASE_NOTES_v0.6.0.en.md) | English `v0.6.0` release notes and upgrade guide. |
130
132
  | [RELEASE_NOTES_v0.1.0.md](RELEASE_NOTES_v0.1.0.md) | 首个公开版本的 GitHub Release 草稿。 |
131
133
  | [RELEASE_NOTES_v0.1.0.en.md](RELEASE_NOTES_v0.1.0.en.md) | English release notes. |
@@ -1,5 +1,7 @@
1
1
  # BailingHub v0.6.0: Follow the Conversation Through Its Business Actions
2
2
 
3
+ > This source tag and npm package remain historical artifacts; the formal Release source check did not complete. Use [v0.6.1](RELEASE_NOTES_v0.6.1.en.md) for new installations.
4
+
3
5
  A conversation may query account A and then update account B. Previously, administrators had to inspect separate execution records to find out what each account did. With a compatible client, they can now read the conversation first, then follow it into the original actions and approvals.
4
6
 
5
7
  ## What changes for users
@@ -15,9 +17,9 @@ Start with the [user guide](user-guide/conversations.en.md). Client developers c
15
17
 
16
18
  | How you use BailingHub | What to prepare |
17
19
  |---|---|
18
- | You operate a Hub and want full local-agent conversations in its console | Upgrade Core to0.6.0, apply the new migration, and use a client that synchronizes visible conversations. |
20
+ | You operate a Hub and want full local-agent conversations in its console | Upgrade Core to 0.6.0, apply the new migration, and use a client that synchronizes visible conversations. |
19
21
  | You use DeepSeek Harness with several business accounts | Install the separate `dsh-bailinghub@0.4.0` package, which pins `bailinghub-mcp-server@0.4.0`. Authorize each account and select the conversation scope before the first message. |
20
- | You build a desktop or other agent client | Use Agent Client SDK0.4.0 and integrate scope, original visible history, durable capture and status. Changing a dependency version alone does not complete host integration. |
22
+ | You build a desktop or other agent client | Use Agent Client SDK 0.4.0 and integrate scope, original visible history, durable capture and status. Changing a dependency version alone does not complete host integration. |
21
23
  | You use web chat, Client API, Dify/n8n tasks or static MCP | Existing entry points remain usable without a new local client. Other adapters retain their independent release cycles. |
22
24
 
23
25
  Prepare Core first, then the SDK and client. Upgrading Core alone cannot make older clients send their missing text; updating a plugin cannot add archive APIs to an older Core. Multi-account scope currently covers one business system and workspace, not cross-system or cross-route orchestration.
@@ -1,5 +1,7 @@
1
1
  # BailingHub v0.6.0:看完整沟通,再追到每次业务操作
2
2
 
3
+ > 此版本的源码Tag和npm包作为历史制品保留,未完成正式Release来源校验。新安装请使用[v0.6.1](RELEASE_NOTES_v0.6.1.md)。
4
+
3
5
  一次对话可能先查询 A 账户,再修改 B 账户。以前,管理员需要打开各自的执行记录,看到的往往只是各自做了什么。现在,使用支持的新客户端,可以先阅读完整沟通过程,再追到每份授权的具体操作和审批。
4
6
 
5
7
  ## 你会看到什么变化
@@ -0,0 +1,53 @@
1
+ # BailingHub v0.6.1: Follow the Conversation Through Its Business Actions
2
+
3
+ A conversation may query account A and then update account B. Previously, administrators had to inspect separate execution records to find out what each account did. With a compatible client, they can now read the conversation first, then follow it into the original actions and approvals.
4
+
5
+ Version 0.6.1 has the same business behavior, APIs and migrations as 0.6.0. The 0.6.0 npm artifact passed content checks but lacked source-commit metadata, so it did not complete the formal Release gate. 0.6.1 completes that source verification and is the recommended installation. Deployments that already applied 057 do not recreate its tables.
6
+
7
+ ## What changes for users
8
+
9
+ - **Read the conversation in one place**: Tasks → Conversations adds a client-conversation view with synchronized user requests, intermediate explanations and final replies grouped by turn.
10
+ - **Follow a reply into its actions**: expand each account's original execution record to inspect calls, approvals and results. The existing authorization-scoped view remains available.
11
+ - **Keep account choices visible**: with the new SDK and DSH plugin, select accounts A and B from the same business system before chatting. The agent chooses the appropriate authorization for each action; identities, approvals and memory remain separate.
12
+ - **Recognize missing records**: business completion and transcript synchronization have separate status. Clients can upload saved events after reconnecting, and a lost acknowledgement does not duplicate them. Missing original text is reported as a gap rather than replaced with an execution summary.
13
+
14
+ Start with the [user guide](user-guide/conversations.en.md). Client developers can continue with the [integration contract](AGENT_CONVERSATION_AUDIT.en.md).
15
+
16
+ ## Who should upgrade
17
+
18
+ | How you use BailingHub | What to prepare |
19
+ |---|---|
20
+ | You operate a Hub and want full local-agent conversations in its console | Upgrade Core to 0.6.1, apply the new migration, and use a client that synchronizes visible conversations. |
21
+ | You use DeepSeek Harness with several business accounts | Install the separate `dsh-bailinghub@0.4.0` package, which pins `bailinghub-mcp-server@0.4.0`. Authorize each account and select the conversation scope before the first message. |
22
+ | You build a desktop or other agent client | Use Agent Client SDK 0.4.0 and integrate scope, original visible history, durable capture and status. Changing a dependency version alone does not complete host integration. |
23
+ | You use web chat, Client API, Dify/n8n tasks or static MCP | Existing entry points remain usable without a new local client. Other adapters retain their independent release cycles. |
24
+
25
+ Prepare Core first, then the SDK and client. Upgrading Core alone cannot make older clients send their missing text; updating a plugin cannot add archive APIs to an older Core. Multi-account scope currently covers one business system and workspace, not cross-system or cross-route orchestration.
26
+
27
+ ## Upgrade an existing deployment
28
+
29
+ 1. Back up the database and retain the previous code or images, following the [operations guide](OPERATIONS.en.md).
30
+ 2. Use the exact `v0.6.1` code or images. Run migrations from one deployment step: `sql/057_agent_conversation_audit.sql` adds three archive tables without rewriting previous migrations. Runtime startup does not apply it automatically.
31
+ 3. Start the new version, check `/health/ready`, and open Tasks → Conversations. Verify new client text and its links to original execution records.
32
+ 4. Upgrade clients using their SDK/plugin migration instructions. **A new conversation without selected authorizations is ordinary chat.** Scope becomes fixed with the first message; start a new conversation to change it. Reopening restores only the original authorizations.
33
+ 5. With test data, check same-runtime recovery after reopening offline, whole-scope blocking after revocation, and cancellation without reactivating ended actions. Never repeat business writes merely to repair an archive.
34
+
35
+ When reverting code, retain the new tables and pending client events. Existing clients can use their original APIs; a client encountering an older Core should report the unsupported archive without discarding its original records.
36
+
37
+ ## Permissions and recording boundaries
38
+
39
+ Full text is readable by administrators with task-read permission in the current Hub administration audit domain. There is no Agent read endpoint for the combined transcript, and combined replies do not flow back into each account's model memory. Business permissions, approvals and final checks remain with their original owners.
40
+
41
+ The archive covers visible client text and original execution links, not hidden reasoning, attachments or arbitrary local tool output. It cannot reconstruct text that was never saved, nor can scope restoration recover lost business tasks across process restarts. Existing business declarations, business-side SDKs and approval rules require no change for this archive feature.
42
+
43
+ ACC, ecosystem adapters, independent clients and hosted deployments remain separate projects; they are not bundled into Core or automatically upgraded by this release.
44
+
45
+ ## Verification and further reading
46
+
47
+ The release commit must pass `npm run release:check`, covering permissions, membership, event idempotency, run links, console behavior, existing Client API/SDK compatibility, security and artifact boundaries. Client regressions additionally cover offline recovery, local storage failure and cancellation races. These checks use public tests or isolated synthetic data, not production-adoption evidence.
48
+
49
+ - [User guide](user-guide/conversations.en.md)
50
+ - [Client integration guide](AGENT_CLIENT_QUICKSTART.en.md)
51
+ - [Conversation archive API](AGENT_CONVERSATION_AUDIT.en.md)
52
+ - [SDK and plugin compatibility](https://github.com/bailinghub/bailinghub-dsh-plugin/blob/main/docs/COMPATIBILITY.md)
53
+ - [中文发布说明](RELEASE_NOTES_v0.6.1.md)
@@ -0,0 +1,53 @@
1
+ # BailingHub v0.6.1:看完整沟通,再追到每次业务操作
2
+
3
+ 一次对话可能先查询 A 账户,再修改 B 账户。以前,管理员需要打开各自的执行记录,看到的往往只是各自做了什么。现在,使用支持的新客户端,可以先阅读完整沟通过程,再追到每份授权的具体操作和审批。
4
+
5
+ 0.6.1与0.6.0的业务功能、接口和数据库迁移相同。0.6.0的npm包内容已验证,但来源提交元数据缺失,未完成正式Release;0.6.1补齐发布来源校验,并作为推荐安装版本。已应用057的部署无需重复建表。
6
+
7
+ ## 你会看到什么变化
8
+
9
+ - **一处看沟通经过**:控制台“任务→会话”新增客户端完整对话视图,按轮显示已同步的用户输入、中间说明和最终回复。
10
+ - **从回复追到操作**:每轮可展开各授权对应的原执行记录,继续查看工具调用、审批和结果;原来的授权记录入口仍保留。
11
+ - **多账户也能看清对象**:配套新 SDK 与 DSH 插件后,用户先选择同一业务系统的 A、B 授权,Agent 再为每次操作选用对应权限。账户的业务身份、审批和记忆保持独立。
12
+ - **缺记录时如实提示**:业务完成与对话同步分别判断。客户端断网后可以补传已保存事件;确认回包丢失不会重复写入。原文没有保存完整时,界面必须显示缺口,不把执行摘要当成原文。
13
+
14
+ [先看使用者指南](user-guide/conversations.md),再按需要阅读[开发者接入契约](AGENT_CONVERSATION_AUDIT.md)。
15
+
16
+ ## 谁需要升级,哪些组件要一起准备
17
+
18
+ | 你的使用方式 | 此次升级建议 |
19
+ |---|---|
20
+ | 运行 BailingHub,想在后台追溯完整的本地智能体对话 | 升级 Core 到0.6.1并应用新增迁移;确认客户端已接入可见对话同步。 |
21
+ | 使用 DeepSeek Harness 操作多个业务账户 | 使用独立的 `dsh-bailinghub@0.4.0`;其精确依赖 `bailinghub-mcp-server@0.4.0`。按插件说明分别授权,并在首消息前选择本次范围。 |
22
+ | 自研桌面或其他智能体客户端 | 使用 Agent Client SDK0.4.0,接入会话范围、真实可见历史、持久归档与状态显示。只更换包版本不足以完成宿主接入。 |
23
+ | 只用网页聊天、Client API、Dify/n8n任务或静态MCP | 原入口继续使用,不要求新增本地客户端。其他适配器仍是独立发布项目。 |
24
+
25
+ 先准备 Core,再升级 SDK 和客户端。单独升级 Core 不能让旧客户端自动上传完整原文;单独升级插件也不能让旧 Core 获得归档接口。此次多授权体验限同一业务系统、同一工作区,不宣称跨系统或跨路由编排。
26
+
27
+ ## 已有部署如何升级
28
+
29
+ 1. 按[运维升级指南](OPERATIONS.md)备份数据库,并保留旧代码或镜像。
30
+ 2. 使用精确的 `v0.6.1` 代码或镜像,由一个部署步骤运行迁移。新增 `sql/057_agent_conversation_audit.sql` 只创建三张归档表;已有迁移不改写,运行时启动也不会自动执行迁移。
31
+ 3. 启动新版并确认 `/health/ready` 正常,打开控制台“任务→会话”。使用新的客户端对话验证完整文本与原执行记录之间的关联。
32
+ 4. 按 SDK/插件的迁移说明升级客户端。**新会话未选择授权时只有普通聊天**;首次发送后范围固定,改选需要新会话。重开原会话只恢复原授权。
33
+ 5. 用测试数据验证断网重开后在同一运行时恢复、撤销原授权仍阻断、取消后不重新启用已结束操作。不要通过重复业务写操作来补齐审计。
34
+
35
+ 回退旧代码时保留新增表和客户端待传事件。旧客户端仍可使用原接口;旧 Core 不支持新归档时,客户端应明确显示不支持,不丢弃原记录。
36
+
37
+ ## 权限与记录边界
38
+
39
+ 完整文本供当前中枢管理审计域中具有任务读取权限的管理员查看。Agent 没有读取聚合正文的接口,混合回复也不会回流到每个账户的模型记忆。每份授权的业务权限与审批仍按原规则执行,业务系统继续做最终校验。
40
+
41
+ 归档只覆盖客户端实际可见的文本和原执行关联,不包含隐藏推理、附件或任意本地工具原始输出。无法还原过去没有保存的原文;范围恢复也不表示能跨进程恢复丢失的业务任务。业务后端的能力声明、业务 SDK 和审批规则无需为本次归档功能调整。
42
+
43
+ ACC规范、各生态适配器、独立客户端与托管环境保持各自边界;它们不被合并为Core的一部分,也不因Core发布而自动升级。
44
+
45
+ ## 检查与进一步阅读
46
+
47
+ 发布提交须通过 `npm run release:check`,覆盖权限与成员校验、事件幂等、执行关联、控制台、现有Client API/SDK兼容性、安全与制品边界。配套客户端另有离线恢复、保存失败和取消竞态回归。验证使用公开测试或隔离合成数据,不表示生产采用。
48
+
49
+ - [使用者指南](user-guide/conversations.md)
50
+ - [客户端接入指南](AGENT_CLIENT_QUICKSTART.md)
51
+ - [完整对话接口](AGENT_CONVERSATION_AUDIT.md)
52
+ - [SDK与插件各自的配套说明](https://github.com/bailinghub/bailinghub-dsh-plugin/blob/main/docs/COMPATIBILITY.md)
53
+ - [English release notes](RELEASE_NOTES_v0.6.1.en.md)
@@ -6,7 +6,7 @@ If you manage stores A and B in the same business system, you can select both au
6
6
 
7
7
  ## What you need
8
8
 
9
- Deploy **BailingHub 0.6.0** and use **dsh-bailinghub 0.4.0**, which depends on the independent **bailinghub-mcp-server 0.4.0** SDK. A custom client must integrate conversation scope, original visible history and archive APIs. Upgrading only the Hub does not make an older client upload a full transcript.
9
+ Deploy **BailingHub 0.6.1** and use **dsh-bailinghub 0.4.0**, which depends on the independent **bailinghub-mcp-server 0.4.0** SDK. A custom client must integrate conversation scope, original visible history and archive APIs. Upgrading only the Hub does not make an older client upload a full transcript.
10
10
 
11
11
  Your business system must already expose the operations you need, and you must authorize A and B separately. This upgrade does not require rewriting existing business capabilities or approval rules. Start with the [public Docker demo](../DEMO.en.md) to learn query, approval and execution; that demo does not replace client installation and account authorization.
12
12
 
@@ -37,4 +37,4 @@ Full text belongs to the deployed Hub's administration audit domain, readable by
37
37
 
38
38
  The archive currently covers visible text and original execution links, not hidden reasoning, attachments or arbitrary local tool output. Older records containing only execution summaries continue to identify missing transcript text.
39
39
 
40
- See the [v0.6.0 upgrade notes](../RELEASE_NOTES_v0.6.0.en.md). Client developers can continue with the [integration guide](../AGENT_CLIENT_QUICKSTART.en.md) and [conversation archive API](../AGENT_CONVERSATION_AUDIT.en.md).
40
+ See the [v0.6.1 upgrade notes](../RELEASE_NOTES_v0.6.1.en.md). Client developers can continue with the [integration guide](../AGENT_CLIENT_QUICKSTART.en.md) and [conversation archive API](../AGENT_CONVERSATION_AUDIT.en.md).
@@ -6,7 +6,7 @@
6
6
 
7
7
  ## 开始前需要什么
8
8
 
9
- 部署者准备 BailingHub **0.6.0**;本地客户端使用 **dsh-bailinghub 0.4.0**,它依赖独立的 **bailinghub-mcp-server 0.4.0** SDK。使用自研客户端时,开发者需要接入会话范围、原始可见历史和归档接口。单独升级中枢,不会让旧客户端自动上传完整对话。
9
+ 部署者准备 BailingHub **0.6.1**;本地客户端使用 **dsh-bailinghub 0.4.0**,它依赖独立的 **bailinghub-mcp-server 0.4.0** SDK。使用自研客户端时,开发者需要接入会话范围、原始可见历史和归档接口。单独升级中枢,不会让旧客户端自动上传完整对话。
10
10
 
11
11
  业务系统已经接入并开放了需要的操作,你也已经分别完成 A、B 的业务授权。此次升级不要求重写既有业务能力或审批规则。还没有接入业务系统时,先运行[公开 Docker Demo](../DEMO.md)了解查询、审批和执行;该 Demo 不替代多账户客户端的安装与授权。
12
12
 
@@ -37,4 +37,4 @@
37
37
 
38
38
  当前归档范围是客户端实际可见的文本与原执行关联,不包含隐藏推理、附件或任意本地工具的原始输出。只看到了某份授权的执行摘要、却没有完整原文的旧记录,仍会明确表示原文缺失。
39
39
 
40
- 部署与升级请看 [v0.6.0 说明](../RELEASE_NOTES_v0.6.0.md);客户端开发者请看[接入指南](../AGENT_CLIENT_QUICKSTART.md)及[完整对话接口](../AGENT_CONVERSATION_AUDIT.md)。
40
+ 部署与升级请看 [v0.6.1 说明](../RELEASE_NOTES_v0.6.1.md);客户端开发者请看[接入指南](../AGENT_CLIENT_QUICKSTART.md)及[完整对话接口](../AGENT_CONVERSATION_AUDIT.md)。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bailinghub",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Open-source ACC runtime and agent control plane for existing business systems.",
@@ -103,6 +103,7 @@ const englishCompanions = {
103
103
  'docs/RELEASE_NOTES_v0.3.4.md': 'docs/RELEASE_NOTES_v0.3.4.en.md',
104
104
  'docs/RELEASE_NOTES_v0.5.0.md': 'docs/RELEASE_NOTES_v0.5.0.en.md',
105
105
  'docs/RELEASE_NOTES_v0.5.1.md': 'docs/RELEASE_NOTES_v0.5.1.en.md',
106
+ 'docs/RELEASE_NOTES_v0.6.1.md': 'docs/RELEASE_NOTES_v0.6.1.en.md',
106
107
  'docs/RELEASE_NOTES_v0.6.0.md': 'docs/RELEASE_NOTES_v0.6.0.en.md',
107
108
  'docs/TOOLS_DESIGN.md': 'docs/TOOLS_DESIGN.en.md',
108
109
  'docs/TOOLS_MODEL.md': 'docs/TOOLS_MODEL.en.md',
@@ -9,7 +9,7 @@ REGISTRY="${BAILING_IMAGE_REGISTRY:-$DEFAULT_REGISTRY}"
9
9
  NAMESPACE="${BAILING_IMAGE_NAMESPACE:-$DEFAULT_NAMESPACE}"
10
10
  PACKAGE_VERSION="$(sed -n 's/.*"version"[[:space:]]*:[[:space:]]*"\([^"]*\)".*/\1/p' package.json | head -1)"
11
11
  TAG="${BAILING_IMAGE_TAG:-$PACKAGE_VERSION}"
12
- [ -n "$TAG" ] || TAG="0.6.0"
12
+ [ -n "$TAG" ] || TAG="0.6.1"
13
13
  MYSQL_TAG="${BAILING_MYSQL_IMAGE_TAG:-8.4}"
14
14
  MYSQL_IMAGE="${BAILING_MYSQL_IMAGE:-$REGISTRY/$NAMESPACE/bailing-mysql:$MYSQL_TAG}"
15
15
  PLATFORM="${BAILING_IMAGE_PLATFORM:-linux/amd64}"
@@ -38,8 +38,8 @@ function updateJson(root, relativePath, update) {
38
38
  test('current release surface is internally consistent', () => {
39
39
  const result = checkReleaseConsistency({ root: repoRoot });
40
40
  assert.deepEqual(result.findings, []);
41
- assert.equal(result.version, '0.6.0');
42
- assert.equal(result.stableVersion, '0.6.0');
41
+ assert.equal(result.version, '0.6.1');
42
+ assert.equal(result.stableVersion, '0.6.1');
43
43
  assert.equal(result.publishTag, 'latest');
44
44
  });
45
45
 
@@ -275,7 +275,7 @@ write_env() {
275
275
  TOOL_SECRET="${DEMO_TOOL_SECRET:-$(secret)}"
276
276
  CLIENT_TOKEN="${DEMO_CLIENT_TOKEN:-$(secret)}"
277
277
  IMAGE_TAG="${BAILING_IMAGE_TAG:-$(sed -n 's/.*"version"[[:space:]]*:[[:space:]]*"\([^"]*\)".*/\1/p' "$APP_DIR/package.json" | head -1)}"
278
- [ -n "$IMAGE_TAG" ] || IMAGE_TAG="0.6.0"
278
+ [ -n "$IMAGE_TAG" ] || IMAGE_TAG="0.6.1"
279
279
  IMAGE_REGISTRY="${BAILING_IMAGE_REGISTRY:-$DEFAULT_IMAGE_REGISTRY}"
280
280
  IMAGE_NAMESPACE="${BAILING_IMAGE_NAMESPACE:-$DEFAULT_IMAGE_NAMESPACE}"
281
281
  cat > "$ENV_FILE" <<EOF
@@ -9,7 +9,7 @@ REGISTRY="${BAILING_IMAGE_REGISTRY:-$DEFAULT_REGISTRY}"
9
9
  NAMESPACE="${BAILING_IMAGE_NAMESPACE:-$DEFAULT_NAMESPACE}"
10
10
  PACKAGE_VERSION="$(sed -n 's/.*"version"[[:space:]]*:[[:space:]]*"\([^"]*\)".*/\1/p' package.json | head -1)"
11
11
  TAG="${BAILING_IMAGE_TAG:-$PACKAGE_VERSION}"
12
- [ -n "$TAG" ] || TAG="0.6.0"
12
+ [ -n "$TAG" ] || TAG="0.6.1"
13
13
  NODE_IMAGE="${BAILING_NODE_IMAGE:-node:22-bookworm-slim}"
14
14
  PLATFORM="${BAILING_IMAGE_PLATFORM:-linux/amd64}"
15
15
  PUSH="${BAILING_PUSH_IMAGES:-0}"
@@ -37,6 +37,7 @@ const requiredRepoFiles = [
37
37
  'docs/RELEASE_NOTES_v0.3.4.md',
38
38
  'docs/RELEASE_NOTES_v0.5.0.md',
39
39
  'docs/RELEASE_NOTES_v0.5.1.md',
40
+ 'docs/RELEASE_NOTES_v0.6.1.md',
40
41
  'docs/RELEASE_NOTES_v0.6.0.md',
41
42
  'docs/CHANGELOG.md',
42
43
  'docs/CLIENT_API.md',
@@ -129,6 +129,7 @@ const requiredFiles = [
129
129
  'docs/RELEASE_NOTES_v0.3.4.md',
130
130
  'docs/RELEASE_NOTES_v0.5.0.md',
131
131
  'docs/RELEASE_NOTES_v0.5.1.md',
132
+ 'docs/RELEASE_NOTES_v0.6.1.md',
132
133
  'docs/RELEASE_NOTES_v0.6.0.md',
133
134
  'docs/CHANGELOG.md',
134
135
  ];