NapCatQQ/packages/napcat-onebot/network
手瓜一十雪 82a7154b92 fix: #1574 & Clear CJS cache and reload plugins on install
Add support for clearing CommonJS module cache when unloading plugins and reload plugins on install. PluginLoader now uses createRequire to access require.cache and exposes clearCache(pluginPath) to remove cached modules under the plugin directory; plugin manager calls this when unloading. Web UI backend install handlers now reload an existing plugin (with progress updates) instead of skipping registration, ensuring updated code/metadata take effect.
2026-02-02 14:14:06 +08:00
..
plugin fix: #1574 & Clear CJS cache and reload plugins on install 2026-02-02 14:14:06 +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 fix: #1574 & Clear CJS cache and reload plugins on install 2026-02-02 14:14:06 +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