@pinkbanana/dsh-balance 0.3.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 +39 -0
- package/README_EN.md +39 -0
- package/cordis.patch.yml +3 -0
- package/docs/dsh-balance-settings.jpg +0 -0
- package/docs/dsh-models-settings.jpg +0 -0
- package/lib/client.js +472 -0
- package/lib/client.js.map +1 -0
- package/lib/index.js +327 -0
- package/lib/index.js.map +1 -0
- package/lib/types/balance.d.ts +22 -0
- package/lib/types/client/BalanceTab.d.ts +8 -0
- package/lib/types/client/ModelsTab.d.ts +8 -0
- package/lib/types/client/index.d.ts +6 -0
- package/lib/types/client/locales.d.ts +47 -0
- package/lib/types/client/styles.d.ts +1 -0
- package/lib/types/index.d.ts +17 -0
- package/lib/types/models.d.ts +21 -0
- package/lib/types/types.d.ts +43 -0
- package/package.json +112 -0
package/package.json
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pinkbanana/dsh-balance",
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "DeepSeek Harness plugin that shows API balances and available models in Settings",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/crazywoola/dsh-balance.git"
|
|
8
|
+
},
|
|
9
|
+
"homepage": "https://github.com/crazywoola/dsh-balance#readme",
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/crazywoola/dsh-balance/issues"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"deepseek",
|
|
15
|
+
"deepseek-harness",
|
|
16
|
+
"dsh-plugin",
|
|
17
|
+
"dsh-plugins",
|
|
18
|
+
"balance",
|
|
19
|
+
"models"
|
|
20
|
+
],
|
|
21
|
+
"type": "module",
|
|
22
|
+
"main": "./lib/index.js",
|
|
23
|
+
"types": "./lib/types/index.d.ts",
|
|
24
|
+
"exports": {
|
|
25
|
+
".": {
|
|
26
|
+
"types": "./lib/types/index.d.ts",
|
|
27
|
+
"default": "./lib/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./client": {
|
|
30
|
+
"types": "./lib/types/client/index.d.ts",
|
|
31
|
+
"default": "./lib/client.js"
|
|
32
|
+
},
|
|
33
|
+
"./package.json": "./package.json"
|
|
34
|
+
},
|
|
35
|
+
"files": [
|
|
36
|
+
"lib/index.js",
|
|
37
|
+
"lib/index.js.map",
|
|
38
|
+
"lib/client.js",
|
|
39
|
+
"lib/client.js.map",
|
|
40
|
+
"lib/types/**/*.d.ts",
|
|
41
|
+
"docs/*.jpg",
|
|
42
|
+
"cordis.patch.yml",
|
|
43
|
+
"LICENSE",
|
|
44
|
+
"README.md",
|
|
45
|
+
"README_EN.md"
|
|
46
|
+
],
|
|
47
|
+
"dsh": {
|
|
48
|
+
"bundle": {
|
|
49
|
+
"patch": "./cordis.patch.yml"
|
|
50
|
+
},
|
|
51
|
+
"client": {
|
|
52
|
+
"platform": "web",
|
|
53
|
+
"inject": [
|
|
54
|
+
"@deepseek-ai/dsh-client-locale",
|
|
55
|
+
"@deepseek-ai/dsh-client-ui-settings",
|
|
56
|
+
"@deepseek-ai/dsh-client-ui-settings-plugins"
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"engines": {
|
|
61
|
+
"node": ">=20"
|
|
62
|
+
},
|
|
63
|
+
"publishConfig": {
|
|
64
|
+
"access": "public"
|
|
65
|
+
},
|
|
66
|
+
"license": "MIT",
|
|
67
|
+
"peerDependencies": {
|
|
68
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
69
|
+
"@deepseek-ai/dsh-client-locale": "^0.1.0-rc.6",
|
|
70
|
+
"@deepseek-ai/dsh-client-runtime": "^0.1.0-rc.6",
|
|
71
|
+
"@deepseek-ai/dsh-client-ui-settings": "^0.1.0-rc.6",
|
|
72
|
+
"@deepseek-ai/dsh-client-ui-settings-plugins": "^0.1.0-rc.6",
|
|
73
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.1.0-rc.6",
|
|
74
|
+
"@deepseek-ai/dsh-credentials": "^0.1.0-rc.6",
|
|
75
|
+
"@deepseek-ai/dsh-host-webserver": "^0.1.0-rc.6",
|
|
76
|
+
"react": "^18.2.0"
|
|
77
|
+
},
|
|
78
|
+
"dependencies": {
|
|
79
|
+
"@deepseek-ai/schemastery": "^3.18.1"
|
|
80
|
+
},
|
|
81
|
+
"devDependencies": {
|
|
82
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
83
|
+
"@deepseek-ai/dsh-client-locale": "0.1.0-rc.6",
|
|
84
|
+
"@deepseek-ai/dsh-client-runtime": "0.1.0-rc.6",
|
|
85
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.1.0-rc.6",
|
|
86
|
+
"@deepseek-ai/dsh-client-ui-settings-plugins": "0.1.0-rc.6",
|
|
87
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.1.0-rc.6",
|
|
88
|
+
"@deepseek-ai/dsh-credentials": "0.1.0-rc.6",
|
|
89
|
+
"@deepseek-ai/dsh-host-webserver": "0.1.0-rc.6",
|
|
90
|
+
"@eslint/js": "^9.39.1",
|
|
91
|
+
"@types/node": "^24.10.0",
|
|
92
|
+
"@types/react": "^18.3.27",
|
|
93
|
+
"eslint": "^9.39.1",
|
|
94
|
+
"globals": "^16.5.0",
|
|
95
|
+
"react": "^18.3.1",
|
|
96
|
+
"rimraf": "^6.1.2",
|
|
97
|
+
"tsdown": "^0.22.14",
|
|
98
|
+
"typescript": "^5.9.3",
|
|
99
|
+
"typescript-eslint": "^8.48.0",
|
|
100
|
+
"vitest": "^4.0.15"
|
|
101
|
+
},
|
|
102
|
+
"scripts": {
|
|
103
|
+
"build": "rimraf lib && tsc -p tsconfig.build.json && tsdown",
|
|
104
|
+
"check": "pnpm run lint && pnpm run typecheck && pnpm run test && pnpm run build",
|
|
105
|
+
"dev": "tsdown --watch",
|
|
106
|
+
"lint": "eslint .",
|
|
107
|
+
"pack:plugin": "pnpm pack",
|
|
108
|
+
"test": "vitest run",
|
|
109
|
+
"test:watch": "vitest",
|
|
110
|
+
"typecheck": "tsc --noEmit"
|
|
111
|
+
}
|
|
112
|
+
}
|