Commit Graph

132 Commits

Author SHA1 Message Date
Losita
1ba863d135 chore: import private baseline from gitea state 2026-05-11 19:24:06 +08:00
SengokuCola
8c73424583 feat:为webui配置名提供中文翻译,并修改优化布局 2026-05-06 15:45:50 +08:00
SengokuCola
0b2620b290 remove:移除部分max_token限制 2026-05-06 13:02:17 +08:00
DrSmoothl
623ba29347 去除锁文件不上传的 ignore 2026-05-04 18:19:01 +08:00
SengokuCola
c06a0cdc3d 移除对aGENTLITE的追踪 2026-04-28 21:28:13 +08:00
SengokuCola
b9943f1302 remove:频率插件 2026-04-17 23:16:16 +08:00
A-Dawn
459927e7c0 fix:完善Maisaka记忆写回链路
补齐聊天摘要自动写回、发送后同步与图存储清理逻辑,对齐 visual 新配置字段并补充相关回归测试,同时忽略 algorithm_redesign 设计目录。
2026-04-16 19:04:08 +08:00
SengokuCola
3b5baf901a 移除残留的KnowU系统,修复gemini请求的思考签名问题 2026-04-07 15:15:37 +08:00
DawnARC
291420b7c7 merge: 同步 upstream/r-dev 并解决冲突 2026-04-03 19:56:45 +08:00
DrSmoothl
7d0d429640 feat: Enhance plugin runtime configuration and hook management
- Added `inactive_plugins` field to `RunnerReadyPayload` and `ReloadPluginResultPayload` to track plugins that are not activated due to being disabled or unmet dependencies.
- Introduced `InspectPluginConfigPayload` and `InspectPluginConfigResultPayload` for inspecting plugin configuration metadata.
- Implemented `PluginActivationStatus` enum to better represent plugin activation states.
- Updated `_activate_plugin` method to return activation status and handle inactive plugins accordingly.
- Added hooks for send service to allow modification of messages before and after sending.
- Created new runtime routes for listing hook specifications in the WebUI.
- Refactored plugin configuration handling to utilize runtime inspection for better accuracy and flexibility.
- Enhanced error handling and logging for plugin configuration operations.
2026-04-02 21:16:31 +08:00
A-Dawn
a004c59e1e feat: 添加记忆自动化钩子与回写
在接收和发送消息时注册记忆自动化,并重构人物记忆回写逻辑以使用 memory_service.ingest_text。主要改动如下:

在接收消息时调用 memory_automation_service.on_incoming_message(bot 侧),在发送消息时调用 on_message_sent(send_service 侧),并加入安全的错误处理。
在 person_info 中,用 memory_service.ingest_text 替换手动操作 person.memory_points 的方式;新增 resolve_person_id_for_memory 辅助方法,并为回写计算一个 external_id 指纹。
扩展插件运行时的记忆搜索能力,使其支持 mode、chat_id、person_id、user_id、group_id、时间范围以及 respect_filter 选项。
改进 find_messages 的数据库会话处理,改为使用单一 session,并修复排序和过滤逻辑。
从 KnowledgeFetcher 中移除未使用的 LLMRequest 导入和初始化。
更新术语解释器(jargon explainer)的导入路径,使用新的模块位置。
更新 .gitignore 例外规则,允许特定的 pytest 数据文件被纳入版本控制。
文档小调整:明确人物事实提取规则(将直接使用的 “you” 改写为第三人称)。
2026-03-31 15:49:49 +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
5876f246c0 feat:重新启用表达学习黑话学习,黑话使用和表达使用 2026-03-29 14:39:07 +08:00
Dawn ARC
df872187d8 Merge branch 'r-dev' into r-dev 2026-03-24 10:00:58 +08:00
SengokuCola
620f682c38 Update .gitignore 2026-03-23 17:56:37 +08:00
晴猫
6a2dc6fceb fix: 修正 .gitignore 中 CLAUDE.md 的注释格式 2026-03-21 12:15:12 +09: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
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
春河晴
52e9d43a90 feat: 更新.gitignore,添加对Claude代码和OMC数据的忽略规则 2026-03-13 01:08:00 +09:00
DrSmoothl
61dc15a513 feat(plugin-runtime): add plugin isolation IPC infrastructure
- Protocol layer: Envelope model with Pydantic schema, MsgPack/JSON codecs, unified error codes
- Transport layer: cross-platform IPC abstraction with 4-byte length-prefixed framing (UDS + TCP fallback)
- Host: RPC server, policy engine, circuit breaker, capability service, supervisor with hot-reload
- Runner: RPC client, plugin loader, process entry point
- Tests: 16 passing tests covering protocol, transport, host, and E2E handshake
2026-03-06 02:01:30 +08:00
DrSmoothl
5cc34f24c0 fix(.gitignore): add dist-electron and .sisyphus to ignored files 2026-03-03 01:25:12 +08:00
DrSmoothl
b1c01d0a0c feat: add .sisyphus/ to .gitignore 2026-02-17 17:22:35 +08:00
SengokuCola
bf46d540f1 Update .gitignore 2026-02-06 23:10:59 +08:00
墨梓柒
433a4551f9 移除gitignore中的lib文件夹,上传被排除掉的前端lib文件 2026-01-21 15:41:43 +08:00
墨梓柒
812296590e 上传完整的WebUI前端仓库 2026-01-13 06:24:35 +08:00
墨梓柒
a9187dc312 feat: 添加log_viewer到.gitignore 2026-01-13 06:18:27 +08:00
Dawn ARC
20c9cbad3e Merge branch 'dev' into feat-lpmm知识库加强 2025-12-18 18:58:10 +08:00
copilot-swe-agent[bot]
0e977a73bd Fix gitignore formatting and remove irrelevant tags from dev workflow
Co-authored-by: infinitycat233 <103594839+infinitycat233@users.noreply.github.com>
2025-12-08 04:01:03 +00:00
copilot-swe-agent[bot]
4c3e16eace Remove actionlint binary and add to gitignore
Co-authored-by: infinitycat233 <103594839+infinitycat233@users.noreply.github.com>
2025-12-08 03:59:23 +00:00
SengokuCola
8d7d7f0fb2 Update .gitignore 2025-12-06 00:44:47 +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
SengokuCola
804be2fa96 feat:记忆查询能力提升 2025-11-28 13:33:56 +08:00
墨梓柒
fe042c2c5f feat:将result.json添加到.gitignore文件中 2025-11-25 14:27:27 +08:00
SengokuCola
b684a95fbc feat:升级jargon,提取更快速,更精准 2025-11-25 01:58:31 +08:00
SengokuCola
142b6efe0b rename:改一下docs名称方便更新文档
rename:改一下docs名称方便更新文档
2025-11-20 20:18:04 +08:00
墨梓柒
85c1d938ee 添加 cloudflare-workers 到 .gitignore 2025-11-20 14:22:19 +08:00
墨梓柒
e57a996626 upload WebUI 0.1.1 Beta DashBoard after Build Files 2025-11-17 17:22:57 +08:00
墨梓柒
cae61281a0 feat: 添加 WebUI 模块及相关 API 路由和 Token 管理功能 2025-11-14 23:31:53 +08:00
SengokuCola
fd19170543 better:美化统计界面 2025-11-10 22:13:25 +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
958d6e04ee feat:表达方式更新,现在会训练朴素贝叶斯模型来预测使用什么表达 2025-10-11 02:03:03 +08:00
UnCLAS-Prommer
817c4183bf 精简依赖 2025-10-07 23:50:18 +08:00
SengokuCola
92e90a0bee feat:添加频率精准控制,移除s4u代码,优化tool返回值 2025-10-02 01:19:05 +08:00
SengokuCola
993f85bfeb feat:情绪可开关,默认关 2025-09-30 17:57:54 +08:00
SengokuCola
e2310de6b5 feat:新增麦麦好奇功能,优化记忆构建 2025-09-29 23:46:49 +08:00
SengokuCola
0cd39476d8 feat:新的记忆系统,deepthink插件,修复平行动作 2025-09-28 02:03:43 +08:00
SengokuCola
dff75142ec feat:添加内置emoji管理插件 2025-09-24 16:13:43 +08:00
SengokuCola
3962fc601f Update .gitignore 2025-08-13 19:19:52 +08:00
SengokuCola
41a09b39b9 fix:将s4u启用放到配置文件防止git更新 2025-08-13 19:15:17 +08:00