pi-goal-x 0.18.5 → 0.18.6
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/goal.ts +5 -22
- package/package.json +1 -1
package/extensions/goal.ts
CHANGED
|
@@ -510,7 +510,6 @@ export default function goalExtension(pi: ExtensionAPI): void {
|
|
|
510
510
|
stopAuditAnimation();
|
|
511
511
|
auditProgress = null;
|
|
512
512
|
goalWidgetComponent?.invalidate();
|
|
513
|
-
ctx.ui.notify("Audit skipped by user.", "warning");
|
|
514
513
|
if (state.goal) {
|
|
515
514
|
try {
|
|
516
515
|
appendGoalEvent(ctx, {
|
|
@@ -2628,28 +2627,12 @@ ${objective}` : objective,
|
|
|
2628
2627
|
details: goalDetails(state.goal),
|
|
2629
2628
|
};
|
|
2630
2629
|
} else {
|
|
2631
|
-
// ── Continue working
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
content: [
|
|
2635
|
-
`Goal audit skipped — user chose to continue working.`,
|
|
2636
|
-
`Goal remains ${statusLabel(auditTarget)}.`,
|
|
2637
|
-
].join("\n"),
|
|
2638
|
-
display: true,
|
|
2639
|
-
details: { phase: "skipped", goalId: auditTarget.id, auditor: auditorLabel },
|
|
2640
|
-
});
|
|
2641
|
-
syncGoalTools();
|
|
2642
|
-
updateUI(ctx);
|
|
2630
|
+
// ── Continue working → pause the goal ──────────────
|
|
2631
|
+
pauseActiveGoal(ctx);
|
|
2632
|
+
turnStoppedFor = state.goal?.id ?? null;
|
|
2643
2633
|
return {
|
|
2644
|
-
content: [{
|
|
2645
|
-
|
|
2646
|
-
text: [
|
|
2647
|
-
"User chose to continue working (bypassed audit via Escape).",
|
|
2648
|
-
"",
|
|
2649
|
-
"Resume working toward the goal.",
|
|
2650
|
-
].join("\n"),
|
|
2651
|
-
}],
|
|
2652
|
-
details: goalDetails(state.goal),
|
|
2634
|
+
content: [{ type: "text", text: "Goal paused — user chose to continue working after skipping audit." }],
|
|
2635
|
+
details: state.goal ? goalDetails(state.goal) : undefined,
|
|
2653
2636
|
};
|
|
2654
2637
|
}
|
|
2655
2638
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-goal-x",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.6",
|
|
4
4
|
"description": "Goal mode extension for pi: persistent long-running objectives, /goal-set drafting, Sisyphus prompt style, autoContinue, and an above-editor status overlay. Fork of @capyup/pi-goal.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "pi-goal-x contributors",
|