@volter/supercode-orchestrator 0.4.61 → 0.4.62

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.
@@ -676,7 +676,11 @@ function launchPane(board, task, runId, lane, fleet, { input = null, slot = 'wor
676
676
  pause(3000);
677
677
  sid = observeFleet().sessions?.find((f) => f.pane === pane && String(f.address).split(':')[2] === harness)?.address.split(':')[3] ?? null;
678
678
  }
679
- if (!sid) throw new Error(`${harness} in pane ${pane ?? '(none)'} on ${task.machine} named no session within 90 s`);
679
+ if (!sid) {
680
+ // a pane whose session the board cannot name is closed, never left working beside the next start's
681
+ if (pane) stopSession(board, { surface: 'pane', pane, machine: task.machine });
682
+ throw new Error(`${harness} in pane ${pane ?? '(none)'} on ${task.machine} named no session within 90 s; the pane is closed`);
683
+ }
680
684
  session = { surface: 'pane', session_id: sid, machine, pane, mode: 'fresh', launched_at: now(), ...(replaced ? { replaces: replaced.session_id } : {}) };
681
685
  }
682
686
  session.harness = session.harness ?? harness;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volter/supercode-orchestrator",
3
- "version": "0.4.61",
3
+ "version": "0.4.62",
4
4
  "type": "module",
5
5
  "description": "The orchestrator runtime over the Volter Harness ontology: one typed operational model whose folder is its serialization, read and written through the harness orchestration doors (docs/ORCHESTRATOR-IR.md)",
6
6
  "exports": {