pi-goal-list-loop-audit 0.34.16 → 0.34.17

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.
@@ -2776,6 +2776,9 @@ function probeAutoNotify(ctx: ExtensionContext): void {
2776
2776
 
2777
2777
  function notifyExternal(ctx: ExtensionContext, message: string): void {
2778
2778
  try {
2779
+ // A stale or handoff-bound runtime has no valid pi exec API. The TUI
2780
+ // warning may still be best-effort, but never call the old pi handle.
2781
+ if (sessionHandoffPending || extensionApiStale) return;
2779
2782
  const settings = loadSettings(ctx.cwd);
2780
2783
  if (settings.notifyCmd === "off" || !extensionApi) return;
2781
2784
  const cmd = settings.notifyCmd ?? autoNotifyCmd;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-goal-list-loop-audit",
3
- "version": "0.34.16",
3
+ "version": "0.34.17",
4
4
  "description": "Mission control for autonomous pi: interview-drafted goals, an audited task queue, and forever-loops (metric, spec, project-audit) that run for hours. An isolated extension-less auditor re-verifies every completion with raw evidence; confirmed drafts, decision pauses and consent gates keep you in charge.",
5
5
  "license": "MIT",
6
6
  "author": "dracon",