Commit Graph

9 Commits

Author SHA1 Message Date
whatevertogo
b0f13a00a6 feat: 添加旧版插件兼容测试及相关配置文件 2026-03-13 06:41:27 +08:00
whatevertogo
a93f267d8a feat(loader): enhance plugin import handling and legacy compatibility
- Updated `import_string` to evict conflicting cached top-level plugin packages, ensuring proper isolation of plugins with the same package names.
- Preserved the order of legacy handler declarations in `_iter_discoverable_names` to maintain expected behavior for legacy plugins.
- Added tests to verify the isolation of top-level packages and the preservation of handler declaration order.
- Improved module cleanup in tests to prevent conflicts between plugins.
2026-03-13 06:32:26 +08:00
whatevertogo
4b6e20468b feat: 更新文档和代码,优化运行时模块的导出,确保高级原语的稳定性和兼容性 2026-03-13 06:23:00 +08:00
whatevertogo
9c5ecf0a13 feat: Enhance plugin capability support and legacy compatibility
- Introduced LoadedCapability class to manage plugin capabilities.
- Updated load_plugin function to discover and load capabilities alongside handlers.
- Enhanced Peer class to handle remote provided capabilities during initialization.
- Added tests for capability registration and invocation in legacy plugins.
- Improved MessageChain and message component handling in legacy plugins.
- Added comprehensive tests for legacy plugin integration and compatibility.
- Updated protocol messages to include provided capabilities in initialization.
- Enhanced top-level module imports to include capability-related functions.
2026-03-13 06:16:57 +08:00
united_pooh
166bf4254c feat: restore independent plugin workers 2026-03-11 23:10:02 +08:00
Soulter
9e6888201a feat: add conversation management features and enhance message handling in the API 2025-11-17 11:01:31 +08:00
Soulter
363fda5a69 feat: enhance context management with component registration and RPC function handling 2025-11-11 20:22:13 +08:00
Soulter
70dbe2a567 refactor: streamline context management and websocket server setup; remove deprecated start_server module 2025-11-11 19:02:55 +08:00
Soulter
67cc4c5715 refactor: remove unused hello command, echo listener, and related tools; add CLI and context enhancements 2025-11-11 17:22:03 +08:00