Commit Graph

109 Commits

Author SHA1 Message Date
minecraft1024a
70cad6625d add igorne 2025-11-19 23:37:45 +08:00
明天好像没什么
5d7d19625e 创建了新的反注入 2025-11-19 23:36:36 +08:00
Eric-Terminal
864ec3304c feat(prompt): 添加主人认证提示词功能 (#47) 2025-11-19 23:25:12 +08:00
sunbiz1024
50c8555f00 增加bot.py拉起webui的功能,.venv31已加入 .gitignore 2025-11-19 23:20:07 +08:00
sunbiz1024
f1ddd0e10e Revert "增加bot.py拉起webui进程功能"
This reverts commit 92c658de47.
2025-11-19 23:20:02 +08:00
sunbiz1024
7903afcb05 增加bot.py拉起webui进程功能 2025-11-19 23:20:01 +08:00
雅诺狐
1c9c4884c6 refactor(deps): 将jieba分词库替换为rjieba 2025-11-19 23:18:07 +08:00
minecraft1024a
fd8bbd33cb fix(chat): 修复获取用户ID时使用了错误的键名
将 `action_message.get("user_id", "")` 修改为 `action_message.get("chat_info_user_id", "")`,以确保从 `action_message` 字典中正确获取用户ID。

chore: 更新 .gitignore 文件

添加 `src/chat/planner_actions/新建 文本文档.txt` 到忽略列表,以避免将临时文件提交到版本库。
2025-11-19 23:00:45 +08:00
Windpicker-owo
97df1011d1 1 2025-11-19 22:59:35 +08:00
雅诺狐
fdf7c44d89 feat(sleep): 为睡眠系统添加随机时间偏移功能
- 新增每日睡眠和起床时间随机偏移量配置选项
- 实现缓存机制确保同一天内使用相同的偏移量
- 重构睡眠时间检查逻辑以支持动态时间偏移
- 更新相关配置类和插件清单格式
2025-11-19 22:59:03 +08:00
minecraft1024a
95d70df13a fix(chat): 处理响应数据为列表时的情况
当响应内容`data`是一个列表时,将其所有元素连接成一个字符串,以避免在后续处理中因类型不匹配而引发的错误。
2025-11-19 22:58:43 +08:00
Windpicker-owo
35472fe86b ruff 2025-11-19 22:54:16 +08:00
雅诺狐
ce5c6b151c Add Bilibili video analysis plugin
Introduced a new 'bilibli' plugin for Bilibili video parsing and AI-based content analysis. Added plugin manifest, base module for video info retrieval and analysis, and plugin integration with tool registration. Updated .gitignore to include the new plugin directory.
2025-11-19 22:53:59 +08:00
Windpicker-owo
e71cc44e18 至少让插件跑起来了 2025-11-19 22:49:30 +08:00
雅诺狐
3757d444bf 更新示例 2025-11-19 22:49:11 +08:00
雅诺狐
7f35a84743 更新 2025-11-19 22:46:18 +08:00
雅诺狐
34252ea4a0 refactor: 清理代码质量和移除未使用文件
- 移除未使用的导入语句和变量
- 修复代码风格问题(空格、格式化等)
- 删除备份文件和测试文件
- 改进异常处理链式调用
- 添加权限系统数据库模型和配置
- 更新版本号至6.4.4
- 优化SQL查询使用正确的布尔表达式
2025-11-19 22:46:18 +08:00
雅诺狐
31e028ab25 Refactor anti-injection system into modular subpackages
Split the anti-prompt-injector module into core, processors, management, and decision submodules for better maintainability and separation of concerns. Moved and refactored detection, shielding, statistics, user ban, message processing, and counter-attack logic into dedicated files. Updated imports and initialization in __init__.py and anti_injector.py to use the new structure. No functional changes to detection logic, but code organization is significantly improved.
2025-11-19 22:45:01 +08:00
tt-P607
fa32f48847 chore: 更新 .gitignore 忽略插件目录 2025-11-19 22:44:58 +08:00
雅诺狐
aefb3965d4 配置未和主框架耦合,移动到外部插件目录 2025-11-19 22:44:57 +08:00
tt-P607
f47a9464eb 更新.gitgnore 2025-11-19 22:42:43 +08:00
雅诺狐
1e384b27f9 Update .gitignore and change Dockerfile workdir
Added MaiBot-dev.code-workspace to .gitignore to prevent it from being tracked. Changed the working directory in the Dockerfile from /MaiMBot to /mmc for consistency or project structure update.
2025-11-19 22:42:38 +08:00
雅诺狐
e785e1fabe Update .gitignore 2025-11-19 22:37:28 +08:00
雅诺狐
3b9f73e73b Update .gitignore 2025-11-19 22:35:37 +08:00
minecraft1024a
c2c895d3ba feat:requirements.txt中添加多个新依赖项(为了适配联网搜索和麦麦空间插件)
优化emoji_manager.py中的数据库查询代码。
2025-11-19 22:35:04 +08:00
SengokuCola
3962fc601f Update .gitignore 2025-08-13 19:19:52 +08:00
SengokuCola
41a09b39b9 fix:将s4u启用放到配置文件防止git更新 2025-08-13 19:15:17 +08:00
SengokuCola
b57671b639 fix:修复表情包描述进入prompt问题 2025-08-09 21:16:57 +08:00
UnCLAS-Prommer
3e39f5e21e template更新 2025-07-30 18:22:54 +08:00
Windpicker-owo
8131e65e9e tool支持是否启用,更人性化的直接调用 2025-07-28 22:56:52 +08:00
SengokuCola
5c97bcf083 feat:更好的配置文件更新,表达方式迁移到数据库 2025-07-16 18:13:02 +08:00
SengokuCola
7d448c5fdc feat:可接受 screen seg来读屏幕 2025-07-15 20:29:06 +08:00
SengokuCola
81c1e66867 better:重构no_reply,不再使用小模型,而是采用激活度决定是否结束等待 2025-07-11 01:23:49 +08:00
SengokuCola
bb2a95e388 feat:为s4u添加了优先队列和普通队列 2025-07-02 00:21:47 +08:00
SengokuCola
767ccd96dc fix:修改模板 2025-06-21 12:08:53 +08:00
SengokuCola
bbf6233744 update:示例插件 2025-06-19 20:23:03 +08:00
SengokuCola
cf79136ec4 fix:尝试修复豆包画图插件,添加插件toml配置文件参数,移除追踪 2025-06-16 21:58:58 +08:00
SengokuCola
517f0c29e1 fix:移动example插件位置 2025-06-15 22:44:40 +08:00
SengokuCola
8158f2cda4 fix:创建插件文件夹 2025-06-14 11:49:50 +08:00
SengokuCola
49f2e91abb fix:修复循环导入问题 2025-06-12 22:08:01 +08:00
SengokuCola
745d762dbb feat:可配置log,解决可读性问题 2025-06-12 20:13:47 +08:00
SengokuCola
c44811815a feat:统一加载插件,区分内部插件和外部插件,提供示例命令发送插件 2025-06-09 23:51:12 +08:00
SengokuCola
ad478a88b7 fix:微调了关系参 2025-06-09 19:15:39 +08:00
SengokuCola
ea8c9fe443 fix:修复被忽略的插件文件 2025-06-05 13:25:45 +08:00
SengokuCola
25711e5b88 fix:给示例插件改名 2025-06-04 12:05:13 +08:00
SengokuCola
cb05439417 feat:增加人格表达方式的多样性 2025-06-01 19:00:04 +08:00
SengokuCola
76d305696c fix:修复兴趣集未清空,模型失败导致planer失败,绘图插件配置文件问题 2025-05-29 00:44:41 +08:00
墨梓柒
d412598f75 update gitignore 2025-05-20 23:06:45 +08:00
SengokuCola
93e98a77e8 fix:启动遥测服务 2025-05-19 20:51:21 +08:00
SengokuCola
f126b6b157 Update .gitignore 2025-05-16 16:13:25 +08:00