deepline 0.3.542 → 0.3.544

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 (246) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +112 -2
  2. package/dist/bundling-sources/sdk/src/index.ts +7 -0
  3. package/dist/bundling-sources/sdk/src/integrations.ts +198 -0
  4. package/dist/bundling-sources/sdk/src/plays/run-request.ts +3 -0
  5. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  6. package/dist/bundling-sources/sdk/src/tool-calls.ts +35 -11
  7. package/dist/bundling-sources/sdk/src/types.ts +10 -0
  8. package/dist/bundling-sources/shared_libs/integration-contracts/calendar-delegation.ts +132 -0
  9. package/dist/bundling-sources/shared_libs/integration-contracts/monitor-fleet-contract.ts +3 -1
  10. package/dist/bundling-sources/shared_libs/integration-contracts/tool-connection.ts +13 -0
  11. package/dist/bundling-sources/shared_libs/monitors/fleets/plan.ts +108 -1
  12. package/dist/bundling-sources/shared_libs/monitors/package.json +1 -1
  13. package/dist/bundling-sources/shared_libs/observability/queue-health.ts +9 -0
  14. package/dist/bundling-sources/shared_libs/observability/queue-item-connectors.ts +1 -0
  15. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +5 -5
  16. package/dist/bundling-sources/shared_libs/play-data-plane/sheet-contract.ts +34 -0
  17. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +11 -5
  18. package/dist/bundling-sources/shared_libs/play-runtime/baked-runner-image.ts +9 -7
  19. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +235 -12
  20. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +20 -1
  21. package/dist/bundling-sources/shared_libs/play-runtime/daytona-sandbox-janitor.ts +39 -30
  22. package/dist/bundling-sources/shared_libs/play-runtime/durable-summary-events.ts +29 -0
  23. package/dist/bundling-sources/shared_libs/play-runtime/event-wait-tools.ts +2 -0
  24. package/dist/bundling-sources/shared_libs/play-runtime/experiment-switches.ts +10 -4
  25. package/dist/bundling-sources/shared_libs/play-runtime/fleet-sandbox-sweep.ts +209 -0
  26. package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +4 -0
  27. package/dist/bundling-sources/shared_libs/play-runtime/play-run-recovery-policy.ts +24 -1
  28. package/dist/bundling-sources/shared_libs/play-runtime/play-runs/sandbox-cleanup/contracts.ts +2 -1
  29. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +6 -1
  30. package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +37 -0
  31. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +43 -3
  32. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-tool-hooks.ts +7 -0
  33. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-modal-fallback.ts +15 -0
  34. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +23 -5
  35. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +320 -836
  36. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/vercel-sandbox.ts +1061 -0
  37. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox.ts +862 -0
  38. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/runtime-sandbox-reconciliation.ts +45 -0
  39. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/sandbox-create-outcome.ts +3 -1
  40. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/types.ts +11 -5
  41. package/dist/bundling-sources/shared_libs/play-runtime/runtime-sandbox-contract.ts +20 -2
  42. package/dist/bundling-sources/shared_libs/play-runtime/runtime-sandbox-placement-policy.ts +71 -34
  43. package/dist/bundling-sources/shared_libs/play-runtime/runtime-sandbox-provider-profile.ts +286 -0
  44. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/contract.ts +4 -1
  45. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/runner-backend-adapter.ts +12 -3
  46. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +7 -0
  47. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +49 -55
  48. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-worker-required-env.ts +127 -5
  49. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd.ts +7 -1
  50. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-lane.ts +214 -0
  51. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/managed-sandbox-resource-sql.ts +118 -0
  52. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +1 -0
  53. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +229 -144
  54. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +2 -2
  55. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +2 -1
  56. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-ledger-reconciliation.ts +11 -13
  57. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-operation.ts +42 -7
  58. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-worker-wake.ts +2 -1
  59. package/dist/bundling-sources/shared_libs/play-runtime/suspension.ts +2 -2
  60. package/dist/bundling-sources/shared_libs/play-runtime/tool-cache-policy.ts +17 -0
  61. package/dist/bundling-sources/shared_libs/play-runtime/vercel-sandbox-runtime-config.ts +217 -0
  62. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +23 -0
  63. package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +1 -0
  64. package/dist/bundling-sources/shared_libs/plays/script-entry.ts +76 -6
  65. package/dist/bundling-sources/shared_libs/plays/static-pipeline.ts +1 -0
  66. package/dist/bundling-sources/shared_libs/security/credential-revision.ts +50 -0
  67. package/dist/bundling-sources/shared_libs/security/internal-actor.ts +2 -1
  68. package/dist/bundling-sources/shared_libs/security/receipt-admission-token.ts +37 -0
  69. package/dist/cli/auth-ENBXAKQS.js +43 -0
  70. package/dist/cli/{auth-IGBGOB4E.mjs → auth-IMWJAHPU.mjs} +5 -5
  71. package/dist/cli/{billing-IB2TWE74.js → billing-Y55PR2PV.js} +101 -101
  72. package/dist/cli/{billing-N37W2I62.mjs → billing-YQMW3QJI.mjs} +12 -12
  73. package/dist/cli/chunk-22OBDYHP.js +455 -0
  74. package/dist/cli/{chunk-GBAT5NMI.mjs → chunk-2HSZCQMT.mjs} +48 -6
  75. package/dist/cli/{chunk-VLEVVDWG.js → chunk-2JHYYB3F.js} +3 -3
  76. package/dist/cli/{chunk-D44DP4KJ.js → chunk-3I26HMJ7.js} +37 -17
  77. package/dist/cli/{chunk-B5NP3SHX.mjs → chunk-3JDA23NN.mjs} +2 -2
  78. package/dist/cli/{chunk-QXNOSCYL.js → chunk-3KGMM4KS.js} +1 -1
  79. package/dist/cli/{chunk-6WQDHEVF.mjs → chunk-456RRXAP.mjs} +5 -5
  80. package/dist/cli/{chunk-V4EYJKGJ.js → chunk-4JQEAYN3.js} +156 -17
  81. package/dist/cli/{chunk-FGGPCAGC.js → chunk-4PKHFW56.js} +18 -18
  82. package/dist/cli/{chunk-QONO7FRF.mjs → chunk-57G4NYOL.mjs} +1 -1
  83. package/dist/cli/{chunk-46V7QSJE.mjs → chunk-5PR4VLLL.mjs} +3 -3
  84. package/dist/cli/{chunk-OLH2PHMC.mjs → chunk-6P7TGCHQ.mjs} +1 -1
  85. package/dist/cli/{chunk-AKY7KZRJ.js → chunk-7GNZEOTH.js} +6 -6
  86. package/dist/cli/{chunk-LFMQVSEI.js → chunk-7HMMTSDA.js} +5 -5
  87. package/dist/cli/{chunk-ORA5TMML.mjs → chunk-BEQ7RQLT.mjs} +5 -5
  88. package/dist/cli/{chunk-KQSTV4MW.js → chunk-BLYW6FFB.js} +60 -18
  89. package/dist/cli/{chunk-GM73TZ2W.js → chunk-C4P2KLWT.js} +41 -41
  90. package/dist/cli/{chunk-DNGACHFX.js → chunk-COJHT2KF.js} +22 -22
  91. package/dist/cli/{chunk-6SLEHAXX.js → chunk-DF2X7GJG.js} +5 -5
  92. package/dist/cli/{chunk-TT4JUUC3.mjs → chunk-DVDWAC2M.mjs} +7 -3
  93. package/dist/cli/{chunk-5CAVURVS.js → chunk-DYDHLBSK.js} +53 -53
  94. package/dist/cli/{chunk-UNDLNT3V.js → chunk-ECWOIXAV.js} +1 -1
  95. package/dist/cli/{chunk-EHLCWGWN.js → chunk-G26VJCNT.js} +4 -4
  96. package/dist/cli/{chunk-WL2GUGNZ.js → chunk-GQHRGBHV.js} +7 -7
  97. package/dist/cli/{chunk-DADH3WPE.mjs → chunk-GV45TTI6.mjs} +2 -2
  98. package/dist/cli/{chunk-OVX3Q5Q3.mjs → chunk-GWNYLIF7.mjs} +1 -1
  99. package/dist/cli/{chunk-EGOCGWCI.mjs → chunk-H4SAHB3Q.mjs} +3 -3
  100. package/dist/cli/{chunk-FX4OWXKK.mjs → chunk-HAQRF6DJ.mjs} +2 -2
  101. package/dist/cli/{chunk-NLZHLEHD.mjs → chunk-HBSWATOU.mjs} +6 -6
  102. package/dist/cli/{chunk-ACVTMAW4.mjs → chunk-HVJQF5BI.mjs} +2 -2
  103. package/dist/cli/{chunk-L2VKAASU.mjs → chunk-HXIR3VQL.mjs} +21 -0
  104. package/dist/cli/{chunk-Z5YRKX7K.mjs → chunk-HXM2JUGD.mjs} +1 -1
  105. package/dist/cli/{chunk-JPT6VE54.js → chunk-IFIJ4DBJ.js} +2 -2
  106. package/dist/cli/{chunk-HAITCPCG.js → chunk-JBWOE6AP.js} +16 -16
  107. package/dist/cli/{chunk-AWLPERL3.js → chunk-JWVG7ZPX.js} +3 -3
  108. package/dist/cli/{chunk-3XXXMSSP.js → chunk-KE6CSCUF.js} +44 -44
  109. package/dist/cli/{chunk-2ZGSHVZE.mjs → chunk-LPUBBUKX.mjs} +24 -4
  110. package/dist/cli/{chunk-PLIKPGOO.mjs → chunk-LQ6RRYXN.mjs} +5 -5
  111. package/dist/cli/{chunk-FFDZT255.mjs → chunk-LW274RO7.mjs} +1 -1
  112. package/dist/cli/{chunk-Z2XA6YU4.mjs → chunk-LX35AXTN.mjs} +1 -0
  113. package/dist/cli/{chunk-FANIRW74.mjs → chunk-NIPLY25A.mjs} +0 -2
  114. package/dist/cli/{chunk-VHJUH3TB.js → chunk-ON56ISO6.js} +3 -3
  115. package/dist/cli/{chunk-4I47NCRI.js → chunk-PDJ4UDCO.js} +498 -328
  116. package/dist/cli/{chunk-SWO5QOXB.mjs → chunk-PFGOCUH3.mjs} +1 -1
  117. package/dist/cli/{chunk-Q7WDXLYO.js → chunk-PKRW76XG.js} +2 -2
  118. package/dist/cli/{chunk-YK7NNZD4.mjs → chunk-PMW5YP72.mjs} +37 -190
  119. package/dist/cli/{chunk-5APOJWJF.mjs → chunk-Q7ZOWNKR.mjs} +183 -13
  120. package/dist/cli/{chunk-WACIN4PR.mjs → chunk-REEOMNCO.mjs} +3 -3
  121. package/dist/cli/{chunk-DMXLZ57N.js → chunk-RG34YBDE.js} +2 -2
  122. package/dist/cli/{chunk-3LEUSRV3.mjs → chunk-RJPDCSTD.mjs} +4 -4
  123. package/dist/cli/{chunk-IPVRMYWT.js → chunk-RKF263LR.js} +5 -5
  124. package/dist/cli/{chunk-AUFE624T.js → chunk-RUFR4PUO.js} +10 -10
  125. package/dist/cli/{chunk-I5EAIFGO.mjs → chunk-SK3HPU2J.mjs} +1 -1
  126. package/dist/cli/{chunk-ZVNYBQ77.mjs → chunk-SKS53WM6.mjs} +4 -4
  127. package/dist/cli/{chunk-CQDQNZGH.js → chunk-SL6MYJYM.js} +1 -0
  128. package/dist/cli/{chunk-E4CABWXL.js → chunk-TI6DTURF.js} +22 -1
  129. package/dist/cli/{chunk-CFZCRM6R.js → chunk-UHIAQPVA.js} +26 -26
  130. package/dist/cli/{chunk-D7GWEBMF.js → chunk-UNMNGRPB.js} +7 -7
  131. package/dist/cli/{chunk-GWHA4DAC.js → chunk-UV4RU2TE.js} +0 -2
  132. package/dist/cli/{chunk-TTBHOMAA.js → chunk-W7X4KH45.js} +316 -469
  133. package/dist/cli/chunk-WBSGPLH5.mjs +455 -0
  134. package/dist/cli/{chunk-SCLP5H4P.mjs → chunk-WUEORIOY.mjs} +1 -1
  135. package/dist/cli/{chunk-IDDKNMFX.mjs → chunk-Y3T5GWYK.mjs} +153 -14
  136. package/dist/cli/{chunk-P4MDTBAA.mjs → chunk-YIRVKMON.mjs} +1 -1
  137. package/dist/cli/{chunk-NDNEARE3.js → chunk-Z44YTSTA.js} +13 -13
  138. package/dist/cli/{chunk-F6QV42MC.mjs → chunk-Z7SXGOIQ.mjs} +1 -1
  139. package/dist/cli/{chunk-2VRKBHMD.mjs → chunk-ZHY4T5M6.mjs} +1 -1
  140. package/dist/cli/{chunk-E7B73LGT.js → chunk-ZY6FL4O4.js} +24 -20
  141. package/dist/cli/command-docs.js +3 -3
  142. package/dist/cli/command-docs.mjs +2 -2
  143. package/dist/cli/{concurrent-runs-help-DIBGMEIN.mjs → concurrent-runs-help-KBWPKSTP.mjs} +7 -7
  144. package/dist/cli/concurrent-runs-help-TOMLCMV7.js +21 -0
  145. package/dist/cli/{csv-CAVA3EMS.mjs → csv-M5EBEMZH.mjs} +4 -4
  146. package/dist/cli/{csv-XZAM7EYZ.js → csv-XGGDZTQI.js} +13 -13
  147. package/dist/cli/{db-PPGEOBNG.js → db-CVPR54XK.js} +29 -29
  148. package/dist/cli/{db-HD332QI7.mjs → db-M6FJ6J6E.mjs} +8 -8
  149. package/dist/cli/describe-RUODIS6M.js +50 -0
  150. package/dist/cli/describe-X6QA2U3C.mjs +50 -0
  151. package/dist/cli/describe-core.d.mts +3 -3
  152. package/dist/cli/describe-core.d.ts +3 -3
  153. package/dist/cli/describe-core.js +3 -3
  154. package/dist/cli/describe-core.mjs +2 -2
  155. package/dist/cli/{executions-AFEOLB4A.mjs → executions-EHTS2XJX.mjs} +8 -8
  156. package/dist/cli/{executions-4ZKBL7IC.js → executions-VJEEWN22.js} +10 -10
  157. package/dist/cli/{feedback-J2YPLKMF.mjs → feedback-76VGY4GP.mjs} +6 -6
  158. package/dist/cli/{feedback-M6Y33JKT.js → feedback-DQPUCUXO.js} +14 -14
  159. package/dist/cli/{git-632RYEF6.mjs → git-IY6DKKLR.mjs} +5 -5
  160. package/dist/cli/git-RLHTSYRY.js +25 -0
  161. package/dist/cli/index.js +150 -146
  162. package/dist/cli/index.mjs +49 -45
  163. package/dist/cli/integrations-242LE3TQ.mjs +98 -0
  164. package/dist/cli/integrations-CQSTIKFY.js +98 -0
  165. package/dist/cli/{legacy-noops-KWZMXYAU.mjs → legacy-noops-SWTSTMRY.mjs} +6 -6
  166. package/dist/cli/{legacy-noops-4Y62TKPC.js → legacy-noops-U72DO6ZF.js} +9 -9
  167. package/dist/cli/{mcp-PESLHAAC.mjs → mcp-JJH6JR52.mjs} +72 -15
  168. package/dist/cli/{mcp-35QA6YG7.js → mcp-L473BKLJ.js} +89 -32
  169. package/dist/cli/{monitors-4DTUZLAI.js → monitors-3TF2DOFD.js} +119 -104
  170. package/dist/cli/{monitors-YVBKBJBU.mjs → monitors-VSYHUBKC.mjs} +26 -11
  171. package/dist/cli/{org-DJNKMFCZ.mjs → org-S5VIKU2E.mjs} +8 -8
  172. package/dist/cli/{org-FWCBZMER.js → org-YKVI2ZTI.js} +90 -90
  173. package/dist/cli/{play-PHVQEEEZ.mjs → play-C7T5A3QM.mjs} +44 -25
  174. package/dist/cli/{play-FZ45M4KD.js → play-DOWEG45Y.js} +374 -355
  175. package/dist/cli/{providers-46E67QG7.mjs → providers-BMVVX3VD.mjs} +10 -9
  176. package/dist/cli/{providers-QJU6FMDD.js → providers-TAZPPFTB.js} +13 -12
  177. package/dist/cli/{quickstart-6HMJJ4RR.mjs → quickstart-A3WKMKTW.mjs} +4 -4
  178. package/dist/cli/{quickstart-HOL7H5FS.js → quickstart-HD6FQXGR.js} +6 -6
  179. package/dist/cli/{run-WKSIRXEC.js → run-BVVV2UX7.js} +49 -48
  180. package/dist/cli/{run-2W2TJ6QA.mjs → run-FV7TWNOC.mjs} +28 -27
  181. package/dist/cli/{search-Y2CFLSYB.mjs → search-MGK6WIKS.mjs} +9 -9
  182. package/dist/cli/search-VJFCWUZN.js +32 -0
  183. package/dist/cli/{search-output-2IK6ZZDY.js → search-output-6Y7KEPIE.js} +6 -6
  184. package/dist/cli/{search-output-FCZ35PHF.mjs → search-output-GM7LDZKE.mjs} +4 -4
  185. package/dist/cli/{secrets-PNPNUZLX.mjs → secrets-4RFAR7YI.mjs} +8 -8
  186. package/dist/cli/{secrets-JVJIHGU4.js → secrets-SISXIXSZ.js} +17 -17
  187. package/dist/cli/{sessions-GY5VVQGO.mjs → sessions-CE3OMEG7.mjs} +6 -6
  188. package/dist/cli/sessions-OWWZJZXH.js +22 -0
  189. package/dist/cli/{settings-5WHMFRNQ.js → settings-4HPM3K4A.js} +89 -89
  190. package/dist/cli/{settings-YQOPF3AI.mjs → settings-E22IDSX2.mjs} +16 -16
  191. package/dist/cli/{setup-3VJMKDEU.js → setup-BDRSNLKX.js} +49 -49
  192. package/dist/cli/{setup-O5U5IEVW.mjs → setup-BK65MDZ6.mjs} +9 -9
  193. package/dist/cli/{skills-G6J5PF35.mjs → skills-FI2GZMR4.mjs} +7 -7
  194. package/dist/cli/skills-ZLBFUAFR.js +36 -0
  195. package/dist/cli/tools-3K72VE33.js +57 -0
  196. package/dist/cli/{tools-AG7SWL5Y.mjs → tools-HMMWYUNW.mjs} +20 -19
  197. package/dist/cli/update-QZV6DH5V.js +34 -0
  198. package/dist/cli/{update-K73DD6CR.mjs → update-WDKBSXV5.mjs} +9 -9
  199. package/dist/cli/{views-4D2OTLIO.js → views-775AUDWQ.js} +23 -23
  200. package/dist/cli/{views-MO6DIOMR.mjs → views-JYIJCO23.mjs} +8 -8
  201. package/dist/cli/{workflow-ZEMFCS4Y.js → workflow-4H6KQRFQ.js} +19 -19
  202. package/dist/cli/{workflow-MMZMAELI.mjs → workflow-FKKHE3IU.mjs} +9 -9
  203. package/dist/{client-DLG9mHDh.d.mts → client-ANT3pyoa.d.mts} +1 -1
  204. package/dist/{client-X-FJD5Dp.d.ts → client-DD_FyJVd.d.ts} +1 -1
  205. package/dist/{client-core-WtnqyBwY.d.mts → client-core-Dg9tKhdB.d.mts} +339 -3
  206. package/dist/{client-core-0jmHfFBv.d.ts → client-core-QHmo73k1.d.ts} +339 -3
  207. package/dist/{compiler-manifest-Cys06iYg.d.mts → compiler-manifest-BWFtsQIC.d.mts} +21 -0
  208. package/dist/{compiler-manifest-Cys06iYg.d.ts → compiler-manifest-BWFtsQIC.d.ts} +21 -0
  209. package/dist/{errors-B6eMjKcr.d.mts → errors-CwKXXtuu.d.mts} +1 -1
  210. package/dist/{errors-rdOUqcU2.d.ts → errors-Lm9_vJHZ.d.ts} +1 -1
  211. package/dist/{index-ejWadAL5.d.ts → index-3vJ-V9yw.d.ts} +1 -1
  212. package/dist/{index-CZdYO81A.d.mts → index-DjwsAt82.d.mts} +1 -1
  213. package/dist/index.d.mts +7 -7
  214. package/dist/index.d.ts +7 -7
  215. package/dist/index.js +12 -12
  216. package/dist/index.mjs +8 -8
  217. package/dist/install-integrity.json +147 -133
  218. package/dist/plays/bundle-play-file.d.mts +3 -3
  219. package/dist/plays/bundle-play-file.d.ts +3 -3
  220. package/dist/plays/bundle-play-file.mjs +23 -4
  221. package/dist/plays/play-description.d.mts +2 -2
  222. package/dist/plays/play-description.d.ts +2 -2
  223. package/dist/plays/run-request.d.mts +2 -2
  224. package/dist/plays/run-request.d.ts +2 -2
  225. package/dist/plays/run-request.js +2 -2
  226. package/dist/plays/run-request.mjs +1 -1
  227. package/dist/release.d.mts +1 -1
  228. package/dist/release.d.ts +1 -1
  229. package/dist/release.js +2 -2
  230. package/dist/release.mjs +1 -1
  231. package/dist/server.d.mts +4 -4
  232. package/dist/server.d.ts +4 -4
  233. package/dist/server.js +7 -7
  234. package/dist/server.mjs +5 -5
  235. package/package.json +1 -1
  236. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal-resource-usage.ts +0 -222
  237. package/dist/cli/auth-2PH6RSKL.js +0 -43
  238. package/dist/cli/concurrent-runs-help-BNIDBKML.js +0 -21
  239. package/dist/cli/describe-5TFFB2PM.js +0 -49
  240. package/dist/cli/describe-THQU7N47.mjs +0 -49
  241. package/dist/cli/git-AQLQYWRI.js +0 -25
  242. package/dist/cli/search-YLJFCJTK.js +0 -32
  243. package/dist/cli/sessions-TZ33UCPS.js +0 -22
  244. package/dist/cli/skills-WZY3XDT3.js +0 -36
  245. package/dist/cli/tools-BXQBL72Q.js +0 -56
  246. package/dist/cli/update-XYP5EII6.js +0 -34
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PRICING_PAGE_NOTE
3
- } from "./chunk-FANIRW74.mjs";
3
+ } from "./chunk-NIPLY25A.mjs";
4
4
  import {
5
5
  PLAY_SANDBOX_COMPUTE_RATE_MULTIPLIERS
6
6
  } from "./chunk-5LUF4LAR.mjs";
@@ -524,7 +524,7 @@ When:
524
524
  for compatibility. Absence from discovery does not mean a tool was removed.
525
525
  [[cli:
526
526
  If a tool needs a connection, the description gives the dashboard setup link
527
- when available and the exact tools connect command. Share byok.setupUrl
527
+ when available and the exact integrations connect command. Share byok.setupUrl
528
528
  from JSON, or run connectCommand and share the returned connect_url with a
529
529
  workspace owner or admin.
530
530
  ]]
@@ -608,7 +608,95 @@ Cost:
608
608
  credits; [[cli:run <id> --dry-run]][[mcp:deepline_describe_tool]] shows the price.
609
609
  `
610
610
  },
611
+ integrations: {
612
+ core: `
613
+ Purpose:
614
+ Set up provider access and manage named workspace authorizations.
615
+ providers lists the catalog; tools calls provider APIs; auth handles Deepline login.
616
+ Input and output:
617
+ connect <provider> returns the setup modal link. My account is the default;
618
+ workspace admins can choose Workspace and complete the provider's approval.
619
+ list shows workspace authorization names. get <name> shows one record and
620
+ its granted scopes. Use the name as connection in a tool call or Play.
621
+ reconnect, disconnect, and delete act on existing workspace authorizations.
622
+ Pass --provider when the same name occurs for more than one provider.
623
+ verify <domain> checks an existing Google Admin grant and enables it locally.
624
+ Scope changes require provider approval; a Play's connection selection
625
+ cannot expand granted access.
626
+ SDK:
627
+ client.integrations exposes list, get, connect, reconnect, disconnect,
628
+ delete, verify and members. Lifecycle methods accept dryRun and preserve
629
+ the same ID/revision checks used by the CLI.
630
+ Cost:
631
+ These management commands do not spend Deepline credits.
632
+ Examples:
633
+ deepline integrations connect google_calendar_availability
634
+ deepline integrations list --json
635
+ deepline integrations get deepline.com --json
636
+ `
637
+ },
638
+ "integrations get": {
639
+ core: `Purpose: Read one named workspace authorization from the connection inventory.
640
+ Input: the exact name from list; --provider disambiguates repeated names.
641
+ Output: the inventory record, including identity, type, status, version, and
642
+ granted scopes when supplied by the provider. Never credential material.
643
+ Cost: Does not spend credits.`,
644
+ rolloutFeature: "integration-connections"
645
+ },
646
+ "integrations reconnect": {
647
+ core: `Purpose: Reauthorize an existing named workspace connection.
648
+ Input: the exact name from list; --provider disambiguates repeated names.
649
+ Google Workspace approvals also require --verification-email in that domain.
650
+ Output: OAuth URL requiring browser consent, or the Google approval verification result.
651
+ Uses the current stored ID and revision; stale changes fail. --dry-run reads
652
+ current state and prints the planned change without OAuth, Google calls, or writes.
653
+ Cost: Does not spend credits.`,
654
+ rolloutFeature: "integration-connections"
655
+ },
656
+ "integrations disconnect": {
657
+ core: `Purpose: Disable a named workspace authorization for future execution.
658
+ Input: the exact name from list; --provider disambiguates repeated names.
659
+ Output: the API's disconnect result. The stored connection remains available
660
+ for reconnect. A Google Admin approval is separately revoked in Google Admin.
661
+ --dry-run reads current state and prints the planned change without writes.
662
+ Cost: Does not spend credits.`,
663
+ rolloutFeature: "integration-connections"
664
+ },
665
+ "integrations delete": {
666
+ core: `Purpose: Remove a named workspace connection and free its slot.
667
+ Input: the exact name from list; --provider disambiguates repeated names.
668
+ Disconnect Google Workspace approvals first. Their Google Admin grant remains
669
+ until an administrator revokes it in Google Admin.
670
+ Output: the API's removal result. Identity and revision checks reject stale changes.
671
+ --dry-run reads current state and prints the planned change without writes.
672
+ Cost: Does not spend credits.`,
673
+ rolloutFeature: "integration-connections"
674
+ },
675
+ "integrations verify": {
676
+ core: `Purpose: Verify and enable a Google Workspace Calendar approval.
677
+ Input: the approved domain and --verification-email for a user in that domain.
678
+ Complete the Google Admin approval in the dashboard setup wizard first.
679
+ Use --booking after approving calendar.events.owned to enable meetings on the
680
+ organizer's primary calendar. The Play supplies organizerEmail and attendees.
681
+ The CLI reads the current revision, verifies the requested Google scopes, and saves
682
+ the approval. Repeating verification refreshes the existing domain approval.
683
+ Output: enabled or validation_failed, revision and provider readiness evidence.
684
+ Verification failure exits with code 7 and retains the provider readiness result.
685
+ --dry-run reads the revision and prints the change without contacting Google or writing.
686
+ Cost: Does not spend credits.`,
687
+ rolloutFeature: "integration-connections"
688
+ },
611
689
  "tools balance": {
690
+ core: "Purpose: Compatibility alias for integrations balance. Input and output: see deepline integrations balance <provider> --help. Cost: Does not spend credits."
691
+ },
692
+ "tools workspace-connections": {
693
+ core: "Purpose: Compatibility alias for integrations list. Input and output: see deepline integrations list --help. Cost: Does not spend credits.",
694
+ rolloutFeature: "integration-connections"
695
+ },
696
+ "tools connect": {
697
+ core: "Purpose: Compatibility alias for integrations connect. Input and output: see deepline integrations connect <provider> --help. Cost: Does not spend credits."
698
+ },
699
+ "integrations balance": {
612
700
  core: `
613
701
  Purpose:
614
702
  Read the active workspace's connected LeadMagic account balance.
@@ -625,13 +713,18 @@ Output:
625
713
  Cost:
626
714
  The LeadMagic credit lookup is free. No Deepline credits are charged.
627
715
  Examples:
628
- [[cli:deepline tools balance leadmagic --json]]
716
+ [[cli:deepline integrations balance leadmagic --json]]
629
717
  `
630
718
  },
631
- "tools workspace-connections": {
719
+ "integrations list": {
632
720
  core: `
633
721
  Purpose:
634
- List managed shared OAuth connections in a workspace with Integration connections enabled.
722
+ List workspace authorizations with Integration connections enabled.
723
+ Google Workspace entries include the domain, granted scopes, and the name
724
+ a Play passes as connection. Use --inventory for compatibility records.
725
+ Use --members with --provider to list teammates' linked accounts.
726
+ This inventory contains workspace authorizations, not the caller's personal
727
+ accounts. Personal connections are managed through the dashboard setup modal.
635
728
  Output:
636
729
  [[cli:Use --json for records with provider, status, label, and connection version.]]
637
730
  Cost:
@@ -655,11 +748,35 @@ Cost:
655
748
  core: `
656
749
  Purpose:
657
750
  Manage shared Google Calendar access as a workspace owner or admin.
658
- In Production, use deepline tools connect hubspot --link to manage shared HubSpot.
751
+ In Production, use deepline integrations connect hubspot --link to manage shared HubSpot.
659
752
  Enrolled Preview workspaces can manage a dedicated shared HubSpot connection here.
660
753
  Input:
661
- Pass the provider and connect, reconnect, replace, or disconnect.
754
+ Pass the provider and connect, reconnect, replace, disconnect, or remove.
755
+ Remove frees a connection slot for a named account or a Google workspace account.
662
756
  Complete OAuth consent in the browser.
757
+ Use connect --auto-name to let Deepline assign the connection name.
758
+ Use --name <name> to select a named HubSpot or Google Calendar workspace
759
+ account in an enrolled local or Preview environment.
760
+ Cost:
761
+ Does not spend Deepline credits.
762
+ `,
763
+ rolloutFeature: "integration-connections"
764
+ },
765
+ "tools calendar-delegation": {
766
+ core: `
767
+ Purpose:
768
+ Verify and manage Google Workspace authorization as a workspace admin.
769
+ Input:
770
+ Use list to read approval IDs and revisions.
771
+ Use status --domain <domain> to read the Google client ID and scope.
772
+ After approving those values in Google Admin, use enable-workspace with
773
+ --domain, --grant-revision, and --verification-email. Verification checks
774
+ Google access to that email without requiring a Deepline membership.
775
+ Use disable-workspace to disconnect an approval. Use remove-workspace with
776
+ --domain, --connection-id, and --grant-revision to remove a disconnected
777
+ approval and free its slot.
778
+ Legacy --name and --members commands remain available for existing Plays.
779
+ [[cli:Use --dry-run to inspect a proposed change.]]
663
780
  Cost:
664
781
  Does not spend Deepline credits.
665
782
  `,
@@ -677,12 +794,14 @@ Cost:
677
794
  `,
678
795
  rolloutFeature: "integration-connections"
679
796
  },
680
- "tools connect": {
797
+ "integrations connect": {
681
798
  core: `
682
799
  Purpose:
683
- Get a shareable dashboard link or connect a provider to the active workspace.
684
- Completing a connection requires a workspace owner or admin.
800
+ Open provider setup or connect provider credentials in the active workspace.
801
+ Setup starts with My account; admins can choose Workspace in the modal.
802
+ Direct credential updates require a workspace owner or admin.
685
803
  Input:
804
+ With no setup flags, print the dashboard link. --link requests it explicitly.
686
805
  --link looks up the exact provider id. When a person needs to connect a
687
806
  provider, use the command printed by deepline describe <tool-id> or look up
688
807
  the tool's provider field. Give them the returned link and tell them to
@@ -707,12 +826,14 @@ Output:
707
826
  Credentials: confirmation without secret values.
708
827
  OAuth: URL, or {provider, redirect_url} with --json. This does not confirm a
709
828
  completed connection. The browser must finish authorization.
829
+ --dry-run prints the proposed setup without starting OAuth, reading secret
830
+ file contents, or saving credentials.
710
831
  Cost:
711
832
  Does not spend Deepline credits.
712
833
  Examples:
713
- deepline tools connect hubspot --link --json
714
- deepline tools connect heyreach --credentials-file ./heyreach.json
715
- deepline tools connect hubspot --oauth --preset read-crm
834
+ deepline integrations connect hubspot --link --json
835
+ deepline integrations connect heyreach --credentials-file ./heyreach.json
836
+ deepline integrations connect hubspot --oauth --preset read-crm
716
837
  `
717
838
  },
718
839
  "tools grep": {
@@ -850,6 +971,13 @@ Input:
850
971
  -p email=a@b.com one key=value per -p, repeatable
851
972
  --payload is an alias of --input. There is no --payload-file flag; use
852
973
  @path. --out <file.csv> writes row-shaped output to a CSV file.
974
+ --connection <name> selects a workspace authorization for supported
975
+ HubSpot and Google Calendar tools. A Google Workspace authorization uses its
976
+ approved domain, for example --connection deepline.com. Pass calendar emails
977
+ in the tool input. Omitting --connection uses the caller's personal account
978
+ where personal connections are supported.
979
+ deepline integrations list --json lists workspace authorization names.
980
+ Each authorization grants specific scopes. Missing scopes fail the call.
853
981
  ]]
854
982
  [[cli:
855
983
  Output (JSON):
@@ -1006,6 +1134,16 @@ Authoring rules:
1006
1134
  one paid call in a column, and shaping, status, and miss_reason in
1007
1135
  separate plain columns after it. Return the dataset for anything that
1008
1136
  should export as CSV.
1137
+ Column order is what people read: the run page shows a dataset's columns
1138
+ in the order the Play declares them, the row's own keys as written, then
1139
+ each withColumn in order. Choose it for a reader: put what they look for
1140
+ first (name, company, email, the final answer, status) and ids, raw
1141
+ provider payloads and intermediate attempts toward the end. Each run
1142
+ records its own order, so reordering a Play's columns shows from its next
1143
+ run on. A column whose name starts with _ is kept with the row but hidden
1144
+ from the run page: use it for values people do not need to see (raw
1145
+ payloads, internal ids). _key, _status, _error, _stage, _provider and
1146
+ _run_id are reserved.
1009
1147
  Dataset handles are async: await rows.count(), rows.first(),
1010
1148
  rows.peek(n), rows.materialize(n), or for await. Array methods on a
1011
1149
  handle fail [[cli:plays check]][[mcp:deepline_check_play]].
@@ -1790,7 +1928,8 @@ When:
1790
1928
  ]]
1791
1929
  [[mcp:
1792
1930
  When a run failed and the deepline_get_run error is not enough. It returns
1793
- the latest log lines of one run; after_seq pages from an earlier point.
1931
+ the latest log lines of one run; pass nextCursor as cursor for older lines.
1932
+ failed: true reads the window around a failed run's failure.
1794
1933
  ]]
1795
1934
  [[cli:
1796
1935
  Input:
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-TT4JUUC3.mjs";
3
+ } from "./chunk-DVDWAC2M.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -1,15 +1,15 @@
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 _chunkDMXLZ57Njs = require('./chunk-DMXLZ57N.js');
3
+ var _chunkRG34YBDEjs = require('./chunk-RG34YBDE.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkE7B73LGTjs = require('./chunk-E7B73LGT.js');
7
+ var _chunkZY6FL4O4js = require('./chunk-ZY6FL4O4.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkEHLCWGWNjs = require('./chunk-EHLCWGWN.js');
12
+ var _chunkG26VJCNTjs = require('./chunk-G26VJCNT.js');
13
13
 
14
14
  // src/cli/commands/sessions.ts
15
15
 
@@ -55,7 +55,7 @@ function codexSessionsRoot() {
55
55
  }
56
56
  function listClaudeSessionFiles() {
57
57
  const files = [];
58
- for (const root of _chunkEHLCWGWNjs.claudeProjectsRoots.call(void 0, )) {
58
+ for (const root of _chunkG26VJCNTjs.claudeProjectsRoots.call(void 0, )) {
59
59
  files.push(...listClaudeSessionFilesIn(root));
60
60
  }
61
61
  return files;
@@ -147,7 +147,7 @@ function currentSessionFile(agent) {
147
147
  const newestFirst = listSessionFiles(agent).sort(
148
148
  (a, b) => b.mtimeMs - a.mtimeMs
149
149
  );
150
- const sessionId = _chunkEHLCWGWNjs.agentSessionIdFromEnvironment.call(void 0,
150
+ const sessionId = _chunkG26VJCNTjs.agentSessionIdFromEnvironment.call(void 0,
151
151
  process.env,
152
152
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
153
153
  );
@@ -156,7 +156,7 @@ function currentSessionFile(agent) {
156
156
  (candidate) => candidate.sessionId === sessionId
157
157
  );
158
158
  if (named) return named;
159
- const cowork = agent === "codex" ? null : _chunkEHLCWGWNjs.coworkTranscriptFromEnvironment.call(void 0, );
159
+ const cowork = agent === "codex" ? null : _chunkG26VJCNTjs.coworkTranscriptFromEnvironment.call(void 0, );
160
160
  const coworkStat = cowork ? statIfReadable(cowork.filePath) : null;
161
161
  if (cowork && coworkStat) {
162
162
  return { agent: "claude", ...cowork, mtimeMs: coworkStat.mtimeMs };
@@ -166,7 +166,7 @@ function currentSessionFile(agent) {
166
166
  ), () => ( newestFirst[0])), () => ( null));
167
167
  }
168
168
  function feedbackAgentSessionId(agentRuntime) {
169
- return _nullishCoalesce(_chunkEHLCWGWNjs.agentSessionIdFromEnvironment.call(void 0, process.env, agentRuntime), () => ( (agentRuntime === "claude_cowork" || agentRuntime === "claude_code" ? _nullishCoalesce(_optionalChain([_chunkEHLCWGWNjs.coworkTranscriptFromEnvironment.call(void 0, ), 'optionalAccess', _17 => _17.sessionId]), () => ( null)) : null)));
169
+ return _nullishCoalesce(_chunkG26VJCNTjs.agentSessionIdFromEnvironment.call(void 0, process.env, agentRuntime), () => ( (agentRuntime === "claude_cowork" || agentRuntime === "claude_code" ? _nullishCoalesce(_optionalChain([_chunkG26VJCNTjs.coworkTranscriptFromEnvironment.call(void 0, ), 'optionalAccess', _17 => _17.sessionId]), () => ( null)) : null)));
170
170
  }
171
171
  function sessionStartedInDirectory(candidate, cwd) {
172
172
  if (candidate.agent === "claude") {
@@ -215,7 +215,7 @@ function readCodexSessionId(filePath) {
215
215
  return null;
216
216
  }
217
217
  function sessionSearchDescription(agent) {
218
- const claude = _chunkEHLCWGWNjs.claudeProjectsRoots.call(void 0, ).map((root) => _path.join.call(void 0, root, "*", "<session-id>.jsonl")).join(", ");
218
+ const claude = _chunkG26VJCNTjs.claudeProjectsRoots.call(void 0, ).map((root) => _path.join.call(void 0, root, "*", "<session-id>.jsonl")).join(", ");
219
219
  if (agent === "claude") return claude;
220
220
  if (agent === "codex") return "~/.codex/sessions/**/*.jsonl";
221
221
  return `${claude} or ~/.codex/sessions/**/*.jsonl`;
@@ -472,7 +472,7 @@ function buildSessionUploadContent(raw) {
472
472
  return { encodedContent: encoded, needsChunking: true };
473
473
  }
474
474
  async function uploadPayload(path, payload) {
475
- const { http } = _chunkE7B73LGTjs.getAuthedHttpClient.call(void 0, );
475
+ const { http } = _chunkZY6FL4O4js.getAuthedHttpClient.call(void 0, );
476
476
  return await http.post(path, payload);
477
477
  }
478
478
  async function uploadChunkedSessions(sessions, options) {
@@ -550,7 +550,7 @@ async function uploadAgentSession(agentRuntime) {
550
550
  return target.sessionId;
551
551
  }
552
552
  async function handleSessionsSend(options) {
553
- if (_chunkDMXLZ57Njs.rejectRestrictedFeedback.call(void 0, options)) return;
553
+ if (_chunkRG34YBDEjs.rejectRestrictedFeedback.call(void 0, options)) return;
554
554
  const rating = parseSessionRating(options.rating);
555
555
  if (options.file) {
556
556
  const filePath = _path.resolve.call(void 0, options.file);
@@ -562,7 +562,7 @@ async function handleSessionsSend(options) {
562
562
  filename: _path.basename.call(void 0, filePath),
563
563
  ...rating ? { rating } : {}
564
564
  });
565
- _chunkE7B73LGTjs.printCommandEnvelope.call(void 0,
565
+ _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
566
566
  {
567
567
  ...response2,
568
568
  ok: true,
@@ -594,7 +594,7 @@ async function handleSessionsSend(options) {
594
594
  labeled: Boolean(_optionalChain([options, 'access', _27 => _27.label, 'optionalAccess', _28 => _28.length]))
595
595
  });
596
596
  const sessionIds = built.map((session) => session.sessionId);
597
- _chunkE7B73LGTjs.printCommandEnvelope.call(void 0,
597
+ _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
598
598
  {
599
599
  ...response,
600
600
  ok: true,
@@ -702,7 +702,7 @@ ${refreshMeta}
702
702
  </body>
703
703
  </html>`;
704
704
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
705
- _chunkE7B73LGTjs.printCommandEnvelope.call(void 0,
705
+ _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
706
706
  {
707
707
  ok: true,
708
708
  file: outputPath,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  PLAY_ARTIFACT_KINDS,
3
3
  PLAY_RUNTIME_BACKENDS
4
- } from "./chunk-L2VKAASU.mjs";
4
+ } from "./chunk-HXIR3VQL.mjs";
5
5
 
6
6
  // ../play-runtime/scheduler-backend.ts
7
7
  var PLAY_SCHEDULER_BACKENDS = {
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-JL2OTMSG.mjs";
18
18
  import {
19
19
  SDK_RELEASE
20
- } from "./chunk-SWO5QOXB.mjs";
20
+ } from "./chunk-PFGOCUH3.mjs";
21
21
 
22
22
  // src/version.ts
23
23
  var SDK_VERSION = SDK_RELEASE.version;
@@ -4,13 +4,13 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkVHJUH3TBjs = require('./chunk-VHJUH3TB.js');
7
+ var _chunkON56ISO6js = require('./chunk-ON56ISO6.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
12
 
13
- var _chunkEHLCWGWNjs = require('./chunk-EHLCWGWN.js');
13
+ var _chunkG26VJCNTjs = require('./chunk-G26VJCNT.js');
14
14
 
15
15
 
16
16
 
@@ -330,7 +330,7 @@ function buildEnvironmentContext() {
330
330
  node_version: process.version,
331
331
  runtime: "Node.js",
332
332
  hostname: _os.hostname.call(void 0, ),
333
- agent_runtime: _chunkEHLCWGWNjs.detectAgentRuntime.call(void 0, )
333
+ agent_runtime: _chunkG26VJCNTjs.detectAgentRuntime.call(void 0, )
334
334
  };
335
335
  for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
336
336
  const normalized = _optionalChain([process, 'access', _6 => _6.env, 'access', _7 => _7[key], 'optionalAccess', _8 => _8.trim, 'call', _9 => _9()]);
@@ -351,18 +351,18 @@ function buildEnvironmentContext() {
351
351
  return context;
352
352
  }
353
353
  function failureReportHeaders(apiKey) {
354
- const agentSessionId = _chunkEHLCWGWNjs.agentSessionIdFromEnvironment.call(void 0, );
354
+ const agentSessionId = _chunkG26VJCNTjs.agentSessionIdFromEnvironment.call(void 0, );
355
355
  return {
356
- ..._chunkEHLCWGWNjs.deploymentProtectionHeaders.call(void 0, ),
356
+ ..._chunkG26VJCNTjs.deploymentProtectionHeaders.call(void 0, ),
357
357
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {},
358
358
  Authorization: `Bearer ${apiKey}`,
359
359
  "Content-Type": "application/json",
360
- "User-Agent": `deepline-ts-sdk/${_chunkEHLCWGWNjs.SDK_VERSION}`,
360
+ "User-Agent": `deepline-ts-sdk/${_chunkG26VJCNTjs.SDK_VERSION}`,
361
361
  "X-Deepline-Client-Family": "sdk",
362
362
  "X-Deepline-CLI-Family": "sdk",
363
- "X-Deepline-Agent-Runtime": _chunkEHLCWGWNjs.detectAgentRuntime.call(void 0, ),
364
- "X-Deepline-CLI-Version": _chunkEHLCWGWNjs.SDK_VERSION,
365
- "X-Deepline-SDK-Version": _chunkEHLCWGWNjs.SDK_VERSION
363
+ "X-Deepline-Agent-Runtime": _chunkG26VJCNTjs.detectAgentRuntime.call(void 0, ),
364
+ "X-Deepline-CLI-Version": _chunkG26VJCNTjs.SDK_VERSION,
365
+ "X-Deepline-SDK-Version": _chunkG26VJCNTjs.SDK_VERSION
366
366
  };
367
367
  }
368
368
  async function postFailureReport(input) {
@@ -390,7 +390,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
390
390
  if (isFailureReportingDisabled()) return false;
391
391
  let apiKey = "";
392
392
  try {
393
- apiKey = _chunkVHJUH3TBjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
393
+ apiKey = _chunkON56ISO6js.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
394
394
  } catch (e2) {
395
395
  return false;
396
396
  }
@@ -417,7 +417,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
417
417
  failure_code: failureCode2,
418
418
  failure_stage: failureStage,
419
419
  error_body: "Automatic Deepline skills installation failed.",
420
- cli_version: _chunkEHLCWGWNjs.SDK_VERSION,
420
+ cli_version: _chunkG26VJCNTjs.SDK_VERSION,
421
421
  context: {
422
422
  environment: buildEnvironmentContext(),
423
423
  skills_sync: {
@@ -537,7 +537,7 @@ function buildFailureReport(input) {
537
537
  failure_kind: failureKind,
538
538
  failure_code: code,
539
539
  failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
540
- cli_version: _chunkEHLCWGWNjs.SDK_VERSION,
540
+ cli_version: _chunkG26VJCNTjs.SDK_VERSION,
541
541
  context: {
542
542
  base_url: redactFailureText(input.baseUrl, 400),
543
543
  command_summary: sanitizeCommand(input.argv),
@@ -557,8 +557,8 @@ async function maybeReportSdkCliFailure(input) {
557
557
  if (isServerLoggedPlayRunStartFailure(input)) return false;
558
558
  const exitCode = resolvedExitCode(input);
559
559
  if (!shouldReport({ exitCode, error: input.error })) return false;
560
- const baseUrl = _chunkVHJUH3TBjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
561
- const apiKey = _chunkVHJUH3TBjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
560
+ const baseUrl = _chunkON56ISO6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
561
+ const apiKey = _chunkON56ISO6js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
562
562
  if (!apiKey) return false;
563
563
  return postFailureReport({
564
564
  baseUrl,
@@ -682,8 +682,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
682
682
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
683
683
  var defaultBrowserCommandRunner = childProcess;
684
684
  function getAuthedHttpClient() {
685
- const config = _chunkVHJUH3TBjs.resolveConfig.call(void 0, );
686
- return { config, http: new (0, _chunkVHJUH3TBjs.HttpClient)(config) };
685
+ const config = _chunkON56ISO6js.resolveConfig.call(void 0, );
686
+ return { config, http: new (0, _chunkON56ISO6js.HttpClient)(config) };
687
687
  }
688
688
  function stableOsUserId() {
689
689
  try {
@@ -1023,7 +1023,7 @@ function collectLocalEnvInfo() {
1023
1023
  os: `${process.platform} ${process.arch}`,
1024
1024
  node_version: process.version,
1025
1025
  home_dir: homeDir,
1026
- agent_runtime: _chunkEHLCWGWNjs.detectAgentRuntime.call(void 0, )
1026
+ agent_runtime: _chunkG26VJCNTjs.detectAgentRuntime.call(void 0, )
1027
1027
  };
1028
1028
  const env = process.env;
1029
1029
  const optional = {
@@ -1270,9 +1270,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
1270
1270
  }
1271
1271
  function withAgentCommandContext(value) {
1272
1272
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
1273
- return _chunkEHLCWGWNjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
1273
+ return _chunkG26VJCNTjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
1274
1274
  ...valueRecord,
1275
- command_context: _chunkVHJUH3TBjs.resolveCliCommandContext.call(void 0, )
1275
+ command_context: _chunkON56ISO6js.resolveCliCommandContext.call(void 0, )
1276
1276
  } : value;
1277
1277
  }
1278
1278
  function printJson(value, fields) {
@@ -1497,10 +1497,14 @@ function renderCommandEnvelopeText(envelope) {
1497
1497
  function printCommandEnvelope(envelope, options = {}) {
1498
1498
  const jsonOutput = typeof options.json === "boolean" ? options.json : shouldEmitJson();
1499
1499
  if (jsonOutput) {
1500
- printJson(envelope, options.fields);
1500
+ if (options.legacyJson)
1501
+ process.stdout.write(`${JSON.stringify(options.legacyJson.value)}
1502
+ `);
1503
+ else printJson(envelope, options.fields);
1501
1504
  return;
1502
1505
  }
1503
1506
  process.stdout.write(_nullishCoalesce(options.text, () => ( renderCommandEnvelopeText(envelope))));
1507
+ if (options.textStderr) process.stderr.write(options.textStderr);
1504
1508
  }
1505
1509
 
1506
1510
 
@@ -7,8 +7,8 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkV4EYJKGJjs = require('./chunk-V4EYJKGJ.js');
11
- require('./chunk-GWHA4DAC.js');
10
+ var _chunk4JQEAYN3js = require('./chunk-4JQEAYN3.js');
11
+ require('./chunk-UV4RU2TE.js');
12
12
  require('./chunk-R7J7CJPZ.js');
13
13
  require('./chunk-YGCKMI5P.js');
14
14
  require('./chunk-COGTRVWW.js');
@@ -21,4 +21,4 @@ require('./chunk-COGTRVWW.js');
21
21
 
22
22
 
23
23
 
24
- exports.CLI_DOC_SURFACE = _chunkV4EYJKGJjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkV4EYJKGJjs.COMMAND_DOCS; exports.PLAY_RUNTIME_PRICING_NOTE = _chunkV4EYJKGJjs.PLAY_RUNTIME_PRICING_NOTE; exports.commandDocKey = _chunkV4EYJKGJjs.commandDocKey; exports.helpDetailFromArgv = _chunkV4EYJKGJjs.helpDetailFromArgv; exports.renderActionExplanation = _chunkV4EYJKGJjs.renderActionExplanation; exports.renderCommandExplanation = _chunkV4EYJKGJjs.renderCommandExplanation; exports.renderDocText = _chunkV4EYJKGJjs.renderDocText;
24
+ exports.CLI_DOC_SURFACE = _chunk4JQEAYN3js.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunk4JQEAYN3js.COMMAND_DOCS; exports.PLAY_RUNTIME_PRICING_NOTE = _chunk4JQEAYN3js.PLAY_RUNTIME_PRICING_NOTE; exports.commandDocKey = _chunk4JQEAYN3js.commandDocKey; exports.helpDetailFromArgv = _chunk4JQEAYN3js.helpDetailFromArgv; exports.renderActionExplanation = _chunk4JQEAYN3js.renderActionExplanation; exports.renderCommandExplanation = _chunk4JQEAYN3js.renderCommandExplanation; exports.renderDocText = _chunk4JQEAYN3js.renderDocText;
@@ -7,8 +7,8 @@ import {
7
7
  renderActionExplanation,
8
8
  renderCommandExplanation,
9
9
  renderDocText
10
- } from "./chunk-IDDKNMFX.mjs";
11
- import "./chunk-FANIRW74.mjs";
10
+ } from "./chunk-Y3T5GWYK.mjs";
11
+ import "./chunk-NIPLY25A.mjs";
12
12
  import "./chunk-5LUF4LAR.mjs";
13
13
  import "./chunk-7I4B6V2S.mjs";
14
14
  import "./chunk-KRD6H754.mjs";
@@ -2,16 +2,16 @@ import {
2
2
  CONCURRENT_RUNS_HELP_COMMANDS,
3
3
  concurrentRunsHelpStatus,
4
4
  concurrentRunsLine
5
- } from "./chunk-46V7QSJE.mjs";
6
- import "./chunk-EGOCGWCI.mjs";
7
- import "./chunk-FANIRW74.mjs";
8
- import "./chunk-TT4JUUC3.mjs";
9
- import "./chunk-Z5YRKX7K.mjs";
10
- import "./chunk-2VRKBHMD.mjs";
5
+ } from "./chunk-5PR4VLLL.mjs";
6
+ import "./chunk-H4SAHB3Q.mjs";
7
+ import "./chunk-NIPLY25A.mjs";
8
+ import "./chunk-DVDWAC2M.mjs";
9
+ import "./chunk-HXM2JUGD.mjs";
10
+ import "./chunk-ZHY4T5M6.mjs";
11
11
  import "./chunk-CQBIO6HW.mjs";
12
12
  import "./chunk-DLIRSHV6.mjs";
13
13
  import "./chunk-JL2OTMSG.mjs";
14
- import "./chunk-SWO5QOXB.mjs";
14
+ import "./chunk-PFGOCUH3.mjs";
15
15
  import "./chunk-WZYKRD7T.mjs";
16
16
  import "./chunk-KRD6H754.mjs";
17
17
  export {
@@ -0,0 +1,21 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+ var _chunkGQHRGBHVjs = require('./chunk-GQHRGBHV.js');
6
+ require('./chunk-DYDHLBSK.js');
7
+ require('./chunk-UV4RU2TE.js');
8
+ require('./chunk-ZY6FL4O4.js');
9
+ require('./chunk-ON56ISO6.js');
10
+ require('./chunk-G26VJCNT.js');
11
+ require('./chunk-2GJZLIKW.js');
12
+ require('./chunk-XNYIZMNQ.js');
13
+ require('./chunk-BBTKAASQ.js');
14
+ require('./chunk-3KGMM4KS.js');
15
+ require('./chunk-OG64RBAC.js');
16
+ require('./chunk-COGTRVWW.js');
17
+
18
+
19
+
20
+
21
+ exports.CONCURRENT_RUNS_HELP_COMMANDS = _chunkGQHRGBHVjs.CONCURRENT_RUNS_HELP_COMMANDS; exports.concurrentRunsHelpStatus = _chunkGQHRGBHVjs.concurrentRunsHelpStatus; exports.concurrentRunsLine = _chunkGQHRGBHVjs.concurrentRunsLine;
@@ -4,13 +4,13 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-TT4JUUC3.mjs";
8
- import "./chunk-Z5YRKX7K.mjs";
9
- import "./chunk-2VRKBHMD.mjs";
7
+ } from "./chunk-DVDWAC2M.mjs";
8
+ import "./chunk-HXM2JUGD.mjs";
9
+ import "./chunk-ZHY4T5M6.mjs";
10
10
  import "./chunk-CQBIO6HW.mjs";
11
11
  import "./chunk-DLIRSHV6.mjs";
12
12
  import "./chunk-JL2OTMSG.mjs";
13
- import "./chunk-SWO5QOXB.mjs";
13
+ import "./chunk-PFGOCUH3.mjs";
14
14
  import "./chunk-WZYKRD7T.mjs";
15
15
  import "./chunk-KRD6H754.mjs";
16
16