NapCatQQ/packages
手瓜一十雪 78ac36f670 Add plugin no-auth API routes and WebUI handling
Introduce support for plugin API routes that do not require WebUI authentication. Updates include:

- napcat-onebot: Add apiNoAuth route storage and helpers (apiNoAuth, getNoAuth, postNoAuth, putNoAuth, deleteNoAuth), hasApiNoAuthRoutes, buildApiNoAuthRouter, and clear handling in PluginRouterRegistryImpl.
- napcat-onebot types: Extend PluginRouterRegistry interface with no-auth API methods and document that authenticated APIs remain separate.
- napcat-webui-backend: Mount a new unauthenticated plugin route handler at /plugin/:pluginId/api that looks up the plugin router and dispatches requests to the plugin's no-auth router, returning appropriate errors when context or routes are missing.
- napcat-plugin-builtin: Add example no-auth endpoints (public/info and health) and update logger messages to reflect both auth and no-auth API paths.
- Bump napcat-types version to 0.0.16 and update napcat-plugin-builtin dependency accordingly.

These changes enable plugins to expose public endpoints (e.g. health checks or public metadata) under /plugin/{pluginId}/api/ while keeping existing authenticated APIs under /api/Plugin/ext/{pluginId}/.
2026-02-02 19:13:01 +08:00
..
napcat-adapter Introduce NapCat Protocol and adapter management 2026-01-29 22:14:55 +08:00
napcat-common Remove undici dependency and implement proxy download 2026-01-29 20:54:48 +08:00
napcat-core 修改合并消息上传资源日志 (#1573) 2026-02-01 09:53:40 +08:00
napcat-develop Rename .env to .env.example 2026-02-02 13:21:34 +08:00
napcat-framework Rename image-size alias to napcat-image-size 2026-02-01 17:46:40 +08:00
napcat-image-size Add TIFF parser and buffer-based image size APIs 2026-02-01 17:42:58 +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 Add plugin no-auth API routes and WebUI handling 2026-02-02 19:13:01 +08:00
napcat-plugin-builtin Add plugin no-auth API routes and WebUI handling 2026-02-02 19:13:01 +08:00
napcat-protobuf Add ESLint config and update code style 2025-11-15 16:21:59 +08:00
napcat-protocol Introduce NapCat Protocol and adapter management 2026-01-29 22:14:55 +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-rpc Cache object properties to avoid extra RPC 2026-02-02 18:59:23 +08:00
napcat-schema Add napcat-rpc package with deep RPC 2026-02-02 17:12:05 +08:00
napcat-shell Rename image-size alias to napcat-image-size 2026-02-01 17:46:40 +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 Cache object properties to avoid extra RPC 2026-02-02 18:59:23 +08:00
napcat-types Add plugin no-auth API routes and WebUI handling 2026-02-02 19:13:01 +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 Add plugin no-auth API routes and WebUI handling 2026-02-02 19:13:01 +08:00
napcat-webui-frontend Expose plugin pages at /plugin/:id/page/:path 2026-02-02 15:40:18 +08:00