@sagmans/dsh-auto-compact 0.1.0 → 0.2.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/README.md +2 -2
- package/package.json +23 -16
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ Releases publish to npm as [`@sagmans/dsh-auto-compact`](https://www.npmjs.com/p
|
|
|
15
15
|
|
|
16
16
|
- Node.js 24 LTS (verified with 24.20.0).
|
|
17
17
|
- pnpm 11.21.0 for this repository.
|
|
18
|
-
- A DeepSeek Harness install on the supported line: `>=0.1.5-rc.1 <0.
|
|
18
|
+
- A DeepSeek Harness install on the supported line: `>=0.1.5-rc.1 <0.3.0`, verified against `0.1.5-rc.2`, `0.1.5-rc.3`, `0.1.7-rc.2`, and `0.2.0-rc.2`. The plugin declares that range as a peer dependency, so a profile resolves the harness copy it already has rather than a second framework instance, and `dsh.compatibility.dshReleases` names the releases that passed the gates — the harness refuses an install whose peer range does not cover it.
|
|
19
19
|
|
|
20
20
|
## Configuration
|
|
21
21
|
|
|
@@ -154,7 +154,7 @@ Remove `thresholdTokens` and the same run must report no compaction events.
|
|
|
154
154
|
|
|
155
155
|
```sh
|
|
156
156
|
pnpm install
|
|
157
|
-
pnpm run check # typecheck, unit tests, build, built-artifact tests, release guards, pack smoke
|
|
157
|
+
pnpm run check # typecheck, unit tests, build, built-artifact tests, release guards, pack smoke, harness matrix
|
|
158
158
|
```
|
|
159
159
|
|
|
160
160
|
The profile loads `dist/index.js`, so rebuild and restart the profile after a
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sagmans/dsh-auto-compact",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Absolute token trigger for DeepSeek Harness automatic compaction: condense at a fixed token budget or at the model window ratio, whichever comes first.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deepseek-harness",
|
|
@@ -42,7 +42,13 @@
|
|
|
42
42
|
"patch": "./cordis.patch.yml"
|
|
43
43
|
},
|
|
44
44
|
"compatibility": {
|
|
45
|
-
"dsh": ">=0.1.5-rc.1 <0.
|
|
45
|
+
"dsh": ">=0.1.5-rc.1 <0.3.0",
|
|
46
|
+
"dshReleases": {
|
|
47
|
+
"0.1.5-rc.2": "compatible",
|
|
48
|
+
"0.1.5-rc.3": "compatible",
|
|
49
|
+
"0.1.7-rc.2": "compatible",
|
|
50
|
+
"0.2.0-rc.2": "compatible"
|
|
51
|
+
}
|
|
46
52
|
}
|
|
47
53
|
},
|
|
48
54
|
"scripts": {
|
|
@@ -52,29 +58,30 @@
|
|
|
52
58
|
"test:build": "node --test \"tests/*.test.mjs\"",
|
|
53
59
|
"test:release": "python3 -m unittest discover -s tests/release -p 'test_*.py'",
|
|
54
60
|
"pack-smoke": "node tools/pack-smoke.mjs",
|
|
55
|
-
"
|
|
61
|
+
"matrix": "node tools/harness-matrix.mjs",
|
|
62
|
+
"check": "pnpm run typecheck && pnpm test && pnpm run build && pnpm run test:build && pnpm test:release && pnpm run pack-smoke && pnpm run matrix",
|
|
56
63
|
"prepack": "pnpm run build",
|
|
57
64
|
"prepublishOnly": "pnpm run typecheck && pnpm test && pnpm test:release"
|
|
58
65
|
},
|
|
59
66
|
"peerDependencies": {
|
|
60
67
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
61
|
-
"@deepseek-ai/dsh-agent": ">=0.1.5-rc.1 <0.
|
|
62
|
-
"@deepseek-ai/dsh-compaction": ">=0.1.5-rc.1 <0.
|
|
63
|
-
"@deepseek-ai/dsh-compaction-basic": ">=0.1.5-rc.1 <0.
|
|
64
|
-
"@deepseek-ai/dsh-llm": ">=0.1.5-rc.1 <0.
|
|
65
|
-
"@deepseek-ai/dsh-session": ">=0.1.5-rc.1 <0.
|
|
66
|
-
"@deepseek-ai/dsh-token-meter": ">=0.1.5-rc.1 <0.
|
|
68
|
+
"@deepseek-ai/dsh-agent": ">=0.1.5-rc.1 <0.3.0",
|
|
69
|
+
"@deepseek-ai/dsh-compaction": ">=0.1.5-rc.1 <0.3.0",
|
|
70
|
+
"@deepseek-ai/dsh-compaction-basic": ">=0.1.5-rc.1 <0.3.0",
|
|
71
|
+
"@deepseek-ai/dsh-llm": ">=0.1.5-rc.1 <0.3.0",
|
|
72
|
+
"@deepseek-ai/dsh-session": ">=0.1.5-rc.1 <0.3.0",
|
|
73
|
+
"@deepseek-ai/dsh-token-meter": ">=0.1.5-rc.1 <0.3.0",
|
|
67
74
|
"@deepseek-ai/schemastery": "^3.18.2"
|
|
68
75
|
},
|
|
69
76
|
"devDependencies": {
|
|
70
77
|
"@deepseek-ai/cordis": "4.0.2",
|
|
71
|
-
"@deepseek-ai/dsh": "0.
|
|
72
|
-
"@deepseek-ai/dsh-agent": "0.
|
|
73
|
-
"@deepseek-ai/dsh-compaction": "0.
|
|
74
|
-
"@deepseek-ai/dsh-compaction-basic": "0.
|
|
75
|
-
"@deepseek-ai/dsh-llm": "0.
|
|
76
|
-
"@deepseek-ai/dsh-session": "0.
|
|
77
|
-
"@deepseek-ai/dsh-token-meter": "0.
|
|
78
|
+
"@deepseek-ai/dsh": "0.2.0-rc.2",
|
|
79
|
+
"@deepseek-ai/dsh-agent": "0.2.0-rc.2",
|
|
80
|
+
"@deepseek-ai/dsh-compaction": "0.2.0-rc.2",
|
|
81
|
+
"@deepseek-ai/dsh-compaction-basic": "0.2.0-rc.2",
|
|
82
|
+
"@deepseek-ai/dsh-llm": "0.2.0-rc.2",
|
|
83
|
+
"@deepseek-ai/dsh-session": "0.2.0-rc.2",
|
|
84
|
+
"@deepseek-ai/dsh-token-meter": "0.2.0-rc.2",
|
|
78
85
|
"@deepseek-ai/schemastery": "3.18.2",
|
|
79
86
|
"@types/node": "22.20.0",
|
|
80
87
|
"tsx": "4.22.4",
|