mirror of
https://git.openapi.site/https://github.com/desirecore/registry.git
synced 2026-12-05 11:39:08 +08:00
feat(registry): 同步算力插件固定发布契约 (#42)
This commit is contained in:
5 files changed
+325
-8
No files matched your search
@@ -65,7 +65,7 @@ English: Video Editing 0.1.5 pins a reviewed release and retains the FableCut co
|
||||
|
||||
`extension` 区分提供与消费:
|
||||
|
||||
- `contributes` 指明本产品提供的贡献 ID、贡献点、契约版本及包内 `definitionRef.path/sha256`。当前贡献点限于 `document.parsers`、`session.panels`、`session.widgets`、`session.actions`、`tools`、`skills`。
|
||||
- `contributes` 指明本产品提供的贡献 ID、贡献点、契约版本及包内 `definitionRef.path/sha256`。当前贡献点限于 `document.parsers`、`session.panels`、`session.widgets`、`session.actions`、`tools`、`skills`。通过下节固定发布物分发的 `native-app` 插件也可声明 `compute.providers`。
|
||||
- `requires` 指明必需或可选的直接能力依赖,使用精确 `sourceId/appId/contributionId/contractVersion`,可加版本范围。普通应用可以只声明依赖;插件即使有依赖也必须提供贡献。两项同时为空无实际关系,校验拒绝。
|
||||
- 产品引用不携带安装实例 ID、凭据、启用状态或权限。客户端运行时解析精确安装实例,由目标宿主维护接入、配置和撤销;目录声明不会自动安装、启用或授权依赖。
|
||||
|
||||
@@ -87,7 +87,7 @@ English: Plugins are App products with host contributions, sharing the canonical
|
||||
|
||||
English: The published root format and global 4.2 Schema remain unchanged. Both validators select the separate reviewed authoring Schema only for `web-bundle` or an explicit `appRelease`; ordinary listings retain their existing Schema. Inline definitions use `definitionSource: manifest`, while legacy payload definitions use `definitionPath`, exclusively. Fixed source commits, the downloaded archive SHA-256 and the canonical release digest are separate identities. Validation does not establish client support, source trust, installation, authorization or runtime ownership.
|
||||
|
||||
作者 Schema 保留全部 4.2 旧分支,新增 `web-bundle` 与带 `appRelease` 的 `native-app`/`docker-app` 严格分支;其字节由主仓生成并固定,SHA-256 为 `95afcffce0c985215685554ec8b3f5e3012036bf2c4ecc4214c23e4eff895b10`,修改须先更新主仓并经 review。网页包不冒充无执行声明 artifact;宿主/容器服务应用的运行知识与依赖在固定清单中,不限定 Node 技术栈,也不自动执行说明文字。Docker 显式声明固定 `imageRefs`,每项是 `repository@sha256`,复用原容器/执行/服务 owner;没有真实身份 adapter 时保留 Agent 管理,不因为 Schema 合法声称直开。descriptor 在安装时按来源物化并单独核验。最低版本字符串不能代替握手,旧客户端继续读取旧条目并忽略未知类型,不允许改交付类型绕过。
|
||||
作者 Schema 保留全部 4.2 旧分支,新增 `web-bundle` 与带 `appRelease` 的 `native-app`/`docker-app` 严格分支;其字节由主仓生成并固定,SHA-256 为 `27a7f86b82f5d88bfe1eae2d083540359ed8f2fccffa8f3d040fdc58d0cf3900`,修改须先更新主仓并经 review。DesireCore 10.0.217 已携带此作者 Schema。发布型算力插件以 `productKind: plugin`、固定 `appRelease` 和 `extension.contributes` 登记,条目与 sidecar 的声明必须一致。网页包不冒充无执行声明 artifact;宿主/容器服务应用的运行知识与依赖在固定清单中,不限定 Node 技术栈,也不自动执行说明文字。Docker 显式声明固定 `imageRefs`,每项是 `repository@sha256`,复用原容器/执行/服务 owner;没有真实身份 adapter 时保留 Agent 管理,不因为 Schema 合法声称直开。descriptor 在安装时按来源物化并单独核验。最低版本字符串不能代替握手,旧客户端继续读取旧条目并忽略未知类型,不允许改交付类型绕过。
|
||||
|
||||
根 `SCHEMA_VERSION` 与 global Schema 升级到 4.3 须另提 PR,并等待兼容客户端实际发行验收;知识正式启用及 seed 交付同样须等待该验收。每一步取实际提交/发行/目录回执,不把未合入 commit 固定成官方 seed。
|
||||
|
||||
@@ -97,7 +97,7 @@ English: The published root format and global 4.2 Schema remain unchanged. Both
|
||||
|
||||
GitHub/Gitea 私有来源依真实 ACL 和连接;客户端 private 来源不走公开镜像回退,认证失败拒绝新获取。团队移除不自动改来源 ACL,需实际源管理员处理;已下载字节不能收回。离线已安装应用按保存事实维护,不把目录缓存当新安装的完整运行环境。
|
||||
|
||||
English: The authoring Schema preserves legacy branches and adds strict web-bundle and authored native/Docker release branches; its bytes are generated and pinned by the main repository. Upgrading the root format to 4.3 takes a separate PR after a compatible client release is accepted. Synthetic listing-only fixtures under `fixtures/authoring/` are not published artifacts and stay out of the catalog and its statistics. Private-source access depends on actual Git ACL; team membership does not automatically revoke source access, and catalog withdrawal does not delete installed data.
|
||||
English: The authoring Schema preserves legacy branches and adds strict web-bundle and authored native/Docker release branches. DesireCore 10.0.217 shipped the reviewed authoring Schema that allows authored native plugin releases to contribute `compute.providers`. Upgrading the root format to 4.3 takes a separate PR after a compatible client release is accepted. Synthetic listing-only fixtures under `fixtures/authoring/` are not published artifacts and stay out of the catalog and its statistics. Private-source access depends on actual Git ACL; team membership does not automatically revoke source access, and catalog withdrawal does not delete installed data.
|
||||
|
||||
## 条目格式
|
||||
|
||||
|
||||
Reference in new issue
Block a user