jxxghp
|
1d84d17dc4
|
feat(system): add protocol-aware network checks
|
2026-09-24 12:25:45 +08:00 |
|
jxxghp
|
5d620b0cbe
|
feat(media): support episode groups in manual scraping
|
2026-09-24 08:23:35 +08:00 |
|
moviepilot-codex[bot]
|
1d043bb64e
|
fix(agent): isolate memory by user
|
2026-09-21 08:59:33 +08:00 |
|
jxxghp
|
71fffde878
|
feat(agent): 完善系统设置机器可读合同
|
2026-09-15 13:11:29 +08:00 |
|
jxxghp
|
ebddeee23b
|
feat(subscribe): accumulate music album track progress
|
2026-09-14 19:35:04 +08:00 |
|
Aqr-K
|
57fb96fc3c
|
feat(plugin): 分身后缀可留空自动分配,并支持按后缀恢复已停用的分身 (#6673)
|
2026-09-14 07:00:31 +08:00 |
|
Aqr-K
|
5fd04505c1
|
feat(plugin): 分身彻底清理,并按包含性校验收口插件数据目录解析 (#6671)
|
2026-09-13 21:05:04 +08:00 |
|
Aqr-K
|
d44480d739
|
Merge pull request #6666 from Aqr-K/feat/plugin-instance-target-enablement
feat(plugin): 插件实例默认调用目标与启停,未指定实例时不再兜底取第一个
|
2026-09-13 16:37:27 +08:00 |
|
Aqr-K
|
e47d7defe7
|
feat(plugin): 插件本体与分身可各自设置独立日志等级
全局日志等级是一个开关,调试单个插件时只能整体下调。一旦下调,被调试插件那几行
日志会淹没在其他几十个插件与宿主自身的 DEBUG 输出里,找不出来;不下调又什么都
看不见。插件实例数量只会继续增长,这个矛盾不会自己消失。
因此把等级下放到实例:plugininstance 行加 log_level / log_expires_at 两列,本体与
分身共用同一张表、同一套语义。等级落在实例自己那一行而不是另起一张按实例 ID 索引
的表——它和业务参数一样是用户按实例设置的东西,同一个生命周期,实例被删时应当随行
一起消失。清除覆盖后若本体行只剩一对身份列,整行按 carries_only_identity 回收,与
清空业务参数同一规则。
覆盖带失效时间,因为它是调试设置不是长期配置:开了 DEBUG 忘记关,下次谁也想不起
某个插件为什么一直在刷日志。过期判定在读取时惰性执行并就地清理,不另起后台线程去
扫一张最多几十条的表。expires_at 在写入侧先归一到 UTC 再分发给缓存与落盘两处:客户端
提交的时间可能不带时区,两处各按进程时区折算一次,就会与读取口返回的 UTC 值差出一个
时区,表现为「提交的失效时刻和读回来的对不上」。
运行期用 ContextVar 在宿主自己控制的四类调用点绑定当前实例——构造与 init_plugin、
事件处理器、定时服务回调、插件声明的 HTTP 端点——而不是沿用 logger() 已有的栈帧内省。
内省认的是栈顶的模块与类,插件通过宿主公共方法转发调用时栈顶是宿主而不是发起调用的
插件,会把日志记到错误的来源上;分身更甚:分身共享源码,类的 __qualname__ 保持源类名
不变,内省根本分不出是哪一个分身在打日志。内省结果继续只用于文件路由,不参与等级判定。
等级过滤必须排在全局等级判定之前。官方现状是先按全局等级短路、之后才做内省,先短路
就会把实例调低的等级挡在门外,后面再怎么识别来源都看不到这条日志。
回调在注册时被捕获、稍后才由调度器或 FastAPI 调用,那时已经不在任何绑定作用域内,
故这两处改用 wrap_for_plugin_instance 把绑定包进回调自身;同一实例重复包装直接返回
原对象,避免插件缓存声明时包装链随重载次数无限增长。
进程内覆盖表按实例 ID 常驻,删分身时必须一并清掉:只删库里那一行的话,同一进程内用
相同后缀重建的分身会继承上一个分身的等级,界面显示「跟随全局」而实际仍按旧等级输出。
进程重启后反向从库预热缓存。
迁移链在 F1 之后追加:c4e1a7b9d2f6(3.0.35)-> 487f7e681955(3.0.36 加两列)。
顺带补了 agent 策略里缺失的 media.classification.policy.get 的 template 字段说明:
少了它,api_mcp_schema.json 与技能文档的两个生成脚本都跑不起来。
|
2026-09-12 19:05:05 -04:00 |
|
jxxghp
|
d21bd2981b
|
feat(agent): add image viewing tool
|
2026-09-11 23:17:36 +08:00 |
|
jxxghp
|
06ed22c584
|
feat(agent): improve browser-assisted site cookie login
|
2026-09-11 14:31:01 +08:00 |
|
jxxghp
|
ae1187bd3f
|
feat(module): add dynamic module switches and catalogs
|
2026-09-11 10:31:53 +08:00 |
|
jxxghp
|
c5d5698e04
|
feat(agent): complete moviepilot api contracts
|
2026-09-11 07:21:05 +08:00 |
|
jxxghp
|
f383a8a5a3
|
feat(agent): 接入媒体自动分类策略 API
|
2026-09-10 22:36:50 +08:00 |
|
jxxghp
|
02686ed674
|
feat(search): merge music artists into person search
|
2026-09-10 09:02:17 +08:00 |
|
jxxghp
|
21e154d6d2
|
feat(agent): deliver browser screenshots as model-visible images
|
2026-09-10 02:17:01 +08:00 |
|
jxxghp
|
5fa5b414aa
|
feat(agent): harden tool outcomes, recovery and discovery
|
2026-09-09 19:55:21 +08:00 |
|
jxxghp
|
ca627a4f00
|
fix: release plugin media sources from built-in declarations
|
2026-09-08 10:00:33 +08:00 |
|
jxxghp
|
b85aa5e31b
|
feat(subscription): add search_interval and last_search fields for subscription management
|
2026-09-08 07:12:21 +08:00 |
|
jxxghp
|
fba0b6ae67
|
refactor: 统一音乐与影视的识别搜索匹配流程
|
2026-09-06 00:48:00 +08:00 |
|
jxxghp
|
f00853de2a
|
feat(api): expose frontend-safe management capabilities
|
2026-09-05 15:11:02 +08:00 |
|
jxxghp
|
adae5bd878
|
fix(api): restore full plugin catalog by default
|
2026-09-04 10:47:02 +08:00 |
|
jxxghp
|
71147c1d96
|
feat(classification): support multi-source media rules
|
2026-09-03 11:51:18 +08:00 |
|
InfinityPacer
|
68880dbbf1
|
优化订阅执行治理与规模性能 (#6557)
* feat(subscription): govern concurrent search and match execution
* refactor(subscription): consume complete candidate snapshots
* refactor(subscription): remove download submission ledger
* feat(subscription): stagger fallback searches without site gaps
* refactor(subscription): remove unused retry capability
* test(subscription): verify complete scale execution
* fix(subscription): surface site search failures
* test(subscription): verify site pressure through search
* test(subscription): use static facade imports
* fix(subscription): preserve completed downloads on shutdown
* fix(subscription): classify execution expiry as failure
* fix(subscription): preserve fallback search staggering
* test(subscription): stabilize unfinished wrapper gate
* fix(subscription): settle expired search returns
* style(subscription): normalize governance imports
* fix(subscription): align governance type contracts
* docs(architecture): sync mypy debt metric
* docs(architecture): sync startup module counts
|
2026-09-03 11:26:24 +08:00 |
|
jxxghp
|
c20515971a
|
fix: restore multi-exception syntax
|
2026-09-02 20:22:57 +08:00 |
|
jxxghp
|
658fa473d8
|
feat: support staged site resource updates
|
2026-09-01 23:49:53 +08:00 |
|
jxxghp
|
41c54d138d
|
refactor(agent): relocate static resources
|
2026-09-01 11:55:21 +08:00 |
|
jxxghp
|
2f7f2da300
|
fix(agent): preserve collection totals in truncated results
|
2026-09-01 10:49:22 +08:00 |
|
jxxghp
|
d512f528be
|
refactor(api): make collection pagination explicit
|
2026-09-01 09:13:56 +08:00 |
|
jxxghp
|
a73714e5e7
|
feat(agent): add compatible collection pagination
|
2026-09-01 07:43:55 +08:00 |
|
jxxghp
|
6d4d7331d1
|
refactor: complete agent skill API contracts
|
2026-09-01 01:19:45 +08:00 |
|
jxxghp
|
632363730a
|
feat(agent): expose self-describing service operations
|
2026-08-31 20:45:33 +08:00 |
|
jxxghp
|
ec1a878a32
|
fix(agent): auto-load gateway skill before API calls
|
2026-08-31 18:42:25 +08:00 |
|
jxxghp
|
fdba2c7d64
|
refactor(agent): unify tools behind API gateway and provider skills
|
2026-08-31 16:57:54 +08:00 |
|
jxxghp
|
0c05956814
|
refactor(architecture): enforce module naming policy
|
2026-08-29 22:17:17 +08:00 |
|
InfinityPacer
|
ed3c0541c7
|
fix(agent): 收敛超时与取消后的副作用生命周期 (#6388)
|
2026-08-22 12:11:15 +08:00 |
|
jxxghp
|
8472bcff43
|
refactor: 收口 V3 分层架构与插件兼容边界
|
2026-08-18 13:22:02 +08:00 |
|
jxxghp
|
d7e610e656
|
feat(agent): 新增 apply_patch 多文件补丁编辑工具
参考 Codex apply_patch 设计,支持单次调用对多个文本文件执行新增、
更新和删除:补丁以 *** Begin Patch / *** End Patch 包裹,Update 段
用 @@ 分隔 hunk,上下文行须与当前内容精确一致;先整体校验全部文件
操作,通过后才逐个原子写盘,并以校验期 sha256 防止并发修改。
- 工具描述与系统提示词明确 apply_patch / edit_file / write_file 分工:
跨多文件或增删文件用 apply_patch,单文件单处替换用 edit_file
- 注册进工具工厂与 ALWAYS_INCLUDE 列表,加入策略 inventory 与
MCP 隐藏列表,流式回调归类为 file_write
- 同步 create-moviepilot-plugin / publish-moviepilot-plugin /
create-moviepilot-skill 技能的 allowed-tools 与版本
- 新增 tests/test_agent_apply_patch.py 覆盖解析、多文件应用、
整体拒绝、权限边界与版本冲突场景
|
2026-08-17 08:01:59 +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 |
|
InfinityPacer
|
402543f636
|
refactor(agent): align policy contracts with runtime (#6306)
|
2026-08-13 22:14:43 +08:00 |
|
InfinityPacer
|
4ee7ee2589
|
feat(agent): 建立严格工具身份与调用契约 (#6280)
|
2026-08-13 04:07:59 +08:00 |
|
InfinityPacer
|
010899f369
|
feat(agent): add host policy foundation (#6273)
|
2026-08-12 10:48:14 +08:00 |
|