deepline 0.3.502 → 0.3.503

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 (204) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +26 -0
  2. package/dist/bundling-sources/sdk/src/index.ts +1 -0
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/sdk/src/types.ts +9 -0
  5. package/dist/bundling-sources/shared_libs/monitors/starter-templates.ts +0 -8
  6. package/dist/bundling-sources/shared_libs/observability/dlq.ts +174 -0
  7. package/dist/bundling-sources/shared_libs/observability/queue-health.ts +9 -0
  8. package/dist/bundling-sources/shared_libs/observability/queue-item-connectors.ts +1 -0
  9. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  10. package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +20 -0
  11. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +62 -2
  12. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +667 -62
  13. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +55 -0
  14. package/dist/bundling-sources/shared_libs/play-runtime/durable-receipt-execution.ts +20 -2
  15. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +46 -0
  16. package/dist/bundling-sources/shared_libs/play-runtime/execution-gateway-invocation-fence.ts +80 -4
  17. package/dist/bundling-sources/shared_libs/play-runtime/fixture-egress-fetch.ts +95 -0
  18. package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +292 -45
  19. package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +15 -0
  20. package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +3 -0
  21. package/dist/bundling-sources/shared_libs/play-runtime/play-http-request.ts +7 -3
  22. package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-semantics.ts +31 -1
  23. package/dist/bundling-sources/shared_libs/play-runtime/post-code-recovery-policy.ts +231 -0
  24. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +4 -0
  25. package/dist/bundling-sources/shared_libs/play-runtime/run-ending-event.ts +55 -0
  26. package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +126 -0
  27. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +38 -1
  28. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +2 -9
  29. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +51 -19
  30. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/local-process.ts +9 -4
  31. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +2 -0
  32. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/runtime-sandbox-reconciliation.ts +2 -0
  33. package/dist/bundling-sources/shared_libs/play-runtime/runtime-actions.ts +12 -1
  34. package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +3 -0
  35. package/dist/bundling-sources/shared_libs/play-runtime/runtime-incident-drills.ts +42 -0
  36. package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +7 -0
  37. package/dist/bundling-sources/shared_libs/play-runtime/runtime-receipt-store-adapter.ts +26 -1
  38. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +13 -0
  39. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-deadline-reconciliation.ts +53 -0
  40. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +631 -19
  41. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/durable-run-inventory.ts +719 -0
  42. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/durable-run-sql.ts +206 -0
  43. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/latest-cache-result.ts +83 -0
  44. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +1432 -157
  45. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/receipt-gateway.ts +61 -0
  46. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +29 -8
  47. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-queue-health.ts +27 -2
  48. package/dist/bundling-sources/shared_libs/play-runtime/test-runtime-seams.ts +45 -0
  49. package/dist/bundling-sources/shared_libs/play-runtime/tool-cache-policy.ts +18 -0
  50. package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +129 -14
  51. package/dist/bundling-sources/shared_libs/play-runtime/workflow-executor-auth.ts +2 -0
  52. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +10 -1
  53. package/dist/cli/{auth-EFHLOVG4.mjs → auth-IC4WLSE3.mjs} +5 -5
  54. package/dist/cli/auth-ZCMSXZO4.js +43 -0
  55. package/dist/cli/{billing-Q5XKEYPP.mjs → billing-2VOV64SD.mjs} +6 -6
  56. package/dist/cli/{billing-SKT2VE34.js → billing-LWQOII22.js} +79 -79
  57. package/dist/cli/{chunk-TAK3MVXY.js → chunk-2626LTU3.js} +284 -267
  58. package/dist/cli/{chunk-OEUMXKR5.js → chunk-26RSSTCF.js} +26 -26
  59. package/dist/cli/{chunk-JFBJLNBI.js → chunk-2K2QBLYO.js} +53 -53
  60. package/dist/cli/{chunk-32YQBJON.js → chunk-33JUK73X.js} +7 -7
  61. package/dist/cli/{chunk-X5MGQ7UT.js → chunk-3CXHK4TW.js} +10 -10
  62. package/dist/cli/{chunk-YPTZJ7LO.js → chunk-4IIYSBEP.js} +70 -13
  63. package/dist/cli/{chunk-HIVRCTDR.mjs → chunk-5GI6NKOE.mjs} +20 -1
  64. package/dist/cli/{chunk-TFFJ2PRN.mjs → chunk-5M5WSFRZ.mjs} +70 -13
  65. package/dist/cli/{chunk-4CCMD7QM.mjs → chunk-6XTE6C3W.mjs} +32 -15
  66. package/dist/cli/{chunk-OFBLT2LQ.mjs → chunk-7HEDCIR3.mjs} +1 -1
  67. package/dist/cli/{chunk-DRBD4IYQ.mjs → chunk-7MJYZ33I.mjs} +2 -6
  68. package/dist/cli/{chunk-JL6H4H3G.js → chunk-A2C6ONWA.js} +6 -6
  69. package/dist/cli/{chunk-DKAMCJIT.js → chunk-AARF4SOW.js} +17 -13
  70. package/dist/cli/{chunk-QNELA7SX.js → chunk-B3X4YWQ6.js} +53 -53
  71. package/dist/cli/{chunk-NZXB27TP.mjs → chunk-BI2Q45SY.mjs} +4 -4
  72. package/dist/cli/{chunk-FVM4PS5Q.js → chunk-BN5VKY4X.js} +25 -12
  73. package/dist/cli/{chunk-UOANF3DR.js → chunk-C5RQTTLP.js} +26 -7
  74. package/dist/cli/{chunk-YWOQYYYS.mjs → chunk-D27HP3HS.mjs} +2 -2
  75. package/dist/cli/{chunk-NXVYLX3F.mjs → chunk-DPI5OYVU.mjs} +10 -6
  76. package/dist/cli/{chunk-R5F7JXT4.mjs → chunk-EDMV4JT5.mjs} +2 -2
  77. package/dist/cli/{chunk-MYUISF3P.mjs → chunk-EQ3WMKFY.mjs} +5 -5
  78. package/dist/cli/{chunk-YDXEXVBV.js → chunk-F73PD2XD.js} +7 -7
  79. package/dist/cli/{chunk-L5CTJY74.mjs → chunk-FHJ54BHH.mjs} +2 -2
  80. package/dist/cli/{chunk-EUWRKWT4.js → chunk-FIUTDSJX.js} +5 -4
  81. package/dist/cli/{chunk-WKFAX2K7.js → chunk-FVDTERO2.js} +21 -21
  82. package/dist/cli/{chunk-Q3NM6ZL3.js → chunk-FZHOWPSN.js} +23 -21
  83. package/dist/cli/{chunk-NKLM4J4X.mjs → chunk-GIHNEYBG.mjs} +1 -1
  84. package/dist/cli/{chunk-7ZYSXSJJ.mjs → chunk-GLZBFBJS.mjs} +5 -5
  85. package/dist/cli/{chunk-DYHTXGLX.js → chunk-HRTDCXHI.js} +2 -2
  86. package/dist/cli/{chunk-JLYDLK6X.js → chunk-HS63YBT5.js} +3 -3
  87. package/dist/cli/{chunk-LA3UYRVZ.js → chunk-IIP46RVC.js} +1 -1
  88. package/dist/cli/{chunk-SAW3FBCA.mjs → chunk-ITJ7NB2D.mjs} +6 -0
  89. package/dist/cli/{chunk-54QXWK3C.mjs → chunk-J6RBOLK7.mjs} +1 -1
  90. package/dist/cli/{chunk-YL2CCF6T.mjs → chunk-JJVN7OIX.mjs} +4 -4
  91. package/dist/cli/{chunk-4WTC5SSN.mjs → chunk-JPDD4Y53.mjs} +10 -8
  92. package/dist/cli/{chunk-HMZF2CSP.mjs → chunk-K7NFFQFU.mjs} +2 -2
  93. package/dist/cli/{chunk-2MVIS2UI.mjs → chunk-KGLVATEB.mjs} +2 -2
  94. package/dist/cli/{chunk-3MJSWVQ2.mjs → chunk-KPBBT6OS.mjs} +2 -1
  95. package/dist/cli/{chunk-W5CHE5Q2.mjs → chunk-L3TZV625.mjs} +1 -1
  96. package/dist/cli/{chunk-GINKIZ7S.js → chunk-MJQOG4TZ.js} +16 -16
  97. package/dist/cli/{chunk-JO5FFSR7.js → chunk-NTLBZUHD.js} +6 -0
  98. package/dist/cli/{chunk-QOJBRCAS.js → chunk-PVA3MWCO.js} +3 -3
  99. package/dist/cli/{chunk-OVZOMSH2.js → chunk-QIEYEY6Z.js} +8 -8
  100. package/dist/cli/{chunk-JFUXUSKB.mjs → chunk-R2VZVHJP.mjs} +15 -2
  101. package/dist/cli/{chunk-2S2F6YSI.js → chunk-RVOBFO7C.js} +41 -41
  102. package/dist/cli/{chunk-XMKUJ44Z.js → chunk-TCQYWZFS.js} +5 -5
  103. package/dist/cli/{chunk-FWDAEWCD.js → chunk-TMQUMILM.js} +19 -23
  104. package/dist/cli/{chunk-3KEZVGGV.mjs → chunk-URZNSJE2.mjs} +4 -4
  105. package/dist/cli/{chunk-MP5QY4A2.mjs → chunk-VC5B462T.mjs} +2 -2
  106. package/dist/cli/{chunk-IL666WJE.js → chunk-WHP3FJ7T.js} +5 -5
  107. package/dist/cli/{chunk-ZNB6GR3P.mjs → chunk-WS274KID.mjs} +1 -1
  108. package/dist/cli/{chunk-Z2H7OQ6E.mjs → chunk-XYZZZLN6.mjs} +2 -2
  109. package/dist/cli/{chunk-AJL2Q6IQ.js → chunk-YXGPMTAK.js} +2 -2
  110. package/dist/cli/{chunk-2JS3H6H6.mjs → chunk-ZEQPCEV4.mjs} +3 -3
  111. package/dist/cli/command-docs.js +2 -2
  112. package/dist/cli/command-docs.mjs +1 -1
  113. package/dist/cli/{csv-6AEPKKCO.mjs → csv-2TXOI3UE.mjs} +4 -4
  114. package/dist/cli/{csv-OXGSCV75.js → csv-NEWCNOSZ.js} +13 -13
  115. package/dist/cli/{db-6NVHDUZY.js → db-J3IJS4OG.js} +27 -27
  116. package/dist/cli/{db-K3KRK4CZ.mjs → db-PX7EQEIG.mjs} +6 -6
  117. package/dist/cli/{describe-P3ZJS7TQ.mjs → describe-GQHGTZSL.mjs} +20 -20
  118. package/dist/cli/describe-LE7EZCL4.js +49 -0
  119. package/dist/cli/describe-core.d.mts +8 -4
  120. package/dist/cli/describe-core.d.ts +8 -4
  121. package/dist/cli/describe-core.js +4 -4
  122. package/dist/cli/describe-core.mjs +3 -3
  123. package/dist/cli/{executions-I7XW6WWK.mjs → executions-FFKK24RY.mjs} +6 -6
  124. package/dist/cli/{executions-2C2FFG52.js → executions-RO3TJUXL.js} +8 -8
  125. package/dist/cli/{feedback-47B57A5Y.js → feedback-XRR4HIS6.js} +8 -8
  126. package/dist/cli/{feedback-RSTNBJAI.mjs → feedback-ZTO56SRL.mjs} +4 -4
  127. package/dist/cli/git-26AH4XIO.js +25 -0
  128. package/dist/cli/{git-3G5AFKBT.mjs → git-FIPBVFYZ.mjs} +5 -5
  129. package/dist/cli/index.js +142 -142
  130. package/dist/cli/index.mjs +42 -42
  131. package/dist/cli/{legacy-noops-NQ262TKL.mjs → legacy-noops-AMD2NWHF.mjs} +5 -5
  132. package/dist/cli/{legacy-noops-P665PBG4.js → legacy-noops-MTBBGM27.js} +8 -8
  133. package/dist/cli/{monitors-KUPZODZS.mjs → monitors-24LDKDJX.mjs} +7 -7
  134. package/dist/cli/{monitors-IPWAD7LS.js → monitors-42PIGLBF.js} +95 -95
  135. package/dist/cli/{org-ZCQGEM3L.mjs → org-4B7SCFRL.mjs} +6 -6
  136. package/dist/cli/{org-WFC3N672.js → org-GQMCA3MN.js} +72 -72
  137. package/dist/cli/{pages-VE66IU7B.mjs → pages-PD5EGL2R.mjs} +6 -6
  138. package/dist/cli/{pages-N5BNC67L.js → pages-RL2M62GJ.js} +18 -18
  139. package/dist/cli/{play-EIMDIAJB.mjs → play-5V54VTUR.mjs} +132 -26
  140. package/dist/cli/{play-NKIRJSKX.js → play-FST6ZAHW.js} +447 -341
  141. package/dist/cli/{providers-XU3AGY2F.js → providers-HBUUPN7J.js} +9 -9
  142. package/dist/cli/{providers-KDTJ63ED.mjs → providers-N5YVCKPL.mjs} +6 -6
  143. package/dist/cli/{quickstart-OSCHOSXU.js → quickstart-4QIQNSHG.js} +6 -6
  144. package/dist/cli/{quickstart-TXFXUODF.mjs → quickstart-NJDDVTQR.mjs} +4 -4
  145. package/dist/cli/{run-ET2KVTPK.js → run-FGOKCG4J.js} +44 -44
  146. package/dist/cli/{run-ODGML35U.mjs → run-JHI5MTHD.mjs} +25 -25
  147. package/dist/cli/search-CTKSEVSO.js +32 -0
  148. package/dist/cli/{search-DK67K6PR.mjs → search-EWIZBIY2.mjs} +7 -7
  149. package/dist/cli/{search-output-6SOKQTCW.mjs → search-output-NAK3MWBH.mjs} +5 -5
  150. package/dist/cli/{search-output-KXP4FA62.js → search-output-TMQTRC2W.js} +7 -7
  151. package/dist/cli/{secrets-WPS6NMNK.js → secrets-5TSUEOJB.js} +15 -15
  152. package/dist/cli/{secrets-C6SYTMU7.mjs → secrets-ONQVW5SR.mjs} +6 -6
  153. package/dist/cli/{sessions-PXVOH34X.mjs → sessions-B7F5O3ZR.mjs} +5 -5
  154. package/dist/cli/{sessions-IP562J5Z.js → sessions-BSGE5EET.js} +6 -6
  155. package/dist/cli/{settings-SUDUIVMY.js → settings-47LARBRU.js} +78 -78
  156. package/dist/cli/{settings-FBUQGYVJ.mjs → settings-SGGFQV5R.mjs} +11 -11
  157. package/dist/cli/{setup-JSIMTR73.mjs → setup-ATGNXQUK.mjs} +9 -9
  158. package/dist/cli/{setup-I5H6IOEY.js → setup-BNFZFXO6.js} +49 -49
  159. package/dist/cli/skills-6RD25MVM.js +36 -0
  160. package/dist/cli/{skills-FJQ3LX6N.mjs → skills-CIMBRM5R.mjs} +7 -7
  161. package/dist/cli/{tools-IGBK4BVE.mjs → tools-DTDXAULX.mjs} +18 -18
  162. package/dist/cli/tools-TDZH4XHS.js +56 -0
  163. package/dist/cli/{update-7MTT6F5K.mjs → update-EOIJBJCO.mjs} +9 -9
  164. package/dist/cli/update-Y32VT4VL.js +34 -0
  165. package/dist/cli/{workflow-PM2J2OU3.mjs → workflow-IWXUJPWY.mjs} +7 -7
  166. package/dist/cli/{workflow-UX3ZX6BQ.js → workflow-V5VKPICQ.js} +17 -17
  167. package/dist/{client-Bn8FwKGO.d.ts → client-CIwenMFS.d.ts} +1 -1
  168. package/dist/{client-CfNRmjLK.d.mts → client-DYAfJpaN.d.mts} +1 -1
  169. package/dist/{client-core-B91EV0WS.d.ts → client-core-CRjtyMAI.d.ts} +25 -2
  170. package/dist/{client-core-BG8Cgrmk.d.mts → client-core-DlzP8vEs.d.mts} +25 -2
  171. package/dist/{compiler-manifest-DlXDyndN.d.mts → compiler-manifest-DaJrA2KV.d.mts} +1 -1
  172. package/dist/{compiler-manifest-DlXDyndN.d.ts → compiler-manifest-DaJrA2KV.d.ts} +1 -1
  173. package/dist/{errors-BtriA2ld.d.mts → errors-BKnSYueU.d.mts} +1 -1
  174. package/dist/{errors-DmcLykM7.d.ts → errors-KLga4bLr.d.ts} +1 -1
  175. package/dist/{index-DI0sR_fX.d.mts → index-C-8AFpWy.d.mts} +1 -1
  176. package/dist/{index--Jw-slHY.d.ts → index-C5nAZ-VS.d.ts} +1 -1
  177. package/dist/index.d.mts +7 -7
  178. package/dist/index.d.ts +7 -7
  179. package/dist/index.js +9 -9
  180. package/dist/index.mjs +6 -6
  181. package/dist/install-integrity.json +123 -116
  182. package/dist/plays/bundle-play-file.d.mts +3 -3
  183. package/dist/plays/bundle-play-file.d.ts +3 -3
  184. package/dist/plays/bundle-play-file.mjs +8 -1
  185. package/dist/plays/play-description.d.mts +2 -2
  186. package/dist/plays/play-description.d.ts +2 -2
  187. package/dist/plays/run-request.d.mts +2 -2
  188. package/dist/plays/run-request.d.ts +2 -2
  189. package/dist/release.d.mts +1 -1
  190. package/dist/release.d.ts +1 -1
  191. package/dist/release.js +2 -2
  192. package/dist/release.mjs +1 -1
  193. package/dist/server.d.mts +4 -4
  194. package/dist/server.d.ts +4 -4
  195. package/dist/server.js +5 -5
  196. package/dist/server.mjs +3 -3
  197. package/package.json +1 -1
  198. package/dist/cli/auth-VM3IKP5F.js +0 -43
  199. package/dist/cli/describe-JOUAXXPE.js +0 -49
  200. package/dist/cli/git-OPKIC6JQ.js +0 -25
  201. package/dist/cli/search-6U54Y3OK.js +0 -32
  202. package/dist/cli/skills-VHININXC.js +0 -36
  203. package/dist/cli/tools-XMBMHVKF.js +0 -56
  204. package/dist/cli/update-H7JVW43I.js +0 -34
@@ -31,7 +31,7 @@ var _chunkNMU3VR5Ujs = require('./chunk-NMU3VR5U.js');
31
31
 
32
32
 
33
33
 
34
- var _chunkEUWRKWT4js = require('./chunk-EUWRKWT4.js');
34
+ var _chunkFIUTDSJXjs = require('./chunk-FIUTDSJX.js');
35
35
 
36
36
 
37
37
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -652,7 +652,7 @@ var ToolCalls = class {
652
652
  idempotencyKey,
653
653
  onResponse: (response2) => {
654
654
  lastResponse = null;
655
- atomicToolsSupported = response2.headers.get(_chunkEUWRKWT4js.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
655
+ atomicToolsSupported = response2.headers.get(_chunkFIUTDSJXjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
656
656
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
657
657
  if (_optionalChain([options, 'optionalAccess', _30 => _30.onServerTiming])) {
658
658
  try {
@@ -1107,8 +1107,8 @@ function runtimeSelectionHeaders(runtime, env) {
1107
1107
  }
1108
1108
  const receivers = _optionalChain([env, 'access', _55 => _55.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _56 => _56.trim, 'call', _57 => _57()]);
1109
1109
  return {
1110
- [_chunkEUWRKWT4js.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1111
- ...receivers ? { [_chunkEUWRKWT4js.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1110
+ [_chunkFIUTDSJXjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1111
+ ...receivers ? { [_chunkFIUTDSJXjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1112
1112
  };
1113
1113
  }
1114
1114
  function normalizeTestPolicyOverrides(value, source) {
@@ -1179,7 +1179,7 @@ var PlayClient = class {
1179
1179
  return _chunkRNSHCJMEjs.startPlayRun.call(void 0,
1180
1180
  this.http,
1181
1181
  resolved.request,
1182
- _optionalChain([options, 'optionalAccess', _65 => _65.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkEUWRKWT4js.SDK_API_MAJOR) } : headers,
1182
+ _optionalChain([options, 'optionalAccess', _65 => _65.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkFIUTDSJXjs.SDK_API_MAJOR) } : headers,
1183
1183
  options
1184
1184
  );
1185
1185
  }
@@ -3260,7 +3260,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3260
3260
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3261
3261
  );
3262
3262
  }
3263
- return { [_chunkEUWRKWT4js.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3263
+ return { [_chunkFIUTDSJXjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3264
3264
  }
3265
3265
  function sleep(ms) {
3266
3266
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -3535,6 +3535,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
3535
3535
  searchEvents: (options) => this.searchRunEvents(options),
3536
3536
  input: (runId) => this.getRunInput(runId),
3537
3537
  rerun: (runId, options) => this.rerun(runId, options),
3538
+ resume: (runId) => this.resumeRun(runId),
3538
3539
  exportDatasetRows: (input) => this.getPlaySheetRows(input),
3539
3540
  rowHistory: (input) => this.getPlayRunRowHistory(input),
3540
3541
  stop: (runId, options) => this.stopRun(runId, options),
@@ -4071,7 +4072,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4071
4072
  );
4072
4073
  const headers = _optionalChain([options, 'optionalAccess', _184 => _184.cliAdmission]) ? {
4073
4074
  ...runtimeHeaders,
4074
- "X-Deepline-API-Major": String(_chunkEUWRKWT4js.SDK_API_MAJOR)
4075
+ "X-Deepline-API-Major": String(_chunkFIUTDSJXjs.SDK_API_MAJOR)
4075
4076
  } : runtimeHeaders;
4076
4077
  const http = this.http;
4077
4078
  let submitted = false;
@@ -4975,6 +4976,19 @@ var DeeplineClient = (_class = class _DeeplineClient {
4975
4976
  { "Idempotency-Key": idempotencyKey || globalThis.crypto.randomUUID() }
4976
4977
  );
4977
4978
  }
4979
+ /**
4980
+ * Continue a failed or cancelled run as the same run. Completed calls are
4981
+ * reused; only work the run had not finished runs. A run can be resumed for
4982
+ * 14 days after it stops. Refusals (still active, last attempt still
4983
+ * finishing, sandbox cleanup pending, window expired) throw a
4984
+ * {@link DeeplineError} with the server's code.
4985
+ */
4986
+ async resumeRun(runId) {
4987
+ return this.http.post(
4988
+ `/api/v2/runs/${encodeURIComponent(runId)}/resume`,
4989
+ {}
4990
+ );
4991
+ }
4978
4992
  /**
4979
4993
  * Read a run's retained text tail (default 200), full retained stream (`all`), or terminal failure window (`failed`, at most 20). These are existing reads; sampling and retention loss cannot be recovered. See [run logs and events](run-events.md) for structured search and payload retrieval.
4980
4994
  *
@@ -5446,6 +5460,11 @@ var DeeplineClient = (_class = class _DeeplineClient {
5446
5460
  async getNotificationSettings() {
5447
5461
  return this.http.get("/api/v2/settings/notifications");
5448
5462
  }
5463
+ /** Get the dashboard link where a workspace owner or admin can connect a provider. */
5464
+ async getIntegrationConnectLink(provider) {
5465
+ const params = new URLSearchParams({ provider });
5466
+ return this.http.get(`/api/v2/integrations/connect?${params}`);
5467
+ }
5449
5468
  /** Save provider-owned credential fields without starting an OAuth browser flow. */
5450
5469
  async setIntegrationCredentials(provider, credentials) {
5451
5470
  return this.http.post("/api/v2/integrations/connect", {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-HIVRCTDR.mjs";
3
+ } from "./chunk-5GI6NKOE.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-W5CHE5Q2.mjs";
7
+ } from "./chunk-L3TZV625.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-F6QV42MC.mjs";
4
4
  import {
5
5
  parseLogLevel
6
- } from "./chunk-HIVRCTDR.mjs";
6
+ } from "./chunk-5GI6NKOE.mjs";
7
7
  import {
8
8
  setDottedInputValue
9
9
  } from "./chunk-N4TR6QRI.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  argsWantJson,
12
12
  jsonFieldArgs,
13
13
  parseJsonFields
14
- } from "./chunk-2MVIS2UI.mjs";
14
+ } from "./chunk-KGLVATEB.mjs";
15
15
  import {
16
16
  DeeplineError
17
17
  } from "./chunk-HBL4PM5Q.mjs";
@@ -458,7 +458,9 @@ var PLAY_RUN_RESERVED_BOOLEAN_FLAGS = /* @__PURE__ */ new Set([
458
458
  "--debug",
459
459
  "--full",
460
460
  "--force",
461
+ "--from-start",
461
462
  "--force-tool-refresh",
463
+ "--refresh-cache",
462
464
  "--open",
463
465
  "--debug-map-latency"
464
466
  ]);
@@ -593,8 +595,8 @@ function parsePlayRunOptions(args, initialInput = null) {
593
595
  const dryRun = args.includes("--dry-run");
594
596
  let jsonOutput = dryRun ? argsWantJson(args) : watch ? args.includes("--json") : argsWantJson(args);
595
597
  const fullJson = args.includes("--full");
596
- const force = args.includes("--force");
597
- const forceToolRefresh = args.includes("--force-tool-refresh");
598
+ const force = args.includes("--force") || args.includes("--from-start");
599
+ const forceToolRefresh = args.includes("--force-tool-refresh") || args.includes("--refresh-cache");
598
600
  const open = args.includes("--open");
599
601
  const debugMapLatency = args.includes("--debug-map-latency");
600
602
  let logLevel = "info";
@@ -1017,8 +1019,10 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
1017
1019
  fullJson,
1018
1020
  jsonFields,
1019
1021
  waitTimeoutMs,
1020
- force: options.force ?? base.force,
1021
- forceToolRefresh: options.forceToolRefresh ?? base.forceToolRefresh,
1022
+ // The new names are aliases: an explicit legacy value still wins, exactly
1023
+ // as before, and an unset option inherits the base run's choice.
1024
+ force: options.force ?? (options.fromStart || void 0) ?? base.force,
1025
+ forceToolRefresh: options.forceToolRefresh ?? (options.refreshCache || void 0) ?? base.forceToolRefresh,
1022
1026
  maxConcurrentExternalCalls: externalCalls,
1023
1027
  maxConcurrentRows: rows,
1024
1028
  maxCredits,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  PlayClient
3
- } from "./chunk-HIVRCTDR.mjs";
3
+ } from "./chunk-5GI6NKOE.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-W5CHE5Q2.mjs";
7
+ } from "./chunk-L3TZV625.mjs";
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -4,20 +4,20 @@ import {
4
4
  resolveUpdatePlan,
5
5
  runAutomaticUpdatePlan,
6
6
  shouldRunCliAutoUpdate
7
- } from "./chunk-7ZYSXSJJ.mjs";
7
+ } from "./chunk-GLZBFBJS.mjs";
8
8
  import {
9
9
  isCiEnvironment
10
- } from "./chunk-NZXB27TP.mjs";
10
+ } from "./chunk-BI2Q45SY.mjs";
11
11
  import {
12
12
  addJsonNotice,
13
13
  isJsonOutputMode
14
- } from "./chunk-2MVIS2UI.mjs";
14
+ } from "./chunk-KGLVATEB.mjs";
15
15
  import {
16
16
  resolveApiKeyForBaseUrl
17
- } from "./chunk-W5CHE5Q2.mjs";
17
+ } from "./chunk-L3TZV625.mjs";
18
18
  import {
19
19
  SDK_VERSION
20
- } from "./chunk-3MJSWVQ2.mjs";
20
+ } from "./chunk-KPBBT6OS.mjs";
21
21
 
22
22
  // src/cli/compatibility-catalog.ts
23
23
  var readers = /* @__PURE__ */ new WeakMap();
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkJLYDLK6Xjs = require('./chunk-JLYDLK6X.js');
5
+ var _chunkHS63YBT5js = require('./chunk-HS63YBT5.js');
6
6
 
7
7
 
8
- var _chunkEUWRKWT4js = require('./chunk-EUWRKWT4.js');
8
+ var _chunkFIUTDSJXjs = require('./chunk-FIUTDSJX.js');
9
9
 
10
10
 
11
11
 
@@ -293,8 +293,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
293
293
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
294
294
  var defaultBrowserCommandRunner = childProcess;
295
295
  function getAuthedHttpClient() {
296
- const config = _chunkJLYDLK6Xjs.resolveConfig.call(void 0, );
297
- return { config, http: new (0, _chunkJLYDLK6Xjs.HttpClient)(config) };
296
+ const config = _chunkHS63YBT5js.resolveConfig.call(void 0, );
297
+ return { config, http: new (0, _chunkHS63YBT5js.HttpClient)(config) };
298
298
  }
299
299
  function stableOsUserId() {
300
300
  try {
@@ -634,7 +634,7 @@ function collectLocalEnvInfo() {
634
634
  os: `${process.platform} ${process.arch}`,
635
635
  node_version: process.version,
636
636
  home_dir: homeDir,
637
- agent_runtime: _chunkEUWRKWT4js.detectAgentRuntime.call(void 0, )
637
+ agent_runtime: _chunkFIUTDSJXjs.detectAgentRuntime.call(void 0, )
638
638
  };
639
639
  const env = process.env;
640
640
  const optional = {
@@ -881,9 +881,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
881
881
  }
882
882
  function withAgentCommandContext(value) {
883
883
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
884
- return _chunkEUWRKWT4js.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
884
+ return _chunkFIUTDSJXjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
885
885
  ...valueRecord,
886
- command_context: _chunkJLYDLK6Xjs.resolveCliCommandContext.call(void 0, )
886
+ command_context: _chunkHS63YBT5js.resolveCliCommandContext.call(void 0, )
887
887
  } : value;
888
888
  }
889
889
  function printJson(value, fields) {
@@ -2,13 +2,13 @@ import {
2
2
  SCHEMA_LINE_LIMIT,
3
3
  fieldBlockLines,
4
4
  schemaFields
5
- } from "./chunk-SAW3FBCA.mjs";
5
+ } from "./chunk-ITJ7NB2D.mjs";
6
6
  import {
7
7
  csvSafeJsonString,
8
8
  csvStringFromRows,
9
9
  markJsonOutputHandled,
10
10
  writeRawStderr
11
- } from "./chunk-2MVIS2UI.mjs";
11
+ } from "./chunk-KGLVATEB.mjs";
12
12
 
13
13
  // src/cli/describe-options.ts
14
14
  function addDescribeOptions(command, options = {}) {
@@ -16,12 +16,12 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
16
16
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
17
17
 
18
18
 
19
- var _chunkLA3UYRVZjs = require('./chunk-LA3UYRVZ.js');
19
+ var _chunkIIP46RVCjs = require('./chunk-IIP46RVC.js');
20
20
 
21
21
  // src/version.ts
22
- var SDK_VERSION = _chunkLA3UYRVZjs.SDK_RELEASE.version;
23
- var SDK_API_MAJOR = _chunkLA3UYRVZjs.SDK_RELEASE.contracts.api.currentMajor;
24
- var SDK_API_CONTRACT = _nullishCoalesce(_chunkLA3UYRVZjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
22
+ var SDK_VERSION = _chunkIIP46RVCjs.SDK_RELEASE.version;
23
+ var SDK_API_MAJOR = _chunkIIP46RVCjs.SDK_RELEASE.contracts.api.currentMajor;
24
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkIIP46RVCjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
25
25
 
26
26
  // src/agent-runtime.ts
27
27
  var _os = require('os');
@@ -130,6 +130,7 @@ var _crypto = require('crypto');
130
130
  var PLAY_RUNTIME_TEST_FAULT_HEADER = "x-deepline-test-fault";
131
131
  var MAX_RUNTIME_TEST_POLICY_MS = 10 * 6e4;
132
132
  var MAX_RUNNER_HEARTBEAT_SILENCE_MS = 10 * 6e4;
133
+ var FENCE_COMMIT_ABANDON_MAX_MS = 10 * 6e4;
133
134
 
134
135
  // ../integration-contracts/execute-retry-contract.ts
135
136
  var EXECUTE_RETRY_POLICY_HEADER = "x-deepline-execute-retry-policy";
@@ -4,20 +4,20 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkGINKIZ7Sjs = require('./chunk-GINKIZ7S.js');
7
+ var _chunkMJQOG4TZjs = require('./chunk-MJQOG4TZ.js');
8
8
 
9
9
 
10
- var _chunkQNELA7SXjs = require('./chunk-QNELA7SX.js');
10
+ var _chunkB3X4YWQ6js = require('./chunk-B3X4YWQ6.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkYDXEXVBVjs = require('./chunk-YDXEXVBV.js');
14
+ var _chunkF73PD2XDjs = require('./chunk-F73PD2XD.js');
15
15
 
16
16
 
17
- var _chunkJLYDLK6Xjs = require('./chunk-JLYDLK6X.js');
17
+ var _chunkHS63YBT5js = require('./chunk-HS63YBT5.js');
18
18
 
19
19
 
20
- var _chunkEUWRKWT4js = require('./chunk-EUWRKWT4.js');
20
+ var _chunkFIUTDSJXjs = require('./chunk-FIUTDSJX.js');
21
21
 
22
22
  // src/cli/compatibility-catalog.ts
23
23
  var readers = /* @__PURE__ */ new WeakMap();
@@ -44,7 +44,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
44
44
  async function reportAutoUpdateEvent(input) {
45
45
  let apiKey = "";
46
46
  try {
47
- apiKey = _chunkJLYDLK6Xjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
47
+ apiKey = _chunkHS63YBT5js.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
48
48
  } catch (e2) {
49
49
  return;
50
50
  }
@@ -60,15 +60,15 @@ async function reportAutoUpdateEvent(input) {
60
60
  headers: {
61
61
  Authorization: `Bearer ${apiKey}`,
62
62
  "Content-Type": "application/json",
63
- "User-Agent": `deepline-ts-sdk/${_chunkEUWRKWT4js.SDK_VERSION}`,
63
+ "User-Agent": `deepline-ts-sdk/${_chunkFIUTDSJXjs.SDK_VERSION}`,
64
64
  "X-Deepline-Client-Family": "sdk",
65
65
  "X-Deepline-CLI-Family": "sdk",
66
- "X-Deepline-CLI-Version": _chunkEUWRKWT4js.SDK_VERSION,
67
- "X-Deepline-SDK-Version": _chunkEUWRKWT4js.SDK_VERSION
66
+ "X-Deepline-CLI-Version": _chunkFIUTDSJXjs.SDK_VERSION,
67
+ "X-Deepline-SDK-Version": _chunkFIUTDSJXjs.SDK_VERSION
68
68
  },
69
69
  body: JSON.stringify({
70
70
  event: input.event,
71
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkEUWRKWT4js.SDK_VERSION,
71
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkFIUTDSJXjs.SDK_VERSION,
72
72
  target_version: input.response.latest,
73
73
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
74
74
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -87,13 +87,13 @@ function envTruthy(name) {
87
87
  return value === "1" || value === "true" || value === "yes";
88
88
  }
89
89
  function shouldSkipSelfUpdate(policy) {
90
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkGINKIZ7Sjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkQNELA7SXjs.isCiEnvironment.call(void 0, );
90
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkMJQOG4TZjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkB3X4YWQ6js.isCiEnvironment.call(void 0, );
91
91
  }
92
92
  function isDowngradeAutoUpdateResponse(response) {
93
93
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
94
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkEUWRKWT4js.SDK_VERSION;
94
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkFIUTDSJXjs.SDK_VERSION;
95
95
  if (!target) return false;
96
- return _chunkGINKIZ7Sjs.compareUpdateVersions.call(void 0, target, current) < 0;
96
+ return _chunkMJQOG4TZjs.compareUpdateVersions.call(void 0, target, current) < 0;
97
97
  }
98
98
  function relaunchCurrentCommand(plan, runtime = {}) {
99
99
  return new Promise((resolve) => {
@@ -146,7 +146,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
146
146
  }
147
147
  if (isDowngradeAutoUpdateResponse(response)) {
148
148
  const target = response.latest;
149
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkEUWRKWT4js.SDK_VERSION;
149
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkFIUTDSJXjs.SDK_VERSION;
150
150
  process.stderr.write(
151
151
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
152
152
  `
@@ -154,21 +154,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
154
154
  return false;
155
155
  }
156
156
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
157
- const plan = _chunkGINKIZ7Sjs.resolveUpdatePlan.call(void 0, {
157
+ const plan = _chunkMJQOG4TZjs.resolveUpdatePlan.call(void 0, {
158
158
  packageSpec,
159
159
  requireVerifiedNpmOwnership: true,
160
160
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
161
161
  });
162
- if (!_chunkGINKIZ7Sjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
162
+ if (!_chunkMJQOG4TZjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
163
163
  return false;
164
164
  }
165
165
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
166
166
  deferredAutoUpdate = async () => {
167
167
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
168
168
  };
169
- if (_chunkYDXEXVBVjs.isJsonOutputMode.call(void 0, )) {
169
+ if (_chunkF73PD2XDjs.isJsonOutputMode.call(void 0, )) {
170
170
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
171
- _chunkYDXEXVBVjs.addJsonNotice.call(void 0, {
171
+ _chunkF73PD2XDjs.addJsonNotice.call(void 0, {
172
172
  code: "sdk_update_queued",
173
173
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
174
174
  });
@@ -181,7 +181,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
181
181
  return true;
182
182
  }
183
183
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
184
- if (!_chunkGINKIZ7Sjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
184
+ if (!_chunkMJQOG4TZjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
185
185
  const autoUpdate = response.auto_update;
186
186
  const label = _optionalChain([autoUpdate, 'optionalAccess', _32 => _32.reason]) === "rollback_forced" ? "has a server rollback pending and needs the latest rollback-aware CLI" : _optionalChain([autoUpdate, 'optionalAccess', _33 => _33.reason]) === "deprecated" ? "is deprecated and will update automatically" : _optionalChain([autoUpdate, 'optionalAccess', _34 => _34.required]) ? "requires an update" : "has an update available and will update automatically";
187
187
  process.stderr.write(
@@ -194,7 +194,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
194
194
  event: "started",
195
195
  installKind: plan.kind
196
196
  });
197
- const updateResult = await _chunkGINKIZ7Sjs.runAutomaticUpdatePlan.call(void 0, plan);
197
+ const updateResult = await _chunkMJQOG4TZjs.runAutomaticUpdatePlan.call(void 0, plan);
198
198
  if (updateResult.status === "skipped_previous_failure") {
199
199
  void reportAutoUpdateEvent({
200
200
  baseUrl,
@@ -245,7 +245,7 @@ var _crypto = require('crypto');
245
245
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
246
246
  var activeToolExecuteCommand = null;
247
247
  function progressLine(line) {
248
- if (!_chunkYDXEXVBVjs.isJsonOutputMode.call(void 0, )) console.error(line);
248
+ if (!_chunkF73PD2XDjs.isJsonOutputMode.call(void 0, )) console.error(line);
249
249
  }
250
250
  function beginToolExecuteCommand() {
251
251
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -1,31 +1,31 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkTAK3MVXYjs = require('./chunk-TAK3MVXY.js');
3
+ var _chunk2626LTU3js = require('./chunk-2626LTU3.js');
4
4
 
5
5
 
6
- var _chunkX5MGQ7UTjs = require('./chunk-X5MGQ7UT.js');
6
+ var _chunk3CXHK4TWjs = require('./chunk-3CXHK4TW.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkFWDAEWCDjs = require('./chunk-FWDAEWCD.js');
11
+ var _chunkTMQUMILMjs = require('./chunk-TMQUMILM.js');
12
12
 
13
13
 
14
- var _chunkJO5FFSR7js = require('./chunk-JO5FFSR7.js');
14
+ var _chunkNTLBZUHDjs = require('./chunk-NTLBZUHD.js');
15
15
 
16
16
 
17
- var _chunkXMKUJ44Zjs = require('./chunk-XMKUJ44Z.js');
17
+ var _chunkTCQYWZFSjs = require('./chunk-TCQYWZFS.js');
18
18
 
19
19
 
20
20
 
21
- var _chunkQNELA7SXjs = require('./chunk-QNELA7SX.js');
21
+ var _chunkB3X4YWQ6js = require('./chunk-B3X4YWQ6.js');
22
22
 
23
23
 
24
- var _chunkYDXEXVBVjs = require('./chunk-YDXEXVBV.js');
24
+ var _chunkF73PD2XDjs = require('./chunk-F73PD2XD.js');
25
25
 
26
26
 
27
27
 
28
- var _chunkJLYDLK6Xjs = require('./chunk-JLYDLK6X.js');
28
+ var _chunkHS63YBT5js = require('./chunk-HS63YBT5.js');
29
29
 
30
30
  // src/cli/commands/describe.ts
31
31
  var _fs = require('fs');
@@ -34,14 +34,14 @@ var _path = require('path');
34
34
  // src/cli/doc-read-reporting.ts
35
35
  var REPORT_TIMEOUT_MS = 1e3;
36
36
  async function reportDocRead(docId) {
37
- if (_chunkQNELA7SXjs.isFailureReportingDisabled.call(void 0, )) return;
37
+ if (_chunkB3X4YWQ6js.isFailureReportingDisabled.call(void 0, )) return;
38
38
  try {
39
- const baseUrl = _chunkJLYDLK6Xjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
40
- const apiKey = _chunkJLYDLK6Xjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
39
+ const baseUrl = _chunkHS63YBT5js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
40
+ const apiKey = _chunkHS63YBT5js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
41
41
  if (!apiKey) return;
42
42
  await fetch(new URL("/api/v2/telemetry/doc-read", baseUrl), {
43
43
  method: "POST",
44
- headers: _chunkQNELA7SXjs.failureReportHeaders.call(void 0, apiKey),
44
+ headers: _chunkB3X4YWQ6js.failureReportHeaders.call(void 0, apiKey),
45
45
  body: JSON.stringify({ doc_id: docId }),
46
46
  signal: AbortSignal.timeout(REPORT_TIMEOUT_MS)
47
47
  });
@@ -54,16 +54,16 @@ function nothingNamed(name) {
54
54
  return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
55
55
  }
56
56
  function findNamed2(name, options) {
57
- return _chunkFWDAEWCDjs.findNamed.call(void 0, name, options, _chunkFWDAEWCDjs.describeLookupsFor.call(void 0, new (0, _chunkXMKUJ44Zjs.DeeplineClient)()));
57
+ return _chunkTMQUMILMjs.findNamed.call(void 0, name, options, _chunkTMQUMILMjs.describeLookupsFor.call(void 0, new (0, _chunkTCQYWZFSjs.DeeplineClient)()));
58
58
  }
59
59
  async function describeAnything(name, options, onMissing) {
60
- const client = new (0, _chunkXMKUJ44Zjs.DeeplineClient)();
61
- const lookups = _chunkFWDAEWCDjs.describeLookupsFor.call(void 0, client);
62
- const outcome = await _chunkFWDAEWCDjs.describeName.call(void 0, name, options, {
60
+ const client = new (0, _chunkTCQYWZFSjs.DeeplineClient)();
61
+ const lookups = _chunkTMQUMILMjs.describeLookupsFor.call(void 0, client);
62
+ const outcome = await _chunkTMQUMILMjs.describeName.call(void 0, name, options, {
63
63
  ...lookups,
64
64
  // `tools describe` has already fetched the tool for its compatibility check.
65
65
  tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
66
- seedStarterScript: _chunkTAK3MVXYjs.seedToolListScript
66
+ seedStarterScript: _chunk2626LTU3js.seedToolListScript
67
67
  });
68
68
  if (outcome.status === "missing") {
69
69
  if (onMissing) return onMissing();
@@ -89,18 +89,18 @@ function deliver(envelope, lines, { json, out }) {
89
89
  ` : text;
90
90
  _fs.writeFileSync.call(void 0, path, content);
91
91
  const bytes = Buffer.byteLength(content);
92
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0,
92
+ _chunkF73PD2XDjs.printCommandEnvelope.call(void 0,
93
93
  { path, bytes },
94
94
  { json, text: `Wrote ${path} (${bytes} bytes)
95
95
  ` }
96
96
  );
97
97
  return 0;
98
98
  }
99
- _chunkYDXEXVBVjs.printCommandEnvelope.call(void 0, envelope, { json, text });
99
+ _chunkF73PD2XDjs.printCommandEnvelope.call(void 0, envelope, { json, text });
100
100
  return 0;
101
101
  }
102
102
  function registerDescribeCommand(program) {
103
- _chunkX5MGQ7UTjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
103
+ _chunk3CXHK4TWjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
104
104
  "Describe anything search returns: a tool, monitor type, or play."
105
105
  ).addHelpText(
106
106
  "after",
@@ -120,6 +120,8 @@ When a name is taken twice:
120
120
  What it prints:
121
121
  The same sections for every kind: what it is, cost, inputs, outputs, then
122
122
  an example of running it from the CLI and from inside a play.
123
+ Tools missing provider credentials show the connection step, including the
124
+ dashboard link and command when available.
123
125
 
124
126
  Examples in the output:
125
127
  (default) required inputs filled in, first output read
@@ -139,7 +141,7 @@ Schema size and format:
139
141
  by default; the output names them, and --verbose shows them.
140
142
  --fields email,miss_reason shows only the fields you name, plus every
141
143
  required input, and names the rest. Use it when you know what you need.
142
- A schema over ${_chunkJO5FFSR7js.SCHEMA_LINE_LIMIT} lines is folded: deeper objects show only their field
144
+ A schema over ${_chunkNTLBZUHDjs.SCHEMA_LINE_LIMIT} lines is folded: deeper objects show only their field
143
145
  names. A shape used more than once is printed once under Types.
144
146
  --full-schema the normal output, with the schema not folded
145
147
  --schema-only only the schema, not folded, and nothing else
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-2MVIS2UI.mjs";
3
+ } from "./chunk-KGLVATEB.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-54QXWK3C.mjs";
4
+ } from "./chunk-J6RBOLK7.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-YL2CCF6T.mjs";
7
+ } from "./chunk-JJVN7OIX.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-NZXB27TP.mjs";
10
+ } from "./chunk-BI2Q45SY.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-2MVIS2UI.mjs";
13
+ } from "./chunk-KGLVATEB.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-W5CHE5Q2.mjs";
16
+ } from "./chunk-L3TZV625.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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 _chunkQNELA7SXjs = require('./chunk-QNELA7SX.js');
3
+ var _chunkB3X4YWQ6js = require('./chunk-B3X4YWQ6.js');
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  var _child_process = require('child_process');
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
13
13
  }
14
14
  function readNpmVersion(env) {
15
15
  try {
16
- const plan = _chunkQNELA7SXjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkB3X4YWQ6js.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
17
17
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
18
18
  encoding: "utf8",
19
19
  env,
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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
3
 
4
- var _chunkEUWRKWT4js = require('./chunk-EUWRKWT4.js');
4
+ var _chunkFIUTDSJXjs = require('./chunk-FIUTDSJX.js');
5
5
 
6
6
 
7
7
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -711,7 +711,7 @@ function readSkillsVersionFile(path) {
711
711
  }
712
712
  }
713
713
  function resolveAutoSyncSkillAgents() {
714
- switch (_chunkEUWRKWT4js.detectAgentRuntime.call(void 0, )) {
714
+ switch (_chunkFIUTDSJXjs.detectAgentRuntime.call(void 0, )) {
715
715
  case "codex":
716
716
  return ["codex"];
717
717
  case "claude_code":
@@ -781,7 +781,7 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
781
781
  }
782
782
 
783
783
  // src/http.ts
784
- var HttpClient2 = class extends _chunkEUWRKWT4js.HttpClient {
784
+ var HttpClient2 = class extends _chunkFIUTDSJXjs.HttpClient {
785
785
  constructor(config) {
786
786
  super(config, readSdkSkillsLocalVersion);
787
787
  }
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
49
49
  // getters keep their established compatibility behavior.
50
50
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
51
51
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
52
- version: "0.3.502",
52
+ version: "0.3.503",
53
53
  updateSummary: {
54
54
  introducedIn: "0.3.90",
55
55
  summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."