dsh-model-usage 0.0.0-stage → 0.8.1
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/CHANGELOG.md +35 -0
- package/LICENSE +21 -0
- package/README.md +238 -2
- package/cordis.patch.yml +11 -0
- package/icon.svg +7 -0
- package/lib/client.js +1410 -0
- package/lib/index.js +1083 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +74 -4
package/locale/en.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "Model usage",
|
|
4
|
+
"description": "Adds a Usage entry to the session header: the provider account usage behind the model this conversation runs on (balance, plan windows, request counts), with a manual query-target override and background auto-refresh."
|
|
5
|
+
}
|
|
6
|
+
}
|
package/locale/zh.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,76 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-model-usage",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.8.1",
|
|
4
|
+
"description": "DeepSeek Harness plugin: a 用量 button in the session header showing the provider-account usage behind the model the current conversation runs on (Command Code, DeepSeek, OpenCode Go, OpenRouter, Moonshot, SiliconFlow, New API), with a manual query-target override and background auto-refresh",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "liuchaoxu <ischaoxu@163.com>",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/liuchaoxu/dsh-model-usage.git"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/liuchaoxu/dsh-model-usage#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/liuchaoxu/dsh-model-usage/issues"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"dsh",
|
|
17
|
+
"deepseek-harness",
|
|
18
|
+
"plugin",
|
|
19
|
+
"bundle",
|
|
20
|
+
"cordis",
|
|
21
|
+
"usage",
|
|
22
|
+
"balance",
|
|
23
|
+
"commandcode",
|
|
24
|
+
"openrouter",
|
|
25
|
+
"moonshot",
|
|
26
|
+
"siliconflow"
|
|
27
|
+
],
|
|
28
|
+
"type": "module",
|
|
29
|
+
"main": "lib/index.js",
|
|
30
|
+
"engines": {
|
|
31
|
+
"node": ">=18",
|
|
32
|
+
"dsh": ">=0.2.1-rc.2"
|
|
33
|
+
},
|
|
34
|
+
"exports": {
|
|
35
|
+
".": "./lib/index.js",
|
|
36
|
+
"./client": "./lib/client.js",
|
|
37
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
38
|
+
"./locale/*.json": "./locale/*.json",
|
|
39
|
+
"./icon": "./icon.svg",
|
|
40
|
+
"./package.json": "./package.json"
|
|
41
|
+
},
|
|
42
|
+
"dsh": {
|
|
43
|
+
"manifestVersion": 1,
|
|
44
|
+
"bundle": {
|
|
45
|
+
"patch": "./cordis.patch.yml"
|
|
46
|
+
},
|
|
47
|
+
"client": {
|
|
48
|
+
"platform": "web",
|
|
49
|
+
"inject": [
|
|
50
|
+
"@deepseek-ai/dsh-client-locale",
|
|
51
|
+
"@deepseek-ai/dsh-client-ui-conversation"
|
|
52
|
+
],
|
|
53
|
+
"immediately": false
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"scripts": {
|
|
57
|
+
"check": "node scripts/check.mjs",
|
|
58
|
+
"smoke": "node scripts/smoke.mjs",
|
|
59
|
+
"verify": "node scripts/check.mjs && node scripts/smoke.mjs",
|
|
60
|
+
"prepublishOnly": "node scripts/check.mjs && node scripts/smoke.mjs"
|
|
61
|
+
},
|
|
62
|
+
"files": [
|
|
63
|
+
"lib/index.js",
|
|
64
|
+
"lib/client.js",
|
|
65
|
+
"cordis.patch.yml",
|
|
66
|
+
"locale/*.json",
|
|
67
|
+
"icon.svg",
|
|
68
|
+
"docs/*.png",
|
|
69
|
+
"README.md",
|
|
70
|
+
"CHANGELOG.md",
|
|
71
|
+
"LICENSE"
|
|
72
|
+
],
|
|
73
|
+
"publishConfig": {
|
|
74
|
+
"access": "public"
|
|
75
|
+
}
|
|
76
|
+
}
|