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,17 +1,17 @@
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 _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
3
+ var _chunk2JHYYB3Fjs = require('./chunk-2JHYYB3F.js');
4
4
 
5
5
 
6
- var _chunk4I47NCRIjs = require('./chunk-4I47NCRI.js');
6
+ var _chunkPDJ4UDCOjs = require('./chunk-PDJ4UDCO.js');
7
7
 
8
8
 
9
- var _chunkCQDQNZGHjs = require('./chunk-CQDQNZGH.js');
9
+ var _chunkSL6MYJYMjs = require('./chunk-SL6MYJYM.js');
10
10
 
11
11
 
12
12
 
13
13
 
14
- var _chunkE7B73LGTjs = require('./chunk-E7B73LGT.js');
14
+ var _chunkZY6FL4O4js = require('./chunk-ZY6FL4O4.js');
15
15
 
16
16
 
17
17
  var _chunkBBTKAASQjs = require('./chunk-BBTKAASQ.js');
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
581
581
  return raw;
582
582
  }
583
583
  function parsePlayRunOptions(args, initialInput = null) {
584
- const selection = _chunkE7B73LGTjs.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunkZY6FL4O4js.parseJsonFields.call(void 0, args, "run");
585
585
  args = selection.args;
586
586
  const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and deepline.dataset guidance.";
587
587
  let filePath = null;
@@ -593,7 +593,7 @@ function parsePlayRunOptions(args, initialInput = null) {
593
593
  let revisionSelector = null;
594
594
  const watch = !args.includes("--no-wait");
595
595
  const dryRun = args.includes("--dry-run");
596
- let jsonOutput = dryRun ? _chunkE7B73LGTjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkE7B73LGTjs.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunkZY6FL4O4js.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkZY6FL4O4js.argsWantJson.call(void 0, args);
597
597
  const fullJson = args.includes("--full");
598
598
  const force = args.includes("--force") || args.includes("--from-start");
599
599
  const forceToolRefresh = args.includes("--force-tool-refresh") || args.includes("--refresh-cache");
@@ -604,6 +604,7 @@ function parsePlayRunOptions(args, initialInput = null) {
604
604
  let waitTimeoutMs = null;
605
605
  let maxConcurrentExternalCalls = null;
606
606
  let maxConcurrentRows = null;
607
+ let cacheReuseWindowSeconds = null;
607
608
  let profile = null;
608
609
  let fixtureBehavior = null;
609
610
  let runIdFile = null;
@@ -656,7 +657,7 @@ function parsePlayRunOptions(args, initialInput = null) {
656
657
  "--log-level requires one of: debug, info, warn, error."
657
658
  );
658
659
  }
659
- const parsed = _chunk4I47NCRIjs.parseLogLevel.call(void 0, value);
660
+ const parsed = _chunkPDJ4UDCOjs.parseLogLevel.call(void 0, value);
660
661
  if (!parsed) {
661
662
  throw new Error(
662
663
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -693,7 +694,7 @@ function parsePlayRunOptions(args, initialInput = null) {
693
694
  throw new Error("--profile requires an execution profile id.");
694
695
  }
695
696
  profile = value.trim();
696
- _chunkVLEVVDWGjs.resolveEnabledExecutionProfile.call(void 0, profile);
697
+ _chunk2JHYYB3Fjs.resolveEnabledExecutionProfile.call(void 0, profile);
697
698
  index += 1;
698
699
  continue;
699
700
  }
@@ -732,6 +733,20 @@ function parsePlayRunOptions(args, initialInput = null) {
732
733
  index += 1;
733
734
  continue;
734
735
  }
736
+ if (arg === "--cache-reuse-window-seconds") {
737
+ const value = args[index + 1];
738
+ if (!value || !/^[1-9]\d*$/.test(value)) {
739
+ throw new Error(
740
+ "--cache-reuse-window-seconds requires a positive whole number."
741
+ );
742
+ }
743
+ cacheReuseWindowSeconds = parsePositiveInteger(
744
+ value,
745
+ "--cache-reuse-window-seconds"
746
+ );
747
+ index += 1;
748
+ continue;
749
+ }
735
750
  if (arg === "--fixture-behavior") {
736
751
  const value = args[index + 1];
737
752
  if (!value) {
@@ -780,12 +795,12 @@ function parsePlayRunOptions(args, initialInput = null) {
780
795
  }
781
796
  if (arg === "--debug" && args[index + 1] && !args[index + 1].startsWith("--")) {
782
797
  input ??= {};
783
- _chunkCQDQNZGHjs.setDottedInputValue.call(void 0, input, "debug", parseInputFlagValue(args[++index]));
798
+ _chunkSL6MYJYMjs.setDottedInputValue.call(void 0, input, "debug", parseInputFlagValue(args[++index]));
784
799
  continue;
785
800
  }
786
801
  if (arg.startsWith("--debug=")) {
787
802
  input ??= {};
788
- _chunkCQDQNZGHjs.setDottedInputValue.call(void 0,
803
+ _chunkSL6MYJYMjs.setDottedInputValue.call(void 0,
789
804
  input,
790
805
  "debug",
791
806
  parseInputFlagValue(arg.slice("--debug=".length))
@@ -813,7 +828,7 @@ function parsePlayRunOptions(args, initialInput = null) {
813
828
  if (arg.startsWith("--")) {
814
829
  const { path, value } = parseInputFieldFlag(arg, args[index + 1]);
815
830
  input ??= {};
816
- _chunkCQDQNZGHjs.setDottedInputValue.call(void 0, input, path, parseInputFlagValue(value));
831
+ _chunkSL6MYJYMjs.setDottedInputValue.call(void 0, input, path, parseInputFlagValue(value));
817
832
  if (!arg.includes("=")) {
818
833
  index += 1;
819
834
  }
@@ -877,6 +892,7 @@ function parsePlayRunOptions(args, initialInput = null) {
877
892
  waitTimeoutMs,
878
893
  force,
879
894
  forceToolRefresh,
895
+ cacheReuseWindowSeconds,
880
896
  maxConcurrentExternalCalls,
881
897
  maxConcurrentRows,
882
898
  maxCredits: null,
@@ -902,7 +918,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
902
918
  let initialInput = options.input === void 0 ? null : parseJsonInput(options.input);
903
919
  if (typeof options.debug === "string") {
904
920
  initialInput ??= {};
905
- _chunkCQDQNZGHjs.setDottedInputValue.call(void 0,
921
+ _chunkSL6MYJYMjs.setDottedInputValue.call(void 0,
906
922
  initialInput,
907
923
  "debug",
908
924
  parseInputFlagValue(options.debug)
@@ -939,7 +955,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
939
955
  if (dryRun && resolvedTarget.kind !== "file")
940
956
  throw new Error("--dry-run currently requires a local Play file.");
941
957
  const profile = _nullishCoalesce(_optionalChain([stringOption, 'call', _5 => _5(options.profile, "--profile"), 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]), () => ( base.profile));
942
- if (profile !== null) _chunkVLEVVDWGjs.resolveEnabledExecutionProfile.call(void 0, profile);
958
+ if (profile !== null) _chunk2JHYYB3Fjs.resolveEnabledExecutionProfile.call(void 0, profile);
943
959
  const countOption = (value, flag) => {
944
960
  if (value === void 0) return void 0;
945
961
  if (!/^[1-9]\d*$/.test(value))
@@ -974,7 +990,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
974
990
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
975
991
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
976
992
  );
977
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunk4I47NCRIjs.parseLogLevel.call(void 0, options.logLevel);
993
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkPDJ4UDCOjs.parseLogLevel.call(void 0, options.logLevel);
978
994
  if (!logLevel)
979
995
  throw new Error("--log-level requires one of: debug, info, warn, error.");
980
996
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -988,13 +1004,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
988
1004
  if (debugAlias || debugMapLatency && logLevel === "info")
989
1005
  logLevel = "debug";
990
1006
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
991
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkE7B73LGTjs.parseJsonFields.call(void 0,
992
- [...fullJson ? ["--full"] : [], ..._chunkE7B73LGTjs.jsonFieldArgs.call(void 0, options.json)],
1007
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkZY6FL4O4js.parseJsonFields.call(void 0,
1008
+ [...fullJson ? ["--full"] : [], ..._chunkZY6FL4O4js.jsonFieldArgs.call(void 0, options.json)],
993
1009
  "run"
994
1010
  ).fields;
995
1011
  const watch = options.wait === false ? false : base.watch;
996
1012
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
997
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkE7B73LGTjs.argsWantJson.call(void 0, []) : explicitJson;
1013
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkZY6FL4O4js.argsWantJson.call(void 0, []) : explicitJson;
998
1014
  const verboseLogs = Boolean(
999
1015
  debugAlias || logLevel === "debug" || debugMapLatency
1000
1016
  );
@@ -1023,6 +1039,10 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
1023
1039
  // as before, and an unset option inherits the base run's choice.
1024
1040
  force: _nullishCoalesce(_nullishCoalesce(options.force, () => ( (options.fromStart || void 0))), () => ( base.force)),
1025
1041
  forceToolRefresh: _nullishCoalesce(_nullishCoalesce(options.forceToolRefresh, () => ( (options.refreshCache || void 0))), () => ( base.forceToolRefresh)),
1042
+ cacheReuseWindowSeconds: _nullishCoalesce(countOption(
1043
+ options.cacheReuseWindowSeconds,
1044
+ "--cache-reuse-window-seconds"
1045
+ ), () => ( base.cacheReuseWindowSeconds)),
1026
1046
  maxConcurrentExternalCalls: externalCalls,
1027
1047
  maxConcurrentRows: rows,
1028
1048
  maxCredits,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  PlayClient
3
- } from "./chunk-5APOJWJF.mjs";
3
+ } from "./chunk-Q7ZOWNKR.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-Z5YRKX7K.mjs";
7
+ } from "./chunk-HXM2JUGD.mjs";
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
49
49
  // getters keep their established compatibility behavior.
50
50
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
51
51
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
52
- version: "0.3.542",
52
+ version: "0.3.544",
53
53
  updateSummary: {
54
54
  introducedIn: "0.3.90",
55
55
  summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-I5EAIFGO.mjs";
4
+ } from "./chunk-SK3HPU2J.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-3LEUSRV3.mjs";
7
+ } from "./chunk-RJPDCSTD.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-ORA5TMML.mjs";
10
+ } from "./chunk-BEQ7RQLT.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-TT4JUUC3.mjs";
13
+ } from "./chunk-DVDWAC2M.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-Z5YRKX7K.mjs";
16
+ } from "./chunk-HXM2JUGD.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkGWHA4DACjs = require('./chunk-GWHA4DAC.js');
3
+ var _chunkUV4RU2TEjs = require('./chunk-UV4RU2TE.js');
4
4
 
5
5
 
6
6
  var _chunkR7J7CJPZjs = require('./chunk-R7J7CJPZ.js');
@@ -384,7 +384,7 @@ Output:
384
384
  Your runtime price, allowance used, paid overage, and reset date.
385
385
  Usage is shown in standard sandbox minutes at your current rate and in credits.
386
386
  ${PLAY_RUNTIME_PRICING_NOTE}
387
- ${_chunkGWHA4DACjs.PRICING_PAGE_NOTE}
387
+ ${_chunkUV4RU2TEjs.PRICING_PAGE_NOTE}
388
388
  Cost:
389
389
  Free to check.
390
390
  [[cli:
@@ -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]].
@@ -1367,7 +1505,7 @@ Concurrency:
1367
1505
  deepline billing entitlements shows this workspace's plan and limit and
1368
1506
  every plan's limit; this help prints them too when you are signed in.
1369
1507
  ]]
1370
- ${_chunkGWHA4DACjs.PRICING_PAGE_NOTE}
1508
+ ${_chunkUV4RU2TEjs.PRICING_PAGE_NOTE}
1371
1509
  Cost:
1372
1510
  Spends Deepline credits through the play's tool calls. Validation errors
1373
1511
  (missing column, bad input) fail before any spend.
@@ -1618,7 +1756,7 @@ Concurrency:
1618
1756
  deepline billing entitlements shows this workspace's plan and limit and
1619
1757
  every plan's limit; this help prints them too when you are signed in.
1620
1758
  ]]
1621
- ${_chunkGWHA4DACjs.PRICING_PAGE_NOTE}
1759
+ ${_chunkUV4RU2TEjs.PRICING_PAGE_NOTE}
1622
1760
  Cost:
1623
1761
  Free.
1624
1762
  Avoid:
@@ -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,29 +1,29 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkTTBHOMAAjs = require('./chunk-TTBHOMAA.js');
3
+ var _chunkW7X4KH45js = require('./chunk-W7X4KH45.js');
4
4
 
5
5
 
6
- var _chunkD7GWEBMFjs = require('./chunk-D7GWEBMF.js');
6
+ var _chunkUNMNGRPBjs = require('./chunk-UNMNGRPB.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkIPVRMYWTjs = require('./chunk-IPVRMYWT.js');
11
+ var _chunkRKF263LRjs = require('./chunk-RKF263LR.js');
12
12
 
13
13
 
14
14
  var _chunkXYIECA7Mjs = require('./chunk-XYIECA7M.js');
15
15
 
16
16
 
17
- var _chunk6SLEHAXXjs = require('./chunk-6SLEHAXX.js');
17
+ var _chunkDF2X7GJGjs = require('./chunk-DF2X7GJG.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
- var _chunkE7B73LGTjs = require('./chunk-E7B73LGT.js');
22
+ var _chunkZY6FL4O4js = require('./chunk-ZY6FL4O4.js');
23
23
 
24
24
 
25
25
 
26
- var _chunkVHJUH3TBjs = require('./chunk-VHJUH3TB.js');
26
+ var _chunkON56ISO6js = require('./chunk-ON56ISO6.js');
27
27
 
28
28
  // src/cli/commands/describe.ts
29
29
  var _fs = require('fs');
@@ -32,14 +32,14 @@ var _path = require('path');
32
32
  // src/cli/doc-read-reporting.ts
33
33
  var REPORT_TIMEOUT_MS = 1e3;
34
34
  async function reportDocRead(docId) {
35
- if (_chunkE7B73LGTjs.isFailureReportingDisabled.call(void 0, )) return;
35
+ if (_chunkZY6FL4O4js.isFailureReportingDisabled.call(void 0, )) return;
36
36
  try {
37
- const baseUrl = _chunkVHJUH3TBjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
38
- const apiKey = _chunkVHJUH3TBjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
37
+ const baseUrl = _chunkON56ISO6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
38
+ const apiKey = _chunkON56ISO6js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
39
39
  if (!apiKey) return;
40
40
  await fetch(new URL("/api/v2/telemetry/doc-read", baseUrl), {
41
41
  method: "POST",
42
- headers: _chunkE7B73LGTjs.failureReportHeaders.call(void 0, apiKey),
42
+ headers: _chunkZY6FL4O4js.failureReportHeaders.call(void 0, apiKey),
43
43
  body: JSON.stringify({ doc_id: docId }),
44
44
  signal: AbortSignal.timeout(REPORT_TIMEOUT_MS)
45
45
  });
@@ -52,16 +52,16 @@ function nothingNamed(name) {
52
52
  return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
53
53
  }
54
54
  function findNamed2(name, options) {
55
- return _chunkIPVRMYWTjs.findNamed.call(void 0, name, options, _chunkIPVRMYWTjs.describeLookupsFor.call(void 0, new (0, _chunk6SLEHAXXjs.DeeplineClient)()));
55
+ return _chunkRKF263LRjs.findNamed.call(void 0, name, options, _chunkRKF263LRjs.describeLookupsFor.call(void 0, new (0, _chunkDF2X7GJGjs.DeeplineClient)()));
56
56
  }
57
57
  async function describeAnything(name, options, onMissing) {
58
- const client = new (0, _chunk6SLEHAXXjs.DeeplineClient)();
59
- const lookups = _chunkIPVRMYWTjs.describeLookupsFor.call(void 0, client);
60
- const outcome = await _chunkIPVRMYWTjs.describeName.call(void 0, name, options, {
58
+ const client = new (0, _chunkDF2X7GJGjs.DeeplineClient)();
59
+ const lookups = _chunkRKF263LRjs.describeLookupsFor.call(void 0, client);
60
+ const outcome = await _chunkRKF263LRjs.describeName.call(void 0, name, options, {
61
61
  ...lookups,
62
62
  // `tools describe` has already fetched the tool for its compatibility check.
63
63
  tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
64
- seedStarterScript: _chunkTTBHOMAAjs.seedToolListScript
64
+ seedStarterScript: _chunkW7X4KH45js.seedToolListScript
65
65
  });
66
66
  if (outcome.status === "missing") {
67
67
  if (onMissing) return onMissing();
@@ -87,18 +87,18 @@ function deliver(envelope, lines, { json, out }) {
87
87
  ` : text;
88
88
  _fs.writeFileSync.call(void 0, path, content);
89
89
  const bytes = Buffer.byteLength(content);
90
- _chunkE7B73LGTjs.printCommandEnvelope.call(void 0,
90
+ _chunkZY6FL4O4js.printCommandEnvelope.call(void 0,
91
91
  { path, bytes },
92
92
  { json, text: `Wrote ${path} (${bytes} bytes)
93
93
  ` }
94
94
  );
95
95
  return 0;
96
96
  }
97
- _chunkE7B73LGTjs.printCommandEnvelope.call(void 0, envelope, { json, text });
97
+ _chunkZY6FL4O4js.printCommandEnvelope.call(void 0, envelope, { json, text });
98
98
  return 0;
99
99
  }
100
100
  function registerDescribeCommand(program) {
101
- _chunkD7GWEBMFjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
101
+ _chunkUNMNGRPBjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
102
102
  "Describe anything search returns: a tool, monitor type, or play."
103
103
  ).addHelpText(
104
104
  "after",
@@ -9,7 +9,7 @@ import {
9
9
  formatCliFailureDiagnostic,
10
10
  markJsonOutputHandled,
11
11
  writeRawStderr
12
- } from "./chunk-TT4JUUC3.mjs";
12
+ } from "./chunk-DVDWAC2M.mjs";
13
13
 
14
14
  // src/cli/describe-options.ts
15
15
  function addDescribeOptions(command, options = {}) {
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  httpJson
3
- } from "./chunk-EGOCGWCI.mjs";
3
+ } from "./chunk-H4SAHB3Q.mjs";
4
4
  import {
5
5
  PRICING_PAGE_NOTE
6
- } from "./chunk-FANIRW74.mjs";
6
+ } from "./chunk-NIPLY25A.mjs";
7
7
  import {
8
8
  autoDetectBaseUrl,
9
9
  resolveApiKeyForBaseUrl
10
- } from "./chunk-Z5YRKX7K.mjs";
10
+ } from "./chunk-HXM2JUGD.mjs";
11
11
 
12
12
  // src/cli/concurrent-runs-help.ts
13
13
  var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
@@ -3,7 +3,7 @@ import {
3
3
  formatModelDescription,
4
4
  publicToolSchemas,
5
5
  toolMetadataJsonForDescribe
6
- } from "./chunk-OVX3Q5Q3.mjs";
6
+ } from "./chunk-GWNYLIF7.mjs";
7
7
  import {
8
8
  buildPlayDashboardUrl,
9
9
  byokLines,