Skip to content

feat(lib): add verified read-only CBB asset discovery - #294

Merged
zhoushoujianwork merged 8 commits into
mainfrom
feat/issue244-cbb-library
Oct 30, 2026
Merged

zhoushoujianwork merged 8 commits into
mainfrom
feat/issue244-cbb-library

Conversation

@zhoushoujianwork

@zhoushoujianwork zhoushoujianwork commented Oct 30, 2026 •

Copy link
Copy Markdown
Owner

#244 的真实复用块验收缺少安全的资产读取入口。新增 lib cbb search/get/export-source 与对应 typed actions,通过官方 beta API 检索并核对资产、保留板/符号变体,按需导出原生 epro2 归档,全程不打开工程或放置实例。

搜索结果缺少库 UUID 时逐项通过 lib_Cbb.get 核实;声明中的完整 schematic 在 Web 4.1.78 实际可能为 UUID 引用,另经官方只读接口读取并明确标注 unavailable。搜索错误、身份冲突、未知响应不伪装成空结果。归档限定 16 MiB,CLI 校验 ZIP/CRC/原生数据,不覆盖已有文件,返回 SHA-256;不更改模块下载权限。

现场本地 1.15.1-dev.9:真实系统库检索和身份读取通过;库内原理图详情为空,归档 getter 明确返回“没有下载库权限”。未取得可核对符号,因此不含放置入口,不关闭 #244;真实 block_symbol 接线及保存重载网络回读仍未验收。

验证:最终全量 Go 测试、go vet ./... 通过;最终 connector 全量 1269/1269、其中 CBB 定向 12/12 通过;typecheck、连接器构建、Skill 检查与 diff 检查通过。已安装 CLI 的真实检索与非法参数拒绝冒烟通过。基线 vet 告警已由独立 PR #293 采用,本分支已回合 main。CI 另按当前 head 核对。

Refs #244

@zhoushoujianwork
zhoushoujianwork merged commit 5c12f6e into main Oct 30, 2026
5 checks passed
@zhoushoujianwork
zhoushoujianwork deleted the feat/issue244-cbb-library branch October 31, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant