@henryqw/pi-pr 6.2.10 → 6.2.12
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/extensions/pr.ts +6 -2
- package/package.json +5 -5
package/extensions/pr.ts
CHANGED
|
@@ -828,11 +828,15 @@ export default function pullRequestExtension(
|
|
|
828
828
|
return;
|
|
829
829
|
}
|
|
830
830
|
} catch (error) {
|
|
831
|
-
if (generation === sessionGeneration)
|
|
831
|
+
if (generation === sessionGeneration) {
|
|
832
|
+
activeInvocations.delete(invocation);
|
|
833
|
+
ctx.ui.notify(`PR continuation stopped: ${error instanceof Error ? error.message : String(error)}`, "warning");
|
|
834
|
+
}
|
|
832
835
|
} finally {
|
|
833
836
|
if (generation === sessionGeneration && (!workflowContext || completedRoutes.has(workflowContext.route))) {
|
|
834
837
|
clearWorkflow(workflowContext);
|
|
835
|
-
|
|
838
|
+
// Settlement refreshes successful continuations; failed discovery must not retry immediately.
|
|
839
|
+
if (activeInvocations.has(invocation)) activeInvocations.set(invocation, "workflow");
|
|
836
840
|
reconcileWidget(ctx);
|
|
837
841
|
}
|
|
838
842
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@henryqw/pi-pr",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.12",
|
|
4
4
|
"description": "Run /pr to safely discover or link the current pull request, then create, update, address feedback, fix CI, or merge when ready.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"pack:check": "npm pack --dry-run"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@earendil-works/pi-coding-agent": ">=0.86.0 <0.100.0",
|
|
31
|
-
"@earendil-works/pi-tui": ">=0.86.0 <0.100.0",
|
|
30
|
+
"@earendil-works/pi-coding-agent": ">=0.86.0 <0.100.0 || ^1.0.0",
|
|
31
|
+
"@earendil-works/pi-tui": ">=0.86.0 <0.100.0 || ^1.0.0",
|
|
32
32
|
"typebox": "^1.3.15"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"proper-lockfile": "^4.1.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@earendil-works/pi-coding-agent": "0.
|
|
42
|
-
"@earendil-works/pi-tui": "0.
|
|
41
|
+
"@earendil-works/pi-coding-agent": "1.0.0",
|
|
42
|
+
"@earendil-works/pi-tui": "1.0.0",
|
|
43
43
|
"@types/proper-lockfile": "^4.1.4"
|
|
44
44
|
},
|
|
45
45
|
"repository": {
|