NapCatQQ/packages/napcat-plugin-builtin
手瓜一十雪 a5769b6a62 Expose plugin pages at /plugin/:id/page/:path
Add a public route to serve plugin extension pages without auth and update related pieces accordingly. Backend: register GET /plugin/:pluginId/page/:pagePath to locate the plugin router, validate page and HTML file existence, and send the file (returns appropriate 4xx/5xx errors). Frontend: switch iframe and new-window URLs to the new unauthenticated route (remove webui_token usage). Builtin plugin: clarify page registration comment and add a log line for the extension page URL. Minor formatting whitespace tweaks in plugin manager type annotations.
2026-02-02 15:40:18 +08:00
..
webui Bump napcat-types & add plugin static/memory tests 2026-02-02 15:35:26 +08:00
index.ts Expose plugin pages at /plugin/:id/page/:path 2026-02-02 15:40:18 +08:00
package.json Bump napcat-types & add plugin static/memory tests 2026-02-02 15:35:26 +08:00
tsconfig.json Add builtin plugin package and enhance action map 2026-01-17 15:48:48 +08:00
vite.config.ts Add plugin WebUI extension page and API routing support 2026-01-30 12:48:24 +08:00