deepline 0.3.544 → 0.3.546

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 (192) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +5 -0
  2. package/dist/bundling-sources/sdk/src/errors.ts +1 -1
  3. package/dist/bundling-sources/sdk/src/http-core.ts +41 -12
  4. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  5. package/dist/bundling-sources/shared_libs/monitors/fleets/errors.ts +5 -0
  6. package/dist/bundling-sources/shared_libs/monitors/fleets/issues.ts +5 -1
  7. package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +6 -0
  8. package/dist/bundling-sources/shared_libs/monitors/fleets/plan.ts +35 -3
  9. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +2 -2
  10. package/dist/bundling-sources/shared_libs/play-data-plane/contracts.ts +5 -0
  11. package/dist/bundling-sources/shared_libs/play-data-plane/sheet-contract.ts +27 -0
  12. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +4 -0
  13. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +8 -0
  14. package/dist/bundling-sources/shared_libs/play-runtime/fleet-sandbox-sweep.ts +40 -3
  15. package/dist/bundling-sources/shared_libs/play-runtime/modal-runtime-config.ts +19 -3
  16. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +18 -4
  17. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +441 -103
  18. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox-egress.ts +322 -0
  19. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox.ts +200 -64
  20. package/dist/bundling-sources/shared_libs/play-runtime/runtime-speed-profile.ts +65 -2
  21. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +5 -3
  22. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +32 -0
  23. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-lane.ts +206 -12
  24. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +10 -1
  25. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-worker-wake.ts +30 -2
  26. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +30 -1
  27. package/dist/bundling-sources/shared_libs/plays/static-pipeline.ts +35 -2
  28. package/dist/bundling-sources/shared_libs/security/email-blacklist.ts +35 -1
  29. package/dist/bundling-sources/shared_libs/security/email-domain.ts +19 -0
  30. package/dist/bundling-sources/shared_libs/security/secret-redaction.ts +2 -0
  31. package/dist/cli/{auth-IMWJAHPU.mjs → auth-KFWG72AZ.mjs} +6 -6
  32. package/dist/cli/auth-W32GMYND.js +43 -0
  33. package/dist/cli/{billing-YQMW3QJI.mjs → billing-MMZ336HO.mjs} +10 -10
  34. package/dist/cli/{billing-Y55PR2PV.js → billing-OQVOAZ4S.js} +98 -98
  35. package/dist/cli/{chunk-RJPDCSTD.mjs → chunk-3DUNNZB6.mjs} +4 -4
  36. package/dist/cli/{chunk-G26VJCNT.js → chunk-4AZLGNXV.js} +36 -26
  37. package/dist/cli/{chunk-Y3T5GWYK.mjs → chunk-5OEFXAKP.mjs} +5 -1
  38. package/dist/cli/{chunk-RG34YBDE.js → chunk-5V7NZKGG.js} +2 -2
  39. package/dist/cli/{chunk-UHIAQPVA.js → chunk-5VNQMVCU.js} +26 -26
  40. package/dist/cli/{chunk-PDJ4UDCO.js → chunk-5W4ENHWM.js} +12 -12
  41. package/dist/cli/{chunk-3JDA23NN.mjs → chunk-6FBDTYR2.mjs} +2 -2
  42. package/dist/cli/{chunk-KE6CSCUF.js → chunk-6LG7MLJ2.js} +44 -44
  43. package/dist/cli/{chunk-HXM2JUGD.mjs → chunk-6Y5TU3R7.mjs} +2 -2
  44. package/dist/cli/{chunk-PFGOCUH3.mjs → chunk-7MY7KWJS.mjs} +1 -1
  45. package/dist/cli/{chunk-57G4NYOL.mjs → chunk-7ZW67ME6.mjs} +1 -1
  46. package/dist/cli/{chunk-JBWOE6AP.js → chunk-BTFUAGHC.js} +16 -16
  47. package/dist/cli/{chunk-5PR4VLLL.mjs → chunk-EEG46QZY.mjs} +2 -2
  48. package/dist/cli/{chunk-3I26HMJ7.js → chunk-EEJHB76U.js} +9 -9
  49. package/dist/cli/{chunk-2GJZLIKW.js → chunk-EITMD3A5.js} +1 -1
  50. package/dist/cli/{chunk-Z44YTSTA.js → chunk-F2VEFMU5.js} +13 -13
  51. package/dist/cli/{chunk-4JQEAYN3.js → chunk-F5YQXCP3.js} +5 -1
  52. package/dist/cli/{chunk-BEQ7RQLT.mjs → chunk-GOOF7E2B.mjs} +5 -5
  53. package/dist/cli/{chunk-PMW5YP72.mjs → chunk-GYTSDSQD.mjs} +11 -11
  54. package/dist/cli/{chunk-ZY6FL4O4.js → chunk-H7Q5IDO3.js} +19 -19
  55. package/dist/cli/{chunk-GV45TTI6.mjs → chunk-HJR2DDJS.mjs} +2 -2
  56. package/dist/cli/{chunk-7HMMTSDA.js → chunk-IVWU7SJC.js} +5 -5
  57. package/dist/cli/{chunk-WBSGPLH5.mjs → chunk-J65HJCJO.mjs} +2 -2
  58. package/dist/cli/{chunk-REEOMNCO.mjs → chunk-JA633HRV.mjs} +3 -3
  59. package/dist/cli/{chunk-HVJQF5BI.mjs → chunk-JARZ47OP.mjs} +2 -2
  60. package/dist/cli/{chunk-IFIJ4DBJ.js → chunk-JCH4UNNS.js} +2 -2
  61. package/dist/cli/{chunk-COJHT2KF.js → chunk-JCWNF44W.js} +22 -22
  62. package/dist/cli/{chunk-3KGMM4KS.js → chunk-JVOUQFHT.js} +1 -1
  63. package/dist/cli/{chunk-W7X4KH45.js → chunk-JYG4XZLT.js} +99 -99
  64. package/dist/cli/{chunk-HBSWATOU.mjs → chunk-K2XELBPF.mjs} +5 -5
  65. package/dist/cli/{chunk-HAQRF6DJ.mjs → chunk-KUK7ARXA.mjs} +2 -2
  66. package/dist/cli/{chunk-WUEORIOY.mjs → chunk-LHE2TSV6.mjs} +1 -1
  67. package/dist/cli/{chunk-7GNZEOTH.js → chunk-LIJKRDDG.js} +6 -6
  68. package/dist/cli/{chunk-SKS53WM6.mjs → chunk-LX2TC3HO.mjs} +4 -4
  69. package/dist/cli/{chunk-GQHRGBHV.js → chunk-MEGHIX4M.js} +5 -5
  70. package/dist/cli/{chunk-H4SAHB3Q.mjs → chunk-MI7X6V6V.mjs} +3 -3
  71. package/dist/cli/{chunk-ON56ISO6.js → chunk-MXQP7CXZ.js} +8 -8
  72. package/dist/cli/{chunk-PKRW76XG.js → chunk-ND7SFRQL.js} +2 -2
  73. package/dist/cli/{chunk-CQBIO6HW.mjs → chunk-NURW5XH4.mjs} +1 -1
  74. package/dist/cli/{chunk-Q7ZOWNKR.mjs → chunk-OAKWSLKS.mjs} +2 -2
  75. package/dist/cli/{chunk-SK3HPU2J.mjs → chunk-P7A3H6G5.mjs} +1 -1
  76. package/dist/cli/{chunk-UNMNGRPB.js → chunk-PMDHY2YK.js} +7 -7
  77. package/dist/cli/{chunk-LW274RO7.mjs → chunk-PU3ZAG6V.mjs} +1 -1
  78. package/dist/cli/{chunk-ZHY4T5M6.mjs → chunk-RO66FPTS.mjs} +22 -12
  79. package/dist/cli/{chunk-DYDHLBSK.js → chunk-SH32HL7I.js} +53 -53
  80. package/dist/cli/{chunk-DF2X7GJG.js → chunk-SYTWWVIQ.js} +5 -5
  81. package/dist/cli/{chunk-JWVG7ZPX.js → chunk-TBWYZOSV.js} +3 -3
  82. package/dist/cli/{chunk-RUFR4PUO.js → chunk-UQJBV5PM.js} +10 -10
  83. package/dist/cli/{chunk-LPUBBUKX.mjs → chunk-UREAIHUU.mjs} +2 -2
  84. package/dist/cli/{chunk-22OBDYHP.js → chunk-VAT2SXFF.js} +12 -12
  85. package/dist/cli/{chunk-LQ6RRYXN.mjs → chunk-VPERQ3U6.mjs} +5 -5
  86. package/dist/cli/{chunk-456RRXAP.mjs → chunk-VTK3HGMN.mjs} +5 -5
  87. package/dist/cli/{chunk-DVDWAC2M.mjs → chunk-VXTTAYOT.mjs} +2 -2
  88. package/dist/cli/{chunk-4PKHFW56.js → chunk-WKHPLBJK.js} +15 -15
  89. package/dist/cli/{chunk-YIRVKMON.mjs → chunk-X5KOHDJN.mjs} +1 -1
  90. package/dist/cli/{chunk-C4P2KLWT.js → chunk-Z3UEBFIN.js} +41 -41
  91. package/dist/cli/command-docs.js +2 -2
  92. package/dist/cli/command-docs.mjs +1 -1
  93. package/dist/cli/concurrent-runs-help-6QT7ZR4W.js +21 -0
  94. package/dist/cli/{concurrent-runs-help-KBWPKSTP.mjs → concurrent-runs-help-C2O5YKQA.mjs} +7 -7
  95. package/dist/cli/{csv-XGGDZTQI.js → csv-MJDNOIQJ.js} +14 -14
  96. package/dist/cli/{csv-M5EBEMZH.mjs → csv-Z4DNGR54.mjs} +5 -5
  97. package/dist/cli/{db-M6FJ6J6E.mjs → db-4RL2BNOF.mjs} +7 -7
  98. package/dist/cli/{db-CVPR54XK.js → db-S5QVPK5E.js} +32 -32
  99. package/dist/cli/{describe-X6QA2U3C.mjs → describe-L4P5SZLQ.mjs} +19 -19
  100. package/dist/cli/describe-VLU2LUDJ.js +50 -0
  101. package/dist/cli/describe-core.d.mts +3 -3
  102. package/dist/cli/describe-core.d.ts +3 -3
  103. package/dist/cli/describe-core.js +1 -1
  104. package/dist/cli/describe-core.mjs +1 -1
  105. package/dist/cli/{executions-VJEEWN22.js → executions-MFZ2Z36O.js} +9 -9
  106. package/dist/cli/{executions-EHTS2XJX.mjs → executions-RR6O3XK5.mjs} +7 -7
  107. package/dist/cli/{feedback-76VGY4GP.mjs → feedback-EQBQ3ABB.mjs} +7 -7
  108. package/dist/cli/{feedback-DQPUCUXO.js → feedback-YDAG7VH2.js} +15 -15
  109. package/dist/cli/git-E6W44F5M.js +25 -0
  110. package/dist/cli/{git-IY6DKKLR.mjs → git-YGLCCU35.mjs} +6 -6
  111. package/dist/cli/index.js +150 -150
  112. package/dist/cli/index.mjs +46 -46
  113. package/dist/cli/{integrations-242LE3TQ.mjs → integrations-FWYXSBHK.mjs} +8 -8
  114. package/dist/cli/{integrations-CQSTIKFY.js → integrations-IQXYMRMW.js} +16 -16
  115. package/dist/cli/{legacy-noops-SWTSTMRY.mjs → legacy-noops-I4YRIX5F.mjs} +7 -7
  116. package/dist/cli/{legacy-noops-U72DO6ZF.js → legacy-noops-U7LI7UXC.js} +10 -10
  117. package/dist/cli/{mcp-L473BKLJ.js → mcp-GX2UKKWU.js} +25 -25
  118. package/dist/cli/{mcp-JJH6JR52.mjs → mcp-QJBMB6VS.mjs} +5 -5
  119. package/dist/cli/{monitors-3TF2DOFD.js → monitors-WCJYINGX.js} +164 -106
  120. package/dist/cli/{monitors-VSYHUBKC.mjs → monitors-Z6EGKYJP.mjs} +70 -12
  121. package/dist/cli/{org-YKVI2ZTI.js → org-7SKG423N.js} +89 -89
  122. package/dist/cli/{org-S5VIKU2E.mjs → org-NNHICBR2.mjs} +7 -7
  123. package/dist/cli/{play-DOWEG45Y.js → play-4P4DTG3Q.js} +318 -318
  124. package/dist/cli/{play-C7T5A3QM.mjs → play-CXDFPJ7Z.mjs} +18 -18
  125. package/dist/cli/{providers-TAZPPFTB.js → providers-EE4TUE3O.js} +10 -10
  126. package/dist/cli/{providers-BMVVX3VD.mjs → providers-VQLQ7DTR.mjs} +7 -7
  127. package/dist/cli/{quickstart-A3WKMKTW.mjs → quickstart-IYNJRB5G.mjs} +5 -5
  128. package/dist/cli/{quickstart-HD6FQXGR.js → quickstart-RVXHK4WA.js} +7 -7
  129. package/dist/cli/{run-BVVV2UX7.js → run-R3F34KU3.js} +44 -44
  130. package/dist/cli/{run-FV7TWNOC.mjs → run-VBQPPMEX.mjs} +24 -24
  131. package/dist/cli/{search-MGK6WIKS.mjs → search-B7R62HX5.mjs} +8 -8
  132. package/dist/cli/search-UUVFXZRA.js +32 -0
  133. package/dist/cli/{search-output-GM7LDZKE.mjs → search-output-LNQQXIGZ.mjs} +5 -5
  134. package/dist/cli/{search-output-6Y7KEPIE.js → search-output-LWHWEPOT.js} +7 -7
  135. package/dist/cli/{secrets-4RFAR7YI.mjs → secrets-NM3VAJLO.mjs} +7 -7
  136. package/dist/cli/{secrets-SISXIXSZ.js → secrets-QBOZ7WTD.js} +16 -16
  137. package/dist/cli/sessions-K3PD73Q2.js +22 -0
  138. package/dist/cli/{sessions-CE3OMEG7.mjs → sessions-R5BSIJ4I.mjs} +7 -7
  139. package/dist/cli/{settings-4HPM3K4A.js → settings-POYWKNRD.js} +86 -86
  140. package/dist/cli/{settings-E22IDSX2.mjs → settings-S4PN7WLY.mjs} +13 -13
  141. package/dist/cli/{setup-BK65MDZ6.mjs → setup-PFLXVBTL.mjs} +10 -10
  142. package/dist/cli/{setup-BDRSNLKX.js → setup-VHB4Z654.js} +50 -50
  143. package/dist/cli/skills-QNE2EYT3.js +36 -0
  144. package/dist/cli/{skills-FI2GZMR4.mjs → skills-W2TELEU7.mjs} +8 -8
  145. package/dist/cli/tools-3RLI4HGF.js +57 -0
  146. package/dist/cli/{tools-HMMWYUNW.mjs → tools-M4FA6N3Y.mjs} +18 -18
  147. package/dist/cli/update-UT6KIW2W.js +34 -0
  148. package/dist/cli/{update-WDKBSXV5.mjs → update-W7LIHEA7.mjs} +10 -10
  149. package/dist/cli/{views-775AUDWQ.js → views-DJXAGD7V.js} +22 -22
  150. package/dist/cli/{views-JYIJCO23.mjs → views-KTVPV6UP.mjs} +7 -7
  151. package/dist/cli/{workflow-FKKHE3IU.mjs → workflow-LGKCRODX.mjs} +8 -8
  152. package/dist/cli/{workflow-4H6KQRFQ.js → workflow-NVZDJKH2.js} +18 -18
  153. package/dist/{client-DD_FyJVd.d.ts → client-CCyWJqAI.d.ts} +1 -1
  154. package/dist/{client-ANT3pyoa.d.mts → client-Tp1LSULB.d.mts} +1 -1
  155. package/dist/{client-core-QHmo73k1.d.ts → client-core-BpYiYEfu.d.ts} +10 -1
  156. package/dist/{client-core-Dg9tKhdB.d.mts → client-core-D8eCZz3O.d.mts} +10 -1
  157. package/dist/{compiler-manifest-BWFtsQIC.d.ts → compiler-manifest-EBWEUj0b.d.mts} +35 -0
  158. package/dist/{compiler-manifest-BWFtsQIC.d.mts → compiler-manifest-EBWEUj0b.d.ts} +35 -0
  159. package/dist/{errors-Lm9_vJHZ.d.ts → errors-CParKUQR.d.mts} +2 -2
  160. package/dist/{errors-CwKXXtuu.d.mts → errors-Qt0OTA7_.d.ts} +2 -2
  161. package/dist/{index-DjwsAt82.d.mts → index-BMUVCNp7.d.mts} +1 -1
  162. package/dist/{index-3vJ-V9yw.d.ts → index-CoqDkIw0.d.ts} +1 -1
  163. package/dist/index.d.mts +7 -7
  164. package/dist/index.d.ts +7 -7
  165. package/dist/index.js +10 -10
  166. package/dist/index.mjs +7 -7
  167. package/dist/install-integrity.json +126 -124
  168. package/dist/plays/bundle-play-file.d.mts +3 -3
  169. package/dist/plays/bundle-play-file.d.ts +3 -3
  170. package/dist/plays/bundle-play-file.mjs +20 -1
  171. package/dist/plays/play-description.d.mts +2 -2
  172. package/dist/plays/play-description.d.ts +2 -2
  173. package/dist/plays/run-request.d.mts +2 -2
  174. package/dist/plays/run-request.d.ts +2 -2
  175. package/dist/release.d.mts +1 -1
  176. package/dist/release.d.ts +1 -1
  177. package/dist/release.js +2 -2
  178. package/dist/release.mjs +1 -1
  179. package/dist/server.d.mts +4 -4
  180. package/dist/server.d.ts +4 -4
  181. package/dist/server.js +10 -10
  182. package/dist/server.mjs +4 -4
  183. package/package.json +1 -1
  184. package/dist/cli/auth-ENBXAKQS.js +0 -43
  185. package/dist/cli/concurrent-runs-help-TOMLCMV7.js +0 -21
  186. package/dist/cli/describe-RUODIS6M.js +0 -50
  187. package/dist/cli/git-RLHTSYRY.js +0 -25
  188. package/dist/cli/search-VJFCWUZN.js +0 -32
  189. package/dist/cli/sessions-OWWZJZXH.js +0 -22
  190. package/dist/cli/skills-ZLBFUAFR.js +0 -36
  191. package/dist/cli/tools-3K72VE33.js +0 -57
  192. package/dist/cli/update-QZV6DH5V.js +0 -34
@@ -11,20 +11,20 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-BEQ7RQLT.mjs";
14
+ } from "./chunk-GOOF7E2B.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-DVDWAC2M.mjs";
17
+ } from "./chunk-VXTTAYOT.mjs";
18
18
  import {
19
19
  autoDetectBaseUrl,
20
20
  ensureProjectPrivatePathsIgnored,
21
21
  resolveProjectPinTarget,
22
22
  sdkCliStateDirPath
23
- } from "./chunk-HXM2JUGD.mjs";
23
+ } from "./chunk-6Y5TU3R7.mjs";
24
24
  import {
25
25
  SDK_VERSION,
26
26
  detectAgentRuntime
27
- } from "./chunk-ZHY4T5M6.mjs";
27
+ } from "./chunk-RO66FPTS.mjs";
28
28
  import {
29
29
  DEEPLINE_GTM_GLOBAL_SKILL_ROOTS
30
30
  } from "./chunk-5JPKRDFC.mjs";
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk2GJZLIKWjs = require('./chunk-2GJZLIKW.js');
5
+ var _chunkEITMD3A5js = require('./chunk-EITMD3A5.js');
6
6
 
7
7
 
8
8
 
@@ -17,12 +17,12 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
17
17
  var _chunkBBTKAASQjs = require('./chunk-BBTKAASQ.js');
18
18
 
19
19
 
20
- var _chunk3KGMM4KSjs = require('./chunk-3KGMM4KS.js');
20
+ var _chunkJVOUQFHTjs = require('./chunk-JVOUQFHT.js');
21
21
 
22
22
  // src/version.ts
23
- var SDK_VERSION = _chunk3KGMM4KSjs.SDK_RELEASE.version;
24
- var SDK_API_MAJOR = _chunk3KGMM4KSjs.SDK_RELEASE.contracts.api.currentMajor;
25
- var SDK_API_CONTRACT = _nullishCoalesce(_chunk3KGMM4KSjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
23
+ var SDK_VERSION = _chunkJVOUQFHTjs.SDK_RELEASE.version;
24
+ var SDK_API_MAJOR = _chunkJVOUQFHTjs.SDK_RELEASE.contracts.api.currentMajor;
25
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkJVOUQFHTjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
26
26
 
27
27
  // src/agent-runtime.ts
28
28
  var _fs = require('fs');
@@ -479,7 +479,7 @@ var HttpClient = class {
479
479
  }
480
480
  let lastError = null;
481
481
  const candidateUrls = _optionalChain([options, 'optionalAccess', _129 => _129.exactUrlOnly]) ? [url] : buildCandidateUrls(url);
482
- let retryAfterDelayMs = null;
482
+ let retryAfterHint = null;
483
483
  let totalRetryWaitMs = 0;
484
484
  let maxRetries = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _130 => _130.maxRetries]), () => ( this.config.maxRetries));
485
485
  requestAttempts: for (let attempt = 0; attempt <= maxRetries; attempt++) {
@@ -490,8 +490,8 @@ var HttpClient = class {
490
490
  }
491
491
  if (attempt > 0) {
492
492
  const backoffMs = Math.min(1e3 * Math.pow(2, attempt - 1), 3e4);
493
- const delayMs = retryAfterDelayMs === null ? backoffMs : Math.max(backoffMs, retryAfterDelayMs);
494
- retryAfterDelayMs = null;
493
+ const delayMs = retryAfterHint === null ? backoffMs : retryAfterHint.exact && attempt === 1 ? retryAfterHint.delayMs : Math.max(backoffMs, retryAfterHint.delayMs);
494
+ retryAfterHint = null;
495
495
  if (totalRetryWaitMs + delayMs > MAX_AUTOMATIC_RETRY_WAIT_MS) {
496
496
  break requestAttempts;
497
497
  }
@@ -565,12 +565,15 @@ var HttpClient = class {
565
565
  if (response.status === 429) {
566
566
  const retryAfter = parseRetryAfter(response);
567
567
  const failure = _chunkBBTKAASQjs.serializeToolExecutionFailure.call(void 0, structuredToolError);
568
- lastError = failure === null ? structuredToolError : new (0, _chunk2GJZLIKWjs.ToolRateLimitError)(structuredToolError.message, {
568
+ lastError = failure === null ? structuredToolError : new (0, _chunkEITMD3A5js.ToolRateLimitError)(structuredToolError.message, {
569
569
  ...failure,
570
570
  retryAfterMs: _nullishCoalesce(failure.retryAfterMs, () => ( Math.max(0, retryAfter)))
571
571
  });
572
572
  if (responseRetryAllowed && attempt < maxRetries) {
573
- retryAfterDelayMs = retryAfter;
573
+ retryAfterHint = _nullishCoalesce(parseRetryAfterHint(response), () => ( {
574
+ delayMs: retryAfter,
575
+ exact: false
576
+ }));
574
577
  break;
575
578
  }
576
579
  throw _chunkBBTKAASQjs.attachToolUpstreamResponse.call(void 0, lastError, parsed);
@@ -587,15 +590,18 @@ var HttpClient = class {
587
590
  );
588
591
  }
589
592
  const retryAfter = parseRetryAfter(response);
590
- lastError = new (0, _chunk2GJZLIKWjs.RateLimitError)(retryAfter);
593
+ lastError = new (0, _chunkEITMD3A5js.RateLimitError)(retryAfter);
591
594
  if (responseRetryAllowed && attempt < maxRetries) {
592
- retryAfterDelayMs = retryAfter;
595
+ retryAfterHint = _nullishCoalesce(parseRetryAfterHint(response), () => ( {
596
+ delayMs: retryAfter,
597
+ exact: false
598
+ }));
593
599
  break;
594
600
  }
595
601
  throw _optionalChain([options, 'optionalAccess', _151 => _151.toolId]) ? _chunkBBTKAASQjs.attachToolUpstreamResponse.call(void 0, lastError, parsed) : lastError;
596
602
  }
597
603
  if (response.status === 401 && !isProviderOriginatedHttpError(parsed)) {
598
- throw new (0, _chunk2GJZLIKWjs.AuthError)(_chunkXNYIZMNQjs.apiErrorMessage.call(void 0, parsed, response.status));
604
+ throw new (0, _chunkEITMD3A5js.AuthError)(_chunkXNYIZMNQjs.apiErrorMessage.call(void 0, parsed, response.status));
599
605
  }
600
606
  if (!response.ok) {
601
607
  const retryableApiError = _optionalChain([options, 'optionalAccess', _152 => _152.retryApiErrors]) === true && responseRetryAllowed && isRetryableApiErrorResponse(response.status);
@@ -615,7 +621,7 @@ var HttpClient = class {
615
621
  }
616
622
  );
617
623
  if (retryableApiError && attempt < maxRetries) {
618
- retryAfterDelayMs = parseOptionalRetryAfter(response);
624
+ retryAfterHint = parseRetryAfterHint(response);
619
625
  break;
620
626
  }
621
627
  throw lastError;
@@ -627,7 +633,7 @@ var HttpClient = class {
627
633
  response: parsed
628
634
  });
629
635
  if (retryableApiError && attempt < maxRetries) {
630
- retryAfterDelayMs = parseOptionalRetryAfter(response);
636
+ retryAfterHint = parseRetryAfterHint(response);
631
637
  break;
632
638
  }
633
639
  throw _optionalChain([options, 'optionalAccess', _153 => _153.toolId]) ? _chunkBBTKAASQjs.attachToolUpstreamResponse.call(void 0, lastError, parsed) : lastError;
@@ -654,10 +660,10 @@ var HttpClient = class {
654
660
  lastError = requestCancelledError(options.signal);
655
661
  break requestAttempts;
656
662
  }
657
- if (error instanceof _chunk2GJZLIKWjs.AuthError || error instanceof _chunkBBTKAASQjs.DeeplineError) {
663
+ if (error instanceof _chunkEITMD3A5js.AuthError || error instanceof _chunkBBTKAASQjs.DeeplineError) {
658
664
  throw error;
659
665
  }
660
- if (error instanceof _chunk2GJZLIKWjs.RateLimitError) {
666
+ if (error instanceof _chunkEITMD3A5js.RateLimitError) {
661
667
  lastError = error;
662
668
  break;
663
669
  }
@@ -773,7 +779,7 @@ var HttpClient = class {
773
779
  const body = await response.text();
774
780
  const parsed = parseResponseBody(body);
775
781
  if (response.status === 401 && !isProviderOriginatedHttpError(parsed)) {
776
- throw new (0, _chunk2GJZLIKWjs.AuthError)(_chunkXNYIZMNQjs.apiErrorMessage.call(void 0, parsed, response.status));
782
+ throw new (0, _chunkEITMD3A5js.AuthError)(_chunkXNYIZMNQjs.apiErrorMessage.call(void 0, parsed, response.status));
777
783
  }
778
784
  const htmlError = detectHtmlErrorBody(
779
785
  body,
@@ -804,7 +810,7 @@ var HttpClient = class {
804
810
  yield* decodeSseStream(response.body);
805
811
  return;
806
812
  } catch (error) {
807
- if (error instanceof _chunk2GJZLIKWjs.AuthError || error instanceof _chunkBBTKAASQjs.DeeplineError) {
813
+ if (error instanceof _chunkEITMD3A5js.AuthError || error instanceof _chunkBBTKAASQjs.DeeplineError) {
808
814
  throw error;
809
815
  }
810
816
  const normalized = error instanceof Error ? error : new Error(String(error));
@@ -933,14 +939,18 @@ function detectHtmlErrorBody(body, contentType) {
933
939
  };
934
940
  }
935
941
  function parseRetryAfter(response) {
936
- return _nullishCoalesce(parseOptionalRetryAfter(response), () => ( 5e3));
942
+ return _nullishCoalesce(_optionalChain([parseRetryAfterHint, 'call', _185 => _185(response), 'optionalAccess', _186 => _186.delayMs]), () => ( 5e3));
937
943
  }
938
- function parseOptionalRetryAfter(response) {
944
+ function parseRetryAfterHint(response) {
945
+ const exactMs = Number(_nullishCoalesce(response.headers.get("retry-after-ms"), () => ( "")));
946
+ if (Number.isFinite(exactMs) && exactMs > 0) {
947
+ return { delayMs: Math.ceil(exactMs), exact: true };
948
+ }
939
949
  const header = response.headers.get("retry-after");
940
950
  if (header) {
941
951
  const seconds = Number(header);
942
952
  if (Number.isFinite(seconds) && seconds > 0) {
943
- return seconds * 1e3;
953
+ return { delayMs: seconds * 1e3, exact: false };
944
954
  }
945
955
  }
946
956
  return null;
@@ -999,20 +1009,20 @@ function decodeSseFrame(frame) {
999
1009
  }
1000
1010
  function sleep(ms, signal) {
1001
1011
  return new Promise((resolve, reject) => {
1002
- if (_optionalChain([signal, 'optionalAccess', _185 => _185.aborted])) {
1012
+ if (_optionalChain([signal, 'optionalAccess', _187 => _187.aborted])) {
1003
1013
  reject(requestCancelledError(signal));
1004
1014
  return;
1005
1015
  }
1006
1016
  const timeoutId = setTimeout(() => {
1007
- _optionalChain([signal, 'optionalAccess', _186 => _186.removeEventListener, 'call', _187 => _187("abort", abort)]);
1017
+ _optionalChain([signal, 'optionalAccess', _188 => _188.removeEventListener, 'call', _189 => _189("abort", abort)]);
1008
1018
  resolve();
1009
1019
  }, ms);
1010
1020
  const abort = () => {
1011
1021
  clearTimeout(timeoutId);
1012
- _optionalChain([signal, 'optionalAccess', _188 => _188.removeEventListener, 'call', _189 => _189("abort", abort)]);
1022
+ _optionalChain([signal, 'optionalAccess', _190 => _190.removeEventListener, 'call', _191 => _191("abort", abort)]);
1013
1023
  reject(requestCancelledError(signal));
1014
1024
  };
1015
- _optionalChain([signal, 'optionalAccess', _190 => _190.addEventListener, 'call', _191 => _191("abort", abort, { once: true })]);
1025
+ _optionalChain([signal, 'optionalAccess', _192 => _192.addEventListener, 'call', _193 => _193("abort", abort, { once: true })]);
1016
1026
  });
1017
1027
  }
1018
1028
  function withCoworkNetworkHint(message) {
@@ -1140,7 +1140,11 @@ Authoring rules:
1140
1140
  first (name, company, email, the final answer, status) and ids, raw
1141
1141
  provider payloads and intermediate attempts toward the end. Each run
1142
1142
  records its own order, so reordering a Play's columns shows from its next
1143
- run on. A column whose name starts with _ is kept with the row but hidden
1143
+ run on. When dependencies force a raw result or cascade first, list what
1144
+ readers should see first: .run({ columnOrder: ['full_name', 'email'] }).
1145
+ The rest keep their declared order. Use literal names; plays check warns
1146
+ about one it cannot find.
1147
+ A column whose name starts with _ is kept with the row but hidden
1144
1148
  from the run page: use it for values people do not need to see (raw
1145
1149
  payloads, internal ids). _key, _status, _error, _stage, _provider and
1146
1150
  _run_id are reserved.
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkZY6FL4O4js = require('./chunk-ZY6FL4O4.js');
3
+ var _chunkH7Q5IDO3js = require('./chunk-H7Q5IDO3.js');
4
4
 
5
5
  // src/cli/feedback-preferences.ts
6
6
 
@@ -57,7 +57,7 @@ function rejectRestrictedFeedback(options) {
57
57
  const code = restriction === "off" ? "FEEDBACK_DISABLED" : "FEEDBACK_APPROVAL_REQUIRED";
58
58
  const message = restriction === "off" ? 'Feedback is in mode "off". Do not ask the user if they want to send feedback. Use --requested only if they explicitly request it without being prompted.' : "Ask the user if they wish to send feedback. If they agree, rerun the send command with --requested. To change the setting, run deepline settings feedback --help. Agents must get user approval before turning feedback on.";
59
59
  if (options.json) {
60
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
60
+ _chunkH7Q5IDO3js.printCommandEnvelope.call(void 0,
61
61
  { ok: false, code, exitCode: 2, message },
62
62
  { json: true }
63
63
  );
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkZY6FL4O4js = require('./chunk-ZY6FL4O4.js');
5
+ var _chunkH7Q5IDO3js = require('./chunk-H7Q5IDO3.js');
6
6
 
7
7
 
8
- var _chunkON56ISO6js = require('./chunk-ON56ISO6.js');
8
+ var _chunkMXQP7CXZjs = require('./chunk-MXQP7CXZ.js');
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -32,11 +32,11 @@ function renderDeployment(deployment) {
32
32
  return `${deployment.id} ${source} (${kind}) - ${deployment.status}${suffix}`;
33
33
  }
34
34
  async function handleList(options) {
35
- const { http } = _chunkZY6FL4O4js.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkH7Q5IDO3js.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
39
+ _chunkH7Q5IDO3js.printCommandEnvelope.call(void 0,
40
40
  {
41
41
  projects: payload.projects,
42
42
  count: payload.projects.length,
@@ -73,7 +73,7 @@ function describeInstallationStatus(installation) {
73
73
  }
74
74
  }
75
75
  async function handleStatus(options) {
76
- const { http } = _chunkZY6FL4O4js.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkH7Q5IDO3js.getAuthedHttpClient.call(void 0, );
77
77
  const payload = await http.get("/api/v2/github/installation");
78
78
  const installation = payload.installation;
79
79
  const others = (_nullishCoalesce(payload.installations, () => ( []))).filter(
@@ -136,7 +136,7 @@ async function handleStatus(options) {
136
136
  )
137
137
  );
138
138
  }
139
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
139
+ _chunkH7Q5IDO3js.printCommandEnvelope.call(void 0,
140
140
  {
141
141
  installation,
142
142
  installations: _nullishCoalesce(payload.installations, () => ( [])),
@@ -147,10 +147,10 @@ async function handleStatus(options) {
147
147
  );
148
148
  }
149
149
  async function handleRepos(options) {
150
- const { http } = _chunkZY6FL4O4js.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkH7Q5IDO3js.getAuthedHttpClient.call(void 0, );
151
151
  const query = options.installation ? `?installationId=${encodeURIComponent(options.installation)}` : "";
152
152
  const payload = await http.get(`/api/v2/github/repos${query}`);
153
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
153
+ _chunkH7Q5IDO3js.printCommandEnvelope.call(void 0,
154
154
  {
155
155
  installation: payload.installation,
156
156
  repositories: payload.repositories,
@@ -171,7 +171,7 @@ async function handleRepos(options) {
171
171
  }
172
172
  async function resolveRepoId(repo, installation) {
173
173
  if (/^\d+$/.test(repo)) return Number(repo);
174
- const { http } = _chunkZY6FL4O4js.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkH7Q5IDO3js.getAuthedHttpClient.call(void 0, );
175
175
  const query = installation ? `?installationId=${encodeURIComponent(installation)}` : "";
176
176
  const payload = await http.get(
177
177
  `/api/v2/github/repos${query}`
@@ -188,7 +188,7 @@ async function resolveRepoId(repo, installation) {
188
188
  }
189
189
  async function handleLink(repo, options) {
190
190
  const repoId = await resolveRepoId(repo, options.installation);
191
- const { http } = _chunkZY6FL4O4js.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkH7Q5IDO3js.getAuthedHttpClient.call(void 0, );
192
192
  const payload = await http.post("/api/v2/play-projects", {
193
193
  repoId,
194
194
  ...options.installation !== void 0 ? { installationId: options.installation } : {},
@@ -197,7 +197,7 @@ async function handleLink(repo, options) {
197
197
  ...options.branch !== void 0 ? { productionBranch: options.branch } : {},
198
198
  ...options.prChecks !== void 0 ? { checkOnPullRequest: options.prChecks } : {}
199
199
  });
200
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
200
+ _chunkH7Q5IDO3js.printCommandEnvelope.call(void 0,
201
201
  {
202
202
  project: payload.project,
203
203
  render: {
@@ -220,11 +220,11 @@ async function handleLink(repo, options) {
220
220
  );
221
221
  }
222
222
  async function handleGet(id, options) {
223
- const { http } = _chunkZY6FL4O4js.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkH7Q5IDO3js.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
227
+ _chunkH7Q5IDO3js.printCommandEnvelope.call(void 0,
228
228
  {
229
229
  project: payload.project,
230
230
  render: {
@@ -240,7 +240,7 @@ async function handleGet(id, options) {
240
240
  );
241
241
  }
242
242
  async function handleSet(id, options) {
243
- const { http } = _chunkZY6FL4O4js.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkH7Q5IDO3js.getAuthedHttpClient.call(void 0, );
244
244
  const payload = await http.patch(
245
245
  `/api/v2/play-projects/${encodeURIComponent(id)}`,
246
246
  {
@@ -251,7 +251,7 @@ async function handleSet(id, options) {
251
251
  ...options.disabled !== void 0 ? { disabled: options.disabled } : {}
252
252
  }
253
253
  );
254
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
254
+ _chunkH7Q5IDO3js.printCommandEnvelope.call(void 0,
255
255
  {
256
256
  project: payload.project,
257
257
  render: {
@@ -264,9 +264,9 @@ async function handleSet(id, options) {
264
264
  );
265
265
  }
266
266
  async function handleUnlink(id, options) {
267
- const { http } = _chunkZY6FL4O4js.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkH7Q5IDO3js.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
269
+ _chunkH7Q5IDO3js.printCommandEnvelope.call(void 0,
270
270
  {
271
271
  ok: true,
272
272
  id,
@@ -286,10 +286,10 @@ async function handleUnlink(id, options) {
286
286
  );
287
287
  }
288
288
  async function handleConnect(options) {
289
- const baseUrl = _chunkON56ISO6js.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkMXQP7CXZjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkZY6FL4O4js.openInBrowser.call(void 0, connectUrl);
292
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkH7Q5IDO3js.openInBrowser.call(void 0, connectUrl);
292
+ _chunkH7Q5IDO3js.printCommandEnvelope.call(void 0,
293
293
  {
294
294
  connectUrl,
295
295
  browser: opened,
@@ -311,7 +311,7 @@ async function handleConnect(options) {
311
311
  );
312
312
  }
313
313
  async function handleDeploymentsList(options) {
314
- const { http } = _chunkZY6FL4O4js.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkH7Q5IDO3js.getAuthedHttpClient.call(void 0, );
315
315
  const query = new URLSearchParams();
316
316
  if (options.repo) query.set("projectId", options.repo);
317
317
  if (options.limit) query.set("limit", options.limit);
@@ -319,7 +319,7 @@ async function handleDeploymentsList(options) {
319
319
  const payload = await http.get(
320
320
  `/api/v2/deployments${suffix}`
321
321
  );
322
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
322
+ _chunkH7Q5IDO3js.printCommandEnvelope.call(void 0,
323
323
  {
324
324
  deployments: payload.deployments,
325
325
  count: payload.deployments.length,
@@ -363,12 +363,12 @@ function renderDeploymentMonitorLines(results) {
363
363
  ]);
364
364
  }
365
365
  async function handleDeploymentGet(id, options) {
366
- const { http } = _chunkZY6FL4O4js.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkH7Q5IDO3js.getAuthedHttpClient.call(void 0, );
367
367
  const payload = await http.get(`/api/v2/deployments/${encodeURIComponent(id)}`);
368
368
  const playLines = renderDeploymentPlayLines(payload.deployment.results);
369
369
  const monitorLines = renderDeploymentMonitorLines(payload.deployment.results);
370
370
  const repository = _nullishCoalesce(_optionalChain([payload, 'access', _10 => _10.project, 'optionalAccess', _11 => _11.repoFullName]), () => ( payload.deployment.repoFullName));
371
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
371
+ _chunkH7Q5IDO3js.printCommandEnvelope.call(void 0,
372
372
  {
373
373
  deployment: payload.deployment,
374
374
  project: payload.project,
@@ -387,9 +387,9 @@ async function handleDeploymentGet(id, options) {
387
387
  );
388
388
  }
389
389
  async function handleDeploymentCancel(id, options) {
390
- const { http } = _chunkZY6FL4O4js.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkH7Q5IDO3js.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
392
+ _chunkH7Q5IDO3js.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -36,10 +36,10 @@ var _chunkPMH4GLMDjs = require('./chunk-PMH4GLMD.js');
36
36
 
37
37
 
38
38
 
39
- var _chunkG26VJCNTjs = require('./chunk-G26VJCNT.js');
39
+ var _chunk4AZLGNXVjs = require('./chunk-4AZLGNXV.js');
40
40
 
41
41
 
42
- var _chunk2GJZLIKWjs = require('./chunk-2GJZLIKW.js');
42
+ var _chunkEITMD3A5js = require('./chunk-EITMD3A5.js');
43
43
 
44
44
 
45
45
 
@@ -152,7 +152,7 @@ async function queryCustomerDatabase(http, input, maxRetries) {
152
152
  if (error instanceof _chunkBBTKAASQjs.DeeplineError && (_optionalChain([error, 'access', _ => _.code, 'optionalAccess', _2 => _2.startsWith, 'call', _3 => _3("NETWORK_")]) || // Older API readers return PostgreSQL errors as HTTP 400, including
153
153
  // lost connections and explicitly unknown transaction resolution.
154
154
  /^08[A-Z0-9]{3}$/.test(_nullishCoalesce(error.code, () => ( ""))) || ["57P01", "57P02", "57P03"].includes(_nullishCoalesce(error.code, () => ( ""))) || error.statusCode === 408 || (_nullishCoalesce(error.statusCode, () => ( 0))) >= 500)) {
155
- throw new (0, _chunk2GJZLIKWjs.CustomerDbQueryOutcomeUnknownError)(
155
+ throw new (0, _chunkEITMD3A5js.CustomerDbQueryOutcomeUnknownError)(
156
156
  error,
157
157
  plan.request.body.operation_key
158
158
  );
@@ -160,7 +160,7 @@ async function queryCustomerDatabase(http, input, maxRetries) {
160
160
  throw error;
161
161
  }
162
162
  if (!result || typeof result !== "object" || Array.isArray(result) || typeof result.command !== "string" || !Array.isArray(result.columns) || !Array.isArray(result.rows) || typeof result.truncated !== "boolean" || result.row_count !== null && (!Number.isSafeInteger(result.row_count) || result.row_count < 0) || !Number.isSafeInteger(result.row_count_returned) || result.row_count_returned < 0) {
163
- throw new (0, _chunk2GJZLIKWjs.CustomerDbQueryOutcomeUnknownError)(
163
+ throw new (0, _chunkEITMD3A5js.CustomerDbQueryOutcomeUnknownError)(
164
164
  new (0, _chunkBBTKAASQjs.DeeplineError)(
165
165
  "The SQL response did not contain a valid result.",
166
166
  200,
@@ -171,7 +171,7 @@ async function queryCustomerDatabase(http, input, maxRetries) {
171
171
  }
172
172
  const operation = result.operation;
173
173
  if (input.operationKey !== void 0 && (!operation || operation.operation_key !== input.operationKey || !Number.isSafeInteger(operation.completed_at_ms) || operation.completed_at_ms < 0 || !["executed", "operation_recovery"].includes(operation.source))) {
174
- throw new (0, _chunk2GJZLIKWjs.CustomerDbQueryOutcomeUnknownError)(
174
+ throw new (0, _chunkEITMD3A5js.CustomerDbQueryOutcomeUnknownError)(
175
175
  new (0, _chunkBBTKAASQjs.DeeplineError)(
176
176
  "The server did not confirm the original atomic SQL operation.",
177
177
  200,
@@ -688,7 +688,7 @@ var ToolCalls = class {
688
688
  idempotencyKey,
689
689
  onResponse: (response2) => {
690
690
  lastResponse = null;
691
- atomicToolsSupported = response2.headers.get(_chunkG26VJCNTjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
691
+ atomicToolsSupported = response2.headers.get(_chunk4AZLGNXVjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
692
692
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
693
693
  if (_optionalChain([options, 'optionalAccess', _33 => _33.onServerTiming])) {
694
694
  try {
@@ -1075,15 +1075,15 @@ function runtimeSelectionHeaders(runtime, env) {
1075
1075
  }
1076
1076
  const receivers = _optionalChain([env, 'access', _58 => _58.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _59 => _59.trim, 'call', _60 => _60()]);
1077
1077
  return {
1078
- [_chunkG26VJCNTjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1079
- ...receivers ? { [_chunkG26VJCNTjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1078
+ [_chunk4AZLGNXVjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1079
+ ...receivers ? { [_chunk4AZLGNXVjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1080
1080
  };
1081
1081
  }
1082
1082
  function playRunStartHeaders(runtime, env) {
1083
1083
  const headers = runtimeSelectionHeaders(runtime, env);
1084
1084
  const experimentSwitches = _optionalChain([env, 'access', _61 => _61.DEEPLINE_EXPERIMENT_SWITCHES, 'optionalAccess', _62 => _62.trim, 'call', _63 => _63()]);
1085
1085
  if (!experimentSwitches) return headers;
1086
- return { ...headers, [_chunkG26VJCNTjs.EXPERIMENT_SWITCHES_HEADER]: experimentSwitches };
1086
+ return { ...headers, [_chunk4AZLGNXVjs.EXPERIMENT_SWITCHES_HEADER]: experimentSwitches };
1087
1087
  }
1088
1088
  function normalizeTestPolicyOverrides(value, source) {
1089
1089
  if (value && typeof value === "object" && !Array.isArray(value)) {
@@ -1153,7 +1153,7 @@ var PlayClient = class {
1153
1153
  return _chunkSL6MYJYMjs.startPlayRun.call(void 0,
1154
1154
  this.http,
1155
1155
  resolved.request,
1156
- _optionalChain([options, 'optionalAccess', _71 => _71.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkG26VJCNTjs.SDK_API_MAJOR) } : headers,
1156
+ _optionalChain([options, 'optionalAccess', _71 => _71.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunk4AZLGNXVjs.SDK_API_MAJOR) } : headers,
1157
1157
  options
1158
1158
  );
1159
1159
  }
@@ -3369,7 +3369,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3369
3369
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3370
3370
  );
3371
3371
  }
3372
- return { [_chunkG26VJCNTjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3372
+ return { [_chunk4AZLGNXVjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3373
3373
  }
3374
3374
  function sleep(ms) {
3375
3375
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -4284,7 +4284,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4284
4284
  );
4285
4285
  const headers = _optionalChain([options, 'optionalAccess', _202 => _202.cliAdmission]) ? {
4286
4286
  ...runtimeHeaders,
4287
- "X-Deepline-API-Major": String(_chunkG26VJCNTjs.SDK_API_MAJOR)
4287
+ "X-Deepline-API-Major": String(_chunk4AZLGNXVjs.SDK_API_MAJOR)
4288
4288
  } : runtimeHeaders;
4289
4289
  const http = this.http;
4290
4290
  let submitted = false;
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  PlayClient
3
- } from "./chunk-Q7ZOWNKR.mjs";
3
+ } from "./chunk-OAKWSLKS.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-HXM2JUGD.mjs";
7
+ } from "./chunk-6Y5TU3R7.mjs";
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {