Skip to content

v0.5.0 — 在一个会话中使用商城与库存等业务系统

Latest

Choose a tag to compare

@niejingchuan niejingchuan released this 10 Sep 09:41
24e4925

一次选好商城与库存授权,让助手按步骤使用

“先查保温杯库存,有货再把商城对应商品改为 59 元并上架。”在配套宿主中,用户可以在首条消息前选好库存与商城两份授权,助手为每一步选择对应目标与工具,结束后分别说明已完成、待审批和失败的动作。

本次更新

  • 在同一 Hub/审计域内支持不同业务系统的明确会话范围,同名工具按原目标路由。
  • 在首次搜索前提供受控系统用途说明,区分“产品做什么”“授权允许什么”和“工具尚未加载”。
  • 展示业务后端提供的真实授权主体名称;门店只是示例,组织、账户、项目等同样适用。
  • 保留整组身份重验、离线恢复、取消与完整可见归档链路;未选目标不访问,归档补传不重新执行业务写入。

如何升级

先升级 Core 0.7.0,再安装:

dsh plugin --profile web add dsh-bailinghub@0.5.0

插件依赖精确的 bailinghub-mcp-server@0.5.0。自研宿主需接入多目标选择、完整范围持久化和展示信息;升级插件不等于宿主界面已经完成对接。保留原会话与事件,旧同系统范围不自动扩大。开始对话后范围固定,要增减目标请新建会话。

示例要求业务系统已提供查询、改价、上架能力,并已确认两边商品映射。原权限与审批继续生效,库存查询不代表库存锁定。本版不提供跨 Hub、分布式事务、自动回滚或持久任务调度引擎。

完整说明 · 跨系统会话

English

DSH 0.5.0 extends explicitly selected conversation scopes to different business systems within one Hub and audit domain. An assistant can check inventory and then use an independently authorized shop to change and list the matching product, while preserving each system's permissions, approvals and invocation ownership.

Use Core 0.7.0 and install dsh-bailinghub@0.5.0; the plugin pins SDK 0.5.0 exactly. Custom hosts must integrate target selection, complete scope persistence and display metadata. Preserve existing sessions and visible events. Existing scopes never expand automatically, and archive recovery never replays business writes. See the linked notes for upgrade checks and limits.