Prefer the single workflow entrypoint and pass the raw user request when possible:
python3 "$SKILL_DIR/scripts/workflow.py" "用户原话或番名" [--episode N] [--latest-season] [--download] [--prefer-4k] [--json]
find.sh still exists, but it is compatibility glue only.
workflow.py --json.status, intent, and decision before digging into debug details.decision.confirmation_required is true, ask at most one question.intent.action is status, trust the workflow to read the last known download state; do not reconstruct it yourself.--downloader cli-only or let the raw utterance express it.statusintentdecisionbest_resultverification.match / verification.alternativessearch.search_queriessearch.available_seasonssearch.resolved_latest_seasondownload.statussummaryneed_disambiguation: stop and ask one focused questionno_results: search finished, but nothing downloadable remainedready: best_result is available and no download was executedqueued: Transmission accepted the torrent or the last tracked task is still queryablefallback_to_magnet: the workflow intentionally returned magnet/torrent output instead of queueingblocked: local or network blockers prevented progressscripts/intent.py is the normalization layer. It extracts title, episode, season, latest_episode, latest_season, action, quality/subtitle/downloader preferences, confidence, and missing fields.scripts/data/series_overrides.json remains the source of truth for franchises whose Bangumi names, user wording, and Nyaa season numbering drift apart.state/user_profile.json. Only explicit user wording should write to it. The tracked template is state/user_profile.template.json.state/last_download.json; treat that file as runtime state, not repo content.帮我找一下 JOJO 最新一季第一集然后下载下来jojo latest season ep1先找孤独摇滚第三集,别下载攻壳机动队只要磁力刚才那个下载怎么样More trigger examples live in references/intent_examples.md.
共 1 个版本