pi-better-goal 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/package.json +1 -1
- package/src/index.ts +2 -5
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -703,11 +703,8 @@ export default function (pi: ExtensionAPI): void {
|
|
|
703
703
|
}
|
|
704
704
|
}
|
|
705
705
|
if (waitingOnAnswer > 0) return `${waitingOnAnswer} background done; waiting on your answer`;
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
: undefined;
|
|
709
|
-
if (goal?.status === "paused") return background ? `${pausedGoalStatus(goal, preferences.conversationalResume)} · ${background}` : pausedGoalStatus(goal, preferences.conversationalResume);
|
|
710
|
-
if (background) return background;
|
|
706
|
+
if (goal?.status === "paused") return pausedGoalStatus(goal, preferences.conversationalResume);
|
|
707
|
+
if (snapshot?.backgroundRunning) return undefined;
|
|
711
708
|
const continuation = goal ? currentContinuationState(ctx, goal.goalId) : null;
|
|
712
709
|
if (continuation?.blocked) return "waiting: no progress";
|
|
713
710
|
const goalStall = observeGoalStall(goal, continuation, {
|