Commit Graph

17 Commits

Author SHA1 Message Date
SengokuCola
b74b60cb1a feat:移除旧的maisaka cli逻辑 2026-04-03 15:31:44 +08:00
SengokuCola
6c720e0403 ref:重构maisaka内置工具逻辑,拆分文件 2026-04-03 14:51:05 +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
SengokuCola
56f7184c4d feat:聊天特定的额外prompt支持 2026-04-01 20:14:31 +08:00
SengokuCola
f2aedf7681 remove:emoji插件,修复tool被截断的问题 2026-04-01 17:06:44 +08:00
SengokuCola
cecc58a9e7 feat:使用url阅览图片,标记表情包类消息 2026-04-01 16:21:30 +08:00
SengokuCola
d713aa9576 feat:显示实时占用上下文,移除旧记忆系统 2026-04-01 13:18:17 +08:00
SengokuCola
a7310916e6 fix:表情包发送无记录,两次wait结果,notice不显示msg_id,展示每次token上下文 2026-04-01 12:36:33 +08:00
DrSmoothl
5ac088ded8 feat: 更新配置版本至 8.4.0,新增工具筛选相关字段和方法 2026-03-31 00:03:49 +08:00
DrSmoothl
abb1d071b1 feat: 重构 MCP 配置管理,移除旧配置文件,更新为使用全局配置 2026-03-30 23:32:13 +08:00
DrSmoothl
dc2bf02a42 feat: Introduce unified tooling system for plugins and MCP
- Added a new `tooling` module to define a unified model for tool declarations, invocations, and execution results, facilitating compatibility between plugins, legacy actions, and MCP tools.
- Implemented `ToolProvider` interface for various tool providers including built-in tools, MCP tools, and plugin runtime tools.
- Enhanced `MCPManager` and `MCPConnection` to support unified tool invocation and execution results.
- Updated `ComponentRegistry` and related classes to accommodate the new tool specifications and descriptions.
- Refactored existing components to utilize the new tooling system, ensuring backward compatibility with legacy actions.
- Improved error handling and logging for tool invocations across different providers.
2026-03-30 23:11:56 +08:00
DrSmoothl
898b693fe0 修复 pylance 2026-03-30 22:07:07 +08:00
DrSmoothl
e7dbaa1a70 汉化日志 2026-03-30 21:56:18 +08:00
SengokuCola
01ef29aadb feat:重构maisaka的消息类型,添加打断功能 2026-03-30 00:45:41 +08:00
SengokuCola
96844a9bf5 feat:修复一些bug 2026-03-29 18:28:56 +08:00
SengokuCola
8cb0ad3d42 ref:分离know模块和cli模块 2026-03-29 15:06:50 +08:00
SengokuCola
20bab79872 ref:移除一些荣誉模块,新建maisaka回复器 2026-03-29 01:00:43 +08:00