Add plugin logger interface and update builtin plugin
Release NapCat / validate-version (push) Canceled after 0s
Release NapCat / Build-Framework (push) Canceled after 0s
Release NapCat / Build-Shell (push) Canceled after 0s
Release NapCat / Download-QNX64 (push) Canceled after 0s
Release NapCat / release-napcat (push) Canceled after 0s

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 0aa0c44634
commit 001fe01ace
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"