Commit Graph

1399 Commits

Author SHA1 Message Date
jxxghp
950c26edfe fix(agent)!: 精简 LLM 提供商预设并保留正式平台
将保留的模型平台恢复为设置页和安装向导可选的正式目录项。
删除其余预设的名称、地址与历史兼容分支,保留通用兼容入口。
补充目录、连接参数、模型查询与管理接口的回归测试。

BREAKING CHANGE: 已移除的提供商标识不再解析,其他兼容服务需通过通用入口填写 Base URL。
2026-11-27 08:26:25 +08:00
jxxghp
43ca80f6b8 fix(widget): 同步插件小组件架构门禁、开放模型与依赖快照 2026-11-27 06:26:25 +08:00
jxxghp
584c4fff6f chore(release): publish v3.2.15 with read-only plugin widget endpoints 2026-11-27 06:02:08 +08:00
jxxghp
d8d24c97f6 fix(subscribe): 修复资源冷却后的搜索空转和手动重试 (#7628)
Refs #7623

将候选下载冷却反馈给智能分页搜索,保留缺集和重试原因;重新识别成功后清除目标资源的普通下载失败保护,并区分安全的网络失败类别。

本地全量 22,649 passed、21 skipped;PR 必需 CI 全部通过。
2026-11-27 00:16:46 +08:00
二次元糕手
0bae3933e9 fix(indexer): support Piggo media links and capped pagination (#7613)
* fix(indexer): support Piggo media links and capped pagination

Use official IMDb, Douban and TMDB lookup fields, report confirmed search continuation, and keep capped totals from ending pagination.

* test(architecture): record Piggo search observation import

The Piggo spider now reports search page facts through app.application.site.observation, matching the existing ColaPT and M-Team spiders.

---------

Co-authored-by: jxxghp <jxxghp@gmail.com>
2026-11-26 07:55:06 +08:00
Aqr-K
6c86aaf403 refactor(tests): 按责任域整理套件并约束测试生命周期 (#7615) 2026-11-26 07:43:43 +08:00
jxxghp
320a833b2c test(smb,docs): 补齐 SMB 流式单测覆盖并同步架构总览边计数 2026-11-26 00:16:01 +08:00
jxxghp
993555c49e feat(danmaku): add custom DandanPlay-compatible danmaku proxy and cache API 2026-11-25 22:35:46 +08:00
LIN student
1b373e2eaa fix(llm): keep saved relay provider configurations working 2026-11-25 21:42:28 +08:00
jxxghp
a8398e220d feat(mediaserver): add unified live playback session sync and per-user account bindings 2026-11-25 15:04:13 +08:00
InfinityPacer
37308d0e5a feat(download): add ResourceSubmit event and expose torrent resource identity 2026-11-25 10:53:19 +08:00
jxxghp
9b7b37d3be feat(mediaserver): expose sanitized strm direct urls in stream-info manifests 2026-11-24 23:27:44 +08:00
jxxghp
d893e1a8dc fix(calendar): expose start_episode in calendar subscription summary
Include start_episode in CalendarSubscription so calendar views can distinguish skipped pre-start episodes from actual library progress, and align completed_episode docstrings with the full-season denominator contract.
2026-11-24 15:50:39 +08:00
jxxghp
5301baa11c docs(architecture): sync dependency edge count in overview 2026-11-24 14:26:24 +08:00
jxxghp
0f9d72a7f5 fix(message): align full message history endpoint and contracts (#7576) 2026-11-24 12:33:01 +08:00
jxxghp
358fd2bfe5 fix(site): restore clear connectivity test success message 2026-11-24 08:20:42 +08:00
jxxghp
fda8d5cbb3 fix(module): harden service hot-reload isolation, recovery, and health diagnostics (#7569) 2026-11-23 23:55:44 +08:00
jxxghp
b6e0daff0d feat(download): convert manual downloads to TMDB primary identity (#7566)
Reuse cross-source TMDB projection and full recognition across manual download API and interactive messaging paths when RECOGNIZE_SOURCE=themoviedb, preserving TV season/episode/episode_group checks, external ID and origin_media traceability, warning fallback on mismatch, and post-ResourceDownload context sync.
2026-11-23 22:31:52 +08:00
jxxghp
6201565019 feat(music): add automatic album track alignment setting MUSIC_TRACK_MATCH (#7436) 2026-11-23 20:50:25 +08:00
jxxghp
af4bf69aa4 fix(transfer): align preview endpoint with host concurrency and schema export gates 2026-11-23 20:49:17 +08:00
jxxghp
4c8c45c8c8 fix(messaging): restore traditional media interaction for approved channel members when agent is disabled 2026-11-23 20:08:09 +08:00
JontyLee
1f3644ada2 feat(agent): add read-only read_log tool (#7273)
* feat(agent): 新增日志只读诊断会话与 read_log 工具

日志页需要一键呼叫智能助手分析日志,且 AI 在用户确认前不得执行修复。
诊断请求通过 diagnostic 标记进入只读会话:工具与中间件按白名单裁剪
(read_log/read_file/query_doctor_report/read_tool_result/update_plan),
并追加诊断提示词;read_log 仅允许读取 LOG_PATH 下的 .log 文件。

* chore(architecture): 复核登记 read_log 工具的类型例外与依赖基线

按既有 async-tool-run 模式为 ReadLogTool.run 登记唯一 override 豁免,
同步依赖基线新增的 11 条边与模块计数,并更新架构总览引用的快照数字。

* refactor(agent): 按评审意见撤除诊断会话侵入,改为提示词软限制

维护者要求智能体保持通用能力、分支场景用提示词约束,不建议在主流程落代码。
本提交将 #7273 中贯穿 schemas、API、WebAgent 流、会话队列与编排器的
diagnostic 只读会话标记、工具/中间件白名单裁剪及对应测试全部撤除,
回到 v3 基线的通用链路;保留与主流程无关的通用 read_log 只读日志工具
及其注册、策略登记、工具测试、文档与架构基线。日志诊断的"只分析、
不执行修复、等确认"约束改由前端提示词表达。

---------

Co-authored-by: jxxghp <jxxghp@gmail.com>
2026-11-23 17:51:04 +08:00
jxxghp
b22ba45a3c fix(download): guard unconfirmed downloader admissions against duplicate retries
严格区分“下载器明确拒绝”与“添加已受理但任务信息尚未确认”,解决 qBittorrent/rTorrent 异步队列积压导致确认超时后,订阅连续提交多个重复版本且缺少下载历史的问题:

- 新增待确认下载契约、confirm_pending_download 模块能力及 downloadpending 恢复状态表与迁移
- qBittorrent 临时标签轮询超时后按已知 v1/v2 infohash 兜底识别,并三下载器统一支持延迟落地确认与暂停选集补收尾
- 下载链遇到未确认状态时持久化脱敏待确认记录、不计普通失败冷却,并按电影/音乐整体或电视剧季/集精确阻断同目标换源
- 订阅搜索/匹配/刷新与整理扫描前自动核对待确认记录:任务出现后幂等补记下载历史并收敛订阅状态,查询出错绝不误释放,仅超期且明确未找到或被拒绝时释放
- 补齐 20 项回归测试并同步架构、导出清单与数据库技能文档快照

Refs #7551
2026-11-23 15:21:32 +08:00
jxxghp
a6cf75466f fix(download): project IMDb identity to TMDB when adding downloads
补充 IMDb -> TMDB 身份投影(经 TMDB /find/{imdb_id} 精确查找并补全本地化详情),并在 RECOGNIZE_SOURCE=themoviedb 时于 /api/v1/download/add 将 IMDb 及站点资源自带的非 TMDB 线索优先转换为 TMDB 主身份,转换或识别失败时无污染回退原来源;同步扩展订阅元数据巡检对 IMDb 身份的重试转换。

Refs #7550
2026-11-23 14:45:40 +08:00
jxxghp
448e6a39e4 fix(architecture): satisfy concurrency, ruff, and architecture overview gates 2026-11-23 10:39:56 +08:00
necrosn
c90d626228 feat(indexer): support ColaPT open API (#7545) 2026-11-23 00:29:11 +08:00
jxxghp
7035807a67 fix(mediaserver): align browse modules with architecture, lint, locale, and coverage gates 2026-11-22 21:02:24 +08:00
jxxghp
253844192a feat(sdk): expose browser queue status and cancellation contracts (#7532) 2026-11-22 14:27:07 +08:00
Бат-Орших
0ce462c7f3 fix(site): keep multi-level site domains when adding or saving sites (#7533) 2026-11-22 13:36:46 +08:00
jxxghp
50afccf193 fix(media): use ISO-639-1 base codes in TMDB image language fallback & refresh architecture baseline 2026-11-21 22:37:01 +08:00
jxxghp
d785c98f1a fix(agent): retry knowledge queries on transport failures (#7507)
Widen the knowledge query budget to 23 seconds with up to three 7.5-second attempts. Reconnect for bounded retries on transport failures while preserving HTTP and protocol errors. Cover slow search/read responses, retry recovery, cancellation and exhaustion, and document the contract.

Closes #7502
2026-11-21 08:27:52 +08:00
ChantXu64
b8c3465de6 fix(download): 同一季包已有任务时按目标追加选集,确认受理后再结算 (#7505) 2026-11-21 06:11:05 +08:00
jxxghp
ce2977600d fix(music): expose rejected manual candidates and prepare v3.2.9 2026-11-20 14:08:06 +08:00
jxxghp
6d9e5f3dc9 fix(indexer): adapt starspace user data and RSS pages (#7495) 2026-11-20 12:08:51 +08:00
ChantXu64
c36382acec feat(media): 详情页按需查找 TMDB 链接 (#7492) 2026-11-20 09:42:12 +08:00
jxxghp
586c64ede1 feat(notification): 统一各渠道图片与文件发送协议 (#7491)
统一插件媒体协议与宿主图片/文件适配,保留路由、说明和既有海报行为;补齐企微智能机器人素材上传,增加跨渠道回归覆盖。
2026-11-20 07:54:37 +08:00
jxxghp
63d09b1c72 feat: 企业微信应用支持普通文件通知 (#7487)
通过通用 file_path/file_name 上传并发送普通文件,同步文件能力及 Agent 自建应用模式限制。

关联 #7484,微信插件端验收待报告者验证。
2026-11-19 23:23:09 +08:00
jxxghp
3be0be45a7 feat: 企业微信支持按需发送原生图片 (#7486)
支持通过 native_image=True 上传并发送企业微信原生图片,保留默认图文及机器人兼容性。

关联 #7484。
2026-11-19 22:57:30 +08:00
jxxghp
d88e7bb0fe docs(architecture): synchronize reduced knowledge dependency count 2026-11-19 18:26:22 +08:00
jxxghp
79bd394325 feat(agent): enable central knowledge through laboratory switch 2026-11-19 17:57:38 +08:00
jxxghp
5607464cd6 fix(agent): stop unsupported PT details on no match 2026-11-19 17:42:40 +08:00
jxxghp
c11fa450fc fix(agent): require explicit knowledge scope caveats 2026-11-19 17:42:40 +08:00
jxxghp
8e418693f1 fix(agent): constrain knowledge answer scope 2026-11-19 17:42:40 +08:00
jxxghp
3db943cc0d fix(agent): keep knowledge answers within retrieved facts 2026-11-19 17:42:40 +08:00
jxxghp
15cc71081e feat(agent): add ephemeral knowledge tools 2026-11-19 17:42:40 +08:00
jxxghp
76036599c5 feat(agent): prepare central knowledge client 2026-11-19 17:42:40 +08:00
jxxghp
fcc9f1790e feat(agent): isolate ephemeral evidence from retained state 2026-11-19 17:42:40 +08:00
jxxghp
09cb51ddcf fix(messaging): route special-prefix text to plugins (#7480)
Refs #7479
2026-11-19 17:11:24 +08:00
jxxghp
0c7932f3f7 fix(trimemedia): retry transient TV library queries
飞牛电视剧存在性查询首次失败后等待 0.5 秒重试一次;连续失败仍保留未知状态,避免将查询故障误判为整季缺集。
2026-11-19 12:32:14 +08:00
jxxghp
f4fa80b702 feat(mediaserver): proxy native playback streams 2026-11-19 01:53:03 +08:00