mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-11-26 13:52:44 +08:00
Merge remote-tracking branch 'origin/v3' into codex/agent-evaluation-20260909
# Conflicts: # skills/moviepilot-api/api/download.md
This commit is contained in:
@@ -802,7 +802,7 @@ flowchart LR
|
||||
保留多余导出。
|
||||
|
||||
当前架构问题、优先级、分阶段实施步骤与验收门禁见
|
||||
[`docs/architecture/optimization-checklist.md`](architecture/optimization-checklist.md)。
|
||||
[`docs/refactor/optimization-checklist.md`](refactor/optimization-checklist.md)。
|
||||
|
||||
---
|
||||
|
||||
@@ -818,7 +818,7 @@ flowchart LR
|
||||
| [`docs/rules/10-data-and-persistent.md`](rules/10-data-and-persistent.md) | 数据模型、迁移与缓存规范 |
|
||||
| [`docs/subscribe-lifecycle.md`](subscribe-lifecycle.md) | 订阅生命周期详解 |
|
||||
| [`docs/mcp-api.md`](mcp-api.md) | MCP 工具端点说明 |
|
||||
| [`docs/architecture/optimization-checklist.md`](architecture/optimization-checklist.md) | 当前架构差距、优先级与可执行优化清单 |
|
||||
| [`docs/architecture/refactor-roadmap.md`](architecture/refactor-roadmap.md) | 多级 Goal、叶子依赖、清零条件与交付状态 |
|
||||
| [`docs/refactor/optimization-checklist.md`](refactor/optimization-checklist.md) | 当前架构差距、优先级与可执行优化清单 |
|
||||
| [`docs/refactor/refactor-roadmap.md`](refactor/refactor-roadmap.md) | 多级 Goal、叶子依赖、清零条件与交付状态 |
|
||||
| [`docs/v3t-runtime-governance.md`](v3t-runtime-governance.md) | V3/V3t 运行依赖、故障恢复、GIL 可观测性与兼容退场门禁 |
|
||||
| [`docs/adr/0007-background-action-reliability.md`](adr/0007-background-action-reliability.md) | 后台动作 E0–E3 可靠性分级与完成语义决策 |
|
||||
|
||||
@@ -56,27 +56,27 @@ MCP 当前不会主动发送工具列表变更通知(`listChanged=false`)。
|
||||
|
||||
`app/agent/policy/resources/api_mcp_schema.json` 是 `moviepilot_api` 的生成制品,不是设置项或 API 参数的手工事实源。`scripts/generate_agent_api_mcp_schema.py` 从当前 FastAPI OpenAPI、固定 operation 路由和 Agent 专用英文参数说明生成该文件;运行时直接读取它响应外部 MCP `tools/list`,测试会校验生成结果没有漂移。修改 API、请求模型或 operation 后应重新生成并提交该文件,不应直接编辑 JSON。
|
||||
|
||||
当前完整 FastAPI OpenAPI 包含 397 个 HTTP 操作,其中 211 个稳定业务操作进入
|
||||
`moviepilot_api`,使用 209 个固定路由模板:208 条 OpenAPI 路由直接匹配,另有 1 条只允许
|
||||
当前完整 FastAPI OpenAPI 包含 397 个 HTTP 操作,其中 218 个稳定业务操作进入
|
||||
`moviepilot_api`,使用 216 个固定路由模板:215 条 OpenAPI 路由直接匹配,另有 1 条只允许
|
||||
`tmdb`、`douban`、`bangumi`、`anilist` 四个来源的受限人物作品动态路由。每个 operation
|
||||
均同时具备固定 method/path、角色权限、副作用等级、确认与恢复策略、结果敏感性、英文用途说明,
|
||||
以及可直接提交的 path/query/body JSON Schema;Skill front matter、正文 operation 章节、运行时
|
||||
注册表和 MCP `tools/list` 的 211 个 `oneOf` 分支必须完全一致。
|
||||
注册表和 MCP `tools/list` 的 218 个 `oneOf` 分支必须完全一致。
|
||||
|
||||
数量不相等是明确的安全与语义边界,而不是漏生成。当前 397 条路由均被审计并锁定为以下一种
|
||||
归属,审计生成器不再提供“未归类”兜底:
|
||||
|
||||
| 归属 | 数量 | Agent 使用方式 |
|
||||
| :--- | ---: | :--- |
|
||||
| `gateway` | 208 | 通过 `moviepilot_api` 的稳定 operation 和精确参数合同调用 |
|
||||
| `consolidated` | 74 | 通过同领域聚合 operation 调用,不复制数据源或前端专用路由 |
|
||||
| `provider-skill` | 13 | 通过下载器或媒体服务器 Skill 调用第三方 provider API |
|
||||
| `gateway` | 215 | 通过 `moviepilot_api` 的稳定 operation 和精确参数合同调用 |
|
||||
| `consolidated` | 71 | 通过同领域聚合 operation 调用,不复制数据源或前端专用路由 |
|
||||
| `provider-skill` | 12 | 通过下载器或媒体服务器 Skill 调用第三方 provider API |
|
||||
| `alternate-auth-duplicate` | 11 | 使用对应 bearer-authenticated gateway operation,不暴露 API_TOKEN 兼容副本 |
|
||||
| `transport_or_identity` | 66 | 由登录、令牌、MCP、会话、回调、健康检查等宿主传输/身份边界拥有 |
|
||||
| `stream_or_binary` | 10 | 由直接客户端处理流式日志、消息、文件、图片等非结构化响应 |
|
||||
| `ui_presentation` | 15 | 由前端或插件渲染面拥有,不作为业务 Agent operation |
|
||||
| `ui_presentation` | 12 | 由前端或插件渲染面拥有,不作为业务 Agent operation |
|
||||
|
||||
逐路由归属见 `docs/architecture/agent-api-surface-audit.md`,并由
|
||||
逐路由归属见 `docs/refactor/agent-api-surface-audit.md`,并由
|
||||
`tests/test_agent_api_surface_audit.py` 对当前 OpenAPI、固定注册表、MCP schema、英文 Skill
|
||||
合同及全部非网关归属做漂移检查。任何新增端点必须先明确归属;对 Agent 开放时还必须补齐
|
||||
operation ID、权限、副作用、确认、恢复、结果敏感性及精确参数说明。
|
||||
@@ -454,12 +454,12 @@ AMLL 使用无需鉴权的原生搜索与获取接口,先尝试 ISRC,再核
|
||||
|
||||
| 方法 | 路径 | 说明 |
|
||||
| :--- | :--- | :--- |
|
||||
| GET | `/api/v1/tmdb/cache` | 查询 TheMovieDb 识别缓存统计、共享识别累计成功命中次数及开关状态 |
|
||||
| DELETE | `/api/v1/tmdb/cache/{cache_key}` | 按缓存键删除单条 TheMovieDb 识别缓存,缓存键需要进行 URL 编码 |
|
||||
| DELETE | `/api/v1/tmdb/cache` | 清空全部 TheMovieDb 识别缓存 |
|
||||
| GET | `/api/v1/music/cache` | 查询 MusicBrainz 音乐识别缓存统计及条目列表 |
|
||||
| DELETE | `/api/v1/music/cache/{cache_key}` | 按缓存键删除单条音乐识别缓存,缓存键需要进行 URL 编码 |
|
||||
| DELETE | `/api/v1/music/cache` | 清空全部音乐识别缓存 |
|
||||
| GET | `/api/v1/tmdb/cache` | `media.cache.get`:查询 TheMovieDb 识别缓存统计、共享识别累计成功命中次数及开关状态 |
|
||||
| DELETE | `/api/v1/tmdb/cache/{cache_key}` | `media.cache.delete`:按缓存键删除单条 TheMovieDb 识别缓存,缓存键需要进行 URL 编码 |
|
||||
| DELETE | `/api/v1/tmdb/cache` | `media.cache.clear`:清空全部 TheMovieDb 识别缓存 |
|
||||
| GET | `/api/v1/music/cache` | `music.cache.get`:查询 MusicBrainz 音乐识别缓存统计及条目列表 |
|
||||
| DELETE | `/api/v1/music/cache/{cache_key}` | `music.cache.delete`:按缓存键删除单条音乐识别缓存,缓存键需要进行 URL 编码 |
|
||||
| DELETE | `/api/v1/music/cache` | `music.cache.clear`:清空全部音乐识别缓存 |
|
||||
|
||||
TMDB 缓存查询响应的 `data` 包含 `count`、`recognized`、`unrecognized`、`data`,以及共享识别统计字段
|
||||
`shared_recognized` 和开关字段 `shared_recognize_enabled`。共享命中次数仅在共享结果驱动的二次媒体识别成功后累计。
|
||||
@@ -470,6 +470,18 @@ TMDB 缓存查询响应的 `data` 包含 `count`、`recognized`、`unrecognized`
|
||||
旧版未包含这些证据的派生缓存在升级后重新建立,不影响下载历史或订阅数据。
|
||||
名称确认规则更新时同样重建旧派生缓存,避免艺术家前后缀误截断的旧结果继续命中。
|
||||
|
||||
### 订阅搜索执行批次
|
||||
|
||||
订阅搜索会持久化为可恢复的执行批次,Agent 可以使用以下 `moviepilot_api` operation 查询或停止当前用户可见的批次:
|
||||
|
||||
| Operation | 方法 | 路径 | 说明 |
|
||||
| :--- | :--- | :--- | :--- |
|
||||
| `subscription.execution.list` | GET | `/api/v1/subscribe/execution/batches` | 查询最近的订阅搜索批次,`limit` 默认 10 |
|
||||
| `subscription.execution.get` | GET | `/api/v1/subscribe/execution/batches/{batch_id}` | 查询一个批次的状态、进度、恢复信息和最终结果 |
|
||||
| `subscription.execution.cancel` | PUT | `/api/v1/subscribe/execution/batches/{batch_id}/cancel` | 在下载副作用边界前请求取消一个批次 |
|
||||
|
||||
取消是幂等的状态请求,不会撤销已经提交到下载器的任务;批次详情中的状态和任务结果才是最终事实。
|
||||
|
||||
### 单条订阅搜索周期
|
||||
|
||||
`POST /api/v1/subscribe/` 和 `PUT /api/v1/subscribe/` 支持 `search_interval`:
|
||||
@@ -600,8 +612,9 @@ Web Agent 直接调用 `moviepilot_api` 时,宿主会自动加载 `moviepilot-
|
||||
| :--- | :--- |
|
||||
| 媒体/搜索 | `media.search`、`media.person.search`、`media.person.credits`、`media.recognize`、`media.scrape`、`media.episode_schedule`、`media.detail`、`search.torrents`、`search.results`、`recommendation.list` |
|
||||
| 媒体自动分类 | `media.classification.fields`、`media.classification.policy.get`、`media.classification.policy.validate`、`media.classification.policy.preview`、`media.classification.policy.impact`、`media.classification.policy.history`、`media.classification.policy.update`、`media.classification.policy.rollback` |
|
||||
| 订阅 | `subscription.add`、`subscription.update`、`subscription.search`、`subscription.list`、`subscription.shares`、`subscription.popular`、`subscription.history`、`subscription.delete` |
|
||||
| 下载/历史 | `download.add`、`download.history.delete`、`transfer.history.delete` |
|
||||
| 订阅 | `subscription.add`、`subscription.update`、`subscription.search`、`subscription.list`、`subscription.shares`、`subscription.popular`、`subscription.history`、`subscription.delete`、`subscription.execution.list`、`subscription.execution.get`、`subscription.execution.cancel` |
|
||||
| 下载/历史 | `download.add`、`download.artist_collection`、`download.history.delete`、`transfer.history.delete` |
|
||||
| 媒体缓存 | `media.cache.get`、`media.cache.delete`、`media.cache.clear`、`music.cache.get`、`music.cache.delete`、`music.cache.clear` |
|
||||
| 媒体库/存储/转移 | `library.exists`、`storage.settings`、`storage.list`、`transfer.history`、`transfer.file` |
|
||||
| 站点 | `site.list`、`site.update`、`site.userdata`、`site.test`、`site.cookie.update` |
|
||||
| 调度/工作流 | `scheduler.list`、`scheduler.run`、`workflow.list`、`workflow.run` |
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"disposition_counts": {
|
||||
"alternate-auth-duplicate": 11,
|
||||
"consolidated": 74,
|
||||
"gateway": 208,
|
||||
"provider-skill": 13,
|
||||
"consolidated": 71,
|
||||
"gateway": 215,
|
||||
"provider-skill": 12,
|
||||
"stream_or_binary": 10,
|
||||
"transport_or_identity": 66,
|
||||
"ui_presentation": 15
|
||||
"ui_presentation": 12
|
||||
},
|
||||
"dynamic_gateway_routes": [
|
||||
{
|
||||
@@ -18,9 +18,9 @@
|
||||
"reason": "The executor validates and expands this bounded source placeholder to one of tmdb, douban, bangumi, or anilist before calling the corresponding concrete OpenAPI route."
|
||||
}
|
||||
],
|
||||
"gateway_http_route_count": 209,
|
||||
"gateway_operation_count": 211,
|
||||
"matched_gateway_http_route_count": 208,
|
||||
"gateway_http_route_count": 216,
|
||||
"gateway_operation_count": 218,
|
||||
"matched_gateway_http_route_count": 215,
|
||||
"openapi_operation_count": 397,
|
||||
"operations": [
|
||||
{
|
||||
@@ -640,12 +640,14 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"disposition": "provider-skill",
|
||||
"disposition": "gateway",
|
||||
"method": "POST",
|
||||
"operation_ids": [],
|
||||
"owner": "downloader-operation",
|
||||
"operation_ids": [
|
||||
"download.artist_collection"
|
||||
],
|
||||
"owner": "moviepilot-api",
|
||||
"path": "/api/v1/download/artist-collection",
|
||||
"reason": "Low-level provider behavior is exposed by the self-describing provider Skill; high-level MoviePilot operations remain in moviepilot-api.",
|
||||
"reason": "Executable through moviepilot_api; exact inputs are generated into MCP tools/list and SKILL.md.",
|
||||
"summary": "添加艺术家合集下载",
|
||||
"tags": [
|
||||
"download"
|
||||
@@ -3616,36 +3618,42 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"disposition": "ui_presentation",
|
||||
"disposition": "gateway",
|
||||
"method": "GET",
|
||||
"operation_ids": [],
|
||||
"owner": "host-ui",
|
||||
"operation_ids": [
|
||||
"subscription.execution.list"
|
||||
],
|
||||
"owner": "moviepilot-api",
|
||||
"path": "/api/v1/subscribe/execution/batches",
|
||||
"reason": "Background subscription execution status and cancellation are owned by the authenticated frontend workflow; they are not yet a stable Agent gateway contract.",
|
||||
"reason": "Executable through moviepilot_api; exact inputs are generated into MCP tools/list and SKILL.md.",
|
||||
"summary": "查看订阅搜索进度",
|
||||
"tags": [
|
||||
"subscribe"
|
||||
]
|
||||
},
|
||||
{
|
||||
"disposition": "ui_presentation",
|
||||
"disposition": "gateway",
|
||||
"method": "GET",
|
||||
"operation_ids": [],
|
||||
"owner": "host-ui",
|
||||
"operation_ids": [
|
||||
"subscription.execution.get"
|
||||
],
|
||||
"owner": "moviepilot-api",
|
||||
"path": "/api/v1/subscribe/execution/batches/{batch_id}",
|
||||
"reason": "Background subscription execution status and cancellation are owned by the authenticated frontend workflow; they are not yet a stable Agent gateway contract.",
|
||||
"reason": "Executable through moviepilot_api; exact inputs are generated into MCP tools/list and SKILL.md.",
|
||||
"summary": "查看一次订阅搜索",
|
||||
"tags": [
|
||||
"subscribe"
|
||||
]
|
||||
},
|
||||
{
|
||||
"disposition": "ui_presentation",
|
||||
"disposition": "gateway",
|
||||
"method": "PUT",
|
||||
"operation_ids": [],
|
||||
"owner": "host-ui",
|
||||
"operation_ids": [
|
||||
"subscription.execution.cancel"
|
||||
],
|
||||
"owner": "moviepilot-api",
|
||||
"path": "/api/v1/subscribe/execution/batches/{batch_id}/cancel",
|
||||
"reason": "Background subscription execution status and cancellation are owned by the authenticated frontend workflow; they are not yet a stable Agent gateway contract.",
|
||||
"reason": "Executable through moviepilot_api; exact inputs are generated into MCP tools/list and SKILL.md.",
|
||||
"summary": "停止一次订阅搜索",
|
||||
"tags": [
|
||||
"subscribe"
|
||||
@@ -4502,36 +4510,42 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"disposition": "consolidated",
|
||||
"disposition": "gateway",
|
||||
"method": "DELETE",
|
||||
"operation_ids": [],
|
||||
"operation_ids": [
|
||||
"media.cache.clear"
|
||||
],
|
||||
"owner": "moviepilot-api",
|
||||
"path": "/api/v1/tmdb/cache",
|
||||
"reason": "Source-specific or presentation-oriented route is represented by a stable aggregate search, detail, person, recommendation, or music operation instead of duplicating every frontend route.",
|
||||
"reason": "Executable through moviepilot_api; exact inputs are generated into MCP tools/list and SKILL.md.",
|
||||
"summary": "清空 TheMovieDb 识别缓存",
|
||||
"tags": [
|
||||
"tmdb"
|
||||
]
|
||||
},
|
||||
{
|
||||
"disposition": "consolidated",
|
||||
"disposition": "gateway",
|
||||
"method": "GET",
|
||||
"operation_ids": [],
|
||||
"operation_ids": [
|
||||
"media.cache.get"
|
||||
],
|
||||
"owner": "moviepilot-api",
|
||||
"path": "/api/v1/tmdb/cache",
|
||||
"reason": "Source-specific or presentation-oriented route is represented by a stable aggregate search, detail, person, recommendation, or music operation instead of duplicating every frontend route.",
|
||||
"reason": "Executable through moviepilot_api; exact inputs are generated into MCP tools/list and SKILL.md.",
|
||||
"summary": "查询 TheMovieDb 识别缓存",
|
||||
"tags": [
|
||||
"tmdb"
|
||||
]
|
||||
},
|
||||
{
|
||||
"disposition": "consolidated",
|
||||
"disposition": "gateway",
|
||||
"method": "DELETE",
|
||||
"operation_ids": [],
|
||||
"operation_ids": [
|
||||
"media.cache.delete"
|
||||
],
|
||||
"owner": "moviepilot-api",
|
||||
"path": "/api/v1/tmdb/cache/{cache_key}",
|
||||
"reason": "Source-specific or presentation-oriented route is represented by a stable aggregate search, detail, person, recommendation, or music operation instead of duplicating every frontend route.",
|
||||
"reason": "Executable through moviepilot_api; exact inputs are generated into MCP tools/list and SKILL.md.",
|
||||
"summary": "删除指定 TheMovieDb 识别缓存",
|
||||
"tags": [
|
||||
"tmdb"
|
||||
@@ -6,9 +6,9 @@
|
||||
## Result
|
||||
|
||||
- OpenAPI HTTP operations: **397**
|
||||
- Stable `moviepilot_api` operations: **211**
|
||||
- Exact HTTP routes used by the gateway: **209**
|
||||
- OpenAPI routes matched directly by the gateway: **208**
|
||||
- Stable `moviepilot_api` operations: **218**
|
||||
- Exact HTTP routes used by the gateway: **216**
|
||||
- OpenAPI routes matched directly by the gateway: **215**
|
||||
- Bounded dynamic gateway routes: **1**
|
||||
- Every gateway operation has a generated English oneOf input contract in MCP `tools/list` and `skills/moviepilot-api/SKILL.md`.
|
||||
- Every non-gateway OpenAPI operation is listed below with an explicit ownership boundary; it is not silently callable through arbitrary URL/method input.
|
||||
@@ -18,12 +18,12 @@
|
||||
| disposition | count | meaning |
|
||||
| :--- | ---: | :--- |
|
||||
| `alternate-auth-duplicate` | 11 | API-token compatibility duplicate of a bearer-authenticated capability. |
|
||||
| `consolidated` | 74 | Source/UI route represented by a stable aggregate Agent operation. |
|
||||
| `gateway` | 208 | Approved structured MoviePilot Agent operation. |
|
||||
| `provider-skill` | 13 | Low-level downloader or media-server capability owned by a provider Skill. |
|
||||
| `consolidated` | 71 | Source/UI route represented by a stable aggregate Agent operation. |
|
||||
| `gateway` | 215 | Approved structured MoviePilot Agent operation. |
|
||||
| `provider-skill` | 12 | Low-level downloader or media-server capability owned by a provider Skill. |
|
||||
| `stream_or_binary` | 10 | Streaming or binary response owned by a direct client transport. |
|
||||
| `transport_or_identity` | 66 | Authentication, protocol, callback, account, or conversation transport boundary. |
|
||||
| `ui_presentation` | 15 | Frontend or plugin-rendered presentation contract. |
|
||||
| `ui_presentation` | 12 | Frontend or plugin-rendered presentation contract. |
|
||||
|
||||
## Bounded Dynamic Routes
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
| `GET` | `/api/v1/download/` | download | `gateway` | download.tasks.active | 正在下载 |
|
||||
| `POST` | `/api/v1/download/` | download | `consolidated` | download.add | 添加下载(含媒体信息) |
|
||||
| `POST` | `/api/v1/download/add` | download | `gateway` | download.add | 添加下载(不含媒体信息) |
|
||||
| `POST` | `/api/v1/download/artist-collection` | download | `provider-skill` | downloader-operation | 添加艺术家合集下载 |
|
||||
| `POST` | `/api/v1/download/artist-collection` | download | `gateway` | download.artist_collection | 添加艺术家合集下载 |
|
||||
| `GET` | `/api/v1/download/clients` | download | `gateway` | download.clients | 查询可用下载器 |
|
||||
| `GET` | `/api/v1/download/paths` | download | `gateway` | download.paths | 查询可用下载路径 |
|
||||
| `GET` | `/api/v1/download/start/{hashString}` | download | `provider-skill` | downloader-operation | 开始任务 |
|
||||
@@ -310,9 +310,9 @@
|
||||
| `POST` | `/api/v1/subscribe/` | subscribe | `gateway` | subscription.add | 新增订阅 |
|
||||
| `PUT` | `/api/v1/subscribe/` | subscribe | `gateway` | subscription.update | 更新订阅 |
|
||||
| `POST` | `/api/v1/subscribe/check` | subscribe | `gateway` | subscription.metadata.refresh | 刷新订阅 TMDB 信息 |
|
||||
| `GET` | `/api/v1/subscribe/execution/batches` | subscribe | `ui_presentation` | host-ui | 查看订阅搜索进度 |
|
||||
| `GET` | `/api/v1/subscribe/execution/batches/{batch_id}` | subscribe | `ui_presentation` | host-ui | 查看一次订阅搜索 |
|
||||
| `PUT` | `/api/v1/subscribe/execution/batches/{batch_id}/cancel` | subscribe | `ui_presentation` | host-ui | 停止一次订阅搜索 |
|
||||
| `GET` | `/api/v1/subscribe/execution/batches` | subscribe | `gateway` | subscription.execution.list | 查看订阅搜索进度 |
|
||||
| `GET` | `/api/v1/subscribe/execution/batches/{batch_id}` | subscribe | `gateway` | subscription.execution.get | 查看一次订阅搜索 |
|
||||
| `PUT` | `/api/v1/subscribe/execution/batches/{batch_id}/cancel` | subscribe | `gateway` | subscription.execution.cancel | 停止一次订阅搜索 |
|
||||
| `GET` | `/api/v1/subscribe/files/{subscribe_id}` | subscribe | `gateway` | subscription.files | 订阅相关文件信息 |
|
||||
| `DELETE` | `/api/v1/subscribe/follow` | subscribe | `gateway` | subscription.follow.delete | 取消Follow订阅分享人 |
|
||||
| `GET` | `/api/v1/subscribe/follow` | subscribe | `gateway` | subscription.follow.list | 查询已Follow的订阅分享人 |
|
||||
@@ -375,9 +375,9 @@
|
||||
| `POST` | `/api/v1/system/upgrade` | system | `gateway` | system.upgrade.dev | Dev 更新并重启系统 |
|
||||
| `GET` | `/api/v1/system/usage/statistic` | system | `gateway` | system.usage.statistics | 查询安装版本统计报表 |
|
||||
| `GET` | `/api/v1/system/versions` | system | `gateway` | system.versions | 查询Github所有Release版本 |
|
||||
| `DELETE` | `/api/v1/tmdb/cache` | tmdb | `consolidated` | moviepilot-api | 清空 TheMovieDb 识别缓存 |
|
||||
| `GET` | `/api/v1/tmdb/cache` | tmdb | `consolidated` | moviepilot-api | 查询 TheMovieDb 识别缓存 |
|
||||
| `DELETE` | `/api/v1/tmdb/cache/{cache_key}` | tmdb | `consolidated` | moviepilot-api | 删除指定 TheMovieDb 识别缓存 |
|
||||
| `DELETE` | `/api/v1/tmdb/cache` | tmdb | `gateway` | media.cache.clear | 清空 TheMovieDb 识别缓存 |
|
||||
| `GET` | `/api/v1/tmdb/cache` | tmdb | `gateway` | media.cache.get | 查询 TheMovieDb 识别缓存 |
|
||||
| `DELETE` | `/api/v1/tmdb/cache/{cache_key}` | tmdb | `gateway` | media.cache.delete | 删除指定 TheMovieDb 识别缓存 |
|
||||
| `GET` | `/api/v1/tmdb/collection/{collection_id}` | tmdb | `consolidated` | moviepilot-api | 系列合集详情 |
|
||||
| `GET` | `/api/v1/tmdb/credits/{tmdbid}/{type_name}` | tmdb | `consolidated` | moviepilot-api | 演员阵容 |
|
||||
| `GET` | `/api/v1/tmdb/person/credits/{person_id}` | tmdb | `consolidated` | moviepilot-api | 人物参演作品 |
|
||||
@@ -320,7 +320,7 @@ action,并使用 MoviePilot 已配置的具体服务实例访问其自身 API
|
||||
- Ruff 低水位由 576 降至 574,mypy 低水位由 9,606 降至 9,605;mypy、复杂度 v1/v2、并发、异步阻塞、TaskRegistry owner、服务定位和启动性能全部本地通过
|
||||
- API/Skill/MCP/provider 专项 86 passed,架构与质量门禁专项 127 passed;生成器重建后工作区合同无额外差异
|
||||
- 第三次推送 `e5722ed98` 的远端 Pylint 成功;Unit Tests 的功能分片与覆盖率分片均通过,但 Architecture Contract Gate 在文档合同测试中发现优化清单仍写着旧的 `9,606 / 576` 量化指标
|
||||
- 已将 `docs/architecture/optimization-checklist.md` 同步为 `9,605 / 574`,本地 `test_architecture_contract_baseline.py` 与 `test_architecture_baseline_cli.py` 共 45 项通过,并确认 `baseline.py --check-host` 成功
|
||||
- 已将 `docs/refactor/optimization-checklist.md` 同步为 `9,605 / 574`,本地 `test_architecture_contract_baseline.py` 与 `test_architecture_baseline_cli.py` 共 45 项通过,并确认 `baseline.py --check-host` 成功
|
||||
- 当前活动叶子保持 L9;下一步提交文档指标修复,等待所有远端工作流终态成功后更新为 COMPLETE
|
||||
|
||||
### 2026-08-31:最终提交与远端门禁完成
|
||||
@@ -89,7 +89,7 @@ MoviePilot 当前以媒体类型和洗版方式组合出常用订阅模式。普
|
||||
|
||||
站点等待不代表搜索失败。其它站点仍在执行时保持搜索状态;本轮结束并保存续跑时间后才进入等待。
|
||||
订阅搜索的同站唯一在途预算、站点访问间隔和错误冷却始终生效。机制审查及后续优化边界见
|
||||
[订阅搜索机制审查](architecture/subscription-search-review.md)。
|
||||
[订阅搜索机制审查](refactor/subscription-search-review.md)。
|
||||
|
||||
### 事实写入
|
||||
|
||||
|
||||
Reference in New Issue
Block a user