dsh-context-compression-improved 0.8.0-beta.3 → 0.8.0-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/eslint.config.js +30 -30
  3. package/package.json +163 -163
  4. package/packages/selector/dsh.plugin.json +16 -16
  5. package/packages/selector/lib/client.d.ts +28 -0
  6. package/packages/selector/lib/client.js +631 -7
  7. package/packages/selector/lib/{advisor-state.js → config.js} +170 -65
  8. package/packages/selector/lib/index.d.ts +13 -1
  9. package/packages/selector/lib/index.js +306 -50
  10. package/packages/selector/lib/profiles.d.ts +15 -0
  11. package/packages/selector/lib/pruner.d.ts +65 -0
  12. package/packages/selector/lib/pruner.js +408 -5
  13. package/packages/selector/src/client/CompressionProfileControls.tsx +67 -0
  14. package/packages/selector/src/client/CompressionProfileSelector.tsx +2 -0
  15. package/packages/selector/src/client/decode.ts +57 -49
  16. package/packages/selector/src/client/index.ts +41 -0
  17. package/packages/selector/src/client/locales/de.ts +26 -0
  18. package/packages/selector/src/client/locales/es.ts +26 -0
  19. package/packages/selector/src/client/locales/fr.ts +26 -0
  20. package/packages/selector/src/client/locales/it.ts +26 -0
  21. package/packages/selector/src/client/locales/ja.ts +26 -0
  22. package/packages/selector/src/client/locales/ko.ts +26 -0
  23. package/packages/selector/src/client/locales/ru.ts +26 -0
  24. package/packages/selector/src/client/locales.ts +52 -0
  25. package/packages/selector/src/client/monitor-fab.ts +307 -0
  26. package/packages/selector/src/client/settings-section.tsx +16 -2
  27. package/packages/selector/src/index.ts +133 -60
  28. package/packages/selector/src/profiles.ts +431 -394
  29. package/packages/selector/src/pruner/state.ts +57 -50
  30. package/packages/selector/src/pruner.ts +241 -1
  31. package/packages/selector/src/runtime/audit.ts +303 -286
  32. package/packages/selector/src/runtime/config.ts +756 -706
  33. package/packages/selector/src/runtime/monitor.ts +149 -0
  34. package/packages/selector/src/runtime/summary-command.ts +127 -0
  35. package/packages/selector/src/runtime/tokenpilot/advisor-prompt.ts +233 -188
  36. package/packages/selector/src/runtime/tokenpilot/advisor-state.ts +204 -149
  37. package/packages/selector/src/runtime/tokenpilot/intent-fold.ts +53 -0
  38. package/packages/selector/src/runtime/tokenpilot/intent-gate.ts +65 -0
  39. package/packages/selector/src/runtime/tokenpilot/intent-input-mask.ts +125 -0
  40. package/packages/selector/src/runtime/tokenpilot/intent-range.ts +37 -0
  41. package/packages/selector/src/runtime/types.ts +365 -346
  42. package/packages/selector/tests/auto-compact.client.spec.tsx +214 -213
  43. package/packages/selector/tests/code-skeleton.client.spec.ts +94 -93
  44. package/packages/selector/tests/custom-contract.client.spec.ts +223 -222
  45. package/packages/selector/tests/estimator-channel.client.spec.tsx +253 -252
  46. package/packages/selector/tests/estimator-route-registration.host.spec.ts +8 -6
  47. package/packages/selector/tests/monitor-fab.client.spec.ts +117 -0
  48. package/packages/selector/tests/preset-options-write.client.spec.ts +188 -187
  49. package/packages/selector/tests/profiles.client.spec.tsx +436 -434
  50. package/packages/selector/tests/runtime/audit.spec.ts +275 -274
  51. package/packages/selector/tests/runtime/intent-gate.spec.ts +62 -0
  52. package/packages/selector/tests/runtime/intent-summary.spec.ts +156 -0
  53. package/packages/selector/tests/runtime/monitor.spec.ts +236 -0
  54. package/packages/selector/tests/runtime/public/public-runtime.spec.ts +2734 -2731
  55. package/packages/selector/tests/runtime/summary-command.spec.ts +154 -0
  56. package/packages/selector/tests/settings-seat.client.spec.ts +1 -1
  57. package/scripts/packed-install-e2e.mjs +1 -1
  58. package/scripts/verify-release.mjs +2 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,26 @@
2
2
 
3
3
  All notable changes use this file. The project follows semantic versioning after `0.1.0`.
4
4
 
5
+ ## 0.8.0-beta.5 - 2026-10-02
6
+
7
+ ### Added
8
+
9
+ - **Compression monitor floating panel (FAB)**: a draggable bubble beside the input area
10
+ (visibility switch in the settings section, default off) that polls a new
11
+ `GET /{endpoint,api}/.../monitor` snapshot — net/gross savings, cache hit rate, cost
12
+ estimate, and the turn-tail intent-summary gate state — with session override buttons
13
+ driving the same state machine as `/ctx-summary`. Skeleton adapted from the withdrawn
14
+ pm longtask FAB (d29bcb1); negative net savings light the bubble.
15
+ - The savings pricing helper moved to `runtime/monitor.ts` (shared by the savings and
16
+ monitor routes; no behavior change).
17
+
18
+ ## 0.8.0-beta.4 - 2026-10-02
19
+
20
+ ### Added
21
+
22
+ - **Turn-tail intent summary** (merged from the feat/intent-summary line): growth-gated turn-boundary postflight folds the consumed increment into per-candidate `intent-summary` blocks; `/ctx-summary off|on|status` gives a session-scoped override; the settings section now carries its own on/off card (nine languages) instead of relying on host forms.
23
+ - `@deepseek-ai/dsh-commands` joins the installation-provided runtime set (the command registry import), and the release gates track the post-merge chunk graph (`lib/intent-gate.js`).
24
+
5
25
  ## 0.8.0-beta.3 - 2026-10-01
6
26
 
7
27
  ### Added
package/eslint.config.js CHANGED
@@ -1,30 +1,30 @@
1
- import js from '@eslint/js'
2
- import globals from 'globals'
3
- import tseslint from 'typescript-eslint'
4
-
5
- export default tseslint.config(
6
- {
7
- ignores: ['**/node_modules/**', '**/lib/**', '**/dist/**', '**/coverage/**', 'docs/**'],
8
- },
9
- js.configs.recommended,
10
- ...tseslint.configs.recommended,
11
- {
12
- files: ['packages/**/*.{ts,tsx}', 'scripts/**/*.{js,mjs}', 'eslint.config.js'],
13
- languageOptions: {
14
- globals: { ...globals.browser, ...globals.node },
15
- },
16
- rules: {
17
- '@typescript-eslint/no-unused-vars': ['error', {
18
- argsIgnorePattern: '^_',
19
- varsIgnorePattern: '^_',
20
- caughtErrorsIgnorePattern: '^_',
21
- destructuredArrayIgnorePattern: '^_',
22
- }],
23
- },
24
- },
25
- {
26
- // Terminal normalization intentionally matches ANSI/BEL control characters.
27
- files: ['packages/selector/src/runtime/reducers.ts'],
28
- rules: { 'no-control-regex': 'off' },
29
- },
30
- )
1
+ import js from '@eslint/js'
2
+ import globals from 'globals'
3
+ import tseslint from 'typescript-eslint'
4
+
5
+ export default tseslint.config(
6
+ {
7
+ ignores: ['**/node_modules/**', '**/lib/**', '**/dist/**', '**/coverage/**', 'docs/**'],
8
+ },
9
+ js.configs.recommended,
10
+ ...tseslint.configs.recommended,
11
+ {
12
+ files: ['packages/**/*.{ts,tsx}', 'scripts/**/*.{js,mjs}', 'eslint.config.js'],
13
+ languageOptions: {
14
+ globals: { ...globals.browser, ...globals.node },
15
+ },
16
+ rules: {
17
+ '@typescript-eslint/no-unused-vars': ['error', {
18
+ argsIgnorePattern: '^_',
19
+ varsIgnorePattern: '^_',
20
+ caughtErrorsIgnorePattern: '^_',
21
+ destructuredArrayIgnorePattern: '^_',
22
+ }],
23
+ },
24
+ },
25
+ {
26
+ // Terminal normalization intentionally matches ANSI/BEL control characters.
27
+ files: ['packages/selector/src/runtime/reducers.ts'],
28
+ rules: { 'no-control-regex': 'off' },
29
+ },
30
+ )
package/package.json CHANGED
@@ -1,163 +1,163 @@
1
- {
2
- "name": "dsh-context-compression-improved",
3
- "version": "0.8.0-beta.3",
4
- "publishConfig": {
5
- "tag": "dsh-0.2.0"
6
- },
7
- "type": "module",
8
- "main": "packages/selector/lib/index.js",
9
- "types": "packages/selector/lib/index.d.ts",
10
- "exports": {
11
- ".": {
12
- "types": "./packages/selector/lib/index.d.ts",
13
- "default": "./packages/selector/lib/index.js"
14
- },
15
- "./invariant": {
16
- "types": "./packages/selector/lib/invariant.d.ts",
17
- "default": "./packages/selector/lib/invariant.js"
18
- },
19
- "./pruner": {
20
- "types": "./packages/selector/lib/pruner.d.ts",
21
- "default": "./packages/selector/lib/pruner.js"
22
- },
23
- "./client": {
24
- "types": "./packages/selector/lib/client.d.ts",
25
- "default": "./packages/selector/lib/client.js"
26
- },
27
- "./package.json": "./package.json"
28
- },
29
- "dependencies": {
30
- "@deepseek-ai/schemastery": "3.18.4",
31
- "@huggingface/tokenizers": "0.1.3",
32
- "js-yaml": "^4.3.2"
33
- },
34
- "dsh": {
35
- "client": {
36
- "inject": [
37
- "@deepseek-ai/dsh-client-locale",
38
- "@deepseek-ai/dsh-client-ui-primitives",
39
- "@deepseek-ai/dsh-client-ui-slots",
40
- "@deepseek-ai/dsh-client-ui-settings"
41
- ],
42
- "platform": "web"
43
- },
44
- "bundle": {
45
- "patch": "./packages/selector/cordis.patch.yml"
46
- }
47
- },
48
- "license": "MIT",
49
- "repository": {
50
- "type": "git",
51
- "url": "git+https://github.com/drscrewdriver/dsh-context-compression-improved.git"
52
- },
53
- "packageManager": "pnpm@11.7.0",
54
- "engines": {
55
- "node": "^22.19.0 || >=24.0.0",
56
- "dsh": ">=0.2.0-rc.1 <0.2.1-0"
57
- },
58
- "scripts": {
59
- "build": "pnpm -r --if-present run bundle",
60
- "typecheck": "pnpm --filter dsh-context-compression-improved run bundle && pnpm --filter dsh-context-compression-improved run typecheck && pnpm run typecheck:tests",
61
- "typecheck:tests": "tsc --noEmit -p tsconfig.tests.json",
62
- "lint": "eslint packages scripts eslint.config.js",
63
- "lint:fix": "eslint packages scripts eslint.config.js --fix",
64
- "test": "vitest run",
65
- "test:watch": "vitest",
66
- "test:built": "vitest run --config vitest.built.config.ts",
67
- "test:e2e:packed": "node scripts/packed-install-e2e.mjs",
68
- "test:unit": "vitest run",
69
- "verify:release": "node scripts/verify-release.mjs",
70
- "pack:dry-run": "pnpm -r --if-present run pack:dry-run"
71
- },
72
- "peerDependencies": {
73
- "@deepseek-ai/dsh-client-locale": ">=0.2.0-rc.1 <0.2.1-0",
74
- "@deepseek-ai/dsh-client-ui-primitives": ">=0.2.0-rc.1 <0.2.1-0",
75
- "@deepseek-ai/dsh-client-ui-settings": ">=0.2.0-rc.1 <0.2.1-0",
76
- "@deepseek-ai/dsh-client-ui-slots": ">=0.2.0-rc.1 <0.2.1-0"
77
- },
78
- "peerDependenciesMeta": {
79
- "@deepseek-ai/dsh-client-locale": {
80
- "optional": true
81
- },
82
- "@deepseek-ai/dsh-client-ui-primitives": {
83
- "optional": true
84
- },
85
- "@deepseek-ai/dsh-client-ui-settings": {
86
- "optional": true
87
- },
88
- "@deepseek-ai/dsh-client-ui-slots": {
89
- "optional": true
90
- }
91
- },
92
- "devDependencies": {
93
- "@deepseek-ai/cordis": "4.0.1",
94
- "@deepseek-ai/cordis-plugin-group": "1.0.1",
95
- "@deepseek-ai/cordis-plugin-include": "1.0.6",
96
- "@deepseek-ai/cordis-plugin-loader": "1.0.2",
97
- "@deepseek-ai/dsh-agent": "0.2.0-rc.1",
98
- "@deepseek-ai/dsh-agent-loop": "0.2.0-rc.1",
99
- "@deepseek-ai/dsh-agent-loop-testkit": "0.2.0-rc.1",
100
- "@deepseek-ai/dsh-agent-presets": "0.1.6-alpha.2",
101
- "@deepseek-ai/dsh-anonymous-user-id": "0.2.0-rc.1",
102
- "@deepseek-ai/dsh-api-remotes": "0.2.0-rc.1",
103
- "@deepseek-ai/dsh-api-session-controller": "0.2.0-rc.1",
104
- "@deepseek-ai/dsh-atomic-write": "0.2.0-rc.1",
105
- "@deepseek-ai/dsh-attachment": "0.2.0-rc.1",
106
- "@deepseek-ai/dsh-client-locale": "0.2.0-rc.1",
107
- "@deepseek-ai/dsh-client-store": "0.2.0-rc.1",
108
- "@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.1",
109
- "@deepseek-ai/dsh-client-ui-session": "0.2.0-rc.1",
110
- "@deepseek-ai/dsh-client-ui-settings": "0.2.0-rc.1",
111
- "@deepseek-ai/dsh-client-ui-slots": "0.2.0-rc.1",
112
- "@deepseek-ai/dsh-client-ui-workspace": "0.2.0-rc.1",
113
- "@deepseek-ai/dsh-code-runtime": "0.1.5-rc.3",
114
- "@deepseek-ai/dsh-command-compact": "0.2.0-rc.1",
115
- "@deepseek-ai/dsh-commands": "0.2.0-rc.1",
116
- "@deepseek-ai/dsh-compaction": "0.2.0-rc.1",
117
- "@deepseek-ai/dsh-compaction-basic": "0.2.0-rc.1",
118
- "@deepseek-ai/dsh-cordis-host-runner": "0.2.0-rc.1",
119
- "@deepseek-ai/dsh-credentials": "0.2.0-rc.1",
120
- "@deepseek-ai/dsh-goal": "0.2.0-rc.1",
121
- "@deepseek-ai/dsh-home-paths": "0.2.0-rc.1",
122
- "@deepseek-ai/dsh-host-plugin-inventory": "0.2.0-rc.1",
123
- "@deepseek-ai/dsh-invariants": "0.2.0-rc.1",
124
- "@deepseek-ai/dsh-jobs": "0.2.0-rc.1",
125
- "@deepseek-ai/dsh-launch-environment": "0.2.0-rc.1",
126
- "@deepseek-ai/dsh-llm": "0.2.0-rc.1",
127
- "@deepseek-ai/dsh-llm-deepseek": "0.2.0-rc.1",
128
- "@deepseek-ai/dsh-llm-retry": "0.2.0-rc.1",
129
- "@deepseek-ai/dsh-message-feedback": "0.2.0-rc.1",
130
- "@deepseek-ai/dsh-sandbox": "0.2.0-rc.1",
131
- "@deepseek-ai/dsh-scope": "0.2.0-rc.1",
132
- "@deepseek-ai/dsh-session": "0.2.0-rc.1",
133
- "@deepseek-ai/dsh-session-persistence": "0.2.0-rc.1",
134
- "@deepseek-ai/dsh-session-projection": "0.2.0-rc.1",
135
- "@deepseek-ai/dsh-settings": "0.2.0-rc.1",
136
- "@deepseek-ai/dsh-subagent": "0.2.0-rc.1",
137
- "@deepseek-ai/dsh-subagent-fork-in-process": "0.2.0-rc.1",
138
- "@deepseek-ai/dsh-subagent-in-process-driver": "0.2.0-rc.1",
139
- "@deepseek-ai/dsh-subagent-spawn-in-process": "0.2.0-rc.1",
140
- "@deepseek-ai/dsh-system-prompt": "0.2.0-rc.1",
141
- "@deepseek-ai/dsh-token-meter": "0.2.0-rc.1",
142
- "@deepseek-ai/dsh-tools": "0.2.0-rc.1",
143
- "@deepseek-ai/dsh-user-approval": "0.2.0-rc.1",
144
- "@deepseek-ai/dsh-user-questions": "0.2.0-rc.1",
145
- "@deepseek-ai/schemastery": "3.18.4",
146
- "@eslint/js": "^10.0.1",
147
- "@testing-library/react": "^16.3.2",
148
- "@tsdown/css": "^0.22.14",
149
- "@types/js-yaml": "^4.0.9",
150
- "@types/node": "^22.20.0",
151
- "@types/react": "~18.3.1",
152
- "eslint": "^10.10.0",
153
- "globals": "^17.12.0",
154
- "jsdom": "29.1.1",
155
- "lightningcss": "^1.33.0",
156
- "react": "^18.2.0",
157
- "react-dom": "^18.2.0",
158
- "tsdown": "^0.22.2",
159
- "typescript": "^6.0.3",
160
- "typescript-eslint": "^8.69.0",
161
- "vitest": "^4.1.8"
162
- }
163
- }
1
+ {
2
+ "name": "dsh-context-compression-improved",
3
+ "version": "0.8.0-beta.5",
4
+ "publishConfig": {
5
+ "tag": "dsh-0.2.0"
6
+ },
7
+ "type": "module",
8
+ "main": "packages/selector/lib/index.js",
9
+ "types": "packages/selector/lib/index.d.ts",
10
+ "exports": {
11
+ ".": {
12
+ "types": "./packages/selector/lib/index.d.ts",
13
+ "default": "./packages/selector/lib/index.js"
14
+ },
15
+ "./invariant": {
16
+ "types": "./packages/selector/lib/invariant.d.ts",
17
+ "default": "./packages/selector/lib/invariant.js"
18
+ },
19
+ "./pruner": {
20
+ "types": "./packages/selector/lib/pruner.d.ts",
21
+ "default": "./packages/selector/lib/pruner.js"
22
+ },
23
+ "./client": {
24
+ "types": "./packages/selector/lib/client.d.ts",
25
+ "default": "./packages/selector/lib/client.js"
26
+ },
27
+ "./package.json": "./package.json"
28
+ },
29
+ "dependencies": {
30
+ "@deepseek-ai/schemastery": "3.18.4",
31
+ "@huggingface/tokenizers": "0.1.3",
32
+ "js-yaml": "^4.3.2"
33
+ },
34
+ "dsh": {
35
+ "client": {
36
+ "inject": [
37
+ "@deepseek-ai/dsh-client-locale",
38
+ "@deepseek-ai/dsh-client-ui-primitives",
39
+ "@deepseek-ai/dsh-client-ui-slots",
40
+ "@deepseek-ai/dsh-client-ui-settings"
41
+ ],
42
+ "platform": "web"
43
+ },
44
+ "bundle": {
45
+ "patch": "./packages/selector/cordis.patch.yml"
46
+ }
47
+ },
48
+ "license": "MIT",
49
+ "repository": {
50
+ "type": "git",
51
+ "url": "git+https://github.com/drscrewdriver/dsh-context-compression-improved.git"
52
+ },
53
+ "packageManager": "pnpm@11.7.0",
54
+ "engines": {
55
+ "node": "^22.19.0 || >=24.0.0",
56
+ "dsh": ">=0.2.0-rc.1 <0.2.1-0"
57
+ },
58
+ "scripts": {
59
+ "build": "pnpm -r --if-present run bundle",
60
+ "typecheck": "pnpm --filter dsh-context-compression-improved run bundle && pnpm --filter dsh-context-compression-improved run typecheck && pnpm run typecheck:tests",
61
+ "typecheck:tests": "tsc --noEmit -p tsconfig.tests.json",
62
+ "lint": "eslint packages scripts eslint.config.js",
63
+ "lint:fix": "eslint packages scripts eslint.config.js --fix",
64
+ "test": "vitest run",
65
+ "test:watch": "vitest",
66
+ "test:built": "vitest run --config vitest.built.config.ts",
67
+ "test:e2e:packed": "node scripts/packed-install-e2e.mjs",
68
+ "test:unit": "vitest run",
69
+ "verify:release": "node scripts/verify-release.mjs",
70
+ "pack:dry-run": "pnpm -r --if-present run pack:dry-run"
71
+ },
72
+ "peerDependencies": {
73
+ "@deepseek-ai/dsh-client-locale": ">=0.2.0-rc.1 <0.2.1-0",
74
+ "@deepseek-ai/dsh-client-ui-primitives": ">=0.2.0-rc.1 <0.2.1-0",
75
+ "@deepseek-ai/dsh-client-ui-settings": ">=0.2.0-rc.1 <0.2.1-0",
76
+ "@deepseek-ai/dsh-client-ui-slots": ">=0.2.0-rc.1 <0.2.1-0"
77
+ },
78
+ "peerDependenciesMeta": {
79
+ "@deepseek-ai/dsh-client-locale": {
80
+ "optional": true
81
+ },
82
+ "@deepseek-ai/dsh-client-ui-primitives": {
83
+ "optional": true
84
+ },
85
+ "@deepseek-ai/dsh-client-ui-settings": {
86
+ "optional": true
87
+ },
88
+ "@deepseek-ai/dsh-client-ui-slots": {
89
+ "optional": true
90
+ }
91
+ },
92
+ "devDependencies": {
93
+ "@deepseek-ai/cordis": "4.0.1",
94
+ "@deepseek-ai/cordis-plugin-group": "1.0.1",
95
+ "@deepseek-ai/cordis-plugin-include": "1.0.6",
96
+ "@deepseek-ai/cordis-plugin-loader": "1.0.2",
97
+ "@deepseek-ai/dsh-agent": "0.2.0-rc.1",
98
+ "@deepseek-ai/dsh-agent-loop": "0.2.0-rc.1",
99
+ "@deepseek-ai/dsh-agent-loop-testkit": "0.2.0-rc.1",
100
+ "@deepseek-ai/dsh-agent-presets": "0.1.6-alpha.2",
101
+ "@deepseek-ai/dsh-anonymous-user-id": "0.2.0-rc.1",
102
+ "@deepseek-ai/dsh-api-remotes": "0.2.0-rc.1",
103
+ "@deepseek-ai/dsh-api-session-controller": "0.2.0-rc.1",
104
+ "@deepseek-ai/dsh-atomic-write": "0.2.0-rc.1",
105
+ "@deepseek-ai/dsh-attachment": "0.2.0-rc.1",
106
+ "@deepseek-ai/dsh-client-locale": "0.2.0-rc.1",
107
+ "@deepseek-ai/dsh-client-store": "0.2.0-rc.1",
108
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.1",
109
+ "@deepseek-ai/dsh-client-ui-session": "0.2.0-rc.1",
110
+ "@deepseek-ai/dsh-client-ui-settings": "0.2.0-rc.1",
111
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.0-rc.1",
112
+ "@deepseek-ai/dsh-client-ui-workspace": "0.2.0-rc.1",
113
+ "@deepseek-ai/dsh-code-runtime": "0.1.5-rc.3",
114
+ "@deepseek-ai/dsh-command-compact": "0.2.0-rc.1",
115
+ "@deepseek-ai/dsh-commands": "0.2.0-rc.1",
116
+ "@deepseek-ai/dsh-compaction": "0.2.0-rc.1",
117
+ "@deepseek-ai/dsh-compaction-basic": "0.2.0-rc.1",
118
+ "@deepseek-ai/dsh-cordis-host-runner": "0.2.0-rc.1",
119
+ "@deepseek-ai/dsh-credentials": "0.2.0-rc.1",
120
+ "@deepseek-ai/dsh-goal": "0.2.0-rc.1",
121
+ "@deepseek-ai/dsh-home-paths": "0.2.0-rc.1",
122
+ "@deepseek-ai/dsh-host-plugin-inventory": "0.2.0-rc.1",
123
+ "@deepseek-ai/dsh-invariants": "0.2.0-rc.1",
124
+ "@deepseek-ai/dsh-jobs": "0.2.0-rc.1",
125
+ "@deepseek-ai/dsh-launch-environment": "0.2.0-rc.1",
126
+ "@deepseek-ai/dsh-llm": "0.2.0-rc.1",
127
+ "@deepseek-ai/dsh-llm-deepseek": "0.2.0-rc.1",
128
+ "@deepseek-ai/dsh-llm-retry": "0.2.0-rc.1",
129
+ "@deepseek-ai/dsh-message-feedback": "0.2.0-rc.1",
130
+ "@deepseek-ai/dsh-sandbox": "0.2.0-rc.1",
131
+ "@deepseek-ai/dsh-scope": "0.2.0-rc.1",
132
+ "@deepseek-ai/dsh-session": "0.2.0-rc.1",
133
+ "@deepseek-ai/dsh-session-persistence": "0.2.0-rc.1",
134
+ "@deepseek-ai/dsh-session-projection": "0.2.0-rc.1",
135
+ "@deepseek-ai/dsh-settings": "0.2.0-rc.1",
136
+ "@deepseek-ai/dsh-subagent": "0.2.0-rc.1",
137
+ "@deepseek-ai/dsh-subagent-fork-in-process": "0.2.0-rc.1",
138
+ "@deepseek-ai/dsh-subagent-in-process-driver": "0.2.0-rc.1",
139
+ "@deepseek-ai/dsh-subagent-spawn-in-process": "0.2.0-rc.1",
140
+ "@deepseek-ai/dsh-system-prompt": "0.2.0-rc.1",
141
+ "@deepseek-ai/dsh-token-meter": "0.2.0-rc.1",
142
+ "@deepseek-ai/dsh-tools": "0.2.0-rc.1",
143
+ "@deepseek-ai/dsh-user-approval": "0.2.0-rc.1",
144
+ "@deepseek-ai/dsh-user-questions": "0.2.0-rc.1",
145
+ "@deepseek-ai/schemastery": "3.18.4",
146
+ "@eslint/js": "^10.0.1",
147
+ "@testing-library/react": "^16.3.2",
148
+ "@tsdown/css": "^0.22.14",
149
+ "@types/js-yaml": "^4.0.9",
150
+ "@types/node": "^22.20.0",
151
+ "@types/react": "~18.3.1",
152
+ "eslint": "^10.10.0",
153
+ "globals": "^17.12.0",
154
+ "jsdom": "29.1.1",
155
+ "lightningcss": "^1.33.0",
156
+ "react": "^18.2.0",
157
+ "react-dom": "^18.2.0",
158
+ "tsdown": "^0.22.2",
159
+ "typescript": "^6.0.3",
160
+ "typescript-eslint": "^8.69.0",
161
+ "vitest": "^4.1.8"
162
+ }
163
+ }
@@ -1,16 +1,16 @@
1
- {
2
- "id": "dsh-external/dsh-context-compression-improved",
3
- "version": "0.8.0-beta.3",
4
- "main": "./lib/index.js",
5
- "description": "Auditable tool-result context-compression selector with code-skeleton gate for DeepSeek Harness",
6
- "engines": {
7
- "dsh": ">=0.2.0-rc.1 <0.2.1-0"
8
- },
9
- "contributes": {
10
- "tools": [],
11
- "skills": []
12
- },
13
- "client": {
14
- "main": "./lib/client.js"
15
- }
16
- }
1
+ {
2
+ "id": "dsh-external/dsh-context-compression-improved",
3
+ "version": "0.8.0-beta.5",
4
+ "main": "./lib/index.js",
5
+ "description": "Auditable tool-result context-compression selector with code-skeleton gate for DeepSeek Harness",
6
+ "engines": {
7
+ "dsh": ">=0.2.0-rc.1 <0.2.1-0"
8
+ },
9
+ "contributes": {
10
+ "tools": [],
11
+ "skills": []
12
+ },
13
+ "client": {
14
+ "main": "./lib/client.js"
15
+ }
16
+ }
@@ -71,6 +71,32 @@ declare const zh: {
71
71
  'codeSkeleton.enabled': string;
72
72
  'codeSkeleton.enabled.on': string;
73
73
  'codeSkeleton.enabled.off': string;
74
+ 'intentSummary.title': string;
75
+ 'intentSummary.description': string;
76
+ 'intentSummary.enabled': string;
77
+ 'intentSummary.enabled.on': string;
78
+ 'intentSummary.enabled.off': string;
79
+ 'monitor.fab.title': string;
80
+ 'monitor.panel.title': string;
81
+ 'monitor.panel.net': string;
82
+ 'monitor.panel.gross': string;
83
+ 'monitor.panel.offsets': string;
84
+ 'monitor.panel.cacheHit': string;
85
+ 'monitor.panel.cost': string;
86
+ 'monitor.panel.intent': string;
87
+ 'monitor.panel.overrideHint': string;
88
+ 'monitor.panel.resume': string;
89
+ 'monitor.panel.disable': string;
90
+ 'monitor.panel.stateOn': string;
91
+ 'monitor.panel.stateOff': string;
92
+ 'monitor.panel.gateUnknown': string;
93
+ 'monitor.panel.lastFold': string;
94
+ 'monitor.panel.stale': string;
95
+ 'monitorPanel.title': string;
96
+ 'monitorPanel.description': string;
97
+ 'monitorPanel.enabled': string;
98
+ 'monitorPanel.enabled.on': string;
99
+ 'monitorPanel.enabled.off': string;
74
100
  'custom.title': string;
75
101
  'custom.settingsHint': string;
76
102
  'custom.sessionScope': string;
@@ -159,6 +185,8 @@ interface CompressionSelectorInjected {
159
185
  resetCustom: () => Promise<void>;
160
186
  saveAutoCompact: (thresholdPercent: number) => Promise<void>;
161
187
  saveCodeSkeleton: (enabled: boolean) => Promise<void>;
188
+ saveIntentSummary: (enabled: boolean) => Promise<void>;
189
+ saveMonitorPanel: (enabled: boolean) => Promise<void>;
162
190
  /** Patch of `presetOptions` members; an explicit `undefined` clears that field. */
163
191
  savePresetOptions: (options: PresetOptionsPatch) => Promise<void>;
164
192
  }