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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +2 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-better-goal",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Pi extension for goal tracking with background-aware continuation.",
5
5
  "license": "MIT",
6
6
  "type": "module",
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
- const background = snapshot?.backgroundRunning
707
- ? `bg ${snapshot.activeBackgroundCount}${snapshot.unhealthyBackgroundCount ? `, ${snapshot.unhealthyBackgroundCount} unhealthy` : ""}`
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, {