@opengeni/runtime 4.4.0-canary.36927100590001 → 4.4.0

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.
@@ -24182,10 +24182,7 @@ var ModalCommandControl2 = class _ModalCommandControl {
24182
24182
  async verifyExecReadiness(signal) {
24183
24183
  signal.throwIfAborted();
24184
24184
  const sandboxId = this.sandboxId;
24185
- const task = await ModalCommandStartPreDispatchUnavailableError.beforeDispatch(
24186
- () => this.client.sandboxGetTaskId({ sandboxId }, { signal }),
24187
- signal
24188
- );
24185
+ const task = await this.client.sandboxGetTaskId({ sandboxId }, { signal });
24189
24186
  if (!task.taskId || task.taskResult) throw new Error("Modal command task is unavailable");
24190
24187
  if (sandboxId !== this.sandboxId)
24191
24188
  throw new Error("Modal sandbox changed during readiness preparation");
@@ -24194,7 +24191,7 @@ var ModalCommandControl2 = class _ModalCommandControl {
24194
24191
  error?.code ?? -1
24195
24192
  );
24196
24193
  const pause = () => delay2(100, void 0, { signal });
24197
- return await this.withStartRouter(task.taskId, signal, async (router) => {
24194
+ return await this.withRouter(task.taskId, signal, async (router) => {
24198
24195
  for (; ; ) {
24199
24196
  signal.throwIfAborted();
24200
24197
  try {
@@ -37856,7 +37853,6 @@ async function mintSandboxCodemodeToken(settings, scope, authority, nowMs = Date
37856
37853
  turnId: authority.turnId,
37857
37854
  attemptId: authority.attemptId,
37858
37855
  executionGeneration: authority.executionGeneration,
37859
- ...authority.credentialRestriction ? { credentialRestriction: authority.credentialRestriction } : {},
37860
37856
  principalKind: "agent_attempt",
37861
37857
  exp: expiresAtSeconds
37862
37858
  });
@@ -40471,4 +40467,4 @@ export {
40471
40467
  collectSandboxEnvironment2 as collectSandboxEnvironment,
40472
40468
  parseExposedPorts2 as parseExposedPorts
40473
40469
  };
40474
- //# sourceMappingURL=chunk-VDXKKMMD.js.map
40470
+ //# sourceMappingURL=chunk-QKROIZOB.js.map