@psiclawops/hypercompositor 0.9.4 → 0.9.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.
- package/dist/index.js +3 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1532,7 +1532,7 @@ function createHyperMemEngine() {
|
|
|
1532
1532
|
// Post-warm pressure check: if messages.db had accumulated history,
|
|
1533
1533
|
// warm() may have loaded the session straight to 80%+. Pre-trim now
|
|
1534
1534
|
// so the first turn has headroom instead of starting saturated.
|
|
1535
|
-
// This is the "restart at 98%" failure mode reported by
|
|
1535
|
+
// This is the "restart at 98%" failure mode reported by Eve 2026-04-05:
|
|
1536
1536
|
// JSONL truncation + Redis flush isn't enough if messages.db is still full
|
|
1537
1537
|
// and warm() reloads it. Trim here closes the loop.
|
|
1538
1538
|
try {
|
|
@@ -2948,7 +2948,7 @@ ${replayRecovery.emittedText}`
|
|
|
2948
2948
|
// gradient-compressed window to budget before writing to Redis. Without
|
|
2949
2949
|
// this, afterTurn writes up to 250 messages regardless of budget, causing
|
|
2950
2950
|
// trimHistoryToTokenBudget to fire and trim ~200 messages on every
|
|
2951
|
-
// subsequent assemble() — the churn loop seen in
|
|
2951
|
+
// subsequent assemble() — the churn loop seen in Eve's logs.
|
|
2952
2952
|
if (hm.cache.isConnected) {
|
|
2953
2953
|
try {
|
|
2954
2954
|
const modelState = await hm.cache.getModelState(agentId, sk);
|
|
@@ -3023,7 +3023,7 @@ ${replayRecovery.emittedText}`
|
|
|
3023
3023
|
// If a session just finished a turn at >80% pressure, the NEXT turn's
|
|
3024
3024
|
// incoming tool results (parallel web searches, large exec output, etc.)
|
|
3025
3025
|
// will hit a window with no headroom — the ingestion wave failure mode
|
|
3026
|
-
// (reported by
|
|
3026
|
+
// (reported by Eve, 2026-04-05). Pre-trim here so the tool-loop
|
|
3027
3027
|
// assemble() path starts the next turn with meaningful space.
|
|
3028
3028
|
//
|
|
3029
3029
|
// Uses modelState.tokenBudget if cached; skips if unavailable (non-fatal).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@psiclawops/hypercompositor",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.5",
|
|
4
4
|
"description": "HyperCompositor \u2014 context engine plugin for OpenClaw",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"typecheck": "tsc --noEmit"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@psiclawops/hypermem": "
|
|
43
|
+
"@psiclawops/hypermem": "0.9.5",
|
|
44
44
|
"zod": "^4.0.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|