dsh-context-compression-improved 0.11.1 → 0.11.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 (311) hide show
  1. package/README.md +15 -110
  2. package/README.zh.md +14 -104
  3. package/THIRD_PARTY_NOTICES.md +25 -7
  4. package/{packages/selector/dsh.plugin.json → dsh.plugin.json} +1 -1
  5. package/{packages/selector/lib → lib}/client.js +27 -10
  6. package/{packages/selector/lib → lib}/index.js +101 -0
  7. package/package.json +125 -112
  8. package/screenshots.json +3 -6
  9. package/.agents/plans/improve/checklist.md +0 -32
  10. package/.agents/plans/improve/findings.md +0 -102
  11. package/.agents/plans/improve/spec.md +0 -53
  12. package/.agents/plans/improve/tasks.md +0 -70
  13. package/.gitattributes +0 -2
  14. package/.githooks/pre-push +0 -37
  15. package/.github/workflows/ci.yml +0 -47
  16. package/CHANGELOG.de.md +0 -580
  17. package/CHANGELOG.es.md +0 -588
  18. package/CHANGELOG.fr.md +0 -576
  19. package/CHANGELOG.it.md +0 -577
  20. package/CHANGELOG.ja.md +0 -261
  21. package/CHANGELOG.ko.md +0 -254
  22. package/CHANGELOG.md +0 -557
  23. package/CHANGELOG.ru.md +0 -554
  24. package/CHANGELOG.zh.md +0 -247
  25. package/CONTRIBUTING.md +0 -22
  26. package/README.de.md +0 -96
  27. package/README.es.md +0 -96
  28. package/README.fr.md +0 -96
  29. package/README.it.md +0 -96
  30. package/README.ja.md +0 -102
  31. package/README.ko.md +0 -102
  32. package/README.ru.md +0 -96
  33. package/SECURITY.md +0 -18
  34. package/assets/board.png +0 -0
  35. package/assets/context.png +0 -0
  36. package/assets/dshfind-card.svg +0 -33
  37. package/docs/assets/context-compression-selector-profiles.jpg +0 -0
  38. package/docs/assets/context-compression-selector-settings.png +0 -0
  39. package/docs/compat-0.1.5-report.md +0 -77
  40. package/docs/installation.de.md +0 -104
  41. package/docs/installation.es.md +0 -104
  42. package/docs/installation.fr.md +0 -104
  43. package/docs/installation.it.md +0 -104
  44. package/docs/installation.ja.md +0 -78
  45. package/docs/installation.ko.md +0 -78
  46. package/docs/installation.md +0 -103
  47. package/docs/installation.ru.md +0 -104
  48. package/docs/installation.zh.md +0 -100
  49. package/docs/repair-log.md +0 -657
  50. package/docs/shallow-teaching-preset-template.md +0 -46
  51. package/eslint.config.js +0 -30
  52. package/packages/selector/LICENSE +0 -21
  53. package/packages/selector/README.md +0 -26
  54. package/packages/selector/README.zh.md +0 -24
  55. package/packages/selector/THIRD_PARTY_NOTICES.md +0 -32
  56. package/packages/selector/docs/history-tool-call-working-set-spec.md +0 -112
  57. package/packages/selector/docs/native-tool-result-selector-spec.md +0 -34
  58. package/packages/selector/docs/subagent-cache-reuse-spec.md +0 -46
  59. package/packages/selector/lib/style.css +0 -350
  60. package/packages/selector/package.json +0 -178
  61. package/packages/selector/screenshots.json +0 -3
  62. package/packages/selector/src/client/CompressionProfileControls.tsx +0 -352
  63. package/packages/selector/src/client/CompressionProfileSelector.module.css +0 -199
  64. package/packages/selector/src/client/CompressionProfileSelector.tsx +0 -89
  65. package/packages/selector/src/client/CustomPolicyEditor.tsx +0 -216
  66. package/packages/selector/src/client/EstimatorControls.tsx +0 -277
  67. package/packages/selector/src/client/bridge-scope.ts +0 -125
  68. package/packages/selector/src/client/decode.ts +0 -68
  69. package/packages/selector/src/client/fab-pos.ts +0 -71
  70. package/packages/selector/src/client/index.ts +0 -438
  71. package/packages/selector/src/client/locales/de.ts +0 -167
  72. package/packages/selector/src/client/locales/es.ts +0 -167
  73. package/packages/selector/src/client/locales/fr.ts +0 -167
  74. package/packages/selector/src/client/locales/it.ts +0 -167
  75. package/packages/selector/src/client/locales/ja.ts +0 -167
  76. package/packages/selector/src/client/locales/ko.ts +0 -167
  77. package/packages/selector/src/client/locales/ru.ts +0 -167
  78. package/packages/selector/src/client/locales.ts +0 -334
  79. package/packages/selector/src/client/monitor-fab.ts +0 -445
  80. package/packages/selector/src/client/preset-options.ts +0 -88
  81. package/packages/selector/src/client/savings-card.tsx +0 -269
  82. package/packages/selector/src/client/scope-face.ts +0 -24
  83. package/packages/selector/src/client/settings-section.tsx +0 -156
  84. package/packages/selector/src/compat/host-generation.ts +0 -96
  85. package/packages/selector/src/compat/llm-messages.ts +0 -50
  86. package/packages/selector/src/compat/settings-lease.ts +0 -108
  87. package/packages/selector/src/compat/tool-result.ts +0 -91
  88. package/packages/selector/src/css-modules.d.ts +0 -6
  89. package/packages/selector/src/deepseek-v4-tokenizer.ts +0 -205
  90. package/packages/selector/src/estimator-catalog.ts +0 -104
  91. package/packages/selector/src/index.ts +0 -890
  92. package/packages/selector/src/invariant.ts +0 -113
  93. package/packages/selector/src/preset-overlay.ts +0 -749
  94. package/packages/selector/src/profiles.ts +0 -554
  95. package/packages/selector/src/pruner/content.ts +0 -199
  96. package/packages/selector/src/pruner/session.ts +0 -97
  97. package/packages/selector/src/pruner/state.ts +0 -61
  98. package/packages/selector/src/pruner/tuning.ts +0 -23
  99. package/packages/selector/src/pruner/types.ts +0 -78
  100. package/packages/selector/src/pruner.ts +0 -3222
  101. package/packages/selector/src/runtime/adaptive-cost.ts +0 -205
  102. package/packages/selector/src/runtime/audit.ts +0 -321
  103. package/packages/selector/src/runtime/config.ts +0 -887
  104. package/packages/selector/src/runtime/custom-policy.ts +0 -300
  105. package/packages/selector/src/runtime/deepseek-official-pricing.ts +0 -298
  106. package/packages/selector/src/runtime/deepseek-v4-vision-tokens.ts +0 -254
  107. package/packages/selector/src/runtime/display-prefs.ts +0 -98
  108. package/packages/selector/src/runtime/fold-router.ts +0 -143
  109. package/packages/selector/src/runtime/measurement.ts +0 -444
  110. package/packages/selector/src/runtime/monitor.ts +0 -341
  111. package/packages/selector/src/runtime/panel-command.ts +0 -213
  112. package/packages/selector/src/runtime/reducers.ts +0 -1755
  113. package/packages/selector/src/runtime/retrieve.ts +0 -505
  114. package/packages/selector/src/runtime/savings-integral.ts +0 -117
  115. package/packages/selector/src/runtime/savings-projection.ts +0 -229
  116. package/packages/selector/src/runtime/savings-verify.ts +0 -446
  117. package/packages/selector/src/runtime/savings.ts +0 -526
  118. package/packages/selector/src/runtime/sediment-card.ts +0 -126
  119. package/packages/selector/src/runtime/sediment-clock.ts +0 -87
  120. package/packages/selector/src/runtime/sediment-guard.ts +0 -136
  121. package/packages/selector/src/runtime/sediment-publish.ts +0 -144
  122. package/packages/selector/src/runtime/sediment-span.ts +0 -170
  123. package/packages/selector/src/runtime/sediment.ts +0 -209
  124. package/packages/selector/src/runtime/session-events.ts +0 -30
  125. package/packages/selector/src/runtime/session-file-decode.ts +0 -523
  126. package/packages/selector/src/runtime/shallow-tools.ts +0 -342
  127. package/packages/selector/src/runtime/stats-backfill.ts +0 -541
  128. package/packages/selector/src/runtime/stats-db.ts +0 -492
  129. package/packages/selector/src/runtime/stats-schema.ts +0 -123
  130. package/packages/selector/src/runtime/stats-sync.ts +0 -307
  131. package/packages/selector/src/runtime/summary-command.ts +0 -127
  132. package/packages/selector/src/runtime/tail-trim.ts +0 -177
  133. package/packages/selector/src/runtime/token-count.ts +0 -72
  134. package/packages/selector/src/runtime/tokenpilot/advisor-prompt.ts +0 -233
  135. package/packages/selector/src/runtime/tokenpilot/advisor-state.ts +0 -204
  136. package/packages/selector/src/runtime/tokenpilot/advisor.ts +0 -419
  137. package/packages/selector/src/runtime/tokenpilot/benefit.ts +0 -200
  138. package/packages/selector/src/runtime/tokenpilot/dedup.ts +0 -82
  139. package/packages/selector/src/runtime/tokenpilot/estimator.ts +0 -151
  140. package/packages/selector/src/runtime/tokenpilot/intent-fold.ts +0 -53
  141. package/packages/selector/src/runtime/tokenpilot/intent-gate.ts +0 -65
  142. package/packages/selector/src/runtime/tokenpilot/intent-input-mask.ts +0 -125
  143. package/packages/selector/src/runtime/tokenpilot/intent-range.ts +0 -37
  144. package/packages/selector/src/runtime/tokenpilot/locator.ts +0 -129
  145. package/packages/selector/src/runtime/tokenpilot/read-state.ts +0 -98
  146. package/packages/selector/src/runtime/tokenpilot/sidechannel.ts +0 -303
  147. package/packages/selector/src/runtime/tool-names.ts +0 -42
  148. package/packages/selector/src/runtime/toolclass.ts +0 -103
  149. package/packages/selector/src/runtime/triage/masks.ts +0 -128
  150. package/packages/selector/src/runtime/triage/shallow.ts +0 -132
  151. package/packages/selector/src/runtime/triage/signals.ts +0 -167
  152. package/packages/selector/src/runtime/triage/types.ts +0 -125
  153. package/packages/selector/src/runtime/types.ts +0 -396
  154. package/packages/selector/src/runtime/value.ts +0 -48
  155. package/packages/selector/src/settings-bridge.ts +0 -175
  156. package/packages/selector/tests/advisor-report.host.spec.ts +0 -223
  157. package/packages/selector/tests/auto-compact.client.spec.tsx +0 -214
  158. package/packages/selector/tests/built/client-artifact.spec.ts +0 -56
  159. package/packages/selector/tests/cache-prefix-audit.spec.ts +0 -123
  160. package/packages/selector/tests/code-skeleton.client.spec.ts +0 -98
  161. package/packages/selector/tests/compat/compat-narrow-waist.spec.ts +0 -150
  162. package/packages/selector/tests/custom-contract.client.spec.ts +0 -226
  163. package/packages/selector/tests/estimator-catalog.spec.ts +0 -70
  164. package/packages/selector/tests/estimator-channel.client.spec.tsx +0 -253
  165. package/packages/selector/tests/estimator-route-registration.host.spec.ts +0 -202
  166. package/packages/selector/tests/fab-pos.client.spec.ts +0 -47
  167. package/packages/selector/tests/fixtures/sediment-pool/52adc205-cloud-5.orig.txt +0 -231
  168. package/packages/selector/tests/fixtures/sediment-pool/95fcba5d-cloud-25.orig.txt +0 -236
  169. package/packages/selector/tests/fixtures/sediment-pool/95fcba5d-cloud-38.orig.txt +0 -220
  170. package/packages/selector/tests/fixtures/sediment-pool/95fcba5d-cloud-42.orig.txt +0 -140
  171. package/packages/selector/tests/fixtures/sediment-pool/95fcba5d-cloud-53.orig.txt +0 -117
  172. package/packages/selector/tests/fixtures/sediment-pool/95fcba5d-local-10.orig.txt +0 -67
  173. package/packages/selector/tests/fixtures/sediment-pool/a7a767c0-cloud-45.orig.txt +0 -119
  174. package/packages/selector/tests/fixtures/sediment-pool/a7a767c0-cloud-49.orig.txt +0 -119
  175. package/packages/selector/tests/fixtures/sediment-pool/a7a767c0-cloud-63.orig.txt +0 -131
  176. package/packages/selector/tests/fixtures/sediment-pool/a7a767c0-cloud-75.orig.txt +0 -196
  177. package/packages/selector/tests/fixtures/sediment-pool/a7a767c0-cloud-76.orig.txt +0 -71
  178. package/packages/selector/tests/fixtures/sediment-pool/a7a767c0-cloud-85.orig.txt +0 -126
  179. package/packages/selector/tests/fixtures/sediment-pool/a7a767c0-cloud-86.orig.txt +0 -86
  180. package/packages/selector/tests/fixtures/sediment-pool/a7a767c0-cloud-87.orig.txt +0 -50
  181. package/packages/selector/tests/fixtures/sediment-pool/a7a767c0-cloud-96.orig.txt +0 -102
  182. package/packages/selector/tests/helpers/legacy-namespace.ts +0 -35
  183. package/packages/selector/tests/helpers/legacy-settings/index.ts +0 -15
  184. package/packages/selector/tests/helpers/legacy-settings/legacy/provider.d.ts +0 -41
  185. package/packages/selector/tests/helpers/legacy-settings/legacy/provider.js +0 -647
  186. package/packages/selector/tests/helpers/legacy-settings/legacy/redact.js +0 -78
  187. package/packages/selector/tests/helpers/legacy-settings/legacy/util-values.js +0 -234
  188. package/packages/selector/tests/host-preset-overlay.host.spec.ts +0 -204
  189. package/packages/selector/tests/monitor-fab.client.spec.ts +0 -240
  190. package/packages/selector/tests/preset-options-write.client.spec.ts +0 -192
  191. package/packages/selector/tests/preset-overlay-loader.e2e.host.spec.ts +0 -200
  192. package/packages/selector/tests/preset-overlay.host.spec.ts +0 -246
  193. package/packages/selector/tests/profiles.client.spec.tsx +0 -436
  194. package/packages/selector/tests/ptc-custom-write.client.spec.ts +0 -86
  195. package/packages/selector/tests/public/package-contract.client.spec.ts +0 -89
  196. package/packages/selector/tests/runtime/adaptive-cost.spec.ts +0 -167
  197. package/packages/selector/tests/runtime/advice-never-withholds.host.spec.ts +0 -230
  198. package/packages/selector/tests/runtime/advisor-invariant.spec.ts +0 -272
  199. package/packages/selector/tests/runtime/advisor.spec.ts +0 -226
  200. package/packages/selector/tests/runtime/audit.spec.ts +0 -275
  201. package/packages/selector/tests/runtime/auto-compact-config.spec.ts +0 -523
  202. package/packages/selector/tests/runtime/char-basis.spec.ts +0 -30
  203. package/packages/selector/tests/runtime/code-skeleton.spec.ts +0 -152
  204. package/packages/selector/tests/runtime/deepseek-official-pricing.spec.ts +0 -186
  205. package/packages/selector/tests/runtime/deepseek-v4-tokenizer.spec.ts +0 -122
  206. package/packages/selector/tests/runtime/deepseek-v4-vision-tokens.spec.ts +0 -122
  207. package/packages/selector/tests/runtime/deprecated-preset-options.spec.ts +0 -96
  208. package/packages/selector/tests/runtime/fixtures/profile-baseline.json +0 -273
  209. package/packages/selector/tests/runtime/fixtures/session-v4-dump.jsonl +0 -46
  210. package/packages/selector/tests/runtime/fixtures/tokenizer-golden.json +0 -106
  211. package/packages/selector/tests/runtime/fixtures/vision-golden.json +0 -459
  212. package/packages/selector/tests/runtime/fold-router.spec.ts +0 -140
  213. package/packages/selector/tests/runtime/frequency-longstrings.spec.ts +0 -74
  214. package/packages/selector/tests/runtime/fresh-gate.spec.ts +0 -43
  215. package/packages/selector/tests/runtime/html-reducer.spec.ts +0 -212
  216. package/packages/selector/tests/runtime/intent-gate.spec.ts +0 -62
  217. package/packages/selector/tests/runtime/intent-summary.spec.ts +0 -156
  218. package/packages/selector/tests/runtime/jsonl-reducer.spec.ts +0 -79
  219. package/packages/selector/tests/runtime/line-mapping.spec.ts +0 -153
  220. package/packages/selector/tests/runtime/monitor.spec.ts +0 -354
  221. package/packages/selector/tests/runtime/panel-command.spec.ts +0 -101
  222. package/packages/selector/tests/runtime/prose-reducers.spec.ts +0 -133
  223. package/packages/selector/tests/runtime/ptc-profile.spec.ts +0 -133
  224. package/packages/selector/tests/runtime/public/public-runtime.spec.ts +0 -2795
  225. package/packages/selector/tests/runtime/read-input-cap.spec.ts +0 -33
  226. package/packages/selector/tests/runtime/savings-accounting.spec.ts +0 -291
  227. package/packages/selector/tests/runtime/savings-integral.spec.ts +0 -169
  228. package/packages/selector/tests/runtime/savings-projection.spec.ts +0 -89
  229. package/packages/selector/tests/runtime/savings-verify.spec.ts +0 -226
  230. package/packages/selector/tests/runtime/savings.spec.ts +0 -139
  231. package/packages/selector/tests/runtime/search-reducer.spec.ts +0 -110
  232. package/packages/selector/tests/runtime/sediment-card.spec.ts +0 -111
  233. package/packages/selector/tests/runtime/sediment-config.spec.ts +0 -56
  234. package/packages/selector/tests/runtime/sediment-guard.spec.ts +0 -71
  235. package/packages/selector/tests/runtime/sediment-masks.spec.ts +0 -95
  236. package/packages/selector/tests/runtime/sediment-orchestrator.spec.ts +0 -166
  237. package/packages/selector/tests/runtime/sediment-pool-share.spec.ts +0 -65
  238. package/packages/selector/tests/runtime/sediment-publish.spec.ts +0 -142
  239. package/packages/selector/tests/runtime/sediment-real-shapes.spec.ts +0 -158
  240. package/packages/selector/tests/runtime/sediment-settings.spec.ts +0 -73
  241. package/packages/selector/tests/runtime/sediment-signals.spec.ts +0 -124
  242. package/packages/selector/tests/runtime/sediment-span.spec.ts +0 -92
  243. package/packages/selector/tests/runtime/session-events.spec.ts +0 -27
  244. package/packages/selector/tests/runtime/session-file-decode.spec.ts +0 -281
  245. package/packages/selector/tests/runtime/settings-unwrap.spec.ts +0 -58
  246. package/packages/selector/tests/runtime/shallow-primitives.spec.ts +0 -135
  247. package/packages/selector/tests/runtime/sidechannel.spec.ts +0 -241
  248. package/packages/selector/tests/runtime/stats-backfill-scheduler.spec.ts +0 -167
  249. package/packages/selector/tests/runtime/stats-backfill.spec.ts +0 -350
  250. package/packages/selector/tests/runtime/stats-db.spec.ts +0 -361
  251. package/packages/selector/tests/runtime/stats-privacy.spec.ts +0 -55
  252. package/packages/selector/tests/runtime/stats-sync.spec.ts +0 -278
  253. package/packages/selector/tests/runtime/summary-command.spec.ts +0 -154
  254. package/packages/selector/tests/runtime/toc-and-bundled.spec.ts +0 -159
  255. package/packages/selector/tests/runtime/tokenizer-golden.spec.ts +0 -53
  256. package/packages/selector/tests/runtime/tokenpilot/benefit.spec.ts +0 -217
  257. package/packages/selector/tests/runtime/tokenpilot/dedup.spec.ts +0 -52
  258. package/packages/selector/tests/runtime/tokenpilot/estimator.spec.ts +0 -79
  259. package/packages/selector/tests/runtime/tokenpilot/locator.spec.ts +0 -76
  260. package/packages/selector/tests/runtime/tokenpilot/profile-baseline.spec.ts +0 -121
  261. package/packages/selector/tests/runtime/tokenpilot/read-state.spec.ts +0 -82
  262. package/packages/selector/tests/runtime/toolclass.spec.ts +0 -156
  263. package/packages/selector/tests/runtime/value.spec.ts +0 -23
  264. package/packages/selector/tests/savings-sessions.client.spec.tsx +0 -140
  265. package/packages/selector/tests/settings-seat.client.spec.ts +0 -215
  266. package/packages/selector/tests/standing-generation.host.spec.ts +0 -724
  267. package/packages/selector/tests/subagent-cache-reuse.host.spec.ts +0 -269
  268. package/packages/selector/tests/support/cache-prefix-audit.ts +0 -105
  269. package/packages/selector/tests/support/mock-adapter.ts +0 -37
  270. package/packages/selector/tests/support/ui-primitives.tsx +0 -34
  271. package/packages/selector/tsconfig.json +0 -11
  272. package/packages/selector/tsdown.client.config.ts +0 -102
  273. package/packages/selector/tsdown.config.ts +0 -20
  274. package/pnpm-workspace.yaml +0 -76
  275. package/scripts/capture-profile-baseline.mjs +0 -42
  276. package/scripts/cell-browser-e2e.mjs +0 -354
  277. package/scripts/generate-tokenizer-fixtures.py +0 -81
  278. package/scripts/generate-vision-fixtures.py +0 -208
  279. package/scripts/hosts.d.mts +0 -3
  280. package/scripts/hosts.mjs +0 -81
  281. package/scripts/packed-components-smoke.mjs +0 -763
  282. package/scripts/packed-install-e2e.mjs +0 -1346
  283. package/scripts/sediment-latency-report.mjs +0 -63
  284. package/scripts/sync-hosts.mjs +0 -174
  285. package/scripts/toolclass-corpus-replay.mjs +0 -281
  286. package/scripts/verify-release.mjs +0 -343
  287. package/tests/TEST_INVENTORY.md +0 -41
  288. package/tsconfig.base.json +0 -18
  289. package/tsconfig.json +0 -7
  290. package/tsconfig.tests.json +0 -15
  291. package/vitest.built.config.ts +0 -9
  292. package/vitest.config.ts +0 -54
  293. /package/{packages/selector/assets → assets}/deepseek-v4/LICENSE.DeepSeek-V4-Pro.txt +0 -0
  294. /package/{packages/selector/assets → assets}/deepseek-v4/manifest.json +0 -0
  295. /package/{packages/selector/assets → assets}/deepseek-v4/tokenizer.json +0 -0
  296. /package/{packages/selector/assets → assets}/deepseek-v4/tokenizer_config.json +0 -0
  297. /package/{packages/selector/assets → assets}/deepseek-v4-vision-exp/LICENSE.DeepSeek-V4-Flash-Vision-Exp.txt +0 -0
  298. /package/{packages/selector/assets → assets}/deepseek-v4-vision-exp/manifest.json +0 -0
  299. /package/{packages/selector/assets → assets}/deepseek-v4-vision-exp/tokenizer.json +0 -0
  300. /package/{packages/selector/assets → assets}/deepseek-v4-vision-exp/tokenizer_config.json +0 -0
  301. /package/{packages/selector/cordis.patch.yml → cordis.patch.yml} +0 -0
  302. /package/{packages/selector/lib → lib}/client.d.ts +0 -0
  303. /package/{packages/selector/lib → lib}/index.d.ts +0 -0
  304. /package/{packages/selector/lib → lib}/invariant.d.ts +0 -0
  305. /package/{packages/selector/lib → lib}/invariant.js +0 -0
  306. /package/{packages/selector/lib → lib}/profiles.d.ts +0 -0
  307. /package/{packages/selector/lib → lib}/pruner.d.ts +0 -0
  308. /package/{packages/selector/lib → lib}/pruner.js +0 -0
  309. /package/{packages/selector/lib → lib}/savings-integral.js +0 -0
  310. /package/{packages/selector/lib → lib}/tail-trim.js +0 -0
  311. /package/{packages/selector/lib → lib}/tool-result.js +0 -0
@@ -1,50 +0,0 @@
1
- [assistant] [tool-call pwsh "{\"command\":\"& \\\"C:\\\\Users\\\\joshua\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Python313\\\\python.exe\\\" -c ]
2
- ===
3
- [tool] dsh-prime-memory |npm=dsh-prime-memory |dl=28502
4
- dsh-thinking-levels |npm=dsh-thinking-levels |dl=27215
5
- dsh-browser-cdp |npm=dsh-browser-cdp |dl=26627
6
- dsh-context-compression-improved |npm=dsh-context-compression-improved |dl=16563
7
- dsh-perm-gate |npm=dsh-perm-gate |dl=15259
8
- dsh-input-traffic |npm=dsh-input-traffic |dl=11322
9
- dsh-session-guard |npm=dsh-session-guard |dl=11064
10
- dsh-mcp-registry |npm=dsh-mcp-registry |dl=10901
11
- dsh-search-index |npm=dsh-search-index |dl=10748
12
- dsh-patch-edit-plus |npm=dsh-patch-edit-plus |dl=8776
13
- dsh-brief-sidebar |npm=dsh-brief-sidebar |dl=8636
14
- dsh-tidy-display |npm=dsh-tidy-display |dl=8361
15
- dsh-bash-terminal-ts |npm=dsh-bash-terminal-ts |dl=7371
16
- dsh-arrowkey-nav |npm=dsh-arrowkey-nav |dl=5993
17
- dsh-canvas-tsx-sidebar |npm=dsh-canvas-tsx-sidebar |dl=5483
18
- dsh-date-wrapper |npm=dsh-date-wrapper |dl=4728
19
- dsh-paste-dock |npm=dsh-paste-dock |dl=3318
20
- dsh-preset-doctor |npm=dsh-preset-doctor |dl=2511
21
- dsh-llm-openai-completions |npm=dsh-llm-openai-completions |dl=2392
22
- dsh-opensheet-sidebar |npm=dsh-opensheet-sidebar |dl=2078
23
- dsh-reference-session-collector |npm=dsh-reference-session-collector |dl=2029
24
- dsh-pptx-sidebar |npm=dsh-pptx-sidebar |dl=1929
25
- dsh-docx-sidebar |npm=dsh-docx-sidebar |dl=1905
26
- dsh-union-search |npm=dsh-union-search |dl=1862
27
- dsh-im-union |npm=dsh-im-union |dl=1616
28
- dsh-media-lens |npm=dsh-media-lens |dl=1536
29
- dsh-sidebar-fold |npm=dsh-sidebar-fold |dl=870
30
- dsh-manage-session |npm=dsh-manage-session |dl=427
31
-
32
- ===
33
- [assistant] [tool-call validate_dsh_ui "{\"spec\":\"{\\\"title\\\":\\\"你的投稿登记总表(awesome-dsh-plugin 28 条 yml ↔ 目录 28 行,1:1 对上)\\\",\\\"gap\\\":10,\\\"items\\\":]
34
- ===
35
- [tool] [genui-validation]
36
- status=valid
37
- rendered=2
38
- next=emit_fence
39
- reply_language=conversation
40
- ===
41
- [assistant] 对——**投稿登记 28 条 yml,目录 28 行,1:1 全对上**(表外仅 steward 一条历史投稿已被改名提交删除)。逐条:
42
-
43
- ```dsh-ui
44
- {"title":"你的投稿登记总表(awesome-dsh-plugin 28 条 yml ↔ 目录 28 行,1:1 对上)","gap":10,"items":[{"type":"table","columns":["#","登记条目 (yml)","目录行 npm 跟踪","下载","分类"],"rows":[["1","dsh-prime-memory","dsh-prime-memory","28,502","memory"],["2","dsh-thinking-levels","dsh-thinking-levels","27,215","reasoning"],["3","dsh-browser-cdp","dsh-browser-cdp","26,627","browser"],["4","dsh-context-compression-improved","同名","16,563","context"],["5","dsh-perm-gate","dsh-perm-gate","15,259","security"],["6","dsh-input-traffic","dsh-input-traffic","11,322","input"],["7","dsh-session-guard","dsh-session-guard","11,064","session"],["8","dsh-mcp-registry","dsh-mcp-registry","10,901","mcp"],["9","dsh-search-index","dsh-search-index","10,748","search"],["10","dsh-patch-edit-plus","同名","8,776","edit"],["11","dsh-brief-sidebar","dsh-brief-sidebar","8,636","office"],["12","dsh-tidy-display","dsh-tidy-display","8,361","display"],["13","dsh-bash-terminal-ts","同名","7,371","terminal"],["14","dsh-arrowkey-nav","dsh-arrowkey-nav","5,993","input"],["15","dsh-canvas-tsx-sidebar","同名","5,483","display"],["16","dsh-date-wrapper","dsh-date-wrapper","4,728","utility"],["17","dsh-paste-dock","dsh-paste-dock","3,318","input"],["18","dsh-preset-doctor","dsh-preset-doctor","2,511","config"],["19","dsh-llm-openai-completions","同名","2,392","provider"],["20","dsh-opensheet-sidebar","同名","2,078","office"],["21","dsh-reference-session-collector","同名","2,029","session"],["22","dsh-pptx-sidebar","dsh-pptx-sidebar","1,929","office"],["23","dsh-docx-sidebar","dsh-docx-sidebar","1,905","office"],["24","dsh-union-search","dsh-union-search (bare)","1,862","browser"],["25","dsh-im-union","dsh-im-union","1,616","integration"],["26","dsh-media-lens","dsh-media-lens","1,536","media"],["27","dsh-sidebar-fold","dsh-sidebar-fold","870","display"],["28","dsh-manage-session","dsh-manage-session(新包,从零起量)","427","session"]]},{"type":"callout","tone":"warning","title":"表外那条:dsh-session-steward","content":"投稿仓历史里有(#5191,2026-09-18 合入),10-26 改名提交 9662928b 把这条 yml 删除、换成 manage-session。目录已无行跟踪 npm 老包 dsh-session-steward,其窗口真实量 9,541 目前无主——你名义 230,022,认领回则 239,563。union-search 的 scoped 名 @drscrewdriver/dsh-union-search 只在 yml 描述里双名声明,目录不跟。"}]}
45
- ```
46
-
47
- 两个表外要点:
48
-
49
- - **登记完整**:`data/plugins/drscrewdriver__*.yml` 实数 28 条,与目录 28 行严丝合缝——你的"投稿了项目"在登记面上无缺口,昨天说的"steward 被剔"不是丢投稿,是**改名把那条 yml 合法替换**(同一 sha 里 added manage-session.yml + removed steward.yml,提交信息明写 Rename entry)。
50
- - **唯一悬空**是 steward 老包 9,541 的归属:目录不跟踪无条目之包。要不要认领回(补投独立 yml),等你定 steward/manage-session 的产品终态。
@@ -1,102 +0,0 @@
1
- [assistant] [tool-call pwsh "{\"command\":\"& \\\"C:\\\\Users\\\\joshua\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Python313\\\\python.exe\\\" \\\]
2
- ===
3
- [tool]
4
- CN now : 2026-10-29 14:07:33
5
- latest : 2026.1029.12068 -> 2026-10-29T04:31:21.568Z
6
- latest : 2026.1029.12068 -> 2026-10-29T04:31:21.568Z
7
-
8
-
9
- ===
10
- [assistant] 今天版 `2026.1029.12068` 北京 12:31 已落地。拉取 + 结算探针 + diff:
11
-
12
-
13
- [tool-call pwsh "{\"command\":\"& \\\"C:\\\\Users\\\\joshua\\\\AppData\\\\Local\\\\Programs\\\\Python\\\\Python313\\\\python.exe\\\" \\\]
14
- ===
15
- [tool] version: 2026.1029.12068 | plugins: 7557 | window 2026-09-29~2026-10-28 | saved E:\test\rewrite-agently\.agents\skills\dsh-registry-track\snapshot\snapshot-npm-2026.1029.12068.json
16
- react: [('2026-10-25', 22450923), ('2026-10-26', 39668639), ('2026-10-27', 39653909), ('2026-10-28', 0), ('2026-10-29', 0)]
17
- steward old-pkg true sum 09-29~10-28 = 9694
18
- window: 2026-09-29 ~ 2026-10-28
19
- plugins 7406 -> 7557 (+151)
20
- sum 13347285 -> 13963474 (+616189, 4.62%)
21
-
22
- TOP 20
23
- #1 ranxianglei pkgs=1 dl= 2179313 d= +78016 rank=+0
24
- #2 zhu1090093659 pkgs=8 dl= 799697 d= +9924 rank=+0
25
- #3 dsh-market pkgs=1 dl= 726352 d= +36732 rank=+0
26
- #4 MichengAI pkgs=11 dl= 583206 d= +11834 rank=+0
27
- #5 omdsh-dev pkgs=41 dl= 349678 d= +11980 rank=+0
28
- #6 MeteorNOX pkgs=1 dl= 291932 d= +25716 rank=+0
29
- #7 drscrewdriver pkgs=28 dl= 239973 d= +9951 rank=+0 <== ME
30
- #8 PC2005-cloud pkgs=1 dl= 219155 d= +35508 rank=+2
31
- #9 bowenliang123 pkgs=1 dl= 213855 d= +20326 rank=+0
32
- #10 PerryLink pkgs=67 dl= 202590 d= +3345 rank=-2 <== Perry
33
- #11 liustack pkgs=2 dl= 180386 d= +19732 rank=+0
34
- #12 GooDAnDReaDY pkgs=29 dl= 145017 d= -5340 rank=+0
35
- #13 Han-1413141 pkgs=10 dl= 119760 d= +1267 rank=+0
36
- #14 STARDUSTLC666 pkgs=21 dl= 108971 d= +12910 rank=+0
37
- #15 elysia395 pkgs=1 dl= 94514 d= +6236 rank=+0
38
- #16 kenryu42 pkgs=1 dl= 78448 d= +7210 rank=+0
39
- #17 xmanrui pkgs=3 dl= 75735 d= +5093 rank=+0
40
- #18 T-Auto pkgs=1 dl= 73899 d= +9473 rank=+3
41
- #19 Small-tailqwq pkgs=2 dl= 70847 d= +5202 rank=+1
42
- #20 dingminhua pkgs=5 dl= 70566 d= +4211 rank=-2
43
- drscrewdriver #7->#7 230022 -> 239973 (+9951)
44
- bowenliang123 #9->#9 193529 -> 213855 (+20326)
45
- liustack #11->#11 160654 -> 180386 (+19732)
46
- PerryLink #8->#10 199245 -> 202590 (+3345)
47
- GooDAnDReaDY #12->#12 150357 -> 145017 (-5340)
48
- ranxianglei #1->#1 2101297 -> 2179313 (+78016)
49
- MichengAI #4->#4 571372 -> 583206 (+11834)
50
- MeteorNOX #6->#6 266216 -> 291932 (+25716)
51
-
52
- shared=7400 up=2784 down=989 flat=3627
53
- new=157 (sum=44564) gone=6
54
-
55
- drscrewdriver per-pkg:
56
- dsh-arrowkey-nav 5993 -> 6191 +198
57
- dsh-brief-sidebar 8636 -> 8915 +279
58
- dsh-canvas-tsx-sidebar 5483 -> 5672 +189
59
- dsh-input-traffic 11322 -> 11652 +330
60
- dsh-paste-dock 3318 -> 3442 +124
61
- dsh-sidebar-fold 870 -> 966 +96
62
-
63
- ===
64
- [assistant] [tool-call pwsh "{\"command\":\"Get-Content \\\"E:\\\\test\\\\rewrite-agently\\\\.agents\\\\skills\\\\dsh-registry-track\\\\_diff29_out.]
65
- ===
66
- [tool]
67
- > dsh-manage-session 427 -> 1495 +1068
68
- dsh-reference-session-collector 2029 -> 2415 +386
69
- > dsh-union-search 1862 -> 2017 +155
70
- dsh-media-lens 1536 -> 1691 +155
71
- > dsh-im-union 1616 -> 1920 +304
72
- > sum delta: 9951
73
-
74
- > EFF:
75
- > >= 3 pkgs: pool=259 ME #13 avg=8570
76
- > >= 5 pkgs: pool=90 ME #7 avg=8570
77
- > >=10 pkgs: pool=21 ME #3 avg=8570
78
- > CALIBER B: pool=2497 ME #32 best=29500 dsh-prime-memory
79
- ====catalog steward check====
80
- pkgs= 28 sum= 239973
81
- dsh-manage-session npm= dsh-manage-session dl= 1495
82
- dsh-reference-session-collector npm= dsh-reference-session-collector dl= 2415
83
- dsh-session-guard npm= dsh-session-guard dl= 11337
84
- dsh-union-search npm= dsh-union-search dl= 2017
85
- dsh-im-union npm= dsh-im-union dl= 1920
86
-
87
-
88
- ===
89
- [assistant] **今日版** `2026.1029.12068`(北京 12:31,窗口 09-29~10-28)。连续第三个回补日:10-27 结算 39.7M 入袋,生态 **+4.62%**;仅 10-28 一个空日在右缘,挤出轻微。
90
-
91
- ```dsh-ui
92
- {"title":"Top10(10-29 版 · 剔 ran 口径你看 #7 稳)","gap":10,"items":[{"type":"table","columns":["#","owner","pkgs","今日","Δ","备注"],"rows":[["1","ranxianglei [刷量]","1","2,179,313","+78,016",""],["2","zhu1090093659","8","799,697","+9,924",""],["3","dsh-market","1","726,352","+36,732",""],["4","MichengAI","11","583,206","+11,834","反弹持续"],["5","omdsh-dev","41","349,678","+11,980",""],["6","MeteorNOX","1","291,932","+25,716",""],["7","drscrewdriver ←你","28","239,973","+9,951","含 manage-session 1,495"],["8","PC2005-cloud","1","219,155","+35,508","↑2 逼近"],["9","bowenliang123","1","213,855","+20,326",""],["10","PerryLink","67","202,590","+3,345","↓2 跌出前9"]]}]}
93
- ```
94
-
95
- - **对 PerryLink 名义领先扩到 +37,383**,且他自己掉到 #10——薄均匀盘在回补日只弹 +3,345(昨天预测兑现)。反超 #7 的威胁换人:**PC2005-cloud 两期弹 +63,671(83k→219k),距你 20,818**;bowen +20,326 距你 26,118。俩单包号回补弹性大,若明天 10-28 结算值高(前日 39.7M 量级)它们还会再弹。
96
- - **修正口径**:steward 老包仍无条目跟踪(真实窗口 09-29~10-28 = **9,694**),修正后你 = **249,667**,对 PC2005 缓冲 30,512。
97
- - **manage-session 开始接量**:427 → **1,495(+1,068,3.5x)**——改名后的新包爬坡启动,老包流量迁移初现。若这个斜率是真实迁移,steward 的 9.5k 会在 30 天窗口内自然转进新行,补投 yml 的紧迫性下降。
98
- - **GooDAnDReaDY 连续三期负增长**(-388 → -5,340),Top12 唯一失血——纯日销盘无脉冲可回补,正被 liustack(+19,732) 拉开。
99
- - 效率:avg **8,570**,≥10包池 **#3**、≥5包 #7、≥3包 #13;口径 B **prime-memory 29,500** 守单包王,榜位 **#32**(池 2,497)。
100
- - 盘面:插件 7,406→**7,557**(+151),up=2,784 / down=989。
101
-
102
- 一句话:#7 坐稳且名义领先走阔,但防守对象从 PerryLink 换成 PC2005-cloud;manage-session 爬坡若持续,steward 漏计会自愈,先别补投——建议明天看斜率再定。
@@ -1,35 +0,0 @@
1
- /**
2
- * Test-host helper: registers the legacy `context-compression` settings
3
- * namespace on a 0.1.5-shaped test settings service, so specs can drive the
4
- * plugin through `settings.update(...)` exactly as they did before the 0.1.7
5
- * declarative migration. Production code reads the volatile entry field first
6
- * and falls back to this namespace; on a real 0.1.7 host neither the
7
- * registration nor this helper exists.
8
- */
9
- import type { Context } from '@deepseek-ai/cordis'
10
- import {
11
- CONTEXT_COMPRESSION_SETTINGS_NAMESPACE,
12
- ContextCompressionSettingsSchema,
13
- } from '../../src/runtime/config.ts'
14
-
15
- export const LegacyNamespaceRegistrar = {
16
- name: 'context-compression:test/legacy-namespace-registrar',
17
- async apply(ctx: Context): Promise<void> {
18
- await new Promise<void>((resolve) => {
19
- ctx.inject(['settings'], (s) => {
20
- try {
21
- // The test host mounts a vendored 0.1.5-shaped provider whose
22
- // static type is the 0.1.7 Context augmentation (`SettingsForms`);
23
- // narrow to the legacy registry surface at the seam.
24
- ;(s.settings as unknown as {
25
- register(ns: never, schema: unknown): unknown
26
- }).register(
27
- CONTEXT_COMPRESSION_SETTINGS_NAMESPACE as never,
28
- ContextCompressionSettingsSchema,
29
- )
30
- } catch { /* already registered by an earlier row */ }
31
- resolve()
32
- })
33
- })
34
- },
35
- }
@@ -1,15 +0,0 @@
1
- /**
2
- * Legacy test-host settings seam.
3
- *
4
- * Vendored verbatim from `@deepseek-ai/dsh-settings@0.1.5-rc.2`
5
- * (`lib/types/index.js` + `lib/types/redact.js`, with the
6
- * `@deepseek-ai/dsh-util-values@0.1.5-rc.2` helpers inlined as
7
- * `./legacy/util-values.js`): the 0.1.7 host replaced the
8
- * namespace-registry provider with declarative `SettingsForms`, while the
9
- * plugin keeps the legacy `ctx.settings.get(ns)` read as a host-shape
10
- * fallback (see src/index.ts). The host specs mount a provider subclassing
11
- * this base to exercise exactly that fallback against the real 0.1.7
12
- * baseline. Type declarations: `./legacy/provider.d.ts`.
13
- */
14
- export { SettingsProvider as LegacySettingsProvider } from './legacy/provider.js'
15
-
@@ -1,41 +0,0 @@
1
- /**
2
- * Narrow type surface for the vendored 0.1.5 `SettingsProvider` (legacy test-host seam).
3
- *
4
- * The 0.1.7 `@deepseek-ai/dsh-settings` host replaced the namespace-registry
5
- * provider with the declarative `SettingsForms` projector, but the plugin
6
- * deliberately keeps the legacy `ctx.settings.get(ns)` read as a fallback
7
- * "so a host that still serves the old service shape keeps working (test
8
- * hosts do exactly that)" (src/index.ts). The host specs drive that fallback
9
- * through this vendored base class — the verbatim 0.1.5-rc.2 implementation,
10
- * not a behavioral re-implementation.
11
- *
12
- * Only the members the specs and the production fallback actually touch are
13
- * declared; the full 0.1.5 surface exists at runtime in provider.js.
14
- */
15
- import { Service } from '@deepseek-ai/cordis'
16
-
17
- export declare abstract class SettingsProvider extends Service {
18
- /** Register as the `settings` service of `ctx` (implementation: `super(ctx, 'settings')`). */
19
- constructor(ctx: Context)
20
- /** Whether {@linkcode LegacySettingsProvider.update} may persist through this provider. */
21
- abstract readonly writable: boolean
22
- /** Load the provider's raw document (namespace → raw section) once at init. */
23
- protected abstract load(): Promise<Record<string, unknown>>
24
- /** Durably store one namespace's merged user section. */
25
- protected abstract persist(ns: string, section: Record<string, unknown>): Promise<void>
26
- /** Register a namespace schema; duplicate registration fails loud. */
27
- register(ns: string, schema: unknown, options?: unknown): unknown
28
- /** Read one registered namespace's resolved value (undefined while unregistered). */
29
- get(ns: string): unknown
30
- /** Merge a patch into one registered namespace's user layer, validate, persist. */
31
- update(ns: string, patch: object, expectedRevision?: number): Promise<void>
32
- /** Replace one registered namespace's user section wholesale, validate, persist. */
33
- replace(ns: string, section: object, expectedRevision?: number): Promise<void>
34
- /** Apply path-addressed edits to one registered namespace's user section. */
35
- mutate(ns: string, ops: readonly unknown[], expectedRevision?: number): Promise<void>
36
- /** Describe every registered namespace for configuration surfaces. */
37
- describe(options?: { redactSecrets?: boolean }): unknown[]
38
- /** Non-file providers expose no open-document affordance. */
39
- get documentPath(): string | undefined
40
- prepareDocument(): Promise<string | undefined>
41
- }