@linxin666/dsh-usage 0.3.11 → 0.3.12
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/lib/index.js +8 -8
- package/package.json +14 -14
package/lib/index.js
CHANGED
|
@@ -45,16 +45,16 @@ function mountOnce(packageName, fn) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
//#endregion
|
|
48
|
-
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-brand@0.1.2-alpha.
|
|
48
|
+
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-brand@0.1.2-alpha.4_@deepseek-ai+cordis@4.0.2/node_modules/@deepseek-ai/dsh-brand/lib/index.js
|
|
49
49
|
/**
|
|
50
|
-
* Duplicate-install-safe nominal
|
|
50
|
+
* Duplicate-install-safe nominal primitive helpers.
|
|
51
51
|
*
|
|
52
|
-
* A brand makes structurally
|
|
53
|
-
* level: a `SessionId` cannot be passed where a `ToolCallId` is
|
|
54
|
-
*
|
|
55
|
-
* serialization
|
|
52
|
+
* A brand makes structurally identical strings or numbers non-interchangeable
|
|
53
|
+
* at the type level: a `SessionId` cannot be passed where a `ToolCallId` is
|
|
54
|
+
* expected, and an event sequence cannot be passed as a log offset. Comparison,
|
|
55
|
+
* logging, and serialization retain the underlying primitive behavior.
|
|
56
56
|
*
|
|
57
|
-
* This package owns no concrete
|
|
57
|
+
* This package owns no concrete domain value and keeps no runtime identity or mutable
|
|
58
58
|
* state, so independently installed copies produce interchangeable values.
|
|
59
59
|
*
|
|
60
60
|
* @module @deepseek-ai/dsh-brand
|
|
@@ -68,7 +68,7 @@ function brandString(value) {
|
|
|
68
68
|
return value;
|
|
69
69
|
}
|
|
70
70
|
//#endregion
|
|
71
|
-
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-credentials@0.1.2-alpha.
|
|
71
|
+
//#region ../../node_modules/.pnpm/@deepseek-ai+dsh-credentials@0.1.2-alpha.4_@deepseek-ai+cordis@4.0.2_@deepseek-ai+dsh-i_ad5a26965a03bf1fe09a43c4b0035529/node_modules/@deepseek-ai/dsh-credentials/lib/index.js
|
|
72
72
|
/**
|
|
73
73
|
* Service Definition for the credential-reference capability seam (`ctx.credentials`). Settings and composition files carry
|
|
74
74
|
* *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 dedicated pet bubble for the current provider",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.12",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": "^22.19.0 || >=24.0.0"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"license": "Apache-2.0",
|
|
32
32
|
"dsh": {
|
|
33
33
|
"engines": {
|
|
34
|
-
"dsh": ">=0.1.2-alpha.
|
|
34
|
+
"dsh": ">=0.1.2-alpha.4"
|
|
35
35
|
},
|
|
36
36
|
"bundle": {
|
|
37
37
|
"patch": "./cordis.patch.yml"
|
|
@@ -55,18 +55,18 @@
|
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
58
|
-
"@deepseek-ai/dsh-credentials": "^0.1.2-alpha.
|
|
59
|
-
"@deepseek-ai/dsh-client-connection": "^0.1.2-alpha.
|
|
60
|
-
"@deepseek-ai/dsh-client-locale": "^0.1.2-alpha.
|
|
61
|
-
"@deepseek-ai/dsh-client-store": "^0.1.2-alpha.
|
|
62
|
-
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.2-alpha.
|
|
63
|
-
"@deepseek-ai/dsh-client-ui-settings": "^0.1.2-alpha.
|
|
64
|
-
"@deepseek-ai/dsh-client-ui-slots": "^0.1.2-alpha.
|
|
65
|
-
"@deepseek-ai/dsh-host-webserver": "^0.1.2-alpha.
|
|
66
|
-
"@deepseek-ai/dsh-llm": "^0.1.2-alpha.
|
|
67
|
-
"@deepseek-ai/dsh-session": "^0.1.2-alpha.
|
|
68
|
-
"@deepseek-ai/dsh-settings": "^0.1.2-alpha.
|
|
69
|
-
"@linxin666/dsh-pet": "0.3.
|
|
58
|
+
"@deepseek-ai/dsh-credentials": "^0.1.2-alpha.4",
|
|
59
|
+
"@deepseek-ai/dsh-client-connection": "^0.1.2-alpha.4",
|
|
60
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.2-alpha.4",
|
|
61
|
+
"@deepseek-ai/dsh-client-store": "^0.1.2-alpha.4",
|
|
62
|
+
"@deepseek-ai/dsh-client-ui-renderer": "^0.1.2-alpha.4",
|
|
63
|
+
"@deepseek-ai/dsh-client-ui-settings": "^0.1.2-alpha.4",
|
|
64
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.2-alpha.4",
|
|
65
|
+
"@deepseek-ai/dsh-host-webserver": "^0.1.2-alpha.4",
|
|
66
|
+
"@deepseek-ai/dsh-llm": "^0.1.2-alpha.4",
|
|
67
|
+
"@deepseek-ai/dsh-session": "^0.1.2-alpha.4",
|
|
68
|
+
"@deepseek-ai/dsh-settings": "^0.1.2-alpha.4",
|
|
69
|
+
"@linxin666/dsh-pet": "0.3.12",
|
|
70
70
|
"@testing-library/dom": "^10.4.1",
|
|
71
71
|
"@testing-library/react": "^16.3.2",
|
|
72
72
|
"@types/node": "^22.20.0",
|