From 13c84d3d039affc7a5c8ac917021e3b9a90b2e9d Mon Sep 17 00:00:00 2001 From: jxxghp Date: Mon, 24 Aug 2026 18:13:03 +0800 Subject: [PATCH] fix(ci): align update contracts --- app/locales/en-US.json | 1 + app/locales/zh-TW.json | 1 + skills/moviepilot-api/SKILL.md | 2 +- .../fixtures/architecture/startup-performance-baseline.json | 6 +++--- tests/test_builtin_skill_boundaries.py | 4 ++-- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/app/locales/en-US.json b/app/locales/en-US.json index 24dd339e7..a0e992162 100644 --- a/app/locales/en-US.json +++ b/app/locales/en-US.json @@ -196,6 +196,7 @@ "测试目标重定向次数过多": "Test target redirected too many times", "当前运行环境不支持重启操作!": "The current runtime environment does not support restart!", "当前运行环境不支持升级操作!": "The current runtime environment does not support upgrade!", + "Release 更新请使用 /system/update/check、download 和 install 接口": "Use the /system/update/check, download, and install endpoints for Release updates", "命令不能为空!": "Command cannot be empty!", "未找到指定的种子": "Specified torrent not found", "种子删除成功": "Torrent deleted successfully", diff --git a/app/locales/zh-TW.json b/app/locales/zh-TW.json index e2f68cace..0c093e863 100644 --- a/app/locales/zh-TW.json +++ b/app/locales/zh-TW.json @@ -192,6 +192,7 @@ "测试目标重定向次数过多": "測試目標重新導向次數過多", "当前运行环境不支持重启操作!": "目前執行環境不支援重啟操作!", "当前运行环境不支持升级操作!": "目前執行環境不支援升級操作!", + "Release 更新请使用 /system/update/check、download 和 install 接口": "Release 更新請使用 /system/update/check、download 與 install 介面", "命令不能为空!": "命令不能為空!", "未找到指定的种子": "未找到指定的種子", "种子删除成功": "種子刪除成功", diff --git a/skills/moviepilot-api/SKILL.md b/skills/moviepilot-api/SKILL.md index 14cb25a9e..f2bb69efa 100644 --- a/skills/moviepilot-api/SKILL.md +++ b/skills/moviepilot-api/SKILL.md @@ -1,6 +1,6 @@ --- name: moviepilot-api -version: 13 +version: 14 description: >- Use this skill when you need to call MoviePilot REST API endpoints directly with the bundled Python client. Covers MoviePilot HTTP endpoints across media diff --git a/tests/fixtures/architecture/startup-performance-baseline.json b/tests/fixtures/architecture/startup-performance-baseline.json index 3c3ce79d7..3095322ca 100644 --- a/tests/fixtures/architecture/startup-performance-baseline.json +++ b/tests/fixtures/architecture/startup-performance-baseline.json @@ -6,7 +6,7 @@ "repeat": 3, "targets": { "app.startup.lifecycle": { - "loaded_app_module_count": 358, + "loaded_app_module_count": 359, "max_ms": 968.725, "median_ms": 937.268, "min_ms": 933.205, @@ -17,7 +17,7 @@ ] }, "app.factory": { - "loaded_app_module_count": 370, + "loaded_app_module_count": 371, "max_ms": 943.204, "median_ms": 941.996, "min_ms": 937.878, @@ -28,7 +28,7 @@ ] }, "app.main": { - "loaded_app_module_count": 372, + "loaded_app_module_count": 373, "max_ms": 1068.791, "median_ms": 1064.912, "min_ms": 1053.947, diff --git a/tests/test_builtin_skill_boundaries.py b/tests/test_builtin_skill_boundaries.py index eb53bca3c..3df73f633 100644 --- a/tests/test_builtin_skill_boundaries.py +++ b/tests/test_builtin_skill_boundaries.py @@ -23,9 +23,9 @@ def test_modified_builtin_skills_have_incremented_versions() -> None: """本次修改过的内置技能必须递增版本,确保用户端同步更新。""" expected_versions = { "database-operation": "4", - "moviepilot-api": "13", + "moviepilot-api": "14", "moviepilot-cli": "8", - "moviepilot-update": "3", + "moviepilot-update": "4", "organize-files": "3", "transfer-failed-retry": "4", "generate-identifiers": "3",