pi-blackhole 0.4.1 → 0.4.2
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-blackhole",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"packageManager": "pnpm@11.2.2",
|
|
5
5
|
"description": "Unified compaction + observational memory extension for Pi — compresses conversation context while preserving durable observations and reflections",
|
|
6
6
|
"license": "MIT",
|
|
@@ -157,7 +157,8 @@ export const DEFAULTS: UnifiedConfig = {
|
|
|
157
157
|
compaction: "auto",
|
|
158
158
|
compactionEngine: "blackhole",
|
|
159
159
|
tailBehavior: "minimal",
|
|
160
|
-
midRunCompaction: "
|
|
160
|
+
midRunCompaction: "off",
|
|
161
|
+
|
|
161
162
|
|
|
162
163
|
observeAfterTokens: 15_000,
|
|
163
164
|
reflectAfterTokens: 25_000,
|
|
@@ -99,7 +99,7 @@ function handleTurnEnd(ctx: any, runtime: Runtime, pi: ExtensionAPI): void {
|
|
|
99
99
|
runtime.ensureConfig(ctx.cwd, (msg) => ctx.ui?.notify?.(msg, "warning"));
|
|
100
100
|
const dbg = (ev: string, d?: Record<string, unknown>) => debugLog(ev, d, runtime.config.debugLog === true);
|
|
101
101
|
|
|
102
|
-
const mode = runtime.config.midRunCompaction ?? "
|
|
102
|
+
const mode = runtime.config.midRunCompaction ?? "off";
|
|
103
103
|
if (mode === "off") {
|
|
104
104
|
dbg("compaction_trigger.turn_end.skip", { reason: "midRunCompaction_off" });
|
|
105
105
|
return;
|