A-Dawn
683cdf4a13
更新 A_memorix 子模块指针至 f03092a
2026-03-31 19:22:10 +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
SengokuCola
01ef29aadb
feat:重构maisaka的消息类型,添加打断功能
2026-03-30 00:45:41 +08:00
A-Dawn
ded5a7478d
merge: sync upstream/r-dev and resolve real conflicts
2026-03-24 15:36:26 +08:00
A-Dawn
308448171c
fix: convert A_memorix tree entries to submodule gitlink
2026-03-24 14:02:08 +08:00
A-Dawn
9d1977446b
feat:将A_memorix导入修改为submodule的导入方式
2026-03-24 13:45:12 +08:00
DrSmoothl
1f02171a63
Refactor plugin loader and runner to support enhanced manifest structure
...
- Updated the PluginMeta class to utilize a strongly typed PluginManifest, improving type safety and clarity.
- Refactored dependency extraction logic to streamline the handling of plugin dependencies.
- Modified the PluginLoader to accommodate new manifest versioning and validation processes.
- Enhanced the PluginRunner to work with a dictionary for external available plugins, allowing for version mapping.
- Updated built-in plugins' manifest files to version 2, adding URLs and SDK versioning for better integration and documentation.
- Improved error handling and logging for plugin loading and dependency resolution processes.
2026-03-24 12:14:59 +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
A-Dawn
a1540d7e17
feat: A_Memorix:加强严格模式、错误与删除语义
...
在 A_Memorix 中强制更严格的检索语义,并改进错误传播与删除结果报告。
强制/校验受支持的搜索模式(search/time/hybrid/episode/aggregate);移除 semantic 模式,并对不支持的模式返回明确错误。将 kernel 和 plugin 构造函数中的默认值从 hybrid 改为 search。(plugins/A_memorix/core/runtime/sdk_memory_kernel.py, plugins/A_memorix/plugin.py)
对 time/hybrid 模式要求必须提供 time_start/time_end,并在文档、快速开始和 README 中体现该语义。(plugins/A_memorix/QUICK_START.md, plugins/A_memorix/README.md)
改进删除预览/执行语义:跟踪“请求的来源”与“匹配的来源”,基于匹配/删除项计算成功状态,并返回详细计数(requested_source_count、matched_source_count、deleted_paragraph_count、error)。修复来源删除逻辑,使其基于匹配到的来源执行删除。(plugins/A_memorix/core/runtime/sdk_memory_kernel.py)
在搜索执行中移除遗留的 semantic 映射,并规范化 query_type 处理。(plugins/A_memorix/core/utils/search_execution_service.py)
向调用方传播后端搜索错误:为 MemorySearchResult 增加 success/error 字段,兼容多种运行时响应封装,并在异常时返回失败结果。更新调用方以处理并报告搜索失败。(src/services/memory_service.py, src/plugin_runtime/capabilities/data.py, src/chat/brain_chat/PFC/pfc_KnowledgeFetcher.py, src/memory_system/retrieval_tools/query_long_term_memory.py)
2026-03-19 15:38:36 +08:00
DawnARC
71b3a828c6
添加 A_Memorix 插件 v2.0.0(包含运行时与文档)
...
引入 A_Memorix 插件 v2.0.0:新增大量运行时组件、存储/模式更新、检索能力提升、管理工具、导入/调优工作流以及相关文档。关键新增内容包括:lifecycle_orchestrator、SDKMemoryKernel/运行时初始化器、新的存储层与 metadata_store 变更(SCHEMA_VERSION v8)、检索增强(双路径检索、图关系召回、稀疏 BM25),以及多种工具服务(episode/person_profile/relation/segmentation/tuning/search execution)。同时新增 Web 导入/摘要导入器及大量维护脚本。还更新了插件清单、embedding API 适配器、plugin.py、requirements/pyproject,以及主入口文件,使新插件接入项目。该变更为 2.0.0 版本发布做好准备,实现统一的 SDK Tool 接口并扩展整体运行能力。
2026-03-19 00:09:04 +08:00
DawnARC
999e7246e2
feat:新增 A_Memorix 记忆插件
...
引入 A_Memorix 插件(v2.0.0)——一个轻量级的长期记忆提供器。新增插件清单(manifest)和入口(AMemorixPlugin),并提供完整的核心能力:嵌入(基于哈希的 EmbeddingAPIAdapter、EmbeddingManager、预设)、检索(双路径检索器、PageRank、图关系召回、BM25 稀疏索引、阈值与融合配置)、存储与元数据层,以及大量实用工具和迁移/转换脚本。同时更新 .gitignore 以允许 /plugins/A_memorix。该变更为在宿主应用中实现统一的记忆摄取、检索、分析与维护奠定了基础。
2026-03-18 21:33:15 +08:00
DrSmoothl
262efa2302
feat: 优化表情包插件和 TTS 插件的异步调用,简化错误处理逻辑
2026-03-13 16:31:59 +08:00
DrSmoothl
a576313b22
Ruff Format
2026-03-13 11:45:26 +08:00
DrSmoothl
ce8d8dfd0a
重构整个插件系统,尝试恢复可启动性,新增插件系统maibot-plugin-sdk依赖
2026-03-07 19:40:51 +08:00
DrSmoothl
6378bb2052
fix Ruff
2026-02-21 16:29:30 +08:00
DrSmoothl
eaef7f0e98
Ruff Format
2026-02-21 16:24:24 +08:00
UnCLAS-Prommer
77725ba9d8
逐步适配新的config
2026-01-15 23:51:19 +08:00
SengokuCola
67c24f84cd
feat:日志上线数量可更改
2025-12-31 00:07:55 +08:00
SengokuCola
4bf72e260c
fix:生成api没有开始时间戳
2025-12-22 23:27:50 +08:00
CharTyr
b2ac055921
feat: vendor MCPBridgePlugin v2.0.0
...
- Update built-in MCP bridge plugin to v2.0.0 (Claude mcpServers config)\n- Preserve Workflow (toolchains) + ReAct dual-track\n- Fix WebUI status display persistence and reduce workflow registration noise\n- Default plugin disabled in WebUI\n- Add CHANGELOG.md and refactor docs; remove test scripts
2025-12-20 01:56:18 +00:00
墨梓柒
e680a4d1f5
Ruff format
2025-12-13 17:14:09 +08:00
SengokuCola
1ca27815cd
fix;mcp默认不启用
2025-12-06 00:59:32 +08:00
SengokuCola
1aaf129d46
re:以直接代码而不是submodule形式添加内置插件
2025-12-06 00:50:23 +08:00
CharTyr
829fe9de79
feat: 新增 MCP 桥接插件
...
将 MCP (Model Context Protocol) 服务器的工具桥接到 MaiBot
功能特性:
- 支持 stdio/SSE/HTTP/Streamable HTTP 四种传输方式
- 心跳检测与自动重连
- 工具调用缓存、追踪、权限控制
- 配置导入导出(兼容 Claude Desktop)
- WebUI 完整配置支持
- 断路器模式,故障快速失败
默认禁用,用户需在 WebUI 手动启用
2025-12-03 14:53:28 +00:00
墨梓柒
513182067d
feat: 优化任务调度和插件管理,支持路径规范化及插件 ID 自动生成
2025-11-24 21:29:04 +08:00
墨梓柒
7839acd25d
Ruff fix
2025-11-13 13:24:55 +08:00
SengokuCola
837ecf702b
remove:无用代码
2025-11-10 12:46:27 +08:00
SengokuCola
7a3f260cc3
feat:添加ReAct记忆提取系统
2025-11-09 14:02:29 +08:00
SengokuCola
1d8b7aa805
update:修改版本号,修改默认max_token,修改hangelog
2025-10-27 16:07:54 +08:00
SengokuCola
36d95848d1
feat:内置频率调整,减轻Planner负担
2025-10-14 13:17:08 +08:00
SengokuCola
cb500e069a
better:优化了表达方式采样
2025-10-14 12:36:23 +08:00
SengokuCola
ae4966e2b7
rename
2025-10-11 23:52:11 +08:00
SengokuCola
26e2cf0858
update:内置better_frequency
2025-10-11 23:48:56 +08:00
SengokuCola
92e90a0bee
feat:添加频率精准控制,移除s4u代码,优化tool返回值
2025-10-02 01:19:05 +08:00
SengokuCola
9781b5f09c
feat:一些小改动
2025-09-30 15:41:13 +08:00
SengokuCola
cec2c1830e
Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev
2025-09-28 02:04:49 +08:00
SengokuCola
0cd39476d8
feat:新的记忆系统,deepthink插件,修复平行动作
2025-09-28 02:03:43 +08:00
墨梓柒
e9a5488b62
Ruff Fix
2025-09-28 00:02:18 +08:00
SengokuCola
1c37dd46e8
better:完善表情包管理插件
...
修复一些问题
Update emoji_api.py
2025-09-24 20:30:46 +08:00
SengokuCola
0964676bfb
fix:表情包管理插件可工作
2025-09-24 17:32:47 +08:00
UnCLAS-Prommer
174cbbf2a4
giving example
2025-09-24 16:25:02 +08:00
SengokuCola
dff75142ec
feat:添加内置emoji管理插件
2025-09-24 16:13:43 +08:00
SengokuCola
a932ca695a
feat:将relation获取变为工具
2025-09-17 21:17:52 +08:00
UnCLAS-Prommer
88eb5cd40d
events系统大体完成
2025-09-17 16:17:35 +08:00
UnCLAS-Prommer
1260a11b78
fix typing of utils_model.py
2025-09-17 15:59:02 +08:00
UnCLAS-Prommer
48ed58c4a8
合并消息的正确存储
2025-09-15 15:21:37 +08:00
UnCLAS-Prommer
ab64eee343
action, command, event_handler易用方法更新,增加语音,混合,转发消息的发送
2025-09-14 00:14:01 +08:00
UnCLAS-Prommer
5eaaaacbe9
插件更新
2025-09-07 01:15:35 +08:00
UnCLAS-Prommer
8a55e14aa4
events主体框架完成
2025-08-27 21:51:29 +08:00
UnCLAS-Prommer
44f53213af
fix typing
2025-08-03 13:08:28 +08:00