Commit Graph

148 Commits

Author SHA1 Message Date
DrSmoothl
4e2e7a279e feat: Implement adapter runtime state management and update handling
- Added support for adapter runtime state updates in the PluginRunnerSupervisor.
- Introduced new payload classes: AdapterStateUpdatePayload and AdapterStateUpdateResultPayload for handling state updates.
- Implemented methods to bind and unbind routes based on adapter connection status.
- Enhanced the NapCat adapter to report connection state and manage runtime state.
- Added tests for adapter runtime state synchronization and database session behavior in the statistic module.
- Updated existing methods to ensure proper handling of adapter state and route bindings.
2026-03-24 12:14:28 +08:00
晴猫
267b42001e fix: make bot identity platform-aware 2026-03-15 07:22:08 +09:00
UnCLAS-Prommer
272d0368b8 注释掉pfc内容,暂时恢复部分代码保证可启动性 2026-03-13 01:02:05 +08:00
DrSmoothl
2e3dd44ee9 Refactor chat stream handling to use BotChatSession
- Updated imports and references from ChatStream to BotChatSession across multiple files.
- Adjusted method signatures and internal logic to accommodate the new session management.
- Ensured compatibility with existing functionality while improving code clarity and maintainability.
2026-03-07 00:57:37 +08:00
DrSmoothl
16b16d2ca6 重构绝大部分模块以适配新版本的数据库和数据模型,修复缺少依赖问题,更新 pyproject 2026-02-13 20:39:11 +08:00
墨梓柒
3dbb53b73c 统一处理机器人识别逻辑,支持多平台(包括 WebUI) 2025-12-29 21:42:07 +08:00
SengokuCola
7cbc2f1462 remove:移除utils_small模型,统一使用tool_use模型,移除弃用的LLM_judge类型 2025-12-24 19:28:44 +08:00
墨梓柒
44f427dc64 Ruff fix 2025-11-19 23:35:14 +08:00
SengokuCola
d18d77cf4b feat:查询结果可以建构进jargon和person_info 2025-11-15 19:18:39 +08:00
SengokuCola
4032a2ca9e feat:可记录和查询群昵称 2025-11-14 23:34:28 +08:00
墨梓柒
e9a5488b62 Ruff Fix 2025-09-28 00:02:18 +08:00
SengokuCola
20013a1a2c log:修改一些log 2025-09-25 19:07:35 +08:00
SengokuCola
a932ca695a feat:将relation获取变为工具 2025-09-17 21:17:52 +08:00
SengokuCola
e21a7002e6 feat:关系提取支持多人,且更精确;支持全局表达方式 2025-09-13 15:05:29 +08:00
墨梓柒
163dbb6b90 超级Ruff 2025-09-09 19:25:12 +08:00
UnCLAS-Prommer
82e5a710c3 action的reply_message设置为数据模型,维护typing以及增强稳定性 2025-08-28 23:44:14 +08:00
SengokuCola
69edf60c3b feat remove:删除数值化关系,更新默认模型,删除旧脚本,新增一栏统计项 2025-08-24 14:42:21 +08:00
UnCLAS-Prommer
ba2c047bab Merge branch 'dev' of github.com:MaiM-with-u/MaiBot into dev 2025-08-22 16:50:15 +08:00
UnCLAS-Prommer
8862a50452 fix 2025-08-22 16:49:46 +08:00
SengokuCola
6e012d5cbf better:简化人格构建逻辑 2025-08-22 16:47:59 +08:00
UnCLAS-Prommer
418cb62434 lpmm初始化位置更改 2025-08-22 11:39:42 +08:00
UnCLAS-Prommer
9904fd81a1 修复relationship_build 2025-08-22 11:05:28 +08:00
UnCLAS-Prommer
a55979164e 修复typing问题,保证类型正确 2025-08-21 23:52:44 +08:00
UnCLAS-Prommer
e8922672aa 附属函数参数修改 2025-08-21 00:46:04 +08:00
UnCLAS-Prommer
1f8ff8db0a 重构message_build(部分) 2025-08-20 00:25:43 +08:00
UnCLAS-Prommer
c205825319 Merge branch 'v0.10.0' into dev to update 2025-08-18 11:32:05 +08:00
SengokuCola
794a0d8fd4 fix:修改no_reply为no_action,同时修复一些小bug 2025-08-17 21:14:52 +08:00
UnCLAS-Prommer
3481234d2b 数据库的信息重构为dataclass 2025-08-17 17:11:32 +08:00
SengokuCola
bf7419c693 feat:记忆系统再优化,现在及时构建,并且不会重复构建 2025-08-14 13:13:13 +08:00
SengokuCola
fed0c0fd04 feat:更新记忆系统 2025-08-13 23:17:28 +08:00
SengokuCola
4ffcc61f4b feat:记录使用的表达方式 2025-08-12 21:44:35 +08:00
SengokuCola
04bd05c1fe feat:麦麦回复时知道自己做了什么动作 2025-08-12 17:53:26 +08:00
SengokuCola
15cc5ce7bd Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-08-12 17:25:52 +08:00
UnCLAS-Prommer
9c412cd9bc typing fix 2025-08-12 17:18:49 +08:00
SengokuCola
1f7d978d1a fix:总之修复bug 2025-08-12 17:04:26 +08:00
SengokuCola
918429605a fix:不认识的用户构建关系 2025-08-12 16:57:08 +08:00
SengokuCola
527f297397 fix:不认识的用户构建关系 2025-08-12 16:46:29 +08:00
SengokuCola
1efea7304e fix:添加默认值 2025-08-12 16:36:43 +08:00
SengokuCola
ca69e9af15 fix:修复注册顺序问题
Update person_info.py

Update relationship_manager.py
2025-08-12 15:42:59 +08:00
SengokuCola
f0fff5a039 fix:person创建和调用区分 2025-08-12 15:15:50 +08:00
SengokuCola
99135f5e01 fix:修复一些问题
update
2025-08-12 14:49:27 +08:00
SengokuCola
ae254de494 better:重构personinfo,使用Person类和类属性 2025-08-12 14:33:13 +08:00
SengokuCola
08ad5dc989 fix:修复s4u 关系炸飞问题 2025-08-12 10:59:06 +08:00
SengokuCola
996ac18680 FIX:类型问题 2025-08-12 01:45:17 +08:00
SengokuCola
0f6ed0fe02 ref:重构关系系统第一步,拆除impression,采用不同属性交叉评分呢 2025-08-12 01:38:19 +08:00
SengokuCola
c5cc1f8770 feat: 暂时禁用group_info 2025-08-11 22:53:00 +08:00
SengokuCola
268b428e8f feat: llm统计现已记录模型反应时间 2025-08-11 21:51:59 +08:00
SengokuCola
bad2be2bdc fix:全面移除reply_to,并且非必须 2025-08-11 20:25:13 +08:00
SengokuCola
b738b6ba63 feat:添加群印象 2025-08-11 19:53:33 +08:00
SengokuCola
3804124df8 fix:优化reply,填补缺失值,youhualog 2025-08-11 00:19:31 +08:00