Commit Graph

24 Commits

Author SHA1 Message Date
sunbiz1024
706054dc1e 增加bot.py拉起webui的功能,.venv31已加入 .gitignore 2025-10-06 19:59:54 +08:00
sunbiz1024
9c4e5a2070 Revert "增加bot.py拉起webui进程功能"
This reverts commit 92c658de47.
2025-10-06 18:36:57 +08:00
sunbiz1024
92c658de47 增加bot.py拉起webui进程功能 2025-10-06 18:32:42 +08:00
雅诺狐
413973979c refactor(deps): 将jieba分词库替换为rjieba 2025-10-05 12:08:18 +08:00
minecraft1024a
862f0df15f 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-09-13 21:10:49 +08:00
Windpicker-owo
460a1319ce 1 2025-09-09 14:54:30 +08:00
雅诺狐
cb994a4e17 feat(sleep): 为睡眠系统添加随机时间偏移功能
- 新增每日睡眠和起床时间随机偏移量配置选项
- 实现缓存机制确保同一天内使用相同的偏移量
- 重构睡眠时间检查逻辑以支持动态时间偏移
- 更新相关配置类和插件清单格式
2025-09-07 08:20:39 +08:00
minecraft1024a
d16df808ef fix(chat): 处理响应数据为列表时的情况
当响应内容`data`是一个列表时,将其所有元素连接成一个字符串,以避免在后续处理中因类型不匹配而引发的错误。
2025-09-06 16:03:52 +08:00
Windpicker-owo
7b765d5726 ruff 2025-08-30 19:59:54 +08:00
雅诺狐
cb93b38162 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-08-30 00:26:44 +08:00
Windpicker-owo
593cf7f32a Merge origin/master into windpicker-adapter branch 2025-08-28 19:21:37 +08:00
雅诺狐
f320d1f576 更新示例 2025-08-28 13:00:32 +08:00
Windpicker-owo
441ba8f62d 至少让插件跑起来了 2025-08-26 19:52:04 +08:00
雅诺狐
8adeb4fb67 更新 2025-08-24 22:44:39 +08:00
雅诺狐
f308adcf5b refactor: 清理代码质量和移除未使用文件
- 移除未使用的导入语句和变量
- 修复代码风格问题(空格、格式化等)
- 删除备份文件和测试文件
- 改进异常处理链式调用
- 添加权限系统数据库模型和配置
- 更新版本号至6.4.4
- 优化SQL查询使用正确的布尔表达式
2025-08-24 22:11:20 +08:00
雅诺狐
d26dd0fb2a 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-08-20 14:57:37 +08:00
tt-P607
5fbeea70a8 chore: 更新 .gitignore 忽略插件目录 2025-08-20 10:41:57 +08:00
雅诺狐
0e761a5ea2 配置未和主框架耦合,移动到外部插件目录 2025-08-20 00:09:50 +08:00
tt-P607
e8e85cf83f 更新.gitgnore 2025-08-17 13:40:27 +08:00
雅诺狐
dec56949b3 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-08-17 12:16:33 +08:00
雅诺狐
69483173e6 Update .gitignore 2025-08-13 18:30:56 +08:00
雅诺狐
26039b003c Update .gitignore 2025-08-13 09:48:56 +08:00
minecraft1024a
f42d4043e4 feat:requirements.txt中添加多个新依赖项(为了适配联网搜索和麦麦空间插件)
优化emoji_manager.py中的数据库查询代码。
2025-08-11 21:45:55 +08:00
雅诺狐
ff7d1177fa 忽略文件 2025-08-11 19:32:51 +08:00