mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-04 06:31:13 +00:00
Enhanced setPluginStatus to support enabling/disabling plugins by both package name and dirname, improving robustness when plugins are not loaded. Also removed redundant directory name matching logic from findDirnameById in the web UI backend. Register plugin after installation in PluginStore Adds logic to immediately register a plugin with the plugin manager after installation, both in the standard and SSE install handlers. This ensures newly installed plugins are available without requiring a restart or manual reload. Refactor plugin path handling in plugin manager Simplifies plugin directory and data path resolution by using pluginPath from the plugin context instead of fileId. Streamlines plugin uninstall and reload logic, removing redundant file system scans and improving code clarity. Refactor plugin API to use package id and improve UX Standardized plugin management APIs and frontend to use 'id' (package name) instead of ambiguous 'name' or 'filename'. Added support for a 'plugin' display field in package.json and improved plugin store UI to show install/update status. Refactored backend and frontend logic for enabling, disabling, uninstalling, and configuring plugins to use consistent identifiers, and enhanced type definitions and documentation for better maintainability. |
||
|---|---|---|
| .. | ||
| napcat-common | ||
| napcat-core | ||
| napcat-develop | ||
| napcat-framework | ||
| napcat-image-size | ||
| napcat-napi-loader | ||
| napcat-native | ||
| napcat-onebot | ||
| napcat-plugin-builtin | ||
| napcat-protobuf | ||
| napcat-pty | ||
| napcat-qrcode | ||
| napcat-schema | ||
| napcat-shell | ||
| napcat-shell-loader | ||
| napcat-test | ||
| napcat-types | ||
| napcat-universal | ||
| napcat-vite | ||
| napcat-webui-backend | ||
| napcat-webui-frontend | ||