dsh-sidebar-usage 0.0.0-stage → 1.0.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/LICENSE +21 -0
- package/README.md +59 -2
- package/README.zh.md +71 -0
- package/cordis.patch.yml +5 -0
- package/icon.svg +21 -0
- package/lib/accounts.js +1009 -0
- package/lib/client.js +5112 -0
- package/lib/custom.js +427 -0
- package/lib/index.js +1488 -0
- package/lib/pricing.js +420 -0
- package/lib/providers.js +183 -0
- package/locale/en.json +7 -0
- package/locale/zh.json +7 -0
- package/package.json +68 -4
- package/screenshot.png +0 -0
- package/screenshot2.png +0 -0
- package/screenshots.json +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,70 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-sidebar-usage",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Sidebar usage HUD for DeepSeek Harness: provider balance / subscription quota, cumulative tokens & calls, drag-to-resize card, hover-out drawer that collects bottom-bar entries.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "lib/index.js",
|
|
7
|
+
"icon": "./icon.svg",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/yz-china/dsh-sidebar-usage.git"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://github.com/yz-china/dsh-sidebar-usage#readme",
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/yz-china/dsh-sidebar-usage/issues"
|
|
15
|
+
},
|
|
16
|
+
"scripts": {
|
|
17
|
+
"test": "node --test \"test/*.test.mjs\""
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"lib",
|
|
21
|
+
"locale",
|
|
22
|
+
"icon.svg",
|
|
23
|
+
"cordis.patch.yml",
|
|
24
|
+
"README.md",
|
|
25
|
+
"README.zh.md",
|
|
26
|
+
"LICENSE",
|
|
27
|
+
"screenshot.png",
|
|
28
|
+
"screenshot2.png",
|
|
29
|
+
"screenshots.json"
|
|
30
|
+
],
|
|
31
|
+
"exports": {
|
|
32
|
+
".": "./lib/index.js",
|
|
33
|
+
"./client": "./lib/client.js",
|
|
34
|
+
"./locale/*.json": "./locale/*.json",
|
|
35
|
+
"./package.json": "./package.json"
|
|
36
|
+
},
|
|
37
|
+
"dsh": {
|
|
38
|
+
"bundle": {
|
|
39
|
+
"patch": "./cordis.patch.yml"
|
|
40
|
+
},
|
|
41
|
+
"client": {
|
|
42
|
+
"platform": "web"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"peerDependencies": {
|
|
46
|
+
"@deepseek-ai/dsh-credentials": "^0.1.0-rc.6 || ^0.2.0-rc.1 || ^0.2.1-rc.2",
|
|
47
|
+
"@deepseek-ai/dsh-host-webserver": "^0.1.0-rc.6 || ^0.2.0-rc.1 || ^0.2.1-rc.2",
|
|
48
|
+
"@deepseek-ai/schemastery": "^3.18.0"
|
|
49
|
+
},
|
|
50
|
+
"keywords": [
|
|
51
|
+
"dsh",
|
|
52
|
+
"dsh-plugin",
|
|
53
|
+
"deepseek",
|
|
54
|
+
"usage",
|
|
55
|
+
"balance",
|
|
56
|
+
"quota",
|
|
57
|
+
"sidebar",
|
|
58
|
+
"hud",
|
|
59
|
+
"new-api"
|
|
60
|
+
],
|
|
61
|
+
"license": "MIT",
|
|
62
|
+
"publishConfig": {
|
|
63
|
+
"registry": "https://registry.npmjs.org",
|
|
64
|
+
"access": "public"
|
|
65
|
+
},
|
|
66
|
+
"author": {
|
|
67
|
+
"name": "yz-china",
|
|
68
|
+
"url": "https://github.com/yz-china"
|
|
69
|
+
}
|
|
70
|
+
}
|
package/screenshot.png
ADDED
|
Binary file
|
package/screenshot2.png
ADDED
|
Binary file
|
package/screenshots.json
ADDED