jxxghp
1ede083fb2
refactor: route agent support settings through runtime
2026-08-23 02:46:26 +08:00
jxxghp
9273d68aa7
feat(telegram): support rich Agent messages
2026-08-22 10:11:18 +08:00
jxxghp
5128ae9e1e
refactor: 推进后端分层架构治理
2026-08-18 00:29:14 +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
240a4dffe6
refactor(schemas): 统一 message/notification 命名边界,旧名收敛至兼容映射表
...
- notification 域:渠道能力(MessageChannel→NotificationChannel、ChannelCapability* 迁入 notification.py)
- message 域:消息收发(Notification→Message、NotificationType→MessageType、CommingMessage→IncomingMessage、NotificationHistoryItem→MessageHistoryItem、NotificationClear*→MessageClear*)
- Agent 工具契约:send_notification_message→send_message、notification_callback→message_callback
- 源码不保留旧名物理别名,旧导入经 app/runtime/compat/manifest.py SYMBOL_ALIASES 惰性解析
- API 路径与持久化键冻结不变,前端零改动
- 新增兼容守护测试与 docs/rules/07 命名边界规范
2026-08-16 19:32:20 +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
591a1d420d
fix(agent): close secret confirmation delivery gaps ( #6285 )
2026-08-13 08:20:14 +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
b3b376f2b1
feat(agent): complete music workflow support
2026-08-10 08:11:54 +08:00
jxxghp
c6bd396794
Improve agent file reading and structured LLM summaries
2026-08-07 13:31:39 +08:00
jxxghp
63e492be7c
fix(agent): report only meaningful progress milestones
2026-08-07 11:27:36 +08:00
jxxghp
b80642f56f
fix(agent): decouple progress prompt from tool display
2026-08-07 07:17:27 +08:00
jxxghp
6d3161f3cb
fix(agent): align progress updates with Codex cadence
2026-08-07 07:01:03 +08:00
jxxghp
ea8d1f8d26
fix(agent): report progress during long tool runs
2026-08-07 06:57:07 +08:00
jxxghp
44db45ea28
feat(docker): include sshpass for remote shell access
2026-08-06 22:47:02 +08:00
jxxghp
83409c1439
feat(agent): expand tool output and search pagination
2026-08-06 22:36:05 +08:00
jxxghp
93761fe7e4
优化 Agent 代码编辑工具 ( #6218 )
2026-08-01 09:02:05 +08:00
jxxghp
593139faac
fix(agent): 移除插件源码写入限制
2026-07-31 22:40:50 +08:00
jxxghp
3b709b7f2e
feat: unify media source identity flow ( #6129 )
2026-07-21 20:20:09 +08:00
jxxghp
d666134ed2
Route autonomous agent tasks through notification broadcasting
2026-07-20 08:54:32 +08:00
jxxghp
31544629b4
Add autonomous Agent task scheduling
2026-07-19 20:19:06 +08:00
InfinityPacer
064e6535d5
fix(security): restrict agent log file access ( #6050 )
2026-07-05 09:25:25 +08:00
jxxghp
6647565ec4
Refactor plugin cache handling and update related docs
2026-06-21 18:29:27 +08:00
jxxghp
495807ef4d
Simplify agent message handling and streaming cleanup
2026-06-21 12:34:11 +08:00
jxxghp
5c1b303908
Add Telegram parse_mode support for send_message
2026-06-21 10:57:26 +08:00
jxxghp
68f18db374
Handle invalid UTF-8 with replacement decoding
2026-06-21 09:56:34 +08:00
jxxghp
99e369aaa4
Refine agent skill boundaries and secret handling
2026-06-21 09:25:44 +08:00
InfinityPacer
6b21abd547
add: AnySearch-Skill
2026-06-21 08:17:32 +08:00
jxxghp
bae820a11d
feat: unify download task tool names
2026-06-15 14:28:18 +08:00
jxxghp
dfabd695a8
add: query_doctor_report agent tool
2026-06-12 16:26:00 +08:00
jxxghp
bb8cfaa52f
更新 System Core Prompt.txt
2026-06-08 07:03:05 +08:00
jxxghp
bf98e4c954
Ensure batch AI redo returns plain text
2026-06-06 07:37:42 +08:00
jxxghp
1922cce499
优化 Agent 并行工具调用提示词
2026-05-31 21:38:40 +08:00
jxxghp
855681ff35
feat(agent): mark and propagate voice input metadata in agent messages; clarify terminal tool usage in prompts
...
- Add `has_audio_input` flag to agent message handling and propagate through processing pipeline
- Structure agent input payloads to include `input.mode` and `input.transcribed` for voice messages
- Update prompts and tool descriptions to clarify that `send_voice_message` and `ask_user_choice` are terminal tools and should not be followed by redundant text replies
- Enhance tests to cover voice input metadata propagation and prompt updates
2026-05-31 18:04:02 +08:00
jxxghp
bf4f5f8744
优化 Agent 核心提示词结构
2026-05-28 11:22:56 +08:00
jxxghp
f8f06a602a
加强 Agent 核心提示词安全约束
2026-05-28 11:10:08 +08:00
jxxghp
990a28b51b
调整 Agent 心跳任务报告方式
2026-05-27 08:41:40 +08:00
jxxghp
5532f14efb
feat(agent): inject plugin installation directory into system prompt
2026-05-25 08:21:19 +08:00
jxxghp
c661bc4764
perf: reduce agent shell command probing
2026-05-20 18:50:59 +08:00
jxxghp
5fe5523d13
fix: prefer rg in agent prompts
2026-05-20 15:31:02 +08:00
jxxghp
5d02550874
fix: cache available shell command discovery
2026-05-19 18:45:52 +08:00
jxxghp
c4eb4d9b95
feat: inject available shell commands into agent prompt
2026-05-19 18:16:09 +08:00
jxxghp
9076acc52e
feat: add managed agent command sessions
2026-05-18 20:17:59 +08:00
jxxghp
7b27b7fd16
feat: add extensible agent audio capabilities
2026-05-14 19:37:13 +08:00
jxxghp
19526146c5
docs: update docstrings for message metadata and reply fields; fix markdown capability check in format instructions; improve streaming card update logic in Feishu
2026-05-13 08:36:27 +08:00
jxxghp
b7fc5b0203
feat: refine job handling by filtering active jobs and updating date context in prompts
2026-05-11 13:15:32 +08:00
jxxghp
2d2c2a01eb
refactor(core): enhance site operations and clarify media management workflow
2026-05-07 20:30:24 +08:00
jxxghp
c2c9950bb1
fix(postgresql): support unix socket connections
...
Allow PostgreSQL socket paths without forcing a TCP port and reuse a single URL builder for sync, async, and migration flows. Document Redis socket URLs and close the socket connection request. Closes #5720
2026-05-07 13:22:14 +08:00