让客户端认清业务系统和授权对象
例如,用户希望“先查保温杯库存,有货再把商城对应商品改为 59 元并上架”。配套客户端可以使用会话中已选的库存与商城授权,各动作保留原系统、原会话和审批归属。业务能力与两边商品映射需要预先接入并确认。
SDK 0.5.0 为这一流程提供多系统会话归档绑定、首次能力搜索前的系统说明,以及业务后端提供的授权主体名称。名称可对应组织、账户、项目或门店,只用于展示;不会取代内部连接与授权身份。完整会话范围与执行协调由 DSH 或自研宿主实现。
升级
先准备 Core 0.7.0,自研客户端安装 bailinghub-mcp-server@0.5.0 并核对目标目录、范围、持久记录和名称展示。使用 DSH 的用户安装配套 dsh-bailinghub@0.5.0,它携带精确 SDK 依赖。保留旧会话与连接,不按展示名称重建授权。旧同系统能力和现有 Client Token 模式继续兼容。
已有独立 MCP 入口保留原有工具形态;不能把升级 SDK 描述为所有 MCP 客户端自动支持多系统会话。本版限同一 Hub/审计域,未选目标不得接收本轮业务请求,介绍与名称不会扩大权限或跳过审批。
English
SDK 0.5.0 supports the matching Core 0.7.0 / DSH 0.5.0 flow for explicitly selected business systems. It adds cross-system archive bindings, system descriptions available before tool discovery, and business-provided authorization display names. Hosts retain responsibility for scope selection, persistence and orchestration.
Install bailinghub-mcp-server@0.5.0 after upgrading Core, preserve existing connections and stored sessions, and integrate the documented host-facing fields. Names remain display metadata; permissions, approvals and invocation identities remain separate. The standalone MCP entry retains its existing tool surface. See the bilingual release notes for compatibility and validation steps.
发布维护者文档随源码提供,不包含在 npm 包内;请在线查看 release procedure / 发布流程。