SmallSpider
9ce3d7a292
feat(search): add scoped page diagnostics
2026-11-01 09:51:24 +08:00
jxxghp
e9563b0346
perf(api): 合并卡片状态查询并减轻推荐轮询 ( #7207 )
2026-10-27 06:05:49 +08:00
jxxghp
6d4ce83837
fix(types): clear host mypy debt and prevent typing regressions
...
严格检查全部宿主源码,清零类型错误预算并移除按模块类型豁免。
按原因、所属方法、错误码及语法指纹锁定必要兼容例外和站点类型桩,
CI 阻断新增忽略、检查范围退化、本地桩替代真实接口及新的类型错误。
修复空值、异步和供应方类型边界,保持插件与 API 兼容合同,
并补充存储、订阅、通知、Agent 和工作流边界的回归覆盖。
2026-10-21 22:03:18 +08:00
DDSRem
e0642eafa7
chore(types): reduce v3 host mypy debt ( #7057 )
...
* chore(types): clear AniList endpoint mypy debt
* chore(types): clear Douban endpoint mypy debt
* chore(types): clear recommendation endpoint mypy debt
* chore(types): clear subscription notification mypy debt
* chore(types): clear SDK string compatibility mypy debt
* chore(types): ratchet v3 host mypy across remaining files
* chore(types): reduce v3 host mypy debt and retire ledger
* chore(types): reconcile host snapshot with upstream HTTP pool
* test(types): cover host paths exposed by mypy cleanup
2026-10-18 09:37:49 +08:00
DDSRem
2de976f6b3
Merge pull request #7050 from DDSRem-Dev/codex-comment-migration
...
docs: 统一全项目中文注释和结构化契约说明
2026-10-17 19:26:29 +08:00
ChantXu64
e5e2558585
feat(search): 订阅补全逐页搜索、断点续搜与资源页手动分页 ( #6907 )
2026-10-07 14:40:55 +08:00
jxxghp
fba0b6ae67
refactor: 统一音乐与影视的识别搜索匹配流程
2026-09-06 00:48:00 +08:00
jxxghp
ff01449cdd
fix(api): humanize user-facing error messages
2026-09-04 17:55:56 +08:00
jxxghp
d512f528be
refactor(api): make collection pagination explicit
2026-09-01 09:13:56 +08:00
jxxghp
4575b11d84
fix(architecture): close canonical search type gate
2026-08-30 02:48:42 +08:00
jxxghp
c960a0184d
refactor(architecture): complete final governance
2026-08-29 23:28:44 +08:00
jxxghp
cff5eef539
test(architecture): freeze agent llm plugin ABI
2026-08-29 13:19:55 +08:00
sokouu87
18c984c072
fix: 修正精确搜索与模糊搜索的 response_model
...
/search/media/{media_id} 与 /search/title 的 response_model 声明为
Response[list[TorrentInfo]],而 SearchChain.async_search_by_id 与
async_search_by_title 实际返回的是 List[Context]。
Context.to_dict() 产出 {meta_info, media_info, torrent_info} 三层结构,
与 TorrentInfo 的字段完全不相交,被 pydantic 按 response_model 序列化后
所有字段都变成 null,接口对外返回一批空壳数据。
改为与同文件 /search/last 一致的 List[_SchemaContext],
由 ResponseAPIRouter 统一包装成 Response[List[Context]]。
2026-08-29 12:20:50 +08:00
jxxghp
b914e8b6e4
refactor: strengthen architecture CI gates and runtime contracts
2026-08-25 17:02:29 +08:00
jxxghp
354732b899
fix: close search streams on disconnect
2026-08-24 08:07:16 +08:00
jxxghp
8472bcff43
refactor: 收口 V3 分层架构与插件兼容边界
2026-08-18 13:22:02 +08:00
jxxghp
5128ae9e1e
refactor: 推进后端分层架构治理
2026-08-18 00:29:14 +08:00
Aqr-K
8a11214a43
refactor(db): 修复异步连接池无界增长,并完成 SQLAlchemy 2.0 迁移与分层归位 ( #6320 )
2026-08-15 06:58:38 +08:00
jxxghp
369d7d6448
refactor: reorganize backend module boundaries
2026-08-14 19:53:33 +08:00
jxxghp
7b3444c366
refactor backend module architecture
2026-08-14 15:45:38 +08:00
jxxghp
baf8850d63
refactor(api): standardize responses and restore media config contracts
2026-08-12 23:15:13 +08:00
jxxghp
ca32922a7f
refactor(media): unify media identity and chain responsibilities
2026-08-12 18:31:09 +08:00
jxxghp
8bf2f601a6
refactor(media): unify source identity and music browsing
2026-08-12 12:56:40 +08:00
jxxghp
97dba2a8ae
feat: unify media recognition and music lifecycle
2026-08-12 06:51:58 +08:00
jxxghp
05d15a04f5
feat(v3): add music automation workflow
2026-08-07 21:50:22 +08:00
jxxghp
3d020c8ceb
fix(search): keep large SSE searches connected ( #6186 )
2026-07-26 08:55:34 +08:00
jxxghp
3b709b7f2e
feat: unify media source identity flow ( #6129 )
2026-07-21 20:20:09 +08:00
InfinityPacer
5588e37c6d
fix: preserve season zero semantics ( #6150 )
2026-07-20 06:55:23 +08:00
jxxghp
b16c50b03a
feat: add backend i18n response support
2026-07-06 19:13:50 +08:00
InfinityPacer
d977e4c48a
fix(security): require signed subtitle downloads ( #6055 )
2026-07-05 09:43:58 +08:00
jxxghp
210aac0937
feat: add exact subtitle search
2026-06-09 17:04:17 +08:00
jxxghp
e3c5a94c52
feat: add subtitle search functionality and related data handling
2026-06-09 06:46:26 +08:00
jxxghp
9b23265c3b
feat(search): cache and expose last search parameters for replay and context retrieval
...
- Add methods to save and retrieve last search parameters in SearchChain
- Persist search params alongside results for replayable search context
- Add /last/context endpoint to fetch last search results and parameters
- Update tests to cover search param caching logic
- Allow images.tmdb.org in SECURITY_IMAGE_DOMAINS
2026-05-15 22:43:40 +08:00
DDSRem
5a585839ba
chore: remove unused imports and fix function name conflicts ( #5764 )
...
- Remove unused imports in anthropic.py, tmdbv3api/__init__.py, tv.py, test files
- Rename conflicting function names in subscribe.py and webhook.py
- Clean up unused re-exports in tmdbv3api/__init__.py (15 unused exports)
- Apply consistent formatting across API endpoints
2026-05-13 18:59:03 +08:00
jxxghp
1d97f2e043
fix: align media recognition fallback and shared reporting
...
Route title and path lookups through the fallback-aware entrypoints so auxiliary matches can reuse pre-assist keywords without forcing image fetches in lightweight flows. Also reduce noisy agent shutdown logging during cleanup.
2026-05-10 07:54:55 +08:00
jxxghp
45d47d32f8
fix: optimize SSE event streaming with batched processing
2026-05-09 13:23:05 +08:00
jxxghp
0b7505a604
refactor search AI recommendation flow
2026-04-29 22:55:27 +08:00
jxxghp
460d716512
feat: add batch AI re-organize for transfer history and search result recommendation
...
- Implement batch AI re-organize endpoint for transfer history with progress tracking
- Add batch_manual_transfer_redo system task template and prompt generation
- Refactor agent_manager to support generic background prompt execution
- Add AIRecommendChain for search result recommendation using agent background prompt
- Update search endpoints to use new AIRecommendChain and remove legacy code
- Enhance test cases for batch manual transfer redo
- Minor code cleanup and style fixes
2026-04-29 22:16:04 +08:00
jxxghp
10543eedd0
feat(search): 支持渐进式(SSE)搜索资源并实时返回搜索进度与结果
...
- 新增 /media/{mediaid}/stream 和 /title/stream 接口,支持基于 SSE 的渐进式搜索
- SearchChain 增加 async_search_by_title_stream、async_search_by_id_stream、async_process_stream、__async_search_all_sites_stream 方法
- 搜索结果按站点完成顺序实时推送,支持进度、候选、过滤、完成等阶段事件
- 优化参数解析与异常处理,提升大规模搜索体验
2026-04-10 16:50:23 +08:00
PKC278
619a70416b
fix: 修正智能推荐功能未检查智能助手总开关的问题
2026-01-15 22:57:49 +08:00
PKC278
95f2ac3811
feat(search): 添加AI推荐功能并优化相关逻辑
2026-01-15 02:49:29 +08:00
景大侠
8bb3eaa320
fix 获取上次搜索结果时产生的NoneType异常
...
glitchtip#14
2025-09-18 17:23:20 +08:00
jxxghp
109164b673
feat:协程搜索 part1
2025-07-31 20:51:39 +08:00
jxxghp
24f170ff72
fix 搜索缓存
2025-04-16 08:10:48 +08:00
jxxghp
22b69f7dac
fix blanke
2025-03-23 22:35:37 +08:00
jxxghp
f9b0db623d
fix cython type error
2025-03-23 21:39:37 +08:00
jxxghp
2f38b3040d
fix:修复代码兼容性写法
2025-03-23 12:10:21 +08:00
jxxghp
87ce266b14
fix warnings
2025-03-09 16:48:32 +08:00
jxxghp
5269b4bc82
fix #3914
...
feat:搜索支持指定站点
2025-02-20 13:03:12 +08:00
jxxghp
b41de1a982
fix actions
2025-02-19 17:44:14 +08:00