dsh-context-compression-improved 0.10.2 → 0.10.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 (264) hide show
  1. package/.agents/plans/improve/checklist.md +32 -0
  2. package/.agents/plans/improve/findings.md +102 -0
  3. package/.agents/plans/improve/spec.md +53 -0
  4. package/.agents/plans/improve/tasks.md +70 -0
  5. package/.gitattributes +2 -0
  6. package/.githooks/pre-push +37 -0
  7. package/.github/workflows/ci.yml +39 -0
  8. package/CHANGELOG.de.md +580 -0
  9. package/CHANGELOG.es.md +588 -0
  10. package/CHANGELOG.fr.md +576 -0
  11. package/CHANGELOG.it.md +577 -0
  12. package/CHANGELOG.ja.md +261 -0
  13. package/CHANGELOG.ko.md +254 -0
  14. package/CHANGELOG.md +549 -0
  15. package/CHANGELOG.ru.md +554 -0
  16. package/CHANGELOG.zh.md +238 -0
  17. package/CONTRIBUTING.md +22 -0
  18. package/README.de.md +96 -0
  19. package/README.es.md +96 -0
  20. package/README.fr.md +96 -0
  21. package/README.it.md +96 -0
  22. package/README.ja.md +102 -0
  23. package/README.ko.md +102 -0
  24. package/README.md +110 -15
  25. package/README.ru.md +96 -0
  26. package/README.zh.md +104 -14
  27. package/SECURITY.md +18 -0
  28. package/THIRD_PARTY_NOTICES.md +7 -25
  29. package/assets/board.png +0 -0
  30. package/assets/context.png +0 -0
  31. package/docs/assets/context-compression-selector-profiles.jpg +0 -0
  32. package/docs/assets/context-compression-selector-settings.png +0 -0
  33. package/docs/compat-0.1.5-report.md +77 -0
  34. package/docs/installation.de.md +104 -0
  35. package/docs/installation.es.md +104 -0
  36. package/docs/installation.fr.md +104 -0
  37. package/docs/installation.it.md +104 -0
  38. package/docs/installation.ja.md +78 -0
  39. package/docs/installation.ko.md +78 -0
  40. package/docs/installation.md +103 -0
  41. package/docs/installation.ru.md +104 -0
  42. package/docs/installation.zh.md +100 -0
  43. package/docs/repair-log.md +657 -0
  44. package/eslint.config.js +30 -0
  45. package/package.json +116 -129
  46. package/packages/selector/LICENSE +21 -0
  47. package/packages/selector/README.md +26 -0
  48. package/packages/selector/README.zh.md +24 -0
  49. package/packages/selector/THIRD_PARTY_NOTICES.md +32 -0
  50. package/packages/selector/docs/history-tool-call-working-set-spec.md +112 -0
  51. package/packages/selector/docs/native-tool-result-selector-spec.md +34 -0
  52. package/packages/selector/docs/subagent-cache-reuse-spec.md +46 -0
  53. package/{dsh.plugin.json → packages/selector/dsh.plugin.json} +2 -2
  54. package/packages/selector/lib/style.css +350 -0
  55. package/packages/selector/package.json +178 -0
  56. package/packages/selector/screenshots.json +3 -0
  57. package/packages/selector/src/client/CompressionProfileControls.tsx +293 -0
  58. package/packages/selector/src/client/CompressionProfileSelector.module.css +199 -0
  59. package/packages/selector/src/client/CompressionProfileSelector.tsx +85 -0
  60. package/packages/selector/src/client/CustomPolicyEditor.tsx +216 -0
  61. package/packages/selector/src/client/EstimatorControls.tsx +277 -0
  62. package/packages/selector/src/client/bridge-scope.ts +125 -0
  63. package/packages/selector/src/client/decode.ts +57 -0
  64. package/packages/selector/src/client/fab-pos.ts +71 -0
  65. package/packages/selector/src/client/index.ts +424 -0
  66. package/packages/selector/src/client/locales/de.ts +158 -0
  67. package/packages/selector/src/client/locales/es.ts +158 -0
  68. package/packages/selector/src/client/locales/fr.ts +158 -0
  69. package/packages/selector/src/client/locales/it.ts +158 -0
  70. package/packages/selector/src/client/locales/ja.ts +158 -0
  71. package/packages/selector/src/client/locales/ko.ts +158 -0
  72. package/packages/selector/src/client/locales/ru.ts +158 -0
  73. package/packages/selector/src/client/locales.ts +316 -0
  74. package/packages/selector/src/client/monitor-fab.ts +431 -0
  75. package/packages/selector/src/client/preset-options.ts +88 -0
  76. package/packages/selector/src/client/savings-card.tsx +269 -0
  77. package/packages/selector/src/client/scope-face.ts +24 -0
  78. package/packages/selector/src/client/settings-section.tsx +140 -0
  79. package/packages/selector/src/compat/host-generation.ts +96 -0
  80. package/packages/selector/src/compat/llm-messages.ts +50 -0
  81. package/packages/selector/src/compat/settings-lease.ts +108 -0
  82. package/packages/selector/src/compat/tool-result.ts +91 -0
  83. package/packages/selector/src/css-modules.d.ts +6 -0
  84. package/packages/selector/src/deepseek-v4-tokenizer.ts +205 -0
  85. package/packages/selector/src/estimator-catalog.ts +104 -0
  86. package/packages/selector/src/index.ts +890 -0
  87. package/packages/selector/src/invariant.ts +113 -0
  88. package/packages/selector/src/preset-overlay.ts +749 -0
  89. package/packages/selector/src/profiles.ts +431 -0
  90. package/packages/selector/src/pruner/content.ts +198 -0
  91. package/packages/selector/src/pruner/session.ts +97 -0
  92. package/packages/selector/src/pruner/state.ts +61 -0
  93. package/packages/selector/src/pruner/tuning.ts +23 -0
  94. package/packages/selector/src/pruner/types.ts +78 -0
  95. package/packages/selector/src/pruner.ts +2914 -0
  96. package/packages/selector/src/runtime/adaptive-cost.ts +205 -0
  97. package/packages/selector/src/runtime/audit.ts +320 -0
  98. package/packages/selector/src/runtime/config.ts +756 -0
  99. package/packages/selector/src/runtime/custom-policy.ts +278 -0
  100. package/packages/selector/src/runtime/deepseek-official-pricing.ts +298 -0
  101. package/packages/selector/src/runtime/deepseek-v4-vision-tokens.ts +254 -0
  102. package/packages/selector/src/runtime/display-prefs.ts +98 -0
  103. package/packages/selector/src/runtime/measurement.ts +444 -0
  104. package/packages/selector/src/runtime/monitor.ts +310 -0
  105. package/packages/selector/src/runtime/panel-command.ts +213 -0
  106. package/packages/selector/src/runtime/reducers.ts +1754 -0
  107. package/packages/selector/src/runtime/retrieve.ts +503 -0
  108. package/packages/selector/src/runtime/savings-integral.ts +117 -0
  109. package/packages/selector/src/runtime/savings-projection.ts +229 -0
  110. package/packages/selector/src/runtime/savings-verify.ts +446 -0
  111. package/packages/selector/src/runtime/savings.ts +526 -0
  112. package/packages/selector/src/runtime/session-events.ts +30 -0
  113. package/packages/selector/src/runtime/session-file-decode.ts +523 -0
  114. package/packages/selector/src/runtime/stats-backfill.ts +541 -0
  115. package/packages/selector/src/runtime/stats-db.ts +492 -0
  116. package/packages/selector/src/runtime/stats-schema.ts +123 -0
  117. package/packages/selector/src/runtime/stats-sync.ts +307 -0
  118. package/packages/selector/src/runtime/summary-command.ts +127 -0
  119. package/packages/selector/src/runtime/tail-trim.ts +176 -0
  120. package/packages/selector/src/runtime/token-count.ts +72 -0
  121. package/packages/selector/src/runtime/tokenpilot/advisor-prompt.ts +233 -0
  122. package/packages/selector/src/runtime/tokenpilot/advisor-state.ts +204 -0
  123. package/packages/selector/src/runtime/tokenpilot/advisor.ts +419 -0
  124. package/packages/selector/src/runtime/tokenpilot/benefit.ts +200 -0
  125. package/packages/selector/src/runtime/tokenpilot/dedup.ts +81 -0
  126. package/packages/selector/src/runtime/tokenpilot/estimator.ts +151 -0
  127. package/packages/selector/src/runtime/tokenpilot/intent-fold.ts +53 -0
  128. package/packages/selector/src/runtime/tokenpilot/intent-gate.ts +65 -0
  129. package/packages/selector/src/runtime/tokenpilot/intent-input-mask.ts +125 -0
  130. package/packages/selector/src/runtime/tokenpilot/intent-range.ts +37 -0
  131. package/packages/selector/src/runtime/tokenpilot/locator.ts +128 -0
  132. package/packages/selector/src/runtime/tokenpilot/read-state.ts +98 -0
  133. package/packages/selector/src/runtime/tokenpilot/sidechannel.ts +303 -0
  134. package/packages/selector/src/runtime/toolclass.ts +103 -0
  135. package/packages/selector/src/runtime/types.ts +365 -0
  136. package/packages/selector/src/runtime/value.ts +48 -0
  137. package/packages/selector/src/settings-bridge.ts +175 -0
  138. package/packages/selector/tests/advisor-report.host.spec.ts +223 -0
  139. package/packages/selector/tests/auto-compact.client.spec.tsx +214 -0
  140. package/packages/selector/tests/built/client-artifact.spec.ts +56 -0
  141. package/packages/selector/tests/cache-prefix-audit.spec.ts +123 -0
  142. package/packages/selector/tests/code-skeleton.client.spec.ts +98 -0
  143. package/packages/selector/tests/compat/compat-narrow-waist.spec.ts +150 -0
  144. package/packages/selector/tests/custom-contract.client.spec.ts +226 -0
  145. package/packages/selector/tests/estimator-catalog.spec.ts +70 -0
  146. package/packages/selector/tests/estimator-channel.client.spec.tsx +253 -0
  147. package/packages/selector/tests/estimator-route-registration.host.spec.ts +202 -0
  148. package/packages/selector/tests/fab-pos.client.spec.ts +47 -0
  149. package/packages/selector/tests/helpers/legacy-namespace.ts +35 -0
  150. package/packages/selector/tests/helpers/legacy-settings/index.ts +15 -0
  151. package/packages/selector/tests/helpers/legacy-settings/legacy/provider.d.ts +41 -0
  152. package/packages/selector/tests/helpers/legacy-settings/legacy/provider.js +647 -0
  153. package/packages/selector/tests/helpers/legacy-settings/legacy/redact.js +78 -0
  154. package/packages/selector/tests/helpers/legacy-settings/legacy/util-values.js +234 -0
  155. package/packages/selector/tests/host-preset-overlay.host.spec.ts +204 -0
  156. package/packages/selector/tests/monitor-fab.client.spec.ts +240 -0
  157. package/packages/selector/tests/preset-options-write.client.spec.ts +192 -0
  158. package/packages/selector/tests/preset-overlay-loader.e2e.host.spec.ts +200 -0
  159. package/packages/selector/tests/preset-overlay.host.spec.ts +246 -0
  160. package/packages/selector/tests/profiles.client.spec.tsx +436 -0
  161. package/packages/selector/tests/public/package-contract.client.spec.ts +86 -0
  162. package/packages/selector/tests/runtime/adaptive-cost.spec.ts +167 -0
  163. package/packages/selector/tests/runtime/advice-never-withholds.host.spec.ts +230 -0
  164. package/packages/selector/tests/runtime/advisor-invariant.spec.ts +272 -0
  165. package/packages/selector/tests/runtime/advisor.spec.ts +226 -0
  166. package/packages/selector/tests/runtime/audit.spec.ts +275 -0
  167. package/packages/selector/tests/runtime/auto-compact-config.spec.ts +523 -0
  168. package/packages/selector/tests/runtime/char-basis.spec.ts +30 -0
  169. package/packages/selector/tests/runtime/code-skeleton.spec.ts +152 -0
  170. package/packages/selector/tests/runtime/deepseek-official-pricing.spec.ts +186 -0
  171. package/packages/selector/tests/runtime/deepseek-v4-tokenizer.spec.ts +122 -0
  172. package/packages/selector/tests/runtime/deepseek-v4-vision-tokens.spec.ts +122 -0
  173. package/packages/selector/tests/runtime/deprecated-preset-options.spec.ts +96 -0
  174. package/packages/selector/tests/runtime/fixtures/profile-baseline.json +273 -0
  175. package/packages/selector/tests/runtime/fixtures/session-v4-dump.jsonl +46 -0
  176. package/packages/selector/tests/runtime/fixtures/tokenizer-golden.json +106 -0
  177. package/packages/selector/tests/runtime/fixtures/vision-golden.json +459 -0
  178. package/packages/selector/tests/runtime/frequency-longstrings.spec.ts +74 -0
  179. package/packages/selector/tests/runtime/fresh-gate.spec.ts +43 -0
  180. package/packages/selector/tests/runtime/html-reducer.spec.ts +212 -0
  181. package/packages/selector/tests/runtime/intent-gate.spec.ts +62 -0
  182. package/packages/selector/tests/runtime/intent-summary.spec.ts +156 -0
  183. package/packages/selector/tests/runtime/jsonl-reducer.spec.ts +79 -0
  184. package/packages/selector/tests/runtime/line-mapping.spec.ts +153 -0
  185. package/packages/selector/tests/runtime/monitor.spec.ts +354 -0
  186. package/packages/selector/tests/runtime/panel-command.spec.ts +101 -0
  187. package/packages/selector/tests/runtime/prose-reducers.spec.ts +133 -0
  188. package/packages/selector/tests/runtime/public/public-runtime.spec.ts +2781 -0
  189. package/packages/selector/tests/runtime/read-input-cap.spec.ts +33 -0
  190. package/packages/selector/tests/runtime/savings-accounting.spec.ts +291 -0
  191. package/packages/selector/tests/runtime/savings-integral.spec.ts +169 -0
  192. package/packages/selector/tests/runtime/savings-projection.spec.ts +89 -0
  193. package/packages/selector/tests/runtime/savings-verify.spec.ts +226 -0
  194. package/packages/selector/tests/runtime/savings.spec.ts +139 -0
  195. package/packages/selector/tests/runtime/search-reducer.spec.ts +110 -0
  196. package/packages/selector/tests/runtime/session-events.spec.ts +27 -0
  197. package/packages/selector/tests/runtime/session-file-decode.spec.ts +281 -0
  198. package/packages/selector/tests/runtime/settings-unwrap.spec.ts +58 -0
  199. package/packages/selector/tests/runtime/sidechannel.spec.ts +241 -0
  200. package/packages/selector/tests/runtime/stats-backfill-scheduler.spec.ts +167 -0
  201. package/packages/selector/tests/runtime/stats-backfill.spec.ts +348 -0
  202. package/packages/selector/tests/runtime/stats-db.spec.ts +361 -0
  203. package/packages/selector/tests/runtime/stats-privacy.spec.ts +55 -0
  204. package/packages/selector/tests/runtime/stats-sync.spec.ts +278 -0
  205. package/packages/selector/tests/runtime/summary-command.spec.ts +154 -0
  206. package/packages/selector/tests/runtime/toc-and-bundled.spec.ts +159 -0
  207. package/packages/selector/tests/runtime/tokenizer-golden.spec.ts +53 -0
  208. package/packages/selector/tests/runtime/tokenpilot/benefit.spec.ts +217 -0
  209. package/packages/selector/tests/runtime/tokenpilot/dedup.spec.ts +52 -0
  210. package/packages/selector/tests/runtime/tokenpilot/estimator.spec.ts +79 -0
  211. package/packages/selector/tests/runtime/tokenpilot/locator.spec.ts +76 -0
  212. package/packages/selector/tests/runtime/tokenpilot/profile-baseline.spec.ts +119 -0
  213. package/packages/selector/tests/runtime/tokenpilot/read-state.spec.ts +82 -0
  214. package/packages/selector/tests/runtime/toolclass.spec.ts +156 -0
  215. package/packages/selector/tests/runtime/value.spec.ts +23 -0
  216. package/packages/selector/tests/savings-sessions.client.spec.tsx +140 -0
  217. package/packages/selector/tests/settings-seat.client.spec.ts +215 -0
  218. package/packages/selector/tests/standing-generation.host.spec.ts +724 -0
  219. package/packages/selector/tests/subagent-cache-reuse.host.spec.ts +269 -0
  220. package/packages/selector/tests/support/cache-prefix-audit.ts +105 -0
  221. package/packages/selector/tests/support/mock-adapter.ts +37 -0
  222. package/packages/selector/tests/support/ui-primitives.tsx +34 -0
  223. package/packages/selector/tsconfig.json +11 -0
  224. package/packages/selector/tsdown.client.config.ts +102 -0
  225. package/packages/selector/tsdown.config.ts +20 -0
  226. package/pnpm-workspace.yaml +76 -0
  227. package/screenshots.json +6 -3
  228. package/scripts/capture-profile-baseline.mjs +42 -0
  229. package/scripts/cell-browser-e2e.mjs +354 -0
  230. package/scripts/generate-tokenizer-fixtures.py +81 -0
  231. package/scripts/generate-vision-fixtures.py +208 -0
  232. package/scripts/hosts.mjs +78 -0
  233. package/scripts/packed-components-smoke.mjs +763 -0
  234. package/scripts/packed-install-e2e.mjs +1346 -0
  235. package/scripts/sync-hosts.mjs +174 -0
  236. package/scripts/toolclass-corpus-replay.mjs +281 -0
  237. package/scripts/verify-release.mjs +338 -0
  238. package/tests/TEST_INVENTORY.md +41 -0
  239. package/tsconfig.base.json +18 -0
  240. package/tsconfig.json +7 -0
  241. package/tsconfig.tests.json +15 -0
  242. package/vitest.built.config.ts +9 -0
  243. package/vitest.config.ts +54 -0
  244. /package/{assets → packages/selector/assets}/deepseek-v4/LICENSE.DeepSeek-V4-Pro.txt +0 -0
  245. /package/{assets → packages/selector/assets}/deepseek-v4/manifest.json +0 -0
  246. /package/{assets → packages/selector/assets}/deepseek-v4/tokenizer.json +0 -0
  247. /package/{assets → packages/selector/assets}/deepseek-v4/tokenizer_config.json +0 -0
  248. /package/{assets → packages/selector/assets}/deepseek-v4-vision-exp/LICENSE.DeepSeek-V4-Flash-Vision-Exp.txt +0 -0
  249. /package/{assets → packages/selector/assets}/deepseek-v4-vision-exp/manifest.json +0 -0
  250. /package/{assets → packages/selector/assets}/deepseek-v4-vision-exp/tokenizer.json +0 -0
  251. /package/{assets → packages/selector/assets}/deepseek-v4-vision-exp/tokenizer_config.json +0 -0
  252. /package/{cordis.patch.yml → packages/selector/cordis.patch.yml} +0 -0
  253. /package/{lib → packages/selector/lib}/client.d.ts +0 -0
  254. /package/{lib → packages/selector/lib}/client.js +0 -0
  255. /package/{lib → packages/selector/lib}/index.d.ts +0 -0
  256. /package/{lib → packages/selector/lib}/index.js +0 -0
  257. /package/{lib → packages/selector/lib}/invariant.d.ts +0 -0
  258. /package/{lib → packages/selector/lib}/invariant.js +0 -0
  259. /package/{lib → packages/selector/lib}/profiles.d.ts +0 -0
  260. /package/{lib → packages/selector/lib}/pruner.d.ts +0 -0
  261. /package/{lib → packages/selector/lib}/pruner.js +0 -0
  262. /package/{lib → packages/selector/lib}/savings-integral.js +0 -0
  263. /package/{lib → packages/selector/lib}/tail-trim.js +0 -0
  264. /package/{lib → packages/selector/lib}/tool-result.js +0 -0
@@ -0,0 +1,46 @@
1
+ # Parent and child agent cache-prefix audit
2
+
3
+ ## Scope
4
+
5
+ This reference characterizes when DeepSeek Harness parent and child requests can present an identical prompt prefix to DeepSeek's automatic context cache. It does not add an explicit cache key, cache breakpoint, cache identifier, or client-side KV cache.
6
+
7
+ The selector plugin owns settings registration and UI only. It has no hook into agent request construction, subagent session creation, or LLM serialization, so this work must not add runtime request behavior to the plugin or modify Harness core.
8
+
9
+ ## Three separate questions
10
+
11
+ Context inheritance asks whether a child session receives parent session events. A fork copies the parent event prefix through the last completed turn; a spawn starts without parent messages. The child metadata records the parent session and, for a fork, the seed length.
12
+
13
+ Harness cache control asks whether Harness supplies a DeepSeek cache key or breakpoint across requests or sessions. The DeepSeek adapter serializes ordinary Chat Completions input and reads official usage fields; it supplies no explicit cache control.
14
+
15
+ Server cache reuse asks whether byte-identical request prefixes can hit DeepSeek's automatic context cache. This is best-effort server behavior and is confirmed only when official response usage reports a positive `prompt_cache_hit_tokens` value. Latency and price are not evidence.
16
+
17
+ ## Reuse characterization
18
+
19
+ The test-only audit representation is versioned and canonical. Object keys are sorted recursively, while arrays retain their model-visible order. A SHA-256 fingerprint is computed over UTF-8 JSON containing the provider, model, system prompt, tool schemas, and inherited messages.
20
+
21
+ A child is reusable only when it is a fork, declares parent-context inheritance, and its provider, model, system prompt, tools, and inherited messages equal the parent's stable envelope. Spawn mode, a changed persona or system prompt, changed tool schema or order, changed provider or model route, and changed history are rejected. The audit never repairs or concatenates mismatched contexts.
22
+
23
+ The characterization does not guarantee that two independently assembled HTTP bodies have the same byte prefix: JSON property order and the child-only continuation still belong to the DeepSeek adapter. The live test captures the actual immutable agent-loop request options and compares the stable inherited envelope before allowing a cache-reuse claim.
24
+
25
+ ## Safe evidence record
26
+
27
+ An evidence event may contain only the audit version, prefix fingerprint, estimated shared-prefix tokens, parent and child session identifiers, mode, eligibility or reason, cache-read tokens, cache-miss tokens, observed prompt tokens, and confirmation status. It must not contain prompts, messages, tool arguments or results, tool schemas, permissions, environment values, credentials, or secrets.
28
+
29
+ Usage is internally consistent only when `cacheReadTokens + cacheMissTokens` equals the observed prompt-token total. A positive cache-read count confirms a natural cache hit for that request. Missing or zero cache-read usage yields `unconfirmed`, never a claimed miss caused by Harness.
30
+
31
+ ## TDD acceptance criteria
32
+
33
+ The RED test imports an absent test-support module and defines the required behavior before implementation. The GREEN implementation remains under `tests/support` and exports no product runtime API.
34
+
35
+ - Fork accepts an identical completed-turn prefix and produces the same fingerprint for parent and child views.
36
+ - Spawn is ineligible because it does not inherit parent messages.
37
+ - Persona, tool schema or order, provider, model, and history mismatches are ineligible.
38
+ - Safe evidence records contain only the allowlisted fields and never contain representative secret or tool-result content.
39
+ - Usage projection accepts hit plus miss equaling the prompt total and rejects inconsistent totals.
40
+ - The existing selector runtime source remains unchanged, so disabling or omitting the plugin cannot affect agent requests.
41
+ - A key-gated host-side live DeepSeek E2E test uses an isolated in-memory context and task-local `DSH_HOME`; it reports only sanitized usage evidence.
42
+ - Existing fork, spawn, request-reconstruction, DeepSeek usage-projection, selector-plugin tests, the full build, and `git diff --check` pass.
43
+
44
+ ## Operational boundaries
45
+
46
+ Tests do not connect to the active web profile, start or restart a Harness service, deploy code, or write session logs outside the isolated test environment. The test-only implementation adds no product runtime API and does not alter active profile settings or service state.
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "id": "dsh-external/dsh-context-compression-improved",
3
- "version": "0.10.2",
3
+ "version": "0.10.3",
4
4
  "main": "./lib/index.js",
5
5
  "description": "Auditable tool-result context-compression selector with code-skeleton gate for DeepSeek Harness",
6
6
  "engines": {
7
- "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 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4"
7
+ "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 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5"
8
8
  },
9
9
  "contributes": {
10
10
  "tools": [],
@@ -0,0 +1,350 @@
1
+ .WcpPCW_settingsSection {
2
+ max-width: 720px;
3
+ color: var(--dsw-alias-label-primary);
4
+ flex-direction: column;
5
+ gap: 12px;
6
+ display: flex;
7
+ }
8
+
9
+ .WcpPCW_settingsTitle {
10
+ color: var(--dsw-alias-label-primary);
11
+ margin: 0;
12
+ font-size: 16px;
13
+ font-weight: 500;
14
+ line-height: 24px;
15
+ }
16
+
17
+ .WcpPCW_settingsDescription {
18
+ color: var(--dsw-alias-label-tertiary);
19
+ margin: 0;
20
+ font-size: 14px;
21
+ line-height: 22px;
22
+ }
23
+
24
+ .WcpPCW_root {
25
+ width: 100%;
26
+ }
27
+
28
+ .WcpPCW_profileGrid {
29
+ grid-template-columns: repeat(2, minmax(0, 1fr));
30
+ gap: 10px;
31
+ display: grid;
32
+ }
33
+
34
+ .WcpPCW_profileCard {
35
+ border: 1px solid var(--dsw-alias-border-l2);
36
+ min-height: 112px;
37
+ color: var(--dsw-alias-label-primary);
38
+ cursor: pointer;
39
+ text-align: left;
40
+ background: none;
41
+ border-radius: 10px;
42
+ flex-direction: column;
43
+ gap: 8px;
44
+ padding: 14px;
45
+ display: flex;
46
+ }
47
+
48
+ .WcpPCW_profileCard:hover:not(:disabled) {
49
+ background: var(--dsw-alias-interactive-bg-hover);
50
+ }
51
+
52
+ .WcpPCW_profileCard[aria-pressed="true"] {
53
+ border-color: var(--dsw-alias-label-primary);
54
+ }
55
+
56
+ .WcpPCW_profileCard:active:not(:disabled) {
57
+ transform: scale(.99);
58
+ }
59
+
60
+ .WcpPCW_profileCard:disabled {
61
+ cursor: default;
62
+ opacity: .6;
63
+ }
64
+
65
+ .WcpPCW_profileCard:focus-visible {
66
+ outline-offset: 2px;
67
+ outline: 2px solid;
68
+ }
69
+
70
+ .WcpPCW_profileCardTop {
71
+ align-items: center;
72
+ gap: 8px;
73
+ display: flex;
74
+ }
75
+
76
+ .WcpPCW_profileCardTitle {
77
+ font-size: 14px;
78
+ font-weight: 500;
79
+ line-height: 20px;
80
+ }
81
+
82
+ .WcpPCW_profileCurrent {
83
+ background: var(--dsw-alias-label-primary);
84
+ color: var(--dsw-alias-bg-base);
85
+ border-radius: 999px;
86
+ padding: 1px 6px;
87
+ font-size: 10px;
88
+ line-height: 14px;
89
+ }
90
+
91
+ .WcpPCW_profileCardDetail {
92
+ color: var(--dsw-alias-label-secondary);
93
+ font-size: 12px;
94
+ line-height: 18px;
95
+ }
96
+
97
+ .WcpPCW_button {
98
+ border: 1px solid var(--dsw-alias-border-l2);
99
+ width: 100%;
100
+ min-height: 34px;
101
+ color: var(--dsw-alias-label-primary);
102
+ cursor: pointer;
103
+ text-align: left;
104
+ background: none;
105
+ border-radius: 10px;
106
+ align-items: center;
107
+ gap: 8px;
108
+ padding: 6px 8px;
109
+ display: flex;
110
+ }
111
+
112
+ .WcpPCW_button:hover {
113
+ background: var(--dsw-alias-interactive-bg-hover);
114
+ }
115
+
116
+ .WcpPCW_button:disabled {
117
+ cursor: default;
118
+ opacity: .6;
119
+ }
120
+
121
+ .WcpPCW_copy {
122
+ flex: 1;
123
+ min-width: 0;
124
+ }
125
+
126
+ .WcpPCW_label {
127
+ color: var(--dsw-alias-label-tertiary);
128
+ font-size: 11px;
129
+ line-height: 14px;
130
+ }
131
+
132
+ .WcpPCW_value {
133
+ text-overflow: ellipsis;
134
+ white-space: nowrap;
135
+ font-size: 13px;
136
+ line-height: 17px;
137
+ overflow: hidden;
138
+ }
139
+
140
+ .WcpPCW_chevron {
141
+ color: var(--dsw-alias-label-secondary);
142
+ flex: none;
143
+ }
144
+
145
+ .WcpPCW_menuCopy {
146
+ flex-direction: column;
147
+ gap: 2px;
148
+ min-width: 220px;
149
+ display: flex;
150
+ }
151
+
152
+ .WcpPCW_menuTitle {
153
+ font-size: 13px;
154
+ line-height: 17px;
155
+ }
156
+
157
+ .WcpPCW_menuDetail {
158
+ white-space: normal;
159
+ max-width: 290px;
160
+ color: var(--dsw-alias-label-tertiary);
161
+ font-size: 11px;
162
+ line-height: 15px;
163
+ }
164
+
165
+ .WcpPCW_error {
166
+ color: var(--dsw-alias-state-error-primary);
167
+ padding: 4px 8px 0;
168
+ font-size: 11px;
169
+ line-height: 15px;
170
+ }
171
+
172
+ .WcpPCW_unavailable {
173
+ color: var(--dsw-alias-label-tertiary);
174
+ padding: 4px 8px 0;
175
+ font-size: 11px;
176
+ line-height: 15px;
177
+ }
178
+
179
+ .WcpPCW_settingsHint {
180
+ color: var(--dsw-alias-label-secondary);
181
+ padding: 4px 8px 0;
182
+ font-size: 11px;
183
+ line-height: 15px;
184
+ }
185
+
186
+ .WcpPCW_pricing {
187
+ color: var(--dsw-alias-label-tertiary);
188
+ padding: 4px 8px 0;
189
+ font-size: 11px;
190
+ line-height: 15px;
191
+ }
192
+
193
+ .WcpPCW_custom {
194
+ border-top: 1px solid var(--dsw-alias-border-l2);
195
+ margin-top: 16px;
196
+ padding: 16px 0 0;
197
+ }
198
+
199
+ .WcpPCW_customTitle {
200
+ margin: 0 0 6px;
201
+ font-size: 13px;
202
+ line-height: 17px;
203
+ }
204
+
205
+ .WcpPCW_customNote {
206
+ color: var(--dsw-alias-label-tertiary);
207
+ margin: 4px 0;
208
+ font-size: 11px;
209
+ line-height: 15px;
210
+ }
211
+
212
+ .WcpPCW_stage {
213
+ border: 0;
214
+ border-top: 1px solid var(--dsw-alias-border-l2);
215
+ margin: 12px 0 0;
216
+ padding: 12px 0 0;
217
+ }
218
+
219
+ .WcpPCW_stageToggle {
220
+ align-items: center;
221
+ gap: 6px;
222
+ font-size: 12px;
223
+ line-height: 16px;
224
+ display: inline-flex;
225
+ }
226
+
227
+ .WcpPCW_fieldGrid {
228
+ grid-template-columns: 1fr;
229
+ gap: 8px;
230
+ display: grid;
231
+ }
232
+
233
+ .WcpPCW_field {
234
+ min-width: 0;
235
+ color: var(--dsw-alias-label-secondary);
236
+ flex-direction: column;
237
+ gap: 4px;
238
+ margin-top: 8px;
239
+ font-size: 11px;
240
+ line-height: 15px;
241
+ display: flex;
242
+ }
243
+
244
+ .WcpPCW_field input, .WcpPCW_field select {
245
+ box-sizing: border-box;
246
+ border: 1px solid var(--dsw-alias-border-l2);
247
+ background: var(--dsw-alias-bg-base);
248
+ width: 100%;
249
+ min-width: 0;
250
+ min-height: 30px;
251
+ color: var(--dsw-alias-label-primary);
252
+ border-radius: 7px;
253
+ padding: 4px 6px;
254
+ }
255
+
256
+ .WcpPCW_field input:focus-visible, .WcpPCW_field select:focus-visible, .WcpPCW_actions button:focus-visible {
257
+ outline-offset: 2px;
258
+ outline: 2px solid;
259
+ }
260
+
261
+ .WcpPCW_actions {
262
+ flex-wrap: wrap;
263
+ gap: 8px;
264
+ margin-top: 10px;
265
+ display: flex;
266
+ }
267
+
268
+ .WcpPCW_actions button {
269
+ border: 1px solid var(--dsw-alias-border-l2);
270
+ min-height: 30px;
271
+ color: var(--dsw-alias-label-primary);
272
+ background: none;
273
+ border-radius: 7px;
274
+ padding: 4px 8px;
275
+ }
276
+
277
+ .WcpPCW_actions button:active:not(:disabled) {
278
+ transform: scale(.98);
279
+ }
280
+
281
+ .WcpPCW_actions button:disabled {
282
+ opacity: .6;
283
+ }
284
+
285
+ @media (width <= 560px) {
286
+ .WcpPCW_profileGrid {
287
+ grid-template-columns: 1fr;
288
+ }
289
+ }
290
+
291
+ .WcpPCW_autoCompact {
292
+ border: 1px solid #80808059;
293
+ border-radius: 8px;
294
+ margin-top: 24px;
295
+ padding: 16px;
296
+ }
297
+
298
+ .WcpPCW_autoCompactTitle {
299
+ margin: 0 0 8px;
300
+ font-size: 15px;
301
+ font-weight: 600;
302
+ }
303
+
304
+ .WcpPCW_autoCompactRisk {
305
+ opacity: .9;
306
+ margin: 8px 0 0;
307
+ font-size: 12px;
308
+ }
309
+
310
+ .WcpPCW_savingsCard {
311
+ border: 1px solid #ffffff1a;
312
+ border-radius: 8px;
313
+ flex-direction: column;
314
+ gap: 4px;
315
+ margin-top: 14px;
316
+ padding: 10px 12px;
317
+ display: flex;
318
+ }
319
+
320
+ .WcpPCW_savingsRow {
321
+ justify-content: space-between;
322
+ align-items: baseline;
323
+ gap: 12px;
324
+ display: flex;
325
+ }
326
+
327
+ .WcpPCW_savingsNetPositive strong {
328
+ color: #30d158;
329
+ }
330
+
331
+ .WcpPCW_savingsNetNegative strong {
332
+ color: #ff9f0a;
333
+ }
334
+
335
+ .WcpPCW_savingsMuted {
336
+ opacity: .66;
337
+ font-size: .92em;
338
+ }
339
+
340
+ .WcpPCW_savingsBreakdown {
341
+ border-top: 1px solid #ffffff14;
342
+ margin-top: 4px;
343
+ padding-top: 4px;
344
+ }
345
+
346
+ .WcpPCW_savingsNote {
347
+ opacity: .5;
348
+ margin-top: 4px;
349
+ font-size: .85em;
350
+ }
@@ -0,0 +1,178 @@
1
+ {
2
+ "name": "dsh-context-compression-improved",
3
+ "version": "0.10.3",
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
+ "pluginDependencies": [
52
+ "dsh-reference-session-collector"
53
+ ]
54
+ },
55
+ "scripts": {
56
+ "bundle": "tsdown --config tsdown.config.ts && tsdown --config tsdown.client.config.ts",
57
+ "typecheck": "tsc --noEmit -p tsconfig.json",
58
+ "test": "vitest run --root ../.. --config vitest.config.ts --project runtime --project selector-host --project selector-client",
59
+ "pack:dry-run": "npm pack --dry-run"
60
+ },
61
+ "repository": {
62
+ "type": "git",
63
+ "url": "git+https://github.com/drscrewdriver/dsh-context-compression-improved.git",
64
+ "directory": "packages/selector"
65
+ },
66
+ "homepage": "https://github.com/drscrewdriver/dsh-context-compression-improved#readme",
67
+ "bugs": {
68
+ "url": "https://github.com/drscrewdriver/dsh-context-compression-improved/issues"
69
+ },
70
+ "author": "WilliamShi666",
71
+ "engines": {
72
+ "node": "^22.19.0 || >=24.0.0",
73
+ "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 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5"
74
+ },
75
+ "keywords": [
76
+ "deepseek",
77
+ "harness",
78
+ "context",
79
+ "compression",
80
+ "plugin"
81
+ ],
82
+ "license": "MIT",
83
+ "publishConfig": {
84
+ "access": "public",
85
+ "registry": "https://registry.npmjs.org",
86
+ "tag": "latest"
87
+ },
88
+ "dependencies": {
89
+ "@deepseek-ai/schemastery": "3.18.4",
90
+ "@huggingface/tokenizers": "0.1.3",
91
+ "js-yaml": "^4.3.2",
92
+ "dsh-reference-session-collector": ">=0.2.0-beta.0 <0.3.0"
93
+ },
94
+ "peerDependencies": {
95
+ "@deepseek-ai/cordis": ">=4.0.1 <5",
96
+ "@deepseek-ai/cordis-plugin-include": ">=1.0.6 <2",
97
+ "@deepseek-ai/cordis-plugin-loader": ">=1.0.2 <2",
98
+ "@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 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5",
99
+ "@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 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5",
100
+ "@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 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5",
101
+ "@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 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5",
102
+ "@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 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5",
103
+ "@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 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5",
104
+ "@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 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5",
105
+ "@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 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5",
106
+ "@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 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5",
107
+ "@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 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5",
108
+ "@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 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5",
109
+ "@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 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5",
110
+ "@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 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5",
111
+ "@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 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5",
112
+ "@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 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5",
113
+ "@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 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5",
114
+ "@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 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5",
115
+ "@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 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5",
116
+ "@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 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5",
117
+ "react": ">=18 <19"
118
+ },
119
+ "peerDependenciesMeta": {
120
+ "@deepseek-ai/dsh-agent": {
121
+ "optional": true
122
+ },
123
+ "@deepseek-ai/dsh-agent-presets": {
124
+ "optional": true
125
+ },
126
+ "@deepseek-ai/dsh-client-locale": {
127
+ "optional": true
128
+ },
129
+ "@deepseek-ai/dsh-client-store": {
130
+ "optional": true
131
+ },
132
+ "@deepseek-ai/dsh-client-ui-primitives": {
133
+ "optional": true
134
+ },
135
+ "@deepseek-ai/dsh-client-ui-session": {
136
+ "optional": true
137
+ },
138
+ "@deepseek-ai/dsh-client-ui-settings": {
139
+ "optional": true
140
+ },
141
+ "@deepseek-ai/dsh-client-ui-slots": {
142
+ "optional": true
143
+ },
144
+ "@deepseek-ai/dsh-client-ui-workspace": {
145
+ "optional": true
146
+ },
147
+ "@deepseek-ai/dsh-command-compact": {
148
+ "optional": true
149
+ },
150
+ "@deepseek-ai/dsh-compaction": {
151
+ "optional": true
152
+ },
153
+ "@deepseek-ai/dsh-compaction-basic": {
154
+ "optional": true
155
+ },
156
+ "@deepseek-ai/dsh-invariants": {
157
+ "optional": true
158
+ },
159
+ "@deepseek-ai/dsh-llm": {
160
+ "optional": true
161
+ },
162
+ "@deepseek-ai/dsh-session": {
163
+ "optional": true
164
+ },
165
+ "@deepseek-ai/dsh-settings": {
166
+ "optional": true
167
+ },
168
+ "@deepseek-ai/dsh-system-prompt": {
169
+ "optional": true
170
+ },
171
+ "@deepseek-ai/dsh-token-meter": {
172
+ "optional": true
173
+ },
174
+ "@deepseek-ai/dsh-tools": {
175
+ "optional": true
176
+ }
177
+ }
178
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "screenshots": []
3
+ }