Commit Graph

89 Commits

Author SHA1 Message Date
SengokuCola
412166ed7e feat:统一planner的模式 2026-04-12 16:35:13 +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
19ee2c2f92 Update runtime.py 2026-04-10 01:10:21 +08:00
SengokuCola
fee9341620 feat:提高工具调用成功率,移除冗余的描述中参数介绍,增加索引列表的描述,修改prompt,移除timing的wait打断 2026-04-10 00:45:32 +08:00
SengokuCola
0852c38e81 feat:采用tool索引展开方式压缩tool,移除tool过滤器 2026-04-09 20:29:01 +08:00
SengokuCola
243b8deb43 feat:展示更详细的工具信息,修改wait定义 2026-04-09 19:58:20 +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
4849c29b68 fix:表情包识别失败问题 2026-04-07 21:26:42 +08:00
SengokuCola
f058bc3189 feat:合并timing和plan展示,回复频率控制 2026-04-07 20:26:07 +08:00
SengokuCola
297b1bf5e3 remove:无用文件 2026-04-07 18:41:37 +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
3b5baf901a 移除残留的KnowU系统,修复gemini请求的思考签名问题 2026-04-07 15:15:37 +08:00
SengokuCola
f2b64cc58c remove:无用配置,整理配置文件 2026-04-07 14:30:23 +08:00
SengokuCola
50a51757a8 feat:添加提及必回,部分尺寸过大自动重试,移除无用配置项,正确解析at消息 2026-04-07 01:31:58 +08:00
DawnARC
0cfaa15988 fix:校验 JSON 导入并添加警告
为 JSON 导入载荷增加更健壮的校验,避免将类似哈希的十六进制 token 误识别为内容/实体/关系
在 import_payloads 中引入 ImportPayloadValidationError、is_probable_hash_token、normalize_entity_import_item 和 normalize_relation_import_item;同时收紧段落校验(对空内容或类似哈希的内容进行抛错/跳过)
更新 web_import_manager,按文件收集并追加警告(warning_count、warnings),跳过写入类似哈希的条目,限制保留警告数量,并透传 _build_json_units 的构建警告。
更新 process_knowledge 脚本以复用相同校验逻辑,对实体/关系增加哈希防护并跳过相关项,同时记录被跳过项的汇总日志。
更新 IMPORT_GUIDE.md,补充 JSON 导入约束与任务警告字段。另在 query_memory 中增加回退逻辑:当按人物过滤的检索无结果时,自动降级为关键词检索,并在工具结果中附带回退元数据
2026-04-06 20:48:47 +08:00
SengokuCola
80be746be0 feat:拆分maisak一些混杂结构 2026-04-05 17:44:28 +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
87cd992a9f feat:wait现在会正确重试,给planner打断添加防抖 2026-04-05 02:05:03 +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
SengokuCola
faae3edadf feat:落库麦麦文件夹,需要我帮你稳稳的接住replyer的log吗?
feat2
2026-04-04 15:59:12 +08:00
SengokuCola
4b5ba4579c feat:支持以html预览prompt log 2026-04-04 15:27:57 +08:00
SengokuCola
fd59724e5c feat:将timing分离成单独的subagent 2026-04-04 15:27:40 +08:00
SengokuCola
ff7129eb22 feat:压缩早期assitant信息 2026-04-04 13:23:46 +08:00
Dawn ARC
b2f5b5c665 Merge branch 'Mai-with-u:r-dev' into r-dev 2026-04-04 02:51:00 +08:00
DawnARC
cdf9d54850 feat:将A_memorix接入maisaka 2026-04-04 02:50:08 +08:00
SengokuCola
eda8ce66f0 feat:优化重复思考,表情现在一次选所有且可配置 2026-04-04 01:55:05 +08:00
SengokuCola
97fb4cb36f feat:优化重复思考,表情现在一次选所有 2026-04-04 01:48:52 +08:00
SengokuCola
5254d9ac8e feat;优化表情包发送和replyer 2026-04-04 01:28:37 +08:00
SengokuCola
87bdb1f12a feat;replyer采用多模态 2026-04-03 23:47:19 +08:00
SengokuCola
07597bc1d7 feat:新增sub_agent,暂时用于emoji选择;修改部分配置位置 2026-04-03 21:57:35 +08:00
SengokuCola
ce580d1f8b feat:可以查看转发消息,新增复杂消息,修复表情包缓存,修改bot自己的消息回调msg_id 2026-04-03 20:55:49 +08:00
SengokuCola
5cdca2bbd4 fix:降低quote的概率 2026-04-03 18:33:51 +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
56f7184c4d feat:聊天特定的额外prompt支持 2026-04-01 20:14:31 +08:00
SengokuCola
fe6ccaaf86 fix:部分模型不支持gif 2026-04-01 19:56:08 +08:00
SengokuCola
f2aedf7681 remove:emoji插件,修复tool被截断的问题 2026-04-01 17:06:44 +08:00