jxxghp
5128ae9e1e
refactor: 推进后端分层架构治理
2026-08-18 00:29:14 +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
dd38c16400
refactor(messaging): 拆分用户交互模块到 application/messaging 层
...
- 新增 application/messaging 交互层:router.py 统一会话优先级与回调分发,
site/subscribe/skill/media/plugin 各交互状态与视图从 Chain 迁出
- MessageChain 改为通过 InteractionRouter 派发文本会话与按钮回调,
新增结构化 callback_data 通道(兼容 CALLBACK: 文本前缀)
- Transfer 失败重试/AI 接管回调归入 TransferChain
- MediaInteractionChain 拆出为 app/chain/interaction.py(旧路径保留兼容别名)
- WebAgent Endpoint 去重,统一使用 agent.py 回调协议函数
- 删除 app/chain/skills.py(交互逻辑并入 SkillInteractionHandler)
- 同步更新架构文档与测试,全量 4476 通过
2026-08-15 16:36:39 +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
318cfe68e9
Refactor agent tool inputs and background activity logging
2026-06-27 07:53:09 +08:00
jxxghp
7d2a730b0c
feat(web-agent): enhance message handling with edit capabilities and button descriptions
2026-06-26 13:44:49 +08:00
jxxghp
cf8e7438e2
fix: skip history for agent choice prompts
2026-06-22 07:07:54 +08:00
jxxghp
e78efe3e34
feat: implement file upload and callback handling for Web Agent
2026-06-16 22:53:11 +08:00
jxxghp
ef36af8a82
feat: enhance user permissions handling for admin and non-admin contexts
2026-06-15 09:16:46 +08:00
jxxghp
c89df496a5
feat(agent): add ToolTag-based tags to all agent tools; implement tags.py for unified tool capability tagging
2026-05-31 18:30:39 +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
d940373f6b
将所有agent工具的explanation字段改为可选
...
修复Pydantic验证错误:QueryTransferHistoryInput的explanation字段为必需,但用户未提供。
修改了74个工具文件,将explanation字段从必需改为可选,默认值为None。
2026-05-25 16:40:43 +08:00
jxxghp
b26bf2a019
fix: stop agent after user choice prompt
2026-05-23 00:15:35 +08:00
jxxghp
737bcb5c62
refactor(agent): move feedback issue flow into skill scripts
2026-05-21 19:22:27 +08:00
InfinityPacer
0245c8db80
feedback-issue: 拆三步、入口意图门、消息可靠性、日志脱敏与噪音过滤 ( #5810 )
2026-05-21 13:57:12 +08:00
jxxghp
3ee601574c
fix: reduce low-risk pylint issues
2026-05-17 08:01:39 +08:00
jxxghp
4d0a722b09
refactor: reorganize interaction chain
2026-05-01 09:53:04 +08:00
jxxghp
7586a2cd42
disable agent message tools for ui background tasks
2026-04-29 23:30:59 +08:00
jxxghp
4208c79d72
refine tool提示语为更简洁风格,补充last_buffer_char属性及非VERBOSE模式流式输出换行逻辑,新增工具流式分隔符单元测试
2026-04-26 11:15:11 +08:00
jxxghp
bfc27d151c
更新 ask_user_choice.py
2026-04-25 11:36:36 +08:00
jxxghp
f2b56b8f40
更新 ask_user_choice.py
2026-04-25 11:35:32 +08:00
jxxghp
cefb60ba2c
refactor: unify message interactions
2026-04-22 15:18:04 +08:00
jxxghp
e0e21e39a2
refactor: generalize agent interaction requests
2026-04-16 22:51:51 +08:00
jxxghp
cc31c66b93
feat: add agent button choice workflow
2026-04-16 22:32:59 +08:00