NapCatQQ/packages
手瓜一十雪 699b46acbd Improve plugin status handling and dirname lookup
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.
2026-01-29 16:42:15 +08:00
..
napcat-common Add plugin install SSE API and mirror selection UI 2026-01-27 22:51:45 +08:00
napcat-core Add payload and return schemas to OneBot actions (#1549) 2026-01-27 19:07:17 +08:00
napcat-develop Disable multi-process in development environment 2026-01-17 15:12:30 +08:00
napcat-framework Update loadQQWrapper to accept QQMainPath argument 2026-01-22 14:49:17 +08:00
napcat-image-size Refactor TypeScript configs to use shared base 2025-11-15 14:00:27 +08:00
napcat-napi-loader refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
napcat-native Update ffmpegAddon binary for darwin arm64 2026-01-22 14:53:58 +08:00
napcat-onebot Improve plugin status handling and dirname lookup 2026-01-29 16:42:15 +08:00
napcat-plugin-builtin Improve plugin status handling and dirname lookup 2026-01-29 16:42:15 +08:00
napcat-protobuf Add ESLint config and update code style 2025-11-15 16:21:59 +08:00
napcat-pty Add backend and frontend support for NapCat auto-update 2025-11-19 21:05:08 +08:00
napcat-qrcode Remove unused dependencies from package.json 2025-11-16 11:02:21 +08:00
napcat-schema 修复 OpenAPI 导出的相应接口缺失 stream 字段 2026-01-29 14:14:11 +08:00
napcat-shell feat: 修复mac问题 2026-01-22 14:42:42 +08:00
napcat-shell-loader Pass CLI args to worker and update login script example 2026-01-17 18:54:18 +08:00
napcat-test Add ESLint config and update code style 2025-11-15 16:21:59 +08:00
napcat-types Refactor type build: inline external types, simplify scripts 2026-01-29 15:27:46 +08:00
napcat-universal Refactor TypeScript configs to use shared base 2025-11-15 14:00:27 +08:00
napcat-vite feat: 优化离线重连机制,支持通过前端实现重新登录 2026-01-17 15:38:24 +08:00
napcat-webui-backend Improve plugin status handling and dirname lookup 2026-01-29 16:42:15 +08:00
napcat-webui-frontend Improve plugin status handling and dirname lookup 2026-01-29 16:42:15 +08:00