Add plugin logger interface and update builtin plugin

Introduces a PluginLogger interface and injects a plugin-specific logger into the plugin context for consistent logging. Refactors the builtin plugin to use the new logger instead of direct console calls. Updates napcat-types to version 0.0.9 in dependencies and lock files.
This commit is contained in:
手瓜一十雪 committed 2026-01-28 15:07:06 +08:00
1 parent 6af66797dc
commit 96427376ec
5 files changed
+48 -17

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@
"description": "NapCat 内置插件",
"author": "NapNeko",
"dependencies": {
"napcat-types": "0.0.8"
"napcat-types": "0.0.9"
},
"devDependencies": {
"@types/node": "^22.0.1"