@laoyuehanni/dsh-token-usage 0.4.4-rc.1 → 0.4.6
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/client/CostDeltaFlyLabel.js +1 -1
- package/lib/client/CostDeltaFlyLabel.js.map +1 -1
- package/lib/client/CostPill.d.ts +74 -0
- package/lib/client/CostPill.d.ts.map +1 -0
- package/lib/client/CostPill.js +242 -0
- package/lib/client/CostPill.js.map +1 -0
- package/lib/client/cost-inflate-motion.d.ts +7 -2
- package/lib/client/cost-inflate-motion.d.ts.map +1 -1
- package/lib/client/cost-inflate-motion.js +14 -10
- package/lib/client/cost-inflate-motion.js.map +1 -1
- package/lib/client/format.d.ts +7 -5
- package/lib/client/format.d.ts.map +1 -1
- package/lib/client/format.js +11 -7
- package/lib/client/format.js.map +1 -1
- package/lib/client/index.d.ts.map +1 -1
- package/lib/client/index.js +17 -22
- package/lib/client/index.js.map +1 -1
- package/lib/client/locales.d.ts +12 -3
- package/lib/client/locales.d.ts.map +1 -1
- package/lib/client/locales.js +24 -6
- package/lib/client/locales.js.map +1 -1
- package/lib/client/use-cost-inflate.d.ts +4 -4
- package/lib/client/use-cost-inflate.js +5 -5
- package/lib/client/use-cost-inflate.js.map +1 -1
- package/lib/client.js +1188 -935
- package/lib/client.js.map +1 -1
- package/locale/en.json +3 -0
- package/locale/zh.json +6 -0
- package/package.json +33 -31
package/locale/en.json
ADDED
package/locale/zh.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@laoyuehanni/dsh-token-usage",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.6",
|
|
4
4
|
"description": "dsh local plugin: persist per-request model token usage (live hook + first-run history backfill + web settings stats page)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dsh",
|
|
@@ -33,10 +33,12 @@
|
|
|
33
33
|
"types": "./lib/client/index.d.ts",
|
|
34
34
|
"default": "./lib/client.js"
|
|
35
35
|
},
|
|
36
|
-
"./package.json": "./package.json"
|
|
36
|
+
"./package.json": "./package.json",
|
|
37
|
+
"./locale/*.json": "./locale/*.json"
|
|
37
38
|
},
|
|
38
39
|
"files": [
|
|
39
40
|
"lib",
|
|
41
|
+
"locale",
|
|
40
42
|
"docs/pricing.md",
|
|
41
43
|
"cordis.patch.yml",
|
|
42
44
|
"README.md",
|
|
@@ -63,37 +65,37 @@
|
|
|
63
65
|
"node": ">=22.19"
|
|
64
66
|
},
|
|
65
67
|
"peerDependencies": {
|
|
66
|
-
"@deepseek-ai/cordis": "^4.0.
|
|
67
|
-
"@deepseek-ai/dsh-credentials": "^0.
|
|
68
|
-
"@deepseek-ai/dsh-settings": "^0.
|
|
69
|
-
"@deepseek-ai/schemastery": "^3.18.
|
|
68
|
+
"@deepseek-ai/cordis": "^4.0.4",
|
|
69
|
+
"@deepseek-ai/dsh-credentials": "^0.2.0-rc.1",
|
|
70
|
+
"@deepseek-ai/dsh-settings": "^0.2.0-rc.1",
|
|
71
|
+
"@deepseek-ai/schemastery": "^3.18.4"
|
|
70
72
|
},
|
|
71
73
|
"devDependencies": {
|
|
72
|
-
"@deepseek-ai/cordis": "^4.0.
|
|
73
|
-
"@deepseek-ai/cordis-plugin-loader": "^1.0.
|
|
74
|
-
"@deepseek-ai/dsh-api-session-controller": "0.
|
|
75
|
-
"@deepseek-ai/dsh-client-connection": "0.
|
|
76
|
-
"@deepseek-ai/dsh-client-locale": "0.
|
|
77
|
-
"@deepseek-ai/dsh-client-store": "0.
|
|
78
|
-
"@deepseek-ai/dsh-client-ui-conversation": "0.
|
|
79
|
-
"@deepseek-ai/dsh-client-ui-primitives": "0.
|
|
80
|
-
"@deepseek-ai/dsh-client-ui-renderer": "0.
|
|
81
|
-
"@deepseek-ai/dsh-client-ui-session": "0.
|
|
82
|
-
"@deepseek-ai/dsh-client-ui-settings": "0.
|
|
83
|
-
"@deepseek-ai/dsh-client-ui-settings-plugins": "0.
|
|
84
|
-
"@deepseek-ai/dsh-client-ui-slots": "0.
|
|
85
|
-
"@deepseek-ai/dsh-client-ui-workspace": "0.
|
|
86
|
-
"@deepseek-ai/dsh-compaction": "0.
|
|
87
|
-
"@deepseek-ai/dsh-credentials": "0.
|
|
88
|
-
"@deepseek-ai/dsh-host-webserver": "0.
|
|
89
|
-
"@deepseek-ai/dsh-llm": "0.
|
|
90
|
-
"@deepseek-ai/dsh-llm-retry": "0.
|
|
91
|
-
"@deepseek-ai/dsh-scope": "
|
|
92
|
-
"@deepseek-ai/dsh-session": "0.
|
|
93
|
-
"@deepseek-ai/dsh-session-persistence": "0.
|
|
94
|
-
"@deepseek-ai/dsh-session-stats": "0.
|
|
95
|
-
"@deepseek-ai/dsh-settings": "0.
|
|
96
|
-
"@deepseek-ai/schemastery": "^3.18.
|
|
74
|
+
"@deepseek-ai/cordis": "^4.0.4",
|
|
75
|
+
"@deepseek-ai/cordis-plugin-loader": "^1.0.5",
|
|
76
|
+
"@deepseek-ai/dsh-api-session-controller": "0.2.0-rc.1",
|
|
77
|
+
"@deepseek-ai/dsh-client-connection": "0.2.0-rc.1",
|
|
78
|
+
"@deepseek-ai/dsh-client-locale": "0.2.0-rc.1",
|
|
79
|
+
"@deepseek-ai/dsh-client-store": "0.2.0-rc.1",
|
|
80
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.2.0-rc.1",
|
|
81
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.1",
|
|
82
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.2.0-rc.1",
|
|
83
|
+
"@deepseek-ai/dsh-client-ui-session": "0.2.0-rc.1",
|
|
84
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.2.0-rc.1",
|
|
85
|
+
"@deepseek-ai/dsh-client-ui-settings-plugins": "0.2.0-rc.1",
|
|
86
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.2.0-rc.1",
|
|
87
|
+
"@deepseek-ai/dsh-client-ui-workspace": "0.2.0-rc.1",
|
|
88
|
+
"@deepseek-ai/dsh-compaction": "0.2.0-rc.1",
|
|
89
|
+
"@deepseek-ai/dsh-credentials": "0.2.0-rc.1",
|
|
90
|
+
"@deepseek-ai/dsh-host-webserver": "0.2.0-rc.1",
|
|
91
|
+
"@deepseek-ai/dsh-llm": "0.2.0-rc.1",
|
|
92
|
+
"@deepseek-ai/dsh-llm-retry": "0.2.0-rc.1",
|
|
93
|
+
"@deepseek-ai/dsh-scope": "0.2.0-rc.1",
|
|
94
|
+
"@deepseek-ai/dsh-session": "0.2.0-rc.1",
|
|
95
|
+
"@deepseek-ai/dsh-session-persistence": "0.2.0-rc.1",
|
|
96
|
+
"@deepseek-ai/dsh-session-stats": "0.2.0-rc.1",
|
|
97
|
+
"@deepseek-ai/dsh-settings": "0.2.0-rc.1",
|
|
98
|
+
"@deepseek-ai/schemastery": "^3.18.4",
|
|
97
99
|
"@testing-library/dom": "^10.4.2",
|
|
98
100
|
"@testing-library/react": "^16.0.0",
|
|
99
101
|
"@types/node": "^24.0.0",
|