fix(office): 修复独立技能的 Python 依赖入口 (#229)

为 pptx 与 xlsx 提供标准库启动器,使用已准备的受管 XML 依赖,保留目标退出码并避免失败后重放编辑。

同步双语说明、目录版本和固定启动器合同测试。

Refs desirecore/desirecore#5335
This commit is contained in:
yige authored and GitHub committed 2026-10-28 10:24:31 +08:00
1 parent aa6a1a6348
commit 1b9e82d95d
12 files changed
+462 -38

No files matched your search

+5 -1
View File
@@ -48,7 +48,7 @@ jobs:
;;
esac
changed=$(git diff --name-only "$range" || true)
if echo "$changed" | grep -qE '^(skills/|agents/|teams/|schemas/|manifest\.json$|categories\.json$|scripts/i18n/|scripts/catalog/|scripts/gen-collection-children\.py$)'; then
if echo "$changed" | grep -qE '^(skills/|agents/|teams/|schemas/|manifest\.json$|categories\.json$|scripts/i18n/|scripts/catalog/|scripts/office/|scripts/gen-collection-children\.py$)'; then
echo "relevant=true" >> "$GITHUB_OUTPUT"
else
echo "relevant=false" >> "$GITHUB_OUTPUT"
@@ -62,6 +62,10 @@ jobs:
if: steps.changes.outputs.relevant == 'true'
run: uv run --quiet scripts/i18n/test_validate_i18n.py
- name: Run Office launcher contract tests
if: steps.changes.outputs.relevant == 'true'
run: python3 -B scripts/office/test_runtime_launcher.py
- name: Run catalog validator unit tests
if: steps.changes.outputs.relevant == 'true'
run: |