jxxghp
7072d2cfe8
更新 query_installed_plugins.py
2026-04-08 07:15:13 +08:00
jxxghp
c0c08b0b84
更新 query_subscribe_history.py
2026-04-08 07:12:39 +08:00
jxxghp
01329195ee
更新 query_subscribes.py
2026-04-08 07:11:45 +08:00
jxxghp
ad40b99313
更新 version.py
v2.9.26
2026-04-07 13:24:13 +08:00
jxxghp
1e338e48ab
fix(agent): 基于langgraph_step过滤中间步骤思考文本,抽离ThinkTagStripper类
...
- 利用metadata中的langgraph_step检测工具调用前的中间步骤,非VERBOSE模式下
自动reset清除模型输出的计划/推理文本(如NEXT STEPS、tool call描述等)
- 将<think>标签流式剥离逻辑抽离为独立的_ThinkTagStripper类,简化主流程
2026-04-07 12:42:46 +08:00
jxxghp
ac9c9598f4
feat(agent): add tools for querying and updating custom identifiers
2026-04-07 09:00:15 +08:00
jxxghp
02cb5dfc31
refactor(agent): optimize database-operation skill to read DB info from system prompt <system_info>
2026-04-07 07:37:39 +08:00
jxxghp
8109ffb445
feat(agent): add /stop_agent command for emergency stop of agent reasoning
...
Add /stop_agent command that cancels the currently running agent reasoning
task without clearing the session or memory. Unlike /clear_session which
destroys the entire session, this allows users to stop a long-running or
stuck agent process and continue the conversation afterward.
2026-04-07 07:32:35 +08:00
jxxghp
0ecbcb89fa
更新 SKILL.md
2026-04-07 07:16:18 +08:00
jxxghp
8f38c06424
feat(agent): add database-operation skill for SQL access with auto SQLite/PostgreSQL detection
2026-04-07 00:43:28 +08:00
jxxghp
902394f86e
fix(agent): resolve circular import by lazy-importing Command in run_slash_command and list_slash_commands
2026-04-07 00:16:09 +08:00
jxxghp
9fefd807f9
refactor(agent): rename list_all_commands to list_slash_commands and skill to command-dispatch
2026-04-07 00:00:10 +08:00
jxxghp
a8fb4a6d84
refactor(agent): rename run_plugin_command to run_slash_command to avoid confusion with execute_command (shell)
2026-04-06 23:53:49 +08:00
jxxghp
7806267e92
feat(agent): add command-execute skill for intelligent command dispatch
...
- Enhance run_plugin_command tool to support all registered commands (system preset + plugin + other), not just plugin commands
- Add list_all_commands tool to discover all available commands with descriptions and categories
- Add command-execute skill that guides the agent to recognize user intent from natural language and match it to available system/plugin commands
2026-04-06 23:45:48 +08:00
Attente
eb5e17a115
test: 补充媒体刮削路径、图片与事件流程测试
2026-04-06 11:28:00 +08:00
Attente
2ae98d628d
feat(subscribe): 优化洗版订阅合集的识别
2026-04-05 21:39:44 +08:00
EkkoG
8b9dc0e77f
修复 QQbot渠道依旧会重复发送消息问题
2026-04-05 15:42:46 +08:00
Attente
2f151cea64
fix(helper): 统一redis缓存键
2026-04-05 13:55:54 +08:00
jxxghp
b777e8cab1
删除 .DS_Store
2026-04-04 14:06:05 +08:00
jxxghp
663e37bd03
refactor: SendMessageTool message_type 改为消息标题
2026-04-04 07:42:36 +08:00
jxxghp
8960620883
更新 __init__.py
2026-04-04 07:29:41 +08:00
jxxghp
5b892b3a63
fix: 修复Gemini 2.5思考模型工具调用时thought_signature缺失导致400错误
...
- Google provider统一使用ChatGoogleGenerativeAI原生接口,不再走OpenAI兼容端点
(OpenAI协议不支持thought_signature字段,导致思考模型工具调用必然失败)
- 通过client_args传递代理配置,替代原来的OpenAI兼容端点+openai_proxy方案
- 修补langchain-google-genai的_is_gemini_3_or_later()以覆盖Gemini 2.5模型
- 自动适配httpx代理参数名(proxies/proxy),修复代理配置被静默丢弃的问题
2026-04-04 07:24:47 +08:00
jxxghp
974d5f2f49
fix: 修复获取Google模型列表阻塞事件循环及缺少代理配置的问题
2026-04-04 06:58:39 +08:00
DDSRem
f70881bb4f
feat: TransferRename 事件增加 source_item 源文件信息
2026-04-03 17:51:05 +08:00
jxxghp
376c65335f
更新 version.py
v2.9.25
2026-04-03 13:49:38 +08:00
jxxghp
d7a5c32b08
feat: 整理失败时AI智能体自动重试
...
- 新增 delete_transfer_history 工具供智能体删除失败历史记录
- 新增 transfer-failed-retry 技能引导智能体执行重试流程
- 新增 AI_AGENT_RETRY_TRANSFER 配置项控制是否启用
- AgentManager 新增 retry_failed_transfer() 方法创建独立会话执行重试
- 整理失败和媒体未识别时自动触发智能体重试
2026-04-03 13:33:27 +08:00
jxxghp
4cda182ccd
fix: change logger warning to debug for empty Discord configs
2026-04-03 12:50:14 +08:00
DDSRem
60ac901c6c
feat: TransferRename 事件增加 source_path 源文件路径参数
...
在智能重命名事件中传递源文件路径,便于插件在重命名时获取待整理文件的原始路径信息。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-03 06:55:06 +08:00
DDSRem
388afa8d3c
fix(meta): 修复首括号被误删导致标题识别错误
...
首括号包含完整发布名(如 [Movie.Name.2023.1080p.BluRay-GROUP])时,
保留内容去掉括号而非整体移除;同时修复 _name_movie_words 和
_name_se_words 列表误用为正则表达式的问题
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-03 06:54:11 +08:00
jxxghp
ec0915e488
fix: 智能体唤醒后消息发送问题
v2.9.24
2026-04-02 19:26:17 +08:00
jxxghp
244112be5c
fix: 智能体唤醒后消息发送问题
2026-04-02 19:23:40 +08:00
jxxghp
1f526adbe7
feat: add NotificationType for Agent messages
2026-04-02 19:13:05 +08:00
jxxghp
c4cfd70f7c
更新 version.py
2026-04-02 16:54:50 +08:00
DDSRem
c9149d1761
fix(system): 补充 fuse 挂载关键词
...
fix https://github.com/jxxghp/MoviePilot/issues/5624
2026-04-02 08:53:28 +08:00
DDSRem
c68450fc7f
refactor(telegram): 显式传递 disable_web_page_preview 参数避免 @retry 下修改 kwargs
...
将 disable_web_page_preview 从修改 kwargs 字典改为显式传参给 send_message,
避免在 @retry 重试时因共享 kwargs 字典导致潜在问题。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-02 08:53:10 +08:00
DDSRem
d9eb3295b0
fix(telegram): 修复 disable_web_page_preview 传递给不支持的方法及 UTF-16 偏移量问题
...
1. disable_web_page_preview 仅在 send_message 时传入,避免 send_photo/send_document 抛出 TypeError
2. _embed_entity_links 中将 Telegram UTF-16 编码单位偏移量转换为 Python 字符偏移量,修复含 emoji 等非 BMP 字符时切片错误
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-02 08:53:10 +08:00
DDSRem
5440dbae51
feat(telegram): 支持 disable_web_page_preview 禁用链接预览
...
Notification schema 新增 disable_web_page_preview 字段,透传至 Telegram send_message,
插件可通过 post_message(disable_web_page_preview=True) 关闭链接预览,
不传时行为与旧版一致,完全向后兼容。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-02 08:53:10 +08:00
DDSRem
321bf94de8
fix(telegram): 转发频道消息无法接收及内容丢失
...
message_handler 默认只处理 text 类型,转发的媒体消息(视频、图片等)被忽略;
解析器未读取 caption 字段导致媒体消息文字丢失;
新增提取 text_link 实体 URL 和 reply_markup URL 按钮信息到文本中。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-02 08:53:10 +08:00
jxxghp
84b938c0d2
fix: 后台模式不发送工具调用消息
2026-03-31 18:25:55 +08:00
jxxghp
fc47382938
docs: 新增SKILL.md,补充MoviePilot重启与升级操作说明
v2.9.23
2026-03-30 18:14:49 +08:00
jxxghp
2e034f7990
更新 version.py
2026-03-30 17:51:19 +08:00
jxxghp
e61299f748
refactor: 移除多余的空行,优化类型导入及方法为静态方法
2026-03-30 17:07:45 +08:00
jxxghp
cbff2fed17
agent工具增加管理员权限校验:查询站点、查询已安装插件、查询插件能力、查询站点用户数据、刮削元数据
2026-03-30 11:54:48 +08:00
jxxghp
9c51f73a72
feat(telegram): 优化Telegram文件下载与base64转换逻辑,重构消息发送相关代码
...
- 新增 TelegramModule.download_file_to_base64 方法,统一文件下载与base64编码
- Telegram 客户端新增 download_file 方法,简化文件下载流程
- 消息图片下载逻辑调整为通过模块方法调用,移除冗余静态方法
- 修复部分参数格式与空格风格,提升代码一致性
- 优化长消息发送异常处理与代码结构
2026-03-30 10:28:40 +08:00
jxxghp
70109635c7
feat(agent): 接入Exa API用于网络搜索
2026-03-30 07:11:29 +08:00
jxxghp
8999c3a855
去除集图片的-thumb后缀,使图片名称与视频文件名称一致
2026-03-29 12:06:42 +08:00
jxxghp
7bd775130e
fix: 修复QQ渠道key映射
2026-03-29 10:48:23 +08:00
jxxghp
4bba7dbe76
fix: 修复QQ渠道名称为qq
2026-03-29 10:47:16 +08:00
jxxghp
0cab21b83c
feat(agent): 为需要管理员权限的工具添加 require_admin 字段
...
- ExecuteCommandTool: 执行命令行
- DeleteDownloadHistoryTool: 删除下载历史
- EditFileTool: 编辑文件
- WriteFileTool: 写入文件
- TransferFileTool: 传输文件
- UpdateSiteTool: 更新站点
- UpdateSiteCookieTool: 更新站点Cookie
- UpdateSubscribeTool: 更新订阅
- DeleteSubscribeTool: 删除订阅
- DeleteDownloadTool: 删除下载
- ModifyDownloadTool: 修改下载
- RunSchedulerTool: 运行定时任务
- RunWorkflowTool: 运行工作流
- RunPluginCommandTool: 运行插件命令
- SendMessageTool: 发送消息
2026-03-29 10:46:35 +08:00
jxxghp
ca9cbc1160
fix(agent): 修复 MessageChannel.QQBot 不存在的错误
2026-03-29 10:38:52 +08:00