chore: 升级 Tool Bridge SDK 至 0.21.0 - #24
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
能力变化
@tool-bridge/sdk从 0.20.1 精确升级到 npm latest 0.21.0。@tool-bridge/sdk/device,没有新增公开能力或权限。commandId,保留operationId -> call.id -> 本地 commandId映射。PreparedDeviceCredential.url已移除的入口门禁,确保 WebSocket URL 只能由 SDK 根据 baseUrl/deviceId 派生。权限变化
平台差异
验证证据
pnpm typecheck:通过。pnpm lint:通过。pnpm test:82 suites / 388 tests 通过。ai.tokenroll.toolbridgemobile.preview0.0.13 (13),内置 JS bundle 和 SDK 0.21.0 App config;v2 测试签名通过;SHA-256a6e3c6210aa05ed425c608899bf2365e5878e37a42a8251411265a3582786b55。adb install -r成功并保留 firstInstallTime;显式冷启动Status: ok,MainActivity 为 top resumed 且进程存活。llmdoc validate:通过;scoped 安装证据已刷新 fingerprint。pnpm verify在expo install --check停止:仓库现有 Expo 57 依赖出现 12 个新补丁版本建议。本 PR 未扩大范围更新 Expo 依赖;typecheck、lint、unit/contract tests 已单独通过。回滚方式
package.json、pnpm-lock.yaml、App transport version marker 与 SDK entry gate,避免版本事实分叉。文档更新
/llmdoc:updatedeep 复核 17 个 impacted 和 6 个 needs-review 文档:14 份稳定文档更新,9 份验证后保持不变。