mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-01-17 13:50:36 +00:00
Introduces a persistent plugins.json config to track enabled/disabled status for plugins, updates the plugin manager to respect this config when loading plugins, and adds API and frontend support for toggling plugin status. The backend now reports plugin status as 'active', 'stopped', or 'disabled', and the frontend displays these states with appropriate labels. Also updates the built-in plugin package.json with author info.
17 lines
328 B
JSON
17 lines
328 B
JSON
{
|
|
"name": "napcat-plugin-builtin",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"main": "index.mjs",
|
|
"description": "NapCat 内置插件",
|
|
"author": "NapNeko",
|
|
"dependencies": {
|
|
"napcat-onebot": "workspace:*"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.1"
|
|
},
|
|
"scripts": {
|
|
"build": "vite build"
|
|
}
|
|
} |