NapCatQQ/packages/napcat-onebot/network
手瓜一十雪 94f07ab98b Support memory static files and plugin APIs
Introduce in-memory static file support and inter-plugin exports. Add MemoryStaticFile/MemoryFileGenerator types and expose staticOnMem in PluginRouterRegistry; router registry now tracks memory routes and exposes getters. Add getPluginExports to plugin manager adapters to allow plugins to call each other's exported modules. WebUI backend gains routes to serve /plugin/:pluginId/mem/* (memory files) and /plugin/:pluginId/files/* (plugin filesystem static) without auth. Update builtin plugin to demonstrate staticOnMem and inter-plugin call, and add frontend UI to open extension pages in a new window. Note: API router no longer mounts static filesystem routes — those are handled by webui-backend.
2026-02-02 15:01:26 +08:00
..
plugin Support memory static files and plugin APIs 2026-02-02 15:01:26 +08:00
adapter.ts Refactor network adapter activation and message handling 2026-01-14 18:53:31 +08:00
http-client.ts refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
http-server-sse.ts Refactor network adapter activation and message handling 2026-01-14 18:53:31 +08:00
http-server.ts Refactor network adapter activation and message handling 2026-01-14 18:53:31 +08:00
index.ts Add isActive property to plugin adapters 2026-01-14 18:53:32 +08:00
plugin-develop.ts Add local plugin import functionality 2026-01-30 11:58:43 +08:00
plugin-manger.ts Support memory static files and plugin APIs 2026-02-02 15:01:26 +08:00
websocket-client.ts Reduce WebSocket maxPayload to 50 MB 2026-01-27 22:56:27 +08:00
websocket-server.ts Reduce WebSocket maxPayload to 50 MB 2026-01-27 22:56:27 +08:00