Commit Graph

5 Commits

Author SHA1 Message Date
qianlifeng 62fdd3b7c7
feat(mru): Enhance nodejs/python plugin API with MRU restore functionality and dynamic setting improvements
- Updated API interface to support dynamic settings returning PluginSettingDefinitionItem.
- Implemented MRU restore callback in both Node.js and Python plugin hosts.
- Added MRUData model for handling most recently used data.
- Enhanced setting models to include new types and helper functions for creating settings.
- Updated package dependencies for Node.js and Python plugins to the latest versions.
2025-07-30 21:22:37 +08:00
qianlifeng 734d0f0830
refactor(setting): unify setting store architecture and introduce type-safe value wrappers
- Split Store into separate WoxSettingStore and PluginSettingStore with unified SettingStore interface
- Introduce SettingValue[T] and WoxSettingValue[T] generic wrappers for type-safe setting access
- Refactor PluginSetting to use PluginSettingValue[T] wrappers instead of direct field access
- Remove redundant plugin_setting_test.go and consolidate setting management logic
- Update plugin API, manager, and UI components to work with new setting architecture
- Simplify setting store operations and improve separation of concerns between core and plugin settings

This refactoring provides better type safety, cleaner separation between different setting types,
and a more maintainable architecture for future setting system enhancements.
2025-07-17 21:06:31 +08:00
qianlifeng 1657a44f19
feat(chat): Delay MCP servers reload to avoid websocket initialization race condition
* Introduced a delay before reloading MCP servers to ensure the websocket server is ready.
* This change prevents potential race conditions during initialization.
2025-06-09 09:58:24 +08:00
qianlifeng ccfdbc5e4a
Refactor plugin host 2024-12-22 22:24:04 +08:00
qianlifeng 975b268f9b
Replace justfile with makefile and unify project naming 2024-12-19 23:12:38 +08:00