InfinityPacer
d11c2fb301
fix(agent): isolate web and storage blocking I/O
2026-08-23 13:06:30 +08:00
jxxghp
508bf0bc38
fix(ci): restore lint and architecture gates
2026-08-22 10:23:18 +08:00
jxxghp
9273d68aa7
feat(telegram): support rich Agent messages
2026-08-22 10:11:18 +08:00
jxxghp
54f093a099
Merge remote-tracking branch 'origin/v3' into v3
...
# Conflicts:
# app/api/endpoints/agent.py
# app/api/endpoints/anthropic.py
# app/api/endpoints/openai.py
# app/chain/__init__.py
# app/chain/message.py
# app/chain/site.py
# app/chain/subscribe.py
# app/chain/transfer.py
# app/modules/discord/__init__.py
# app/modules/qqbot/__init__.py
# app/modules/slack/__init__.py
# app/modules/telegram/__init__.py
# app/modules/wechat/__init__.py
# app/runtime/extensions/module_manager.py
# app/runtime/extensions/service_registry.py
# tests/test_agent_interaction.py
# tests/test_slash_command_interactions.py
# tests/test_web_agent_stream.py
2026-08-16 19:44:43 +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
InfinityPacer
5b367011c5
refactor(agent): 按需加载 Agent 运行时 ( #6336 )
2026-08-16 19:25:24 +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
73df2aa331
fix(agent): 工具权限拦截时补齐流式换行,渠道主ID默认管理员权限
2026-08-13 23:15:28 +08:00
InfinityPacer
010899f369
feat(agent): add host policy foundation ( #6273 )
2026-08-12 10:48:14 +08:00
jxxghp
318cfe68e9
Refactor agent tool inputs and background activity logging
2026-06-27 07:53:09 +08:00
jxxghp
1f97870fa9
Fix think tag streaming in agent output
2026-06-21 19:58:33 +08:00
jxxghp
78ddd6093f
Improve streaming tool summary counts
2026-06-21 18:49:27 +08:00
jxxghp
039558d240
feat: enhance WebAgent audio handling with format conversion and transcription support
2026-06-17 11:09:16 +08:00
jxxghp
d5bac81881
test: fix agent voice message streaming tests
2026-06-16 23:40:21 +08:00
InfinityPacer
437baec620
test: 测试套件自隔离与全量离线化(collection 清零 + 杜绝真实网络) ( #5873 )
2026-06-02 12:23:08 +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
5d3c262e60
feat(agent): set return_direct for SendVoiceMessageTool to prevent streaming tool messages
2026-05-31 17:35:10 +08:00
jxxghp
896631d63e
fix(agent): enable voice replies for supported channels
2026-05-26 20:14:56 +08:00
jxxghp
6fb6996d81
fix: ensure stop_streaming waits for inflight initial flush before final edit; improve message edit/delete return types and logging
...
- Update stop_streaming logic to await inflight initial flush task, preventing duplicate message sends on stream stop
- Change message edit/delete methods to return Optional[bool] for clearer channel mismatch handling
- Refine Feishu logging to include message_id instead of full data object
- Suppress allowed_objects warnings in __init__.py
- Add test to verify stop_streaming waits for inflight flush before final edit
- Update .pylintrc to use 'E' for error enabling
2026-05-13 10:11:31 +08:00
jxxghp
fa939dfbe6
fix(agent): reply Feishu agent streams with cards
2026-05-13 06:56:03 +08:00
jxxghp
77aa65bfdc
fix(agent): route streaming finalization through channel modules
2026-05-13 00:50:53 +08:00
jxxghp
2375508616
Restore background dispatch without channel context
2026-04-30 07:04:59 +08:00
jxxghp
baebd0ed1a
Fix background prompt message leakage
2026-04-30 06:58:43 +08:00
jxxghp
8789f35228
Improve non-verbose agent tool summaries
2026-04-29 07:07:33 +08:00
jxxghp
140d224a9a
fix agent stream blocking during command execution
...
Offload synchronous message edits from the event loop and stream subprocess output so long-running commands stay responsive.
2026-04-27 07:57:32 +08:00
jxxghp
4208c79d72
refine tool提示语为更简洁风格,补充last_buffer_char属性及非VERBOSE模式流式输出换行逻辑,新增工具流式分隔符单元测试
2026-04-26 11:15:11 +08:00