dsh-model-billing 0.1.2 → 0.2.0

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/locale/en.json CHANGED
@@ -1,6 +1,6 @@
1
- {
2
- "meta": {
3
- "title": "Models & Cost",
4
- "description": "Reorder configured models, show built-in official DeepSeek peak/off-peak prices, edit per-million-token prices for other models, and estimate per-turn and session cost for non-DeepSeek models."
5
- }
6
- }
1
+ {
2
+ "meta": {
3
+ "title": "Models & Cost",
4
+ "description": "Reorder configured models, show built-in official DeepSeek peak/off-peak prices with optional custom overrides, edit three per-million-token prices, estimate per-turn and session cost, and keep historical prices for models you no longer use."
5
+ }
6
+ }
package/locale/zh.json CHANGED
@@ -1,6 +1,6 @@
1
- {
2
- "meta": {
3
- "title": "模型与费用",
4
- "description": "调整已配置模型的顺序,内置 DeepSeek 官方峰谷价,按每百万 tokens 填写其他模型价格,并估算非 DeepSeek 模型的逐轮和本会话费用。"
5
- }
6
- }
1
+ {
2
+ "meta": {
3
+ "title": "模型与费用",
4
+ "description": "调整已配置模型的顺序,内置 DeepSeek 官方峰谷价并支持自定义覆盖,按每百万 tokens 填写三档价格,估算逐轮和本会话费用;可为已移除的模型维护历史价格。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,68 +1,68 @@
1
- {
2
- "name": "dsh-model-billing",
3
- "version": "0.1.2",
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.0-rc.2"
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
- "dsh": {
56
- "bundle": {
57
- "patch": "./cordis.patch.yml"
58
- },
59
- "client": {
60
- "platform": "web",
61
- "immediately": true
62
- }
63
- },
64
- "scripts": {
65
- "test": "node --test test/host.test.mjs test/routes.test.mjs",
66
- "check": "node --check host.js && node --check client.js"
67
- }
68
- }
1
+ {
2
+ "name": "dsh-model-billing",
3
+ "version": "0.2.0",
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
+ }