pi-goal-list-loop-audit 0.22.0 → 0.22.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.
@@ -2316,6 +2316,12 @@ export default function (pi: ExtensionAPI): void {
2316
2316
  ctx.ui.notify(`List has ${listQueue().length} item(s) waiting — /list next to activate the head.`, "info");
2317
2317
  }
2318
2318
  }
2319
+ // Always paint on session load (v0.22.1): the branches above only reach
2320
+ // refreshUI via persistState, so a goal that was ALREADY paused (or any
2321
+ // state that doesn't mutate on load) rendered nothing — "can't tell if
2322
+ // it's on" is a bug. Painting unconditionally also clears/refreshes any
2323
+ // stale widget carried over from a previous in-process session.
2324
+ refreshUI(ctx);
2319
2325
  });
2320
2326
 
2321
2327
  pi.on("agent_end", async (event: any, ctx: ExtensionContext) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-goal-list-loop-audit",
3
- "version": "0.22.0",
3
+ "version": "0.22.1",
4
4
  "description": "Goal. Loop. Audit. Done. — a pi-coding-agent extension that supervises long-running work, with isolated auditor on each completion. Beat bamboozling by design: the auditor runs in a fresh session with no extensions, no skills, no editor — only the read tools needed to verify your goal.",
5
5
  "license": "MIT",
6
6
  "author": "dracon",