@zswarm/core 0.2.8 → 0.2.9

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.
@@ -251,7 +251,8 @@ export async function restartPane(client, state, args, target, clock, opts = {})
251
251
  if (held && !isTrue(args.force)) {
252
252
  throw new ZellijError("pane_leased", `pane ${to} is leased by relay ${held.relayId} (from ${held.from}, since ${new Date(held.at).toISOString()}); pass force=true to restart it anyway`, { relayId: held.relayId, from: held.from, at: held.at, dir: held.dir });
253
253
  }
254
- const profile = resolveHarness(observed);
254
+ // --harness names the profile for wrapper-launched panes (exit recipe, ready and busy markers).
255
+ const profile = resolveHarness(observed, optionalString(args.harness));
255
256
  const kind = restartPaneKind(observed);
256
257
  const handoffSelf = isTrue(args.handoffSelf);
257
258
  const supplied = typeof args.handoff === "string" && args.handoff.length > 0 ? args.handoff : null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zswarm/core",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "type": "module",
5
5
  "description": "zSwarm Zellij client and shared ops dispatch",
6
6
  "exports": {