Add builtin plugin package and enhance action map

Introduces the napcat-plugin-builtin package with initialization, message handling, and build configuration. Also adds a type-safe 'call' helper to the action map in napcat-onebot for improved action invocation.
This commit is contained in:
手瓜一十雪 committed 2026-01-17 15:48:48 +08:00
1 parent 59d1ea28ab
commit af3d946031
6 files changed
+225 -1

No files matched your search

+10
View File
@@ -220,6 +220,16 @@ importers:
specifier: ^22.0.1
version: 22.19.1
packages/napcat-plugin-builtin:
dependencies:
napcat-onebot:
specifier: workspace:*
version: link:../napcat-onebot
devDependencies:
'@types/node':
specifier: ^22.0.1
version: 22.19.1
packages/napcat-protobuf:
dependencies:
'@protobuf-ts/runtime':