@dsh-tom/dsh-css 0.1.5 → 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/README.md +3 -2
- package/dist/client.js +21324 -274
- package/dist/index.js +20073 -0
- package/package.json +74 -30
- package/theme.css +17 -0
- package/index.js +0 -2
package/package.json
CHANGED
|
@@ -1,30 +1,74 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@dsh-tom/dsh-css",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "为 DeepSeek Harness
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./index.js",
|
|
7
|
-
"exports": {
|
|
8
|
-
".": "./index.js",
|
|
9
|
-
"./client": "./dist/client.js",
|
|
10
|
-
"./package.json": "./package.json"
|
|
11
|
-
},
|
|
12
|
-
"files": [
|
|
13
|
-
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@dsh-tom/dsh-css",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "为 DeepSeek Harness 调整深色界面,增加项目管理、会话费用和费用历史统计。",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./dist/index.js",
|
|
9
|
+
"./client": "./dist/client.js",
|
|
10
|
+
"./package.json": "./package.json"
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"dist",
|
|
14
|
+
"theme.css",
|
|
15
|
+
"cordis.patch.yml",
|
|
16
|
+
"README.md",
|
|
17
|
+
"LICENSE"
|
|
18
|
+
],
|
|
19
|
+
"engines": {
|
|
20
|
+
"node": ">=22",
|
|
21
|
+
"dsh": ">=0.2.1-rc.2 <0.2.2-0"
|
|
22
|
+
},
|
|
23
|
+
"dsh": {
|
|
24
|
+
"bundle": {
|
|
25
|
+
"patch": "./cordis.patch.yml"
|
|
26
|
+
},
|
|
27
|
+
"client": {
|
|
28
|
+
"platform": "web",
|
|
29
|
+
"inject": [
|
|
30
|
+
"@deepseek-ai/dsh-client-ui-layout",
|
|
31
|
+
"@deepseek-ai/dsh-client-ui-workspace",
|
|
32
|
+
"@deepseek-ai/dsh-client-ui-primitives",
|
|
33
|
+
"@deepseek-ai/dsh-api-gateway",
|
|
34
|
+
"@deepseek-ai/dsh-api-remotes",
|
|
35
|
+
"@deepseek-ai/dsh-client-locale",
|
|
36
|
+
"@deepseek-ai/dsh-client-ui-settings-general",
|
|
37
|
+
"@deepseek-ai/dsh-client-ui-chat",
|
|
38
|
+
"@deepseek-ai/dsh-client-ui-session",
|
|
39
|
+
"@deepseek-ai/dsh-client-ui-conversation"
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"scripts": {
|
|
44
|
+
"build": "node scripts/build.mjs",
|
|
45
|
+
"test": "node --test test/*.test.mjs",
|
|
46
|
+
"check": "node --check index.js && node --check src/client.js && node --check src/projects.js && node --check scripts/build.mjs && npm run build && node --check dist/index.js && node --check dist/client.js && npm test",
|
|
47
|
+
"prepack": "npm run check"
|
|
48
|
+
},
|
|
49
|
+
"license": "MIT",
|
|
50
|
+
"peerDependencies": {
|
|
51
|
+
"@deepseek-ai/cordis": "~4.0.5",
|
|
52
|
+
"@deepseek-ai/dsh-typert-protocol": "0.2.1-rc.2"
|
|
53
|
+
},
|
|
54
|
+
"peerDependenciesMeta": {
|
|
55
|
+
"@deepseek-ai/cordis": {
|
|
56
|
+
"optional": true
|
|
57
|
+
},
|
|
58
|
+
"@deepseek-ai/dsh-typert-protocol": {
|
|
59
|
+
"optional": true
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"devDependencies": {
|
|
63
|
+
"@deepseek-ai/cordis": "4.0.5",
|
|
64
|
+
"@deepseek-ai/dsh-api-gateway": "0.2.1-rc.2",
|
|
65
|
+
"@deepseek-ai/dsh-typert-registry": "0.2.1-rc.2",
|
|
66
|
+
"@deepseek-ai/dsh-typert-protocol": "0.2.1-rc.2",
|
|
67
|
+
"@deepseek-ai/dsh-session-projection": "0.2.1-rc.2",
|
|
68
|
+
"esbuild": "0.28.2",
|
|
69
|
+
"jsdom": "^27.0.0",
|
|
70
|
+
"react": "18.3.1",
|
|
71
|
+
"react-dom": "18.3.1",
|
|
72
|
+
"zod": "^4.1.0"
|
|
73
|
+
}
|
|
74
|
+
}
|
package/theme.css
CHANGED
|
@@ -166,6 +166,23 @@ html[data-windows-titlebar] body[data-ds-dark-theme] ._2H3hWW_root:not(._2H3hWW_
|
|
|
166
166
|
padding: 44px 0 0 12px;
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
+
/* 平铺会话标题与“会话”左对齐,状态图标放到右侧。 */
|
|
170
|
+
& ._9lTDKa_flatList .hIlkoa_sessionRow {
|
|
171
|
+
padding-inline-start: 4px;
|
|
172
|
+
|
|
173
|
+
& > .hIlkoa_title {
|
|
174
|
+
margin-left: 0;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
& > .hIlkoa_slot {
|
|
178
|
+
order: 1;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
& > .hIlkoa_slot:empty {
|
|
182
|
+
display: none;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
169
186
|
& ._2H3hWW_footArea {
|
|
170
187
|
grid-area: 4 / 1;
|
|
171
188
|
position: relative;
|
package/index.js
DELETED