fix(skills): 同步内置工具参数与回执交接 (#472)

## 中文

同步内置工具调用契约涉及的九个市场技能。演示技能直接传递审阅回执的 `etag`,Markdown 写入示例使用 `path`,Agent
更新与应用发布示例跟随当前声明。邮件落盘、PDF
导出和浏览器探测从对应工具声明核对目标参数,避免把消费客户端的当前字段写错。同步双语说明、版本和目录元数据。

市场 i18n、严格目录元数据和翻译新鲜度校验全部通过。

## English

Refresh nine marketplace skills for the built-in tool contract changes.
Slide delivery passes the review receipt's `etag` directly, Markdown
writes use `path`, and agent/app authoring examples follow the current
declaration. Mail, PDF and browser guides use the active tool
declaration to obtain the relevant destination or browser input key.
Update the bilingual guides, versions and catalog metadata together.

Market i18n, strict catalog metadata and translation freshness checks
passed.

(cherry picked from commit 1e29f20266)
This commit is contained in:
yige authored and yi-ge committed 2026-12-06 17:18:44 +08:00
1 parent 17c12cadc5
commit 8e5b134f4e
32 files changed
+154 -140

No files matched your search

@@ -10,4 +10,4 @@
用户可显式选择“在这台设备记住所选位置”。示例 viewStateContract 只允许 selection 键并限制 1024 字节,不保存笔记正文;需实际 saveViewState grant,设备保存保持原 mutationId、expectedRevision 和正文。能力缺失时保持业务数据与视图偏好分别报告,预览不借正式设备状态。
用户要求分发时,用原 AppAuthoring.export_release 的 owner_request 显式导出全部 payload 与 app-release.json;另给原工具真实写权限内的 export_file_ref,首次 expected_absent:true,已有目标用原 expected_etag。返回 archiveFile 的实际 fileRef/sha256/size/etag,核验 sha256/size 与 export 的 archiveDigest/size 一致后交原授权上传工具。取得真实固定来源再用 distribution_prepare 的 owner_request,registryRepoId 从 authoring_capabilities.registryTargetIds 选本次实际目标,生成三文件草稿;它不上传、不提交目录,也不改变个人安装身份。普通 HTTP 不自动注入平台凭据,不能读取实例 token 或绕过认证。
用户要求分发时,用原 AppAuthoring.export_release 的 owner_request 显式导出全部 payload 与 app-release.json;另给原工具真实写权限内的 export_file_ref,按声明选择一个条件,首次要求目标不存在时传 true,覆盖时填原 `archiveFile.etag`。返回 archiveFile 的实际 fileRef/sha256/size/etag,核验 sha256/size 与 export 的 archiveDigest/size 一致后交原授权上传工具。取得真实固定来源再用 distribution_prepare 的 owner_request,registryRepoId 从 authoring_capabilities.registryTargetIds 选本次实际目标,生成三文件草稿;它不上传、不提交目录,也不改变个人安装身份。普通 HTTP 不自动注入平台凭据,不能读取实例 token 或绕过认证。
@@ -14,4 +14,4 @@
用户可显式选择“在这台设备记住所选位置”。示例 viewStateContract 只允许 selection 键并限制 1024 字节,不保存笔记正文;需实际 saveViewState grant,设备保存保持原 mutationId、expectedRevision 和正文。能力缺失时保持业务数据与视图偏好分别报告,预览不借正式设备状态。
用户要求分发时,用原 AppAuthoring.export_release 的 owner_request 显式导出全部 payload 与 app-release.json;另给原工具真实写权限内的 export_file_ref,首次 expected_absent:true,已有目标用原 expected_etag。返回 archiveFile 的实际 fileRef/sha256/size/etag,核验 sha256/size 与 export 的 archiveDigest/size 一致后交原授权上传工具。取得真实固定来源再用 distribution_prepare 的 owner_request,registryRepoId 从 authoring_capabilities.registryTargetIds 选本次实际目标,生成三文件草稿;它不上传、不提交目录,也不改变个人安装身份。普通 HTTP 不自动注入平台凭据,不能读取实例 token 或绕过认证。
用户要求分发时,用原 AppAuthoring.export_release 的 owner_request 显式导出全部 payload 与 app-release.json;另给原工具真实写权限内的 export_file_ref,按声明选择一个条件,首次要求目标不存在时传 true,覆盖时填原 `archiveFile.etag`。返回 archiveFile 的实际 fileRef/sha256/size/etag,核验 sha256/size 与 export 的 archiveDigest/size 一致后交原授权上传工具。取得真实固定来源再用 distribution_prepare 的 owner_request,registryRepoId 从 authoring_capabilities.registryTargetIds 选本次实际目标,生成三文件草稿;它不上传、不提交目录,也不改变个人安装身份。普通 HTTP 不自动注入平台凭据,不能读取实例 token 或绕过认证。