pi-prompt-template-model 0.9.0 → 0.9.1

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/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.9.1] - 2026-04-26
6
+
7
+ ### Fixed
8
+ - `boomerang: true` prompt collapses now signal rewind to keep current files automatically, avoiding the restore-options prompt during collapse.
9
+
5
10
  ## [0.9.0] - 2026-04-25
6
11
 
7
12
  ### Added
package/index.ts CHANGED
@@ -938,9 +938,11 @@ export default function promptModelExtension(pi: ExtensionAPI) {
938
938
 
939
939
  boomerangCollapse = { targetId, task: name, previousSummaries };
940
940
  try {
941
+ (globalThis as typeof globalThis & { __boomerangCollapseInProgress?: boolean }).__boomerangCollapseInProgress = true;
941
942
  const result = await ctx.navigateTree(targetId, { summarize: true });
942
943
  if (result.cancelled) notify(ctx, `Boomerang cancelled for prompt \`${name}\``, "warning");
943
944
  } finally {
945
+ (globalThis as typeof globalThis & { __boomerangCollapseInProgress?: boolean }).__boomerangCollapseInProgress = false;
944
946
  boomerangCollapse = null;
945
947
  }
946
948
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-prompt-template-model",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "type": "module",
5
5
  "description": "Prompt template model selector extension for pi coding agent",
6
6
  "author": "Nico Bailon",