Commit Graph

404 Commits

Author SHA1 Message Date
春河晴
b28c2dbc42 remove .txt ext of prompt 2026-03-13 01:00:15 +09:00
春河晴
c9bfedddd2 i18n: localize prompt templates with crowdin 2026-03-13 00:09:08 +09:00
SengokuCola
16f115bfac refactor: 移除无用文件 2026-03-12 19:50:32 +08:00
UnCLAS-Prommer
ff4de39c8b expressionLearner重构 2026-03-12 19:50:32 +08:00
UnCLAS-Prommer
f17b85c1bd 移除chat_message_builder 2026-03-12 19:50:32 +08:00
春河晴
c470fdfd1e i18n: crowdin integration 2026-03-12 17:23:17 +09:00
UnCLAS-Prommer
8b9cda4296 Final Commit Before Rdev 2026-03-11 20:18:30 +08:00
UnCLAS-Prommer
9fbb733e0a MessageUtils更新 2026-03-11 20:18:30 +08:00
UnCLAS-Prommer
9e2afaf6bc TempUpdate 2026-03-11 20:18:30 +08:00
UnCLAS-Prommer
46cb0278d7 HFC基本重构框架和TODO 2026-03-11 20:18:30 +08:00
UnCLAS-Prommer
cd81f943e3 炸掉 2026-03-10 13:45:57 +08:00
DrSmoothl
ce8d8dfd0a 重构整个插件系统,尝试恢复可启动性,新增插件系统maibot-plugin-sdk依赖 2026-03-07 19:40:51 +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
UnCLAS-Prommer
8712fc0d05 移除多余内容 2026-03-06 23:07:31 +08:00
UnCLAS-Prommer
c2b75a03d7 数据库模型字段添加;数据模型添加;utils_message传参控制 2026-03-06 22:45:47 +08:00
DrSmoothl
34bd115fa1 efactor(network): centralize port validation and enforce strict configured ports
add a shared port checker utility for availability and conflict detection
migrate WebUI, message server, and additional API server to use the new module
fail fast with clear error hints when a configured port is occupied (no auto-increment)
2026-03-04 22:14:53 +08:00
UnCLAS-Prommer
d03dc3601e 消息构建器:将消息转换为可读消息;其对应的测试文件 2026-03-04 21:01:51 +08:00
UnCLAS-Prommer
c16ced765e 适配db的修改;MessageComponent更新 2026-03-02 20:37:15 +08:00
UnCLAS-Prommer
3f93d93b9a 补上default 2026-03-02 20:34:52 +08:00
UnCLAS-Prommer
0751ac5066 Merge branch 'r-dev' of github.com:Mai-with-u/MaiBot into r-dev 2026-03-02 17:23:45 +08:00
UnCLAS-Prommer
e200b5b581 给Expression系统的一些准备文件 2026-03-02 17:18:13 +08:00
DrSmoothl
416bf36f1a refactor(database_model): replace Literal with Enum for modified_by field 2026-02-28 22:47:40 +08:00
UnCLAS-Prommer
c58da95353 链式调用构建消息 2026-02-28 16:54:38 +08:00
UnCLAS-Prommer
78983c4ed8 expression 2026-02-28 15:57:44 +08:00
UnCLAS-Prommer
b9faed4924 拆分新的utils 2026-02-27 22:07:26 +08:00
UnCLAS-Prommer
a8e8f6b7b3 HFC对应修改(部分) 2026-02-24 15:59:35 +08:00
UnCLAS-Prommer
0d07e85434 全新的process方法完成(Message其他部分仍未完成);对应测试;调整部分注释;数据库检索优化 2026-02-23 21:29:17 +08:00
UnCLAS-Prommer
37f8c923c1 ChatSession(原ChatStream)与ChatManager;由于功能简单,测试略 2026-02-22 22:26:28 +08:00
UnCLAS-Prommer
04a5bf3c6d Merge branch 'r-dev' of github.com:Mai-with-u/MaiBot into r-dev 2026-02-21 23:50:53 +08:00
UnCLAS-Prommer
8674f50d90 PersonInfo相关提交,添加注释,重命名文件 2026-02-21 23:50:18 +08:00
DrSmoothl
eaef7f0e98 Ruff Format 2026-02-21 16:24:24 +08:00
UnCLAS-Prommer
119241f251 PersonInfoModel; 修改部分方法参数和部分文件位置;移除多余文件;炸毁可启动性 2026-02-21 15:54:03 +08:00
UnCLAS-Prommer
1c0580c577 ImageManager及测试 2026-02-19 19:02:44 +08:00
UnCLAS-Prommer
537b24c24e 获取和注册一体化修正 2026-02-18 21:34:56 +08:00
UnCLAS-Prommer
ccd1be7bed Merge branch 'r-dev' of github.com:Mai-with-u/MaiBot into r-dev 2026-02-18 16:00:58 +08:00
UnCLAS-Prommer
c9f72f7f2f 修改部分字段含义,维护缓存 2026-02-18 16:00:45 +08:00
DrSmoothl
f66e25b1a7 fix(webui): fix missing imports and create toml_utils module
- Create src/common/toml_utils.py with TOML utility functions
- Fix APIAdapterConfig → ModelConfig in config.py (4 locations)
- Fix git_mirror_service import path in plugin.py
- Fix emoji.py type annotations and unused imports
- Fix jargon.py comment (ChatStreams → ChatSession)
- All routers now import successfully
- Zero Peewee remnants verified across src/webui/
2026-02-17 20:19:37 +08:00
UnCLAS-Prommer
75e154741d 方法名调整;确保公共属性被定义 2026-02-15 22:56:26 +08:00
UnCLAS-Prommer
6dc33e9e86 提取一些公共方法 2026-02-15 00:18:16 +08:00
UnCLAS-Prommer
6db889580d 方便消息格式检查的property 2026-02-14 23:52:58 +08:00
UnCLAS-Prommer
daad0ba2f0 从maim_message的序列化和反序列化;更多消息组件 2026-02-14 16:19:56 +08:00
UnCLAS-Prommer
c0c003a098 更舒适的颜色配置方案,真彩色支持 2026-02-14 16:19:04 +08:00
DrSmoothl
16b16d2ca6 重构绝大部分模块以适配新版本的数据库和数据模型,修复缺少依赖问题,更新 pyproject 2026-02-13 20:39:11 +08:00
UnCLAS-Prommer
c14736ffca 更好更规范的类型注解;AGENTSMD试作 2026-02-13 16:24:03 +08:00
UnCLAS-Prommer
b80b5afe2a 先推上去 2026-02-13 15:45:38 +08:00
UnCLAS-Prommer
26b8f56251 移除不必要属性,修改一个方法为非协程 2026-02-13 15:37:49 +08:00
UnCLAS-Prommer
14f6fdb2b2 解决潜在的存储错误 2026-02-13 15:25:18 +08:00
UnCLAS-Prommer
b9f3c17e14 合并到远程 2026-02-13 13:41:58 +08:00
DrSmoothl
60f76e4d4e 添加对 peewee 的旧数据库的兼容层,初步重构插件的 database API 2026-02-09 22:44:56 +08:00
UnCLAS-Prommer
049027a48f maim_message强制版本要求;忽略APIServer下乱七八糟的类型注解和Patch 2026-02-05 16:53:48 +08:00