@zq-silk/yui 0.10.0 → 0.10.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.
@@ -281,11 +281,14 @@ export class TmuxSessionHost {
281
281
  return binding;
282
282
  }
283
283
  const broker = launchBrokerForHome(yuiHome);
284
+ const sessionManifest = planned.launch.env.YUI_SESSION_MANIFEST;
284
285
  const frozenControlPlane = planned.launch.env[YUI_CONTROL_PLANE_DESCRIPTOR];
285
286
  const frozenTaskRuntime = planned.launch.env[YUI_TASK_RUNTIME_DESCRIPTOR];
286
287
  if (request.owner.scope === "task" && request.runId !== undefined
287
- && (frozenControlPlane === undefined || frozenTaskRuntime === undefined)) {
288
- throw new Error("Managed Task Agent Host launch is missing its frozen control descriptors.");
288
+ && (sessionManifest === undefined
289
+ || frozenControlPlane === undefined
290
+ || frozenTaskRuntime === undefined)) {
291
+ throw new Error("Managed Task Agent Host launch is missing its Session Manifest or frozen control descriptors.");
289
292
  }
290
293
  const reservation = broker.reserve(Object.freeze({
291
294
  schemaVersion: 1,
@@ -324,6 +327,9 @@ export class TmuxSessionHost {
324
327
  ...(planned.launch.env.YUI_WORKSPACE === undefined
325
328
  ? {}
326
329
  : { YUI_WORKSPACE: planned.launch.env.YUI_WORKSPACE }),
330
+ ...(sessionManifest === undefined
331
+ ? {}
332
+ : { YUI_SESSION_MANIFEST: sessionManifest }),
327
333
  ...(frozenControlPlane === undefined
328
334
  ? {}
329
335
  : { [YUI_CONTROL_PLANE_DESCRIPTOR]: frozenControlPlane }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zq-silk/yui",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "Local control plane for long-running native agent CLI sessions backed by tmux.",
5
5
  "license": "MIT",
6
6
  "private": false,