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 +5 -0
- package/index.ts +2 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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
|
}
|