@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
|
-
&& (
|
|
288
|
-
|
|
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 }),
|