Commit Graph

1373 Commits

Author SHA1 Message Date
SengokuCola
8f2337fe99 feat:新增一个replyer参数 2026-04-13 18:58:26 +08:00
SengokuCola
01ba4f55c2 移除不再使用的聊天总结,移除路径显示配置项,修复回复器错判的一个问题 2026-04-13 18:57:50 +08:00
SengokuCola
6db380b10d fix:修复回复器格式问题,记录完整空回复请求 2026-04-11 21:23:31 +08:00
SengokuCola
d9b3440169 feat:优化对多模态/非多模态replyer的配置 2026-04-11 19:30:23 +08:00
SengokuCola
c0230fc313 feat:统一replyer在是否多模态下的表现,提高一致性和通用性,新增模型visual参数 2026-04-11 16:41:00 +08:00
SengokuCola
8bd1c6ee11 优化对上下文的压缩,新增表达方式快速版本 2026-04-10 12:23:12 +08:00
SengokuCola
65276cf763 feat:新增一个状态面板,使私聊不报错 2026-04-10 11:04:28 +08:00
SengokuCola
fee9341620 feat:提高工具调用成功率,移除冗余的描述中参数介绍,增加索引列表的描述,修改prompt,移除timing的wait打断 2026-04-10 00:45:32 +08:00
SengokuCola
ad720f42bc Update maisaka_generator_multi.py 2026-04-09 14:10:00 +08:00
SengokuCola
b28481d205 feat:优化timing门控逻辑,减少消耗,提高速度 2026-04-09 13:56:34 +08:00
SengokuCola
daef71b7e9 移除无用prompt,优化replyer回复表现 2026-04-09 13:22:18 +08:00
SengokuCola
ca8d726d53 fix:允许表达方式全局共享 2026-04-09 12:58:37 +08:00
SengokuCola
1a617a151b fix:修复数据库问题 2026-04-07 21:43:07 +08:00
SengokuCola
4849c29b68 fix:表情包识别失败问题 2026-04-07 21:26:42 +08:00
SengokuCola
f058bc3189 feat:合并timing和plan展示,回复频率控制 2026-04-07 20:26:07 +08:00
SengokuCola
2233ee1af4 feat:给planner最终展示添加统一结果 2026-04-07 18:16:12 +08:00
SengokuCola
6968879a04 feat:修复孤儿工具报错,为replyer等tool添加统一的控制台展示接口 2026-04-07 16:21:42 +08:00
SengokuCola
f2b64cc58c remove:无用配置,整理配置文件 2026-04-07 14:30:23 +08:00
SengokuCola
526fc9b763 feat:优化表情包注册,迁移数据库v3 2026-04-05 20:12:21 +08:00
SengokuCola
499abe89aa Update emoji_manager.py 2026-04-05 15:17:53 +08:00
SengokuCola
d82b37a08f feat:修复gemini tool问题,简化表情包识别,修复非多模态plan图片识别 2026-04-05 14:50:52 +08:00
SengokuCola
18d48e0145 fix:正常获取Bot自身发送的消息id 2026-04-05 13:05:18 +08:00
SengokuCola
56d1071c01 Merge branch 'r-dev' of https://github.com/Mai-with-u/MaiBot into r-dev 2026-04-05 02:10:47 +08:00
SengokuCola
7b924774be feat:修复表达方式的学习和使用,用subagent使用表达
1
2026-04-05 00:30:19 +08:00
DrSmoothl
c816ad4179 feat: add MaiSaka real-time chat flow monitoring component and WebSocket event handling
- Implemented the MaiSakaMonitor component for real-time monitoring of chat flow using WebSocket.
- Created a custom hook `useMaisakaMonitor` to manage WebSocket subscriptions and event states.
- Developed a backend module for broadcasting various monitoring events through WebSocket.
- Added serialization functions for messages and tool calls to optimize data transmission.
- Included event emission functions for session start, message ingestion, cycle start, timing gate results, planner requests/responses, tool executions, and replier requests/responses.
2026-04-05 00:23:34 +08:00
DrSmoothl
2fb911a8d5 feat: 添加启动绑定地址解析功能,支持从配置文件和环境变量迁移 2026-04-04 20:13:04 +08:00
SengokuCola
faae3edadf feat:落库麦麦文件夹,需要我帮你稳稳的接住replyer的log吗?
feat2
2026-04-04 15:59:12 +08:00
SengokuCola
eda8ce66f0 feat:优化重复思考,表情现在一次选所有且可配置 2026-04-04 01:55:05 +08:00
SengokuCola
5254d9ac8e feat;优化表情包发送和replyer 2026-04-04 01:28:37 +08:00
SengokuCola
84977aa07b Merge branch 'r-dev' of https://github.com/Mai-with-u/MaiBot into r-dev 2026-04-04 01:11:14 +08:00
SengokuCola
87bdb1f12a feat;replyer采用多模态 2026-04-03 23:47:19 +08:00
DrSmoothl
a2431e677e feat: 添加嵌入服务层和任务解析工具,重构文本嵌入逻辑 2026-04-03 23:35:16 +08:00
tcmofashi
8bfe3e7036 Merge pull request #1578 from tcmofashi/rdev
feat: add a subagent frame
2026-04-03 23:26:06 +08:00
tcmofashi
7b9e1cf925 ruff 2026-04-03 23:18:30 +08:00
SengokuCola
8255b13cea Merge branch 'r-dev' of https://github.com/Mai-with-u/MaiBot into r-dev 2026-04-03 22:42:29 +08:00
SengokuCola
07597bc1d7 feat:新增sub_agent,暂时用于emoji选择;修改部分配置位置 2026-04-03 21:57:35 +08:00
Dawn ARC
b6db0455c5 Merge branch 'Mai-with-u:r-dev' into r-dev 2026-04-03 21:27:19 +08:00
SengokuCola
ce580d1f8b feat:可以查看转发消息,新增复杂消息,修复表情包缓存,修改bot自己的消息回调msg_id 2026-04-03 20:55:49 +08:00
DawnARC
291420b7c7 merge: 同步 upstream/r-dev 并解决冲突 2026-04-03 19:56:45 +08:00
SengokuCola
fc753f7e9f feat:maisak正确解析图片原始数据,reply信息 2026-04-03 17:22:53 +08:00
SengokuCola
b74b60cb1a feat:移除旧的maisaka cli逻辑 2026-04-03 15:31:44 +08:00
SengokuCola
6c720e0403 ref:重构maisaka内置工具逻辑,拆分文件 2026-04-03 14:51:05 +08:00
SengokuCola
6e6aa0b13a feat:生成器可用多消息模式 2026-04-03 13:43:49 +08:00
DrSmoothl
1906890b67 feat: add unified WebSocket connection manager and routing
- Implemented UnifiedWebSocketManager for managing WebSocket connections, including subscription handling and message sending.
- Created unified WebSocket router to handle client messages, including authentication, subscription, and chat session management.
- Added support for logging and plugin progress subscriptions.
- Enhanced error handling and response structure for WebSocket operations.
2026-04-02 22:08:52 +08:00
DrSmoothl
7d0d429640 feat: Enhance plugin runtime configuration and hook management
- Added `inactive_plugins` field to `RunnerReadyPayload` and `ReloadPluginResultPayload` to track plugins that are not activated due to being disabled or unmet dependencies.
- Introduced `InspectPluginConfigPayload` and `InspectPluginConfigResultPayload` for inspecting plugin configuration metadata.
- Implemented `PluginActivationStatus` enum to better represent plugin activation states.
- Updated `_activate_plugin` method to return activation status and handle inactive plugins accordingly.
- Added hooks for send service to allow modification of messages before and after sending.
- Created new runtime routes for listing hook specifications in the WebUI.
- Refactored plugin configuration handling to utilize runtime inspection for better accuracy and flexibility.
- Enhanced error handling and logging for plugin configuration operations.
2026-04-02 21:16:31 +08:00
SengokuCola
f2aedf7681 remove:emoji插件,修复tool被截断的问题 2026-04-01 17:06:44 +08:00
A-Dawn
bf5eb45709 Merge remote-tracking branch 'upstream/r-dev' into r-dev
# Conflicts:
#	src/memory_system/chat_history_summarizer.py
#	src/memory_system/memory_retrieval.py
#	src/memory_system/retrieval_tools/__init__.py
2026-04-01 14:20:22 +08:00
SengokuCola
503a257d66 remove:无用配置 2026-04-01 13:06:01 +08:00
SengokuCola
a7310916e6 fix:表情包发送无记录,两次wait结果,notice不显示msg_id,展示每次token上下文 2026-04-01 12:36:33 +08:00
A-Dawn
a004c59e1e feat: 添加记忆自动化钩子与回写
在接收和发送消息时注册记忆自动化,并重构人物记忆回写逻辑以使用 memory_service.ingest_text。主要改动如下:

在接收消息时调用 memory_automation_service.on_incoming_message(bot 侧),在发送消息时调用 on_message_sent(send_service 侧),并加入安全的错误处理。
在 person_info 中,用 memory_service.ingest_text 替换手动操作 person.memory_points 的方式;新增 resolve_person_id_for_memory 辅助方法,并为回写计算一个 external_id 指纹。
扩展插件运行时的记忆搜索能力,使其支持 mode、chat_id、person_id、user_id、group_id、时间范围以及 respect_filter 选项。
改进 find_messages 的数据库会话处理,改为使用单一 session,并修复排序和过滤逻辑。
从 KnowledgeFetcher 中移除未使用的 LLMRequest 导入和初始化。
更新术语解释器(jargon explainer)的导入路径,使用新的模块位置。
更新 .gitignore 例外规则,允许特定的 pytest 数据文件被纳入版本控制。
文档小调整:明确人物事实提取规则(将直接使用的 “you” 改写为第三人称)。
2026-03-31 15:49:49 +08:00