-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 3.35 KB
/
Copy pathpackage.json
File metadata and controls
127 lines (127 loc) · 3.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "dsh-usage-chart",
"version": "1.0.1",
"description": "DeepSeek 用量 / 成本 / 余额仪表盘 for DSH Web:输入框下方实时指标指示器 + 零依赖 SVG 用量可视化图表(含每轮成本视角、耗时叠加、异常标记、成本徽章、上下文压力条),token 数据来自官方 adapter 上报,成本按官方刊例价 + 用户覆盖 pricing.json 解析,余额来自官方 /user/balance 接口。",
"type": "module",
"sideEffects": false,
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/Max-Samson/dsh-usage-chart.git"
},
"homepage": "https://github.com/Max-Samson/dsh-usage-chart#readme",
"bugs": {
"url": "https://github.com/Max-Samson/dsh-usage-chart/issues"
},
"engines": {
"node": ">=20"
},
"publishConfig": {
"access": "public"
},
"main": "lib/index.js",
"types": "lib/types/index.d.ts",
"exports": {
".": {
"types": "./lib/types/index.d.ts",
"default": "./lib/index.js"
},
"./client": {
"types": "./lib/types/client/index.d.ts",
"default": "./lib/client.js"
},
"./package.json": "./package.json"
},
"files": [
"CHANGELOG.md",
"CHANGELOG_ZH.md",
"CODE_OF_CONDUCT.md",
"CONTRIBUTING.md",
"LICENSE",
"README.md",
"README_EN.md",
"SECURITY.md",
"SUPPORT.md",
"THIRD_PARTY_NOTICES.md",
"cordis.patch.yml",
"docs/images/usage-panel-demo-en-light.png",
"docs/images/usage-panel-demo-zh-dark.png",
"lib",
"src"
],
"scripts": {
"build": "node build.mjs",
"prepare": "node build.mjs",
"typecheck": "tsc --noEmit",
"test": "npm run build && node --test tests/*.test.mjs",
"verify": "npm run typecheck && npm test",
"prepublishOnly": "npm run verify"
},
"keywords": [
"dsh",
"dsh-plugin",
"deepseek-harness",
"deepseek",
"plugin",
"usage",
"tokens",
"cost",
"balance",
"dashboard",
"charts",
"visualization"
],
"dsh": {
"bundle": {
"patch": "./cordis.patch.yml"
},
"client": {
"inject": [
"@deepseek-ai/dsh-client-runtime",
"@deepseek-ai/dsh-client-locale",
"@deepseek-ai/dsh-client-ui-conversation",
"@deepseek-ai/dsh-client-ui-slots"
],
"platform": "web"
}
},
"peerDependencies": {
"@deepseek-ai/cordis": "^4.0.1",
"@deepseek-ai/dsh-client-runtime": ">=0.1.0-rc.6 <0.2.0",
"@deepseek-ai/dsh-client-locale": ">=0.1.0-rc.6 <0.2.0",
"@deepseek-ai/dsh-client-ui-conversation": ">=0.1.0-rc.6 <0.2.0",
"@deepseek-ai/dsh-client-ui-slots": ">=0.1.0-rc.6 <0.2.0",
"react": "^18.2.0"
},
"peerDependenciesMeta": {
"@deepseek-ai/cordis": {
"optional": true
},
"@deepseek-ai/dsh-client-runtime": {
"optional": true
},
"@deepseek-ai/dsh-client-locale": {
"optional": true
},
"@deepseek-ai/dsh-client-ui-conversation": {
"optional": true
},
"@deepseek-ai/dsh-client-ui-slots": {
"optional": true
},
"react": {
"optional": true
}
},
"devDependencies": {
"@deepseek-ai/cordis": "^4.0.1",
"@types/node": "^22.0.0",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"esbuild": "^0.28.2",
"playwright-core": "^1.62.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.6.3"
}
}