deepline 0.3.519 → 0.3.521

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.
Files changed (186) hide show
  1. package/dist/bundling-sources/sdk/src/plays/client-core.ts +16 -45
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +0 -18
  4. package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +0 -155
  5. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +160 -2
  6. package/dist/bundling-sources/shared_libs/play-runtime/execute-server-timing.ts +22 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/fixture-behavior.ts +24 -0
  8. package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +1 -54
  9. package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +2 -7
  10. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +0 -13
  11. package/dist/bundling-sources/shared_libs/play-runtime/run-identity.ts +0 -56
  12. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +10 -21
  13. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-heartbeat.ts +1 -1
  14. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-progress-push.ts +2 -1
  15. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-terminal-push.ts +1 -1
  16. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +2 -37
  17. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +3 -74
  18. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-runtime-watchdog.ts +2 -226
  19. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +3 -36
  20. package/dist/bundling-sources/shared_libs/play-runtime/runtime-api-paths.ts +0 -26
  21. package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +1 -9
  22. package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +0 -5
  23. package/dist/bundling-sources/shared_libs/play-runtime/runtime-environment.ts +9 -49
  24. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-oidc.ts +11 -447
  25. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +5 -4
  26. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +12 -207
  27. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-shared.ts +3 -17
  28. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/gateway-progress-registry.ts +0 -9
  29. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +2 -18
  30. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +15 -175
  31. package/dist/bundling-sources/shared_libs/play-runtime/workflow-executor-auth.ts +0 -4
  32. package/dist/cli/{artifacts-YRKH7KNC.js → artifacts-JGH464N2.js} +20 -20
  33. package/dist/cli/{artifacts-ZZULJ6X5.mjs → artifacts-TYPU37IU.mjs} +8 -8
  34. package/dist/cli/auth-JWR3VSNT.js +43 -0
  35. package/dist/cli/{auth-WU2BDO3T.mjs → auth-XPQT6NUB.mjs} +5 -5
  36. package/dist/cli/{billing-DG62VVXW.mjs → billing-47AMHOMP.mjs} +8 -8
  37. package/dist/cli/{billing-MUMMBMQK.js → billing-6D4KXBFJ.js} +81 -81
  38. package/dist/cli/{chunk-R3OAKFHJ.mjs → chunk-2DQPB5HT.mjs} +5 -5
  39. package/dist/cli/{chunk-6Y3DDRRN.js → chunk-2KHUFWTK.js} +3 -3
  40. package/dist/cli/{chunk-XUCAH3LN.js → chunk-3Q7HEEH2.js} +10 -10
  41. package/dist/cli/{chunk-MI5DKOBD.mjs → chunk-4DB6JV7X.mjs} +2 -2
  42. package/dist/cli/{chunk-J4X4RNSP.mjs → chunk-4GGXAYKI.mjs} +3 -3
  43. package/dist/cli/{chunk-AXA5DFY5.mjs → chunk-4I7I5CGB.mjs} +1 -1
  44. package/dist/cli/{chunk-I3ICKVYH.js → chunk-4MN65FRF.js} +53 -53
  45. package/dist/cli/{chunk-Y7D6L4M7.mjs → chunk-4MONKWYE.mjs} +5 -5
  46. package/dist/cli/{chunk-3CUIIVGR.mjs → chunk-5T7QKHQL.mjs} +1 -1
  47. package/dist/cli/{chunk-UMPHUAGZ.js → chunk-6DCBTJZP.js} +3 -3
  48. package/dist/cli/{chunk-LKYLIZ5X.js → chunk-6N72GHAV.js} +2 -2
  49. package/dist/cli/{chunk-RHQKDHCX.mjs → chunk-6UHYXNCP.mjs} +2 -2
  50. package/dist/cli/{chunk-RU5JRQKJ.mjs → chunk-6V2RI3AL.mjs} +3 -3
  51. package/dist/cli/{chunk-NIJE62ZD.mjs → chunk-7AUXX6M5.mjs} +1 -1
  52. package/dist/cli/{chunk-NH22WUUG.mjs → chunk-7IYDCHTG.mjs} +2 -2
  53. package/dist/cli/{chunk-FEJKDR67.mjs → chunk-7LRALARF.mjs} +1 -1
  54. package/dist/cli/{chunk-N3LUYBOB.mjs → chunk-A2B5AAU3.mjs} +11 -11
  55. package/dist/cli/{chunk-CRE3OGHH.mjs → chunk-A6USUS4L.mjs} +2 -2
  56. package/dist/cli/{chunk-ZQ23WQP3.js → chunk-AMVKLEPH.js} +2 -2
  57. package/dist/cli/{chunk-RQ2BHYUM.mjs → chunk-CBBCUYIN.mjs} +2 -2
  58. package/dist/cli/{chunk-CBMTBMIJ.mjs → chunk-DQURY3WH.mjs} +1 -1
  59. package/dist/cli/{chunk-EMV6EHK2.js → chunk-DY6634MN.js} +14 -14
  60. package/dist/cli/{chunk-5A2SIIPH.mjs → chunk-E4ZS2B2J.mjs} +1 -1
  61. package/dist/cli/{chunk-BQYXIAJM.js → chunk-EILHJRPW.js} +3 -3
  62. package/dist/cli/{chunk-RQDD2VV3.js → chunk-EW3EAEWZ.js} +5 -5
  63. package/dist/cli/{chunk-A7W3CCU5.mjs → chunk-EZNZDOAG.mjs} +5 -5
  64. package/dist/cli/{chunk-HT675XNR.mjs → chunk-FKD3KL5Q.mjs} +1 -1
  65. package/dist/cli/{chunk-FJAGGBDR.mjs → chunk-FQJFONFT.mjs} +59 -90
  66. package/dist/cli/{chunk-C7ZD4LXZ.js → chunk-FTZX4QZN.js} +2 -2
  67. package/dist/cli/{chunk-F6XD4CRW.js → chunk-GNYSODBR.js} +1 -1
  68. package/dist/cli/{chunk-4PWBHYH4.js → chunk-HD3KYCDC.js} +7 -7
  69. package/dist/cli/{chunk-IMIHYCJ5.mjs → chunk-HHBJJYKL.mjs} +5 -5
  70. package/dist/cli/{chunk-YRU46P7H.mjs → chunk-HRWVEIAX.mjs} +1 -1
  71. package/dist/cli/{chunk-TT2XB433.js → chunk-HSFLMTED.js} +4 -4
  72. package/dist/cli/{chunk-E6YWCXII.js → chunk-JFQJNYTB.js} +16 -16
  73. package/dist/cli/{chunk-XBS4RDKU.js → chunk-LGU2NIOT.js} +98 -98
  74. package/dist/cli/{chunk-SBF4K3QF.mjs → chunk-LNBMEFOI.mjs} +4 -4
  75. package/dist/cli/{chunk-G2QD575P.js → chunk-MD43YAL6.js} +6 -6
  76. package/dist/cli/{chunk-S7R4O62I.js → chunk-MRU4N33M.js} +6 -6
  77. package/dist/cli/{chunk-UB2REJPL.mjs → chunk-NNDAVVBG.mjs} +2 -2
  78. package/dist/cli/{chunk-ORNLTNBN.js → chunk-PUKWFJXW.js} +44 -44
  79. package/dist/cli/{chunk-O655PVT4.js → chunk-QGTWGHYD.js} +88 -119
  80. package/dist/cli/{chunk-AL7FDMD6.mjs → chunk-TBIWR7M2.mjs} +1 -1
  81. package/dist/cli/{chunk-PK6VYYEY.js → chunk-UAZKOH3J.js} +5 -5
  82. package/dist/cli/{chunk-BMCRTI6Z.mjs → chunk-UBKA33KY.mjs} +1 -22
  83. package/dist/cli/{chunk-4ECU5DI3.js → chunk-ULW2KBKL.js} +26 -26
  84. package/dist/cli/{chunk-52DFTRVC.js → chunk-VSH3AE5E.js} +16 -16
  85. package/dist/cli/{chunk-P62S3ZMS.js → chunk-VYY5V4M5.js} +11 -11
  86. package/dist/cli/{chunk-HXPHRSNM.js → chunk-WL6WPW6X.js} +14 -14
  87. package/dist/cli/{chunk-WSGXBROE.js → chunk-XDVT3GOM.js} +1 -22
  88. package/dist/cli/{chunk-GO467AXG.js → chunk-Y23TOHNV.js} +41 -41
  89. package/dist/cli/{chunk-FTJ2D3XD.mjs → chunk-Y7IR4LBU.mjs} +3 -3
  90. package/dist/cli/{chunk-25WXWSFS.js → chunk-YROP3H6T.js} +22 -22
  91. package/dist/cli/{chunk-HKKC7J6K.mjs → chunk-ZO2XJVFH.mjs} +6 -6
  92. package/dist/cli/{csv-BKWIYPMK.js → csv-5TM2OSYP.js} +13 -13
  93. package/dist/cli/{csv-3TUJHAOW.mjs → csv-PM3WDXDF.mjs} +4 -4
  94. package/dist/cli/{db-EJMJDKDA.js → db-3LJ32FZM.js} +29 -29
  95. package/dist/cli/{db-I75IQ7XI.mjs → db-5P72NPRL.mjs} +8 -8
  96. package/dist/cli/describe-GRS3IRSX.js +50 -0
  97. package/dist/cli/{describe-RUFLLRIN.mjs → describe-ZLCMBGHG.mjs} +20 -20
  98. package/dist/cli/describe-core.d.mts +2 -2
  99. package/dist/cli/describe-core.d.ts +2 -2
  100. package/dist/cli/{executions-TQJCMUUG.js → executions-4AJ5TQVY.js} +10 -10
  101. package/dist/cli/{executions-VW3MYJEE.mjs → executions-JMFL6AV7.mjs} +8 -8
  102. package/dist/cli/{feedback-76342G7E.mjs → feedback-DKMG2QB7.mjs} +5 -5
  103. package/dist/cli/{feedback-UFAEXH5B.js → feedback-I2BLXMGH.js} +10 -10
  104. package/dist/cli/git-2LNT43A2.js +25 -0
  105. package/dist/cli/{git-L5XKAODI.mjs → git-ARG223MY.mjs} +5 -5
  106. package/dist/cli/index.js +141 -141
  107. package/dist/cli/index.mjs +43 -43
  108. package/dist/cli/{legacy-noops-DKAZ7JG3.mjs → legacy-noops-24LOAOZN.mjs} +6 -6
  109. package/dist/cli/{legacy-noops-DM66YISP.js → legacy-noops-N7SVA7PL.js} +9 -9
  110. package/dist/cli/{monitors-QXEJI54B.mjs → monitors-RYQFWM2T.mjs} +9 -9
  111. package/dist/cli/{monitors-NKDIH4TY.js → monitors-XNCYLOJM.js} +102 -102
  112. package/dist/cli/{org-NKIIBUNO.js → org-I33TKZXF.js} +74 -74
  113. package/dist/cli/{org-KZQCVREB.mjs → org-ORIH56E5.mjs} +8 -8
  114. package/dist/cli/{pages-UJUFCJEL.js → pages-2UXXGIMF.js} +20 -20
  115. package/dist/cli/{pages-E7IT5SWT.mjs → pages-ME43HSBL.mjs} +8 -8
  116. package/dist/cli/{play-SPI5MO67.js → play-F4QOFU37.js} +338 -338
  117. package/dist/cli/{play-AKL5E2DF.mjs → play-XEKNY46M.mjs} +21 -21
  118. package/dist/cli/{providers-4NVQ3FSC.js → providers-E7DPCBNX.js} +11 -11
  119. package/dist/cli/{providers-6HSSVI74.mjs → providers-XKU44G74.mjs} +8 -8
  120. package/dist/cli/{quickstart-FEQD7S4Z.js → quickstart-ICLF2F6A.js} +6 -6
  121. package/dist/cli/{quickstart-EHLEHSMI.mjs → quickstart-J7NVEXV5.mjs} +4 -4
  122. package/dist/cli/{run-GH6ECTJF.js → run-HJMHUQBN.js} +43 -43
  123. package/dist/cli/{run-IWVM7BD6.mjs → run-MQ5ZONGL.mjs} +25 -25
  124. package/dist/cli/run-identity-G257GQED.js +25 -0
  125. package/dist/cli/{run-identity-MNRZS2N3.mjs → run-identity-MRNCEGV2.mjs} +3 -9
  126. package/dist/cli/{search-X4CDMN7J.mjs → search-GGRC77CV.mjs} +10 -10
  127. package/dist/cli/search-V6IBJ4TX.js +33 -0
  128. package/dist/cli/{search-output-IIYMGZTQ.js → search-output-MXZTZI2P.js} +6 -6
  129. package/dist/cli/{search-output-PJ7N5WUQ.mjs → search-output-NY4GDBRU.mjs} +4 -4
  130. package/dist/cli/{secrets-4YPMC7XZ.mjs → secrets-FA37G4Q2.mjs} +8 -8
  131. package/dist/cli/{secrets-QPP2FXID.js → secrets-PFESG72B.js} +17 -17
  132. package/dist/cli/{sessions-BEOI47VZ.mjs → sessions-BLLXPETU.mjs} +6 -6
  133. package/dist/cli/sessions-DNFTQOQH.js +18 -0
  134. package/dist/cli/{settings-FZDONKPW.js → settings-32VPG4Z2.js} +88 -88
  135. package/dist/cli/{settings-VHULXNY3.mjs → settings-U26S7MPH.mjs} +15 -15
  136. package/dist/cli/{setup-5IV3NHGD.mjs → setup-4AXBCX7C.mjs} +10 -10
  137. package/dist/cli/{setup-LZ6IN5JS.js → setup-R6NSENH7.js} +50 -50
  138. package/dist/cli/skills-G4ZE3OS5.js +37 -0
  139. package/dist/cli/{skills-FZAFBW5J.mjs → skills-JUH7AVUL.mjs} +8 -8
  140. package/dist/cli/tools-27LHZFJD.js +57 -0
  141. package/dist/cli/{tools-TLBH3RFK.mjs → tools-FOYLU3FH.mjs} +19 -19
  142. package/dist/cli/{update-KPLIZYOV.mjs → update-FUVX22VM.mjs} +10 -10
  143. package/dist/cli/update-KNZ7N242.js +35 -0
  144. package/dist/cli/{workflow-ACHPT3DD.js → workflow-JACZW4GJ.js} +19 -19
  145. package/dist/cli/{workflow-GYJOYYWK.mjs → workflow-QLT22BLT.mjs} +9 -9
  146. package/dist/{client-CswZYCGj.d.ts → client-B-2Am2y6.d.ts} +1 -1
  147. package/dist/{client-CpSiHSti.d.mts → client-DA71-2_u.d.mts} +1 -1
  148. package/dist/{client-core-C1xVOg8Y.d.mts → client-core-BXbds1cb.d.mts} +1 -20
  149. package/dist/{client-core-D2pLt36Q.d.ts → client-core-C0IzDKMJ.d.ts} +1 -20
  150. package/dist/index.d.mts +3 -3
  151. package/dist/index.d.ts +3 -3
  152. package/dist/index.js +19 -19
  153. package/dist/index.mjs +8 -8
  154. package/dist/install-integrity.json +114 -122
  155. package/dist/plays/play-description.d.mts +1 -1
  156. package/dist/plays/play-description.d.ts +1 -1
  157. package/dist/plays/run-request.d.mts +1 -1
  158. package/dist/plays/run-request.d.ts +1 -1
  159. package/dist/plays/run-request.js +3 -3
  160. package/dist/plays/run-request.mjs +2 -2
  161. package/dist/release.d.mts +1 -1
  162. package/dist/release.d.ts +1 -1
  163. package/dist/release.js +2 -2
  164. package/dist/release.mjs +1 -1
  165. package/dist/server.d.mts +2 -2
  166. package/dist/server.d.ts +2 -2
  167. package/dist/server.js +7 -7
  168. package/dist/server.mjs +5 -5
  169. package/package.json +1 -1
  170. package/dist/bundling-sources/shared_libs/play-runtime/runtime-app-transport.ts +0 -374
  171. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-egress.ts +0 -55
  172. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-profile.ts +0 -329
  173. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-sandbox-credential.ts +0 -338
  174. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-staging.ts +0 -417
  175. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-gateway-attempt.ts +0 -81
  176. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-gateway-staging-journal.ts +0 -708
  177. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-gateway-staging-teardown.ts +0 -160
  178. package/dist/cli/auth-DF6WJLN2.js +0 -43
  179. package/dist/cli/describe-EAK3MPTG.js +0 -50
  180. package/dist/cli/git-OOCPCIGZ.js +0 -25
  181. package/dist/cli/run-identity-HFYABUJS.js +0 -31
  182. package/dist/cli/search-NIRYA3VL.js +0 -33
  183. package/dist/cli/sessions-5I2IFTW7.js +0 -18
  184. package/dist/cli/skills-WJWLFSHI.js +0 -37
  185. package/dist/cli/tools-SH35NRGU.js +0 -57
  186. package/dist/cli/update-MA46YSGR.js +0 -35
@@ -302,14 +302,6 @@ type WorkflowInternalTokenBaseClaims = {
302
302
  v: typeof INTERNAL_BOOTSTRAP_TOKEN_VERSION;
303
303
  };
304
304
 
305
- /** Vercel deployment id shape carried by `runtime_gateway_deployment_id`. */
306
- const RUNTIME_GATEWAY_DEPLOYMENT_ID_CLAIM_PATTERN = /^dpl_[A-Za-z0-9]+$/;
307
- /**
308
- * Versioned profile id shape. Membership is checked by the gateway that serves
309
- * the profile, so a token naming a newer profile still verifies here.
310
- */
311
- const RUNTIME_GATEWAY_PROFILE_CLAIM_PATTERN = /^[a-z][a-z0-9_]*@[1-9][0-9]*$/;
312
-
313
305
  export type WorkflowRunExecutionTokenClaims =
314
306
  WorkflowInternalTokenBaseClaims & {
315
307
  purpose: typeof INTERNAL_WORKFLOW_EXECUTION_PURPOSE;
@@ -362,13 +354,6 @@ export type WorkflowRunExecutionTokenClaims =
362
354
  capabilities: RuntimeExecutionCapability[];
363
355
  /** Trusted deployment origin that issued this run token. */
364
356
  runtime_origin?: string;
365
- /**
366
- * Runtime gateway pin: the immutable app deployment (`dpl_...`) whose
367
- * in-process gateway alone may accept this token. Absent on unpinned runs.
368
- */
369
- runtime_gateway_deployment_id?: string;
370
- /** Runtime gateway profile id paired with `runtime_gateway_deployment_id`. */
371
- runtime_gateway_profile?: string;
372
357
  /** Immutable receiver advertising leased Run Ledger ingress-prefix support. */
373
358
  run_ledger_ingress_prefix_origin?: string;
374
359
  };
@@ -689,18 +674,6 @@ function isValidWorkflowClaimsShape(
689
674
  typeof claims.terminal_contract === 'string') &&
690
675
  (claims.runtime_origin === undefined ||
691
676
  isValidRuntimeOrigin(claims.runtime_origin)) &&
692
- (claims.runtime_gateway_deployment_id === undefined ||
693
- (typeof claims.runtime_gateway_deployment_id === 'string' &&
694
- RUNTIME_GATEWAY_DEPLOYMENT_ID_CLAIM_PATTERN.test(
695
- claims.runtime_gateway_deployment_id,
696
- ))) &&
697
- (claims.runtime_gateway_profile === undefined ||
698
- (typeof claims.runtime_gateway_profile === 'string' &&
699
- RUNTIME_GATEWAY_PROFILE_CLAIM_PATTERN.test(
700
- claims.runtime_gateway_profile,
701
- ))) &&
702
- (claims.runtime_gateway_deployment_id === undefined) ===
703
- (claims.runtime_gateway_profile === undefined) &&
704
677
  (claims.run_ledger_ingress_prefix_origin === undefined ||
705
678
  isValidRuntimeOrigin(claims.run_ledger_ingress_prefix_origin)) &&
706
679
  Array.isArray(claims.capabilities) &&
@@ -798,32 +771,12 @@ export async function mintWorkflowRunExecutionToken(input: {
798
771
  terminalContract?: DirectCompletedTerminalContract | null;
799
772
  capabilities?: readonly RuntimeExecutionCapability[];
800
773
  runtimeOrigin?: string | null;
801
- /** Both or neither: the pinned deployment and its gateway profile id. */
802
- runtimeGatewayDeploymentId?: string | null;
803
- runtimeGatewayProfileId?: string | null;
804
774
  runLedgerIngressPrefixOrigin?: string | null;
805
775
  subject?: string | null;
806
776
  nowMs?: number;
807
777
  }): Promise<string> {
808
778
  const fixtureBehavior = validateFixtureBehavior(input.fixtureBehavior);
809
- const runtimeGatewayDeploymentId =
810
- input.runtimeGatewayDeploymentId?.trim() || null;
811
- const runtimeGatewayProfileId = input.runtimeGatewayProfileId?.trim() || null;
812
- if (
813
- (runtimeGatewayDeploymentId === null) !==
814
- (runtimeGatewayProfileId === null) ||
815
- (runtimeGatewayDeploymentId !== null &&
816
- !RUNTIME_GATEWAY_DEPLOYMENT_ID_CLAIM_PATTERN.test(
817
- runtimeGatewayDeploymentId,
818
- )) ||
819
- (runtimeGatewayProfileId !== null &&
820
- !RUNTIME_GATEWAY_PROFILE_CLAIM_PATTERN.test(runtimeGatewayProfileId))
821
- ) {
822
- throw new Error(
823
- 'Runtime gateway token claims require a valid deployment id and profile id together.',
824
- );
825
- }
826
- if (fixtureBehavior.ok === false) throw new Error(fixtureBehavior.error);
779
+ if (!fixtureBehavior.ok) throw new Error(fixtureBehavior.error);
827
780
  if (fixtureBehavior.behavior && input.integrationMode !== 'fixture') {
828
781
  throw new Error(
829
782
  'fixtureBehavior requires workflow integration mode "fixture".',
@@ -903,12 +856,6 @@ export async function mintWorkflowRunExecutionToken(input: {
903
856
  ...(input.runtimeOrigin?.trim()
904
857
  ? { runtime_origin: new URL(input.runtimeOrigin).origin }
905
858
  : {}),
906
- ...(runtimeGatewayDeploymentId && runtimeGatewayProfileId
907
- ? {
908
- runtime_gateway_deployment_id: runtimeGatewayDeploymentId,
909
- runtime_gateway_profile: runtimeGatewayProfileId,
910
- }
911
- : {}),
912
859
  ...(input.runLedgerIngressPrefixOrigin?.trim()
913
860
  ? {
914
861
  run_ledger_ingress_prefix_origin: new URL(
@@ -73,13 +73,8 @@ export const PLAY_LAUNCH_ENVELOPE_FIELD_ROLES: {
73
73
  runLedgerExecutorToken: 'detail',
74
74
  runtimeAuthority: 'detail',
75
75
  runtimeApiBaseUrl: 'detail',
76
- // Runtime gateway pin: hosting/transport, not customer intent. The URLs,
77
- // deployment id and pin time name whichever deployment admitted the run, so
78
- // a retry of the same launch through another deployment must deduplicate to
79
- // the first admission (whose pin stands) rather than conflict. The profile
80
- // id follows them: a profile changes where gateways run, never what the run
81
- // computes, and keeping it out of the digest leaves every existing launch
82
- // digest byte-identical.
76
+ // Retired Runtime gateway pin fields (nothing writes them). A stored launch
77
+ // may still carry them, so they stay classified as detail, never identity.
83
78
  runtimeGatewayProfileId: 'detail',
84
79
  runtimeReceiptGatewayBaseUrl: 'detail',
85
80
  runtimeExecutionGatewayBaseUrl: 'detail',
@@ -247,19 +247,6 @@ export interface PlayRunnerContextConfig extends RetainedPipelineCarrier {
247
247
  */
248
248
  executionGatewayBaseUrl?: string | null;
249
249
  receiptGatewayBaseUrl?: string | null;
250
- /**
251
- * Runtime gateway profile pin (`runtime-gateway-profile.ts`). Absent on
252
- * unpinned runs. Set only by the worker from a validated launch pin; the
253
- * gateway URLs above then name the pinned deployment.
254
- */
255
- runtimeGatewayProfileId?: string | null;
256
- runtimeGatewayDeploymentId?: string | null;
257
- /** Exact origin and gateway path prefixes that may receive the OIDC token. */
258
- runtimeGatewayCredentialScope?:
259
- | import('./runtime-gateway-sandbox-credential').RuntimeGatewayCredentialScope
260
- | null;
261
- /** Short-lived edge credential for the pinned gateway; renewed by the watchdog. */
262
- runtimeGatewayOidcToken?: string | null;
263
250
  /**
264
251
  * Internal fixture-canary pin for a cordoned receipt-gateway candidate. This
265
252
  * is a signed launch fact, never a customer-authored or sandbox-supplied
@@ -229,59 +229,3 @@ export function buildAsyncPlayRequestFingerprint(input: {
229
229
  }),
230
230
  );
231
231
  }
232
-
233
- /**
234
- * Longest run id any runtime scope accepts. Play names are Postgres
235
- * identifiers (at most 63 characters), so every built id is far below it.
236
- */
237
- export const PLAY_RUN_ID_MAX_LENGTH = 256;
238
-
239
- const RUNTIME_SCOPE_RUN_ID_PATTERN = /^[A-Za-z0-9_.:@/-]+$/;
240
-
241
- /**
242
- * The one run-id check that may gate a request: a non-empty id of at most
243
- * `PLAY_RUN_ID_MAX_LENGTH` characters from the path-safe alphabet. Run ids are
244
- * path-shaped (`play/<family>/run/<suffix>`), so `/` is allowed. It is
245
- * deliberately permissive: it never parses the id, so a scheduler row with an
246
- * older or foreign id shape is still served.
247
- */
248
- export function isRuntimeScopeRunId(value: unknown): value is string {
249
- return (
250
- typeof value === 'string' &&
251
- value.length > 0 &&
252
- value.length <= PLAY_RUN_ID_MAX_LENGTH &&
253
- RUNTIME_SCOPE_RUN_ID_PATTERN.test(value)
254
- );
255
- }
256
-
257
- export type ParsedPlayRunId = Readonly<{
258
- familyKey: string;
259
- startedAtMs: number;
260
- kind: 'root' | 'caller' | 'async' | 'rerun';
261
- }>;
262
-
263
- const PLAY_RUN_ID_PATTERN =
264
- /^play\/([a-z0-9-]+(?:\/[a-z0-9-]+)*)\/run\/\d{8}t\d{6}-\d{3}(?:-[a-z0-9]{8}(-caller-[a-f0-9]{64})?|(-async-[a-f0-9]{20})|(-rerun-[a-f0-9]{20}))?$/;
265
-
266
- /**
267
- * Parse an id built by this module's builders. Diagnostic only: use
268
- * `isRuntimeScopeRunId` to admit or refuse a request.
269
- */
270
- export function parsePlayRunId(value: unknown): ParsedPlayRunId | null {
271
- if (!isRuntimeScopeRunId(value)) return null;
272
- const match = PLAY_RUN_ID_PATTERN.exec(value);
273
- if (!match) return null;
274
- const startedAtMs = canonicalPlayRunStartedAtMs(value);
275
- if (startedAtMs === null) return null;
276
- return Object.freeze({
277
- familyKey: match[1]!,
278
- startedAtMs,
279
- kind: match[2]
280
- ? 'caller'
281
- : match[3]
282
- ? 'async'
283
- : match[4]
284
- ? 'rerun'
285
- : 'root',
286
- });
287
- }
@@ -1,4 +1,3 @@
1
- import { runtimeToolPath } from '../runtime-api-paths';
2
1
  import {
3
2
  createPrebuiltBatchQualityCollector,
4
3
  measurePrebuiltResultQuality,
@@ -15,10 +14,6 @@ import { appendFileSync, createReadStream, writeFileSync } from 'node:fs';
15
14
  import { readFile } from 'node:fs/promises';
16
15
  import { dirname, isAbsolute, resolve } from 'node:path';
17
16
  import { createRequire } from 'node:module';
18
- import {
19
- installSandboxRuntimeAppTransport,
20
- sandboxRuntimeAppFetch,
21
- } from '../runtime-app-transport';
22
17
  import { createHash, randomUUID } from 'node:crypto';
23
18
  import { formatWithOptions } from 'node:util';
24
19
  import { compileFunction } from 'node:vm';
@@ -225,15 +220,13 @@ export function createReceiptGatewayResponseObserver(): {
225
220
  };
226
221
  }
227
222
 
228
- // `safeOutboundFetch` sends with node:http, not the global fetch, so the
229
- // pinned-run gateway credential is applied explicitly by the transport owner.
230
- const safeNodeOutboundFetch = sandboxRuntimeAppFetch((async (
223
+ async function safeNodeOutboundFetch(
231
224
  input: string | URL,
232
225
  init?: RequestInit,
233
- ): Promise<Response> => {
226
+ ): Promise<Response> {
234
227
  const { safeOutboundFetch } = await loadSafeOutboundFetch();
235
228
  return safeOutboundFetch(input, init);
236
- }) as typeof fetch);
229
+ }
237
230
 
238
231
  function fixtureCtxFetch(
239
232
  config: Pick<PlayRunnerExecutionConfig, 'context'>,
@@ -255,13 +248,13 @@ function fixtureCtxFetch(
255
248
  });
256
249
  }
257
250
 
258
- const safeNodeStreamingOutboundFetch = sandboxRuntimeAppFetch((async (
251
+ async function safeNodeStreamingOutboundFetch(
259
252
  input: string | URL,
260
253
  init?: RequestInit,
261
- ): Promise<Response> => {
254
+ ): Promise<Response> {
262
255
  const { safeOutboundFetch } = await loadSafeOutboundFetch();
263
256
  return safeOutboundFetch(input, init, { streamResponseBody: true });
264
- }) as typeof fetch);
257
+ }
265
258
 
266
259
  import {
267
260
  resolveSheetContractForTableNamespace,
@@ -741,7 +734,7 @@ function createRuntimeToolMetadataResolver(config: PlayRunnerExecutionConfig) {
741
734
  }
742
735
 
743
736
  const promise = (async () => {
744
- const url = `${config.context.baseUrl}${runtimeToolPath(normalizedToolId, 'metadata')}`;
737
+ const url = `${config.context.baseUrl}/api/v2/plays/runtime-tools/${encodeURIComponent(normalizedToolId)}`;
745
738
  const response = await fetchRunnerRuntimeControl({
746
739
  url,
747
740
  description: `Runtime metadata lookup for tool ${normalizedToolId}`,
@@ -790,7 +783,7 @@ export function createAppRuntimeToolAuthScopeDigestResolver(
790
783
  `Runtime auth scope lookup for tool ${normalizedToolId || '<empty>'} requires executorToken and baseUrl.`,
791
784
  );
792
785
  }
793
- const url = `${config.context.baseUrl}${runtimeToolPath(normalizedToolId, 'auth_scope')}`;
786
+ const url = `${config.context.baseUrl}/api/v2/plays/runtime-tools/${encodeURIComponent(normalizedToolId)}/auth-scope`;
794
787
  const response = await fetchRunnerRuntimeControl({
795
788
  url,
796
789
  description: `Runtime auth scope lookup for tool ${normalizedToolId}`,
@@ -889,7 +882,7 @@ export function createAppRuntimeToolAuthScopeDigestResolver(
889
882
  if (!proof) {
890
883
  proof = (async () => {
891
884
  const response = await fetchRunnerRuntimeControl({
892
- url: `${executionBase}${runtimeToolPath(normalized, 'auth_scope')}`,
885
+ url: `${executionBase}/api/v2/plays/runtime-tools/${encodeURIComponent(normalized)}/auth-scope`,
893
886
  description: `Runtime async recovery capability for tool ${normalized}`,
894
887
  retrySafe: true,
895
888
  init: {
@@ -995,7 +988,7 @@ export function createRuntimeEventWaitHandler(
995
988
  boundary: IntegrationEventWaitBoundary;
996
989
  },
997
990
  ): Promise<IntegrationEventWaitBoundary> {
998
- const url = `${config.context.baseUrl}${runtimeToolPath(normalizedToolId, 'event_wait')}`;
991
+ const url = `${config.context.baseUrl}/api/v2/plays/runtime-tools/${encodeURIComponent(normalizedToolId)}/event-wait`;
999
992
  const response = await fetchRunnerRuntimeControl({
1000
993
  url,
1001
994
  description: `Event wait runtime call for tool ${normalizedToolId}`,
@@ -4201,10 +4194,6 @@ async function main() {
4201
4194
  ? gunzipSync(configBuffer).toString('utf-8')
4202
4195
  : configBuffer.toString('utf-8');
4203
4196
  const parsedConfig = JSON.parse(configJson) as PlayRunnerExecutionConfig;
4204
- // Pinned runs only: code-owned requests to the pinned gateway origin and
4205
- // paths carry the watchdog-renewed OIDC credential. Other targets, signed
4206
- // object URLs included, are untouched. Unpinned configs install nothing.
4207
- installSandboxRuntimeAppTransport(parsedConfig.context);
4208
4197
  writeRunnerStartupDiagnostic(
4209
4198
  process.env.DEEPLINE_PLAY_RUNNER_STARTUP_DIAGNOSTIC_PATH,
4210
4199
  { phase: 'booted' },
@@ -1,4 +1,3 @@
1
- import { APP_RUNTIME_COMPAT_PATH } from '../runtime-api-paths';
2
1
  import { RUNTIME_CLAIM_HEARTBEAT_DIVISOR } from '../runtime-constants';
3
2
  import { PLAY_RUNTIME_TRANSPORT_ATTEMPT_HEADER } from '../runtime-contract';
4
3
  import {
@@ -107,6 +106,7 @@ export interface RunnerHeartbeatLoopHandle {
107
106
  lastSuccessAtMs: () => number;
108
107
  }
109
108
 
109
+ const APP_RUNTIME_COMPAT_PATH = '/api/v2/plays/runtime';
110
110
  export const RUNNER_HEARTBEAT_REQUEST_TIMEOUT_MS = 10_000;
111
111
  // The detached startup deadline is shorter than the normal 40s cadence.
112
112
  // Retry initial transport failures while customer execution remains fenced.
@@ -1,4 +1,3 @@
1
- import { APP_RUNTIME_COMPAT_PATH } from '../runtime-api-paths';
2
1
  import type { PlayRunnerEvent } from '../protocol';
3
2
  import { isDurableDirectRunnerLog } from '../log-provenance';
4
3
  import { jsonByteLengthUpTo } from '../output-size-limits';
@@ -29,6 +28,8 @@ export const RUNNER_PROGRESS_PUSH_MAX_BATCH = 500;
29
28
  */
30
29
  export const RUNNER_PROGRESS_PUSH_STOP_TIMEOUT_MS = 5_000;
31
30
 
31
+ const APP_RUNTIME_COMPAT_PATH = '/api/v2/plays/runtime';
32
+
32
33
  export interface RunnerProgressPusher {
33
34
  snapshot: () => {
34
35
  retainedBytes: number;
@@ -1,4 +1,3 @@
1
- import { APP_RUNTIME_COMPAT_PATH } from '../runtime-api-paths';
2
1
  import { readFileSync, writeFileSync } from 'node:fs';
3
2
  import {
4
3
  RUNNER_TERMINAL_CHECKPOINT_DISPOSITION,
@@ -46,6 +45,7 @@ const TERMINAL_PUSH_MAX_ATTEMPTS =
46
45
  const TERMINAL_PUSH_RETRY_DELAYS_MS = [500, 1_000, 2_000, 4_000] as const;
47
46
  const TERMINAL_PUSH_REQUEST_TIMEOUT_MS =
48
47
  RUNTIME_RELIABILITY_POLICY.gateway.terminalPushRequestTimeoutMs;
48
+ const APP_RUNTIME_COMPAT_PATH = '/api/v2/plays/runtime';
49
49
 
50
50
  /**
51
51
  * A terminal result reserves its 5 MiB customer budget for the authored
@@ -17,7 +17,6 @@ import type {
17
17
  PlayRunnerResult,
18
18
  } from '../../protocol';
19
19
  import { isIsolatedRuntimeSchedulerSchema } from '../../runtime-scheduler-topology';
20
- import { withRuntimeGatewayEgressCidrs } from '../../runtime-gateway-egress';
21
20
  import { PLAY_RUNNER_TIMEOUT_SECONDS } from '../../runtime-constants';
22
21
  import {
23
22
  STANDARD_PLAY_SANDBOX_RUNTIME_LIMITS,
@@ -563,30 +562,6 @@ export function filterIpv4CidrAllowList(raw: string | null): string | null {
563
562
  return ipv4.length > 0 ? ipv4.join(',') : null;
564
563
  }
565
564
 
566
- /**
567
- * Daytona's form of the shared pinned-host egress rule
568
- * (`withRuntimeGatewayEgressCidrs`): its `networkAllowList` is one
569
- * comma-separated CIDR string. An unrestricted sandbox and an unpinned run
570
- * are returned unchanged, without resolving.
571
- */
572
- export async function runtimeGatewayDaytonaNetworkAllowList(input: {
573
- credentialScope:
574
- | PlayRunnerExecutionConfig['context']['runtimeGatewayCredentialScope']
575
- | undefined;
576
- networkAllowList: string | null;
577
- resolveIpv4?: (hostname: string) => Promise<string[]>;
578
- }): Promise<string | null> {
579
- if (!input.credentialScope || !input.networkAllowList) {
580
- return input.networkAllowList;
581
- }
582
- const cidrs = await withRuntimeGatewayEgressCidrs({
583
- credentialScope: input.credentialScope,
584
- cidrs: input.networkAllowList.split(','),
585
- ...(input.resolveIpv4 ? { resolveIpv4: input.resolveIpv4 } : {}),
586
- });
587
- return cidrs ? cidrs.join(',') : null;
588
- }
589
-
590
565
  export function resolveDaytonaSandboxNetworkPolicy(input: {
591
566
  runtimeSchedulerSchema: string | null | undefined;
592
567
  env?: NodeJS.ProcessEnv;
@@ -654,19 +629,9 @@ async function createOneShotDaytonaSandbox(input: {
654
629
  if (runId) labels.runId = runId;
655
630
  if (input.providerOperationToken)
656
631
  labels.operationKey = input.providerOperationToken;
657
- const policy = resolveDaytonaSandboxNetworkPolicy({
632
+ const { networkAllowList } = resolveDaytonaSandboxNetworkPolicy({
658
633
  runtimeSchedulerSchema: input.context.runtimeSchedulerSchema ?? null,
659
634
  });
660
- // Only a pinned, already-restricted sandbox resolves anything; every other
661
- // run keeps the exact synchronous path it had before.
662
- const credentialScope = input.context.runtimeGatewayCredentialScope;
663
- const networkAllowList =
664
- credentialScope && policy.networkAllowList
665
- ? await runtimeGatewayDaytonaNetworkAllowList({
666
- credentialScope,
667
- networkAllowList: policy.networkAllowList,
668
- })
669
- : policy.networkAllowList;
670
635
 
671
636
  const commonParams = {
672
637
  name: input.sandboxName,
@@ -684,7 +649,7 @@ async function createOneShotDaytonaSandbox(input: {
684
649
  // A non-empty `networkAllowList` IS the "block all egress except these
685
650
  // CIDRs" control; Daytona rejects create when `networkBlockAll: true` is
686
651
  // combined with a non-empty allow-list ("networkBlockAll: true cannot be
687
- // combined with a non-empty networkAllowList"). Pass
652
+ // combined with a non-empty networkAllowList or domainAllowList"). Pass
688
653
  // the allow-list alone so the egress restriction holds without the
689
654
  // contradictory flag.
690
655
  ...(networkAllowList ? { networkAllowList } : {}),
@@ -1,4 +1,3 @@
1
- import { APP_RUNTIME_COMPAT_PATH } from '../../runtime-api-paths';
2
1
  import { preparePlayRunnerConfigForTransport } from '../../protocol';
3
2
  import { randomUUID } from 'node:crypto';
4
3
  import { readFile } from 'node:fs/promises';
@@ -36,15 +35,6 @@ import {
36
35
  } from '../../daytona-payload-contract';
37
36
  export { buildDaytonaPayloadMaterializerSource } from '../../daytona-payload-contract';
38
37
  import { compactPlayArtifactForRuntimeTransport } from '../../../plays/artifact-transport';
39
- import {
40
- RUNTIME_GATEWAY_OIDC_FILE_SUFFIX,
41
- runtimeGatewayOidcRequestHeaders,
42
- } from '../../runtime-gateway-sandbox-credential';
43
- import {
44
- runtimeGatewayStagedSend,
45
- runtimeGatewayStagedSendTimeoutMs,
46
- runtimeGatewayStagingClientLimits,
47
- } from '../../runtime-gateway-staging';
48
38
  import type {
49
39
  DaytonaExecutionContext,
50
40
  DaytonaSandbox,
@@ -52,10 +42,8 @@ import type {
52
42
  } from './daytona-lifecycle';
53
43
  import {
54
44
  buildDaytonaRuntimeWatchdogSource,
55
- runtimeGatewayCredentialWatchdogArgs,
56
45
  PLAY_RUNNER_UV_THREADPOOL_SIZE,
57
46
  RUNNER_MEMORY_CGROUP_ROOT,
58
- RUNTIME_GATEWAY_OIDC_RENEWAL_FAILED_REASON,
59
47
  RUNTIME_SANDBOX_MEMORY_ABORT_REASON,
60
48
  } from './daytona-runtime-watchdog';
61
49
 
@@ -211,37 +199,6 @@ const memoryEventsPath = process.argv[7] || '/sys/fs/cgroup/memory.events';
211
199
  const terminationDiagnosticPath = process.argv[8] || '';
212
200
  const runtimeCompletedPath = process.argv[9] || '';
213
201
  const exitCode = Number.isFinite(exitCodeRaw) ? exitCodeRaw : null;
214
- const runtimeGatewayOidcRequestHeaders = (${runtimeGatewayOidcRequestHeaders.toString()});
215
- // Pinned runs only: an app-hosted gateway takes bodies above Vercel's cap
216
- // through a staged upload. Unpinned runs call fetch exactly as before.
217
- const runtimeGatewayStagedSend = (${runtimeGatewayStagedSend.toString()});
218
- const runtimeGatewayStagedSendTimeoutMs = (${runtimeGatewayStagedSendTimeoutMs.toString()});
219
-
220
- // Pinned runs only: the watchdog's latest renewed credential, else the
221
- // initial one. Unpinned configs carry neither and send no credential.
222
- function currentRuntimeGatewayOidcToken(context) {
223
- if (!context.runtimeGatewayOidcToken) return null;
224
- try {
225
- const renewed = fs.readFileSync(configPath + ${JSON.stringify(RUNTIME_GATEWAY_OIDC_FILE_SUFFIX)}, 'utf8').trim();
226
- if (renewed) return renewed;
227
- } catch {}
228
- return context.runtimeGatewayOidcToken;
229
- }
230
-
231
- function watchdogRuntimeGatewayOidcFailure() {
232
- try {
233
- if (!terminationDiagnosticPath) return null;
234
- const diagnostic = JSON.parse(fs.readFileSync(terminationDiagnosticPath, 'utf8'));
235
- if (
236
- diagnostic &&
237
- diagnostic.schemaVersion === 1 &&
238
- diagnostic.reason === ${JSON.stringify(RUNTIME_GATEWAY_OIDC_RENEWAL_FAILED_REASON)}
239
- ) {
240
- return diagnostic;
241
- }
242
- } catch {}
243
- return null;
244
- }
245
202
  const MAX_OUTPUT_BYTES = ${DAYTONA_CRASH_PUSHER_OUTPUT_TAIL_MAX_BYTES};
246
203
  const MAX_POST_TERMINAL_DIAGNOSTIC_BYTES = ${RUNNER_POST_TERMINAL_DIAGNOSTIC_MAX_BYTES};
247
204
  let postTerminalDiagnosticBytesRemaining = MAX_POST_TERMINAL_DIAGNOSTIC_BYTES;
@@ -459,12 +416,8 @@ async function main() {
459
416
  // V8 aborts itself on heap exhaustion. SIGABRT alone is also authored
460
417
  // program output, so 134 needs the explicit allocation signature.
461
418
  (exitCode === 134 && explicitOomSignature));
462
- const runtimeGatewayOidcFailure = watchdogRuntimeGatewayOidcFailure();
463
419
  const synthesizedError = runtimeLimitExceeded
464
420
  ? 'RUNTIME_LIMIT_EXCEEDED: ' + ${JSON.stringify(runtimeLimitMessage)}
465
- : runtimeGatewayOidcFailure
466
- ? ${JSON.stringify(RUNTIME_GATEWAY_OIDC_RENEWAL_FAILED_REASON)} + ': the sandbox could not renew its Runtime gateway credential (' +
467
- String(runtimeGatewayOidcFailure.errorCode) + ') and was stopped before it expired.'
468
421
  : memoryAbort
469
422
  ? memoryAbortCause(memoryAbort)
470
423
  : sandboxOom
@@ -532,16 +485,11 @@ async function main() {
532
485
  ? { finalProgressLogOffset: parsedResultEvent.finalProgressLogOffset }
533
486
  : {}),
534
487
  });
535
- // A pinned run may stage a body up to 16 MiB through object storage, so
536
- // its deadline scales with the body (bounded). Unpinned runs keep 10 s.
537
- const pushTimeoutMs = context.runtimeGatewayCredentialScope
538
- ? runtimeGatewayStagedSendTimeoutMs(Buffer.byteLength(requestBody))
539
- : 10000;
540
488
  for (let attempt = 1; attempt <= 3; attempt += 1) {
541
489
  const controller = new AbortController();
542
- const timer = setTimeout(() => controller.abort(), pushTimeoutMs);
490
+ const timer = setTimeout(() => controller.abort(), 10000);
543
491
  try {
544
- const terminalRequest = {
492
+ const response = await fetch(gateway + '/api/v2/plays/runtime', {
545
493
  method: 'POST',
546
494
  headers: {
547
495
  'content-type': 'application/json',
@@ -549,27 +497,11 @@ async function main() {
549
497
  ...(preferredGatewayMachineId
550
498
  ? { 'fly-force-instance-id': preferredGatewayMachineId }
551
499
  : {}),
552
- ...(runtimeGatewayOidcRequestHeaders(
553
- context.runtimeGatewayCredentialScope,
554
- currentRuntimeGatewayOidcToken(context),
555
- gateway + '${APP_RUNTIME_COMPAT_PATH}',
556
- ) || {}),
557
500
  },
558
501
  body: requestBody,
559
502
  signal: controller.signal,
560
503
  redirect: 'manual',
561
- };
562
- const response = context.runtimeGatewayCredentialScope
563
- ? await runtimeGatewayStagedSend(
564
- fetch,
565
- gateway + '${APP_RUNTIME_COMPAT_PATH}',
566
- terminalRequest,
567
- Object.assign(
568
- ${JSON.stringify({ ...runtimeGatewayStagingClientLimits([]), pathPrefixes: undefined })},
569
- { pathPrefixes: context.runtimeGatewayCredentialScope.pathPrefixes },
570
- ),
571
- )
572
- : await fetch(gateway + '${APP_RUNTIME_COMPAT_PATH}', terminalRequest);
504
+ });
573
505
  // Keep the HTTP deadline through body consumption so retries do not
574
506
  // leave an unread socket behind. The status already acknowledges the
575
507
  // durable terminal even if its diagnostic response body is interrupted.
@@ -855,9 +787,6 @@ export async function stageRunnerPayload(input: {
855
787
  shellQuote(memoryPressurePath),
856
788
  shellQuote(RUNNER_MEMORY_CGROUP_ROOT),
857
789
  shellQuote(runnerPidPath),
858
- ...runtimeGatewayCredentialWatchdogArgs(remoteConfig.context).map(
859
- shellQuote,
860
- ),
861
790
  ].join(' ');
862
791
  const runnerCommand = `${nodeMaterializePayloadCommand({
863
792
  envelopePath,