deepline 0.3.480 → 0.3.481

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 (152) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +35 -1
  2. package/dist/bundling-sources/sdk/src/http-core.ts +2 -0
  3. package/dist/bundling-sources/sdk/src/plays/run-request.ts +54 -31
  4. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  5. package/dist/bundling-sources/shared_libs/monitors/legacy-radar-forward-routes.ts +569 -0
  6. package/dist/bundling-sources/shared_libs/monitors/legacy-radar-retirement.ts +451 -0
  7. package/dist/bundling-sources/shared_libs/monitors/package.json +5 -1
  8. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  9. package/dist/bundling-sources/shared_libs/play-runtime/runtime-array-input-receipts.ts +13 -6
  10. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +2 -0
  11. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +125 -22
  12. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-shared.ts +16 -53
  13. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +34 -48
  14. package/dist/bundling-sources/shared_libs/security/receipt-admission-token.ts +44 -0
  15. package/dist/cli/auth-EQWYBNIE.js +43 -0
  16. package/dist/cli/{auth-KMKFQX7X.mjs → auth-FYY65LYD.mjs} +5 -5
  17. package/dist/cli/{billing-G3Y5FTQM.mjs → billing-3MELYUTI.mjs} +7 -7
  18. package/dist/cli/{billing-R5RCTEW6.js → billing-TROHWBSE.js} +80 -80
  19. package/dist/cli/{chunk-4V6KEXCM.js → chunk-27BYXQU4.js} +1 -1
  20. package/dist/cli/{chunk-OQOXR6JL.js → chunk-4CIVXXSU.js} +26 -26
  21. package/dist/cli/{chunk-RPJSVGSC.js → chunk-5ONCPLWC.js} +16 -16
  22. package/dist/cli/{chunk-K7E2DO5P.js → chunk-6VKDKATO.js} +53 -53
  23. package/dist/cli/{chunk-WQBJHB63.js → chunk-6WWBVWFQ.js} +7 -7
  24. package/dist/cli/{chunk-LLEBPM3N.mjs → chunk-6ZMUAASO.mjs} +4 -4
  25. package/dist/cli/{chunk-IQ6WL36K.mjs → chunk-75LUK4E5.mjs} +1 -1
  26. package/dist/cli/{chunk-AKCYZDBO.mjs → chunk-7VVC4RZX.mjs} +1 -1
  27. package/dist/cli/{chunk-JBQKBDDN.mjs → chunk-ASQJUUGB.mjs} +5 -5
  28. package/dist/cli/{chunk-DIDWIPMA.mjs → chunk-BJ5UFTWL.mjs} +28 -7
  29. package/dist/cli/{chunk-JH77OHD5.js → chunk-BJMEXKZY.js} +2 -2
  30. package/dist/cli/{chunk-53LLOGNV.mjs → chunk-C7UIUKW6.mjs} +2 -2
  31. package/dist/cli/{chunk-LHU6BMDV.js → chunk-CM3KC74A.js} +3 -3
  32. package/dist/cli/{chunk-XNXE7YWI.mjs → chunk-CS2P3EQS.mjs} +2 -2
  33. package/dist/cli/{chunk-APFFHSPL.js → chunk-CUSWZTS7.js} +8 -8
  34. package/dist/cli/{chunk-6AYQK7Z6.js → chunk-D3UHG54V.js} +199 -178
  35. package/dist/cli/{chunk-PM2CT7HZ.mjs → chunk-EJTU6X6C.mjs} +3 -3
  36. package/dist/cli/{chunk-FZX2DGQZ.js → chunk-EPEAQA6O.js} +37 -37
  37. package/dist/cli/{chunk-57MJL2HU.mjs → chunk-EPZSX7FZ.mjs} +4 -4
  38. package/dist/cli/{chunk-FZ42SO3Q.mjs → chunk-FXLMDAAY.mjs} +1 -1
  39. package/dist/cli/chunk-GBAT5NMI.mjs +789 -0
  40. package/dist/cli/{chunk-VPO2D7WV.js → chunk-GJOKFJ2Y.js} +10 -10
  41. package/dist/cli/{chunk-JDMR33HS.js → chunk-GVAENVIG.js} +28 -19
  42. package/dist/cli/{chunk-NELMCOWK.mjs → chunk-HNRELVCS.mjs} +27 -18
  43. package/dist/cli/{chunk-SUTQCM7U.mjs → chunk-HXG7TYRS.mjs} +2 -2
  44. package/dist/cli/{chunk-PDDUX5UY.js → chunk-J4D3PCQ2.js} +5 -5
  45. package/dist/cli/{chunk-PC42DFZC.mjs → chunk-JE27DTQM.mjs} +3 -3
  46. package/dist/cli/{chunk-MEJJD7PA.js → chunk-KDU6TSGE.js} +2 -2
  47. package/dist/cli/{chunk-NVTVS4AV.js → chunk-KPXP2DIY.js} +7 -9
  48. package/dist/cli/chunk-KQSTV4MW.js +789 -0
  49. package/dist/cli/{chunk-2AYWC63S.mjs → chunk-LISZBUA7.mjs} +2 -2
  50. package/dist/cli/{chunk-44TVNYYV.mjs → chunk-LTOY2GUJ.mjs} +10 -10
  51. package/dist/cli/{chunk-OGXG46LY.js → chunk-MKDWU3ZI.js} +93 -93
  52. package/dist/cli/{chunk-MTMOYZMK.mjs → chunk-N5267HEH.mjs} +1 -1
  53. package/dist/cli/{chunk-T7EWDIVM.mjs → chunk-PDJS6LFI.mjs} +2 -1
  54. package/dist/cli/{chunk-QEV3GFDS.js → chunk-R4EFW2I2.js} +3 -3
  55. package/dist/cli/{chunk-KQNQCZLB.mjs → chunk-RV2GB7KW.mjs} +2 -2
  56. package/dist/cli/{chunk-PYIWO4GS.mjs → chunk-S5BM6NPJ.mjs} +3 -5
  57. package/dist/cli/{chunk-7LMLHUCP.mjs → chunk-S5WXSC3P.mjs} +5 -5
  58. package/dist/cli/{chunk-63QH6FL3.mjs → chunk-SOGLBLMH.mjs} +4 -4
  59. package/dist/cli/{chunk-5IVGZCKY.js → chunk-SVPM2E2U.js} +5 -5
  60. package/dist/cli/{chunk-ZSWY5E3W.mjs → chunk-UUGSZZZH.mjs} +1 -1
  61. package/dist/cli/{chunk-TBJ23WKT.js → chunk-VBDR2DP6.js} +3 -3
  62. package/dist/cli/{chunk-TXFURKHD.mjs → chunk-VRAOWHXJ.mjs} +1 -1
  63. package/dist/cli/{chunk-ASARTL6E.mjs → chunk-VTKAIGW6.mjs} +3 -3
  64. package/dist/cli/{chunk-DQYJXVAF.js → chunk-WF5QE2IW.js} +17 -16
  65. package/dist/cli/{chunk-NBXG4S2X.js → chunk-WICQQ7GY.js} +53 -53
  66. package/dist/cli/{chunk-FFSOXQEM.js → chunk-WTWRZ5ZI.js} +8 -8
  67. package/dist/cli/{chunk-LBZLV6QF.js → chunk-X4XZFIK6.js} +14 -14
  68. package/dist/cli/{chunk-A3PZKD47.js → chunk-X6MEQBAT.js} +21 -21
  69. package/dist/cli/{csv-P3AEI4G4.mjs → csv-2EG7JW7V.mjs} +4 -4
  70. package/dist/cli/{csv-57D62T7L.js → csv-OUALOZBF.js} +13 -13
  71. package/dist/cli/{db-FWFYU34R.js → db-7BTOI6YB.js} +28 -28
  72. package/dist/cli/{db-PJQMPZJP.mjs → db-ECDQWI2Y.mjs} +7 -7
  73. package/dist/cli/describe-EXSH6OZD.js +48 -0
  74. package/dist/cli/{describe-F57VZZML.mjs → describe-KO6WKQIB.mjs} +18 -18
  75. package/dist/cli/describe-core.d.mts +2 -2
  76. package/dist/cli/describe-core.d.ts +2 -2
  77. package/dist/cli/{executions-ZAJGMAAT.mjs → executions-3VMFBZT4.mjs} +7 -7
  78. package/dist/cli/{executions-YBT7NTY5.js → executions-VZSG3F3E.js} +9 -9
  79. package/dist/cli/{feedback-YLYY2EG4.js → feedback-ASKBWRXR.js} +8 -8
  80. package/dist/cli/{feedback-L3ZQCSY6.mjs → feedback-SN7AVALN.mjs} +4 -4
  81. package/dist/cli/{git-M7735NWJ.mjs → git-W2DZXEAY.mjs} +5 -5
  82. package/dist/cli/git-X2XUKYYX.js +25 -0
  83. package/dist/cli/index.js +167 -144
  84. package/dist/cli/index.mjs +73 -50
  85. package/dist/cli/{legacy-noops-TX37UP3U.js → legacy-noops-6KOC6LV7.js} +8 -8
  86. package/dist/cli/{legacy-noops-PKNMQMGY.mjs → legacy-noops-R2SML7ED.mjs} +5 -5
  87. package/dist/cli/{monitors-U7AUIOFZ.mjs → monitors-4VGZGJBT.mjs} +8 -8
  88. package/dist/cli/{monitors-5YTGQSGD.js → monitors-OJXDYU4G.js} +92 -92
  89. package/dist/cli/{org-N6DSSLLD.js → org-AELMZFUT.js} +73 -73
  90. package/dist/cli/{org-SRKZRVVH.mjs → org-UGN5ZG2Y.mjs} +7 -7
  91. package/dist/cli/{pages-YPN54RCC.js → pages-L26N7MK3.js} +18 -18
  92. package/dist/cli/{pages-UOPJUFCF.mjs → pages-ZYPAAYSS.mjs} +7 -7
  93. package/dist/cli/{play-4IK4WXWU.mjs → play-ENYB7X4S.mjs} +125 -53
  94. package/dist/cli/{play-MEYZEYOV.js → play-VTZWB3N5.js} +620 -548
  95. package/dist/cli/{providers-UGHUYP4C.mjs → providers-BZQTVAQG.mjs} +7 -7
  96. package/dist/cli/{providers-VS5MK4ZH.js → providers-HWBY6MGQ.js} +10 -10
  97. package/dist/cli/{quickstart-GW2ERQ2A.js → quickstart-D54IJ3PX.js} +6 -6
  98. package/dist/cli/{quickstart-YBOQSLFV.mjs → quickstart-SSQJDWPB.mjs} +4 -4
  99. package/dist/cli/{run-IVGMLY3J.js → run-45NKE7UY.js} +37 -37
  100. package/dist/cli/{run-44JT5GJM.mjs → run-FR3TPYT3.mjs} +23 -23
  101. package/dist/cli/{search-43NY73VR.mjs → search-CZCWSR5L.mjs} +8 -8
  102. package/dist/cli/search-V2GJKQQQ.js +32 -0
  103. package/dist/cli/{secrets-DABUD3B7.js → secrets-KJ5ZEDWT.js} +16 -16
  104. package/dist/cli/{secrets-ONDQGW3B.mjs → secrets-KKK55B4Y.mjs} +7 -7
  105. package/dist/cli/{sessions-AIAKKLSR.mjs → sessions-2YKA54PH.mjs} +5 -5
  106. package/dist/cli/{sessions-4ILQMBKR.js → sessions-QCNPUTDZ.js} +6 -6
  107. package/dist/cli/{settings-HSGKYOJT.mjs → settings-4NI2AS5V.mjs} +12 -12
  108. package/dist/cli/{settings-BWNLL7TP.js → settings-KM3LCPWD.js} +79 -79
  109. package/dist/cli/{setup-LE4OVH4M.mjs → setup-BZF3M54I.mjs} +9 -9
  110. package/dist/cli/{setup-37QOD4UT.js → setup-V5MTS2AA.js} +47 -47
  111. package/dist/cli/skills-CRFYW767.js +33 -0
  112. package/dist/cli/{skills-A3ZVR2YX.mjs → skills-NXYNB3LP.mjs} +7 -7
  113. package/dist/cli/{tools-ITKPPUDT.mjs → tools-57MWFRIZ.mjs} +17 -17
  114. package/dist/cli/tools-Q662HPVJ.js +55 -0
  115. package/dist/cli/{update-XJOSCOK5.mjs → update-QM6H677U.mjs} +9 -9
  116. package/dist/cli/update-TYHKF7F5.js +33 -0
  117. package/dist/cli/{workflow-KYQYFSND.mjs → workflow-NHYDIUWY.mjs} +8 -8
  118. package/dist/cli/{workflow-LERZ3TYV.js → workflow-TGEC4ITO.js} +18 -18
  119. package/dist/{client-B9N1bcGc.d.mts → client-DJ3r8VQJ.d.mts} +1 -1
  120. package/dist/{client-Btw075Hq.d.ts → client-JPSNljtj.d.ts} +1 -1
  121. package/dist/{client-core-TulbIeRB.d.mts → client-core-3SJlNsKU.d.mts} +21 -2
  122. package/dist/{client-core-DvGWlwtX.d.ts → client-core-rCoQ5Xz3.d.ts} +21 -2
  123. package/dist/index.d.mts +3 -3
  124. package/dist/index.d.ts +3 -3
  125. package/dist/index.js +10 -10
  126. package/dist/index.mjs +7 -7
  127. package/dist/install-integrity.json +106 -104
  128. package/dist/plays/bundle-play-file.mjs +5426 -12
  129. package/dist/plays/play-description.d.mts +1 -1
  130. package/dist/plays/play-description.d.ts +1 -1
  131. package/dist/plays/run-request.d.mts +1 -1
  132. package/dist/plays/run-request.d.ts +1 -1
  133. package/dist/plays/run-request.js +4 -2
  134. package/dist/plays/run-request.mjs +3 -1
  135. package/dist/release.d.mts +1 -1
  136. package/dist/release.d.ts +1 -1
  137. package/dist/release.js +2 -2
  138. package/dist/release.mjs +1 -1
  139. package/dist/server.d.mts +2 -2
  140. package/dist/server.d.ts +2 -2
  141. package/dist/server.js +6 -6
  142. package/dist/server.mjs +4 -4
  143. package/package.json +1 -1
  144. package/dist/cli/auth-7FOB243B.js +0 -43
  145. package/dist/cli/chunk-7UFFWPQ2.js +0 -6188
  146. package/dist/cli/chunk-ZBSUXXZS.mjs +0 -6188
  147. package/dist/cli/describe-ZAYUBNUQ.js +0 -48
  148. package/dist/cli/git-A3433UTN.js +0 -25
  149. package/dist/cli/search-2XTYY7BF.js +0 -32
  150. package/dist/cli/skills-TULQXRQJ.js +0 -33
  151. package/dist/cli/tools-QYYBWDXU.js +0 -55
  152. package/dist/cli/update-XSMY7KWH.js +0 -33
@@ -177,11 +177,14 @@ import {
177
177
  mintStagedPlayFileUploads,
178
178
  normalizePlayRunStart,
179
179
  CLI_PLAY_RUN_START_STREAM_PATH,
180
+ CLI_PLAY_RUN_SUPPORTED_HEADER,
180
181
  CliPlayAdmissionUnsupportedError,
181
182
  PLAY_RUN_START_STREAM_PATH,
182
183
  stagePlayFiles,
183
184
  preparePlayRunAdmission,
185
+ readPlayRunAdmissionCapability,
184
186
  type MintStagedFileUpload,
187
+ type PlayRunAdmissionCapability,
185
188
  type PlayRunStartOptions,
186
189
  type ResolvedStartPlayRunRequest,
187
190
  } from './plays/run-request';
@@ -3527,7 +3530,7 @@ export class DeeplineClient {
3527
3530
  /**
3528
3531
  * Re-establish this workspace's tenant storage contract: role/DB connect
3529
3532
  * grants plus materialized table grants. Org-admin only. Use when a run fails
3530
- * with WORKSPACE_STORAGE_NOT_READY.
3533
+ * with `WORKSPACE_STORAGE_NOT_READY`.
3531
3534
  */
3532
3535
  async repairIngestionStorage(input?: {
3533
3536
  provider?: string;
@@ -3595,6 +3598,10 @@ export class DeeplineClient {
3595
3598
  request: StartPlayRunRequest,
3596
3599
  options?: {
3597
3600
  cliAdmission?: boolean;
3601
+ /** @internal Capability response prefetched by the CLI during local preparation. */
3602
+ admissionCapability?:
3603
+ | Promise<PlayRunAdmissionCapability>
3604
+ | PlayRunAdmissionCapability;
3598
3605
  onSubmission?: (intent: {
3599
3606
  workflowId: string;
3600
3607
  orgId: string;
@@ -3607,6 +3614,11 @@ export class DeeplineClient {
3607
3614
  this.http,
3608
3615
  resolved.request,
3609
3616
  options?.onSubmission,
3617
+ {
3618
+ ...(options && Object.hasOwn(options, 'admissionCapability')
3619
+ ? { admissionCapability: options.admissionCapability }
3620
+ : {}),
3621
+ },
3610
3622
  );
3611
3623
  const bodyJson = JSON.stringify(prepared.body);
3612
3624
  const headers = runtimeSelectionHeaders(resolved.runtime, this.environment);
@@ -3629,12 +3641,15 @@ export class DeeplineClient {
3629
3641
  await preparePlayRunAdmission(
3630
3642
  http,
3631
3643
  JSON.parse(bodyJson) as ResolvedStartPlayRunRequest,
3644
+ undefined,
3645
+ { signal: streamOptions?.signal },
3632
3646
  );
3633
3647
  }
3634
3648
  submitted = true;
3635
3649
  const streamPath = options?.cliAdmission
3636
3650
  ? CLI_PLAY_RUN_START_STREAM_PATH
3637
3651
  : PLAY_RUN_START_STREAM_PATH;
3652
+ let cliAdmissionSupported = false;
3638
3653
  try {
3639
3654
  for await (const event of http.streamSse<PlayLiveEvent>(streamPath, {
3640
3655
  method: 'POST',
@@ -3642,12 +3657,22 @@ export class DeeplineClient {
3642
3657
  headers,
3643
3658
  signal: streamOptions?.signal,
3644
3659
  exactUrlOnly: true,
3660
+ ...(options?.cliAdmission
3661
+ ? {
3662
+ onResponse: (response: Response) => {
3663
+ cliAdmissionSupported =
3664
+ response.headers.get(CLI_PLAY_RUN_SUPPORTED_HEADER) ===
3665
+ 'true';
3666
+ },
3667
+ }
3668
+ : {}),
3645
3669
  })) {
3646
3670
  if (event.scope === 'play') yield event;
3647
3671
  }
3648
3672
  } catch (error) {
3649
3673
  if (
3650
3674
  options?.cliAdmission &&
3675
+ !cliAdmissionSupported &&
3651
3676
  error instanceof DeeplineError &&
3652
3677
  (error.statusCode === 404 || error.statusCode === 405)
3653
3678
  ) {
@@ -3659,6 +3684,15 @@ export class DeeplineClient {
3659
3684
  };
3660
3685
  }
3661
3686
 
3687
+ /**
3688
+ * Internal CLI helper. Reads the server's admission contract before local
3689
+ * preparation so the network round trip can overlap with compilation.
3690
+ * @internal
3691
+ */
3692
+ async prefetchPlayRunAdmissionCapability(): Promise<PlayRunAdmissionCapability> {
3693
+ return readPlayRunAdmissionCapability(this.http);
3694
+ }
3695
+
3662
3696
  /**
3663
3697
  * Submit a play run through the legacy event response.
3664
3698
  *
@@ -121,6 +121,7 @@ interface StreamOptions {
121
121
  body?: unknown;
122
122
  headers?: Record<string, string>;
123
123
  signal?: AbortSignal;
124
+ onResponse?: (response: Response) => void;
124
125
  }
125
126
 
126
127
  type RequestAbortTaggedError = Error & {
@@ -941,6 +942,7 @@ export class HttpClient {
941
942
  : undefined,
942
943
  signal: options?.signal,
943
944
  });
945
+ options?.onResponse?.(response);
944
946
 
945
947
  if (!response.ok) {
946
948
  const body = await response.text();
@@ -68,6 +68,12 @@ export interface PlayRunHttp {
68
68
  ): Promise<T>;
69
69
  }
70
70
 
71
+ export type PlayRunAdmissionCapability = {
72
+ admissionContract?: string;
73
+ strictTotalBudget?: string;
74
+ orgId?: string;
75
+ } | null;
76
+
71
77
  // ── Run-start body and response ─────────────────────────────────────────────
72
78
 
73
79
  /**
@@ -188,7 +194,12 @@ export async function preparePlayRunAdmission(
188
194
  orgId: string;
189
195
  request: Record<string, unknown>;
190
196
  }) => void | Promise<void>,
191
- options?: { signal?: AbortSignal },
197
+ options?: {
198
+ signal?: AbortSignal;
199
+ admissionCapability?:
200
+ | Promise<PlayRunAdmissionCapability>
201
+ | PlayRunAdmissionCapability;
202
+ },
192
203
  ): Promise<{
193
204
  body: Record<string, unknown>;
194
205
  workflowId?: string;
@@ -196,36 +207,10 @@ export async function preparePlayRunAdmission(
196
207
  }> {
197
208
  // The reader ships before the writer. An older route ignores workflowId;
198
209
  // that response cannot prove an identity can be reused safely after a timeout.
199
- let capability: {
200
- admissionContract?: string;
201
- strictTotalBudget?: string;
202
- orgId?: string;
203
- } | null = null;
204
- if (http.get) {
205
- try {
206
- capability = await http.get(PLAY_RUN_START_PATH, options);
207
- } catch (error) {
208
- if (
209
- !(error instanceof DeeplineError) ||
210
- ![404, 405].includes(error.statusCode ?? 0)
211
- )
212
- throw error;
213
- // Only an authoritative absent route proves an older server. A timeout,
214
- // 503, or authentication denial must never switch to an unkeyed writer.
215
- }
216
- if (
217
- capability &&
218
- !['caller-intent-v1', 'unsupported'].includes(
219
- capability.admissionContract ?? '',
220
- )
221
- ) {
222
- throw new DeeplineError(
223
- 'The server admission capability response is unknown; execution was not submitted.',
224
- 503,
225
- 'PLAY_RUN_ADMISSION_CAPABILITY_UNKNOWN',
226
- );
227
- }
228
- }
210
+ const capability =
211
+ options && Object.hasOwn(options, 'admissionCapability')
212
+ ? await options.admissionCapability
213
+ : await readPlayRunAdmissionCapability(http, options);
229
214
  const supportsCallerIntent =
230
215
  capability?.admissionContract === 'caller-intent-v1';
231
216
  options?.signal?.throwIfAborted();
@@ -316,6 +301,44 @@ export async function preparePlayRunAdmission(
316
301
  return { body: submittedBody, workflowId, supportsCallerIntent };
317
302
  }
318
303
 
304
+ /** Read the admission contract before submission; callers may overlap this GET with local preparation. */
305
+ export async function readPlayRunAdmissionCapability(
306
+ http: PlayRunHttp,
307
+ options?: { signal?: AbortSignal },
308
+ ): Promise<PlayRunAdmissionCapability> {
309
+ let capability: PlayRunAdmissionCapability = null;
310
+ if (http.get) {
311
+ try {
312
+ capability = await http.get<PlayRunAdmissionCapability>(
313
+ PLAY_RUN_START_PATH,
314
+ options,
315
+ );
316
+ } catch (error) {
317
+ if (
318
+ !(error instanceof DeeplineError) ||
319
+ ![404, 405].includes(error.statusCode ?? 0)
320
+ ) {
321
+ throw error;
322
+ }
323
+ // Only an authoritative absent route proves an older server. A timeout,
324
+ // 503, or authentication denial must never switch to an unkeyed writer.
325
+ }
326
+ if (
327
+ capability &&
328
+ !['caller-intent-v1', 'unsupported'].includes(
329
+ capability.admissionContract ?? '',
330
+ )
331
+ ) {
332
+ throw new DeeplineError(
333
+ 'The server admission capability response is unknown; execution was not submitted.',
334
+ 503,
335
+ 'PLAY_RUN_ADMISSION_CAPABILITY_UNKNOWN',
336
+ );
337
+ }
338
+ }
339
+ return capability;
340
+ }
341
+
319
342
  export async function startPlayRun(
320
343
  http: PlayRunHttp,
321
344
  request: ResolvedStartPlayRunRequest,
@@ -205,7 +205,7 @@ export const SDK_RELEASE = {
205
205
  // getters keep their established compatibility behavior.
206
206
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
207
207
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
208
- version: '0.3.480',
208
+ version: '0.3.481',
209
209
  updateSummary: {
210
210
  introducedIn: '0.3.90',
211
211
  summary: