NapCatQQ/packages/napcat-onebot
手瓜一十雪 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
..
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 Support memory static files and plugin APIs 2026-02-02 15:01:26 +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