diff --git a/docs/upgrade-guide/v0.2.1-alpha.2/office-checker/guide.i18n.yaml b/docs/upgrade-guide/v0.2.1-alpha.2/office-checker/guide.i18n.yaml deleted file mode 100644 index e172668bbe..0000000000 --- a/docs/upgrade-guide/v0.2.1-alpha.2/office-checker/guide.i18n.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# Bilingual-pair consistency record for guide.md (docs/i18n/README.md): per heading -# section, a hash of its English and Chinese blocks outside code blocks and generated regions. -# After editing either side, bring the other along and re-record with: -# pnpm run verify-translation-pairing --write docs/upgrade-guide/v0.2.1-alpha.2/office-checker/guide.md -/: - en: f4b19b20596dbad2 - zh: 25a90d5e8c51f3cd -/office-checker-removal: - en: fdc485db7a686d77 - zh: f2a854177c14e43d -/office-checker-removal/change: - en: 5639536624303537 - zh: 8d55fe469d69247c -/office-checker-removal/migration: - en: a76670cef92daa37 - zh: cc95cc2c84cd78d9 diff --git a/docs/upgrade-guide/v0.2.1-alpha.2/office-checker/guide.md b/docs/upgrade-guide/v0.2.1-alpha.2/office-checker/guide.md deleted file mode 100644 index e4a99b7c68..0000000000 --- a/docs/upgrade-guide/v0.2.1-alpha.2/office-checker/guide.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -kind: upgrade-guide -description: "Bundled Office resources no longer provide the check_office.py command." ---- - -# Office checker removal - -English | [中文](guide.zh.md) - -## Change - -Office resources no longer include `scripts/check_office.py`. Custom skills and scripts that invoke this helper must update. Authoring skills verify saved documents through their Python libraries; the provider no longer requires a shared scripts directory. Rendering, recalculation, and PDF export remain separate operations. - -## Migration - -1. Remove calls to `check_office.py` from custom Office workflows. -2. Reopen saved files with python-docx, python-pptx, or openpyxl and verify the requested content, formatting, and preserved data. These checks do not provide a package-integrity report. -3. Run the workflow and confirm that the requested edits survive reopening. Request rendering or recalculation when the task needs those operations. diff --git a/docs/upgrade-guide/v0.2.1-alpha.2/office-checker/guide.zh.md b/docs/upgrade-guide/v0.2.1-alpha.2/office-checker/guide.zh.md deleted file mode 100644 index 85eefaf15f..0000000000 --- a/docs/upgrade-guide/v0.2.1-alpha.2/office-checker/guide.zh.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -kind: upgrade-guide -description: "内置 Office 资源不再提供 check_office.py 命令。" ---- - -# Office 检查器移除 - -[English](guide.md) | 中文 - -## 变更 - -Office 资源不再包含 `scripts/check_office.py`。调用该脚本的自定义技能和脚本需要更新。创作技能通过对应的 Python 库验证保存后的文档;提供者不再要求共享脚本目录。渲染、重算和 PDF 导出仍是独立操作。 - -## 迁移 - -1. 从自定义 Office 工作流中移除 `check_office.py` 调用。 -2. 用 python-docx、python-pptx 或 openpyxl 重新打开保存的文件,验证请求的内容、格式及需要保留的数据。这些检查不提供包完整性报告。 -3. 执行工作流,确认重新打开后请求的修改仍然存在。任务需要时再要求渲染或重算。