deepline 0.3.461 → 0.3.463

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 (297) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +7593 -0
  2. package/dist/bundling-sources/sdk/src/client.ts +8 -7366
  3. package/dist/bundling-sources/sdk/src/http-core.ts +1239 -0
  4. package/dist/bundling-sources/sdk/src/http.ts +6 -1231
  5. package/dist/bundling-sources/sdk/src/index.ts +4 -1
  6. package/dist/bundling-sources/sdk/src/play.ts +5 -5
  7. package/dist/bundling-sources/sdk/src/plays/client-core.ts +437 -0
  8. package/dist/bundling-sources/sdk/src/plays/client.ts +4 -421
  9. package/dist/bundling-sources/sdk/src/plays/input-example.ts +3 -4
  10. package/dist/bundling-sources/sdk/src/plays/play-description.ts +1 -1
  11. package/dist/bundling-sources/sdk/src/plays/run-request.ts +1 -1
  12. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  13. package/dist/bundling-sources/sdk/src/server.ts +43 -0
  14. package/dist/bundling-sources/sdk/src/types.ts +15 -5
  15. package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +15 -0
  16. package/dist/bundling-sources/shared_libs/monitors/billing/tamradar.ts +17 -17
  17. package/dist/bundling-sources/shared_libs/monitors/callback-security.ts +0 -307
  18. package/dist/bundling-sources/shared_libs/monitors/http-error-response.ts +3 -0
  19. package/dist/bundling-sources/shared_libs/monitors/lifecycle-notifications.ts +3 -2
  20. package/dist/bundling-sources/shared_libs/monitors/package.json +2 -0
  21. package/dist/bundling-sources/shared_libs/monitors/provider-callback-verification.ts +34 -0
  22. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +61 -0
  23. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-upstream-identity.ts +122 -2
  24. package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-dead-letter.ts +11 -1
  25. package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-failure-codes.ts +24 -0
  26. package/dist/bundling-sources/shared_libs/observability/dlq.ts +32 -0
  27. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +57 -3
  28. package/dist/bundling-sources/shared_libs/observability/scheduled-work.ts +1 -0
  29. package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +66 -1
  30. package/dist/bundling-sources/shared_libs/play-data-plane/sheet-column-storage.ts +36 -7
  31. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +250 -11
  32. package/dist/bundling-sources/shared_libs/play-runtime/array-input-store.ts +319 -0
  33. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +991 -359
  34. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +17 -0
  35. package/dist/bundling-sources/shared_libs/play-runtime/daytona-sandbox-janitor.ts +13 -0
  36. package/dist/bundling-sources/shared_libs/play-runtime/daytona-sandbox-reaper.ts +110 -0
  37. package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-machines.ts +155 -6
  38. package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-registry.ts +110 -6
  39. package/dist/bundling-sources/shared_libs/play-runtime/durable-receipt-execution.ts +127 -13
  40. package/dist/bundling-sources/shared_libs/play-runtime/execution-capabilities.ts +14 -1
  41. package/dist/bundling-sources/shared_libs/play-runtime/fixture-behavior.ts +57 -1
  42. package/dist/bundling-sources/shared_libs/play-runtime/free-company-lookup-batching.ts +218 -0
  43. package/dist/bundling-sources/shared_libs/play-runtime/gateway-postgres-admission.ts +42 -5
  44. package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-budget-state-backend.ts +6 -1
  45. package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +92 -31
  46. package/dist/bundling-sources/shared_libs/play-runtime/governor/block-reserving-budget-state-backend.ts +69 -14
  47. package/dist/bundling-sources/shared_libs/play-runtime/governor/governor.ts +93 -23
  48. package/dist/bundling-sources/shared_libs/play-runtime/governor/in-memory-rate-state-backend.ts +15 -4
  49. package/dist/bundling-sources/shared_libs/play-runtime/governor/policy.ts +22 -18
  50. package/dist/bundling-sources/shared_libs/play-runtime/governor/rate-state-backend.ts +5 -0
  51. package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +2 -0
  52. package/dist/bundling-sources/shared_libs/play-runtime/map-memory-limits.ts +190 -14
  53. package/dist/bundling-sources/shared_libs/play-runtime/memory-ledger.ts +131 -0
  54. package/dist/bundling-sources/shared_libs/play-runtime/modal-runtime-config.ts +77 -2
  55. package/dist/bundling-sources/shared_libs/play-runtime/output-size-limits.ts +271 -2
  56. package/dist/bundling-sources/shared_libs/play-runtime/play-run-recovery-policy.ts +51 -0
  57. package/dist/bundling-sources/shared_libs/play-runtime/play-runs/sandbox-cleanup/contracts.ts +2 -0
  58. package/dist/bundling-sources/shared_libs/play-runtime/play-runs/sandbox-cleanup/job.ts +27 -1
  59. package/dist/bundling-sources/shared_libs/play-runtime/play-runtime-batching-registry.ts +2 -0
  60. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +3 -0
  61. package/dist/bundling-sources/shared_libs/play-runtime/provider-text-for-log.ts +63 -0
  62. package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +19 -0
  63. package/dist/bundling-sources/shared_libs/play-runtime/run-ledger-event-transport.ts +112 -16
  64. package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +104 -2
  65. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +265 -151
  66. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-gateway-transport.ts +17 -0
  67. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-progress-push.ts +35 -14
  68. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-sheet-persistence-retry.ts +12 -1
  69. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-control-transport.ts +4 -0
  70. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-labels.ts +36 -0
  71. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +136 -70
  72. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +237 -36
  73. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-runtime-watchdog.ts +148 -4
  74. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-session-execution.ts +6 -0
  75. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +285 -32
  76. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +251 -56
  77. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/runtime-sandbox-reconciliation.ts +29 -4
  78. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/sandbox-create-outcome.ts +27 -0
  79. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/types.ts +22 -1
  80. package/dist/bundling-sources/shared_libs/play-runtime/runtime-api.ts +1397 -382
  81. package/dist/bundling-sources/shared_libs/play-runtime/runtime-array-input-receipts.ts +920 -0
  82. package/dist/bundling-sources/shared_libs/play-runtime/runtime-constants.ts +16 -0
  83. package/dist/bundling-sources/shared_libs/play-runtime/runtime-environment.ts +38 -0
  84. package/dist/bundling-sources/shared_libs/play-runtime/runtime-flow.ts +6 -0
  85. package/dist/bundling-sources/shared_libs/play-runtime/runtime-incident-drills.ts +26 -1
  86. package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +30 -0
  87. package/dist/bundling-sources/shared_libs/play-runtime/runtime-receipt-store-adapter.ts +14 -3
  88. package/dist/bundling-sources/shared_libs/play-runtime/runtime-receipt-writer.ts +31 -4
  89. package/dist/bundling-sources/shared_libs/play-runtime/runtime-sheet-row-transition.ts +47 -0
  90. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-compute-usage.ts +20 -7
  91. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/contract.ts +12 -0
  92. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/index.ts +9 -0
  93. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/runner-backend-adapter.ts +10 -0
  94. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +4 -0
  95. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +1496 -320
  96. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-worker-required-env.ts +31 -1
  97. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +1389 -129
  98. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/receipt-gateway.ts +36 -0
  99. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-dispatch-authority.ts +4 -0
  100. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +162 -23
  101. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +499 -115
  102. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +377 -9
  103. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-ledger-reconciliation.ts +117 -8
  104. package/dist/bundling-sources/shared_libs/play-runtime/secret-resolution-retry-policy.ts +25 -0
  105. package/dist/bundling-sources/shared_libs/play-runtime/terminal-runtime-performance.ts +391 -0
  106. package/dist/bundling-sources/shared_libs/play-runtime/test-runtime-seams.ts +40 -0
  107. package/dist/bundling-sources/shared_libs/play-runtime/tool-call/index.ts +6 -0
  108. package/dist/bundling-sources/shared_libs/play-runtime/tool-call/mapped-calls.ts +171 -0
  109. package/dist/bundling-sources/shared_libs/play-runtime/tool-call/receipt-cohort.ts +16 -1
  110. package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +38 -12
  111. package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +33 -9
  112. package/dist/bundling-sources/shared_libs/play-runtime/transport-error-diagnostics.ts +28 -0
  113. package/dist/bundling-sources/shared_libs/play-runtime/work-receipt-storage-contract.ts +55 -5
  114. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +41 -1
  115. package/dist/bundling-sources/shared_libs/plays/contracts.ts +4 -0
  116. package/dist/bundling-sources/shared_libs/plays/dataset.ts +9 -3
  117. package/dist/bundling-sources/shared_libs/plays/deploy/manifest-contract.ts +2 -0
  118. package/dist/bundling-sources/shared_libs/plays/deploy/manifest.ts +3 -2
  119. package/dist/bundling-sources/shared_libs/plays/deploy/project-serializer.ts +2 -2
  120. package/dist/bundling-sources/shared_libs/plays/run-output-summary.ts +66 -0
  121. package/dist/bundling-sources/shared_libs/plays/script-entry.ts +1 -1
  122. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +43 -1
  123. package/dist/bundling-sources/shared_libs/product-notifications/content.ts +9 -0
  124. package/dist/bundling-sources/shared_libs/product-notifications/email.ts +91 -13
  125. package/dist/bundling-sources/shared_libs/product-notifications/events.ts +3 -0
  126. package/dist/bundling-sources/shared_libs/product-notifications/slack-delivery.ts +41 -24
  127. package/dist/bundling-sources/shared_libs/security/attested-client-ip.ts +91 -0
  128. package/dist/bundling-sources/shared_libs/security/internal-actor.ts +0 -11
  129. package/dist/cli/{auth-6HJXNWUG.mjs → auth-LZLBR4C3.mjs} +5 -4
  130. package/dist/cli/auth-XPGKBJKB.js +41 -0
  131. package/dist/cli/{billing-6P5HO6QG.js → billing-6TJPNJQD.js} +152 -78
  132. package/dist/cli/{billing-MJ42N7YF.mjs → billing-OTOP5RE4.mjs} +84 -10
  133. package/dist/cli/{chunk-FCAZQ7WV.js → chunk-2NISBXMN.js} +52 -50
  134. package/dist/cli/{chunk-PNATXKLP.js → chunk-2ZIRCBYG.js} +6 -6
  135. package/dist/cli/{chunk-5FDKJQZE.js → chunk-3BOIOCNX.js} +1 -1
  136. package/dist/cli/chunk-3BVLLJ3H.mjs +1038 -0
  137. package/dist/cli/{chunk-FJZILBL7.mjs → chunk-3U5EAP6E.mjs} +5 -5
  138. package/dist/cli/{describe-FRAVCY5F.mjs → chunk-4YZKBBLZ.mjs} +19 -36
  139. package/dist/cli/{chunk-QWRHGGUH.js → chunk-5DRNNC72.js} +20 -2
  140. package/dist/cli/{chunk-Z2GUFYT6.js → chunk-5LEAXRHV.js} +11 -11
  141. package/dist/cli/{chunk-5MDIZX7M.js → chunk-5LHXOIPT.js} +8 -6
  142. package/dist/cli/{chunk-NMJ4D2WO.js → chunk-6PMCRYDA.js} +216 -91
  143. package/dist/cli/{chunk-EBU7LQ64.js → chunk-6V7KVRR5.js} +3 -3
  144. package/dist/cli/{chunk-MGXEUZHL.mjs → chunk-7D6X7IXW.mjs} +7 -5
  145. package/dist/cli/{chunk-SAZFZQRI.js → chunk-7FCYPAPP.js} +2 -2
  146. package/dist/cli/{chunk-ACCR7POB.js → chunk-7XYDDCQ2.js} +27 -27
  147. package/dist/cli/{chunk-5IYOUBFZ.js → chunk-ALZBANZI.js} +28 -54
  148. package/dist/cli/{chunk-3DNKFH2G.mjs → chunk-BAPTQDLF.mjs} +19 -1
  149. package/dist/cli/chunk-BGNWI3KH.js +827 -0
  150. package/dist/cli/{chunk-V7REJRDZ.mjs → chunk-C25QE4CH.mjs} +1 -1
  151. package/dist/cli/{chunk-FGMX4HUZ.js → chunk-CBZP6J3V.js} +29 -27
  152. package/dist/cli/{chunk-QEYHTIV4.mjs → chunk-CTQ56DXP.mjs} +10 -1
  153. package/dist/cli/{chunk-IHHLTHE7.mjs → chunk-CVQ7N5CV.mjs} +267 -38
  154. package/dist/cli/{chunk-7DH2FD7Y.mjs → chunk-D464JW3N.mjs} +5 -85
  155. package/dist/cli/{chunk-MEAIOXJL.mjs → chunk-DHXCBITQ.mjs} +7 -5
  156. package/dist/cli/chunk-F2RHUPVH.mjs +827 -0
  157. package/dist/cli/chunk-F6QV42MC.mjs +91 -0
  158. package/dist/cli/{chunk-OZBWRICM.js → chunk-FK2HNDCN.js} +2 -2
  159. package/dist/cli/{chunk-BGY2PLP7.mjs → chunk-GUT7CLOL.mjs} +23 -49
  160. package/dist/cli/{chunk-RY4IVOU3.mjs → chunk-I624J4H5.mjs} +16 -806
  161. package/dist/cli/{chunk-Z2XUZC34.js → chunk-IAYSWZDJ.js} +188 -76
  162. package/dist/cli/{chunk-FGLKOWSC.mjs → chunk-IKWRUNAP.mjs} +1 -1
  163. package/dist/cli/{chunk-KCCOQ5G5.js → chunk-JVDKZJUH.js} +511 -282
  164. package/dist/cli/{chunk-HDFRJ4IT.mjs → chunk-JVHOS3K3.mjs} +177 -65
  165. package/dist/cli/chunk-LYFKBLJI.mjs +1039 -0
  166. package/dist/cli/{chunk-SLEUWLJE.mjs → chunk-MSY22NQW.mjs} +5 -5
  167. package/dist/cli/{chunk-5FY72YOV.js → chunk-NAPTMYTY.js} +8 -8
  168. package/dist/cli/{chunk-O6QOMHCH.js → chunk-NDHJR2WZ.js} +37 -35
  169. package/dist/cli/{chunk-KXMNM4AQ.js → chunk-NMU3VR5U.js} +4 -5
  170. package/dist/cli/chunk-NTLI6P6Y.mjs +19 -0
  171. package/dist/cli/{chunk-RFONC4WJ.mjs → chunk-O3BJYD6D.mjs} +3 -3
  172. package/dist/cli/{describe-2WQY7ZCY.js → chunk-PVY4DPPF.js} +27 -44
  173. package/dist/cli/{chunk-WIYWSYDS.mjs → chunk-Q2EIZKVX.mjs} +3 -3
  174. package/dist/cli/{chunk-VZBCEA5S.mjs → chunk-RD6IQ2JY.mjs} +223 -92
  175. package/dist/cli/chunk-RGOUCIIZ.js +1039 -0
  176. package/dist/cli/{chunk-EIMG75BT.mjs → chunk-S3A4IXBQ.mjs} +4 -5
  177. package/dist/cli/{chunk-QIW7TVV6.mjs → chunk-S4XQCFES.mjs} +14 -12
  178. package/dist/cli/chunk-SKU6ECIY.js +19 -0
  179. package/dist/cli/{chunk-CRYOUPEB.js → chunk-TIRBDQ3W.js} +16 -16
  180. package/dist/cli/{chunk-G7L27KZB.mjs → chunk-TKAQR3IB.mjs} +31 -21
  181. package/dist/cli/{chunk-MDJPEGVN.js → chunk-UC4SFYNU.js} +392 -261
  182. package/dist/cli/{chunk-3BMLICF7.mjs → chunk-UIURR26V.mjs} +13 -8
  183. package/dist/cli/{chunk-TNMBPMMC.js → chunk-UROQDCVW.js} +13 -4
  184. package/dist/cli/{chunk-R64BGGRQ.mjs → chunk-VDGTTH7K.mjs} +2 -2
  185. package/dist/cli/chunk-VLEVVDWG.js +91 -0
  186. package/dist/cli/{chunk-R2GLGLDR.mjs → chunk-VPHN2HAL.mjs} +216 -91
  187. package/dist/cli/chunk-VY2GBNTX.js +1038 -0
  188. package/dist/cli/{chunk-CFUTOWE4.js → chunk-WG3KGAII.js} +8 -88
  189. package/dist/cli/{chunk-QAJAJPKK.mjs → chunk-WUMIYOXQ.mjs} +4 -2
  190. package/dist/cli/{chunk-SCIR5JXW.js → chunk-WUZS2HK6.js} +56 -51
  191. package/dist/cli/{chunk-T3MVIPHG.mjs → chunk-XDWS2JJT.mjs} +1 -1
  192. package/dist/cli/{chunk-KGQNIA37.js → chunk-XQCTG5OO.js} +44 -34
  193. package/dist/cli/{chunk-KVJ5VHW5.mjs → chunk-XW2JIYG7.mjs} +2 -2
  194. package/dist/cli/chunk-YGGIZ3VT.js +920 -0
  195. package/dist/cli/command-docs.d.mts +5 -0
  196. package/dist/cli/command-docs.d.ts +5 -0
  197. package/dist/cli/command-docs.js +2 -2
  198. package/dist/cli/command-docs.mjs +1 -1
  199. package/dist/cli/{csv-NX7NO3O6.js → csv-EH5QWR4O.js} +13 -12
  200. package/dist/cli/{csv-DQ6GW5B5.mjs → csv-OK45Z5XQ.mjs} +4 -3
  201. package/dist/cli/{db-R72DFMP6.js → db-3ESJKETS.js} +30 -27
  202. package/dist/cli/{db-2YP33M4K.mjs → db-6Z5E4HKN.mjs} +10 -7
  203. package/dist/cli/describe-PNDQB7YS.mjs +48 -0
  204. package/dist/cli/describe-QUF7VTTR.js +48 -0
  205. package/dist/cli/describe-core.d.mts +153 -5
  206. package/dist/cli/describe-core.d.ts +153 -5
  207. package/dist/cli/describe-core.js +9 -5
  208. package/dist/cli/describe-core.mjs +10 -6
  209. package/dist/cli/{executions-WFBU7L2Q.mjs → executions-2NTWQFEG.mjs} +7 -5
  210. package/dist/cli/{executions-ZLHD4QIT.js → executions-KUOBRX5V.js} +9 -7
  211. package/dist/cli/{feedback-CN3HJFVF.mjs → feedback-7RPRMSGY.mjs} +6 -5
  212. package/dist/cli/{feedback-NDV6TPHG.js → feedback-UPHAZJ4C.js} +10 -9
  213. package/dist/cli/getting-started.d.mts +6 -6
  214. package/dist/cli/getting-started.d.ts +6 -6
  215. package/dist/cli/getting-started.js +2 -2
  216. package/dist/cli/getting-started.mjs +1 -1
  217. package/dist/cli/{git-QAD6E3HW.mjs → git-SCYP6WSZ.mjs} +5 -4
  218. package/dist/cli/git-UH653WHV.js +25 -0
  219. package/dist/cli/index.js +152 -142
  220. package/dist/cli/index.mjs +56 -46
  221. package/dist/cli/{legacy-noops-KVC5QJ74.js → legacy-noops-7XMFCVRG.js} +8 -7
  222. package/dist/cli/{legacy-noops-TPTKNBI2.mjs → legacy-noops-A4KYAGI6.mjs} +5 -4
  223. package/dist/cli/{monitors-SV57JFLO.mjs → monitors-FLC5J7RI.mjs} +19 -6
  224. package/dist/cli/{monitors-KCROV6PJ.js → monitors-NZV6IX5H.js} +103 -90
  225. package/dist/cli/{org-NJYX5743.js → org-IZ7UP3XF.js} +70 -67
  226. package/dist/cli/{org-KX6QIR7A.mjs → org-LUETJ7Z5.mjs} +9 -6
  227. package/dist/cli/pages-22ML3O7O.js +252 -0
  228. package/dist/cli/pages-EUX5EAGF.mjs +252 -0
  229. package/dist/cli/{play-IQQ57L7Z.mjs → play-CDHPAKKM.mjs} +512 -1508
  230. package/dist/cli/{play-32L7EQN4.js → play-USJBQADG.js} +1090 -2086
  231. package/dist/cli/{providers-4WEC2EQN.mjs → providers-CCXZ3SQF.mjs} +7 -5
  232. package/dist/cli/{providers-ZQV6QLVQ.js → providers-WFEUNPGC.js} +10 -8
  233. package/dist/cli/{quickstart-HKUSFADF.js → quickstart-O4JSUORZ.js} +13 -12
  234. package/dist/cli/{quickstart-RQ76RIUE.mjs → quickstart-ZUULI635.mjs} +5 -4
  235. package/dist/cli/run-ISDJYJMU.js +443 -0
  236. package/dist/cli/run-QJ4NX5F5.mjs +443 -0
  237. package/dist/cli/{search-ZRAVFBZC.mjs → search-IX3XKZJ3.mjs} +8 -6
  238. package/dist/cli/search-TIFNLRPM.js +32 -0
  239. package/dist/cli/{secrets-CMJOVNVH.mjs → secrets-7VUDXTUZ.mjs} +7 -5
  240. package/dist/cli/{secrets-J3G5Y43U.js → secrets-ELQSNCTR.js} +16 -14
  241. package/dist/cli/{sessions-WY7VN4AE.js → sessions-A3FG3AZX.js} +6 -5
  242. package/dist/cli/{sessions-MDQYY5CB.mjs → sessions-VOIQ62GB.mjs} +5 -4
  243. package/dist/cli/{settings-4RWZPCT5.mjs → settings-S6N6EFBG.mjs} +14 -11
  244. package/dist/cli/{settings-HTNTFKCE.js → settings-ZTXQEMZI.js} +80 -77
  245. package/dist/cli/{setup-P3GYYZWG.mjs → setup-AYPIK4JE.mjs} +12 -10
  246. package/dist/cli/{setup-QGCAP62X.js → setup-Y3WOIFLS.js} +53 -51
  247. package/dist/cli/{skills-7NAE4ICL.mjs → skills-5SF5QWNI.mjs} +7 -6
  248. package/dist/cli/skills-MWFRMG3H.js +31 -0
  249. package/dist/cli/tools-3XNZ4J64.mjs +55 -0
  250. package/dist/cli/tools-XEC4OD3R.js +55 -0
  251. package/dist/cli/{update-GODLRKNB.mjs → update-3U4OVX5R.mjs} +9 -8
  252. package/dist/cli/update-DWYEYTZE.js +33 -0
  253. package/dist/cli/{workflow-4BXOUVEO.mjs → workflow-2M5JP7SA.mjs} +10 -8
  254. package/dist/cli/{workflow-AO3A6LXN.js → workflow-RM7H7555.js} +20 -18
  255. package/dist/client-DS2IWYZF.d.ts +10 -0
  256. package/dist/client-DTwnz_AW.d.mts +10 -0
  257. package/dist/{client-CYqG23K1.d.ts → client-core-B_6HAIBy.d.ts} +385 -12
  258. package/dist/{client-BbU5_j7n.d.mts → client-core-DzBSlY1U.d.mts} +385 -12
  259. package/dist/{compiler-manifest-CWz_sNOQ.d.ts → compiler-manifest-Dcyd3-Zd.d.mts} +43 -1
  260. package/dist/{compiler-manifest-CWz_sNOQ.d.mts → compiler-manifest-Dcyd3-Zd.d.ts} +43 -1
  261. package/dist/errors-d-sTrZhe.d.mts +142 -0
  262. package/dist/errors-yQwfgrcX.d.ts +142 -0
  263. package/dist/{index-BF2JB_Ug.d.mts → index-C6oXchjN.d.mts} +1 -1
  264. package/dist/{index-4NPXDzlD.d.ts → index-P56zy_z5.d.ts} +1 -1
  265. package/dist/index.d.mts +11 -147
  266. package/dist/index.d.ts +11 -147
  267. package/dist/index.js +16 -12
  268. package/dist/index.mjs +15 -11
  269. package/dist/install-integrity.json +141 -104
  270. package/dist/plays/bundle-play-file.d.mts +3 -3
  271. package/dist/plays/bundle-play-file.d.ts +3 -3
  272. package/dist/plays/bundle-play-file.mjs +2 -1
  273. package/dist/plays/play-description.d.mts +2 -2
  274. package/dist/plays/play-description.d.ts +2 -2
  275. package/dist/plays/play-description.js +2 -2
  276. package/dist/plays/play-description.mjs +1 -1
  277. package/dist/plays/run-request.d.mts +2 -2
  278. package/dist/plays/run-request.d.ts +2 -2
  279. package/dist/release.d.mts +1 -1
  280. package/dist/release.d.ts +1 -1
  281. package/dist/release.js +2 -2
  282. package/dist/release.mjs +1 -1
  283. package/dist/server.d.mts +17 -0
  284. package/dist/server.d.ts +17 -0
  285. package/dist/server.js +76 -0
  286. package/dist/server.mjs +76 -0
  287. package/package.json +6 -1
  288. package/dist/cli/auth-IACERYQH.js +0 -40
  289. package/dist/cli/chunk-PQUUWFXY.js +0 -95
  290. package/dist/cli/chunk-YBWAG72P.mjs +0 -95
  291. package/dist/cli/chunk-YQDUODZW.js +0 -1710
  292. package/dist/cli/git-JVI36ZFV.js +0 -24
  293. package/dist/cli/search-75X5LTDE.js +0 -30
  294. package/dist/cli/skills-BKJ53JOQ.js +0 -30
  295. package/dist/cli/tools-COWMIEJ6.mjs +0 -45
  296. package/dist/cli/tools-TASOCE7I.js +0 -45
  297. package/dist/cli/update-SJIKVME6.js +0 -32
package/dist/cli/index.js CHANGED
@@ -7,20 +7,20 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkFGMX4HUZjs = require('./chunk-FGMX4HUZ.js');
11
- require('./chunk-CRYOUPEB.js');
12
- require('./chunk-SAZFZQRI.js');
13
- require('./chunk-O6QOMHCH.js');
10
+ var _chunkCBZP6J3Vjs = require('./chunk-CBZP6J3V.js');
11
+ require('./chunk-TIRBDQ3W.js');
12
+ require('./chunk-7FCYPAPP.js');
13
+ require('./chunk-NDHJR2WZ.js');
14
14
 
15
15
 
16
- var _chunkPNATXKLPjs = require('./chunk-PNATXKLP.js');
16
+ var _chunk2ZIRCBYGjs = require('./chunk-2ZIRCBYG.js');
17
17
 
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkOZBWRICMjs = require('./chunk-OZBWRICM.js');
23
+ var _chunkFK2HNDCNjs = require('./chunk-FK2HNDCN.js');
24
24
 
25
25
 
26
26
 
@@ -38,14 +38,15 @@ var _chunkOZBWRICMjs = require('./chunk-OZBWRICM.js');
38
38
 
39
39
 
40
40
 
41
- var _chunkSCIR5JXWjs = require('./chunk-SCIR5JXW.js');
41
+ var _chunkWUZS2HK6js = require('./chunk-WUZS2HK6.js');
42
42
 
43
43
 
44
- var _chunkTNMBPMMCjs = require('./chunk-TNMBPMMC.js');
44
+ var _chunkUROQDCVWjs = require('./chunk-UROQDCVW.js');
45
45
 
46
46
 
47
47
 
48
48
 
49
+ var _chunk6PMCRYDAjs = require('./chunk-6PMCRYDA.js');
49
50
 
50
51
 
51
52
 
@@ -54,29 +55,30 @@ var _chunkTNMBPMMCjs = require('./chunk-TNMBPMMC.js');
54
55
 
55
56
 
56
57
 
57
- var _chunk5MDIZX7Mjs = require('./chunk-5MDIZX7M.js');
58
58
 
59
59
 
60
60
 
61
61
 
62
+ var _chunk5LHXOIPTjs = require('./chunk-5LHXOIPT.js');
62
63
 
63
64
 
64
65
 
65
66
 
66
67
 
67
- var _chunkYQDUODZWjs = require('./chunk-YQDUODZW.js');
68
68
 
69
69
 
70
- var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
71
- require('./chunk-XNYIZMNQ.js');
72
- require('./chunk-DIAWYWT5.js');
73
- require('./chunk-5FDKJQZE.js');
74
- require('./chunk-OG64RBAC.js');
70
+ var _chunkBGNWI3KHjs = require('./chunk-BGNWI3KH.js');
75
71
 
76
72
 
77
73
 
74
+ var _chunkYGGIZ3VTjs = require('./chunk-YGGIZ3VT.js');
78
75
 
79
- var _chunkNMJ4D2WOjs = require('./chunk-NMJ4D2WO.js');
76
+
77
+ var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
78
+ require('./chunk-XNYIZMNQ.js');
79
+ require('./chunk-DIAWYWT5.js');
80
+ require('./chunk-3BOIOCNX.js');
81
+ require('./chunk-OG64RBAC.js');
80
82
  require('./chunk-COGTRVWW.js');
81
83
 
82
84
  // src/cli/command-invocation.ts
@@ -140,48 +142,56 @@ var _os = require('os');
140
142
  var COMMAND_GROUPS = [
141
143
  {
142
144
  names: ["auth"],
143
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-IACERYQH.js")))).registerAuthCommands
145
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-XPGKBJKB.js")))).registerAuthCommands
144
146
  },
145
147
  {
146
148
  names: ["providers"],
147
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-ZQV6QLVQ.js")))).registerProviderCommands
149
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./providers-WFEUNPGC.js")))).registerProviderCommands
148
150
  },
149
151
  {
150
152
  names: ["search"],
151
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-75X5LTDE.js")))).registerSearchCommand
153
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./search-TIFNLRPM.js")))).registerSearchCommand
152
154
  },
153
155
  {
154
156
  names: ["describe"],
155
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-2WQY7ZCY.js")))).registerDescribeCommand
157
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-QUF7VTTR.js")))).registerDescribeCommand
158
+ },
159
+ {
160
+ names: ["run"],
161
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./run-ISDJYJMU.js")))).registerRunCommand
156
162
  },
157
163
  {
158
164
  names: ["tools"],
159
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-TASOCE7I.js")))).registerToolsCommands
165
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-XEC4OD3R.js")))).registerToolsCommands
160
166
  },
161
167
  {
162
168
  names: ["executions"],
163
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-ZLHD4QIT.js")))).registerExecutionsCommands
169
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./executions-KUOBRX5V.js")))).registerExecutionsCommands
164
170
  },
165
171
  {
166
172
  names: ["plays", "runs"],
167
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-32L7EQN4.js")))).registerPlayCommands
173
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./play-USJBQADG.js")))).registerPlayCommands
168
174
  },
169
175
  {
170
176
  names: ["sessions"],
171
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-WY7VN4AE.js")))).registerSessionsCommands
177
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./sessions-A3FG3AZX.js")))).registerSessionsCommands
172
178
  },
173
179
  {
174
180
  names: ["workflows"],
175
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-AO3A6LXN.js")))).registerWorkflowCommands
181
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./workflow-RM7H7555.js")))).registerWorkflowCommands
182
+ },
183
+ {
184
+ names: ["pages"],
185
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./pages-22ML3O7O.js")))).registerPagesCommands
176
186
  },
177
187
  {
178
188
  names: ["secrets"],
179
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-J3G5Y43U.js")))).registerSecretsCommands
189
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./secrets-ELQSNCTR.js")))).registerSecretsCommands
180
190
  },
181
191
  {
182
192
  names: ["settings", "notifications"],
183
193
  load: async () => {
184
- const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-HTNTFKCE.js")));
194
+ const commands = await Promise.resolve().then(() => _interopRequireWildcard(require("./settings-ZTXQEMZI.js")));
185
195
  return (p) => {
186
196
  commands.registerSettingsCommands(p);
187
197
  commands.registerNotificationCommands(p);
@@ -190,51 +200,51 @@ var COMMAND_GROUPS = [
190
200
  },
191
201
  {
192
202
  names: ["billing"],
193
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-6P5HO6QG.js")))).registerBillingCommands
203
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./billing-6TJPNJQD.js")))).registerBillingCommands
194
204
  },
195
205
  {
196
206
  names: ["monitors"],
197
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-KCROV6PJ.js")))).registerMonitorsCommands
207
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./monitors-NZV6IX5H.js")))).registerMonitorsCommands
198
208
  },
199
209
  {
200
210
  names: ["org"],
201
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-NJYX5743.js")))).registerOrgCommands
211
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./org-IZ7UP3XF.js")))).registerOrgCommands
202
212
  },
203
213
  {
204
214
  names: ["git", "projects", "deployments"],
205
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-JVI36ZFV.js")))).registerGitCommands
215
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./git-UH653WHV.js")))).registerGitCommands
206
216
  },
207
217
  {
208
218
  names: ["csv"],
209
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-NX7NO3O6.js")))).registerCsvCommands
219
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./csv-EH5QWR4O.js")))).registerCsvCommands
210
220
  },
211
221
  {
212
222
  names: ["db"],
213
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-R72DFMP6.js")))).registerDbCommands
223
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./db-3ESJKETS.js")))).registerDbCommands
214
224
  },
215
225
  {
216
226
  names: ["feedback"],
217
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-NDV6TPHG.js")))).registerFeedbackCommands
227
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./feedback-UPHAZJ4C.js")))).registerFeedbackCommands
218
228
  },
219
229
  {
220
230
  names: ["enrich", "session", "backend"],
221
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-KVC5QJ74.js")))).registerDeprecatedCommands
231
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./legacy-noops-7XMFCVRG.js")))).registerDeprecatedCommands
222
232
  },
223
233
  {
224
234
  names: ["update"],
225
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-SJIKVME6.js")))).registerUpdateCommand
235
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./update-DWYEYTZE.js")))).registerUpdateCommand
226
236
  },
227
237
  {
228
238
  names: ["skills", "skills-auto-sync"],
229
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-BKJ53JOQ.js")))).registerSkillsCommand
239
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./skills-MWFRMG3H.js")))).registerSkillsCommand
230
240
  },
231
241
  {
232
242
  names: ["setup", "doctor"],
233
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-QGCAP62X.js")))).registerSetupCommands
243
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./setup-Y3WOIFLS.js")))).registerSetupCommands
234
244
  },
235
245
  {
236
246
  names: ["quickstart"],
237
- load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-HKUSFADF.js")))).registerQuickstartCommands
247
+ load: async () => (await Promise.resolve().then(() => _interopRequireWildcard(require("./quickstart-O4JSUORZ.js")))).registerQuickstartCommands
238
248
  }
239
249
  ];
240
250
  async function registerDeeplineCommandGroups(program, requestedCommand) {
@@ -260,25 +270,25 @@ function registerDeeplineInlineCommands(program) {
260
270
  function createDeferredPlayRunMaintenance(input) {
261
271
  return async () => {
262
272
  try {
263
- const skillsVersion = _chunkYQDUODZWjs.readSdkSkillsLocalVersion.call(void 0, input.baseUrl);
264
- const compatibility = await _chunkOZBWRICMjs.traceCliSpan.call(void 0,
273
+ const skillsVersion = _chunkBGNWI3KHjs.readSdkSkillsLocalVersion.call(void 0, input.baseUrl);
274
+ const compatibility = await _chunkFK2HNDCNjs.traceCliSpan.call(void 0,
265
275
  "cli.sdk_compatibility_deferred",
266
276
  {
267
277
  baseUrl: input.baseUrl,
268
278
  command: "plays run",
269
279
  skillsVersion: _nullishCoalesce(skillsVersion, () => ( null))
270
280
  },
271
- () => _chunkSCIR5JXWjs.checkSdkCompatibility.call(void 0, input.baseUrl, {
281
+ () => _chunkWUZS2HK6js.checkSdkCompatibility.call(void 0, input.baseUrl, {
272
282
  command: "plays run",
273
283
  skillsVersion,
274
284
  persistCache: input.policy !== "off",
275
- catalog: _chunkFGMX4HUZjs.compatibilityCatalog.call(void 0, input.command)
285
+ catalog: _chunkCBZP6J3Vjs.compatibilityCatalog.call(void 0, input.command)
276
286
  })
277
287
  );
278
288
  if (compatibility.error || !compatibility.response) return;
279
289
  const automaticUpdate = compatibility.response.auto_update;
280
290
  if (_optionalChain([automaticUpdate, 'optionalAccess', _4 => _4.should_auto_update]) && !automaticUpdate.required && automaticUpdate.reason !== "rollback_forced") {
281
- await _chunkFGMX4HUZjs.maybeAutoUpdateAndRelaunch.call(void 0,
291
+ await _chunkCBZP6J3Vjs.maybeAutoUpdateAndRelaunch.call(void 0,
282
292
  compatibility.response,
283
293
  input.baseUrl,
284
294
  input.policy
@@ -288,7 +298,7 @@ function createDeferredPlayRunMaintenance(input) {
288
298
  compatibility.response,
289
299
  "skills"
290
300
  ) ? _nullishCoalesce(compatibility.response.skills, () => ( null)) : void 0;
291
- await _chunkSCIR5JXWjs.syncSdkSkillsIfNeeded.call(void 0, input.baseUrl, {
301
+ await _chunkWUZS2HK6js.syncSdkSkillsIfNeeded.call(void 0, input.baseUrl, {
292
302
  update: skillsUpdate,
293
303
  mode: "detached"
294
304
  });
@@ -316,8 +326,8 @@ var MAX_SESSIONS = 20;
316
326
  function helpSeenPath(homeDir = _os.homedir.call(void 0, )) {
317
327
  return _path.join.call(void 0, homeDir, ".local", "deepline", "sdk-cli", "help-seen.json");
318
328
  }
319
- function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId = _chunkYQDUODZWjs.agentSessionIdFromEnvironment.call(void 0, )) {
320
- const explicit = _chunkNMJ4D2WOjs.helpDetailFromArgv.call(void 0, argv);
329
+ function resolveHelpDetail(argv, key, homeDir = _os.homedir.call(void 0, ), sessionId = _chunkYGGIZ3VTjs.agentSessionIdFromEnvironment.call(void 0, )) {
330
+ const explicit = _chunk6PMCRYDAjs.helpDetailFromArgv.call(void 0, argv);
321
331
  if (explicit === "quiet") return { detail: "quiet", firstRead: false };
322
332
  if (!sessionId) return { detail: explicit, firstRead: false };
323
333
  const path = helpSeenPath(homeDir);
@@ -414,7 +424,7 @@ function shouldReport(stdout, stderr) {
414
424
  }
415
425
  function toolName(action) {
416
426
  const [toolId] = _optionalChain([action, 'optionalAccess', _5 => _5.path]) === "tools execute" ? action.args : [];
417
- return typeof toolId === "string" ? _chunkSCIR5JXWjs.redactFailureText.call(void 0, toolId) : null;
427
+ return typeof toolId === "string" ? _chunkWUZS2HK6js.redactFailureText.call(void 0, toolId) : null;
418
428
  }
419
429
  function chunkText(chunk) {
420
430
  if (typeof chunk === "string") return chunk;
@@ -445,14 +455,14 @@ function watch(stream) {
445
455
  }
446
456
  async function postCommandOutput(body) {
447
457
  try {
448
- const baseUrl = _chunkYQDUODZWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
449
- const apiKey = _chunkYQDUODZWjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
458
+ const baseUrl = _chunkBGNWI3KHjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
459
+ const apiKey = _chunkBGNWI3KHjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
450
460
  if (!apiKey) return;
451
- const agentSessionId = _chunkYQDUODZWjs.agentSessionIdFromEnvironment.call(void 0, );
461
+ const agentSessionId = _chunkYGGIZ3VTjs.agentSessionIdFromEnvironment.call(void 0, );
452
462
  await fetch(new URL("/api/v2/telemetry/command-output", baseUrl), {
453
463
  method: "POST",
454
464
  headers: {
455
- ..._chunkSCIR5JXWjs.failureReportHeaders.call(void 0, apiKey),
465
+ ..._chunkWUZS2HK6js.failureReportHeaders.call(void 0, apiKey),
456
466
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {}
457
467
  },
458
468
  body: JSON.stringify(body),
@@ -468,14 +478,14 @@ function startOutputSizeReporting(invocation, streams = {
468
478
  const stdoutWatch = watch(streams.stdout);
469
479
  const stderrWatch = watch(streams.stderr);
470
480
  return async (finished) => {
471
- if (_chunkSCIR5JXWjs.isFailureReportingDisabled.call(void 0, )) return;
481
+ if (_chunkWUZS2HK6js.isFailureReportingDisabled.call(void 0, )) return;
472
482
  const [stdout, stderr] = await Promise.all([
473
483
  stdoutWatch.settled(),
474
484
  stderrWatch.settled()
475
485
  ]);
476
486
  if (!shouldReport(stdout, stderr)) return;
477
487
  await postCommandOutput({
478
- command: _chunkSCIR5JXWjs.sanitizeCommand.call(void 0, invocation.argv),
488
+ command: _chunkWUZS2HK6js.sanitizeCommand.call(void 0, invocation.argv),
479
489
  tool: toolName(finished.action),
480
490
  exit_code: typeof finished.exitCode === "number" ? finished.exitCode : null,
481
491
  duration_ms: Math.max(0, Date.now() - invocation.startedAtMs),
@@ -506,7 +516,7 @@ function silenceCommanderErrorOutput(command) {
506
516
  function printUsageErrorJson(code, message, commandPath) {
507
517
  const unknownName = code === "commander.unknownCommand" ? _optionalChain([/unknown command '([^']+)'/, 'access', _6 => _6.exec, 'call', _7 => _7(message), 'optionalAccess', _8 => _8[1]]) : void 0;
508
518
  const helpPath = unknownName && commandPath.endsWith(` ${unknownName}`) ? commandPath.slice(0, -unknownName.length - 1) : commandPath;
509
- _chunk5MDIZX7Mjs.printJson.call(void 0, {
519
+ _chunk5LHXOIPTjs.printJson.call(void 0, {
510
520
  ok: false,
511
521
  error: {
512
522
  code,
@@ -568,7 +578,7 @@ function topLevelCommandKnown(program, commandName) {
568
578
  );
569
579
  }
570
580
  async function runPlayRunnerHealthCheck() {
571
- _chunkYQDUODZWjs.resolveConfig.call(void 0, );
581
+ _chunkBGNWI3KHjs.resolveConfig.call(void 0, );
572
582
  const dir = await _promises.mkdtemp.call(void 0, _path.join.call(void 0, _os.tmpdir.call(void 0, ), "deepline-health-play-"));
573
583
  const file = _path.join.call(void 0, dir, "health-check.play.ts");
574
584
  try {
@@ -598,7 +608,7 @@ async function runPlayRunnerHealthCheck() {
598
608
  });
599
609
  let exitCode = 1;
600
610
  try {
601
- const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-32L7EQN4.js")));
611
+ const { handlePlayRun } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-USJBQADG.js")));
602
612
  exitCode = await handlePlayRun([
603
613
  file,
604
614
  "--input",
@@ -638,7 +648,7 @@ function preflightErrorMessage(error) {
638
648
  return error instanceof Error ? error.message : String(error);
639
649
  }
640
650
  async function runPreflightCheck() {
641
- const baseUrl = _chunkYQDUODZWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
651
+ const baseUrl = _chunkBGNWI3KHjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
642
652
  const healthController = new AbortController();
643
653
  const healthTimeout = setTimeout(
644
654
  () => healthController.abort(),
@@ -653,9 +663,9 @@ async function runPreflightCheck() {
653
663
  version: pickString(payload, "version")
654
664
  };
655
665
  }).catch(() => ({ status: "unreachable", version: null })).finally(() => clearTimeout(healthTimeout));
656
- const apiKey = _chunkYQDUODZWjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
657
- const http = apiKey ? new (0, _chunkYQDUODZWjs.HttpClient)(
658
- _chunkYQDUODZWjs.resolveConfig.call(void 0, {
666
+ const apiKey = _chunkBGNWI3KHjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
667
+ const http = apiKey ? new (0, _chunkBGNWI3KHjs.HttpClient)(
668
+ _chunkBGNWI3KHjs.resolveConfig.call(void 0, {
659
669
  baseUrl,
660
670
  apiKey,
661
671
  timeout: PREFLIGHT_TIMEOUT_MS,
@@ -700,7 +710,7 @@ async function runPreflightCheck() {
700
710
  const connected = authStatus === "connected" || authStatus === "claimed";
701
711
  return {
702
712
  status: healthResult.status === "ok" && connected ? "ok" : "check",
703
- cli_version: _chunkYQDUODZWjs.SDK_VERSION,
713
+ cli_version: _chunkYGGIZ3VTjs.SDK_VERSION,
704
714
  host: baseUrl,
705
715
  health: {
706
716
  status: healthResult.status,
@@ -726,7 +736,7 @@ async function runPreflightCheck() {
726
736
  {
727
737
  title: "preflight",
728
738
  lines: [
729
- `cli: ${_chunkYQDUODZWjs.SDK_VERSION}`,
739
+ `cli: ${_chunkYGGIZ3VTjs.SDK_VERSION}`,
730
740
  `host: ${baseUrl}`,
731
741
  `health: ${healthResult.status}`,
732
742
  `auth: ${authStatus}`,
@@ -751,12 +761,12 @@ function printPreflightHuman(data) {
751
761
  }
752
762
  async function newerCliCommandHint(baseUrl, command) {
753
763
  if (!command.trim()) return null;
754
- const { response, error } = await _chunkSCIR5JXWjs.checkSdkCompatibility.call(void 0, baseUrl, { command });
764
+ const { response, error } = await _chunkWUZS2HK6js.checkSdkCompatibility.call(void 0, baseUrl, { command });
755
765
  if (error || !response) return null;
756
766
  const introduced = response.command_introduced_in;
757
767
  if (introduced) {
758
768
  return [
759
- `\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${_chunkYQDUODZWjs.SDK_VERSION}.`,
769
+ `\`deepline ${introduced.command}\` was added in SDK CLI ${introduced.introduced_in}. This CLI is ${_chunkYGGIZ3VTjs.SDK_VERSION}.`,
760
770
  ` ${introduced.reason}`,
761
771
  ` Update with: ${response.update_command}`,
762
772
  " Agent skills are served by Deepline and refresh on their own, so a skill can describe a command this CLI does not have yet."
@@ -765,31 +775,31 @@ async function newerCliCommandHint(baseUrl, command) {
765
775
  if (!response.update_required) return null;
766
776
  return [
767
777
  response.message,
768
- ` Installed: ${_chunkYQDUODZWjs.SDK_VERSION}. Run: ${response.update_command}`,
778
+ ` Installed: ${_chunkYGGIZ3VTjs.SDK_VERSION}. Run: ${response.update_command}`,
769
779
  " If an agent skill told you to run this, the skill is newer than this CLI."
770
780
  ].join("\n");
771
781
  }
772
782
  async function runMain(ensureTransport, onAction) {
773
783
  const mainStartedAt = Date.now();
774
- _chunk5MDIZX7Mjs.installJsonStderrGuard.call(void 0, );
784
+ _chunk5LHXOIPTjs.installJsonStderrGuard.call(void 0, );
775
785
  let rootHelpStatus = "";
776
786
  const deferredMaintenance = { inlinePlay: null };
777
- _chunkOZBWRICMjs.recordCliTrace.call(void 0, {
787
+ _chunkFK2HNDCNjs.recordCliTrace.call(void 0, {
778
788
  phase: "cli.main_start",
779
789
  argv: process.argv.slice(2)
780
790
  });
781
791
  const printStartupPhase = shouldPrintStartupPhase();
782
- const progress = printStartupPhase ? _chunkTNMBPMMCjs.createCliProgress.call(void 0, true) : null;
792
+ const progress = printStartupPhase ? _chunkUROQDCVWjs.createCliProgress.call(void 0, true) : null;
783
793
  if (printStartupPhase) {
784
794
  _optionalChain([progress, 'optionalAccess', _14 => _14.phase, 'call', _15 => _15("loading deepline cli")]);
785
795
  }
786
796
  const program = new (0, _commander.Command)();
787
797
  program.name("deepline").description(
788
798
  "Deepline CLI \u2014 GTM enrichment tools, plays, and runs from your terminal."
789
- ).version(_chunkYQDUODZWjs.SDK_VERSION, "-v, --version", "Show version").option(
799
+ ).version(_chunkYGGIZ3VTjs.SDK_VERSION, "-v, --version", "Show version").option(
790
800
  "--maintenance <policy>",
791
801
  "Installation maintenance: configured preferences or off; independent of output format",
792
- _chunkOZBWRICMjs.parseCliMaintenancePolicy,
802
+ _chunkFK2HNDCNjs.parseCliMaintenancePolicy,
793
803
  "configured"
794
804
  ).exitOverride().showHelpAfterError().showSuggestionAfterError(true).addHelpText(
795
805
  "beforeAll",
@@ -803,10 +813,10 @@ Common commands:
803
813
  deepline sessions send --current-session
804
814
  deepline search "name and company domain -> work email" --type prebuilts
805
815
  deepline describe person-linkedin-to-email
806
- deepline plays run my.play.ts --input '{"domain":"stripe.com"}'
816
+ deepline run my.play.ts --input '{"domain":"stripe.com"}'
807
817
  deepline secrets check HUBSPOT_TOKEN
808
818
  deepline providers list --changed
809
- deepline tools execute hunter_email_verifier --input '{"email":"a@b.com"}'
819
+ deepline run hunter_email_verifier --input '{"email":"a@b.com"}'
810
820
  deepline update
811
821
 
812
822
  Product model:
@@ -838,33 +848,33 @@ Exit codes:
838
848
  5 server/runtime/provider failure; 7 validation/check failed.
839
849
  `
840
850
  ).addHelpText("afterAll", ({ command }) => {
841
- const key = _chunkNMJ4D2WOjs.commandDocKey.call(void 0, command);
851
+ const key = _chunk6PMCRYDAjs.commandDocKey.call(void 0, command);
842
852
  const { detail, firstRead } = resolveHelpDetail(process.argv, key);
843
- return _chunkNMJ4D2WOjs.renderCommandExplanation.call(void 0, key, detail, { firstRead });
853
+ return _chunk6PMCRYDAjs.renderCommandExplanation.call(void 0, key, detail, { firstRead });
844
854
  });
845
855
  program.hook("preAction", async (_thisCommand, actionCommand) => {
846
856
  onAction({
847
857
  path: compatibilityCommandPath(actionCommand),
848
858
  args: actionCommand.processedArgs
849
859
  });
850
- const maintenance = _chunkOZBWRICMjs.resolveCliMaintenancePolicy.call(void 0,
860
+ const maintenance = _chunkFK2HNDCNjs.resolveCliMaintenancePolicy.call(void 0,
851
861
  actionCommand.optsWithGlobals()
852
862
  );
853
863
  if (actionCommand.name() !== "version") {
854
864
  await ensureTransport();
855
865
  }
856
- if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === _chunkSCIR5JXWjs.SKILLS_AUTO_SYNC_COMMAND || actionCommand.name() === "doctor" || isAutoUpdateSettingsInvocation() || isDeprecatedCommandInvocation()) {
866
+ if (actionCommand.name() === "version" || actionCommand.name() === "update" || actionCommand.name() === "setup" || actionCommand.name() === "skills" || actionCommand.name() === _chunkWUZS2HK6js.SKILLS_AUTO_SYNC_COMMAND || actionCommand.name() === "doctor" || isAutoUpdateSettingsInvocation() || isDeprecatedCommandInvocation()) {
857
867
  return;
858
868
  }
859
869
  const compatibilityCommand = compatibilityCommandPath(actionCommand) || actionCommand.name();
860
870
  const isToolExecuteCommand = compatibilityCommand === "tools execute";
861
871
  if (isToolExecuteCommand) {
862
- _chunkFGMX4HUZjs.beginToolExecuteCommand.call(void 0, );
872
+ _chunkCBZP6J3Vjs.beginToolExecuteCommand.call(void 0, );
863
873
  }
864
874
  if (isToolExecuteCommand) {
865
- const baseUrl = _chunkYQDUODZWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
866
- if (maintenance !== "off") _chunkSCIR5JXWjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
867
- _chunkOZBWRICMjs.recordCliTrace.call(void 0, {
875
+ const baseUrl = _chunkBGNWI3KHjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
876
+ if (maintenance !== "off") _chunkWUZS2HK6js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
877
+ _chunkFK2HNDCNjs.recordCliTrace.call(void 0, {
868
878
  phase: "cli.sdk_compatibility_deferred_to_tool_execute",
869
879
  baseUrl,
870
880
  command: compatibilityCommand
@@ -872,10 +882,10 @@ Exit codes:
872
882
  return;
873
883
  }
874
884
  const playDryRun = compatibilityCommand === "plays run" && actionCommand.optsWithGlobals().dryRun === true;
875
- if (!playDryRun && _chunkPNATXKLPjs.usesInlinePlayAdmission.call(void 0, compatibilityCommand, process.argv.slice(2))) {
885
+ if (!playDryRun && _chunk2ZIRCBYGjs.usesInlinePlayAdmission.call(void 0, compatibilityCommand, process.argv.slice(2))) {
876
886
  if (maintenance !== "off") {
877
- const baseUrl = _chunkYQDUODZWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
878
- _chunkSCIR5JXWjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
887
+ const baseUrl = _chunkBGNWI3KHjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
888
+ _chunkWUZS2HK6js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
879
889
  deferredMaintenance.inlinePlay = createDeferredPlayRunMaintenance({
880
890
  baseUrl,
881
891
  command: actionCommand,
@@ -884,27 +894,27 @@ Exit codes:
884
894
  }
885
895
  return;
886
896
  }
887
- const runStartupStage = (stage, action) => isToolExecuteCommand ? _chunkFGMX4HUZjs.runToolExecuteStage.call(void 0, stage, action) : Promise.resolve(action());
897
+ const runStartupStage = (stage, action) => isToolExecuteCommand ? _chunkCBZP6J3Vjs.runToolExecuteStage.call(void 0, stage, action) : Promise.resolve(action());
888
898
  if (printStartupPhase) {
889
899
  _optionalChain([progress, 'optionalAccess', _16 => _16.phase, 'call', _17 => _17("checking sdk compatibility")]);
890
900
  }
891
901
  const startup = await runStartupStage("SDK compatibility", async () => {
892
- const baseUrl = _chunkYQDUODZWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
893
- if (maintenance !== "off") _chunkSCIR5JXWjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
902
+ const baseUrl = _chunkBGNWI3KHjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
903
+ if (maintenance !== "off") _chunkWUZS2HK6js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
894
904
  const shouldDeferSkillsSync = isToolExecuteCommand || maintenance === "off" || shouldDeferSkillsSyncForCommand();
895
- const skillsVersion = shouldDeferSkillsSync ? void 0 : _chunkYQDUODZWjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
896
- const trusted = isToolExecuteCommand ? null : _chunkSCIR5JXWjs.readTrustedCleanCompatibility.call(void 0,
905
+ const skillsVersion = shouldDeferSkillsSync ? void 0 : _chunkBGNWI3KHjs.readSdkSkillsLocalVersion.call(void 0, baseUrl);
906
+ const trusted = isToolExecuteCommand ? null : _chunkWUZS2HK6js.readTrustedCleanCompatibility.call(void 0,
897
907
  baseUrl,
898
908
  compatibilityCommand,
899
909
  skillsVersion
900
910
  );
901
- const fastDeadline = !isToolExecuteCommand && trusted === null && _chunkSCIR5JXWjs.readFreshCleanCompatibility.call(void 0,
911
+ const fastDeadline = !isToolExecuteCommand && trusted === null && _chunkWUZS2HK6js.readFreshCleanCompatibility.call(void 0,
902
912
  baseUrl,
903
913
  compatibilityCommand,
904
914
  skillsVersion
905
915
  ) !== null;
906
916
  if (trusted) {
907
- _chunkOZBWRICMjs.recordCliTrace.call(void 0, {
917
+ _chunkFK2HNDCNjs.recordCliTrace.call(void 0, {
908
918
  phase: "cli.sdk_compatibility",
909
919
  ms: 0,
910
920
  ok: true,
@@ -914,7 +924,7 @@ Exit codes:
914
924
  source: "trusted_cache"
915
925
  });
916
926
  }
917
- const compatibility = trusted ? { response: trusted, error: null } : await _chunkOZBWRICMjs.traceCliSpan.call(void 0,
927
+ const compatibility = trusted ? { response: trusted, error: null } : await _chunkFK2HNDCNjs.traceCliSpan.call(void 0,
918
928
  "cli.sdk_compatibility",
919
929
  {
920
930
  baseUrl,
@@ -922,12 +932,12 @@ Exit codes:
922
932
  skillsVersion: _nullishCoalesce(skillsVersion, () => ( null)),
923
933
  fastDeadline
924
934
  },
925
- () => _chunkSCIR5JXWjs.checkSdkCompatibility.call(void 0, baseUrl, {
935
+ () => _chunkWUZS2HK6js.checkSdkCompatibility.call(void 0, baseUrl, {
926
936
  command: compatibilityCommand,
927
937
  skillsVersion,
928
938
  persistCache: !isToolExecuteCommand && maintenance !== "off",
929
- catalog: _chunkFGMX4HUZjs.compatibilityCatalog.call(void 0, actionCommand),
930
- ...fastDeadline ? { timeoutMs: _chunkSCIR5JXWjs.SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
939
+ catalog: _chunkCBZP6J3Vjs.compatibilityCatalog.call(void 0, actionCommand),
940
+ ...fastDeadline ? { timeoutMs: _chunkWUZS2HK6js.SDK_COMPATIBILITY_FAST_DEADLINE_MS } : {}
931
941
  })
932
942
  );
933
943
  if (compatibility.error) {
@@ -938,7 +948,7 @@ Exit codes:
938
948
  response: null
939
949
  };
940
950
  }
941
- const relaunched = await _chunkFGMX4HUZjs.maybeAutoUpdateAndRelaunch.call(void 0,
951
+ const relaunched = await _chunkCBZP6J3Vjs.maybeAutoUpdateAndRelaunch.call(void 0,
942
952
  compatibility.response,
943
953
  baseUrl,
944
954
  maintenance
@@ -952,14 +962,14 @@ Exit codes:
952
962
  };
953
963
  }
954
964
  const policy = compatibility.response;
955
- const jsonOutput = _chunk5MDIZX7Mjs.isJsonOutputMode.call(void 0, );
956
- _chunkSCIR5JXWjs.enforceSdkCompatibilityResponse.call(void 0, policy, {
965
+ const jsonOutput = _chunk5LHXOIPTjs.isJsonOutputMode.call(void 0, );
966
+ _chunkWUZS2HK6js.enforceSdkCompatibilityResponse.call(void 0, policy, {
957
967
  quietAdvisory: jsonOutput || // The queued update already says what is about to happen.
958
- _chunkFGMX4HUZjs.hasDeferredAutoUpdate.call(void 0, ) || maintenance === "off" || !_chunkSCIR5JXWjs.claimUpdateAdvisory.call(void 0, baseUrl)
968
+ _chunkCBZP6J3Vjs.hasDeferredAutoUpdate.call(void 0, ) || maintenance === "off" || !_chunkWUZS2HK6js.claimUpdateAdvisory.call(void 0, baseUrl)
959
969
  });
960
970
  const advisory = compatibility.response;
961
- if (jsonOutput && advisory && (advisory.status === "deprecated" || advisory.status === "update_available") && !_chunkSCIR5JXWjs.isCiEnvironment.call(void 0, ) && !_chunkFGMX4HUZjs.hasDeferredAutoUpdate.call(void 0, )) {
962
- _chunk5MDIZX7Mjs.addJsonNotice.call(void 0, { code: advisory.status, message: advisory.message });
971
+ if (jsonOutput && advisory && (advisory.status === "deprecated" || advisory.status === "update_available") && !_chunkWUZS2HK6js.isCiEnvironment.call(void 0, ) && !_chunkCBZP6J3Vjs.hasDeferredAutoUpdate.call(void 0, )) {
972
+ _chunk5LHXOIPTjs.addJsonNotice.call(void 0, { code: advisory.status, message: advisory.message });
963
973
  }
964
974
  return {
965
975
  shouldContinue: true,
@@ -976,10 +986,10 @@ Exit codes:
976
986
  const skillsUpdate = startup.response && Object.prototype.hasOwnProperty.call(startup.response, "skills") ? _nullishCoalesce(startup.response.skills, () => ( null)) : void 0;
977
987
  await runStartupStage(
978
988
  "agent skills sync",
979
- () => _chunkOZBWRICMjs.traceCliSpan.call(void 0,
989
+ () => _chunkFK2HNDCNjs.traceCliSpan.call(void 0,
980
990
  "cli.sdk_skills_sync",
981
991
  { baseUrl: startup.baseUrl },
982
- () => _chunkSCIR5JXWjs.syncSdkSkillsIfNeeded.call(void 0, startup.baseUrl, {
992
+ () => _chunkWUZS2HK6js.syncSdkSkillsIfNeeded.call(void 0, startup.baseUrl, {
983
993
  update: skillsUpdate,
984
994
  mode: "detached"
985
995
  })
@@ -988,19 +998,19 @@ Exit codes:
988
998
  }
989
999
  });
990
1000
  const requestedCommand = process.argv[2];
991
- const commandRegistrationStartedAt = _chunkOZBWRICMjs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
1001
+ const commandRegistrationStartedAt = _chunkFK2HNDCNjs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
992
1002
  await registerDeeplineCommandGroups(
993
1003
  program,
994
1004
  !requestedCommand || requestedCommand === "help" || requestedCommand.startsWith("-") && !["-v", "--version"].includes(requestedCommand) ? void 0 : requestedCommand
995
1005
  );
996
1006
  if (commandRegistrationStartedAt !== void 0) {
997
- _chunkOZBWRICMjs.recordCliTrace.call(void 0, {
1007
+ _chunkFK2HNDCNjs.recordCliTrace.call(void 0, {
998
1008
  phase: "cli.command_registration",
999
1009
  ms: performance.now() - commandRegistrationStartedAt
1000
1010
  });
1001
1011
  }
1002
1012
  const { preflight, health, version } = registerDeeplineInlineCommands(program);
1003
- if (_chunk5MDIZX7Mjs.isJsonOutputMode.call(void 0, )) silenceCommanderErrorOutput(program);
1013
+ if (_chunk5LHXOIPTjs.isJsonOutputMode.call(void 0, )) silenceCommanderErrorOutput(program);
1004
1014
  preflight.addHelpText(
1005
1015
  "after",
1006
1016
  `
@@ -1015,8 +1025,8 @@ Examples:
1015
1025
  `
1016
1026
  ).action(async (options) => {
1017
1027
  const data = await runPreflightCheck();
1018
- if (_chunk5MDIZX7Mjs.shouldEmitJson.call(void 0, options.json)) {
1019
- _chunk5MDIZX7Mjs.printJson.call(void 0, data);
1028
+ if (_chunk5LHXOIPTjs.shouldEmitJson.call(void 0, options.json)) {
1029
+ _chunk5LHXOIPTjs.printJson.call(void 0, data);
1020
1030
  } else {
1021
1031
  printPreflightHuman(data);
1022
1032
  }
@@ -1038,7 +1048,7 @@ Examples:
1038
1048
  ).action(async (options) => {
1039
1049
  if (options.playRunner) {
1040
1050
  const data = await runPlayRunnerHealthCheck();
1041
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0, data, {
1051
+ _chunk5LHXOIPTjs.printCommandEnvelope.call(void 0, data, {
1042
1052
  json: options.json,
1043
1053
  text: `play runner: ${data.playRunner.status} (${data.playRunner.check})
1044
1054
  `
@@ -1046,15 +1056,15 @@ Examples:
1046
1056
  return;
1047
1057
  }
1048
1058
  try {
1049
- const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-IACERYQH.js")));
1050
- const baseUrl = _chunkYQDUODZWjs.resolveBaseUrlOnly.call(void 0, );
1059
+ const { httpJson, readStatusBanner, statusBannerLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-XPGKBJKB.js")));
1060
+ const baseUrl = _chunkBGNWI3KHjs.resolveBaseUrlOnly.call(void 0, );
1051
1061
  const [{ status, data }, banner] = await Promise.all([
1052
1062
  httpJson("GET", `${baseUrl}/api/v2/health`, null),
1053
1063
  readStatusBanner(baseUrl)
1054
1064
  ]);
1055
1065
  if (status !== 200) throw new Error(`HTTP ${status}`);
1056
1066
  const lines = [`${baseUrl}: ${data.status}`, statusBannerLine(banner)];
1057
- _chunk5MDIZX7Mjs.printCommandEnvelope.call(void 0,
1067
+ _chunk5LHXOIPTjs.printCommandEnvelope.call(void 0,
1058
1068
  { ...data, status_banner: banner },
1059
1069
  {
1060
1070
  json: options.json,
@@ -1082,16 +1092,16 @@ Examples:
1082
1092
  `
1083
1093
  ).action((options) => {
1084
1094
  if (options.json) {
1085
- _chunk5MDIZX7Mjs.printCompactJson.call(void 0, { version: _chunkYQDUODZWjs.SDK_VERSION });
1095
+ _chunk5LHXOIPTjs.printCompactJson.call(void 0, { version: _chunkYGGIZ3VTjs.SDK_VERSION });
1086
1096
  return;
1087
1097
  }
1088
- process.stdout.write(`deepline ${_chunkYQDUODZWjs.SDK_VERSION}
1098
+ process.stdout.write(`deepline ${_chunkYGGIZ3VTjs.SDK_VERSION}
1089
1099
  `);
1090
1100
  });
1091
1101
  if (process.argv.slice(2).length === 0) {
1092
1102
  program.outputHelp({ error: true });
1093
1103
  console.error("\nerror: missing command (see usage above)");
1094
- _chunkOZBWRICMjs.recordCliTrace.call(void 0, {
1104
+ _chunkFK2HNDCNjs.recordCliTrace.call(void 0, {
1095
1105
  phase: "cli.main_total",
1096
1106
  ms: Date.now() - mainStartedAt,
1097
1107
  ok: false,
@@ -1103,16 +1113,16 @@ Examples:
1103
1113
  const requestedTopLevelCommand = _nullishCoalesce(process.argv.slice(2)[0], () => ( ""));
1104
1114
  if (!topLevelCommandKnown(program, requestedTopLevelCommand)) {
1105
1115
  const unknownCommandMessage = `error: unknown command '${requestedTopLevelCommand}'`;
1106
- if (!_chunk5MDIZX7Mjs.isJsonOutputMode.call(void 0, )) console.error(unknownCommandMessage);
1107
- const baseUrl = _chunkYQDUODZWjs.autoDetectBaseUrl.call(void 0, );
1116
+ if (!_chunk5LHXOIPTjs.isJsonOutputMode.call(void 0, )) console.error(unknownCommandMessage);
1117
+ const baseUrl = _chunkBGNWI3KHjs.autoDetectBaseUrl.call(void 0, );
1108
1118
  await ensureTransport();
1109
1119
  const versionHint = await newerCliCommandHint(
1110
1120
  baseUrl,
1111
1121
  requestedTopLevelCommand
1112
1122
  );
1113
- if (_chunk5MDIZX7Mjs.isJsonOutputMode.call(void 0, )) {
1123
+ if (_chunk5LHXOIPTjs.isJsonOutputMode.call(void 0, )) {
1114
1124
  if (versionHint) {
1115
- _chunk5MDIZX7Mjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
1125
+ _chunk5LHXOIPTjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
1116
1126
  }
1117
1127
  printUsageErrorJson(
1118
1128
  "commander.unknownCommand",
@@ -1134,32 +1144,32 @@ Examples:
1134
1144
  const helpArgs = process.argv.slice(2);
1135
1145
  const helpPositionals = helpArgs.filter((arg) => !arg.startsWith("-"));
1136
1146
  if (helpPositionals.length === 0 ? helpArgs.includes("--help") || helpArgs.includes("-h") : helpPositionals.length === 1 && helpPositionals[0] === "help") {
1137
- const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-IACERYQH.js")));
1138
- rootHelpStatus = `Version: ${_chunkYQDUODZWjs.SDK_VERSION}
1147
+ const { authStatusLine } = await Promise.resolve().then(() => _interopRequireWildcard(require("./auth-XPGKBJKB.js")));
1148
+ rootHelpStatus = `Version: ${_chunkYGGIZ3VTjs.SDK_VERSION}
1139
1149
  ${await authStatusLine()}
1140
1150
  `;
1141
1151
  }
1142
1152
  await program.parseAsync(process.argv);
1143
- _chunkOZBWRICMjs.recordCliTrace.call(void 0, {
1153
+ _chunkFK2HNDCNjs.recordCliTrace.call(void 0, {
1144
1154
  phase: "cli.main_total",
1145
1155
  ms: Date.now() - mainStartedAt,
1146
1156
  ok: true
1147
1157
  });
1148
- await _chunkSCIR5JXWjs.maybeReportSdkCliFailure.call(void 0, {
1158
+ await _chunkWUZS2HK6js.maybeReportSdkCliFailure.call(void 0, {
1149
1159
  argv: process.argv.slice(2),
1150
1160
  startedAtMs: mainStartedAt,
1151
1161
  exitCode: typeof process.exitCode === "number" ? process.exitCode : null
1152
1162
  });
1153
1163
  } catch (error) {
1154
1164
  const commanderError = asCommanderError(error);
1155
- _chunkOZBWRICMjs.recordCliTrace.call(void 0, {
1165
+ _chunkFK2HNDCNjs.recordCliTrace.call(void 0, {
1156
1166
  phase: "cli.main_total",
1157
1167
  ms: Date.now() - mainStartedAt,
1158
1168
  ok: false,
1159
1169
  error: error instanceof Error ? error.message : String(error)
1160
1170
  });
1161
1171
  _optionalChain([progress, 'optionalAccess', _20 => _20.fail, 'call', _21 => _21()]);
1162
- const wantsJson = _chunk5MDIZX7Mjs.isJsonOutputMode.call(void 0, );
1172
+ const wantsJson = _chunk5LHXOIPTjs.isJsonOutputMode.call(void 0, );
1163
1173
  if (commanderError) {
1164
1174
  const grammarError = [
1165
1175
  "commander.unknownCommand",
@@ -1170,12 +1180,12 @@ ${await authStatusLine()}
1170
1180
  if (grammarError) {
1171
1181
  await ensureTransport();
1172
1182
  const versionHint = await newerCliCommandHint(
1173
- _chunkYQDUODZWjs.autoDetectBaseUrl.call(void 0, ),
1183
+ _chunkBGNWI3KHjs.autoDetectBaseUrl.call(void 0, ),
1174
1184
  commandPath
1175
1185
  );
1176
1186
  if (wantsJson) {
1177
1187
  if (versionHint) {
1178
- _chunk5MDIZX7Mjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
1188
+ _chunk5LHXOIPTjs.addJsonNotice.call(void 0, { code: "newer_cli_command", message: versionHint });
1179
1189
  }
1180
1190
  } else {
1181
1191
  if (versionHint) console.error(versionHint);
@@ -1195,49 +1205,49 @@ ${await authStatusLine()}
1195
1205
  return;
1196
1206
  } else if (wantsJson) {
1197
1207
  if (error instanceof _chunkALJJRZNJjs.AuthError) {
1198
- _chunk5MDIZX7Mjs.addJsonNotice.call(void 0, {
1208
+ _chunk5LHXOIPTjs.addJsonNotice.call(void 0, {
1199
1209
  code: "auth_required",
1200
1210
  message: `Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`
1201
1211
  });
1202
1212
  }
1203
- const providerConcurrency = _chunk5MDIZX7Mjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
1213
+ const providerConcurrency = _chunk5LHXOIPTjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
1204
1214
  if (providerConcurrency) {
1205
- _chunk5MDIZX7Mjs.addJsonNotice.call(void 0, {
1215
+ _chunk5LHXOIPTjs.addJsonNotice.call(void 0, {
1206
1216
  code: "provider_concurrency",
1207
1217
  message: providerConcurrency
1208
1218
  });
1209
1219
  }
1210
- _chunk5MDIZX7Mjs.printJson.call(void 0, {
1211
- ..._chunk5MDIZX7Mjs.errorToJsonPayload.call(void 0, error),
1220
+ _chunk5LHXOIPTjs.printJson.call(void 0, {
1221
+ ..._chunk5LHXOIPTjs.errorToJsonPayload.call(void 0, error),
1212
1222
  ...error instanceof _chunkALJJRZNJjs.AuthError ? { next: AUTH_RECOVERY_COMMAND } : {}
1213
1223
  });
1214
1224
  } else if (error instanceof Error) {
1215
1225
  console.error(`Error: ${error.message}`);
1216
- const toolDiagnostic = _chunk5MDIZX7Mjs.formatToolExecutionErrorDiagnostic.call(void 0, error);
1226
+ const toolDiagnostic = _chunk5LHXOIPTjs.formatToolExecutionErrorDiagnostic.call(void 0, error);
1217
1227
  if (toolDiagnostic) console.error(toolDiagnostic);
1218
1228
  if (error instanceof _chunkALJJRZNJjs.AuthError) {
1219
1229
  console.error(`Not authenticated. Run: ${AUTH_RECOVERY_COMMAND}`);
1220
1230
  }
1221
- const providerConcurrency = _chunk5MDIZX7Mjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
1231
+ const providerConcurrency = _chunk5LHXOIPTjs.formatProviderConcurrencyDiagnostic.call(void 0, error);
1222
1232
  if (providerConcurrency) console.error(providerConcurrency);
1223
1233
  } else {
1224
1234
  console.error(`Error: ${String(error)}`);
1225
1235
  }
1226
1236
  const explicitExitCode = error && typeof error === "object" && typeof error.exitCode === "number" ? error.exitCode : void 0;
1227
- const failureExitCode = _nullishCoalesce(explicitExitCode, () => ( _chunkSCIR5JXWjs.resolveSdkCliFailureExitCode.call(void 0, error)));
1237
+ const failureExitCode = _nullishCoalesce(explicitExitCode, () => ( _chunkWUZS2HK6js.resolveSdkCliFailureExitCode.call(void 0, error)));
1228
1238
  process.exitCode = failureExitCode;
1229
- await _chunkSCIR5JXWjs.maybeReportSdkCliFailure.call(void 0, {
1239
+ await _chunkWUZS2HK6js.maybeReportSdkCliFailure.call(void 0, {
1230
1240
  argv: process.argv.slice(2),
1231
1241
  startedAtMs: mainStartedAt,
1232
1242
  exitCode: failureExitCode,
1233
1243
  error
1234
1244
  });
1235
1245
  } finally {
1236
- _chunkFGMX4HUZjs.finishToolExecuteCommand.call(void 0, );
1246
+ _chunkCBZP6J3Vjs.finishToolExecuteCommand.call(void 0, );
1237
1247
  const maintainInlinePlay = deferredMaintenance.inlinePlay;
1238
1248
  deferredMaintenance.inlinePlay = null;
1239
1249
  await _optionalChain([maintainInlinePlay, 'optionalCall', _22 => _22()]);
1240
- await _chunkFGMX4HUZjs.runDeferredAutoUpdate.call(void 0, );
1250
+ await _chunkCBZP6J3Vjs.runDeferredAutoUpdate.call(void 0, );
1241
1251
  }
1242
1252
  process.exitCode = _nullishCoalesce(process.exitCode, () => ( 0));
1243
1253
  }
@@ -1245,7 +1255,7 @@ async function main() {
1245
1255
  let disposeTransport;
1246
1256
  const ensureTransport = async () => {
1247
1257
  if (disposeTransport) return;
1248
- const transportStartedAt = _chunkOZBWRICMjs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
1258
+ const transportStartedAt = _chunkFK2HNDCNjs.isCliTraceEnabled.call(void 0, ) ? performance.now() : void 0;
1249
1259
  const hasProxy = [
1250
1260
  "HTTP_PROXY",
1251
1261
  "http_proxy",
@@ -1257,7 +1267,7 @@ async function main() {
1257
1267
  disposeTransport = configureCliTransport();
1258
1268
  }
1259
1269
  if (transportStartedAt !== void 0) {
1260
- _chunkOZBWRICMjs.recordCliTrace.call(void 0, {
1270
+ _chunkFK2HNDCNjs.recordCliTrace.call(void 0, {
1261
1271
  phase: "cli.transport_setup",
1262
1272
  ms: performance.now() - transportStartedAt
1263
1273
  });
@@ -1274,9 +1284,9 @@ async function main() {
1274
1284
  action = dispatched;
1275
1285
  skipOutputReport = dispatched.path === "tools execute" || dispatched.path === "plays run" && process.argv.includes("--json");
1276
1286
  });
1277
- const silentFailure = _chunk5MDIZX7Mjs.takeSilentJsonFailureMessage.call(void 0, process.exitCode);
1287
+ const silentFailure = _chunk5LHXOIPTjs.takeSilentJsonFailureMessage.call(void 0, process.exitCode);
1278
1288
  if (silentFailure) {
1279
- _chunk5MDIZX7Mjs.printJson.call(void 0, {
1289
+ _chunk5LHXOIPTjs.printJson.call(void 0, {
1280
1290
  ok: false,
1281
1291
  exitCode: Number(process.exitCode),
1282
1292
  error: { code: "CLI_ERROR", message: silentFailure }