Commit Graph

7483 Commits

Author SHA1 Message Date
jxxghp
04126ce63e fix(tmdb): skip image queries for unsupported recognition sources 2026-10-13 07:00:05 +08:00
jxxghp
86c7fccfd5 feat(subscribe): persist business activity with scoped details 2026-10-12 23:43:01 +08:00
jxxghp
6ef8408f43 fix(bangumi): merge tmdb classification metadata for aux source (#6968)
Bangumi 等主识别源缺少 original_language/origin_country 标准字段,引用这些字段的分类规则整体失效并落入未分类;TMDB 辅助补充已有 genre_ids 合并,补齐语言与国家标准字段,仅填充主来源缺失值。
2026-10-12 17:49:40 +08:00
jxxghp
c8e935fc6c fix(agent): point capability entrypoints at canonical manager module (#6969) 2026-10-12 17:47:56 +08:00
jxxghp
de7726c6fc fix(subscribe): reconcile partial library progress (#6966) 2026-10-12 13:38:24 +08:00
jxxghp
6f9c0756c1 fix(download): reuse torrent content before resolving tickets (#6967) 2026-10-12 13:34:41 +08:00
jxxghp
99ef7e508b fix(indexer): support custom seeding and Unit3D bonus pages 2026-10-12 08:36:19 +08:00
jxxghp
bd1e6eb899 fix(agent): separate public API queries from bound user operations 2026-10-12 07:30:35 +08:00
jxxghp
7a853577d8 fix(subscribe): preserve original execution log content 2026-10-12 06:58:01 +08:00
jxxghp
391f55df40 feat(subscribe): add isolated execution logs with authorized streaming (#6963) 2026-10-11 22:18:37 +08:00
InfinityPacer
b174d3caf8 fix(testing): register runtime configuration in shared plugin bootstrap
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 20:56:48 +08:00
jxxghp
01301b887a fix(plugin): accept underscore IDs in instance validation (#6962) 2026-10-11 13:59:38 +08:00
jxxghp
453a3479aa fix(music): keep detached audio readable on ACL mounts (#6961) 2026-10-11 13:24:29 +08:00
jxxghp
c670432882 fix(transfer): preserve success on size overwrite decline (#6960) 2026-10-11 12:22:10 +08:00
jxxghp
4059877088 fix(search): preserve full collection for whole-season subscriptions
Retain episode targets while keeping the whole-season barrier across paging and checkpoint recovery. Full scans no longer stop at the latest episode observed on early pages.
2026-10-11 07:53:45 +08:00
jxxghp
0cbdbf9b1d fix(search): cap paging and stop unmatched IMDb sources 2026-10-11 07:46:38 +08:00
jxxghp
5b8b16b38a fix(workflow): restore torrent node outputs before consumption (#6959) 2026-10-11 07:41:15 +08:00
jxxghp
63055f84d1 fix(download): recover omitted site credentials for torrent fetch 2026-10-11 07:36:54 +08:00
InfinityPacer
d9ac4cc429 feat(plugin): expose remote entry and version on agent pets
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 04:08:15 +08:00
InfinityPacer
40e80f43f5 fix(plugin): advance runtime generation when a plugin is enabled or disabled
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 04:08:15 +08:00
InfinityPacer
e97f64e777 feat(plugin): add avatar to agent pet declarations
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 04:08:15 +08:00
InfinityPacer
25aaf3a32b feat(plugin): add agent pet extension contract
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 04:08:15 +08:00
InfinityPacer
9117ebd69c fix(download): let labelled full-season packs compete in whole-season phase
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 01:25:46 +08:00
InfinityPacer
338687bee8 fix(download): treat blank save path as default directory
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 23:48:50 +08:00
jxxghp
dd90883c5d fix(torrent): respect tracker rate limits and quota cooldowns
Recognize explicit JSON rate limits before torrent parsing and short retries. Preserve per-call quota errors through download preparation so subscription cooldowns cover the tracker window.

Refs #6950
2026-10-10 23:34:35 +08:00
jxxghp
cb6bc02228 fix(agent): inherit deployment environment in Python kernels 2026-10-10 23:33:26 +08:00
InfinityPacer
3faa49fd7a fix(workflow): keep torrent contexts usable across persistence and filtering
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 18:44:19 +08:00
jxxghp
f03b5fb74c fix(workflow): accept RSS domain context when adding downloads (#6947) 2026-10-10 17:51:24 +08:00
jxxghp
2b415cc1b9 fix(cli): unwrap MCP REST tool responses 2026-10-10 17:00:56 +08:00
jxxghp
a26e8dc0eb Merge remote-tracking branch 'origin/v3' into codex/pr-6941-agent-media-type 2026-10-10 12:39:03 +08:00
jxxghp
cdb8d9df71 fix(api): sync v3 and complete agent media type compatibility 2026-10-10 12:22:57 +08:00
jxxghp
b663825fe7 fix(plugin): recover dependencies without disabled constraints
Keep enabled host and clone sources in dependency recovery. Fall back to per-plugin requests while retaining ready and recovered manifest constraints, preserving original sources and cancellation ownership.

Refs #6943
2026-10-10 12:20:13 +08:00
jxxghp
bb29451222 fix: isolate unhandled durable transfer failures 2026-10-10 12:17:07 +08:00
pavel2
0d62815a0f fix(api): accept agent media type values
9 处裸构造 MediaType(x) 改为 MediaType.from_agent(x) or MediaType(x),与 search.py/site.py 既有写法一致。智能体按 API 入参规约传入 movie/tv/music 时不再抛 ValueError 返回 500,中文原生枚举值仍走原分支,无行为变化。

涉及:media.py detail、tmdb.py(3)、douban.py(2)、mediaserver.py not_exists、subscribe.py create_subscribe、transfer.py _execute_manual_transfer。
2026-10-10 09:56:47 +08:00
jxxghp
d7db4cfc0b fix(plugin): serialize package swaps with imports (#6939) 2026-10-10 07:42:37 +08:00
jxxghp
8811825ee8 fix(search): separate retry timestamp types 2026-10-10 07:04:32 +08:00
jxxghp
828f66e771 fix(search): ignore expired scan retry times 2026-10-10 06:59:33 +08:00
jxxghp
1ed458eda7 fix(download): remove deleted source from matching downloader 2026-10-10 06:58:04 +08:00
jxxghp
e9f0c693e2 fix(torrent): retry transient downloads and shorten empty-content cooldown 2026-10-10 00:05:22 +08:00
jxxghp
9924e5e7ff fix(workflow): satisfy architecture gates for issue 6931 2026-10-09 23:58:33 +08:00
jxxghp
b2dfde5999 fix(bangumi): use HTTPS for calendar covers 2026-10-09 23:54:47 +08:00
jxxghp
b3581e02df fix(scheduler): preserve dispatched plugin one-shot jobs (#6935) 2026-10-09 21:39:33 +08:00
jxxghp
0115c41459 fix(workflow): 修复添加下载的媒体上下文类型 #6931 2026-10-09 21:33:06 +08:00
jxxghp
ec93101289 Merge pull request #6932 from binyangzhu000-sudo/feat/atlas-cloud-provider 2026-10-09 18:52:23 +08:00
jxxghp
4caa1885ae Merge pull request #6928 from cwd0204/style/ruff-autofix 2026-10-09 18:11:43 +08:00
binyangzhu000-sudo
6d479317c1 feat(llm): 新增 Atlas Cloud provider
Atlas Cloud (https://api.atlascloud.ai/v1) 是 OpenAI 兼容的聚合网关,一个
Key 覆盖 DeepSeek、智谱、月之暗面、通义千问与 MiniMax 等开源权重模型,
形态与 OpenRouter 一致,sort_order 取 50 与 60 之间的 55。

用 openai_provider() 而非 catalog_openai_provider():后者的
model_list_strategy 是 models_dev_only,而 Atlas Cloud 尚未被 models.dev
收录;前者走 openai_compatible,直接读网关自己的 /v1/models。
models_dev_provider_id 保留默认值 atlascloud,这样等 models.dev 收录后
_models_dev_reserved_provider_ids 会认到它,不会再自动生成一个重复条目。

实测:用 discovery 内部同款 AsyncOpenAI 构造调用,models.list() 返回 117
个模型,deepseek-ai/deepseek-v4-flash 的对话正常返回。

Signed-off-by: binyangzhu000-sudo <binyangzhu000@gmail.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: binyangzhu000-sudo <binyangzhu000@gmail.com>
2026-10-09 16:03:47 +08:00
InfinityPacer
6034dcc880 fix(workflow): drop shared context on fork and legacy pickle context
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 13:56:35 +08:00
freeman
f3ad81b39e style: apply safe ruff auto-fixes and exempt startup late imports
Run `ruff check app tests scripts --fix` with the configured rule set
(E4/E7/E9/F/I): import sorting (I001), f-strings without placeholders
(F541), lambda/variable/unused-import cleanups that ruff marks safe.
Nine files whose only ruff debt sits next to pre-existing pylint
import-resolution errors (lazy exports, sys.path script imports) or
whose "unused" imports are reached through attribute access by tests are
left untouched so the changed-file pylint gate and the benchmark tests
stay green; their diagnostics remain in the baseline.

app/startup/lifecycle/__init__.py and app/main.py import business
modules after cache composition, import-path and stdio setup on purpose
(the source comments document the contract), so declare E402
per-file-ignores for them instead of adding per-line noqa.

Ruff ratchet watermark drops from 498 to 100; sync the baseline fixture
and the optimization checklist figure.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-09 13:29:09 +08:00
jxxghp
233be41b49 Merge pull request #6925 from cwd0204/fix/login-throttle 2026-10-09 13:04:40 +08:00
jxxghp
7bf7e797cd Merge pull request #6923 from cwd0204/fix/cors-wildcard-credentials 2026-10-09 13:03:06 +08:00