Commit Graph

5309 Commits

Author SHA1 Message Date
春河晴
d01abd893d update dummy crowdin.yml 2026-03-12 17:32:10 +09:00
春河晴
f4cf0f35d5 Merge remote-tracking branch 'origin/r-dev' into r-dev 2026-03-12 17:24:44 +09:00
春河晴
27d334df08 i18n: wire startup and config messages 2026-03-12 17:24:37 +09:00
春河晴
c470fdfd1e i18n: crowdin integration 2026-03-12 17:23:17 +09:00
晴猫
d0555f545b Merge pull request #1527 from Mai-with-u/quick-alog-for-macOS
fix: adjust quick-algo installation hints for macOS
2026-03-12 17:15:26 +09:00
SengokuCola
33c5cb57ad fix:修复maisaka调用Prompt的问题 2026-03-12 00:24:38 +08:00
SengokuCola
664f900f43 ref:让MaiSaka使用麦麦原有的pompt系统,配置系统 2026-03-11 21:25:35 +08:00
SengokuCola
6c32d17e21 feat:加入MaiSaKa(MaiBaKa?(MaiZako?)) 2026-03-11 21:07:58 +08:00
SengokuCola
8f13c4804b remove:移除表达反思功能 2026-03-11 20:52:54 +08:00
UnCLAS-Prommer
8b9cda4296 Final Commit Before Rdev 2026-03-11 20:18:30 +08:00
UnCLAS-Prommer
e1e296491c TODO 标记 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
SengokuCola
045bd5e183 remove:移除传统记忆模式,默认开启lpmm模式 2026-03-11 18:20:34 +08:00
SengokuCola
788de70450 remove:移除做梦功能 2026-03-11 14:49:37 +08:00
DrSmoothl
69219e36f7 Refactor protocol and transport modules to use type hints for improved clarity and consistency
- Updated Codec class to use abstract methods for encoding and decoding envelopes.
- Changed Envelope class to use Dict and Optional for payload and error fields.
- Refined error handling in RPCError class with Optional type hints for details.
- Enhanced manifest validation logic with type hints for better type safety.
- Improved plugin loading mechanism with consistent type annotations.
- Updated RPCClient to utilize Optional for codec and connection attributes.
- Refactored transport classes to use Optional for server attributes and socket paths.
2026-03-11 00:07:13 +08:00
DrSmoothl
7f1e79ea28 feat: 添加旧版插件兼容性支持,确保旧版插件能够正常加载 2026-03-10 13:48:24 +08:00
UnCLAS-Prommer
e437468444 final commit 2026-03-10 13:48:24 +08:00
UnCLAS-Prommer
aaf1c9ed40 更严厉测试 2026-03-10 13:48:24 +08:00
UnCLAS-Prommer
cd81f943e3 炸掉 2026-03-10 13:45:57 +08:00
UnCLAS-Prommer
3ea14a85c3 测试简化 2026-03-09 15:08:42 +08:00
DrSmoothl
dfa944b368 feat: 添加 _ready_event 以确保文件监视器在启动时准备就绪,优化监控逻辑 2026-03-09 15:04:58 +08:00
DrSmoothl
7e2ab0d71d feat(test): 移除 FileWatcher 中的 force_polling 参数,并添加等待时间以确保 watcher 建立基线 2026-03-09 14:57:59 +08:00
DrSmoothl
426cbc6190 feat(test): 在 FileWatcher 中添加 force_polling 参数以增强文件监控功能 2026-03-09 14:42:03 +08:00
DrSmoothl
5b7945ac7b feat: 添加 _wait_for 辅助函数以优化测试中的等待逻辑,调整 FileWatcher 的防抖设置 2026-03-09 14:35:54 +08:00
UnCLAS-Prommer
fbf946b352 更严厉测试 2026-03-08 17:26:51 +08:00
DrSmoothl
d0840db2a5 refactor: remove RuleEditor, RuleList, RulePreview, TimeRangePicker, and VoiceSection components
- Deleted RuleEditor.tsx, RuleList.tsx, RulePreview.tsx, TimeRangePicker.tsx, and VoiceSection.tsx as part of a cleanup.
- Updated index.ts to remove imports related to deleted components.
- Modified types.ts and model.tsx to accommodate changes in task configuration structure.
- Introduced new types for TargetItem and LearningItem to enhance type safety.
- Refactored ModelTaskConfig to be dynamic based on backend schema.
- Updated ModelProviderConfigPage to unwrap backend config response for better handling.
2026-03-08 00:12:10 +08:00
DrSmoothl
186073f13b feat: 添加递归转换函数以处理 TOML 文档,优化配置数据验证 2026-03-07 23:24:07 +08:00
DrSmoothl
b056ad2c34 feat: 添加动态 Tab 分组支持,优化配置界面 UI 元数据 2026-03-07 23:13:04 +08:00
DrSmoothl
d3a4e3f3e7 feat: 优先读取插件的 config_schema.json,提供富 UI 元数据支持 2026-03-07 22:31:44 +08:00
DrSmoothl
0451a7fef4 优化认证检查逻辑,确保加载状态显示在正确位置;更新配置验证逻辑,使用深拷贝确保数据完整性 2026-03-07 21:52:23 +08:00
DrSmoothl
2e4be9bd77 为 WebUI 首页支持 i18n 2026-03-07 21:32:09 +08:00
DrSmoothl
4565bd94b4 修复统计数据 API 中的数据库查询方法,优化性能和准确性 2026-03-07 21:18:36 +08:00
DrSmoothl
fe5cab9c41 修复 webui 明暗切换问题 2026-03-07 20:59:18 +08:00
DrSmoothl
3bbd812bc1 feat: 新增消息转发和混合发送能力,扩展数据库操作能力 2026-03-07 20:17:17 +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
baae2df154 feat: 集成新版本插件运行时,支持事件桥接与命令处理 2026-03-06 16:37:56 +08:00
DrSmoothl
d5cf4c9b8b refactor: 添加类型注解以增强代码可读性和类型安全 2026-03-06 12:35:31 +08:00
DrSmoothl
c6afa97060 补全新版插件系统的类型注解 2026-03-06 12:17:00 +08:00
DrSmoothl
1cd366bc09 refactor: 优化代码结构,简化条件判断和异常处理 2026-03-06 12:00:00 +08:00
DrSmoothl
2f21cd00bc feat: Enhance plugin runtime with new component registry and workflow executor
- Introduced `ComponentRegistry` for managing plugin components with support for registration, enabling/disabling, and querying by type and plugin.
- Added `EventDispatcher` to handle event distribution to registered event handlers, supporting both blocking and non-blocking execution.
- Implemented `WorkflowExecutor` to manage a linear workflow execution across multiple stages, including command routing and error handling.
- Created `ManifestValidator` for validating plugin manifests against required fields and version compatibility.
- Updated `RPCClient` to use `MsgPackCodec` for message encoding.
- Enhanced `PluginRunner` to support lifecycle hooks for plugins, including `on_load` and `on_unload`.
- Added sys.path isolation to restrict plugin access to only necessary directories.
2026-03-06 11:55:59 +08: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
10d5c81268 feat: 添加 .coderabbit.yaml 配置文件以支持代码检查和格式化 2026-03-06 00:49:02 +08:00
DrSmoothl
8f41e25696 fix(dashboard): resolve TS build errors in a11y changes
- Fix duplicate className attr in EmojiDialogs.tsx
- Replace animated.div with animated('div') in expression-reviewer and zoomable-chart to fix React 19 children type error
- Fix malformed i18n JSON (a11y namespace was outside root object)
2026-03-05 22:10:32 +08:00
DrSmoothl
e3cfca17a6 chore: add bunfig.toml and remove package-lock.json 2026-03-05 21:57:43 +08:00
DrSmoothl
c658b2314d feat(a11y): apply ARIA roles, landmarks, focus management, touch targets and contrast fixes across components 2026-03-05 21:57:36 +08:00