dsh-context-compression-improved 0.8.0 → 0.9.3

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.
Files changed (172) hide show
  1. package/.gitattributes +2 -2
  2. package/.githooks/pre-push +37 -37
  3. package/.github/workflows/ci.yml +39 -39
  4. package/CHANGELOG.de.md +41 -0
  5. package/CHANGELOG.es.md +41 -0
  6. package/CHANGELOG.fr.md +42 -0
  7. package/CHANGELOG.it.md +41 -0
  8. package/CHANGELOG.ja.md +35 -0
  9. package/CHANGELOG.ko.md +34 -0
  10. package/CHANGELOG.md +96 -0
  11. package/CHANGELOG.ru.md +37 -0
  12. package/CHANGELOG.zh.md +32 -0
  13. package/CONTRIBUTING.md +22 -22
  14. package/LICENSE +21 -21
  15. package/README.de.md +7 -9
  16. package/README.es.md +7 -9
  17. package/README.fr.md +7 -9
  18. package/README.it.md +7 -9
  19. package/README.ja.md +6 -2
  20. package/README.ko.md +6 -2
  21. package/README.md +96 -98
  22. package/README.ru.md +7 -9
  23. package/README.zh.md +89 -85
  24. package/SECURITY.md +18 -18
  25. package/THIRD_PARTY_NOTICES.md +14 -14
  26. package/docs/compat-0.1.5-report.md +77 -77
  27. package/docs/installation.de.md +5 -5
  28. package/docs/installation.es.md +5 -5
  29. package/docs/installation.fr.md +5 -5
  30. package/docs/installation.it.md +5 -5
  31. package/docs/installation.ja.md +5 -5
  32. package/docs/installation.ko.md +5 -5
  33. package/docs/installation.md +5 -5
  34. package/docs/installation.ru.md +5 -5
  35. package/docs/installation.zh.md +5 -5
  36. package/docs/repair-log.md +657 -657
  37. package/package.json +24 -22
  38. package/packages/selector/LICENSE +21 -21
  39. package/packages/selector/README.md +26 -26
  40. package/packages/selector/README.zh.md +24 -24
  41. package/packages/selector/THIRD_PARTY_NOTICES.md +32 -32
  42. package/packages/selector/cordis.patch.yml +27 -27
  43. package/packages/selector/docs/history-tool-call-working-set-spec.md +112 -112
  44. package/packages/selector/docs/native-tool-result-selector-spec.md +34 -34
  45. package/packages/selector/docs/subagent-cache-reuse-spec.md +46 -46
  46. package/packages/selector/dsh.plugin.json +16 -16
  47. package/packages/selector/lib/client.js +180 -22
  48. package/packages/selector/lib/host-generation.js +62 -0
  49. package/packages/selector/lib/index.js +208 -1
  50. package/packages/selector/lib/invariant.js +1 -1
  51. package/packages/selector/lib/pruner.js +46 -44
  52. package/packages/selector/lib/style.css +53 -53
  53. package/packages/selector/lib/tail-trim.js +73 -4
  54. package/packages/selector/package.json +80 -21
  55. package/packages/selector/screenshots.json +3 -3
  56. package/packages/selector/src/client/CustomPolicyEditor.tsx +216 -216
  57. package/packages/selector/src/client/EstimatorControls.tsx +277 -277
  58. package/packages/selector/src/client/bridge-scope.ts +125 -0
  59. package/packages/selector/src/client/index.ts +122 -36
  60. package/packages/selector/src/client/monitor-fab.ts +0 -2
  61. package/packages/selector/src/client/preset-options.ts +88 -88
  62. package/packages/selector/src/client/scope-face.ts +24 -24
  63. package/packages/selector/src/compat/host-generation.ts +96 -0
  64. package/packages/selector/src/compat/settings-lease.ts +108 -0
  65. package/packages/selector/src/compat/tool-result.ts +91 -0
  66. package/packages/selector/src/css-modules.d.ts +6 -6
  67. package/packages/selector/src/deepseek-v4-tokenizer.ts +205 -205
  68. package/packages/selector/src/estimator-catalog.ts +104 -104
  69. package/packages/selector/src/index.ts +8 -0
  70. package/packages/selector/src/invariant.ts +113 -113
  71. package/packages/selector/src/preset-overlay.ts +626 -626
  72. package/packages/selector/src/pruner/content.ts +198 -198
  73. package/packages/selector/src/pruner/session.ts +97 -96
  74. package/packages/selector/src/pruner/tuning.ts +23 -23
  75. package/packages/selector/src/pruner/types.ts +78 -78
  76. package/packages/selector/src/pruner.ts +61 -41
  77. package/packages/selector/src/runtime/adaptive-cost.ts +205 -205
  78. package/packages/selector/src/runtime/custom-policy.ts +278 -278
  79. package/packages/selector/src/runtime/deepseek-official-pricing.ts +298 -298
  80. package/packages/selector/src/runtime/deepseek-v4-vision-tokens.ts +254 -254
  81. package/packages/selector/src/runtime/measurement.ts +444 -431
  82. package/packages/selector/src/runtime/reducers.ts +1674 -1674
  83. package/packages/selector/src/runtime/retrieve.ts +7 -3
  84. package/packages/selector/src/runtime/session-events.ts +30 -30
  85. package/packages/selector/src/runtime/tail-trim.ts +175 -165
  86. package/packages/selector/src/runtime/token-count.ts +72 -72
  87. package/packages/selector/src/runtime/tokenpilot/advisor.ts +419 -419
  88. package/packages/selector/src/runtime/tokenpilot/benefit.ts +200 -200
  89. package/packages/selector/src/runtime/tokenpilot/dedup.ts +81 -81
  90. package/packages/selector/src/runtime/tokenpilot/estimator.ts +151 -151
  91. package/packages/selector/src/runtime/tokenpilot/locator.ts +128 -128
  92. package/packages/selector/src/runtime/tokenpilot/read-state.ts +98 -98
  93. package/packages/selector/src/runtime/tokenpilot/sidechannel.ts +303 -303
  94. package/packages/selector/src/runtime/toolclass.ts +103 -103
  95. package/packages/selector/src/runtime/value.ts +48 -48
  96. package/packages/selector/src/settings-bridge.ts +175 -0
  97. package/packages/selector/tests/advisor-report.host.spec.ts +223 -223
  98. package/packages/selector/tests/built/client-artifact.spec.ts +6 -9
  99. package/packages/selector/tests/cache-prefix-audit.spec.ts +123 -123
  100. package/packages/selector/tests/code-skeleton.client.spec.ts +98 -94
  101. package/packages/selector/tests/compat/compat-narrow-waist.spec.ts +150 -0
  102. package/packages/selector/tests/custom-contract.client.spec.ts +226 -223
  103. package/packages/selector/tests/estimator-catalog.spec.ts +70 -70
  104. package/packages/selector/tests/estimator-route-registration.host.spec.ts +199 -194
  105. package/packages/selector/tests/helpers/legacy-namespace.ts +35 -35
  106. package/packages/selector/tests/helpers/legacy-settings/index.ts +15 -15
  107. package/packages/selector/tests/helpers/legacy-settings/legacy/provider.d.ts +41 -41
  108. package/packages/selector/tests/helpers/legacy-settings/legacy/provider.js +647 -647
  109. package/packages/selector/tests/helpers/legacy-settings/legacy/redact.js +78 -78
  110. package/packages/selector/tests/helpers/legacy-settings/legacy/util-values.js +234 -234
  111. package/packages/selector/tests/host-preset-overlay.host.spec.ts +204 -204
  112. package/packages/selector/tests/preset-options-write.client.spec.ts +192 -188
  113. package/packages/selector/tests/preset-overlay-loader.e2e.host.spec.ts +200 -200
  114. package/packages/selector/tests/preset-overlay.host.spec.ts +246 -246
  115. package/packages/selector/tests/public/package-contract.client.spec.ts +11 -3
  116. package/packages/selector/tests/runtime/adaptive-cost.spec.ts +167 -167
  117. package/packages/selector/tests/runtime/advice-never-withholds.host.spec.ts +230 -230
  118. package/packages/selector/tests/runtime/advisor-invariant.spec.ts +272 -272
  119. package/packages/selector/tests/runtime/advisor.spec.ts +226 -226
  120. package/packages/selector/tests/runtime/auto-compact-config.spec.ts +523 -523
  121. package/packages/selector/tests/runtime/char-basis.spec.ts +30 -30
  122. package/packages/selector/tests/runtime/code-skeleton.spec.ts +152 -152
  123. package/packages/selector/tests/runtime/deepseek-official-pricing.spec.ts +186 -186
  124. package/packages/selector/tests/runtime/deepseek-v4-tokenizer.spec.ts +122 -122
  125. package/packages/selector/tests/runtime/deepseek-v4-vision-tokens.spec.ts +122 -122
  126. package/packages/selector/tests/runtime/deprecated-preset-options.spec.ts +96 -96
  127. package/packages/selector/tests/runtime/fixtures/profile-baseline.json +273 -273
  128. package/packages/selector/tests/runtime/fixtures/tokenizer-golden.json +106 -106
  129. package/packages/selector/tests/runtime/fixtures/vision-golden.json +459 -459
  130. package/packages/selector/tests/runtime/frequency-longstrings.spec.ts +74 -74
  131. package/packages/selector/tests/runtime/html-reducer.spec.ts +212 -212
  132. package/packages/selector/tests/runtime/line-mapping.spec.ts +153 -153
  133. package/packages/selector/tests/runtime/prose-reducers.spec.ts +133 -133
  134. package/packages/selector/tests/runtime/public/public-runtime.spec.ts +3 -3
  135. package/packages/selector/tests/runtime/read-input-cap.spec.ts +33 -33
  136. package/packages/selector/tests/runtime/search-reducer.spec.ts +110 -110
  137. package/packages/selector/tests/runtime/session-events.spec.ts +27 -27
  138. package/packages/selector/tests/runtime/sidechannel.spec.ts +241 -241
  139. package/packages/selector/tests/runtime/toc-and-bundled.spec.ts +159 -159
  140. package/packages/selector/tests/runtime/tokenizer-golden.spec.ts +53 -53
  141. package/packages/selector/tests/runtime/tokenpilot/benefit.spec.ts +217 -217
  142. package/packages/selector/tests/runtime/tokenpilot/dedup.spec.ts +52 -52
  143. package/packages/selector/tests/runtime/tokenpilot/estimator.spec.ts +79 -79
  144. package/packages/selector/tests/runtime/tokenpilot/locator.spec.ts +76 -76
  145. package/packages/selector/tests/runtime/tokenpilot/profile-baseline.spec.ts +116 -116
  146. package/packages/selector/tests/runtime/tokenpilot/read-state.spec.ts +82 -82
  147. package/packages/selector/tests/runtime/toolclass.spec.ts +156 -156
  148. package/packages/selector/tests/runtime/value.spec.ts +23 -23
  149. package/packages/selector/tests/settings-seat.client.spec.ts +45 -7
  150. package/packages/selector/tests/standing-generation.host.spec.ts +724 -724
  151. package/packages/selector/tests/subagent-cache-reuse.host.spec.ts +269 -269
  152. package/packages/selector/tests/support/cache-prefix-audit.ts +105 -105
  153. package/packages/selector/tests/support/mock-adapter.ts +37 -37
  154. package/packages/selector/tests/support/ui-primitives.tsx +34 -34
  155. package/packages/selector/tsconfig.json +11 -11
  156. package/packages/selector/tsdown.client.config.ts +102 -102
  157. package/packages/selector/tsdown.config.ts +20 -20
  158. package/scripts/capture-profile-baseline.mjs +42 -42
  159. package/scripts/cell-browser-e2e.mjs +354 -0
  160. package/scripts/generate-tokenizer-fixtures.py +81 -81
  161. package/scripts/generate-vision-fixtures.py +208 -208
  162. package/scripts/hosts.mjs +74 -0
  163. package/scripts/packed-components-smoke.mjs +763 -732
  164. package/scripts/packed-install-e2e.mjs +1330 -1273
  165. package/scripts/sync-hosts.mjs +174 -0
  166. package/scripts/toolclass-corpus-replay.mjs +281 -281
  167. package/scripts/verify-release.mjs +335 -318
  168. package/tsconfig.base.json +18 -18
  169. package/tsconfig.json +7 -7
  170. package/tsconfig.tests.json +15 -15
  171. package/vitest.built.config.ts +9 -9
  172. package/vitest.config.ts +46 -43
@@ -1,4 +1,4 @@
1
- ._3-mAqa_settingsSection {
1
+ ._5-1n_a_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
- ._3-mAqa_settingsTitle {
9
+ ._5-1n_a_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
- ._3-mAqa_settingsDescription {
17
+ ._5-1n_a_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
- ._3-mAqa_root {
24
+ ._5-1n_a_root {
25
25
  width: 100%;
26
26
  }
27
27
 
28
- ._3-mAqa_profileGrid {
28
+ ._5-1n_a_profileGrid {
29
29
  grid-template-columns: repeat(2, minmax(0, 1fr));
30
30
  gap: 10px;
31
31
  display: grid;
32
32
  }
33
33
 
34
- ._3-mAqa_profileCard {
34
+ ._5-1n_a_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
- ._3-mAqa_profileCard:hover:not(:disabled) {
48
+ ._5-1n_a_profileCard:hover:not(:disabled) {
49
49
  background: var(--dsw-alias-interactive-bg-hover);
50
50
  }
51
51
 
52
- ._3-mAqa_profileCard[aria-pressed="true"] {
52
+ ._5-1n_a_profileCard[aria-pressed="true"] {
53
53
  border-color: var(--dsw-alias-label-primary);
54
54
  }
55
55
 
56
- ._3-mAqa_profileCard:active:not(:disabled) {
56
+ ._5-1n_a_profileCard:active:not(:disabled) {
57
57
  transform: scale(.99);
58
58
  }
59
59
 
60
- ._3-mAqa_profileCard:disabled {
60
+ ._5-1n_a_profileCard:disabled {
61
61
  cursor: default;
62
62
  opacity: .6;
63
63
  }
64
64
 
65
- ._3-mAqa_profileCard:focus-visible {
65
+ ._5-1n_a_profileCard:focus-visible {
66
66
  outline-offset: 2px;
67
67
  outline: 2px solid;
68
68
  }
69
69
 
70
- ._3-mAqa_profileCardTop {
70
+ ._5-1n_a_profileCardTop {
71
71
  align-items: center;
72
72
  gap: 8px;
73
73
  display: flex;
74
74
  }
75
75
 
76
- ._3-mAqa_profileCardTitle {
76
+ ._5-1n_a_profileCardTitle {
77
77
  font-size: 14px;
78
78
  font-weight: 500;
79
79
  line-height: 20px;
80
80
  }
81
81
 
82
- ._3-mAqa_profileCurrent {
82
+ ._5-1n_a_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
- ._3-mAqa_profileCardDetail {
91
+ ._5-1n_a_profileCardDetail {
92
92
  color: var(--dsw-alias-label-secondary);
93
93
  font-size: 12px;
94
94
  line-height: 18px;
95
95
  }
96
96
 
97
- ._3-mAqa_button {
97
+ ._5-1n_a_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
- ._3-mAqa_button:hover {
112
+ ._5-1n_a_button:hover {
113
113
  background: var(--dsw-alias-interactive-bg-hover);
114
114
  }
115
115
 
116
- ._3-mAqa_button:disabled {
116
+ ._5-1n_a_button:disabled {
117
117
  cursor: default;
118
118
  opacity: .6;
119
119
  }
120
120
 
121
- ._3-mAqa_copy {
121
+ ._5-1n_a_copy {
122
122
  flex: 1;
123
123
  min-width: 0;
124
124
  }
125
125
 
126
- ._3-mAqa_label {
126
+ ._5-1n_a_label {
127
127
  color: var(--dsw-alias-label-tertiary);
128
128
  font-size: 11px;
129
129
  line-height: 14px;
130
130
  }
131
131
 
132
- ._3-mAqa_value {
132
+ ._5-1n_a_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
- ._3-mAqa_chevron {
140
+ ._5-1n_a_chevron {
141
141
  color: var(--dsw-alias-label-secondary);
142
142
  flex: none;
143
143
  }
144
144
 
145
- ._3-mAqa_menuCopy {
145
+ ._5-1n_a_menuCopy {
146
146
  flex-direction: column;
147
147
  gap: 2px;
148
148
  min-width: 220px;
149
149
  display: flex;
150
150
  }
151
151
 
152
- ._3-mAqa_menuTitle {
152
+ ._5-1n_a_menuTitle {
153
153
  font-size: 13px;
154
154
  line-height: 17px;
155
155
  }
156
156
 
157
- ._3-mAqa_menuDetail {
157
+ ._5-1n_a_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
- ._3-mAqa_error {
165
+ ._5-1n_a_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
- ._3-mAqa_unavailable {
172
+ ._5-1n_a_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
- ._3-mAqa_settingsHint {
179
+ ._5-1n_a_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
- ._3-mAqa_pricing {
186
+ ._5-1n_a_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
- ._3-mAqa_custom {
193
+ ._5-1n_a_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
- ._3-mAqa_customTitle {
199
+ ._5-1n_a_customTitle {
200
200
  margin: 0 0 6px;
201
201
  font-size: 13px;
202
202
  line-height: 17px;
203
203
  }
204
204
 
205
- ._3-mAqa_customNote {
205
+ ._5-1n_a_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
- ._3-mAqa_stage {
212
+ ._5-1n_a_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
- ._3-mAqa_stageToggle {
219
+ ._5-1n_a_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
- ._3-mAqa_fieldGrid {
227
+ ._5-1n_a_fieldGrid {
228
228
  grid-template-columns: 1fr;
229
229
  gap: 8px;
230
230
  display: grid;
231
231
  }
232
232
 
233
- ._3-mAqa_field {
233
+ ._5-1n_a_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
- ._3-mAqa_field input, ._3-mAqa_field select {
244
+ ._5-1n_a_field input, ._5-1n_a_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
- ._3-mAqa_field input:focus-visible, ._3-mAqa_field select:focus-visible, ._3-mAqa_actions button:focus-visible {
256
+ ._5-1n_a_field input:focus-visible, ._5-1n_a_field select:focus-visible, ._5-1n_a_actions button:focus-visible {
257
257
  outline-offset: 2px;
258
258
  outline: 2px solid;
259
259
  }
260
260
 
261
- ._3-mAqa_actions {
261
+ ._5-1n_a_actions {
262
262
  flex-wrap: wrap;
263
263
  gap: 8px;
264
264
  margin-top: 10px;
265
265
  display: flex;
266
266
  }
267
267
 
268
- ._3-mAqa_actions button {
268
+ ._5-1n_a_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,40 +274,40 @@
274
274
  padding: 4px 8px;
275
275
  }
276
276
 
277
- ._3-mAqa_actions button:active:not(:disabled) {
277
+ ._5-1n_a_actions button:active:not(:disabled) {
278
278
  transform: scale(.98);
279
279
  }
280
280
 
281
- ._3-mAqa_actions button:disabled {
281
+ ._5-1n_a_actions button:disabled {
282
282
  opacity: .6;
283
283
  }
284
284
 
285
285
  @media (width <= 560px) {
286
- ._3-mAqa_profileGrid {
286
+ ._5-1n_a_profileGrid {
287
287
  grid-template-columns: 1fr;
288
288
  }
289
289
  }
290
290
 
291
- ._3-mAqa_autoCompact {
291
+ ._5-1n_a_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
- ._3-mAqa_autoCompactTitle {
298
+ ._5-1n_a_autoCompactTitle {
299
299
  margin: 0 0 8px;
300
300
  font-size: 15px;
301
301
  font-weight: 600;
302
302
  }
303
303
 
304
- ._3-mAqa_autoCompactRisk {
304
+ ._5-1n_a_autoCompactRisk {
305
305
  opacity: .9;
306
306
  margin: 8px 0 0;
307
307
  font-size: 12px;
308
308
  }
309
309
 
310
- ._3-mAqa_savingsCard {
310
+ ._5-1n_a_savingsCard {
311
311
  border: 1px solid #ffffff1a;
312
312
  border-radius: 8px;
313
313
  flex-direction: column;
@@ -317,33 +317,33 @@
317
317
  display: flex;
318
318
  }
319
319
 
320
- ._3-mAqa_savingsRow {
320
+ ._5-1n_a_savingsRow {
321
321
  justify-content: space-between;
322
322
  align-items: baseline;
323
323
  gap: 12px;
324
324
  display: flex;
325
325
  }
326
326
 
327
- ._3-mAqa_savingsNetPositive strong {
327
+ ._5-1n_a_savingsNetPositive strong {
328
328
  color: #30d158;
329
329
  }
330
330
 
331
- ._3-mAqa_savingsNetNegative strong {
331
+ ._5-1n_a_savingsNetNegative strong {
332
332
  color: #ff9f0a;
333
333
  }
334
334
 
335
- ._3-mAqa_savingsMuted {
335
+ ._5-1n_a_savingsMuted {
336
336
  opacity: .66;
337
337
  font-size: .92em;
338
338
  }
339
339
 
340
- ._3-mAqa_savingsBreakdown {
340
+ ._5-1n_a_savingsBreakdown {
341
341
  border-top: 1px solid #ffffff14;
342
342
  margin-top: 4px;
343
343
  padding-top: 4px;
344
344
  }
345
345
 
346
- ._3-mAqa_savingsNote {
346
+ ._5-1n_a_savingsNote {
347
347
  opacity: .5;
348
348
  margin-top: 4px;
349
349
  font-size: .85em;
@@ -1,3 +1,4 @@
1
+ import { r as hostGenerationSnapshot } from "./host-generation.js";
1
2
  import { createUserMessage } from "@deepseek-ai/dsh-llm";
2
3
  //#region src/runtime/session-events.ts
3
4
  /**
@@ -21,6 +22,72 @@ function eventBySeq(events, seq) {
21
22
  return events[Number(seq)];
22
23
  }
23
24
  //#endregion
25
+ //#region src/compat/tool-result.ts
26
+ /**
27
+ * Tool-result envelope adapter (audit N2: three-axis relocation, not a
28
+ * single-axis unwrap) + legacy message-source kind escape (audit B6).
29
+ *
30
+ * Three-axis mapping, main's own comment as evidence
31
+ * (pruner/session.ts: "0.1.7-rc.2: isError moved from the result block onto
32
+ * the message itself"):
33
+ *
34
+ * semantics Gen D (0.1.7-rc.2+ / 0.2.0) Gen A/B/C (0.1.0–0.1.5)
35
+ * content blocks message.content message.content[0].content
36
+ * error location message.isError message.content[0].isError
37
+ * call id message.toolCallId message.source.callId
38
+ *
39
+ * Every consumer must take the whole triple from viewToolResult(); touching
40
+ * a single axis inline is how the isError/callId axes get silently dropped.
41
+ * A strict legacy signature overrides the generation flag per message (the
42
+ * 0.1.7-rc.1 envelope shape was only load-verified, not session-verified —
43
+ * this makes a wrong flag self-correcting instead of silently misreading).
44
+ */
45
+ /** Strict signature of the enveloped (0.1.x) tool/result message. */
46
+ function envelopedShape(content) {
47
+ return Array.isArray(content) && content.length === 1 && typeof content[0] === "object" && content[0] !== null && content[0].type === "tool-result" && Array.isArray(content[0].content);
48
+ }
49
+ function viewToolResult(message, generation) {
50
+ const gen = generation ?? hostGenerationSnapshot();
51
+ const content = message.content;
52
+ if (envelopedShape(content)) {
53
+ const wrapper = content[0];
54
+ return {
55
+ blocks: wrapper.content,
56
+ isError: wrapper.isError === true,
57
+ callId: typeof message.source?.callId === "string" ? message.source.callId : void 0
58
+ };
59
+ }
60
+ if (gen === "legacy") {
61
+ const wrapper = Array.isArray(content) ? content[0] : void 0;
62
+ if (wrapper && typeof wrapper === "object" && Array.isArray(wrapper.content)) return {
63
+ blocks: wrapper.content,
64
+ isError: wrapper.isError === true,
65
+ callId: typeof message.source?.callId === "string" ? message.source.callId : void 0
66
+ };
67
+ }
68
+ return {
69
+ blocks: Array.isArray(content) ? content : [],
70
+ isError: message.isError === true,
71
+ callId: typeof message.toolCallId === "string" ? message.toolCallId : gen === "legacy" && typeof message.source?.callId === "string" ? message.source.callId : void 0
72
+ };
73
+ }
74
+ /**
75
+ * Per-producer source kind, generation-gated. Modern hosts accept the
76
+ * producer-declared kind (declared in pruner.ts's `MessageSourceMap`
77
+ * augmentation); 0.1.x hosts only know the shared `{ kind: 'plugin' }` kind
78
+ * — the dev bed's dsh-llm@0.2.0-rc.1 type face has no such member (audit B6,
79
+ * empirically confirmed), so the legacy object escapes through `as never`
80
+ * HERE and nowhere else.
81
+ */
82
+ const PLUGIN_ID = "dsh-context-compression-improved";
83
+ function compressionMessageSource(generation) {
84
+ if ((generation ?? hostGenerationSnapshot()) === "legacy") return {
85
+ kind: "plugin",
86
+ plugin: PLUGIN_ID
87
+ };
88
+ return { kind: "dsh-context-compression" };
89
+ }
90
+ //#endregion
24
91
  //#region src/runtime/tail-trim.ts
25
92
  /** Plugin-owned TailTrim publication protocol over official Session events. */
26
93
  const TAIL_TRIM_REF_PATTERN = /^session:\/\/([^/]+)\/tailtrim\/(\d+)$/;
@@ -59,7 +126,7 @@ function tailTrimMessage(stub) {
59
126
  type: "text",
60
127
  text: stub
61
128
  }],
62
- source: { kind: "dsh-context-compression" }
129
+ source: compressionMessageSource()
63
130
  });
64
131
  }
65
132
  /** Validate the standard prune, adjacent replacement, append roots and stub. */
@@ -68,7 +135,8 @@ function validatePublishedTailTrim(session, manifestSeq) {
68
135
  const manifest = events[manifestSeq];
69
136
  if (manifest?.type !== "compaction/prune" || manifest.data.shadowedSeqs.length < 2 || manifest.data.shadowedSeqs.length > MAX_ROOTS || manifest.data.shadowedSeqs[0] !== Number(manifest.data.shadowedRange.start) || manifest.data.shadowedSeqs.at(-1) !== Number(manifest.data.shadowedRange.end) || new Set(manifest.data.shadowedSeqs).size !== manifest.data.shadowedSeqs.length) return null;
70
137
  const replacement = events[manifestSeq + 1];
71
- if (replacement?.type !== "user/message" || replacement.seq !== manifest.seq + 1 || replacement.data.source.kind !== "dsh-context-compression" || replacement.surfaceOp === void 0 || replacement.surfaceOp === "append" || replacement.surfaceOp.startSeq !== manifest.data.shadowedRange.start || replacement.surfaceOp.endSeq !== manifest.data.shadowedRange.end || !sameNumbers(replacement.sourceEventSeqs, [manifest.seq, ...manifest.data.shadowedSeqs]) || replacement.data.content.length !== 1 || replacement.data.content[0]?.type !== "text") return null;
138
+ const expectedSource = compressionMessageSource();
139
+ if (replacement?.type !== "user/message" || replacement.seq !== manifest.seq + 1 || replacement.data.source.kind !== expectedSource.kind || replacement.surfaceOp === void 0 || replacement.surfaceOp === "append" || replacement.surfaceOp.startSeq !== manifest.data.shadowedRange.start || replacement.surfaceOp.endSeq !== manifest.data.shadowedRange.end || !sameNumbers(replacement.sourceEventSeqs, [manifest.seq, ...manifest.data.shadowedSeqs]) || replacement.data.content.length !== 1 || replacement.data.content[0]?.type !== "text") return null;
72
140
  const tracedRoots = manifest.data.shadowedSeqs.map((seq) => uniqueAppendRoot(session, seq, manifestSeq));
73
141
  if (tracedRoots.some((root) => root === null)) return null;
74
142
  const sourceEventSeqs = tracedRoots;
@@ -131,7 +199,8 @@ function validRootGroup(roots, manifestSeq) {
131
199
  if (new Set(callIds).size !== callIds.length || roots.length !== callIds.length + 1) return false;
132
200
  for (const [index, root] of roots.slice(1).entries()) {
133
201
  if (root.type !== "tool/result" || root.seq >= manifestSeq || root.surfaceOp !== "append") return false;
134
- if (root.data.message.isError === true || root.data.error !== void 0 || root.data.turn !== assistant.data.turn || root.data.step !== assistant.data.step || String(root.data.message.toolCallId) !== String(callIds[index])) return false;
202
+ const result = viewToolResult(root.data.message);
203
+ if (result.isError || root.data.error !== void 0 || root.data.turn !== assistant.data.turn || root.data.step !== assistant.data.step || String(result.callId) !== String(callIds[index])) return false;
135
204
  }
136
205
  return true;
137
206
  }
@@ -139,4 +208,4 @@ function sameNumbers(left, right) {
139
208
  return left !== void 0 && left.length === right.length && left.every((value, index) => value === right[index]);
140
209
  }
141
210
  //#endregion
142
- export { validatePublishedTailTrim as a, tailTrimStub as i, tailTrimMessage as n, eventBySeq as o, tailTrimRef as r, sessionEvents as s, parseTailTrimRef as t };
211
+ export { validatePublishedTailTrim as a, eventBySeq as c, tailTrimStub as i, sessionEvents as l, tailTrimMessage as n, compressionMessageSource as o, tailTrimRef as r, viewToolResult as s, parseTailTrimRef as t };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-context-compression-improved",
3
- "version": "0.2.0",
3
+ "version": "0.9.3",
4
4
  "description": "One-install context-compression selector bundle for DeepSeek Harness",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -67,7 +67,7 @@
67
67
  "author": "WilliamShi666",
68
68
  "engines": {
69
69
  "node": "^22.19.0 || >=24.0.0",
70
- "dsh": ">=0.2.0-rc.1 <0.2.1-0"
70
+ "dsh": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2"
71
71
  },
72
72
  "keywords": [
73
73
  "deepseek",
@@ -90,25 +90,84 @@
90
90
  "@deepseek-ai/cordis": ">=4.0.1 <5",
91
91
  "@deepseek-ai/cordis-plugin-include": ">=1.0.6 <2",
92
92
  "@deepseek-ai/cordis-plugin-loader": ">=1.0.2 <2",
93
- "@deepseek-ai/dsh-agent": ">=0.2.0-rc.1 <0.2.1-0",
94
- "@deepseek-ai/dsh-agent-presets": ">=0.2.0-rc.1 <0.2.1-0",
95
- "@deepseek-ai/dsh-client-locale": ">=0.2.0-rc.1 <0.2.1-0",
96
- "@deepseek-ai/dsh-client-store": ">=0.2.0-rc.1 <0.2.1-0",
97
- "@deepseek-ai/dsh-client-ui-primitives": ">=0.2.0-rc.1 <0.2.1-0",
98
- "@deepseek-ai/dsh-client-ui-session": ">=0.2.0-rc.1 <0.2.1-0",
99
- "@deepseek-ai/dsh-client-ui-settings": ">=0.2.0-rc.1 <0.2.1-0",
100
- "@deepseek-ai/dsh-client-ui-slots": ">=0.2.0-rc.1 <0.2.1-0",
101
- "@deepseek-ai/dsh-client-ui-workspace": ">=0.2.0-rc.1 <0.2.1-0",
102
- "@deepseek-ai/dsh-command-compact": ">=0.2.0-rc.1 <0.2.1-0",
103
- "@deepseek-ai/dsh-compaction": ">=0.2.0-rc.1 <0.2.1-0",
104
- "@deepseek-ai/dsh-compaction-basic": ">=0.2.0-rc.1 <0.2.1-0",
105
- "@deepseek-ai/dsh-invariants": ">=0.2.0-rc.1 <0.2.1-0",
106
- "@deepseek-ai/dsh-llm": ">=0.2.0-rc.1 <0.2.1-0",
107
- "@deepseek-ai/dsh-session": ">=0.2.0-rc.1 <0.2.1-0",
108
- "@deepseek-ai/dsh-settings": ">=0.2.0-rc.1 <0.2.1-0",
109
- "@deepseek-ai/dsh-system-prompt": ">=0.2.0-rc.1 <0.2.1-0",
110
- "@deepseek-ai/dsh-token-meter": ">=0.2.0-rc.1 <0.2.1-0",
111
- "@deepseek-ai/dsh-tools": ">=0.2.0-rc.1 <0.2.1-0",
93
+ "@deepseek-ai/dsh-agent": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
94
+ "@deepseek-ai/dsh-agent-presets": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
95
+ "@deepseek-ai/dsh-client-locale": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
96
+ "@deepseek-ai/dsh-client-store": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
97
+ "@deepseek-ai/dsh-client-ui-primitives": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
98
+ "@deepseek-ai/dsh-client-ui-session": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
99
+ "@deepseek-ai/dsh-client-ui-settings": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
100
+ "@deepseek-ai/dsh-client-ui-slots": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
101
+ "@deepseek-ai/dsh-client-ui-workspace": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
102
+ "@deepseek-ai/dsh-command-compact": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
103
+ "@deepseek-ai/dsh-compaction": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
104
+ "@deepseek-ai/dsh-compaction-basic": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
105
+ "@deepseek-ai/dsh-invariants": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
106
+ "@deepseek-ai/dsh-llm": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
107
+ "@deepseek-ai/dsh-session": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
108
+ "@deepseek-ai/dsh-settings": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
109
+ "@deepseek-ai/dsh-system-prompt": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
110
+ "@deepseek-ai/dsh-token-meter": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
111
+ "@deepseek-ai/dsh-tools": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
112
112
  "react": ">=18 <19"
113
+ },
114
+ "peerDependenciesMeta": {
115
+ "@deepseek-ai/dsh-agent": {
116
+ "optional": true
117
+ },
118
+ "@deepseek-ai/dsh-agent-presets": {
119
+ "optional": true
120
+ },
121
+ "@deepseek-ai/dsh-client-locale": {
122
+ "optional": true
123
+ },
124
+ "@deepseek-ai/dsh-client-store": {
125
+ "optional": true
126
+ },
127
+ "@deepseek-ai/dsh-client-ui-primitives": {
128
+ "optional": true
129
+ },
130
+ "@deepseek-ai/dsh-client-ui-session": {
131
+ "optional": true
132
+ },
133
+ "@deepseek-ai/dsh-client-ui-settings": {
134
+ "optional": true
135
+ },
136
+ "@deepseek-ai/dsh-client-ui-slots": {
137
+ "optional": true
138
+ },
139
+ "@deepseek-ai/dsh-client-ui-workspace": {
140
+ "optional": true
141
+ },
142
+ "@deepseek-ai/dsh-command-compact": {
143
+ "optional": true
144
+ },
145
+ "@deepseek-ai/dsh-compaction": {
146
+ "optional": true
147
+ },
148
+ "@deepseek-ai/dsh-compaction-basic": {
149
+ "optional": true
150
+ },
151
+ "@deepseek-ai/dsh-invariants": {
152
+ "optional": true
153
+ },
154
+ "@deepseek-ai/dsh-llm": {
155
+ "optional": true
156
+ },
157
+ "@deepseek-ai/dsh-session": {
158
+ "optional": true
159
+ },
160
+ "@deepseek-ai/dsh-settings": {
161
+ "optional": true
162
+ },
163
+ "@deepseek-ai/dsh-system-prompt": {
164
+ "optional": true
165
+ },
166
+ "@deepseek-ai/dsh-token-meter": {
167
+ "optional": true
168
+ },
169
+ "@deepseek-ai/dsh-tools": {
170
+ "optional": true
171
+ }
113
172
  }
114
173
  }
@@ -1,3 +1,3 @@
1
- {
2
- "screenshots": []
3
- }
1
+ {
2
+ "screenshots": []
3
+ }