dsh-context-compression-improved 0.12.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (330) 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 +47 -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 +582 -0
  15. package/CHANGELOG.pt.md +167 -0
  16. package/CHANGELOG.ru.md +554 -0
  17. package/CHANGELOG.zh.md +247 -0
  18. package/CONTRIBUTING.md +22 -0
  19. package/README.de.md +96 -0
  20. package/README.es.md +96 -0
  21. package/README.fr.md +96 -0
  22. package/README.it.md +96 -0
  23. package/README.ja.md +102 -0
  24. package/README.ko.md +102 -0
  25. package/README.md +128 -22
  26. package/README.pt.md +96 -0
  27. package/README.ru.md +96 -0
  28. package/README.zh.md +114 -24
  29. package/SECURITY.md +18 -0
  30. package/THIRD_PARTY_NOTICES.md +7 -25
  31. package/assets/board.png +0 -0
  32. package/assets/context.png +0 -0
  33. package/assets/dshfind-card.svg +33 -0
  34. package/docs/assets/context-compression-selector-profiles.jpg +0 -0
  35. package/docs/assets/context-compression-selector-settings.png +0 -0
  36. package/docs/compat-0.1.5-report.md +77 -0
  37. package/docs/installation.de.md +104 -0
  38. package/docs/installation.es.md +104 -0
  39. package/docs/installation.fr.md +104 -0
  40. package/docs/installation.it.md +104 -0
  41. package/docs/installation.ja.md +78 -0
  42. package/docs/installation.ko.md +78 -0
  43. package/docs/installation.md +103 -0
  44. package/docs/installation.ru.md +104 -0
  45. package/docs/installation.zh.md +100 -0
  46. package/docs/repair-log.md +657 -0
  47. package/docs/shallow-teaching-preset-template.md +46 -0
  48. package/eslint.config.js +30 -0
  49. package/package.json +112 -127
  50. package/packages/selector/LICENSE +21 -0
  51. package/packages/selector/README.md +26 -0
  52. package/packages/selector/README.zh.md +24 -0
  53. package/packages/selector/THIRD_PARTY_NOTICES.md +32 -0
  54. package/packages/selector/docs/history-tool-call-working-set-spec.md +112 -0
  55. package/packages/selector/docs/native-tool-result-selector-spec.md +34 -0
  56. package/packages/selector/docs/subagent-cache-reuse-spec.md +46 -0
  57. package/{dsh.plugin.json → packages/selector/dsh.plugin.json} +1 -1
  58. package/{lib → packages/selector/lib}/client.js +18 -10
  59. package/packages/selector/lib/style.css +350 -0
  60. package/packages/selector/package.json +180 -0
  61. package/packages/selector/screenshots.json +3 -0
  62. package/packages/selector/src/client/CompressionProfileControls.tsx +352 -0
  63. package/packages/selector/src/client/CompressionProfileSelector.module.css +199 -0
  64. package/packages/selector/src/client/CompressionProfileSelector.tsx +89 -0
  65. package/packages/selector/src/client/CustomPolicyEditor.tsx +216 -0
  66. package/packages/selector/src/client/EstimatorControls.tsx +277 -0
  67. package/packages/selector/src/client/bridge-scope.ts +125 -0
  68. package/packages/selector/src/client/decode.ts +68 -0
  69. package/packages/selector/src/client/fab-pos.ts +71 -0
  70. package/packages/selector/src/client/guide-steps.ts +50 -0
  71. package/packages/selector/src/client/guide.tsx +368 -0
  72. package/packages/selector/src/client/index.ts +456 -0
  73. package/packages/selector/src/client/locales/de.ts +167 -0
  74. package/packages/selector/src/client/locales/es.ts +167 -0
  75. package/packages/selector/src/client/locales/fr.ts +167 -0
  76. package/packages/selector/src/client/locales/it.ts +167 -0
  77. package/packages/selector/src/client/locales/ja.ts +167 -0
  78. package/packages/selector/src/client/locales/ko.ts +167 -0
  79. package/packages/selector/src/client/locales/pt.ts +167 -0
  80. package/packages/selector/src/client/locales/ru.ts +167 -0
  81. package/packages/selector/src/client/locales.ts +334 -0
  82. package/packages/selector/src/client/monitor-fab.ts +445 -0
  83. package/packages/selector/src/client/preset-options.ts +88 -0
  84. package/packages/selector/src/client/savings-card.tsx +269 -0
  85. package/packages/selector/src/client/scope-face.ts +24 -0
  86. package/packages/selector/src/client/settings-section.tsx +171 -0
  87. package/packages/selector/src/compat/host-generation.ts +96 -0
  88. package/packages/selector/src/compat/llm-messages.ts +50 -0
  89. package/packages/selector/src/compat/settings-lease.ts +108 -0
  90. package/packages/selector/src/compat/tool-result.ts +91 -0
  91. package/packages/selector/src/css-modules.d.ts +6 -0
  92. package/packages/selector/src/deepseek-v4-tokenizer.ts +205 -0
  93. package/packages/selector/src/estimator-catalog.ts +104 -0
  94. package/packages/selector/src/index.ts +909 -0
  95. package/packages/selector/src/invariant.ts +113 -0
  96. package/packages/selector/src/preset-overlay.ts +749 -0
  97. package/packages/selector/src/profiles.ts +554 -0
  98. package/packages/selector/src/pruner/content.ts +199 -0
  99. package/packages/selector/src/pruner/session.ts +97 -0
  100. package/packages/selector/src/pruner/state.ts +61 -0
  101. package/packages/selector/src/pruner/tuning.ts +23 -0
  102. package/packages/selector/src/pruner/types.ts +78 -0
  103. package/packages/selector/src/pruner.ts +3222 -0
  104. package/packages/selector/src/runtime/adaptive-cost.ts +205 -0
  105. package/packages/selector/src/runtime/audit.ts +321 -0
  106. package/packages/selector/src/runtime/config.ts +887 -0
  107. package/packages/selector/src/runtime/custom-policy.ts +300 -0
  108. package/packages/selector/src/runtime/deepseek-official-pricing.ts +298 -0
  109. package/packages/selector/src/runtime/deepseek-v4-vision-tokens.ts +254 -0
  110. package/packages/selector/src/runtime/display-prefs.ts +98 -0
  111. package/packages/selector/src/runtime/fold-router.ts +143 -0
  112. package/packages/selector/src/runtime/measurement.ts +444 -0
  113. package/packages/selector/src/runtime/monitor.ts +341 -0
  114. package/packages/selector/src/runtime/panel-command.ts +213 -0
  115. package/packages/selector/src/runtime/reducers.ts +1755 -0
  116. package/packages/selector/src/runtime/retrieve.ts +505 -0
  117. package/packages/selector/src/runtime/savings-integral.ts +117 -0
  118. package/packages/selector/src/runtime/savings-projection.ts +229 -0
  119. package/packages/selector/src/runtime/savings-verify.ts +446 -0
  120. package/packages/selector/src/runtime/savings.ts +526 -0
  121. package/packages/selector/src/runtime/sediment-card.ts +126 -0
  122. package/packages/selector/src/runtime/sediment-clock.ts +87 -0
  123. package/packages/selector/src/runtime/sediment-guard.ts +136 -0
  124. package/packages/selector/src/runtime/sediment-publish.ts +144 -0
  125. package/packages/selector/src/runtime/sediment-span.ts +170 -0
  126. package/packages/selector/src/runtime/sediment.ts +209 -0
  127. package/packages/selector/src/runtime/session-events.ts +30 -0
  128. package/packages/selector/src/runtime/session-file-decode.ts +523 -0
  129. package/packages/selector/src/runtime/shallow-tools.ts +342 -0
  130. package/packages/selector/src/runtime/stats-backfill.ts +541 -0
  131. package/packages/selector/src/runtime/stats-db.ts +492 -0
  132. package/packages/selector/src/runtime/stats-schema.ts +123 -0
  133. package/packages/selector/src/runtime/stats-sync.ts +307 -0
  134. package/packages/selector/src/runtime/summary-command.ts +127 -0
  135. package/packages/selector/src/runtime/tail-trim.ts +177 -0
  136. package/packages/selector/src/runtime/token-count.ts +72 -0
  137. package/packages/selector/src/runtime/tokenpilot/advisor-prompt.ts +233 -0
  138. package/packages/selector/src/runtime/tokenpilot/advisor-state.ts +204 -0
  139. package/packages/selector/src/runtime/tokenpilot/advisor.ts +419 -0
  140. package/packages/selector/src/runtime/tokenpilot/benefit.ts +200 -0
  141. package/packages/selector/src/runtime/tokenpilot/dedup.ts +82 -0
  142. package/packages/selector/src/runtime/tokenpilot/estimator.ts +151 -0
  143. package/packages/selector/src/runtime/tokenpilot/intent-fold.ts +53 -0
  144. package/packages/selector/src/runtime/tokenpilot/intent-gate.ts +65 -0
  145. package/packages/selector/src/runtime/tokenpilot/intent-input-mask.ts +125 -0
  146. package/packages/selector/src/runtime/tokenpilot/intent-range.ts +37 -0
  147. package/packages/selector/src/runtime/tokenpilot/locator.ts +129 -0
  148. package/packages/selector/src/runtime/tokenpilot/read-state.ts +98 -0
  149. package/packages/selector/src/runtime/tokenpilot/sidechannel.ts +303 -0
  150. package/packages/selector/src/runtime/tool-names.ts +42 -0
  151. package/packages/selector/src/runtime/toolclass.ts +103 -0
  152. package/packages/selector/src/runtime/triage/masks.ts +128 -0
  153. package/packages/selector/src/runtime/triage/shallow.ts +132 -0
  154. package/packages/selector/src/runtime/triage/signals.ts +167 -0
  155. package/packages/selector/src/runtime/triage/types.ts +125 -0
  156. package/packages/selector/src/runtime/types.ts +396 -0
  157. package/packages/selector/src/runtime/value.ts +48 -0
  158. package/packages/selector/src/settings-bridge.ts +175 -0
  159. package/packages/selector/src/tui-command.ts +99 -0
  160. package/packages/selector/tests/advisor-report.host.spec.ts +223 -0
  161. package/packages/selector/tests/auto-compact.client.spec.tsx +214 -0
  162. package/packages/selector/tests/built/client-artifact.spec.ts +56 -0
  163. package/packages/selector/tests/cache-prefix-audit.spec.ts +123 -0
  164. package/packages/selector/tests/code-skeleton.client.spec.ts +98 -0
  165. package/packages/selector/tests/compat/compat-narrow-waist.spec.ts +150 -0
  166. package/packages/selector/tests/custom-contract.client.spec.ts +226 -0
  167. package/packages/selector/tests/estimator-catalog.spec.ts +70 -0
  168. package/packages/selector/tests/estimator-channel.client.spec.tsx +253 -0
  169. package/packages/selector/tests/estimator-route-registration.host.spec.ts +202 -0
  170. package/packages/selector/tests/fab-pos.client.spec.ts +47 -0
  171. package/packages/selector/tests/fixtures/sediment-pool/52adc205-cloud-5.orig.txt +231 -0
  172. package/packages/selector/tests/fixtures/sediment-pool/95fcba5d-cloud-25.orig.txt +236 -0
  173. package/packages/selector/tests/fixtures/sediment-pool/95fcba5d-cloud-38.orig.txt +220 -0
  174. package/packages/selector/tests/fixtures/sediment-pool/95fcba5d-cloud-42.orig.txt +140 -0
  175. package/packages/selector/tests/fixtures/sediment-pool/95fcba5d-cloud-53.orig.txt +117 -0
  176. package/packages/selector/tests/fixtures/sediment-pool/95fcba5d-local-10.orig.txt +67 -0
  177. package/packages/selector/tests/fixtures/sediment-pool/a7a767c0-cloud-45.orig.txt +119 -0
  178. package/packages/selector/tests/fixtures/sediment-pool/a7a767c0-cloud-49.orig.txt +119 -0
  179. package/packages/selector/tests/fixtures/sediment-pool/a7a767c0-cloud-63.orig.txt +131 -0
  180. package/packages/selector/tests/fixtures/sediment-pool/a7a767c0-cloud-75.orig.txt +196 -0
  181. package/packages/selector/tests/fixtures/sediment-pool/a7a767c0-cloud-76.orig.txt +71 -0
  182. package/packages/selector/tests/fixtures/sediment-pool/a7a767c0-cloud-85.orig.txt +126 -0
  183. package/packages/selector/tests/fixtures/sediment-pool/a7a767c0-cloud-86.orig.txt +86 -0
  184. package/packages/selector/tests/fixtures/sediment-pool/a7a767c0-cloud-87.orig.txt +50 -0
  185. package/packages/selector/tests/fixtures/sediment-pool/a7a767c0-cloud-96.orig.txt +102 -0
  186. package/packages/selector/tests/helpers/legacy-namespace.ts +35 -0
  187. package/packages/selector/tests/helpers/legacy-settings/index.ts +15 -0
  188. package/packages/selector/tests/helpers/legacy-settings/legacy/provider.d.ts +41 -0
  189. package/packages/selector/tests/helpers/legacy-settings/legacy/provider.js +647 -0
  190. package/packages/selector/tests/helpers/legacy-settings/legacy/redact.js +78 -0
  191. package/packages/selector/tests/helpers/legacy-settings/legacy/util-values.js +234 -0
  192. package/packages/selector/tests/host-preset-overlay.host.spec.ts +204 -0
  193. package/packages/selector/tests/monitor-fab.client.spec.ts +240 -0
  194. package/packages/selector/tests/preset-options-write.client.spec.ts +192 -0
  195. package/packages/selector/tests/preset-overlay-loader.e2e.host.spec.ts +200 -0
  196. package/packages/selector/tests/preset-overlay.host.spec.ts +246 -0
  197. package/packages/selector/tests/profiles.client.spec.tsx +436 -0
  198. package/packages/selector/tests/ptc-custom-write.client.spec.ts +86 -0
  199. package/packages/selector/tests/public/package-contract.client.spec.ts +91 -0
  200. package/packages/selector/tests/runtime/adaptive-cost.spec.ts +167 -0
  201. package/packages/selector/tests/runtime/advice-never-withholds.host.spec.ts +230 -0
  202. package/packages/selector/tests/runtime/advisor-invariant.spec.ts +272 -0
  203. package/packages/selector/tests/runtime/advisor.spec.ts +226 -0
  204. package/packages/selector/tests/runtime/audit.spec.ts +275 -0
  205. package/packages/selector/tests/runtime/auto-compact-config.spec.ts +523 -0
  206. package/packages/selector/tests/runtime/behavior-lock-profiles.spec.ts +128 -0
  207. package/packages/selector/tests/runtime/char-basis.spec.ts +30 -0
  208. package/packages/selector/tests/runtime/code-skeleton.spec.ts +152 -0
  209. package/packages/selector/tests/runtime/deepseek-official-pricing.spec.ts +186 -0
  210. package/packages/selector/tests/runtime/deepseek-v4-tokenizer.spec.ts +122 -0
  211. package/packages/selector/tests/runtime/deepseek-v4-vision-tokens.spec.ts +122 -0
  212. package/packages/selector/tests/runtime/deprecated-preset-options.spec.ts +96 -0
  213. package/packages/selector/tests/runtime/fallback-diversity.spec.ts +75 -0
  214. package/packages/selector/tests/runtime/fixtures/profile-baseline.json +273 -0
  215. package/packages/selector/tests/runtime/fixtures/session-v4-dump.jsonl +46 -0
  216. package/packages/selector/tests/runtime/fixtures/tokenizer-golden.json +106 -0
  217. package/packages/selector/tests/runtime/fixtures/vision-golden.json +459 -0
  218. package/packages/selector/tests/runtime/fold-router.spec.ts +140 -0
  219. package/packages/selector/tests/runtime/frequency-longstrings.spec.ts +74 -0
  220. package/packages/selector/tests/runtime/fresh-gate.spec.ts +43 -0
  221. package/packages/selector/tests/runtime/html-reducer.spec.ts +212 -0
  222. package/packages/selector/tests/runtime/intent-gate.spec.ts +62 -0
  223. package/packages/selector/tests/runtime/intent-summary.spec.ts +156 -0
  224. package/packages/selector/tests/runtime/jsonl-reducer.spec.ts +79 -0
  225. package/packages/selector/tests/runtime/line-mapping.spec.ts +153 -0
  226. package/packages/selector/tests/runtime/monitor.spec.ts +354 -0
  227. package/packages/selector/tests/runtime/panel-command.spec.ts +101 -0
  228. package/packages/selector/tests/runtime/prose-reducers.spec.ts +133 -0
  229. package/packages/selector/tests/runtime/ptc-profile.spec.ts +133 -0
  230. package/packages/selector/tests/runtime/public/public-runtime.spec.ts +2795 -0
  231. package/packages/selector/tests/runtime/read-input-cap.spec.ts +33 -0
  232. package/packages/selector/tests/runtime/savings-accounting.spec.ts +291 -0
  233. package/packages/selector/tests/runtime/savings-integral.spec.ts +169 -0
  234. package/packages/selector/tests/runtime/savings-projection.spec.ts +89 -0
  235. package/packages/selector/tests/runtime/savings-verify.spec.ts +226 -0
  236. package/packages/selector/tests/runtime/savings.spec.ts +139 -0
  237. package/packages/selector/tests/runtime/search-reducer.spec.ts +110 -0
  238. package/packages/selector/tests/runtime/sediment-card.spec.ts +111 -0
  239. package/packages/selector/tests/runtime/sediment-config.spec.ts +56 -0
  240. package/packages/selector/tests/runtime/sediment-guard.spec.ts +71 -0
  241. package/packages/selector/tests/runtime/sediment-masks.spec.ts +95 -0
  242. package/packages/selector/tests/runtime/sediment-orchestrator.spec.ts +166 -0
  243. package/packages/selector/tests/runtime/sediment-pool-share.spec.ts +65 -0
  244. package/packages/selector/tests/runtime/sediment-publish.spec.ts +142 -0
  245. package/packages/selector/tests/runtime/sediment-real-shapes.spec.ts +158 -0
  246. package/packages/selector/tests/runtime/sediment-settings.spec.ts +73 -0
  247. package/packages/selector/tests/runtime/sediment-signals.spec.ts +124 -0
  248. package/packages/selector/tests/runtime/sediment-span.spec.ts +92 -0
  249. package/packages/selector/tests/runtime/session-events.spec.ts +27 -0
  250. package/packages/selector/tests/runtime/session-file-decode.spec.ts +281 -0
  251. package/packages/selector/tests/runtime/settings-unwrap.spec.ts +58 -0
  252. package/packages/selector/tests/runtime/shallow-primitives.spec.ts +135 -0
  253. package/packages/selector/tests/runtime/sidechannel.spec.ts +241 -0
  254. package/packages/selector/tests/runtime/source-kind-audit.spec.ts +79 -0
  255. package/packages/selector/tests/runtime/stats-backfill-scheduler.spec.ts +167 -0
  256. package/packages/selector/tests/runtime/stats-backfill.spec.ts +350 -0
  257. package/packages/selector/tests/runtime/stats-db.spec.ts +361 -0
  258. package/packages/selector/tests/runtime/stats-privacy.spec.ts +55 -0
  259. package/packages/selector/tests/runtime/stats-sync.spec.ts +278 -0
  260. package/packages/selector/tests/runtime/summary-command.spec.ts +154 -0
  261. package/packages/selector/tests/runtime/toc-and-bundled.spec.ts +159 -0
  262. package/packages/selector/tests/runtime/tokenizer-golden.spec.ts +53 -0
  263. package/packages/selector/tests/runtime/tokenpilot/benefit.spec.ts +217 -0
  264. package/packages/selector/tests/runtime/tokenpilot/dedup.spec.ts +52 -0
  265. package/packages/selector/tests/runtime/tokenpilot/estimator.spec.ts +79 -0
  266. package/packages/selector/tests/runtime/tokenpilot/locator.spec.ts +76 -0
  267. package/packages/selector/tests/runtime/tokenpilot/profile-baseline.spec.ts +121 -0
  268. package/packages/selector/tests/runtime/tokenpilot/read-state.spec.ts +82 -0
  269. package/packages/selector/tests/runtime/toolclass.spec.ts +156 -0
  270. package/packages/selector/tests/runtime/value.spec.ts +23 -0
  271. package/packages/selector/tests/savings-sessions.client.spec.tsx +140 -0
  272. package/packages/selector/tests/settings-seat.client.spec.ts +215 -0
  273. package/packages/selector/tests/standing-generation.host.spec.ts +729 -0
  274. package/packages/selector/tests/subagent-cache-reuse.host.spec.ts +269 -0
  275. package/packages/selector/tests/support/cache-prefix-audit.ts +105 -0
  276. package/packages/selector/tests/support/mock-adapter.ts +37 -0
  277. package/packages/selector/tests/support/ui-primitives.tsx +34 -0
  278. package/packages/selector/tsconfig.json +11 -0
  279. package/packages/selector/tsdown.client.config.ts +102 -0
  280. package/packages/selector/tsdown.config.ts +20 -0
  281. package/pnpm-workspace.yaml +76 -0
  282. package/screenshots.json +6 -3
  283. package/scripts/capture-profile-baseline.mjs +42 -0
  284. package/scripts/cell-browser-e2e.mjs +354 -0
  285. package/scripts/generate-tokenizer-fixtures.py +81 -0
  286. package/scripts/generate-vision-fixtures.py +208 -0
  287. package/scripts/hosts.d.mts +3 -0
  288. package/scripts/hosts.mjs +81 -0
  289. package/scripts/packed-components-smoke.mjs +763 -0
  290. package/scripts/packed-install-e2e.mjs +1346 -0
  291. package/scripts/sediment-latency-report.mjs +63 -0
  292. package/scripts/sync-hosts.mjs +176 -0
  293. package/scripts/toolclass-corpus-replay.mjs +281 -0
  294. package/scripts/verify-release.mjs +342 -0
  295. package/tests/TEST_INVENTORY.md +41 -0
  296. package/tsconfig.base.json +18 -0
  297. package/tsconfig.json +7 -0
  298. package/tsconfig.tests.json +15 -0
  299. package/vitest.built.config.ts +9 -0
  300. package/vitest.config.ts +54 -0
  301. /package/{assets → packages/selector/assets}/deepseek-v4/LICENSE.DeepSeek-V4-Pro.txt +0 -0
  302. /package/{assets → packages/selector/assets}/deepseek-v4/manifest.json +0 -0
  303. /package/{assets → packages/selector/assets}/deepseek-v4/tokenizer.json +0 -0
  304. /package/{assets → packages/selector/assets}/deepseek-v4/tokenizer_config.json +0 -0
  305. /package/{assets → packages/selector/assets}/deepseek-v4-vision-exp/LICENSE.DeepSeek-V4-Flash-Vision-Exp.txt +0 -0
  306. /package/{assets → packages/selector/assets}/deepseek-v4-vision-exp/manifest.json +0 -0
  307. /package/{assets → packages/selector/assets}/deepseek-v4-vision-exp/tokenizer.json +0 -0
  308. /package/{assets → packages/selector/assets}/deepseek-v4-vision-exp/tokenizer_config.json +0 -0
  309. /package/{cordis.patch.yml → packages/selector/cordis.patch.yml} +0 -0
  310. /package/{lib → packages/selector/lib}/client.d.ts +0 -0
  311. /package/{lib → packages/selector/lib}/index.d.ts +0 -0
  312. /package/{lib → packages/selector/lib}/index.js +0 -0
  313. /package/{lib → packages/selector/lib}/invariant.d.ts +0 -0
  314. /package/{lib → packages/selector/lib}/invariant.js +0 -0
  315. /package/{lib → packages/selector/lib}/profiles.d.ts +0 -0
  316. /package/{lib → packages/selector/lib}/pruner.d.ts +0 -0
  317. /package/{lib → packages/selector/lib}/pruner.js +0 -0
  318. /package/{lib → packages/selector/lib}/savings-integral.js +0 -0
  319. /package/{lib → packages/selector/lib}/tail-trim.js +0 -0
  320. /package/{lib → packages/selector/lib}/tool-result.js +0 -0
  321. /package/{locale → packages/selector/locale}/de.json +0 -0
  322. /package/{locale → packages/selector/locale}/en.json +0 -0
  323. /package/{locale → packages/selector/locale}/es.json +0 -0
  324. /package/{locale → packages/selector/locale}/fr.json +0 -0
  325. /package/{locale → packages/selector/locale}/it.json +0 -0
  326. /package/{locale → packages/selector/locale}/ja.json +0 -0
  327. /package/{locale → packages/selector/locale}/ko.json +0 -0
  328. /package/{locale → packages/selector/locale}/pt.json +0 -0
  329. /package/{locale → packages/selector/locale}/ru.json +0 -0
  330. /package/{locale → packages/selector/locale}/zh.json +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,6 +1,6 @@
1
1
  {
2
2
  "id": "dsh-external/dsh-context-compression-improved",
3
- "version": "0.11.4",
3
+ "version": "0.13.0",
4
4
  "main": "./lib/index.js",
5
5
  "description": "Token-saving, auditable tool-result context-compression selector with code-skeleton gate for DeepSeek Harness — fewer tokens on every turn",
6
6
  "engines": {
@@ -1814,7 +1814,7 @@ window.__ModuleLoader__.load({
1814
1814
  }, []);
1815
1815
  }
1816
1816
  /**
1817
- * 引导主体:3 步以内的小教学 + 恒定可见的 Skip。
1817
+ * 引导主体:≤10 步的小教学(惯例:末条讲「用量端点」贴士)+ 恒定可见的 Skip。
1818
1818
  *
1819
1819
  * `onClose` 由宿主卡面传:Skip/Done 都会调用它(Skip 同时写标记)。
1820
1820
  */
@@ -1922,6 +1922,10 @@ window.__ModuleLoader__.load({
1922
1922
  {
1923
1923
  title: "看节省去悬浮面板,先分清口径",
1924
1924
  body: "在设置里打开「悬浮面板」,输入区旁出现可拖拽的悬浮球,点开是压缩监控:净节省、毛节省、负节省(压缩后再读全文的抵消)、缓存命中率与成本估算。设置页底部的「节省统计(本进程)」在首次裁剪前是空的;标注「持久化降级」说明统计只留在内存。"
1925
+ },
1926
+ {
1927
+ title: "压缩与折叠走本地直连端点",
1928
+ body: "两处都能单独指定模型:设置页的「估计器(可选)」(仅「TokenPilot 启发模式」提供)把「通道」选成「直连 OpenAI 兼容端点」,填端点地址(/v1)与一个小模型;轮尾折叠的两层端点(高吞吐档吃 ≤2K 输入、稳定档吃 2~8K,如本地 35B)在配置里写 `sediment.foldMode: direct` 加 `foldBaseUrl` / `foldStrata*` / `foldLocal35*`。停在「宿主模型」时,压缩与对话共用同一个 provider/model,每轮裁剪都在吃对话 token。"
1925
1929
  }
1926
1930
  ],
1927
1931
  en: [
@@ -1936,6 +1940,10 @@ window.__ModuleLoader__.load({
1936
1940
  {
1937
1941
  title: "Read savings in the monitor, mind the basis",
1938
1942
  body: "Turn on “Floating panel” in settings and a draggable ball appears next to the composer; it opens the compression monitor with net Δ, gross Δ, offsets (full reads after compression), cache hit rate, and cost estimates. The “Savings (this process)” card at the bottom of Settings stays empty until the first trim; a “persistence degraded” note means the numbers live in memory only."
1943
+ },
1944
+ {
1945
+ title: "Route compression and folding to local direct endpoints",
1946
+ body: "Two places take an explicit model: the Estimator block in settings (offered only under the TokenPilot-inspired profile) — set Channel to “Direct OpenAI-compatible endpoint” with a /v1 base URL and a small model; and the two turn-tail folding tiers (a high-throughput tier for inputs ≤2K, a stable tier such as local 35B for 2–8K), configured as sediment.foldMode: direct with foldBaseUrl / foldStrata* / foldLocal35*. Left on “Host model”, summarisation shares one provider/model with the conversation, so every trim spends conversation tokens."
1939
1947
  }
1940
1948
  ]
1941
1949
  };
@@ -2002,6 +2010,15 @@ window.__ModuleLoader__.load({
2002
2010
  className: _dsh_context_compression_css_466eb745356d_CompressionProfileSelector_module_css_default.settingsDescription,
2003
2011
  children: t("settings.description")
2004
2012
  }),
2013
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
2014
+ style: { margin: "0 0 10px" },
2015
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(GuideRestartButton, {
2016
+ ns: "context-compression",
2017
+ onOpen: () => {
2018
+ setGuideOpen(true);
2019
+ }
2020
+ })
2021
+ }),
2005
2022
  guideOpen && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(GuidePanel, {
2006
2023
  ns: "context-compression",
2007
2024
  steps: guideSteps(CCI_GUIDE_STEPS),
@@ -2110,15 +2127,6 @@ window.__ModuleLoader__.load({
2110
2127
  className: _dsh_context_compression_css_466eb745356d_CompressionProfileSelector_module_css_default.error,
2111
2128
  role: "alert",
2112
2129
  children: saveError
2113
- }),
2114
- !guideOpen && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
2115
- style: { margin: "10px 0 0" },
2116
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(GuideRestartButton, {
2117
- ns: "context-compression",
2118
- onOpen: () => {
2119
- setGuideOpen(true);
2120
- }
2121
- })
2122
2130
  })
2123
2131
  ]
2124
2132
  });
@@ -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,180 @@
1
+ {
2
+ "name": "dsh-context-compression-improved",
3
+ "version": "0.13.0",
4
+ "description": "Token-saving context-compression selector bundle for DeepSeek Harness — fewer tool-result tokens on every turn, fully auditable",
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
+ "./locale/*.json": "./locale/*.json",
26
+ "./package.json": "./package.json"
27
+ },
28
+ "files": [
29
+ "lib/**/*.js",
30
+ "lib/**/*.d.ts",
31
+ "cordis.patch.yml",
32
+ "dsh.plugin.json",
33
+ "screenshots.json",
34
+ "assets",
35
+ "README.md",
36
+ "README.zh.md",
37
+ "LICENSE",
38
+ "THIRD_PARTY_NOTICES.md",
39
+ "locale"
40
+ ],
41
+ "dsh": {
42
+ "client": {
43
+ "inject": [
44
+ "@deepseek-ai/dsh-client-locale",
45
+ "@deepseek-ai/dsh-client-ui-slots",
46
+ "@deepseek-ai/dsh-client-ui-settings"
47
+ ],
48
+ "platform": "web"
49
+ },
50
+ "bundle": {
51
+ "patch": "./cordis.patch.yml"
52
+ },
53
+ "pluginDependencies": [
54
+ "dsh-reference-session-collector"
55
+ ]
56
+ },
57
+ "scripts": {
58
+ "bundle": "tsdown --config tsdown.config.ts && tsdown --config tsdown.client.config.ts",
59
+ "typecheck": "tsc --noEmit -p tsconfig.json",
60
+ "test": "vitest run --root ../.. --config vitest.config.ts --project runtime --project selector-host --project selector-client",
61
+ "pack:dry-run": "npm pack --dry-run"
62
+ },
63
+ "repository": {
64
+ "type": "git",
65
+ "url": "git+https://github.com/drscrewdriver/dsh-context-compression-improved.git",
66
+ "directory": "packages/selector"
67
+ },
68
+ "homepage": "https://github.com/drscrewdriver/dsh-context-compression-improved#readme",
69
+ "bugs": {
70
+ "url": "https://github.com/drscrewdriver/dsh-context-compression-improved/issues"
71
+ },
72
+ "author": "WilliamShi666",
73
+ "engines": {
74
+ "node": "^22.19.0 || >=24.0.0",
75
+ "dsh": ">=0.1.0-rc.2 <0.3.0-0"
76
+ },
77
+ "keywords": [
78
+ "deepseek",
79
+ "harness",
80
+ "context",
81
+ "compression",
82
+ "plugin"
83
+ ],
84
+ "license": "MIT",
85
+ "publishConfig": {
86
+ "access": "public",
87
+ "registry": "https://registry.npmjs.org",
88
+ "tag": "latest"
89
+ },
90
+ "dependencies": {
91
+ "@deepseek-ai/schemastery": "3.18.4",
92
+ "@huggingface/tokenizers": "0.1.3",
93
+ "js-yaml": "^4.3.2",
94
+ "dsh-reference-session-collector": ">=0.2.0-beta.0 <0.3.0"
95
+ },
96
+ "peerDependencies": {
97
+ "@deepseek-ai/cordis": ">=4.0.1 <5",
98
+ "@deepseek-ai/cordis-plugin-include": ">=1.0.6 <2",
99
+ "@deepseek-ai/cordis-plugin-loader": ">=1.0.2 <2",
100
+ "@deepseek-ai/dsh-agent": ">=0.1.0-rc.2 <0.3.0-0",
101
+ "@deepseek-ai/dsh-agent-presets": ">=0.1.0-rc.2 <0.3.0-0",
102
+ "@deepseek-ai/dsh-client-locale": ">=0.1.0-rc.2 <0.3.0-0",
103
+ "@deepseek-ai/dsh-client-store": ">=0.1.0-rc.2 <0.3.0-0",
104
+ "@deepseek-ai/dsh-client-ui-primitives": ">=0.1.0-rc.2 <0.3.0-0",
105
+ "@deepseek-ai/dsh-client-ui-session": ">=0.1.0-rc.2 <0.3.0-0",
106
+ "@deepseek-ai/dsh-client-ui-settings": ">=0.1.0-rc.2 <0.3.0-0",
107
+ "@deepseek-ai/dsh-client-ui-slots": ">=0.1.0-rc.2 <0.3.0-0",
108
+ "@deepseek-ai/dsh-client-ui-workspace": ">=0.1.0-rc.2 <0.3.0-0",
109
+ "@deepseek-ai/dsh-command-compact": ">=0.1.0-rc.2 <0.3.0-0",
110
+ "@deepseek-ai/dsh-compaction": ">=0.1.0-rc.2 <0.3.0-0",
111
+ "@deepseek-ai/dsh-compaction-basic": ">=0.1.0-rc.2 <0.3.0-0",
112
+ "@deepseek-ai/dsh-invariants": ">=0.1.0-rc.2 <0.3.0-0",
113
+ "@deepseek-ai/dsh-llm": ">=0.1.0-rc.2 <0.3.0-0",
114
+ "@deepseek-ai/dsh-session": ">=0.1.0-rc.2 <0.3.0-0",
115
+ "@deepseek-ai/dsh-settings": ">=0.1.0-rc.2 <0.3.0-0",
116
+ "@deepseek-ai/dsh-system-prompt": ">=0.1.0-rc.2 <0.3.0-0",
117
+ "@deepseek-ai/dsh-token-meter": ">=0.1.0-rc.2 <0.3.0-0",
118
+ "@deepseek-ai/dsh-tools": ">=0.1.0-rc.2 <0.3.0-0",
119
+ "react": ">=18 <19"
120
+ },
121
+ "peerDependenciesMeta": {
122
+ "@deepseek-ai/dsh-agent": {
123
+ "optional": true
124
+ },
125
+ "@deepseek-ai/dsh-agent-presets": {
126
+ "optional": true
127
+ },
128
+ "@deepseek-ai/dsh-client-locale": {
129
+ "optional": true
130
+ },
131
+ "@deepseek-ai/dsh-client-store": {
132
+ "optional": true
133
+ },
134
+ "@deepseek-ai/dsh-client-ui-primitives": {
135
+ "optional": true
136
+ },
137
+ "@deepseek-ai/dsh-client-ui-session": {
138
+ "optional": true
139
+ },
140
+ "@deepseek-ai/dsh-client-ui-settings": {
141
+ "optional": true
142
+ },
143
+ "@deepseek-ai/dsh-client-ui-slots": {
144
+ "optional": true
145
+ },
146
+ "@deepseek-ai/dsh-client-ui-workspace": {
147
+ "optional": true
148
+ },
149
+ "@deepseek-ai/dsh-command-compact": {
150
+ "optional": true
151
+ },
152
+ "@deepseek-ai/dsh-compaction": {
153
+ "optional": true
154
+ },
155
+ "@deepseek-ai/dsh-compaction-basic": {
156
+ "optional": true
157
+ },
158
+ "@deepseek-ai/dsh-invariants": {
159
+ "optional": true
160
+ },
161
+ "@deepseek-ai/dsh-llm": {
162
+ "optional": true
163
+ },
164
+ "@deepseek-ai/dsh-session": {
165
+ "optional": true
166
+ },
167
+ "@deepseek-ai/dsh-settings": {
168
+ "optional": true
169
+ },
170
+ "@deepseek-ai/dsh-system-prompt": {
171
+ "optional": true
172
+ },
173
+ "@deepseek-ai/dsh-token-meter": {
174
+ "optional": true
175
+ },
176
+ "@deepseek-ai/dsh-tools": {
177
+ "optional": true
178
+ }
179
+ }
180
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "screenshots": []
3
+ }