Add plugin WebUI extension page and API routing support

Introduces a plugin router registry for registering plugin-specific API routes, static resources, and extension pages. Updates the plugin manager and context to expose the router, and implements backend and frontend support for serving and displaying plugin extension pages in the WebUI. Also adds a demo extension page and static resource to the builtin plugin.
This commit is contained in:
手瓜一十雪 committed 2026-01-30 12:48:24 +08:00
1 parent bb69ae6c62
commit 012c283dee
18 files changed
+1245 -23

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@
"description": "NapCat 内置插件",
"author": "NapNeko",
"dependencies": {
"napcat-types": "0.0.11"
"napcat-types": "0.0.14"
},
"devDependencies": {
"@types/node": "^22.0.1"