From ee660c75cef90c917b33355ddd4fe9528b4a4f24 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Fri, 20 Nov 2026 14:25:57 +0800 Subject: [PATCH] docs(agent): generate manual music candidate guidance from source --- scripts/generate_agent_skill_docs.py | 7 ++++++- skills/moviepilot-api/SKILL.md | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/generate_agent_skill_docs.py b/scripts/generate_agent_skill_docs.py index 97a0e4759..e07aa2fc4 100644 --- a/scripts/generate_agent_skill_docs.py +++ b/scripts/generate_agent_skill_docs.py @@ -18,7 +18,7 @@ if str(PROJECT_ROOT) not in sys.path: sys.path.insert(0, str(PROJECT_ROOT)) # 与对应 SKILL.md 同步维护,重新生成不能回退用户同步所需的版本。 -MOVIEPILOT_API_SKILL_VERSION = "78" +MOVIEPILOT_API_SKILL_VERSION = "79" DATABASE_OPERATION_SKILL_VERSION = "20" @@ -385,6 +385,11 @@ _OPERATION_NOTES: dict[str, list[str]] = { "", "#### Candidate Selection and Empty-Result Retries", "", + "With `include_candidates=true`, manually reviewable music candidates also include resources " + "rejected by automatic identity matching. `match_status` is `candidate`, `match_reason` " + "retains the rejection reason (for example `title_mismatch`), and `media_info` is null. " + "Do not treat them as confirmed matches or download them automatically; existing search filters still apply.", + "", "- When `media.search` returns multiple candidates, select based on " "**title matching the user's request AND `type` (movie/series) matching**; do not " "mechanically pick the first or an arbitrary candidate without comparison. If the first " diff --git a/skills/moviepilot-api/SKILL.md b/skills/moviepilot-api/SKILL.md index 606ccdaf2..2a2565fa1 100644 --- a/skills/moviepilot-api/SKILL.md +++ b/skills/moviepilot-api/SKILL.md @@ -1,6 +1,6 @@ --- name: moviepilot-api -version: 78 +version: 79 description: >- Use this skill for MoviePilot product operations such as media search, torrent search, downloads, subscriptions, library checks, sites, storage, workflows,