Commit Graph

23 Commits

Author SHA1 Message Date
qianlifeng 405346cc09
refactor(setting): refactor settings management to use a unified store interface and migrate from JSON to SQLite database
- Introduced a new `Store` struct for managing Wox settings and plugin settings with GORM.
- Implemented migration logic to transfer settings from old JSON files to the new SQLite database.
- Updated the `Value` type to handle lazy loading and persistence of setting values.
- Refactored existing settings access in the UI and other components to utilize the new store.
- Added migration tests to ensure data integrity during the transition.
- Enhanced logging for better traceability during migration and settings updates.
2025-07-17 13:53:14 +08:00
qianlifeng 345e65bdbf
refactor(ai): improve ai agent functionality
- Removed outdated rules and guidelines from the .cursor/rules directory.
- Added comprehensive coding standards for Go, Python, and Flutter, including naming conventions, error handling, and logging practices.
- Updated the Wox project structure documentation to reflect the current organization of core components, plugins, and frontend interfaces.
- Enhanced the Python plugin development guide with standards for type annotations, async programming, and API usage examples.
- Improved the Flutter UI development guide to include directory structure and UI development principles.
- Renamed and refactored agent and model handling in the AI chat system for clarity and consistency.
- Updated internationalization strings across multiple language files to support new features.
2025-04-24 21:40:59 +08:00
qianlifeng 8565f00ed2
Fix build error 2024-11-14 22:46:20 +08:00
qianlifeng fbd92202c2
Add action refresh support for Nodejs plugin 2024-10-23 22:57:49 +08:00
qianlifeng 2fa41990e4
Refactor notify api 2024-10-21 23:17:41 +08:00
qianlifeng 77692eeff1
Implement Plugin Unload Mechanism
Added callbacks for handling plugin unload events. Improved logging consistency and fixed lefthook files to handle multiple node modules paths for various architectures.
2024-07-30 20:41:19 +08:00
qianlifeng 8604794a95
Add group support for query results 2024-07-04 01:29:23 +08:00
qianlifeng cb75a8fcd1
Support plugin deeplink 2024-07-02 00:47:55 +08:00
qianlifeng 5f4f1b7988
Fix test error 2024-06-25 00:09:16 +08:00
qianlifeng 3d0e07b4b0
Add file preview support for various file types
This update adds file preview support for multiple file types in Wox. This allows users to preview images, pdfs, and markdown files directly from the Wox UI. Also, the clipboard watch interval has been reduced for better performance. Open containing folder action has been added to the file plugin for better file navigation.
2024-06-20 00:37:08 +08:00
qianlifeng 6499fcdaf9
Add uninstall doc 2024-06-06 21:43:20 +08:00
qianlifeng 49923f179d
Move some ui method to router.go 2024-05-07 23:53:24 +08:00
qianlifeng 57f7812e7f Add plugin installation and uninstallation functionality
Added methods to install and uninstall plugins in the WoxSettingController. Fixes also include updates to the Wox Api, allowing interaction with plugins. Furthermore, the pre-commit and prepare-commit-msg hooks in the .husky directory, and the Wox.Plugin.Host.Nodejs were modified. Implemented functions that respond to uncaughtExceptions and unhandledRejections, displaying appropriate error messages. All these improvements contribute to an enhanced user experience.
2024-03-29 20:19:34 +08:00
qianlifeng e4c372f18a [WIP] Improve nodejs api 2024-03-01 10:05:27 +08:00
qianlifeng d40f5e6434 Support google gemini for chatgpt plugin 2024-02-18 00:25:22 +08:00
qianlifeng ce31995e5e Fix compile error 2023-11-04 22:37:00 +08:00
qianlifeng a95f2f5edc fix #3947 that esc will not work on windows 2023-11-04 21:44:30 +08:00
qianlifeng f7f5c00b1d Add lefthook 2023-11-03 19:14:23 +08:00
qianlifeng e540f63028 Add lefthook 2023-11-03 19:12:52 +08:00
qianlifeng dea44f553b Add husky 2023-11-03 18:58:53 +08:00
qianlifeng 3228bb56df Add golang 2023-09-25 22:39:09 +08:00
qianlifeng c11f148930 Add husky 2023-09-19 00:08:34 +08:00
qianlifeng 2d4d77d192 Add husky 2023-09-18 23:21:46 +08:00