pi-goosedump 0.12.8 → 0.12.9
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.ts +3 -1
- package/package.json +2 -2
package/dist/index.ts
CHANGED
|
@@ -1683,6 +1683,8 @@ ${lines.join(`
|
|
|
1683
1683
|
return;
|
|
1684
1684
|
if (ctx.hasPendingMessages())
|
|
1685
1685
|
return;
|
|
1686
|
+
if (!resumeAfter && !ctx.isIdle())
|
|
1687
|
+
return;
|
|
1686
1688
|
if (!hasCompactableHistory(ctx))
|
|
1687
1689
|
return;
|
|
1688
1690
|
syncCompactCounters(ctx, true);
|
|
@@ -1723,7 +1725,7 @@ ${lines.join(`
|
|
|
1723
1725
|
if (event.toolResults.length > 0)
|
|
1724
1726
|
maybeAutoCompact(ctx, true);
|
|
1725
1727
|
});
|
|
1726
|
-
pi.on("
|
|
1728
|
+
pi.on("agent_settled", async (_event, ctx) => {
|
|
1727
1729
|
maybeAutoCompact(ctx, false);
|
|
1728
1730
|
});
|
|
1729
1731
|
pi.on("session_before_compact", async (event, ctx) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-goosedump",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.9",
|
|
4
4
|
"description": "Pi extension for goosedump-backed session-history search, entry expansion, and compaction",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"compaction",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@earendil-works/pi-tui": "^0.82.1",
|
|
41
|
-
"@jarkkojs/goosedump": "^0.12.
|
|
41
|
+
"@jarkkojs/goosedump": "^0.12.9",
|
|
42
42
|
"@sinclair/typebox": "^0.34.49"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|