feat: standard plugin client module — standalone DSHWatch settings section (settings.section) + ./client export + dsh.client

This commit is contained in:
2026-09-02 01:47:29 +08:00
parent a17b1705fe
commit 92fb4236cb
3 changed files with 127 additions and 2 deletions
+21 -2
View File
@@ -8,7 +8,8 @@
"lib",
"cordis.patch.yml",
"README.md",
"LICENSE"
"LICENSE",
"lib/client.js"
],
"keywords": [
"dsh",
@@ -21,6 +22,16 @@
"dsh": {
"bundle": {
"patch": "./cordis.patch.yml"
},
"client": {
"inject": [
"@deepseek-ai/dsh-client-runtime",
"@deepseek-ai/dsh-client-locale",
"@deepseek-ai/dsh-client-ui-slots",
"@deepseek-ai/dsh-client-ui-conversation",
"@deepseek-ai/dsh-client-modules"
],
"platform": "web"
}
},
"dependencies": {
@@ -35,5 +46,13 @@
"engines": {
"node": ">=18"
},
"license": "MIT"
"license": "MIT",
"exports": {
".": {
"default": "lib/index.js"
},
"./client": {
"default": "lib/client.js"
}
}
}