pi-goosedump 0.10.9 → 0.10.10

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.
Files changed (3) hide show
  1. package/README.md +2 -1
  2. package/index.ts +1 -1
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -75,7 +75,8 @@ global setting.
75
75
  ## Compaction behavior
76
76
 
77
77
  The extension replaces Pi's normal summary during manual, scheduled, and
78
- automatic compaction. It preserves the previous compaction summary and asks
78
+ automatic compaction. It passes `--train` so the compacted range is harvested
79
+ into persistent memory, preserves the previous compaction summary, and asks
79
80
  goosedump to summarize only the newly compacted range. A `keep:N` request
80
81
  instead keeps the last N active user turns; it is cancelled when no earlier
81
82
  history is available to summarize.
package/index.ts CHANGED
@@ -650,7 +650,7 @@ async function goosedumpCompact(
650
650
  executablePath?: string,
651
651
  ): Promise<{ summary: string; warning: string }> {
652
652
  const scope = options.scope ?? 'lineage';
653
- const args = ['compact', target, '--scope', scope];
653
+ const args = ['compact', target, '--train', '--scope', scope];
654
654
  if (options.from) args.push('--from', options.from);
655
655
  args.push('--until', options.until);
656
656
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-goosedump",
3
- "version": "0.10.9",
3
+ "version": "0.10.10",
4
4
  "description": "Pi extension for goosedump-backed session-history search, entry expansion, and compaction",
5
5
  "keywords": [
6
6
  "compaction",
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@earendil-works/pi-tui": "^0.78.0",
36
- "@jarkkojs/goosedump": "^0.10.9",
36
+ "@jarkkojs/goosedump": "^0.10.10",
37
37
  "@sinclair/typebox": "^0.34.49"
38
38
  },
39
39
  "devDependencies": {