dsh-model-billing 0.3.2 → 0.3.3
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 +10 -0
- package/client.js +2345 -2308
- package/package.json +68 -68
package/package.json
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "dsh-model-billing",
|
|
3
|
-
"version": "0.3.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"description": "Reorder models in the DSH composer picker, store three per-million-token prices, and estimate per-turn and session cost with built-in DeepSeek peak/off-peak rates.",
|
|
6
|
-
"keywords": [
|
|
7
|
-
"dsh-plugin",
|
|
8
|
-
"deepseek-harness",
|
|
9
|
-
"cordis",
|
|
10
|
-
"model-picker",
|
|
11
|
-
"cost",
|
|
12
|
-
"billing",
|
|
13
|
-
"deepseek"
|
|
14
|
-
],
|
|
15
|
-
"license": "MIT",
|
|
16
|
-
"author": "likaileave",
|
|
17
|
-
"homepage": "https://github.com/likaileave/dsh-model-billing#readme",
|
|
18
|
-
"repository": {
|
|
19
|
-
"type": "git",
|
|
20
|
-
"url": "git+https://github.com/likaileave/dsh-model-billing.git"
|
|
21
|
-
},
|
|
22
|
-
"bugs": {
|
|
23
|
-
"url": "https://github.com/likaileave/dsh-model-billing/issues"
|
|
24
|
-
},
|
|
25
|
-
"peerDependencies": {
|
|
26
|
-
"@deepseek-ai/dsh": "^0.2.1-rc.3"
|
|
27
|
-
},
|
|
28
|
-
"peerDependenciesMeta": {
|
|
29
|
-
"@deepseek-ai/dsh": {
|
|
30
|
-
"optional": true
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"icon": "./icon.svg",
|
|
34
|
-
"meta": {
|
|
35
|
-
"title": "模型与费用 / Models & Cost",
|
|
36
|
-
"description": "调整模型顺序,内置 DeepSeek 官方峰谷价,填写其他模型的每百万 tokens 三档价格,并按会话日志估算逐轮和本会话费用。"
|
|
37
|
-
},
|
|
38
|
-
"exports": {
|
|
39
|
-
".": "./host.js",
|
|
40
|
-
"./client": "./client.js",
|
|
41
|
-
"./locale/*.json": "./locale/*.json",
|
|
42
|
-
"./icon": "./icon.svg",
|
|
43
|
-
"./package.json": "./package.json"
|
|
44
|
-
},
|
|
45
|
-
"files": [
|
|
46
|
-
"host.js",
|
|
47
|
-
"client.js",
|
|
48
|
-
"cordis.patch.yml",
|
|
49
|
-
"locale/*.json",
|
|
50
|
-
"icon.svg",
|
|
51
|
-
"README.md",
|
|
52
|
-
"CHANGELOG.md",
|
|
53
|
-
"LICENSE"
|
|
54
|
-
],
|
|
55
|
-
"scripts": {
|
|
56
|
-
"test": "node --test test/host.test.mjs test/routes.test.mjs",
|
|
57
|
-
"check": "node --check host.js && node --check client.js"
|
|
58
|
-
},
|
|
59
|
-
"dsh": {
|
|
60
|
-
"bundle": {
|
|
61
|
-
"patch": "./cordis.patch.yml"
|
|
62
|
-
},
|
|
63
|
-
"client": {
|
|
64
|
-
"platform": "web",
|
|
65
|
-
"immediately": true
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-model-billing",
|
|
3
|
+
"version": "0.3.3",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Reorder models in the DSH composer picker, store three per-million-token prices, and estimate per-turn and session cost with built-in DeepSeek peak/off-peak rates.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"dsh-plugin",
|
|
8
|
+
"deepseek-harness",
|
|
9
|
+
"cordis",
|
|
10
|
+
"model-picker",
|
|
11
|
+
"cost",
|
|
12
|
+
"billing",
|
|
13
|
+
"deepseek"
|
|
14
|
+
],
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"author": "likaileave",
|
|
17
|
+
"homepage": "https://github.com/likaileave/dsh-model-billing#readme",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/likaileave/dsh-model-billing.git"
|
|
21
|
+
},
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/likaileave/dsh-model-billing/issues"
|
|
24
|
+
},
|
|
25
|
+
"peerDependencies": {
|
|
26
|
+
"@deepseek-ai/dsh": "^0.2.1-rc.3"
|
|
27
|
+
},
|
|
28
|
+
"peerDependenciesMeta": {
|
|
29
|
+
"@deepseek-ai/dsh": {
|
|
30
|
+
"optional": true
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"icon": "./icon.svg",
|
|
34
|
+
"meta": {
|
|
35
|
+
"title": "模型与费用 / Models & Cost",
|
|
36
|
+
"description": "调整模型顺序,内置 DeepSeek 官方峰谷价,填写其他模型的每百万 tokens 三档价格,并按会话日志估算逐轮和本会话费用。"
|
|
37
|
+
},
|
|
38
|
+
"exports": {
|
|
39
|
+
".": "./host.js",
|
|
40
|
+
"./client": "./client.js",
|
|
41
|
+
"./locale/*.json": "./locale/*.json",
|
|
42
|
+
"./icon": "./icon.svg",
|
|
43
|
+
"./package.json": "./package.json"
|
|
44
|
+
},
|
|
45
|
+
"files": [
|
|
46
|
+
"host.js",
|
|
47
|
+
"client.js",
|
|
48
|
+
"cordis.patch.yml",
|
|
49
|
+
"locale/*.json",
|
|
50
|
+
"icon.svg",
|
|
51
|
+
"README.md",
|
|
52
|
+
"CHANGELOG.md",
|
|
53
|
+
"LICENSE"
|
|
54
|
+
],
|
|
55
|
+
"scripts": {
|
|
56
|
+
"test": "node --test test/host.test.mjs test/routes.test.mjs",
|
|
57
|
+
"check": "node --check host.js && node --check client.js"
|
|
58
|
+
},
|
|
59
|
+
"dsh": {
|
|
60
|
+
"bundle": {
|
|
61
|
+
"patch": "./cordis.patch.yml"
|
|
62
|
+
},
|
|
63
|
+
"client": {
|
|
64
|
+
"platform": "web",
|
|
65
|
+
"immediately": true
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|