Commit Graph

26 Commits (20c9cbad3ee4017fa504d2944f5facc71ff82bca)

Author SHA1 Message Date
SengokuCola 056a909c77 feat:将是否拦截改为拦截登记 2025-12-03 09:52:23 +08:00
SengokuCola 265d946ebd feat:正确拦截消息 2025-11-26 16:09:44 +08:00
SengokuCola b2eec7d3b1 fix:修复麦麦好奇和message_api的一个错误 2025-09-30 01:29:10 +08:00
UnCLAS-Prommer 3481234d2b
数据库的信息重构为dataclass 2025-08-17 17:11:32 +08:00
SengokuCola 44fff4ed8a feat:为组件方法提供新参数,暂时解决notice问题 2025-08-15 01:24:30 +08:00
SengokuCola d67cffd953 fix ruff 2025-07-16 00:22:07 +08:00
SengokuCola a150aa7b2b feat:noreply不考虑command 2025-07-15 21:37:32 +08:00
UnCLAS-Prommer 3961fb7542 fix typo, refactor memory_system 2025-07-13 10:31:18 +08:00
UnCLAS-Prommer f890722c3d Merge branch 'dev' into plugin 2025-07-13 01:28:48 +08:00
github-actions[bot] 2d39cefce0 🤖 自动格式化代码 [skip ci] 2025-07-12 16:21:28 +00:00
UnCLAS-Prommer 7ef0bfb7c8 完成所有类型注解的修复 2025-07-13 00:19:54 +08:00
SengokuCola 8fae6272bc feat:normal可以一种简洁的方式切换到focus 2025-07-12 16:12:30 +08:00
春河晴 7b4e7b94f8
use structlog instead of loguru 2025-06-11 15:17:08 +09:00
github-actions[bot] 9965997139 🤖 自动格式化代码 [skip ci] 2025-05-15 11:04:04 +00:00
墨梓柒 a18524ce61 更新消息存储和查询逻辑,支持MongoDB风格的操作符,修改消息ID字段类型为TextField 2025-05-15 19:03:47 +08:00
墨梓柒 224c1e3fb7
Update src/common/message_repository.py
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2025-05-15 10:10:46 +08:00
墨梓柒 a88b04ab0b
Update src/common/message_repository.py
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2025-05-15 10:10:30 +08:00
github-actions[bot] fb6094d269 🤖 自动格式化代码 [skip ci] 2025-05-14 15:11:33 +00:00
墨梓柒 b84cc9240a 重构数据库交互以使用 Peewee ORM
- 更新数据库连接和模型定义,以便使用 Peewee for SQLite。
- 在消息存储和检索功能中,用 Peewee ORM 查询替换 MongoDB 查询。
- 为 Messages、ThinkingLog 和 OnlineTime 引入了新的模型,以方便结构化数据存储。
- 增强了数据库操作的错误处理和日志记录。
- 删除了过时的 MongoDB 集合管理代码。
- 通过利用 Peewee 内置的查询和数据操作方法来提升性能。
2025-05-14 22:53:21 +08:00
墨梓柒 307d5a73a6 feat: 重构数据库导入路径,移除旧的数据库模块并添加新的数据库实现 2025-05-14 19:42:53 +08:00
晴猫 45c64208b4
refactor: Clean up unused variables and improve code readability 2025-05-01 07:24:52 +09:00
晴猫 e4959f0386
ruff fix 2025-05-01 07:07:13 +09:00
晴猫 263e8d196a fix: Update type hints to use newer Python syntax
- Replace Dict, List, Optional with dict, list,  < /dev/null |  None syntax
- Fix abstract method implementation in message.py
- Improve type annotations and function return types
- Remove unreachable code in get_current_task_tool.py
- Refactor HTML elements to use style attributes

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-01 06:55:05 +09:00
晴猫 2f669c7055
QA: Update requirements and refactor message handling logic etc. 2025-05-01 05:58:18 +09:00
SengokuCola 67c8beb558 ruff:format 2025-04-21 00:44:28 +08:00
SengokuCola 4888ab65a7 better:统一化聊天记录获取和格式化接口,修改分割函数 2025-04-20 23:39:06 +08:00