NapCatQQ/packages/napcat-onebot
手瓜一十雪 5fac30afd8 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
..
action Replace Type.Void() with Type.Object({}) 2026-02-02 13:17:06 +08:00
api Reapply "Add image download proxy support to OneBot" 2026-01-29 20:40:19 +08:00
config Reapply "Add image download proxy support to OneBot" 2026-01-29 20:40:19 +08:00
event Add payload and return schemas to OneBot actions (#1549) 2026-01-27 19:07:17 +08:00
helper refactor: 整体重构 (#1381) 2025-11-13 15:39:42 +08:00
network fix: #1574 & Clear CJS cache and reload plugins on install 2026-02-02 14:14:06 +08:00
types Add payload and return schemas to OneBot actions (#1549) 2026-01-27 19:07:17 +08:00
index.ts Add payload and return schemas to OneBot actions (#1549) 2026-01-27 19:07:17 +08:00
package.json feat: 所有的类型检查 2025-11-15 12:57:19 +08:00
tsconfig.json Refactor TypeScript configs to use shared base 2025-11-15 14:00:27 +08:00