NapCatQQ/packages/napcat-plugin-builtin
手瓜一十雪 52b6627ebd Validate pluginId and use localStorage token
Return a 400 error when the /call-plugin/:pluginId route is requested without a pluginId to avoid calling getPluginExports with an undefined id (packages/napcat-plugin-builtin/index.ts).

Update the dashboard UI to read the auth token from localStorage (same-origin) instead of relying on a URL parameter; a comment about legacy webui_token in the URL was added while the implementation currently prefers localStorage.getItem('token') (packages/napcat-plugin-builtin/webui/dashboard.html).
2026-02-02 16:17:03 +08:00
..
webui Validate pluginId and use localStorage token 2026-02-02 16:17:03 +08:00
index.ts Validate pluginId and use localStorage token 2026-02-02 16:17:03 +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