SengokuCola
87bdb1f12a
feat;replyer采用多模态
2026-04-03 23:47:19 +08:00
SengokuCola
8255b13cea
Merge branch 'r-dev' of https://github.com/Mai-with-u/MaiBot into r-dev
2026-04-03 22:42:29 +08:00
SengokuCola
07597bc1d7
feat:新增sub_agent,暂时用于emoji选择;修改部分配置位置
2026-04-03 21:57:35 +08:00
DawnARC
291420b7c7
merge: 同步 upstream/r-dev 并解决冲突
2026-04-03 19:56:45 +08:00
SengokuCola
6c720e0403
ref:重构maisaka内置工具逻辑,拆分文件
2026-04-03 14:51:05 +08:00
SengokuCola
6e6aa0b13a
feat:生成器可用多消息模式
2026-04-03 13:43:49 +08:00
DrSmoothl
aea87e18f1
feat: enhance bot configuration with new sections and JSON field hooks
...
- Added support for new configuration sections: relationship, database, maisaka, mcp, and plugin_runtime.
- Introduced complex field hooks for handling JSON configurations in chat talk value rules, expression learning lists, and more.
- Updated the field hooks to include schema metadata for better UI representation.
- Refactored the bot configuration page to utilize a more dynamic approach for managing section values and state.
- Improved the configuration schema generation to ensure all top-level sections have UI metadata.
- Added tests to validate the new configuration schema and ensure proper functionality of the JSON field hooks.
2026-04-03 02:46:07 +08:00
DrSmoothl
4ec06ece56
feat: add plugin dependency pipeline and HTML rendering service
...
- Implemented a new dependency pipeline for plugins to manage Python package dependencies, including conflict detection and automatic installation of missing dependencies.
- Introduced an HTML rendering service that utilizes existing browsers to render HTML content as PNG images, with support for various configurations and error handling.
2026-04-03 01:48:23 +08:00
SengokuCola
56f7184c4d
feat:聊天特定的额外prompt支持
2026-04-01 20:14:31 +08:00
SengokuCola
cecc58a9e7
feat:使用url阅览图片,标记表情包类消息
2026-04-01 16:21:30 +08:00
SengokuCola
5b92942194
feat:修改图片展示模式,合并no_reply和stop
2026-04-01 14:26:03 +08:00
A-Dawn
bf5eb45709
Merge remote-tracking branch 'upstream/r-dev' into r-dev
...
# Conflicts:
# src/memory_system/chat_history_summarizer.py
# src/memory_system/memory_retrieval.py
# src/memory_system/retrieval_tools/__init__.py
2026-04-01 14:20:22 +08:00
SengokuCola
503a257d66
remove:无用配置
2026-04-01 13:06:01 +08:00
A-Dawn
ea9a1b5802
Merge remote-tracking branch 'upstream/r-dev' into sync/pr-1564-upstream-20260331
...
# Conflicts:
# src/chat/brain_chat/PFC/conversation.py
# src/chat/brain_chat/PFC/pfc_KnowledgeFetcher.py
# src/chat/knowledge/lpmm_ops.py
2026-03-31 10:43:55 +08:00
DrSmoothl
5ac088ded8
feat: 更新配置版本至 8.4.0,新增工具筛选相关字段和方法
2026-03-31 00:03:49 +08:00
DrSmoothl
42dbd5462a
feat(mcp_module): add hooks, host LLM bridge, and models for MCP integration
...
- Introduced MCPHostCallbacks for optional host capabilities like sampling and logging.
- Implemented MCPHostLLMBridge to handle MCP Sampling requests and bridge to LLM service.
- Created models for structured data conversion between MCP SDK and internal data models, including tool content items, prompts, and resources.
- Enhanced error handling and logging for better traceability during sampling operations.
2026-03-30 23:51:05 +08:00
DrSmoothl
abb1d071b1
feat: 重构 MCP 配置管理,移除旧配置文件,更新为使用全局配置
2026-03-30 23:32:13 +08:00
SengokuCola
82bbf0fd52
remove:移除tool_use模型,修复Jargon提取问题,修改统计为tool统计
2026-03-29 16:26:34 +08:00
SengokuCola
5876f246c0
feat:重新启用表达学习黑话学习,黑话使用和表达使用
2026-03-29 14:39:07 +08:00
SengokuCola
c545b24966
feat:优化maisak循环逻辑,分离接受和处理,移除冗余config.py
2026-03-28 15:23:38 +08:00
DrSmoothl
777d4cb0d2
feat: Enhance OpenAI compatibility and introduce unified LLM service data models
...
- Refactored model fetching logic to support various authentication methods for OpenAI-compatible APIs.
- Introduced new data models for LLM service requests and responses to standardize interactions across layers.
- Added an adapter base class for unified request execution across different providers.
- Implemented utility functions for building OpenAI-compatible client configurations and request overrides.
2026-03-26 16:15:42 +08:00
SengokuCola
a5fc4d172d
feat:提供原生vlm支持
2026-03-24 20:57:57 +08:00
SengokuCola
6cfc92e66f
feat:添加maisaka接管回复逻辑
2026-03-24 18:11:15 +08:00
Dawn ARC
863b7a5d43
Merge branch 'Mai-with-u:r-dev' into r-dev
2026-03-24 15:49:21 +08:00
SengokuCola
418a05effd
Merge branch 'r-dev' of https://github.com/Mai-with-u/MaiBot into r-dev
2026-03-24 15:42:03 +08:00
SengokuCola
37f45d48c5
feat:maisaka使用主程序的message格式,优化逻辑,移除冗余模块
2026-03-24 15:41:58 +08:00
A-Dawn
ded5a7478d
merge: sync upstream/r-dev and resolve real conflicts
2026-03-24 15:36:26 +08:00
DrSmoothl
d13767ee21
feat: Enhance plugin configuration management and SDK integration
...
- Add support for configuration reload scopes in the plugin runtime.
- Implement validation for SDK plugins to ensure required lifecycle methods are overridden.
- Update the configuration update handling to include scope information.
- Introduce tests for expression auto-check task and NapCat adapter SDK integration.
- Refactor configuration management to support callbacks with variable arguments.
- Improve plugin loading and error handling for configuration updates.
- Ensure that plugins can manage their own configuration updates effectively.
2026-03-24 12:14:58 +08:00
UnCLAS-Prommer
310d7798ba
refactor: hook_dispatcher相关的修改
2026-03-24 12:13:17 +08:00
UnCLAS-Prommer
668f41431a
移除无用配置
2026-03-24 12:13:17 +08:00
Dawn ARC
df872187d8
Merge branch 'r-dev' into r-dev
2026-03-24 10:00:58 +08:00
SengokuCola
e7ca3142e9
feat:修改maisaka
2026-03-23 17:55:39 +08:00
DawnARC
bd84e500e1
feat:新增记忆测试、检索工具与服务
...
新增完整的长期记忆支持及测试:引入中文记忆检索提示词、query_long_term_memory 检索工具、记忆服务与记忆流程服务,以及 WebUI 的记忆路由。新增大规模测试套件(包括单元测试与基准/在线测试),覆盖聊天历史摘要、知识获取器、事件(episode)生成、写回机制以及用户画像检索等功能。
更新多个模块以集成记忆检索能力(包括 knowledge fetcher、chat summarizer、memory_retrieval、person_info、config/legacy 迁移以及 WebUI 路由),并移除遗留的 lpmm 知识模块。这些变更完成了记忆运行时的接入,同时为基准测试提供嵌入适配器的 mock,并支持新测试与工具所需的导入与 episode 处理流程。
2026-03-18 21:35:17 +08:00
DrSmoothl
a576313b22
Ruff Format
2026-03-13 11:45:26 +08:00
DrSmoothl
f3270d4d41
feat: 添加插件运行时配置类,增强会话令牌管理和插件目录支持
2026-03-13 00:11:00 +08:00
春河晴
27d334df08
i18n: wire startup and config messages
2026-03-12 17:24:37 +09:00
SengokuCola
664f900f43
ref:让MaiSaka使用麦麦原有的pompt系统,配置系统
2026-03-11 21:25:35 +08:00
SengokuCola
8f13c4804b
remove:移除表达反思功能
2026-03-11 20:52:54 +08:00
SengokuCola
045bd5e183
remove:移除传统记忆模式,默认开启lpmm模式
2026-03-11 18:20:34 +08:00
SengokuCola
788de70450
remove:移除做梦功能
2026-03-11 14:49:37 +08:00
DrSmoothl
dfa944b368
feat: 添加 _ready_event 以确保文件监视器在启动时准备就绪,优化监控逻辑
2026-03-09 15:04:58 +08:00
DrSmoothl
426cbc6190
feat(test): 在 FileWatcher 中添加 force_polling 参数以增强文件监控功能
2026-03-09 14:42:03 +08:00
DrSmoothl
b056ad2c34
feat: 添加动态 Tab 分组支持,优化配置界面 UI 元数据
2026-03-07 23:13:04 +08:00
DrSmoothl
b3a81754e6
feat(config): harden file watcher hot-reload flow and add test coverage
...
refactor FileWatcher to subscription-based dispatch with path/change filters
add callback timeout, failure cooldown, auto-retry loop, and runtime stats
strengthen ConfigManager hot-reload with throttling, timeout guard, and watcher stats logging
add pytest suites for watcher behavior and config hot-reload edge cases
2026-03-04 21:39:26 +08:00
UnCLAS-Prommer
b9faed4924
拆分新的utils
2026-02-27 22:07:26 +08:00
UnCLAS-Prommer
e253a2ed2a
分离提及和at必回复
2026-02-27 16:11:47 +08:00
DrSmoothl
eaef7f0e98
Ruff Format
2026-02-21 16:24:24 +08:00
DrSmoothl
ed27217c94
feat(config): add UI metadata to all Bot config sections
...
- BotConfig: 5/5 fields (100%)
- ChatConfig: 9/9 fields (100%)
- PersonalityConfig: 8/8 fields (100%)
- MemoryConfig: 9/9 fields (100%)
- ExpressionConfig: 13/13 fields (100%)
- WebUIConfig: 8/8 fields (100%)
- DatabaseConfig: 1/1 fields (100%)
All user-facing fields now have x-widget and x-icon metadata.
Complex fields marked as 'custom' for Hook rendering.
Completes Task 9 of webui-config-visualization-refactor plan.
2026-02-17 17:35:18 +08:00
DrSmoothl
bae87d122b
feat(config): add UI metadata to ModelConfig fields
...
Add json_schema_extra UI metadata to all Model-related configuration classes:
- APIProvider (7 fields): name, base_url, api_key, client_type, max_retry, timeout, retry_interval
- ModelInfo (8 fields): model_identifier, name, api_provider, price_in, price_out, temperature, max_tokens, force_stream_mode, extra_params
- TaskConfig (5 fields): model_list, max_tokens, temperature, slow_threshold, selection_strategy
- ModelTaskConfig (9 fields): utils, replyer, vlm, voice, tool_use, planner, embedding, lpmm_entity_extract, lpmm_rdf_build
Pattern: Field(default=..., [ge/le constraints], json_schema_extra={x-widget, x-icon, [step]})
Widget types: input, slider, switch, select, custom (for complex types)
Constraints mapped: ge/le to minValue/maxValue in Schema output (Task 1d)
All 30 user-facing fields now have complete metadata coverage:
- x-widget: rendering hint for frontend
- x-icon: icon identifier from lucide-react
- Constraints: ge, le for numeric validation
Verification:
✓ All classes import successfully
✓ 100% metadata coverage on user-facing fields
✓ Config instance creation works
✓ Backward compatible with existing validation
Relates to: Task 12 (Wave 3) of webui-config-visualization-refactor
2026-02-17 17:25:48 +08:00
DrSmoothl
5879164bfe
feat(config): add UI metadata to remaining ChatConfig fields (Wave 2)
...
- plan_reply_log_max_per_chat: input widget + file-text icon
- llm_quote: switch widget + quote icon
- enable_talk_value_rules: switch widget + settings icon
- talk_value_rules: custom widget + list icon
All ChatConfig fields now have json_schema_extra metadata for complete UI visualization support.
2026-02-17 17:09:07 +08:00