dsh-context-compression-improved 0.8.0-beta.7 → 0.9.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.
- package/.gitattributes +2 -2
- package/.githooks/pre-push +37 -37
- package/.github/workflows/ci.yml +39 -39
- package/CHANGELOG.de.md +41 -0
- package/CHANGELOG.es.md +41 -0
- package/CHANGELOG.fr.md +42 -0
- package/CHANGELOG.it.md +41 -0
- package/CHANGELOG.ja.md +35 -0
- package/CHANGELOG.ko.md +34 -0
- package/CHANGELOG.md +47 -0
- package/CHANGELOG.ru.md +37 -0
- package/CHANGELOG.zh.md +32 -0
- package/CONTRIBUTING.md +22 -22
- package/LICENSE +21 -21
- package/README.de.md +7 -9
- package/README.es.md +7 -9
- package/README.fr.md +7 -9
- package/README.it.md +7 -9
- package/README.ja.md +6 -2
- package/README.ko.md +6 -2
- package/README.md +96 -98
- package/README.ru.md +7 -9
- package/README.zh.md +89 -85
- package/SECURITY.md +18 -18
- package/THIRD_PARTY_NOTICES.md +14 -14
- package/docs/compat-0.1.5-report.md +77 -77
- package/docs/installation.de.md +5 -5
- package/docs/installation.es.md +5 -5
- package/docs/installation.fr.md +5 -5
- package/docs/installation.it.md +5 -5
- package/docs/installation.ja.md +5 -5
- package/docs/installation.ko.md +5 -5
- package/docs/installation.md +5 -5
- package/docs/installation.ru.md +5 -5
- package/docs/installation.zh.md +5 -5
- package/docs/repair-log.md +657 -657
- package/package.json +163 -163
- package/packages/selector/LICENSE +21 -21
- package/packages/selector/README.md +26 -26
- package/packages/selector/README.zh.md +24 -24
- package/packages/selector/THIRD_PARTY_NOTICES.md +32 -32
- package/packages/selector/cordis.patch.yml +27 -27
- package/packages/selector/docs/history-tool-call-working-set-spec.md +112 -112
- package/packages/selector/docs/native-tool-result-selector-spec.md +34 -34
- package/packages/selector/docs/subagent-cache-reuse-spec.md +46 -46
- package/packages/selector/dsh.plugin.json +16 -16
- package/packages/selector/lib/client.js +178 -21
- package/packages/selector/lib/host-generation.js +62 -0
- package/packages/selector/lib/index.js +208 -1
- package/packages/selector/lib/invariant.js +1 -1
- package/packages/selector/lib/pruner.js +41 -43
- package/packages/selector/lib/style.css +53 -53
- package/packages/selector/lib/tail-trim.js +73 -4
- package/packages/selector/package.json +80 -21
- package/packages/selector/screenshots.json +3 -3
- package/packages/selector/src/client/CustomPolicyEditor.tsx +216 -216
- package/packages/selector/src/client/EstimatorControls.tsx +277 -277
- package/packages/selector/src/client/bridge-scope.ts +125 -0
- package/packages/selector/src/client/index.ts +109 -31
- package/packages/selector/src/client/monitor-fab.ts +0 -2
- package/packages/selector/src/client/preset-options.ts +88 -88
- package/packages/selector/src/client/scope-face.ts +24 -24
- package/packages/selector/src/compat/host-generation.ts +96 -0
- package/packages/selector/src/compat/settings-lease.ts +108 -0
- package/packages/selector/src/compat/tool-result.ts +91 -0
- package/packages/selector/src/css-modules.d.ts +6 -6
- package/packages/selector/src/deepseek-v4-tokenizer.ts +205 -205
- package/packages/selector/src/estimator-catalog.ts +104 -104
- package/packages/selector/src/index.ts +8 -0
- package/packages/selector/src/invariant.ts +113 -113
- package/packages/selector/src/preset-overlay.ts +626 -626
- package/packages/selector/src/pruner/content.ts +198 -198
- package/packages/selector/src/pruner/session.ts +97 -96
- package/packages/selector/src/pruner/tuning.ts +23 -23
- package/packages/selector/src/pruner/types.ts +78 -78
- package/packages/selector/src/pruner.ts +45 -40
- package/packages/selector/src/runtime/adaptive-cost.ts +205 -205
- package/packages/selector/src/runtime/custom-policy.ts +278 -278
- package/packages/selector/src/runtime/deepseek-official-pricing.ts +298 -298
- package/packages/selector/src/runtime/deepseek-v4-vision-tokens.ts +254 -254
- package/packages/selector/src/runtime/measurement.ts +431 -431
- package/packages/selector/src/runtime/reducers.ts +1674 -1674
- package/packages/selector/src/runtime/retrieve.ts +7 -3
- package/packages/selector/src/runtime/session-events.ts +30 -30
- package/packages/selector/src/runtime/tail-trim.ts +175 -165
- package/packages/selector/src/runtime/token-count.ts +72 -72
- package/packages/selector/src/runtime/tokenpilot/advisor.ts +419 -419
- package/packages/selector/src/runtime/tokenpilot/benefit.ts +200 -200
- package/packages/selector/src/runtime/tokenpilot/dedup.ts +81 -81
- package/packages/selector/src/runtime/tokenpilot/estimator.ts +151 -151
- package/packages/selector/src/runtime/tokenpilot/locator.ts +128 -128
- package/packages/selector/src/runtime/tokenpilot/read-state.ts +98 -98
- package/packages/selector/src/runtime/tokenpilot/sidechannel.ts +303 -303
- package/packages/selector/src/runtime/toolclass.ts +103 -103
- package/packages/selector/src/runtime/value.ts +48 -48
- package/packages/selector/src/settings-bridge.ts +175 -0
- package/packages/selector/tests/advisor-report.host.spec.ts +223 -223
- package/packages/selector/tests/built/client-artifact.spec.ts +6 -9
- package/packages/selector/tests/cache-prefix-audit.spec.ts +123 -123
- package/packages/selector/tests/code-skeleton.client.spec.ts +98 -94
- package/packages/selector/tests/compat/compat-narrow-waist.spec.ts +150 -0
- package/packages/selector/tests/custom-contract.client.spec.ts +226 -223
- package/packages/selector/tests/estimator-catalog.spec.ts +70 -70
- package/packages/selector/tests/estimator-route-registration.host.spec.ts +199 -194
- package/packages/selector/tests/helpers/legacy-namespace.ts +35 -35
- package/packages/selector/tests/helpers/legacy-settings/index.ts +15 -15
- package/packages/selector/tests/helpers/legacy-settings/legacy/provider.d.ts +41 -41
- package/packages/selector/tests/helpers/legacy-settings/legacy/provider.js +647 -647
- package/packages/selector/tests/helpers/legacy-settings/legacy/redact.js +78 -78
- package/packages/selector/tests/helpers/legacy-settings/legacy/util-values.js +234 -234
- package/packages/selector/tests/host-preset-overlay.host.spec.ts +204 -204
- package/packages/selector/tests/preset-options-write.client.spec.ts +192 -188
- package/packages/selector/tests/preset-overlay-loader.e2e.host.spec.ts +200 -200
- package/packages/selector/tests/preset-overlay.host.spec.ts +246 -246
- package/packages/selector/tests/public/package-contract.client.spec.ts +11 -3
- package/packages/selector/tests/runtime/adaptive-cost.spec.ts +167 -167
- package/packages/selector/tests/runtime/advice-never-withholds.host.spec.ts +230 -230
- package/packages/selector/tests/runtime/advisor-invariant.spec.ts +272 -272
- package/packages/selector/tests/runtime/advisor.spec.ts +226 -226
- package/packages/selector/tests/runtime/auto-compact-config.spec.ts +523 -523
- package/packages/selector/tests/runtime/char-basis.spec.ts +30 -30
- package/packages/selector/tests/runtime/code-skeleton.spec.ts +152 -152
- package/packages/selector/tests/runtime/deepseek-official-pricing.spec.ts +186 -186
- package/packages/selector/tests/runtime/deepseek-v4-tokenizer.spec.ts +122 -122
- package/packages/selector/tests/runtime/deepseek-v4-vision-tokens.spec.ts +122 -122
- package/packages/selector/tests/runtime/deprecated-preset-options.spec.ts +96 -96
- package/packages/selector/tests/runtime/fixtures/profile-baseline.json +273 -273
- package/packages/selector/tests/runtime/fixtures/tokenizer-golden.json +106 -106
- package/packages/selector/tests/runtime/fixtures/vision-golden.json +459 -459
- package/packages/selector/tests/runtime/frequency-longstrings.spec.ts +74 -74
- package/packages/selector/tests/runtime/html-reducer.spec.ts +212 -212
- package/packages/selector/tests/runtime/line-mapping.spec.ts +153 -153
- package/packages/selector/tests/runtime/prose-reducers.spec.ts +133 -133
- package/packages/selector/tests/runtime/public/public-runtime.spec.ts +3 -3
- package/packages/selector/tests/runtime/read-input-cap.spec.ts +33 -33
- package/packages/selector/tests/runtime/search-reducer.spec.ts +110 -110
- package/packages/selector/tests/runtime/session-events.spec.ts +27 -27
- package/packages/selector/tests/runtime/sidechannel.spec.ts +241 -241
- package/packages/selector/tests/runtime/toc-and-bundled.spec.ts +159 -159
- package/packages/selector/tests/runtime/tokenizer-golden.spec.ts +53 -53
- package/packages/selector/tests/runtime/tokenpilot/benefit.spec.ts +217 -217
- package/packages/selector/tests/runtime/tokenpilot/dedup.spec.ts +52 -52
- package/packages/selector/tests/runtime/tokenpilot/estimator.spec.ts +79 -79
- package/packages/selector/tests/runtime/tokenpilot/locator.spec.ts +76 -76
- package/packages/selector/tests/runtime/tokenpilot/profile-baseline.spec.ts +116 -116
- package/packages/selector/tests/runtime/tokenpilot/read-state.spec.ts +82 -82
- package/packages/selector/tests/runtime/toolclass.spec.ts +156 -156
- package/packages/selector/tests/runtime/value.spec.ts +23 -23
- package/packages/selector/tests/settings-seat.client.spec.ts +45 -7
- package/packages/selector/tests/standing-generation.host.spec.ts +724 -724
- package/packages/selector/tests/subagent-cache-reuse.host.spec.ts +269 -269
- package/packages/selector/tests/support/cache-prefix-audit.ts +105 -105
- package/packages/selector/tests/support/mock-adapter.ts +37 -37
- package/packages/selector/tests/support/ui-primitives.tsx +34 -34
- package/packages/selector/tsconfig.json +11 -11
- package/packages/selector/tsdown.client.config.ts +102 -102
- package/packages/selector/tsdown.config.ts +20 -20
- package/scripts/capture-profile-baseline.mjs +42 -42
- package/scripts/generate-tokenizer-fixtures.py +81 -81
- package/scripts/generate-vision-fixtures.py +208 -208
- package/scripts/hosts.mjs +74 -0
- package/scripts/packed-components-smoke.mjs +763 -732
- package/scripts/packed-install-e2e.mjs +1330 -1273
- package/scripts/sync-hosts.mjs +174 -0
- package/scripts/toolclass-corpus-replay.mjs +281 -281
- package/scripts/verify-release.mjs +335 -318
- package/tsconfig.base.json +18 -18
- package/tsconfig.json +7 -7
- package/tsconfig.tests.json +15 -15
- package/vitest.built.config.ts +9 -9
- package/vitest.config.ts +46 -43
package/package.json
CHANGED
|
@@ -1,163 +1,163 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "dsh-context-compression-improved",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"publishConfig": {
|
|
5
|
-
"tag": "
|
|
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": "
|
|
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": "
|
|
74
|
-
"@deepseek-ai/dsh-client-ui-primitives": "
|
|
75
|
-
"@deepseek-ai/dsh-client-ui-settings": "
|
|
76
|
-
"@deepseek-ai/dsh-client-ui-slots": "
|
|
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.9.0",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"tag": "latest"
|
|
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.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2"
|
|
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.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
|
|
74
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
|
|
75
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
|
|
76
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.1.0-rc.2 || 0.1.0-rc.3 || 0.1.0-rc.6 || 0.1.0-rc.7 || 0.1.0-rc.8 || 0.1.1-rc.1 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2"
|
|
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,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 WilliamShi666
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 WilliamShi666
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
# dsh-context-compression-improved
|
|
2
|
-
|
|
3
|
-
The installable Product Bundle for the unofficial community DeepSeek Harness context-compression selector.
|
|
4
|
-
|
|
5
|
-
**0.1.0 highlights:** DeepSeek V4 Flash Vision's official tokenizer is included; users can choose the model-driven Auto Compact threshold; standard profile watermarks and compression parameters follow that choice.
|
|
6
|
-
|
|
7
|
-
```sh
|
|
8
|
-
```sh
|
|
9
|
-
dsh plugin --profile web add dsh-context-compression-improved@dsh-0.1.5
|
|
10
|
-
# DSH 0.1.2 line:
|
|
11
|
-
# dsh plugin --profile web add dsh-context-compression-improved@dsh-0.1.2
|
|
12
|
-
dsh --profile web --dump-config
|
|
13
|
-
```
|
|
14
|
-
dsh --profile web --dump-config
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
This one command installs the single `dsh-context-compression-improved` package: the compression
|
|
18
|
-
runtime, the Host settings, the Web UI and the reversible preset overlay all ship in it.
|
|
19
|
-
The Bundle contributes Host settings, the Web UI, and a reversible preset overlay. All presets
|
|
20
|
-
except the exact built-in `minimal` id receive the compression stack; switching non-Minimal
|
|
21
|
-
presets preserves the saved selector settings. Minimal pauses plugin compression without
|
|
22
|
-
deleting the setting.
|
|
23
|
-
|
|
24
|
-
Verified compatibility: DeepSeek Harness `dsh-v0.1.1-rc.2` and `dsh-v0.1.2-alpha.5`, Node `^22.19.0 || >=24`. No Harness core patch is required.
|
|
25
|
-
|
|
26
|
-
See the [full README](https://github.com/WilliamShi666/dsh-context-compression-improved#readme) for profiles, defaults, audit evidence, Adaptive/cache limitations, upgrade/removal, and security guidance. This package is not affiliated with or endorsed by DeepSeek.
|
|
1
|
+
# dsh-context-compression-improved
|
|
2
|
+
|
|
3
|
+
The installable Product Bundle for the unofficial community DeepSeek Harness context-compression selector.
|
|
4
|
+
|
|
5
|
+
**0.1.0 highlights:** DeepSeek V4 Flash Vision's official tokenizer is included; users can choose the model-driven Auto Compact threshold; standard profile watermarks and compression parameters follow that choice.
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
```sh
|
|
9
|
+
dsh plugin --profile web add dsh-context-compression-improved@dsh-0.1.5
|
|
10
|
+
# DSH 0.1.2 line:
|
|
11
|
+
# dsh plugin --profile web add dsh-context-compression-improved@dsh-0.1.2
|
|
12
|
+
dsh --profile web --dump-config
|
|
13
|
+
```
|
|
14
|
+
dsh --profile web --dump-config
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
This one command installs the single `dsh-context-compression-improved` package: the compression
|
|
18
|
+
runtime, the Host settings, the Web UI and the reversible preset overlay all ship in it.
|
|
19
|
+
The Bundle contributes Host settings, the Web UI, and a reversible preset overlay. All presets
|
|
20
|
+
except the exact built-in `minimal` id receive the compression stack; switching non-Minimal
|
|
21
|
+
presets preserves the saved selector settings. Minimal pauses plugin compression without
|
|
22
|
+
deleting the setting.
|
|
23
|
+
|
|
24
|
+
Verified compatibility: DeepSeek Harness `dsh-v0.1.1-rc.2` and `dsh-v0.1.2-alpha.5`, Node `^22.19.0 || >=24`. No Harness core patch is required.
|
|
25
|
+
|
|
26
|
+
See the [full README](https://github.com/WilliamShi666/dsh-context-compression-improved#readme) for profiles, defaults, audit evidence, Adaptive/cache limitations, upgrade/removal, and security guidance. This package is not affiliated with or endorsed by DeepSeek.
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
# dsh-context-compression-improved
|
|
2
|
-
|
|
3
|
-
这是可直接安装的非官方社区 DeepSeek Harness 上下文压缩选择器 Product Bundle。
|
|
4
|
-
|
|
5
|
-
**0.1.0 更新:**已加入 DeepSeek V4 Flash 视觉模型的官方 tokenizer;用户可选择模型驱动 Auto Compact 的触发阈值;标准 Profile 的水位与压缩参数会随该选择联动。
|
|
6
|
-
|
|
7
|
-
```sh
|
|
8
|
-
```sh
|
|
9
|
-
dsh plugin --profile web add dsh-context-compression-improved@dsh-0.1.5
|
|
10
|
-
# DSH 0.1.2 line:
|
|
11
|
-
# dsh plugin --profile web add dsh-context-compression-improved@dsh-0.1.2
|
|
12
|
-
dsh --profile web --dump-config
|
|
13
|
-
```
|
|
14
|
-
dsh --profile web --dump-config
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
这一条命令安装单一的 `dsh-context-compression-improved` 包:压缩运行时、Host 设置、Web UI
|
|
18
|
-
与可逆 preset overlay 全部包含在其中。除 id 精确等于内置 `minimal` 的 preset 外,
|
|
19
|
-
其他 preset 都会获得压缩能力;非 Minimal preset 之间切换时已保存设置保持不变。
|
|
20
|
-
Minimal 只暂停插件压缩,不删除设置。
|
|
21
|
-
|
|
22
|
-
已验证兼容 DeepSeek Harness `dsh-v0.1.1-rc.2` 与 `dsh-v0.1.2-alpha.5`,Node `^22.19.0 || >=24`。不需要修改 Harness 核心。
|
|
23
|
-
|
|
24
|
-
Profile、默认值、审计证据、Adaptive/cache 限制、升级/卸载与安全说明见[完整 README](https://github.com/WilliamShi666/dsh-context-compression-improved#readme)。本包与 DeepSeek 无隶属或背书关系。
|
|
1
|
+
# dsh-context-compression-improved
|
|
2
|
+
|
|
3
|
+
这是可直接安装的非官方社区 DeepSeek Harness 上下文压缩选择器 Product Bundle。
|
|
4
|
+
|
|
5
|
+
**0.1.0 更新:**已加入 DeepSeek V4 Flash 视觉模型的官方 tokenizer;用户可选择模型驱动 Auto Compact 的触发阈值;标准 Profile 的水位与压缩参数会随该选择联动。
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
```sh
|
|
9
|
+
dsh plugin --profile web add dsh-context-compression-improved@dsh-0.1.5
|
|
10
|
+
# DSH 0.1.2 line:
|
|
11
|
+
# dsh plugin --profile web add dsh-context-compression-improved@dsh-0.1.2
|
|
12
|
+
dsh --profile web --dump-config
|
|
13
|
+
```
|
|
14
|
+
dsh --profile web --dump-config
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
这一条命令安装单一的 `dsh-context-compression-improved` 包:压缩运行时、Host 设置、Web UI
|
|
18
|
+
与可逆 preset overlay 全部包含在其中。除 id 精确等于内置 `minimal` 的 preset 外,
|
|
19
|
+
其他 preset 都会获得压缩能力;非 Minimal preset 之间切换时已保存设置保持不变。
|
|
20
|
+
Minimal 只暂停插件压缩,不删除设置。
|
|
21
|
+
|
|
22
|
+
已验证兼容 DeepSeek Harness `dsh-v0.1.1-rc.2` 与 `dsh-v0.1.2-alpha.5`,Node `^22.19.0 || >=24`。不需要修改 Harness 核心。
|
|
23
|
+
|
|
24
|
+
Profile、默认值、审计证据、Adaptive/cache 限制、升级/卸载与安全说明见[完整 README](https://github.com/WilliamShi666/dsh-context-compression-improved#readme)。本包与 DeepSeek 无隶属或背书关系。
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
# Third-party notices
|
|
2
|
-
|
|
3
|
-
Portions of this package are adapted from the MIT-licensed DeepSeek Harness, verified against `dsh-v0.1.1-rc.2` (`b150a551b8d465e31e418e1b2eaf5e79bbb7d28e`).
|
|
4
|
-
|
|
5
|
-
## DeepSeek Harness MIT notice
|
|
6
|
-
|
|
7
|
-
Copyright (c) 2026 DeepSeek
|
|
8
|
-
|
|
9
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
10
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
11
|
-
in the Software without restriction, including without limitation the rights
|
|
12
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
13
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
14
|
-
furnished to do so, subject to the following conditions:
|
|
15
|
-
|
|
16
|
-
The above copyright notice and this permission notice shall be included in all
|
|
17
|
-
copies or substantial portions of the Software.
|
|
18
|
-
|
|
19
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
20
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
21
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
22
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
23
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
24
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
25
|
-
SOFTWARE.
|
|
26
|
-
|
|
27
|
-
This package carries the official DeepSeek tokenizer assets, with their exact license and
|
|
28
|
-
provenance manifests, under `assets/`.
|
|
29
|
-
|
|
30
|
-
This package depends on `js-yaml` under MIT; its production dependency `argparse` is licensed under Python-2.0. Their NPM packages carry the dependency license texts.
|
|
31
|
-
|
|
32
|
-
This is an unofficial community package and is not endorsed by DeepSeek.
|
|
1
|
+
# Third-party notices
|
|
2
|
+
|
|
3
|
+
Portions of this package are adapted from the MIT-licensed DeepSeek Harness, verified against `dsh-v0.1.1-rc.2` (`b150a551b8d465e31e418e1b2eaf5e79bbb7d28e`).
|
|
4
|
+
|
|
5
|
+
## DeepSeek Harness MIT notice
|
|
6
|
+
|
|
7
|
+
Copyright (c) 2026 DeepSeek
|
|
8
|
+
|
|
9
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
10
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
11
|
+
in the Software without restriction, including without limitation the rights
|
|
12
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
13
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
14
|
+
furnished to do so, subject to the following conditions:
|
|
15
|
+
|
|
16
|
+
The above copyright notice and this permission notice shall be included in all
|
|
17
|
+
copies or substantial portions of the Software.
|
|
18
|
+
|
|
19
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
20
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
21
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
22
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
23
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
24
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
25
|
+
SOFTWARE.
|
|
26
|
+
|
|
27
|
+
This package carries the official DeepSeek tokenizer assets, with their exact license and
|
|
28
|
+
provenance manifests, under `assets/`.
|
|
29
|
+
|
|
30
|
+
This package depends on `js-yaml` under MIT; its production dependency `argparse` is licensed under Python-2.0. Their NPM packages carry the dependency license texts.
|
|
31
|
+
|
|
32
|
+
This is an unofficial community package and is not endorsed by DeepSeek.
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
# Standalone Profile Bundle entry. The same package may already be present in a
|
|
2
|
-
# Harness distribution; its Host implementation reference-counts the preset
|
|
3
|
-
# decoration so the two rows never install two compression stacks.
|
|
4
|
-
- insert:
|
|
5
|
-
- id: context-compression-improved-bundle
|
|
6
|
-
name: 'dsh-context-compression-improved'
|
|
7
|
-
config:
|
|
8
|
-
presetOverlay: true
|
|
9
|
-
# The HTTP routes ride their own row so the compression stack stays loadable
|
|
10
|
-
# on profiles that have no host web server. Measured on the host source:
|
|
11
|
-
# `dsh-host-webserver.register` performs no authorization check and
|
|
12
|
-
# `ctx.get(name)` only asks whether the providing fiber is active, so this
|
|
13
|
-
# `inject` is belt-and-braces — the row is simply absent instead of
|
|
14
|
-
# announcing a pending route on a webServer-less profile. The two-channel
|
|
15
|
-
# registration inside the plugin covers both arrival orders on its own.
|
|
16
|
-
#
|
|
17
|
-
# `estimatorCatalogRoute` is the only flag this row sets. The retired
|
|
18
|
-
# review gate's `reviewQueueRoute` used to live here; that key no longer
|
|
19
|
-
# exists in the plugin's Config schema (a reduction must never block
|
|
20
|
-
# automatic processing), so setting it would advertise a route that can
|
|
21
|
-
# never register.
|
|
22
|
-
- id: context-compression-improved-estimator-catalog
|
|
23
|
-
name: 'dsh-context-compression-improved'
|
|
24
|
-
inject:
|
|
25
|
-
- webServer
|
|
26
|
-
config:
|
|
27
|
-
estimatorCatalogRoute: true
|
|
1
|
+
# Standalone Profile Bundle entry. The same package may already be present in a
|
|
2
|
+
# Harness distribution; its Host implementation reference-counts the preset
|
|
3
|
+
# decoration so the two rows never install two compression stacks.
|
|
4
|
+
- insert:
|
|
5
|
+
- id: context-compression-improved-bundle
|
|
6
|
+
name: 'dsh-context-compression-improved'
|
|
7
|
+
config:
|
|
8
|
+
presetOverlay: true
|
|
9
|
+
# The HTTP routes ride their own row so the compression stack stays loadable
|
|
10
|
+
# on profiles that have no host web server. Measured on the host source:
|
|
11
|
+
# `dsh-host-webserver.register` performs no authorization check and
|
|
12
|
+
# `ctx.get(name)` only asks whether the providing fiber is active, so this
|
|
13
|
+
# `inject` is belt-and-braces — the row is simply absent instead of
|
|
14
|
+
# announcing a pending route on a webServer-less profile. The two-channel
|
|
15
|
+
# registration inside the plugin covers both arrival orders on its own.
|
|
16
|
+
#
|
|
17
|
+
# `estimatorCatalogRoute` is the only flag this row sets. The retired
|
|
18
|
+
# review gate's `reviewQueueRoute` used to live here; that key no longer
|
|
19
|
+
# exists in the plugin's Config schema (a reduction must never block
|
|
20
|
+
# automatic processing), so setting it would advertise a route that can
|
|
21
|
+
# never register.
|
|
22
|
+
- id: context-compression-improved-estimator-catalog
|
|
23
|
+
name: 'dsh-context-compression-improved'
|
|
24
|
+
inject:
|
|
25
|
+
- webServer
|
|
26
|
+
config:
|
|
27
|
+
estimatorCatalogRoute: true
|