@linxin666/dsh-usage 0.4.6 → 0.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.i18n.yaml +2 -2
- package/README.md +2 -2
- package/README.zh.md +2 -2
- package/lib/client.js +3 -16
- package/lib/client.js.map +1 -1
- package/lib/index.js +2 -2
- package/package.json +17 -17
- package/src/client/settings-entry-form.ts +0 -1
package/lib/index.js
CHANGED
|
@@ -118,7 +118,7 @@ function mountOnce(packageName, fn) {
|
|
|
118
118
|
return mount;
|
|
119
119
|
}
|
|
120
120
|
//#endregion
|
|
121
|
-
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-brand@0.2.
|
|
121
|
+
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-brand@0.2.1-rc.2_@deepseek-ai+cordis@4.0.5/node_modules/@deepseek-ai/dsh-brand/lib/index.js
|
|
122
122
|
/**
|
|
123
123
|
* Duplicate-install-safe nominal primitive helpers.
|
|
124
124
|
*
|
|
@@ -141,7 +141,7 @@ function brandString(value) {
|
|
|
141
141
|
return value;
|
|
142
142
|
}
|
|
143
143
|
//#endregion
|
|
144
|
-
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-credentials@0.2.
|
|
144
|
+
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-credentials@0.2.1-rc.2_@deepseek-ai+cordis@4.0.5/node_modules/@deepseek-ai/dsh-credentials/lib/index.js
|
|
145
145
|
/**
|
|
146
146
|
* Service Definition for the credential-reference capability seam (`ctx.credentials`). Settings and composition files carry
|
|
147
147
|
* *references* to secrets — environment-variable names — while providers own
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@linxin666/dsh-usage",
|
|
3
3
|
"description": "Usage statistics plugin for the dsh web GUI: per-provider balance and coding-plan quota detection plus a live token usage ledger, with a compact price glance card above the sidebar's Settings row",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.7",
|
|
5
5
|
"icon": "icon.svg",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"engines": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"license": "Apache-2.0",
|
|
34
34
|
"dsh": {
|
|
35
35
|
"engines": {
|
|
36
|
-
"dsh": ">=0.2.
|
|
36
|
+
"dsh": ">=0.2.1-rc.2"
|
|
37
37
|
},
|
|
38
38
|
"bundle": {
|
|
39
39
|
"patch": "./cordis.patch.yml"
|
|
@@ -50,25 +50,25 @@
|
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@deepseek-ai/schemastery": "^3.18.
|
|
53
|
+
"@deepseek-ai/schemastery": "^3.18.5"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@deepseek-ai/dsh": ">=0.2.
|
|
56
|
+
"@deepseek-ai/dsh": ">=0.2.1-rc.2",
|
|
57
57
|
"react": "^18.2.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@deepseek-ai/cordis": "^4.0.
|
|
61
|
-
"@deepseek-ai/dsh-credentials": "^0.2.
|
|
62
|
-
"@deepseek-ai/dsh-client-connection": "^0.2.
|
|
63
|
-
"@deepseek-ai/dsh-client-locale": "^0.2.
|
|
64
|
-
"@deepseek-ai/dsh-client-store": "^0.2.
|
|
65
|
-
"@deepseek-ai/dsh-client-ui-renderer": "^0.2.
|
|
66
|
-
"@deepseek-ai/dsh-client-ui-settings": "^0.2.
|
|
67
|
-
"@deepseek-ai/dsh-client-ui-slots": "^0.2.
|
|
68
|
-
"@deepseek-ai/dsh-host-webserver": "^0.2.
|
|
69
|
-
"@deepseek-ai/dsh-llm": "^0.2.
|
|
70
|
-
"@deepseek-ai/dsh-session": "^0.2.
|
|
71
|
-
"@deepseek-ai/dsh-settings": "^0.2.
|
|
60
|
+
"@deepseek-ai/cordis": "^4.0.5",
|
|
61
|
+
"@deepseek-ai/dsh-credentials": "^0.2.1-rc.2",
|
|
62
|
+
"@deepseek-ai/dsh-client-connection": "^0.2.1-rc.2",
|
|
63
|
+
"@deepseek-ai/dsh-client-locale": "^0.2.1-rc.2",
|
|
64
|
+
"@deepseek-ai/dsh-client-store": "^0.2.1-rc.2",
|
|
65
|
+
"@deepseek-ai/dsh-client-ui-renderer": "^0.2.1-rc.2",
|
|
66
|
+
"@deepseek-ai/dsh-client-ui-settings": "^0.2.1-rc.2",
|
|
67
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.2.1-rc.2",
|
|
68
|
+
"@deepseek-ai/dsh-host-webserver": "^0.2.1-rc.2",
|
|
69
|
+
"@deepseek-ai/dsh-llm": "^0.2.1-rc.2",
|
|
70
|
+
"@deepseek-ai/dsh-session": "^0.2.1-rc.2",
|
|
71
|
+
"@deepseek-ai/dsh-settings": "^0.2.1-rc.2",
|
|
72
72
|
"@testing-library/dom": "^10.4.1",
|
|
73
73
|
"@testing-library/react": "^16.3.2",
|
|
74
74
|
"@types/node": "^22.20.0",
|
|
@@ -90,6 +90,6 @@
|
|
|
90
90
|
"build": "tsc -b tsconfig.build.json && tsdown",
|
|
91
91
|
"watch": "tsdown --watch",
|
|
92
92
|
"test": "vitest run",
|
|
93
|
-
"typecheck": "
|
|
93
|
+
"typecheck": "tsgo --noEmit && tsgo -p tsconfig.test.json --pretty false"
|
|
94
94
|
}
|
|
95
95
|
}
|