feat(sdk): add web and release toolkit SDKs - #55
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.
背景
浏览器和桌面 WebView 需要通过正式 npm 入口消费 Web/WASM 和纯工具层,而现有共享 WASM 含 Node 分支,公开类型与发布资源也需要统一。本次接续已有 verified-delta-pipeline 工作,不重做 Node/CLI/Action、转换器或规划器。
改动
/web和/toolkit,修正根 browser 条件的类型解析,同时保留 RN、根 CommonJS、Node/CLI 和 Action。验证
兼容与发布边界
运行时格式继续为 ENDSLEY/BSDIFF43;BSDIFF40 仅检查/离线转换。显式零预算与畸形不前进控制流会更早失败,旧默认预算不收紧。Toolkit 不验签,头部 valid 不等于完整补丁验证。Tauri/Rust 集成和手机实机没有在本地验收,原有平台 CI 继续执行。
合并并通过检查后,从 main 的这个版本建立 v0.5.0 GitHub Release,交由既有 npm OIDC 工作流发布和验证 provenance;不会从本机直接 npm publish。
最终发布候选验证
0.5.0 发布文案更新后已重新正常打包,并用该固定 tarball 重跑 SDK 与包消费者:全部通过。73 个文件,SHA-256:
b22f85b3591321d6b86c3c9b64c35a8370d6049391bb5190dee2cff9a402bdd2。相对首次候选仅 README 发布安装说明变化,运行时/类型产物保持一致。正式 registry 包仍将在发布后单独验证。CI 跟进修复
首次 CI 发现 iOS 旧版 RN fixture 在未安装根依赖时执行 yarn pack,新增 prepack 检查因缺少 Yarn node_modules state 失败。后续提交
9ea113f补齐 Node22 immutable 安装和 prepare,再切回原 Node18 矩阵;没有跳过任何检查。本地已用 Node18.20.8 成功执行同一 yarn pack/prepack 路径,完整平台矩阵由更新后的 CI 验证。@wip ready for review