dsh-context-compression-improved 0.6.4 → 0.6.5
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/.agents-stash-064.patch +39 -0
- package/CHANGELOG.ja.md +42 -0
- package/CHANGELOG.ko.md +38 -0
- package/CHANGELOG.md +46 -0
- package/CHANGELOG.zh.md +38 -0
- package/README.ja.md +2 -2
- package/README.ko.md +2 -2
- package/README.md +5 -3
- package/README.zh.md +2 -2
- package/_dsh_devdeps.json +50 -0
- package/_verify064/package/package.json +162 -0
- package/_verify064/package/packages/selector/src/client/index.ts +232 -0
- package/package.json +163 -162
- package/packages/selector/dsh.plugin.json +16 -16
- package/packages/selector/lib/client.js +2 -1
- package/packages/selector/lib/style.css +46 -46
- package/packages/selector/package.json +114 -114
- package/packages/selector/src/client/index.ts +213 -232
- package/packages/selector/src/client/scope-face.ts +24 -24
- package/packages/selector/src/index.ts +0 -1
- package/packages/selector/src/pruner.ts +0 -1
- package/packages/selector/tests/custom-contract.client.spec.ts +222 -222
- package/packages/selector/tests/helpers/legacy-namespace.ts +8 -4
- package/packages/selector/tests/helpers/legacy-settings/index.ts +15 -0
- package/packages/selector/tests/helpers/legacy-settings/legacy/provider.d.ts +41 -0
- package/packages/selector/tests/helpers/legacy-settings/legacy/provider.js +647 -0
- package/packages/selector/tests/helpers/legacy-settings/legacy/redact.js +78 -0
- package/packages/selector/tests/helpers/legacy-settings/legacy/util-values.js +234 -0
- package/packages/selector/tests/host-preset-overlay.host.spec.ts +3 -5
- package/packages/selector/tests/preset-overlay-loader.e2e.host.spec.ts +200 -206
- package/packages/selector/tests/public/package-contract.client.spec.ts +78 -78
- package/packages/selector/tests/runtime/advice-never-withholds.host.spec.ts +230 -233
- package/packages/selector/tests/runtime/public/public-runtime.spec.ts +2731 -2727
- package/packages/selector/tests/settings-seat.client.spec.ts +165 -165
- package/packages/selector/tests/standing-generation.host.spec.ts +724 -704
- package/packages/selector/tests/subagent-cache-reuse.host.spec.ts +18 -2
- package/packages/selector/tests/support/ui-primitives.tsx +34 -34
- package/pnpm-workspace.yaml +1 -1
- package/scripts/packed-install-e2e.mjs +6 -6
- package/scripts/verify-release.mjs +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
.j7gVQa_settingsSection {
|
|
2
2
|
max-width: 720px;
|
|
3
3
|
color: var(--dsw-alias-label-primary);
|
|
4
4
|
flex-direction: column;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
display: flex;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
.
|
|
9
|
+
.j7gVQa_settingsTitle {
|
|
10
10
|
color: var(--dsw-alias-label-primary);
|
|
11
11
|
margin: 0;
|
|
12
12
|
font-size: 16px;
|
|
@@ -14,24 +14,24 @@
|
|
|
14
14
|
line-height: 24px;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
.
|
|
17
|
+
.j7gVQa_settingsDescription {
|
|
18
18
|
color: var(--dsw-alias-label-tertiary);
|
|
19
19
|
margin: 0;
|
|
20
20
|
font-size: 14px;
|
|
21
21
|
line-height: 22px;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
.
|
|
24
|
+
.j7gVQa_root {
|
|
25
25
|
width: 100%;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
.
|
|
28
|
+
.j7gVQa_profileGrid {
|
|
29
29
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
30
30
|
gap: 10px;
|
|
31
31
|
display: grid;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
.
|
|
34
|
+
.j7gVQa_profileCard {
|
|
35
35
|
border: 1px solid var(--dsw-alias-border-l2);
|
|
36
36
|
min-height: 112px;
|
|
37
37
|
color: var(--dsw-alias-label-primary);
|
|
@@ -45,41 +45,41 @@
|
|
|
45
45
|
display: flex;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
.
|
|
48
|
+
.j7gVQa_profileCard:hover:not(:disabled) {
|
|
49
49
|
background: var(--dsw-alias-interactive-bg-hover);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
.
|
|
52
|
+
.j7gVQa_profileCard[aria-pressed="true"] {
|
|
53
53
|
border-color: var(--dsw-alias-label-primary);
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
.
|
|
56
|
+
.j7gVQa_profileCard:active:not(:disabled) {
|
|
57
57
|
transform: scale(.99);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
.
|
|
60
|
+
.j7gVQa_profileCard:disabled {
|
|
61
61
|
cursor: default;
|
|
62
62
|
opacity: .6;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
.
|
|
65
|
+
.j7gVQa_profileCard:focus-visible {
|
|
66
66
|
outline-offset: 2px;
|
|
67
67
|
outline: 2px solid;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
.
|
|
70
|
+
.j7gVQa_profileCardTop {
|
|
71
71
|
align-items: center;
|
|
72
72
|
gap: 8px;
|
|
73
73
|
display: flex;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
.
|
|
76
|
+
.j7gVQa_profileCardTitle {
|
|
77
77
|
font-size: 14px;
|
|
78
78
|
font-weight: 500;
|
|
79
79
|
line-height: 20px;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
.
|
|
82
|
+
.j7gVQa_profileCurrent {
|
|
83
83
|
background: var(--dsw-alias-label-primary);
|
|
84
84
|
color: var(--dsw-alias-bg-base);
|
|
85
85
|
border-radius: 999px;
|
|
@@ -88,13 +88,13 @@
|
|
|
88
88
|
line-height: 14px;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
.
|
|
91
|
+
.j7gVQa_profileCardDetail {
|
|
92
92
|
color: var(--dsw-alias-label-secondary);
|
|
93
93
|
font-size: 12px;
|
|
94
94
|
line-height: 18px;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
.
|
|
97
|
+
.j7gVQa_button {
|
|
98
98
|
border: 1px solid var(--dsw-alias-border-l2);
|
|
99
99
|
width: 100%;
|
|
100
100
|
min-height: 34px;
|
|
@@ -109,27 +109,27 @@
|
|
|
109
109
|
display: flex;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
.
|
|
112
|
+
.j7gVQa_button:hover {
|
|
113
113
|
background: var(--dsw-alias-interactive-bg-hover);
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
.
|
|
116
|
+
.j7gVQa_button:disabled {
|
|
117
117
|
cursor: default;
|
|
118
118
|
opacity: .6;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
.
|
|
121
|
+
.j7gVQa_copy {
|
|
122
122
|
flex: 1;
|
|
123
123
|
min-width: 0;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
.
|
|
126
|
+
.j7gVQa_label {
|
|
127
127
|
color: var(--dsw-alias-label-tertiary);
|
|
128
128
|
font-size: 11px;
|
|
129
129
|
line-height: 14px;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
.
|
|
132
|
+
.j7gVQa_value {
|
|
133
133
|
text-overflow: ellipsis;
|
|
134
134
|
white-space: nowrap;
|
|
135
135
|
font-size: 13px;
|
|
@@ -137,24 +137,24 @@
|
|
|
137
137
|
overflow: hidden;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
.
|
|
140
|
+
.j7gVQa_chevron {
|
|
141
141
|
color: var(--dsw-alias-label-secondary);
|
|
142
142
|
flex: none;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
.
|
|
145
|
+
.j7gVQa_menuCopy {
|
|
146
146
|
flex-direction: column;
|
|
147
147
|
gap: 2px;
|
|
148
148
|
min-width: 220px;
|
|
149
149
|
display: flex;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
.
|
|
152
|
+
.j7gVQa_menuTitle {
|
|
153
153
|
font-size: 13px;
|
|
154
154
|
line-height: 17px;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
.
|
|
157
|
+
.j7gVQa_menuDetail {
|
|
158
158
|
white-space: normal;
|
|
159
159
|
max-width: 290px;
|
|
160
160
|
color: var(--dsw-alias-label-tertiary);
|
|
@@ -162,61 +162,61 @@
|
|
|
162
162
|
line-height: 15px;
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
.
|
|
165
|
+
.j7gVQa_error {
|
|
166
166
|
color: var(--dsw-alias-state-error-primary);
|
|
167
167
|
padding: 4px 8px 0;
|
|
168
168
|
font-size: 11px;
|
|
169
169
|
line-height: 15px;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
-
.
|
|
172
|
+
.j7gVQa_unavailable {
|
|
173
173
|
color: var(--dsw-alias-label-tertiary);
|
|
174
174
|
padding: 4px 8px 0;
|
|
175
175
|
font-size: 11px;
|
|
176
176
|
line-height: 15px;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
.
|
|
179
|
+
.j7gVQa_settingsHint {
|
|
180
180
|
color: var(--dsw-alias-label-secondary);
|
|
181
181
|
padding: 4px 8px 0;
|
|
182
182
|
font-size: 11px;
|
|
183
183
|
line-height: 15px;
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
.
|
|
186
|
+
.j7gVQa_pricing {
|
|
187
187
|
color: var(--dsw-alias-label-tertiary);
|
|
188
188
|
padding: 4px 8px 0;
|
|
189
189
|
font-size: 11px;
|
|
190
190
|
line-height: 15px;
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
.
|
|
193
|
+
.j7gVQa_custom {
|
|
194
194
|
border-top: 1px solid var(--dsw-alias-border-l2);
|
|
195
195
|
margin-top: 16px;
|
|
196
196
|
padding: 16px 0 0;
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
.
|
|
199
|
+
.j7gVQa_customTitle {
|
|
200
200
|
margin: 0 0 6px;
|
|
201
201
|
font-size: 13px;
|
|
202
202
|
line-height: 17px;
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
.
|
|
205
|
+
.j7gVQa_customNote {
|
|
206
206
|
color: var(--dsw-alias-label-tertiary);
|
|
207
207
|
margin: 4px 0;
|
|
208
208
|
font-size: 11px;
|
|
209
209
|
line-height: 15px;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
.
|
|
212
|
+
.j7gVQa_stage {
|
|
213
213
|
border: 0;
|
|
214
214
|
border-top: 1px solid var(--dsw-alias-border-l2);
|
|
215
215
|
margin: 12px 0 0;
|
|
216
216
|
padding: 12px 0 0;
|
|
217
217
|
}
|
|
218
218
|
|
|
219
|
-
.
|
|
219
|
+
.j7gVQa_stageToggle {
|
|
220
220
|
align-items: center;
|
|
221
221
|
gap: 6px;
|
|
222
222
|
font-size: 12px;
|
|
@@ -224,13 +224,13 @@
|
|
|
224
224
|
display: inline-flex;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
-
.
|
|
227
|
+
.j7gVQa_fieldGrid {
|
|
228
228
|
grid-template-columns: 1fr;
|
|
229
229
|
gap: 8px;
|
|
230
230
|
display: grid;
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
-
.
|
|
233
|
+
.j7gVQa_field {
|
|
234
234
|
min-width: 0;
|
|
235
235
|
color: var(--dsw-alias-label-secondary);
|
|
236
236
|
flex-direction: column;
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
display: flex;
|
|
242
242
|
}
|
|
243
243
|
|
|
244
|
-
.
|
|
244
|
+
.j7gVQa_field input, .j7gVQa_field select {
|
|
245
245
|
box-sizing: border-box;
|
|
246
246
|
border: 1px solid var(--dsw-alias-border-l2);
|
|
247
247
|
background: var(--dsw-alias-bg-base);
|
|
@@ -253,19 +253,19 @@
|
|
|
253
253
|
padding: 4px 6px;
|
|
254
254
|
}
|
|
255
255
|
|
|
256
|
-
.
|
|
256
|
+
.j7gVQa_field input:focus-visible, .j7gVQa_field select:focus-visible, .j7gVQa_actions button:focus-visible {
|
|
257
257
|
outline-offset: 2px;
|
|
258
258
|
outline: 2px solid;
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
.
|
|
261
|
+
.j7gVQa_actions {
|
|
262
262
|
flex-wrap: wrap;
|
|
263
263
|
gap: 8px;
|
|
264
264
|
margin-top: 10px;
|
|
265
265
|
display: flex;
|
|
266
266
|
}
|
|
267
267
|
|
|
268
|
-
.
|
|
268
|
+
.j7gVQa_actions button {
|
|
269
269
|
border: 1px solid var(--dsw-alias-border-l2);
|
|
270
270
|
min-height: 30px;
|
|
271
271
|
color: var(--dsw-alias-label-primary);
|
|
@@ -274,34 +274,34 @@
|
|
|
274
274
|
padding: 4px 8px;
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
.
|
|
277
|
+
.j7gVQa_actions button:active:not(:disabled) {
|
|
278
278
|
transform: scale(.98);
|
|
279
279
|
}
|
|
280
280
|
|
|
281
|
-
.
|
|
281
|
+
.j7gVQa_actions button:disabled {
|
|
282
282
|
opacity: .6;
|
|
283
283
|
}
|
|
284
284
|
|
|
285
285
|
@media (width <= 560px) {
|
|
286
|
-
.
|
|
286
|
+
.j7gVQa_profileGrid {
|
|
287
287
|
grid-template-columns: 1fr;
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
290
|
|
|
291
|
-
.
|
|
291
|
+
.j7gVQa_autoCompact {
|
|
292
292
|
border: 1px solid #80808059;
|
|
293
293
|
border-radius: 8px;
|
|
294
294
|
margin-top: 24px;
|
|
295
295
|
padding: 16px;
|
|
296
296
|
}
|
|
297
297
|
|
|
298
|
-
.
|
|
298
|
+
.j7gVQa_autoCompactTitle {
|
|
299
299
|
margin: 0 0 8px;
|
|
300
300
|
font-size: 15px;
|
|
301
301
|
font-weight: 600;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
.
|
|
304
|
+
.j7gVQa_autoCompactRisk {
|
|
305
305
|
opacity: .9;
|
|
306
306
|
margin: 8px 0 0;
|
|
307
307
|
font-size: 12px;
|
|
@@ -1,114 +1,114 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "dsh-context-compression-improved",
|
|
3
|
-
"version": "0.2.0",
|
|
4
|
-
"description": "One-install context-compression selector bundle for DeepSeek Harness",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "lib/index.js",
|
|
7
|
-
"types": "lib/index.d.ts",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./lib/index.d.ts",
|
|
11
|
-
"default": "./lib/index.js"
|
|
12
|
-
},
|
|
13
|
-
"./invariant": {
|
|
14
|
-
"types": "./lib/invariant.d.ts",
|
|
15
|
-
"default": "./lib/invariant.js"
|
|
16
|
-
},
|
|
17
|
-
"./pruner": {
|
|
18
|
-
"types": "./lib/pruner.d.ts",
|
|
19
|
-
"default": "./lib/pruner.js"
|
|
20
|
-
},
|
|
21
|
-
"./client": {
|
|
22
|
-
"types": "./lib/client.d.ts",
|
|
23
|
-
"default": "./lib/client.js"
|
|
24
|
-
},
|
|
25
|
-
"./package.json": "./package.json"
|
|
26
|
-
},
|
|
27
|
-
"files": [
|
|
28
|
-
"lib/**/*.js",
|
|
29
|
-
"lib/**/*.d.ts",
|
|
30
|
-
"cordis.patch.yml",
|
|
31
|
-
"dsh.plugin.json",
|
|
32
|
-
"screenshots.json",
|
|
33
|
-
"assets",
|
|
34
|
-
"README.md",
|
|
35
|
-
"README.zh.md",
|
|
36
|
-
"LICENSE",
|
|
37
|
-
"THIRD_PARTY_NOTICES.md"
|
|
38
|
-
],
|
|
39
|
-
"dsh": {
|
|
40
|
-
"client": {
|
|
41
|
-
"inject": [
|
|
42
|
-
"@deepseek-ai/dsh-client-locale",
|
|
43
|
-
"@deepseek-ai/dsh-client-ui-slots",
|
|
44
|
-
"@deepseek-ai/dsh-client-ui-settings"
|
|
45
|
-
],
|
|
46
|
-
"platform": "web"
|
|
47
|
-
},
|
|
48
|
-
"bundle": {
|
|
49
|
-
"patch": "./cordis.patch.yml"
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
"scripts": {
|
|
53
|
-
"bundle": "tsdown --config tsdown.config.ts && tsdown --config tsdown.client.config.ts",
|
|
54
|
-
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
55
|
-
"test": "vitest run --root ../.. --config vitest.config.ts --project runtime --project selector-host --project selector-client",
|
|
56
|
-
"pack:dry-run": "npm pack --dry-run"
|
|
57
|
-
},
|
|
58
|
-
"repository": {
|
|
59
|
-
"type": "git",
|
|
60
|
-
"url": "git+https://github.com/drscrewdriver/dsh-context-compression-improved.git",
|
|
61
|
-
"directory": "packages/selector"
|
|
62
|
-
},
|
|
63
|
-
"homepage": "https://github.com/drscrewdriver/dsh-context-compression-improved#readme",
|
|
64
|
-
"bugs": {
|
|
65
|
-
"url": "https://github.com/drscrewdriver/dsh-context-compression-improved/issues"
|
|
66
|
-
},
|
|
67
|
-
"author": "WilliamShi666",
|
|
68
|
-
"engines": {
|
|
69
|
-
"node": "^22.19.0 || >=24.0.0",
|
|
70
|
-
"dsh": ">=0.1.7-rc.1 <0.1.8-0"
|
|
71
|
-
},
|
|
72
|
-
"keywords": [
|
|
73
|
-
"deepseek",
|
|
74
|
-
"harness",
|
|
75
|
-
"context",
|
|
76
|
-
"compression",
|
|
77
|
-
"plugin"
|
|
78
|
-
],
|
|
79
|
-
"license": "MIT",
|
|
80
|
-
"publishConfig": {
|
|
81
|
-
"access": "public",
|
|
82
|
-
"tag": "latest"
|
|
83
|
-
},
|
|
84
|
-
"dependencies": {
|
|
85
|
-
"@deepseek-ai/schemastery": "3.18.4",
|
|
86
|
-
"@huggingface/tokenizers": "0.1.3",
|
|
87
|
-
"js-yaml": "^4.3.2"
|
|
88
|
-
},
|
|
89
|
-
"peerDependencies": {
|
|
90
|
-
"@deepseek-ai/cordis": ">=4.0.1 <5",
|
|
91
|
-
"@deepseek-ai/cordis-plugin-include": ">=1.0.6 <2",
|
|
92
|
-
"@deepseek-ai/cordis-plugin-loader": ">=1.0.2 <2",
|
|
93
|
-
"@deepseek-ai/dsh-agent": ">=0.1.7-rc.1 <0.2.0-0",
|
|
94
|
-
"@deepseek-ai/dsh-agent-presets": ">=0.1.7-rc.1 <0.2.0-0",
|
|
95
|
-
"@deepseek-ai/dsh-client-locale": ">=0.1.7-rc.1 <0.2.0-0",
|
|
96
|
-
"@deepseek-ai/dsh-client-store": ">=0.1.7-rc.1 <0.2.0-0",
|
|
97
|
-
"@deepseek-ai/dsh-client-ui-primitives": ">=0.1.7-rc.1 <0.2.0-0",
|
|
98
|
-
"@deepseek-ai/dsh-client-ui-session": ">=0.1.7-rc.1 <0.2.0-0",
|
|
99
|
-
"@deepseek-ai/dsh-client-ui-settings": ">=0.1.7-rc.1 <0.2.0-0",
|
|
100
|
-
"@deepseek-ai/dsh-client-ui-slots": ">=0.1.7-rc.1 <0.2.0-0",
|
|
101
|
-
"@deepseek-ai/dsh-client-ui-workspace": ">=0.1.7-rc.1 <0.2.0-0",
|
|
102
|
-
"@deepseek-ai/dsh-command-compact": ">=0.1.7-rc.1 <0.2.0-0",
|
|
103
|
-
"@deepseek-ai/dsh-compaction": ">=0.1.7-rc.1 <0.2.0-0",
|
|
104
|
-
"@deepseek-ai/dsh-compaction-basic": ">=0.1.7-rc.1 <0.2.0-0",
|
|
105
|
-
"@deepseek-ai/dsh-invariants": ">=0.1.7-rc.1 <0.2.0-0",
|
|
106
|
-
"@deepseek-ai/dsh-llm": ">=0.1.7-rc.1 <0.2.0-0",
|
|
107
|
-
"@deepseek-ai/dsh-session": ">=0.1.7-rc.1 <0.2.0-0",
|
|
108
|
-
"@deepseek-ai/dsh-settings": ">=0.1.7-rc.1 <0.2.0-0",
|
|
109
|
-
"@deepseek-ai/dsh-system-prompt": ">=0.1.7-rc.1 <0.2.0-0",
|
|
110
|
-
"@deepseek-ai/dsh-token-meter": ">=0.1.7-rc.1 <0.2.0-0",
|
|
111
|
-
"@deepseek-ai/dsh-tools": ">=0.1.7-rc.1 <0.2.0-0",
|
|
112
|
-
"react": ">=18 <19"
|
|
113
|
-
}
|
|
114
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-context-compression-improved",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "One-install context-compression selector bundle for DeepSeek Harness",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "lib/index.js",
|
|
7
|
+
"types": "lib/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./lib/index.d.ts",
|
|
11
|
+
"default": "./lib/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./invariant": {
|
|
14
|
+
"types": "./lib/invariant.d.ts",
|
|
15
|
+
"default": "./lib/invariant.js"
|
|
16
|
+
},
|
|
17
|
+
"./pruner": {
|
|
18
|
+
"types": "./lib/pruner.d.ts",
|
|
19
|
+
"default": "./lib/pruner.js"
|
|
20
|
+
},
|
|
21
|
+
"./client": {
|
|
22
|
+
"types": "./lib/client.d.ts",
|
|
23
|
+
"default": "./lib/client.js"
|
|
24
|
+
},
|
|
25
|
+
"./package.json": "./package.json"
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"lib/**/*.js",
|
|
29
|
+
"lib/**/*.d.ts",
|
|
30
|
+
"cordis.patch.yml",
|
|
31
|
+
"dsh.plugin.json",
|
|
32
|
+
"screenshots.json",
|
|
33
|
+
"assets",
|
|
34
|
+
"README.md",
|
|
35
|
+
"README.zh.md",
|
|
36
|
+
"LICENSE",
|
|
37
|
+
"THIRD_PARTY_NOTICES.md"
|
|
38
|
+
],
|
|
39
|
+
"dsh": {
|
|
40
|
+
"client": {
|
|
41
|
+
"inject": [
|
|
42
|
+
"@deepseek-ai/dsh-client-locale",
|
|
43
|
+
"@deepseek-ai/dsh-client-ui-slots",
|
|
44
|
+
"@deepseek-ai/dsh-client-ui-settings"
|
|
45
|
+
],
|
|
46
|
+
"platform": "web"
|
|
47
|
+
},
|
|
48
|
+
"bundle": {
|
|
49
|
+
"patch": "./cordis.patch.yml"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"scripts": {
|
|
53
|
+
"bundle": "tsdown --config tsdown.config.ts && tsdown --config tsdown.client.config.ts",
|
|
54
|
+
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
55
|
+
"test": "vitest run --root ../.. --config vitest.config.ts --project runtime --project selector-host --project selector-client",
|
|
56
|
+
"pack:dry-run": "npm pack --dry-run"
|
|
57
|
+
},
|
|
58
|
+
"repository": {
|
|
59
|
+
"type": "git",
|
|
60
|
+
"url": "git+https://github.com/drscrewdriver/dsh-context-compression-improved.git",
|
|
61
|
+
"directory": "packages/selector"
|
|
62
|
+
},
|
|
63
|
+
"homepage": "https://github.com/drscrewdriver/dsh-context-compression-improved#readme",
|
|
64
|
+
"bugs": {
|
|
65
|
+
"url": "https://github.com/drscrewdriver/dsh-context-compression-improved/issues"
|
|
66
|
+
},
|
|
67
|
+
"author": "WilliamShi666",
|
|
68
|
+
"engines": {
|
|
69
|
+
"node": "^22.19.0 || >=24.0.0",
|
|
70
|
+
"dsh": ">=0.1.7-rc.1 <0.1.8-0"
|
|
71
|
+
},
|
|
72
|
+
"keywords": [
|
|
73
|
+
"deepseek",
|
|
74
|
+
"harness",
|
|
75
|
+
"context",
|
|
76
|
+
"compression",
|
|
77
|
+
"plugin"
|
|
78
|
+
],
|
|
79
|
+
"license": "MIT",
|
|
80
|
+
"publishConfig": {
|
|
81
|
+
"access": "public",
|
|
82
|
+
"tag": "latest"
|
|
83
|
+
},
|
|
84
|
+
"dependencies": {
|
|
85
|
+
"@deepseek-ai/schemastery": "3.18.4",
|
|
86
|
+
"@huggingface/tokenizers": "0.1.3",
|
|
87
|
+
"js-yaml": "^4.3.2"
|
|
88
|
+
},
|
|
89
|
+
"peerDependencies": {
|
|
90
|
+
"@deepseek-ai/cordis": ">=4.0.1 <5",
|
|
91
|
+
"@deepseek-ai/cordis-plugin-include": ">=1.0.6 <2",
|
|
92
|
+
"@deepseek-ai/cordis-plugin-loader": ">=1.0.2 <2",
|
|
93
|
+
"@deepseek-ai/dsh-agent": ">=0.1.7-rc.1 <0.2.0-0",
|
|
94
|
+
"@deepseek-ai/dsh-agent-presets": ">=0.1.7-rc.1 <0.2.0-0",
|
|
95
|
+
"@deepseek-ai/dsh-client-locale": ">=0.1.7-rc.1 <0.2.0-0",
|
|
96
|
+
"@deepseek-ai/dsh-client-store": ">=0.1.7-rc.1 <0.2.0-0",
|
|
97
|
+
"@deepseek-ai/dsh-client-ui-primitives": ">=0.1.7-rc.1 <0.2.0-0",
|
|
98
|
+
"@deepseek-ai/dsh-client-ui-session": ">=0.1.7-rc.1 <0.2.0-0",
|
|
99
|
+
"@deepseek-ai/dsh-client-ui-settings": ">=0.1.7-rc.1 <0.2.0-0",
|
|
100
|
+
"@deepseek-ai/dsh-client-ui-slots": ">=0.1.7-rc.1 <0.2.0-0",
|
|
101
|
+
"@deepseek-ai/dsh-client-ui-workspace": ">=0.1.7-rc.1 <0.2.0-0",
|
|
102
|
+
"@deepseek-ai/dsh-command-compact": ">=0.1.7-rc.1 <0.2.0-0",
|
|
103
|
+
"@deepseek-ai/dsh-compaction": ">=0.1.7-rc.1 <0.2.0-0",
|
|
104
|
+
"@deepseek-ai/dsh-compaction-basic": ">=0.1.7-rc.1 <0.2.0-0",
|
|
105
|
+
"@deepseek-ai/dsh-invariants": ">=0.1.7-rc.1 <0.2.0-0",
|
|
106
|
+
"@deepseek-ai/dsh-llm": ">=0.1.7-rc.1 <0.2.0-0",
|
|
107
|
+
"@deepseek-ai/dsh-session": ">=0.1.7-rc.1 <0.2.0-0",
|
|
108
|
+
"@deepseek-ai/dsh-settings": ">=0.1.7-rc.1 <0.2.0-0",
|
|
109
|
+
"@deepseek-ai/dsh-system-prompt": ">=0.1.7-rc.1 <0.2.0-0",
|
|
110
|
+
"@deepseek-ai/dsh-token-meter": ">=0.1.7-rc.1 <0.2.0-0",
|
|
111
|
+
"@deepseek-ai/dsh-tools": ">=0.1.7-rc.1 <0.2.0-0",
|
|
112
|
+
"react": ">=18 <19"
|
|
113
|
+
}
|
|
114
|
+
}
|