deepline 0.3.501 → 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 (210) 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 +20 -2
  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/deployment/vercel-fly-rollback-alignment.ts +29 -14
  15. package/dist/bundling-sources/shared_libs/play-runtime/durable-receipt-execution.ts +20 -2
  16. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +46 -0
  17. package/dist/bundling-sources/shared_libs/play-runtime/execution-gateway-invocation-fence.ts +80 -4
  18. package/dist/bundling-sources/shared_libs/play-runtime/fixture-egress-fetch.ts +95 -0
  19. package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +292 -45
  20. package/dist/bundling-sources/shared_libs/play-runtime/internal-bootstrap-token.ts +15 -0
  21. package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +3 -0
  22. package/dist/bundling-sources/shared_libs/play-runtime/play-http-request.ts +7 -3
  23. package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-semantics.ts +31 -1
  24. package/dist/bundling-sources/shared_libs/play-runtime/post-code-recovery-policy.ts +231 -0
  25. package/dist/bundling-sources/shared_libs/play-runtime/prebuilt-result-quality.ts +264 -0
  26. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +9 -0
  27. package/dist/bundling-sources/shared_libs/play-runtime/run-ending-event.ts +55 -0
  28. package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +126 -0
  29. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +70 -1
  30. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +2 -9
  31. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +51 -19
  32. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/local-process.ts +9 -4
  33. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +2 -0
  34. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/runtime-sandbox-reconciliation.ts +2 -0
  35. package/dist/bundling-sources/shared_libs/play-runtime/runtime-actions.ts +12 -1
  36. package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +3 -0
  37. package/dist/bundling-sources/shared_libs/play-runtime/runtime-gateway-oidc.ts +30 -8
  38. package/dist/bundling-sources/shared_libs/play-runtime/runtime-incident-drills.ts +42 -0
  39. package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +7 -0
  40. package/dist/bundling-sources/shared_libs/play-runtime/runtime-receipt-store-adapter.ts +26 -1
  41. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +13 -0
  42. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-deadline-reconciliation.ts +53 -0
  43. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +631 -19
  44. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/durable-run-inventory.ts +719 -0
  45. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/durable-run-sql.ts +206 -0
  46. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/latest-cache-result.ts +83 -0
  47. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +1453 -160
  48. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/receipt-gateway.ts +61 -0
  49. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +29 -8
  50. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-queue-health.ts +27 -2
  51. package/dist/bundling-sources/shared_libs/play-runtime/test-runtime-seams.ts +45 -0
  52. package/dist/bundling-sources/shared_libs/play-runtime/tool-cache-policy.ts +18 -0
  53. package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +129 -14
  54. package/dist/bundling-sources/shared_libs/play-runtime/workflow-executor-auth.ts +2 -0
  55. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +10 -1
  56. package/dist/bundling-sources/shared_libs/product-notifications/slack-delivery.ts +2 -0
  57. package/dist/cli/{auth-6ECHXOI4.mjs → auth-IC4WLSE3.mjs} +5 -5
  58. package/dist/cli/auth-ZCMSXZO4.js +43 -0
  59. package/dist/cli/{billing-75NZYRXA.mjs → billing-2VOV64SD.mjs} +6 -6
  60. package/dist/cli/{billing-QRR7O6BD.js → billing-LWQOII22.js} +79 -79
  61. package/dist/cli/{chunk-N2TJJNCW.js → chunk-2626LTU3.js} +291 -273
  62. package/dist/cli/{chunk-VL72UKNW.js → chunk-26RSSTCF.js} +26 -26
  63. package/dist/cli/{chunk-HDKXSHGA.js → chunk-2K2QBLYO.js} +53 -53
  64. package/dist/cli/{chunk-463ZOO2L.js → chunk-33JUK73X.js} +7 -7
  65. package/dist/cli/{chunk-KTOAJP4N.js → chunk-3CXHK4TW.js} +10 -10
  66. package/dist/cli/{chunk-YPTZJ7LO.js → chunk-4IIYSBEP.js} +70 -13
  67. package/dist/cli/{chunk-VTDAJZIJ.mjs → chunk-5GI6NKOE.mjs} +20 -1
  68. package/dist/cli/{chunk-TFFJ2PRN.mjs → chunk-5M5WSFRZ.mjs} +70 -13
  69. package/dist/cli/{chunk-5S7MLAI7.mjs → chunk-6XTE6C3W.mjs} +41 -23
  70. package/dist/cli/{chunk-7L6QNHUL.mjs → chunk-7HEDCIR3.mjs} +1 -1
  71. package/dist/cli/{chunk-C5R3UH5V.mjs → chunk-7MJYZ33I.mjs} +2 -6
  72. package/dist/cli/{chunk-TOE7LHEA.js → chunk-A2C6ONWA.js} +6 -6
  73. package/dist/cli/{chunk-QQ3JJYE2.js → chunk-AARF4SOW.js} +17 -13
  74. package/dist/cli/{chunk-APAHMCGR.js → chunk-B3X4YWQ6.js} +53 -53
  75. package/dist/cli/{chunk-J74N375S.mjs → chunk-BI2Q45SY.mjs} +4 -4
  76. package/dist/cli/{chunk-GBICEYUA.js → chunk-BN5VKY4X.js} +141 -20
  77. package/dist/cli/{chunk-UR7JOSLT.js → chunk-C5RQTTLP.js} +26 -7
  78. package/dist/cli/{chunk-ZUOKIBLJ.mjs → chunk-D27HP3HS.mjs} +2 -2
  79. package/dist/cli/{chunk-UJRN6YP6.mjs → chunk-DPI5OYVU.mjs} +10 -6
  80. package/dist/cli/{chunk-MSLXAVVK.mjs → chunk-EDMV4JT5.mjs} +2 -2
  81. package/dist/cli/{chunk-ZUQHQGC5.mjs → chunk-EQ3WMKFY.mjs} +5 -5
  82. package/dist/cli/{chunk-5X4AUFYW.js → chunk-F73PD2XD.js} +7 -7
  83. package/dist/cli/{chunk-O3DDVP7Z.mjs → chunk-FHJ54BHH.mjs} +2 -2
  84. package/dist/cli/{chunk-SV2TEZ2M.js → chunk-FIUTDSJX.js} +5 -4
  85. package/dist/cli/{chunk-W6JTHVPF.js → chunk-FVDTERO2.js} +21 -21
  86. package/dist/cli/{chunk-CJJ7JBM2.js → chunk-FZHOWPSN.js} +23 -21
  87. package/dist/cli/{chunk-WJUDAHIQ.mjs → chunk-GIHNEYBG.mjs} +1 -1
  88. package/dist/cli/{chunk-V5NHEYU7.mjs → chunk-GLZBFBJS.mjs} +5 -5
  89. package/dist/cli/{chunk-VVEMPC2I.js → chunk-HRTDCXHI.js} +2 -2
  90. package/dist/cli/{chunk-BOFCF4L7.js → chunk-HS63YBT5.js} +3 -3
  91. package/dist/cli/{chunk-4OXHLTCP.js → chunk-IIP46RVC.js} +1 -1
  92. package/dist/cli/{chunk-SAW3FBCA.mjs → chunk-ITJ7NB2D.mjs} +6 -0
  93. package/dist/cli/{chunk-NA3J3F2Z.mjs → chunk-J6RBOLK7.mjs} +1 -1
  94. package/dist/cli/{chunk-PXIF74UJ.mjs → chunk-JJVN7OIX.mjs} +4 -4
  95. package/dist/cli/{chunk-T7E3XEPG.mjs → chunk-JPDD4Y53.mjs} +10 -8
  96. package/dist/cli/{chunk-OKOXB3LY.mjs → chunk-K7NFFQFU.mjs} +2 -2
  97. package/dist/cli/{chunk-66XDYH5T.mjs → chunk-KGLVATEB.mjs} +2 -2
  98. package/dist/cli/{chunk-EHVFBD36.mjs → chunk-KPBBT6OS.mjs} +2 -1
  99. package/dist/cli/{chunk-MADTHS56.mjs → chunk-L3TZV625.mjs} +1 -1
  100. package/dist/cli/{chunk-FS7XYDOF.js → chunk-MJQOG4TZ.js} +16 -16
  101. package/dist/cli/{chunk-JO5FFSR7.js → chunk-NTLBZUHD.js} +6 -0
  102. package/dist/cli/{chunk-EKZQ5LQO.js → chunk-PVA3MWCO.js} +3 -3
  103. package/dist/cli/{chunk-PNF2ZU4R.js → chunk-QIEYEY6Z.js} +8 -8
  104. package/dist/cli/{chunk-KSHAFYYG.mjs → chunk-R2VZVHJP.mjs} +127 -6
  105. package/dist/cli/{chunk-XEBFJ2PH.js → chunk-RVOBFO7C.js} +41 -41
  106. package/dist/cli/{chunk-RU5ROUFO.js → chunk-TCQYWZFS.js} +5 -5
  107. package/dist/cli/{chunk-I42EOZKQ.js → chunk-TMQUMILM.js} +19 -23
  108. package/dist/cli/{chunk-EOO7OSS4.mjs → chunk-URZNSJE2.mjs} +4 -4
  109. package/dist/cli/{chunk-Z6AUOV7D.mjs → chunk-VC5B462T.mjs} +2 -2
  110. package/dist/cli/{chunk-EKF4DKUA.js → chunk-WHP3FJ7T.js} +5 -5
  111. package/dist/cli/{chunk-VD2374K7.mjs → chunk-WS274KID.mjs} +1 -1
  112. package/dist/cli/{chunk-T4U245E4.mjs → chunk-XYZZZLN6.mjs} +2 -2
  113. package/dist/cli/{chunk-J6SVNKRP.js → chunk-YXGPMTAK.js} +2 -2
  114. package/dist/cli/{chunk-RFV7PPLS.mjs → chunk-ZEQPCEV4.mjs} +3 -3
  115. package/dist/cli/command-docs.js +2 -2
  116. package/dist/cli/command-docs.mjs +1 -1
  117. package/dist/cli/{csv-RZJ4SOIL.mjs → csv-2TXOI3UE.mjs} +4 -4
  118. package/dist/cli/{csv-JXX2LXK5.js → csv-NEWCNOSZ.js} +13 -13
  119. package/dist/cli/{db-T2KJNONM.js → db-J3IJS4OG.js} +27 -27
  120. package/dist/cli/{db-MUTT2NWI.mjs → db-PX7EQEIG.mjs} +6 -6
  121. package/dist/cli/{describe-K3UMAAVO.mjs → describe-GQHGTZSL.mjs} +20 -21
  122. package/dist/cli/describe-LE7EZCL4.js +49 -0
  123. package/dist/cli/describe-core.d.mts +8 -4
  124. package/dist/cli/describe-core.d.ts +8 -4
  125. package/dist/cli/describe-core.js +4 -5
  126. package/dist/cli/describe-core.mjs +3 -4
  127. package/dist/cli/{executions-PHS4R2OX.mjs → executions-FFKK24RY.mjs} +6 -6
  128. package/dist/cli/{executions-7HSLDRHR.js → executions-RO3TJUXL.js} +8 -8
  129. package/dist/cli/{feedback-BJZRM637.js → feedback-XRR4HIS6.js} +8 -8
  130. package/dist/cli/{feedback-RWMDCIDF.mjs → feedback-ZTO56SRL.mjs} +4 -4
  131. package/dist/cli/git-26AH4XIO.js +25 -0
  132. package/dist/cli/{git-YW6VHYZG.mjs → git-FIPBVFYZ.mjs} +5 -5
  133. package/dist/cli/index.js +142 -142
  134. package/dist/cli/index.mjs +42 -42
  135. package/dist/cli/{legacy-noops-5UBSUPGG.mjs → legacy-noops-AMD2NWHF.mjs} +5 -5
  136. package/dist/cli/{legacy-noops-2WUV2XD7.js → legacy-noops-MTBBGM27.js} +8 -8
  137. package/dist/cli/{monitors-HWOQO3OK.mjs → monitors-24LDKDJX.mjs} +7 -7
  138. package/dist/cli/{monitors-YZZRKSTG.js → monitors-42PIGLBF.js} +95 -95
  139. package/dist/cli/{org-NCXT6RB4.mjs → org-4B7SCFRL.mjs} +6 -6
  140. package/dist/cli/{org-JY7HLHBA.js → org-GQMCA3MN.js} +72 -72
  141. package/dist/cli/{pages-QJO53QAT.mjs → pages-PD5EGL2R.mjs} +6 -6
  142. package/dist/cli/{pages-6ZOHXL6X.js → pages-RL2M62GJ.js} +18 -18
  143. package/dist/cli/{play-SQRS7JN3.mjs → play-5V54VTUR.mjs} +132 -26
  144. package/dist/cli/{play-TAYGSR35.js → play-FST6ZAHW.js} +447 -341
  145. package/dist/cli/{providers-4Q5LOIQ5.js → providers-HBUUPN7J.js} +9 -9
  146. package/dist/cli/{providers-3IR3N5DT.mjs → providers-N5YVCKPL.mjs} +6 -6
  147. package/dist/cli/{quickstart-ITNUZENY.js → quickstart-4QIQNSHG.js} +6 -6
  148. package/dist/cli/{quickstart-KCZCYO6B.mjs → quickstart-NJDDVTQR.mjs} +4 -4
  149. package/dist/cli/{run-YQ57LMKN.js → run-FGOKCG4J.js} +44 -45
  150. package/dist/cli/{run-JCWRWDSK.mjs → run-JHI5MTHD.mjs} +25 -26
  151. package/dist/cli/search-CTKSEVSO.js +32 -0
  152. package/dist/cli/{search-FUM27HQP.mjs → search-EWIZBIY2.mjs} +7 -7
  153. package/dist/cli/{search-output-EWEYT34M.mjs → search-output-NAK3MWBH.mjs} +53 -75
  154. package/dist/cli/{search-output-XAMWKRJH.js → search-output-TMQTRC2W.js} +58 -80
  155. package/dist/cli/{secrets-2IRRRZBL.js → secrets-5TSUEOJB.js} +15 -15
  156. package/dist/cli/{secrets-YTI4IAKR.mjs → secrets-ONQVW5SR.mjs} +6 -6
  157. package/dist/cli/{sessions-EFS4KUPF.mjs → sessions-B7F5O3ZR.mjs} +5 -5
  158. package/dist/cli/{sessions-HWTRDXBQ.js → sessions-BSGE5EET.js} +6 -6
  159. package/dist/cli/{settings-FRVEIOKR.js → settings-47LARBRU.js} +78 -78
  160. package/dist/cli/{settings-NTOO42DY.mjs → settings-SGGFQV5R.mjs} +11 -11
  161. package/dist/cli/{setup-PAVQPALX.mjs → setup-ATGNXQUK.mjs} +9 -9
  162. package/dist/cli/{setup-6ZIOAE2V.js → setup-BNFZFXO6.js} +49 -49
  163. package/dist/cli/skills-6RD25MVM.js +36 -0
  164. package/dist/cli/{skills-3O3XTPUM.mjs → skills-CIMBRM5R.mjs} +7 -7
  165. package/dist/cli/{tools-7QSB65UL.mjs → tools-DTDXAULX.mjs} +18 -19
  166. package/dist/cli/tools-TDZH4XHS.js +56 -0
  167. package/dist/cli/{update-T6CYS5ZT.mjs → update-EOIJBJCO.mjs} +9 -9
  168. package/dist/cli/update-Y32VT4VL.js +34 -0
  169. package/dist/cli/{workflow-OMSXZ73T.mjs → workflow-IWXUJPWY.mjs} +7 -7
  170. package/dist/cli/{workflow-4KMJBMGX.js → workflow-V5VKPICQ.js} +17 -17
  171. package/dist/{client-Bn8FwKGO.d.ts → client-CIwenMFS.d.ts} +1 -1
  172. package/dist/{client-CfNRmjLK.d.mts → client-DYAfJpaN.d.mts} +1 -1
  173. package/dist/{client-core-B91EV0WS.d.ts → client-core-CRjtyMAI.d.ts} +25 -2
  174. package/dist/{client-core-BG8Cgrmk.d.mts → client-core-DlzP8vEs.d.mts} +25 -2
  175. package/dist/{compiler-manifest-DlXDyndN.d.ts → compiler-manifest-DaJrA2KV.d.mts} +1 -1
  176. package/dist/{compiler-manifest-DlXDyndN.d.mts → compiler-manifest-DaJrA2KV.d.ts} +1 -1
  177. package/dist/{errors-BtriA2ld.d.mts → errors-BKnSYueU.d.mts} +1 -1
  178. package/dist/{errors-DmcLykM7.d.ts → errors-KLga4bLr.d.ts} +1 -1
  179. package/dist/{index-DI0sR_fX.d.mts → index-C-8AFpWy.d.mts} +1 -1
  180. package/dist/{index--Jw-slHY.d.ts → index-C5nAZ-VS.d.ts} +1 -1
  181. package/dist/index.d.mts +7 -7
  182. package/dist/index.d.ts +7 -7
  183. package/dist/index.js +9 -9
  184. package/dist/index.mjs +6 -6
  185. package/dist/install-integrity.json +124 -118
  186. package/dist/plays/bundle-play-file.d.mts +3 -3
  187. package/dist/plays/bundle-play-file.d.ts +3 -3
  188. package/dist/plays/bundle-play-file.mjs +8 -1
  189. package/dist/plays/play-description.d.mts +2 -2
  190. package/dist/plays/play-description.d.ts +2 -2
  191. package/dist/plays/run-request.d.mts +2 -2
  192. package/dist/plays/run-request.d.ts +2 -2
  193. package/dist/release.d.mts +1 -1
  194. package/dist/release.d.ts +1 -1
  195. package/dist/release.js +2 -2
  196. package/dist/release.mjs +1 -1
  197. package/dist/server.d.mts +4 -4
  198. package/dist/server.d.ts +4 -4
  199. package/dist/server.js +5 -5
  200. package/dist/server.mjs +3 -3
  201. package/package.json +1 -1
  202. package/dist/cli/auth-VP7PMXKQ.js +0 -43
  203. package/dist/cli/chunk-XK5DMLZE.js +0 -111
  204. package/dist/cli/chunk-XRDXNAAY.mjs +0 -111
  205. package/dist/cli/describe-SEXUJLE4.js +0 -50
  206. package/dist/cli/git-VNS7UQWN.js +0 -25
  207. package/dist/cli/search-I425FRTK.js +0 -32
  208. package/dist/cli/skills-6ZNMO2PR.js +0 -36
  209. package/dist/cli/tools-DPV2JES6.js +0 -57
  210. package/dist/cli/update-Q5GUDEAW.js +0 -34
@@ -4,20 +4,20 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkFS7XYDOFjs = require('./chunk-FS7XYDOF.js');
7
+ var _chunkMJQOG4TZjs = require('./chunk-MJQOG4TZ.js');
8
8
 
9
9
 
10
- var _chunkAPAHMCGRjs = require('./chunk-APAHMCGR.js');
10
+ var _chunkB3X4YWQ6js = require('./chunk-B3X4YWQ6.js');
11
11
 
12
12
 
13
13
 
14
- var _chunk5X4AUFYWjs = require('./chunk-5X4AUFYW.js');
14
+ var _chunkF73PD2XDjs = require('./chunk-F73PD2XD.js');
15
15
 
16
16
 
17
- var _chunkBOFCF4L7js = require('./chunk-BOFCF4L7.js');
17
+ var _chunkHS63YBT5js = require('./chunk-HS63YBT5.js');
18
18
 
19
19
 
20
- var _chunkSV2TEZ2Mjs = require('./chunk-SV2TEZ2M.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 = _chunkBOFCF4L7js.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/${_chunkSV2TEZ2Mjs.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": _chunkSV2TEZ2Mjs.SDK_VERSION,
67
- "X-Deepline-SDK-Version": _chunkSV2TEZ2Mjs.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()]) || _chunkSV2TEZ2Mjs.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") || !_chunkFS7XYDOFjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkAPAHMCGRjs.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()]) || _chunkSV2TEZ2Mjs.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 _chunkFS7XYDOFjs.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()]) || _chunkSV2TEZ2Mjs.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 = _chunkFS7XYDOFjs.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 (!_chunkFS7XYDOFjs.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 (_chunk5X4AUFYWjs.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
- _chunk5X4AUFYWjs.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 (!_chunkFS7XYDOFjs.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 _chunkFS7XYDOFjs.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 (!_chunk5X4AUFYWjs.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 _chunkN2TJJNCWjs = require('./chunk-N2TJJNCW.js');
3
+ var _chunk2626LTU3js = require('./chunk-2626LTU3.js');
4
4
 
5
5
 
6
- var _chunkKTOAJP4Njs = require('./chunk-KTOAJP4N.js');
6
+ var _chunk3CXHK4TWjs = require('./chunk-3CXHK4TW.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkI42EOZKQjs = require('./chunk-I42EOZKQ.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 _chunkRU5ROUFOjs = require('./chunk-RU5ROUFO.js');
17
+ var _chunkTCQYWZFSjs = require('./chunk-TCQYWZFS.js');
18
18
 
19
19
 
20
20
 
21
- var _chunkAPAHMCGRjs = require('./chunk-APAHMCGR.js');
21
+ var _chunkB3X4YWQ6js = require('./chunk-B3X4YWQ6.js');
22
22
 
23
23
 
24
- var _chunk5X4AUFYWjs = require('./chunk-5X4AUFYW.js');
24
+ var _chunkF73PD2XDjs = require('./chunk-F73PD2XD.js');
25
25
 
26
26
 
27
27
 
28
- var _chunkBOFCF4L7js = require('./chunk-BOFCF4L7.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 (_chunkAPAHMCGRjs.isFailureReportingDisabled.call(void 0, )) return;
37
+ if (_chunkB3X4YWQ6js.isFailureReportingDisabled.call(void 0, )) return;
38
38
  try {
39
- const baseUrl = _chunkBOFCF4L7js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
40
- const apiKey = _chunkBOFCF4L7js.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: _chunkAPAHMCGRjs.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 _chunkI42EOZKQjs.findNamed.call(void 0, name, options, _chunkI42EOZKQjs.describeLookupsFor.call(void 0, new (0, _chunkRU5ROUFOjs.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, _chunkRU5ROUFOjs.DeeplineClient)();
61
- const lookups = _chunkI42EOZKQjs.describeLookupsFor.call(void 0, client);
62
- const outcome = await _chunkI42EOZKQjs.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: _chunkN2TJJNCWjs.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
- _chunk5X4AUFYWjs.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
- _chunk5X4AUFYWjs.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
- _chunkKTOAJP4Njs.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-66XDYH5T.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-NA3J3F2Z.mjs";
4
+ } from "./chunk-J6RBOLK7.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-PXIF74UJ.mjs";
7
+ } from "./chunk-JJVN7OIX.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-J74N375S.mjs";
10
+ } from "./chunk-BI2Q45SY.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-66XDYH5T.mjs";
13
+ } from "./chunk-KGLVATEB.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-MADTHS56.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 _chunkAPAHMCGRjs = require('./chunk-APAHMCGR.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 = _chunkAPAHMCGRjs.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 _chunkSV2TEZ2Mjs = require('./chunk-SV2TEZ2M.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 (_chunkSV2TEZ2Mjs.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 _chunkSV2TEZ2Mjs.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.501",
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."
@@ -673,7 +673,9 @@ function describedLines(described, view) {
673
673
  ...described.cost ? [`Cost: ${described.cost}`] : [],
674
674
  ...described.guidance.map((line) => `Guidance: ${line}`),
675
675
  ...described.rateLimit ? [`Rate limit: ${described.rateLimit}`] : [],
676
+ ...described.credentialStatus === "requires_connection" ? ["Connection: Provider credentials are missing in this workspace."] : [],
676
677
  ...described.byok ? byokLines(described.byok) : [],
678
+ ...described.connectCommand ? [`Get a shareable link: ${described.connectCommand}`] : [],
677
679
  ...featureLines(described.id, described.features ?? []),
678
680
  ...schemaLines(described, {
679
681
  full: view.fullSchema,
@@ -775,11 +777,15 @@ function describedJson(described, view) {
775
777
  return {
776
778
  kind: described.kind,
777
779
  id: described.id,
780
+ ...described.provider ? { provider: described.provider } : {},
778
781
  ...described.displayName ? { displayName: described.displayName } : {},
779
782
  ...described.description ? { description: described.description } : {},
780
783
  ...described.cost ? { cost: described.cost } : {},
781
784
  ...described.rateLimit ? { rateLimit: described.rateLimit } : {},
782
785
  ...described.byok ? { byok: described.byok } : {},
786
+ ...described.connected !== void 0 ? { connected: described.connected } : {},
787
+ ...described.credentialStatus ? { credentialStatus: described.credentialStatus } : {},
788
+ ...described.connectCommand ? { connectCommand: described.connectCommand } : {},
783
789
  ...described.features?.length ? { features: described.features } : {},
784
790
  ...described.guidance.length ? { guidance: described.guidance } : {},
785
791
  ...blocks,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-J74N375S.mjs";
3
+ } from "./chunk-BI2Q45SY.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -11,20 +11,20 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-J74N375S.mjs";
14
+ } from "./chunk-BI2Q45SY.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-66XDYH5T.mjs";
17
+ } from "./chunk-KGLVATEB.mjs";
18
18
  import {
19
19
  autoDetectBaseUrl,
20
20
  ensureProjectPrivatePathsIgnored,
21
21
  resolveProjectPinTarget,
22
22
  sdkCliStateDirPath
23
- } from "./chunk-MADTHS56.mjs";
23
+ } from "./chunk-L3TZV625.mjs";
24
24
  import {
25
25
  SDK_VERSION,
26
26
  detectAgentRuntime
27
- } from "./chunk-EHVFBD36.mjs";
27
+ } from "./chunk-KPBBT6OS.mjs";
28
28
  import {
29
29
  DEEPLINE_GTM_GLOBAL_SKILL_ROOTS
30
30
  } from "./chunk-5JPKRDFC.mjs";
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-5S7MLAI7.mjs";
3
+ } from "./chunk-6XTE6C3W.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-O3DDVP7Z.mjs";
6
+ } from "./chunk-FHJ54BHH.mjs";
7
7
  import {
8
8
  describeLookupsFor,
9
9
  describeName,
10
10
  findNamed
11
- } from "./chunk-C5R3UH5V.mjs";
11
+ } from "./chunk-7MJYZ33I.mjs";
12
12
  import {
13
13
  SCHEMA_LINE_LIMIT
14
- } from "./chunk-SAW3FBCA.mjs";
14
+ } from "./chunk-ITJ7NB2D.mjs";
15
15
  import {
16
16
  DeeplineClient
17
- } from "./chunk-ZUOKIBLJ.mjs";
17
+ } from "./chunk-D27HP3HS.mjs";
18
18
  import {
19
19
  failureReportHeaders,
20
20
  isFailureReportingDisabled
21
- } from "./chunk-J74N375S.mjs";
21
+ } from "./chunk-BI2Q45SY.mjs";
22
22
  import {
23
23
  printCommandEnvelope
24
- } from "./chunk-66XDYH5T.mjs";
24
+ } from "./chunk-KGLVATEB.mjs";
25
25
  import {
26
26
  autoDetectBaseUrl,
27
27
  resolveApiKeyForBaseUrl
28
- } from "./chunk-MADTHS56.mjs";
28
+ } from "./chunk-L3TZV625.mjs";
29
29
 
30
30
  // src/cli/commands/describe.ts
31
31
  import { writeFileSync } from "fs";
@@ -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
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-VD2374K7.mjs";
3
+ } from "./chunk-WS274KID.mjs";
4
4
  import {
5
5
  checkSdkCompatibility,
6
6
  enforceSdkCompatibilityResponse,
7
7
  flushDeferredSkillsSyncNotices
8
- } from "./chunk-J74N375S.mjs";
8
+ } from "./chunk-BI2Q45SY.mjs";
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -2,10 +2,10 @@ import {
2
2
  HttpClient,
3
3
  resolveCliCommandContext,
4
4
  resolveConfig
5
- } from "./chunk-MADTHS56.mjs";
5
+ } from "./chunk-L3TZV625.mjs";
6
6
  import {
7
7
  detectAgentRuntime
8
- } from "./chunk-EHVFBD36.mjs";
8
+ } from "./chunk-KPBBT6OS.mjs";
9
9
  import {
10
10
  DeeplineError,
11
11
  serializeToolExecutionFailure
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-HBL4PM5Q.mjs";
17
17
  import {
18
18
  SDK_RELEASE
19
- } from "./chunk-7L6QNHUL.mjs";
19
+ } from "./chunk-7HEDCIR3.mjs";
20
20
 
21
21
  // src/version.ts
22
22
  var SDK_VERSION = SDK_RELEASE.version;
@@ -130,6 +130,7 @@ import { createHash } from "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";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HttpClient,
3
3
  detectAgentRuntime
4
- } from "./chunk-EHVFBD36.mjs";
4
+ } from "./chunk-KPBBT6OS.mjs";
5
5
  import {
6
6
  ConfigError
7
7
  } from "./chunk-4QF2K7TM.mjs";
@@ -1,19 +1,19 @@
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 _chunkVVEMPC2Ijs = require('./chunk-VVEMPC2I.js');
4
+ var _chunkHRTDCXHIjs = require('./chunk-HRTDCXHI.js');
5
5
 
6
6
 
7
- var _chunkXEBFJ2PHjs = require('./chunk-XEBFJ2PH.js');
7
+ var _chunkRVOBFO7Cjs = require('./chunk-RVOBFO7C.js');
8
8
 
9
9
 
10
- var _chunkAPAHMCGRjs = require('./chunk-APAHMCGR.js');
10
+ var _chunkB3X4YWQ6js = require('./chunk-B3X4YWQ6.js');
11
11
 
12
12
 
13
- var _chunk5X4AUFYWjs = require('./chunk-5X4AUFYW.js');
13
+ var _chunkF73PD2XDjs = require('./chunk-F73PD2XD.js');
14
14
 
15
15
 
16
- var _chunkBOFCF4L7js = require('./chunk-BOFCF4L7.js');
16
+ var _chunkHS63YBT5js = require('./chunk-HS63YBT5.js');
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  var _child_process = require('child_process');
@@ -495,7 +495,7 @@ function normalizedNpmPrefix(value) {
495
495
  }
496
496
  function resolveNpmGlobalPrefix(env) {
497
497
  try {
498
- const plan = _chunkAPAHMCGRjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkB3X4YWQ6js.resolveShellSpawn.call(void 0,
499
499
  "npm",
500
500
  ["prefix", "-g"],
501
501
  process.platform,
@@ -556,8 +556,8 @@ function resolveUpdatePlan(options = {}) {
556
556
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
557
557
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
558
558
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
559
- const npmVersion = options.npmVersion === void 0 ? _chunkVVEMPC2Ijs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkVVEMPC2Ijs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
559
+ const npmVersion = options.npmVersion === void 0 ? _chunkHRTDCXHIjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkHRTDCXHIjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
561
561
  const args = installPrefix ? [
562
562
  "install",
563
563
  "-g",
@@ -567,7 +567,7 @@ function resolveUpdatePlan(options = {}) {
567
567
  packageSpec
568
568
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
569
569
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
570
- _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkBOFCF4L7js.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkHS63YBT5js.autoDetectBaseUrl.call(void 0, )
571
571
  );
572
572
  return {
573
573
  kind: "npm-global",
@@ -816,7 +816,7 @@ function sidecarInstallFailure(versionDir) {
816
816
  function runCommand(command, args, env = process.env) {
817
817
  return new Promise((resolveResult) => {
818
818
  let output = "";
819
- const plan = _chunkAPAHMCGRjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkB3X4YWQ6js.resolveShellSpawn.call(void 0, command, args, process.platform, env);
820
820
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
821
821
  stdio: ["inherit", "pipe", "pipe"],
822
822
  shell: plan.shell,
@@ -1199,14 +1199,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
1199
1199
  throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
1200
1200
  }
1201
1201
  async function runUpdateCommand(options, dependencies = {}) {
1202
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkBOFCF4L7js.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkHS63YBT5js.autoDetectBaseUrl));
1203
1203
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1204
1204
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1205
1205
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1206
1206
  const originalWrite = process.stdout.write.bind(process.stdout);
1207
1207
  process.stdout.write = (() => true);
1208
1208
  try {
1209
- const exitCode = await _chunkXEBFJ2PHjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkRVOBFO7Cjs.runSkillsCommand.call(void 0, { json: true });
1210
1210
  if (exitCode !== 0) {
1211
1211
  throw new Error(
1212
1212
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1277,11 +1277,11 @@ async function runUpdateCommand(options, dependencies = {}) {
1277
1277
  ]
1278
1278
  };
1279
1279
  if (options.json && !options.executeWithJson) {
1280
- _chunk5X4AUFYWjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunkF73PD2XDjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunk5X4AUFYWjs.printCommandEnvelope.call(void 0,
1284
+ _chunkF73PD2XDjs.printCommandEnvelope.call(void 0,
1285
1285
  {
1286
1286
  ...plan,
1287
1287
  render: {
@@ -1294,7 +1294,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1294
1294
  return 0;
1295
1295
  }
1296
1296
  if (plan.kind === "source" || plan.kind === "homebrew") {
1297
- _chunk5X4AUFYWjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunkF73PD2XDjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1298
1298
  return 0;
1299
1299
  }
1300
1300
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1324,7 +1324,7 @@ To retry with full installer output, run: deepline skills install
1324
1324
  );
1325
1325
  }
1326
1326
  if (options.executeWithJson && options.json) {
1327
- _chunk5X4AUFYWjs.printCommandEnvelope.call(void 0,
1327
+ _chunkF73PD2XDjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion