dsh-model-usage 0.8.2 → 0.8.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/locale/en.json CHANGED
@@ -1,6 +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
- }
1
+ {
2
+ "meta": {
3
+ "title": "Model usage",
4
+ "description": "Adds a Usage entry to the session header: provider account usage, manual query-target selection, background refresh, and a seven-day Command Code balance-spend trend."
5
+ }
6
+ }
package/locale/zh.json CHANGED
@@ -1,6 +1,6 @@
1
- {
2
- "meta": {
3
- "title": "用量",
4
- "description": "在会话头部加一个「用量」入口:查看当前对话所用模型对应供应商账户的用量(余额 / 套餐窗口 / 请求数),可手动切换查询对象,并在后台按间隔自动刷新。"
5
- }
6
- }
1
+ {
2
+ "meta": {
3
+ "title": "用量",
4
+ "description": "在会话头部加一个「用量」入口:查看当前对话所用模型对应供应商账户的用量(余额 / 套餐窗口 / 请求数),可手动切换查询对象、后台自动刷新,并查看 Command Code 七天余额消耗趋势。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,84 +1,84 @@
1
- {
2
- "name": "dsh-model-usage",
3
- "version": "0.8.2",
4
- "description": "Provider-account usage for DeepSeek Harness: quota windows, credit balance and request counts for the model a conversation runs on, with per-provider adapters and manual target selection.",
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
- "dsh-plugin",
18
- "deepseek",
19
- "deepseek-harness",
20
- "cordis",
21
- "cordis-plugin",
22
- "llm",
23
- "usage",
24
- "token-usage",
25
- "quota",
26
- "billing",
27
- "balance",
28
- "commandcode",
29
- "openrouter",
30
- "opencode",
31
- "moonshot",
32
- "siliconflow",
33
- "new-api"
34
- ],
35
- "type": "module",
36
- "main": "lib/index.js",
37
- "engines": {
38
- "node": ">=18",
39
- "dsh": ">=0.2.1-rc.2"
40
- },
41
- "exports": {
42
- ".": "./lib/index.js",
43
- "./client": "./lib/client.js",
44
- "./cordis.patch.yml": "./cordis.patch.yml",
45
- "./locale/*.json": "./locale/*.json",
46
- "./icon": "./icon.svg",
47
- "./package.json": "./package.json"
48
- },
49
- "dsh": {
50
- "manifestVersion": 1,
51
- "bundle": {
52
- "patch": "./cordis.patch.yml"
53
- },
54
- "client": {
55
- "platform": "web",
56
- "inject": [
57
- "@deepseek-ai/dsh-client-locale",
58
- "@deepseek-ai/dsh-client-ui-conversation"
59
- ],
60
- "immediately": false
61
- }
62
- },
63
- "scripts": {
64
- "check": "node scripts/check.mjs",
65
- "smoke": "node scripts/smoke.mjs",
66
- "verify": "node scripts/check.mjs && node scripts/smoke.mjs",
67
- "test": "node scripts/check.mjs && node scripts/smoke.mjs",
68
- "prepublishOnly": "node scripts/check.mjs && node scripts/smoke.mjs"
69
- },
70
- "files": [
71
- "lib/index.js",
72
- "lib/client.js",
73
- "cordis.patch.yml",
74
- "locale/*.json",
75
- "icon.svg",
76
- "docs/screenshots/",
77
- "README.md",
78
- "CHANGELOG.md",
79
- "LICENSE"
80
- ],
81
- "publishConfig": {
82
- "access": "public"
83
- }
84
- }
1
+ {
2
+ "name": "dsh-model-usage",
3
+ "version": "0.8.3",
4
+ "description": "Provider-account usage for DeepSeek Harness: quota windows, credit balance and request counts for the model a conversation runs on, with per-provider adapters and manual target selection.",
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
+ "dsh-plugin",
18
+ "deepseek",
19
+ "deepseek-harness",
20
+ "cordis",
21
+ "cordis-plugin",
22
+ "llm",
23
+ "usage",
24
+ "token-usage",
25
+ "quota",
26
+ "billing",
27
+ "balance",
28
+ "commandcode",
29
+ "openrouter",
30
+ "opencode",
31
+ "moonshot",
32
+ "siliconflow",
33
+ "new-api"
34
+ ],
35
+ "type": "module",
36
+ "main": "lib/index.js",
37
+ "engines": {
38
+ "node": ">=18",
39
+ "dsh": ">=0.2.1-rc.2"
40
+ },
41
+ "exports": {
42
+ ".": "./lib/index.js",
43
+ "./client": "./lib/client.js",
44
+ "./cordis.patch.yml": "./cordis.patch.yml",
45
+ "./locale/*.json": "./locale/*.json",
46
+ "./icon": "./icon.svg",
47
+ "./package.json": "./package.json"
48
+ },
49
+ "dsh": {
50
+ "manifestVersion": 1,
51
+ "bundle": {
52
+ "patch": "./cordis.patch.yml"
53
+ },
54
+ "client": {
55
+ "platform": "web",
56
+ "inject": [
57
+ "@deepseek-ai/dsh-client-locale",
58
+ "@deepseek-ai/dsh-client-ui-conversation"
59
+ ],
60
+ "immediately": false
61
+ }
62
+ },
63
+ "scripts": {
64
+ "check": "node scripts/check.mjs",
65
+ "smoke": "node scripts/smoke.mjs",
66
+ "verify": "node scripts/check.mjs && node scripts/smoke.mjs",
67
+ "test": "node scripts/check.mjs && node scripts/smoke.mjs",
68
+ "prepublishOnly": "node scripts/check.mjs && node scripts/smoke.mjs"
69
+ },
70
+ "files": [
71
+ "lib/index.js",
72
+ "lib/client.js",
73
+ "cordis.patch.yml",
74
+ "locale/*.json",
75
+ "icon.svg",
76
+ "docs/screenshots/",
77
+ "README.md",
78
+ "CHANGELOG.md",
79
+ "LICENSE"
80
+ ],
81
+ "publishConfig": {
82
+ "access": "public"
83
+ }
84
+ }