deepline 0.3.535 → 0.3.537

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 (229) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +232 -147
  2. package/dist/bundling-sources/sdk/src/index.ts +4 -0
  3. package/dist/bundling-sources/sdk/src/plays/local-file-discovery.ts +27 -1
  4. package/dist/bundling-sources/sdk/src/plays/run-request.ts +16 -5
  5. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  6. package/dist/bundling-sources/sdk/src/types.ts +2 -23
  7. package/dist/bundling-sources/shared_libs/integration-contracts/monitor-fleet-contract.ts +26 -14
  8. package/dist/bundling-sources/shared_libs/integration-contracts/monitor-input-contract.ts +33 -8
  9. package/dist/bundling-sources/shared_libs/monitors/fleets/count-drift-alert.ts +121 -0
  10. package/dist/bundling-sources/shared_libs/monitors/fleets/limits.ts +8 -0
  11. package/dist/bundling-sources/shared_libs/monitors/fleets/plan.ts +14 -82
  12. package/dist/bundling-sources/shared_libs/monitors/package.json +1 -0
  13. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +22 -4
  14. package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +0 -26
  15. package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +36 -0
  16. package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +21 -31
  17. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +88 -96
  18. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +12 -10
  19. package/dist/bundling-sources/shared_libs/play-runtime/durable-summary-events.ts +3 -1
  20. package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +71 -2
  21. package/dist/bundling-sources/shared_libs/play-runtime/governor/governor.ts +9 -0
  22. package/dist/bundling-sources/shared_libs/play-runtime/governor/rate-state-backend.ts +2 -0
  23. package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +1 -0
  24. package/dist/bundling-sources/shared_libs/play-runtime/map-memory-limits.ts +127 -9
  25. package/dist/bundling-sources/shared_libs/play-runtime/memory-ledger.ts +15 -2
  26. package/dist/bundling-sources/shared_libs/play-runtime/prebuilt-result-quality.ts +1 -1
  27. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +6 -0
  28. package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/fixture-capacity-simulator.ts +1 -0
  29. package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/gradient2-concurrency-controller.ts +41 -0
  30. package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/provider-capacity-policy.ts +6 -0
  31. package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/provider-concurrency-policy.ts +9 -0
  32. package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +7 -0
  33. package/dist/bundling-sources/shared_libs/play-runtime/run-failure.ts +2 -2
  34. package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +5 -2
  35. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-tool-hooks.ts +8 -3
  36. package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +7 -0
  37. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-compute-usage.ts +31 -0
  38. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +6 -0
  39. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +26 -1
  40. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-scope.ts +11 -4
  41. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +73 -18
  42. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +169 -2
  43. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +26 -4
  44. package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +84 -49
  45. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +37 -32
  46. package/dist/bundling-sources/shared_libs/plays/launch/input-contract.ts +13 -1
  47. package/dist/bundling-sources/shared_libs/plays/local-file-discovery.ts +68 -1
  48. package/dist/bundling-sources/shared_libs/product-notifications/configuration-draft.ts +57 -1
  49. package/dist/bundling-sources/shared_libs/product-notifications/configuration.ts +22 -9
  50. package/dist/cli/{auth-ZCTMB5RA.mjs → auth-4SUPGDIM.mjs} +7 -7
  51. package/dist/cli/auth-Y2K2ZYYA.js +43 -0
  52. package/dist/cli/{billing-OU2ZHL72.mjs → billing-5JUA3ZM3.mjs} +185 -24
  53. package/dist/cli/{billing-GVFKZQH3.js → billing-SQU726P7.js} +273 -112
  54. package/dist/cli/{chunk-T2N3B7IQ.js → chunk-2GJZLIKW.js} +8 -8
  55. package/dist/cli/{chunk-ZUVE63Y7.js → chunk-2Q7VXTMS.js} +2 -2
  56. package/dist/cli/{chunk-WAIBM6KX.mjs → chunk-37AZHCTP.mjs} +5 -5
  57. package/dist/cli/{chunk-D4MHCCIR.js → chunk-3PMCQ3LK.js} +33 -33
  58. package/dist/cli/{chunk-R4RG4FV5.mjs → chunk-4KWD3MX2.mjs} +13 -10
  59. package/dist/cli/{chunk-PI5R65OQ.js → chunk-5EOEJKSV.js} +1 -1
  60. package/dist/cli/{chunk-XSOTEVOB.js → chunk-6BBGUQJJ.js} +50 -141
  61. package/dist/cli/{chunk-OM732MGV.js → chunk-ALHKB3AE.js} +17 -17
  62. package/dist/cli/{chunk-6LHX33VN.js → chunk-AVQET3NR.js} +9 -6
  63. package/dist/cli/{chunk-W6T23EUC.mjs → chunk-AX2OAXDL.mjs} +1 -1
  64. package/dist/cli/{chunk-SQWET4SL.js → chunk-BBTKAASQ.js} +2 -1
  65. package/dist/cli/{chunk-G2DLG32W.mjs → chunk-BFHR7IC2.mjs} +40 -27
  66. package/dist/cli/{chunk-KWGXHPHL.js → chunk-BGXEMTIG.js} +523 -59
  67. package/dist/cli/{chunk-AUEUAPVS.mjs → chunk-BRRCWUOW.mjs} +1 -1
  68. package/dist/cli/{chunk-QYBAHYP4.mjs → chunk-C37VELBR.mjs} +7 -9
  69. package/dist/cli/{chunk-H6SWS5CG.mjs → chunk-C3XD2WHM.mjs} +2 -2
  70. package/dist/cli/{chunk-NRO3NTVO.js → chunk-CBV7AKWM.js} +5 -5
  71. package/dist/cli/{chunk-CIDATNTY.js → chunk-CFND2ACL.js} +16 -16
  72. package/dist/cli/{chunk-J75DANZY.mjs → chunk-CGDW2CRR.mjs} +2 -2
  73. package/dist/cli/{chunk-RFQWSH6I.js → chunk-CHIGEDAE.js} +3 -3
  74. package/dist/cli/{chunk-QNHHZ63P.mjs → chunk-CQBIO6HW.mjs} +1 -1
  75. package/dist/cli/{chunk-2KHUFWTK.js → chunk-CQDQNZGH.js} +42 -37
  76. package/dist/cli/{chunk-E3CLOVG5.mjs → chunk-CXTW7SRW.mjs} +50 -141
  77. package/dist/cli/{chunk-4NLRWKZB.js → chunk-D77W6Q67.js} +26 -26
  78. package/dist/cli/{chunk-JWWYLGUT.mjs → chunk-EEFSUCYP.mjs} +475 -11
  79. package/dist/cli/{chunk-STR5LXK4.mjs → chunk-FSIVF2SI.mjs} +1 -1
  80. package/dist/cli/{chunk-6TYRRNXY.mjs → chunk-GI3V4D7K.mjs} +2 -2
  81. package/dist/cli/{chunk-DFJODFMC.mjs → chunk-GPMS6OPX.mjs} +5 -5
  82. package/dist/cli/{chunk-5YAJGRWB.js → chunk-IPVRMYWT.js} +7 -7
  83. package/dist/cli/{chunk-DAPKLYST.js → chunk-IQOIT6E3.js} +41 -41
  84. package/dist/cli/{chunk-ZPGGW27Q.mjs → chunk-JL2OTMSG.mjs} +1 -0
  85. package/dist/cli/{chunk-FGN75ZN6.js → chunk-JMHYDDBQ.js} +390 -382
  86. package/dist/cli/{chunk-KA6ZERJL.js → chunk-JS2SBCWD.js} +6 -6
  87. package/dist/cli/{chunk-W5YJYU4G.mjs → chunk-K4WJ4BYO.mjs} +2 -2
  88. package/dist/cli/{chunk-LVISZFYO.mjs → chunk-KH27B2HJ.mjs} +2 -2
  89. package/dist/cli/{chunk-UUQ2OXMH.js → chunk-KULT6O5K.js} +18 -20
  90. package/dist/cli/{chunk-YFZLZNTH.mjs → chunk-L3JVGNAT.mjs} +4 -4
  91. package/dist/cli/{chunk-HYBZWSSH.js → chunk-L6QAIZNZ.js} +44 -44
  92. package/dist/cli/{chunk-TCVCFZP6.mjs → chunk-NU7B5X6J.mjs} +4 -1
  93. package/dist/cli/{chunk-7PXP2FQK.js → chunk-NXGLJGPB.js} +2 -2
  94. package/dist/cli/{chunk-BNH4Y35W.mjs → chunk-OLH2PHMC.mjs} +2 -2
  95. package/dist/cli/{chunk-GESIFFQX.mjs → chunk-OVX3Q5Q3.mjs} +1 -1
  96. package/dist/cli/{chunk-2D6SWQTK.js → chunk-PJ4ZGZAN.js} +13 -13
  97. package/dist/cli/{chunk-HWPOXCCK.js → chunk-PU42VOBI.js} +8 -8
  98. package/dist/cli/{chunk-RKY4LBX3.mjs → chunk-QDBGPRR2.mjs} +3 -3
  99. package/dist/cli/{chunk-KOZBZPRM.js → chunk-QPDLG7DQ.js} +55 -55
  100. package/dist/cli/{chunk-DWPY6ZID.mjs → chunk-R7JYG6XO.mjs} +1 -1
  101. package/dist/cli/{chunk-K76AEBFY.mjs → chunk-RMVZTBI5.mjs} +4 -4
  102. package/dist/cli/{chunk-IF75RD6U.js → chunk-U2LVWCTD.js} +18 -6
  103. package/dist/cli/{chunk-WNNA4L6Z.js → chunk-UGA5KI4A.js} +22 -22
  104. package/dist/cli/{chunk-ZS2WHWWL.js → chunk-UNDLNT3V.js} +1 -1
  105. package/dist/cli/{chunk-7CWSAEYS.mjs → chunk-V5IIBG2E.mjs} +1 -1
  106. package/dist/cli/{chunk-BF65LB7X.mjs → chunk-VP2K5B3R.mjs} +4 -4
  107. package/dist/cli/{chunk-DYIWDUY4.js → chunk-VRYX2BR4.js} +316 -303
  108. package/dist/cli/{chunk-R2KKEHJN.mjs → chunk-W3J3LT22.mjs} +5 -5
  109. package/dist/cli/{chunk-PHLNYBAA.js → chunk-WBFOV5HT.js} +5 -5
  110. package/dist/cli/{chunk-5EKNDNFQ.js → chunk-WBTYWJLN.js} +2 -2
  111. package/dist/cli/{chunk-C374C22Y.js → chunk-WOQO3GV4.js} +14 -11
  112. package/dist/cli/{chunk-K3IPGMGP.js → chunk-XDS26J7Z.js} +17 -19
  113. package/dist/cli/{chunk-JQQG4QL4.mjs → chunk-Y6AMMXWS.mjs} +3 -3
  114. package/dist/cli/{chunk-7R5DAANG.mjs → chunk-Z2PPB3IO.mjs} +1 -1
  115. package/dist/cli/{chunk-FKD3KL5Q.mjs → chunk-Z2XA6YU4.mjs} +10 -5
  116. package/dist/cli/{chunk-243O3FH5.js → chunk-ZFSB7GXF.js} +5 -5
  117. package/dist/cli/{chunk-MI6ZP7XI.mjs → chunk-ZG7BOECV.mjs} +18 -6
  118. package/dist/cli/{chunk-FZKPPB5P.mjs → chunk-ZHPSJ3LJ.mjs} +85 -77
  119. package/dist/cli/{chunk-K53NKWZO.mjs → chunk-ZUAMXZXC.mjs} +13 -15
  120. package/dist/cli/command-docs.js +2 -2
  121. package/dist/cli/command-docs.mjs +1 -1
  122. package/dist/cli/{csv-CLPVMIRF.mjs → csv-HZP6QMG7.mjs} +6 -6
  123. package/dist/cli/{csv-CD55KEIO.js → csv-JITYN27L.js} +15 -15
  124. package/dist/cli/{db-MQKLDAEO.js → db-FYSRB7O4.js} +36 -36
  125. package/dist/cli/{db-AU4SMWUN.mjs → db-QRIRTOMM.mjs} +9 -9
  126. package/dist/cli/describe-LSOHOLFI.js +49 -0
  127. package/dist/cli/describe-REXJVJC3.mjs +49 -0
  128. package/dist/cli/describe-core.d.mts +3 -3
  129. package/dist/cli/describe-core.d.ts +3 -3
  130. package/dist/cli/describe-core.js +5 -5
  131. package/dist/cli/describe-core.mjs +4 -4
  132. package/dist/cli/{executions-TFIJPUX7.mjs → executions-53KJAFOW.mjs} +9 -9
  133. package/dist/cli/{executions-77GOLWRM.js → executions-BSTF4DDS.js} +11 -11
  134. package/dist/cli/{feedback-OV5YAL3A.js → feedback-6MW3QOXX.js} +16 -16
  135. package/dist/cli/{feedback-2WRSZ5WL.mjs → feedback-CWUJJF3J.mjs} +8 -8
  136. package/dist/cli/{git-VNS4ATLZ.mjs → git-CKVZTJFS.mjs} +7 -7
  137. package/dist/cli/git-S7SWUZ3T.js +25 -0
  138. package/dist/cli/index.js +151 -157
  139. package/dist/cli/index.mjs +51 -57
  140. package/dist/cli/{legacy-noops-HDOB5C6F.js → legacy-noops-QBL4PNGB.js} +11 -11
  141. package/dist/cli/{legacy-noops-C732QDCY.mjs → legacy-noops-USTBRFRX.mjs} +8 -8
  142. package/dist/cli/{monitors-2LYEFXOU.mjs → monitors-6UCG5D7W.mjs} +19 -16
  143. package/dist/cli/{monitors-5IUMHH3E.js → monitors-VCR6SUZD.js} +125 -122
  144. package/dist/cli/{org-G4YGZPHS.mjs → org-GSRBOJVO.mjs} +9 -9
  145. package/dist/cli/{org-ADW2EVAC.js → org-HPILTEG4.js} +89 -89
  146. package/dist/cli/{play-7GQ56C2D.mjs → play-QRTYQNG4.mjs} +123 -76
  147. package/dist/cli/{play-EHSOSSHT.js → play-TK7WOP5H.js} +641 -594
  148. package/dist/cli/{providers-PWCF6OOO.js → providers-HEXNJ5QC.js} +12 -12
  149. package/dist/cli/{providers-WL3YTCSV.mjs → providers-OAQJWVBS.mjs} +9 -9
  150. package/dist/cli/{quickstart-323XOPGI.mjs → quickstart-FFVHTPSP.mjs} +6 -6
  151. package/dist/cli/{quickstart-ZKI5MURA.js → quickstart-PYZTFXZX.js} +8 -8
  152. package/dist/cli/{run-XZPWA6JS.js → run-4DWJXJRO.js} +50 -53
  153. package/dist/cli/{run-ZCNZU3K2.mjs → run-HLN6YYZH.mjs} +31 -34
  154. package/dist/cli/search-WERQBC6V.js +32 -0
  155. package/dist/cli/{search-CVLVSFMJ.mjs → search-ZHRCXGEL.mjs} +10 -11
  156. package/dist/cli/{search-output-7HRSSRBS.js → search-output-2KY6PFDH.js} +8 -8
  157. package/dist/cli/{search-output-6PY6RN2R.mjs → search-output-N7QXACVK.mjs} +6 -6
  158. package/dist/cli/{secrets-6S2ZWDIM.mjs → secrets-FKMWBLHU.mjs} +9 -9
  159. package/dist/cli/{secrets-IYD5VKY4.js → secrets-WXQ7XO5C.js} +18 -18
  160. package/dist/cli/{sessions-GVEX5TUJ.mjs → sessions-3YDTEDA5.mjs} +8 -8
  161. package/dist/cli/sessions-LXQ4Q6BS.js +22 -0
  162. package/dist/cli/{settings-CANK4HJQ.js → settings-67TWLQ6E.js} +88 -89
  163. package/dist/cli/{settings-BN5MJZ3C.mjs → settings-JTPASUZN.mjs} +15 -16
  164. package/dist/cli/{setup-YSGKGLSJ.js → setup-KUERQJUX.js} +51 -52
  165. package/dist/cli/{setup-JNMSCCU4.mjs → setup-VYNGXUJ6.mjs} +11 -12
  166. package/dist/cli/skills-EFRLHY3F.js +36 -0
  167. package/dist/cli/{skills-QCQN2UM2.mjs → skills-KI4KYHH6.mjs} +9 -10
  168. package/dist/cli/tools-C3EIGFFP.js +56 -0
  169. package/dist/cli/{tools-CDPOID7V.mjs → tools-UQDJS2RS.mjs} +20 -21
  170. package/dist/cli/{update-D3ZERUQ3.mjs → update-7FQQUBOD.mjs} +11 -12
  171. package/dist/cli/update-KCY72RXH.js +34 -0
  172. package/dist/cli/{views-RDZRWQBQ.mjs → views-JAM4MNNV.mjs} +54 -10
  173. package/dist/cli/{views-4NV2KQKA.js → views-MJK7JGZG.js} +66 -22
  174. package/dist/cli/{workflow-RABJCAZC.js → workflow-AQPRIWQX.js} +20 -20
  175. package/dist/cli/{workflow-2CG3TVCG.mjs → workflow-TQRV5FGO.mjs} +10 -10
  176. package/dist/{client-DhSvMO3A.d.mts → client-BlLYQDNo.d.mts} +1 -1
  177. package/dist/{client-oGNJMQFd.d.ts → client-DSQlkIDO.d.ts} +1 -1
  178. package/dist/{client-core-CdWH6Sii.d.ts → client-core-CDwapXy5.d.ts} +159 -108
  179. package/dist/{client-core-CVG1Et-4.d.mts → client-core-rX7n2H8U.d.mts} +159 -108
  180. package/dist/{compiler-manifest-D2ZlBGxj.d.ts → compiler-manifest-BHNC4RL-.d.mts} +15 -22
  181. package/dist/{compiler-manifest-D2ZlBGxj.d.mts → compiler-manifest-BHNC4RL-.d.ts} +15 -22
  182. package/dist/{errors-B-gOQdj-.d.mts → errors-D7sPXrvB.d.mts} +1 -1
  183. package/dist/{errors-CB0KAmmV.d.ts → errors-lhtIWG5Z.d.ts} +1 -1
  184. package/dist/{index-c3nvUGCS.d.ts → index-CQTBHXHr.d.ts} +1 -1
  185. package/dist/{index-BbJADro4.d.mts → index-NaDZq2xf.d.mts} +1 -1
  186. package/dist/index.d.mts +7 -7
  187. package/dist/index.d.ts +7 -7
  188. package/dist/index.js +15 -15
  189. package/dist/index.mjs +11 -11
  190. package/dist/install-integrity.json +129 -132
  191. package/dist/monitor-fleet-contract.d.mts +17 -11
  192. package/dist/monitor-fleet-contract.d.ts +17 -11
  193. package/dist/monitor-fleet-contract.js +3 -3
  194. package/dist/monitor-fleet-contract.mjs +2 -2
  195. package/dist/monitor-input-contract.js +2 -2
  196. package/dist/monitor-input-contract.mjs +1 -1
  197. package/dist/plays/bundle-play-file.d.mts +3 -3
  198. package/dist/plays/bundle-play-file.d.ts +3 -3
  199. package/dist/plays/bundle-play-file.mjs +17 -5
  200. package/dist/plays/csv-data-input.js +3 -3
  201. package/dist/plays/csv-data-input.mjs +2 -2
  202. package/dist/plays/play-description.d.mts +2 -2
  203. package/dist/plays/play-description.d.ts +2 -2
  204. package/dist/plays/run-request.d.mts +2 -2
  205. package/dist/plays/run-request.d.ts +2 -2
  206. package/dist/plays/run-request.js +3 -3
  207. package/dist/plays/run-request.mjs +2 -2
  208. package/dist/release.d.mts +1 -1
  209. package/dist/release.d.ts +1 -1
  210. package/dist/release.js +2 -2
  211. package/dist/release.mjs +1 -1
  212. package/dist/server.d.mts +4 -4
  213. package/dist/server.d.ts +4 -4
  214. package/dist/server.js +12 -12
  215. package/dist/server.mjs +6 -6
  216. package/package.json +1 -1
  217. package/dist/cli/auth-VDCU3T6A.js +0 -43
  218. package/dist/cli/chunk-4QELPWUW.mjs +0 -405
  219. package/dist/cli/chunk-T7RBM2WX.js +0 -405
  220. package/dist/cli/describe-5BFNHT5V.js +0 -50
  221. package/dist/cli/describe-AWJUXE2U.mjs +0 -50
  222. package/dist/cli/git-HGMX52XU.js +0 -25
  223. package/dist/cli/pages-KXKWSCEV.mjs +0 -266
  224. package/dist/cli/pages-VTJGAI2D.js +0 -266
  225. package/dist/cli/search-J6EY7DQN.js +0 -33
  226. package/dist/cli/sessions-7HPIVSQ4.js +0 -22
  227. package/dist/cli/skills-WDGSSKJZ.js +0 -37
  228. package/dist/cli/tools-URNVXSTZ.js +0 -57
  229. package/dist/cli/update-Q6JW32IA.js +0 -35
@@ -472,9 +472,9 @@ Examples:
472
472
  deepline search "business address -> company domain" "name and company domain -> work email"
473
473
  deepline search "first name, last name and company domain -> verified work email"
474
474
  deepline search "company domains -> shop management software they use"
475
- deepline search "company domain -> employees by job title and office location" --type plays
475
+ deepline search "company domain -> employees by job title and office location"
476
476
  deepline search "upload a contact list as a Meta ads audience"
477
- deepline search "how do webhooks trigger a play" --type docs
477
+ deepline search "how do webhooks trigger a play"
478
478
  ]]
479
479
  [[mcp:
480
480
  query "first name, last name and company domain -> verified work email"
@@ -568,6 +568,9 @@ Output:
568
568
  --csv-out - to pipe result data to stdout.
569
569
  --fields picks values and CSV columns. Exit code 0 completed, 1 failed or
570
570
  still running, 2 nothing ran.
571
+ A failed tool call's receipt error matches deepline tools execute:
572
+ error.tool_error says whether a retry is safe, and error.upstreamResponse
573
+ holds a connected provider's status and body.
571
574
  Cost:
572
575
  What the tool or play charges. --max-credits caps a play run. Running an
573
576
  interrupted call again replays it without paying twice.
@@ -621,6 +624,18 @@ Output:
621
624
  [[cli:Use --json for records with provider, status, label, and connection version.]]
622
625
  Cost:
623
626
  Does not spend Deepline credits.
627
+ `,
628
+ rolloutFeature: "integration-connections"
629
+ },
630
+ "tools hubspot-members": {
631
+ core: `
632
+ Purpose:
633
+ List personal HubSpot connection status as an admin in an enrolled workspace.
634
+ Output:
635
+ Workspace members, linked HubSpot account IDs, connection status, and a next-page cursor when available.
636
+ [[cli:Use --json for a structured page and --cursor to continue.]]
637
+ Cost:
638
+ Does not spend Deepline credits.
624
639
  `,
625
640
  rolloutFeature: "integration-connections"
626
641
  },
@@ -837,6 +852,9 @@ Failures:
837
852
  error.tool_error.retryAfterMs.
838
853
  When a connected provider returns a failure, error.upstreamResponse
839
854
  includes its HTTP status and body, with echoed authentication masked.
855
+ Without --json the CLI prints that status and a short redacted body
856
+ excerpt. A provider 401, 403 or other 4xx except 408/425/429 is permanent:
857
+ fix the key, plan or input instead of retrying.
840
858
  ]]
841
859
  [[mcp:
842
860
  Output:
@@ -1088,7 +1106,7 @@ Input:
1088
1106
  <play> is a bare name or qualified reference.[[cli: --json prints the exact result.]]
1089
1107
  Output:
1090
1108
  reference, costEstimate, and for prebuilts observedCost. Estimates include
1091
- the output unit, observed or static range, sample size and compute ceiling.
1109
+ the output unit, observed or static range and sample size.
1092
1110
  Cost:
1093
1111
  Read-only. Uses the current workspace's pricing; does not start a run.
1094
1112
  `
@@ -1335,8 +1353,7 @@ Avoid:
1335
1353
  its own start-up and balance admission, and the batch form keeps a
1336
1354
  row-level failure inside one completed run.
1337
1355
  Do not poll [[runs get]] while [[plays run]] is still waiting; it already waits.
1338
- Do not rerun a failed run from scratch; the same command reuses completed
1339
- rows.
1356
+ Do not assume a new run reuses completed work; it may repeat paid calls.
1340
1357
  `,
1341
1358
  verbose: `
1342
1359
  Waiting and timeouts:
@@ -1366,8 +1383,8 @@ Output fields:
1366
1383
  failures still keeps the succeeded rows; read
1367
1384
  rowOutcomes and warnings.
1368
1385
  steps[].progress {total, executed, reused, failed, completedRows}
1369
- per dataset step. reused counts rows recovered from
1370
- an earlier run.
1386
+ per Dataset step. reused counts duplicate input rows
1387
+ served by the same row work, not all cached lookups.
1371
1388
  datasets[].storage {schema, table}: where the rows live in the
1372
1389
  customer database. Row counts and fill statistics
1373
1390
  are in runs get, not here.
@@ -1377,9 +1394,12 @@ Output fields:
1377
1394
  name the missing amount.
1378
1395
  ]]
1379
1396
  Reruns and idempotency:
1380
- Running the same play with the same input reuses completed provider calls
1381
- and rows, so rerunning after a partial failure only pays for the missing
1382
- work.[[cli: --from-start starts a fresh run graph; --refresh-cache skips
1397
+ [[cli:runs resume <run-id> continues the same stopped run and can recover
1398
+ matching completed operations, including fresh-only calls.]] Unfinished or
1399
+ unrecorded work can incur charges. Starting a new run has a new identity;
1400
+ reuse then depends on compatible saved results and freshness. Authored
1401
+ staleAfterSeconds: 0 requests fresh data and does not publish a shared
1402
+ result for later runs.[[cli: --from-start starts a fresh run graph; --refresh-cache skips
1383
1403
  cached reads, calls providers again (bills those calls again), and updates
1384
1404
  the shared result other Plays reuse; it is almost never what you want.]]
1385
1405
  Related:
@@ -1569,6 +1589,12 @@ Cost:
1569
1589
  Free.
1570
1590
  Avoid:
1571
1591
  Cost is not in this payload without [[--full]]; use [[billing usage --run-id]].
1592
+ Treating zero Dataset reuse as no saved work. Row reuse counts duplicates;
1593
+ cached cell attempts cover this run's sheets, not all tool or child-Play
1594
+ reuse. Missing or incomplete counts are unknown, not zero. Saved tool
1595
+ operations and published output rows are separate; a local array is not
1596
+ published until returned. Resume can recover matching completed operations
1597
+ without a published Dataset.
1572
1598
  datasets[].preview.rows is a sample, not the rows; use [[cli:runs export]][[mcp:deepline_read_play_output]] or [[db
1573
1599
  query]].
1574
1600
  `,
@@ -1802,8 +1828,8 @@ When:
1802
1828
  A run is stuck, was started by mistake, or was superseded. Runs of the same
1803
1829
  play do not cancel each other: an older run keeps working and keeps
1804
1830
  spending until it ends or is stopped. [[runs list --play <name> --status
1805
- running]] lists them. Completed work is kept and reused by a later run of the
1806
- same play and input.
1831
+ running]] lists them. [[cli:To continue later, use runs resume <run-id> if
1832
+ eligible.]] A separate new run does not guarantee reuse of completed work.
1807
1833
  [[cli:
1808
1834
  Input:
1809
1835
  The run id and --reason "<text>". --json prints JSON.
@@ -1859,8 +1885,8 @@ Cost:
1859
1885
  "runs resume": {
1860
1886
  core: `
1861
1887
  Purpose:
1862
- Continue a failed or cancelled run as the same run, without repeating its
1863
- completed work.
1888
+ Continue a failed or cancelled run as the same run, recovering matching
1889
+ completed operations, including calls that used staleAfterSeconds: 0.
1864
1890
  When:
1865
1891
  After fixing the cause of a failure. A run can be resumed for 14 days after
1866
1892
  it stops. [[cli:To start over as a new run instead, use plays run --from-run
@@ -1876,10 +1902,13 @@ Input:
1876
1902
  been resumed).]]
1877
1903
  Follow the run with [[runs get]].
1878
1904
  Cost:
1879
- Spends credits only for work the run had not finished.
1905
+ Unfinished or unrecorded work can incur charges. Dataset reuse counters do
1906
+ not measure all saved tool work or how much work resume can recover.
1880
1907
  Avoid:
1881
1908
  Resuming a run that is still active, or one whose last attempt is still
1882
1909
  finishing; the server refuses both. Wait a minute and try again.
1910
+ Starting a new run to continue the old one. Cross-run reuse depends on
1911
+ compatible saved results and freshness; a fresh-only call can repeat.
1883
1912
  `
1884
1913
  },
1885
1914
  notifications: {
@@ -1961,131 +1990,6 @@ Cost:
1961
1990
  Avoid:
1962
1991
  Do not guess table names; a run's dataset table is named in [[runs get]]
1963
1992
  under datasets[].storage.
1964
- `
1965
- },
1966
- pages: {
1967
- rolloutFeature: "hosted-pages",
1968
- core: `
1969
- Purpose:
1970
- Publish a document at a stable URL on your workspace's subdomain of
1971
- deepline.page, and decide who can open it. A page is one named document:
1972
- HTML, JSON, CSV, Markdown, text, SVG, an image, or a PDF, up to 3 MB.
1973
- When:
1974
- To share a report, dashboard, or result with people, from a terminal or at
1975
- the end of a Play. Writing the same name again replaces the page and keeps
1976
- its URL, so a Play that runs daily can keep one page current.
1977
- The sequence:
1978
- 1. Write it. From a terminal: [[pages write <name> --file report.html
1979
- --private]]. From a Play: ctx.pages.write(name, { public: false,
1980
- content }). The URL, https://<label>.deepline.page/p/<name>, is in the
1981
- output and stays the same for every write.
1982
- 2. Choose who can open it. Every write must say private or public:
1983
- private Workspace members, after signing in to Deepline.
1984
- link Anyone holding a URL from [[pages links create <name>]]. A link
1985
- opens one page, shows its current content, and expires
1986
- (--expires-in 7d) or lasts until revoked (--permanent).
1987
- public Anyone with the URL. Needs public pages enabled for the
1988
- workspace; [[pages list]] says whether they are. A private page
1989
- becomes public only through [[pages set-public <name>]], never
1990
- through a write.
1991
- 3. Manage it: [[pages list]], [[pages get <name>]],
1992
- [[pages set-private <name>]], [[pages links list <name>]],
1993
- [[pages links revoke <name> <link-id>]], [[pages delete <name>]]. The
1994
- Pages section of the dashboard has the same actions.
1995
- 4. For cross-origin browser reads of a public page, set allowed origins
1996
- with [[pages set-origins <name> https://example.com]].
1997
- What visitors see:
1998
- HTML, SVG, and XML open in a sandbox under a "Hosted on Deepline" tab.
1999
- Scripts, forms, and https requests work. A link to another site asks the
2000
- visitor before it opens. Other types, and requests from curl or code, get
2001
- the bytes exactly as written.
2002
- Cost:
2003
- Free. Each new page counts toward the plan's page limit, which
2004
- [[pages list]] prints; replacing a page does not.
2005
- Avoid:
2006
- Do not put secrets or credentials in a page, even a private one: anyone with
2007
- a link sees everything on it. Do not write a new name per run to keep
2008
- history; use one name so the URL stays stable.
2009
- `
2010
- },
2011
- "pages write": {
2012
- rolloutFeature: "hosted-pages",
2013
- core: `
2014
- Purpose:
2015
- Create a page, or replace all of its content and its description.
2016
- [[cli:
2017
- Input:
2018
- <name>: 1-63 lowercase letters, digits, or hyphens, starting and ending
2019
- with a letter or digit. --file <path> (required, up to 3 MB). Exactly one
2020
- of --private or --public. --content-type <type> overrides the type taken
2021
- from the extension (.html .htm .json .csv .md .txt .svg .png .jpg .jpeg
2022
- .gif .webp .pdf; anything else is application/octet-stream).
2023
- --description <text>. --json prints JSON.
2024
- ]]
2025
- Output (JSON):
2026
- name, url, public (who can open it after this write), revision (increases
2027
- only when the content changes), created (true for a new page), and
2028
- warnings[] (for example, a request for public that kept a page private).
2029
- Visibility:
2030
- --private makes a public page private at once. --public publishes a new
2031
- page. On a page that is already private, --public writes the content, keeps
2032
- the page private, and adds a warning; run [[pages set-public <name>]] to
2033
- publish it. Without public pages enabled, --public fails with
2034
- public_pages_not_enabled and writes nothing.
2035
- Errors (code):
2036
- name_invalid, content_type_invalid, description_too_long,
2037
- document_too_large, page_limit_reached, page_deleting,
2038
- public_pages_not_enabled, pages_not_enabled.
2039
- Cost:
2040
- Free. Repeating a write is safe.
2041
- Avoid:
2042
- Do not use --public for something only your team should see. Write it
2043
- --private and share it with [[pages links create <name>]].
2044
- `
2045
- },
2046
- "pages set-origins": {
2047
- rolloutFeature: "hosted-pages",
2048
- core: `
2049
- Purpose:
2050
- Replace the list of sites that can fetch a public page from browser JavaScript.
2051
- Input:
2052
- <name>, followed by up to 20 exact HTTPS origins without trailing slashes.
2053
- Omit the origins to clear the list. --json prints JSON.
2054
- Output (JSON):
2055
- allowed_origins: the saved list.
2056
- Behavior:
2057
- The setting applies to anonymous reads of the raw public document.
2058
- Each listed origin includes the scheme, hostname, and port if non-default.
2059
- Use a credential-free GET or HEAD request.
2060
- Cost:
2061
- Free.
2062
- `
2063
- },
2064
- "pages links create": {
2065
- rolloutFeature: "hosted-pages",
2066
- core: `
2067
- Purpose:
2068
- Create a URL that opens one page without signing in.
2069
- When:
2070
- To share a private page with someone outside the workspace, or for a limited
2071
- time. Works without public pages enabled.
2072
- [[cli:
2073
- Input:
2074
- <name>, then exactly one of --expires-in <duration> (30m, 12h, 7d) or
2075
- --permanent. --label <text> says who the link is for. --json prints JSON.
2076
- ]]
2077
- Output (JSON):
2078
- url (printed once and never again; Deepline keeps only a hash), id (pass it
2079
- to [[pages links revoke <name> <link-id>]]), label, expires_at (null when
2080
- permanent), created_at.
2081
- Behavior:
2082
- The link always shows the page's current content, keeps working after
2083
- writes, and stops at once when revoked or when the page is deleted. A page
2084
- can have up to 100 links; [[pages links list <name>]] lists them.
2085
- Cost:
2086
- Free.
2087
- Avoid:
2088
- Do not post a link anywhere public: it opens the page for anyone holding it.
2089
1993
  `
2090
1994
  },
2091
1995
  views: {
@@ -2115,6 +2019,10 @@ The sequence:
2115
2019
  [[views set-access <id> public]] lets anyone with the URL open it and
2116
2020
  see the output of every run of its Play, including runs started outside
2117
2021
  the view (by hand, on a schedule, or from the CLI).
2022
+ To share with specific people instead, create a signed link:
2023
+ [[views links create <id> --expires 7d --email a@b.com]]. Whoever holds
2024
+ it can open the view, with each run's input, until it expires or
2025
+ [[views links revoke <id> <link-id>]]; the URL is printed once.
2118
2026
  4. Manage it: [[views list]], [[views get <id>]],
2119
2027
  [[views edit <id>]], [[views runs <id>]], [[views delete <id>]].
2120
2028
  Buttons in HTML output:
@@ -2125,7 +2033,8 @@ Buttons in HTML output:
2125
2033
  the run. Plays in this workspace only; never for public visitors.
2126
2034
  Permissions:
2127
2035
  [[views permissions]] shows who may create, edit, delete, set access, and
2128
- refresh; admins change them with [[views permissions set]].
2036
+ refresh; admins change them with [[views permissions set]]. Share links
2037
+ take the set-access permission.
2129
2038
  Cost:
2130
2039
  Views are free. Refresh and buttons start ordinary Play runs.
2131
2040
  Avoid:
@@ -3,18 +3,18 @@
3
3
  var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
4
4
 
5
5
 
6
- var _chunkFGN75ZN6js = require('./chunk-FGN75ZN6.js');
6
+ var _chunkJMHYDDBQjs = require('./chunk-JMHYDDBQ.js');
7
7
 
8
8
 
9
- var _chunk2KHUFWTKjs = require('./chunk-2KHUFWTK.js');
9
+ var _chunkCQDQNZGHjs = require('./chunk-CQDQNZGH.js');
10
10
 
11
11
 
12
12
 
13
13
 
14
- var _chunkKWGXHPHLjs = require('./chunk-KWGXHPHL.js');
14
+ var _chunkBGXEMTIGjs = require('./chunk-BGXEMTIG.js');
15
15
 
16
16
 
17
- var _chunkSQWET4SLjs = require('./chunk-SQWET4SL.js');
17
+ var _chunkBBTKAASQjs = require('./chunk-BBTKAASQ.js');
18
18
 
19
19
  // ../play-runtime/governor/policy.ts
20
20
  var DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS = 64;
@@ -537,14 +537,14 @@ function parseJsonInput(raw, flag = "--input") {
537
537
  try {
538
538
  parsed = JSON.parse(source);
539
539
  } catch (e) {
540
- throw new (0, _chunkSQWET4SLjs.DeeplineError)(
540
+ throw new (0, _chunkBBTKAASQjs.DeeplineError)(
541
541
  `${flag} expects a valid JSON object or @input.json. A bare file path is not JSON.${flag === "--input" ? " Use the field names and run example from plays check <file> or deepline describe <play>. --csv contacts.csv supplies input.csv only when the Play declares that field." : ""}`,
542
542
  void 0,
543
543
  "INVALID_JSON"
544
544
  );
545
545
  }
546
546
  if (!parsed || typeof parsed !== "object" || Array.isArray(parsed)) {
547
- throw new (0, _chunkSQWET4SLjs.DeeplineError)(
547
+ throw new (0, _chunkBBTKAASQjs.DeeplineError)(
548
548
  `${flag} must be a JSON object.`,
549
549
  void 0,
550
550
  "INVALID_JSON"
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
581
581
  return raw;
582
582
  }
583
583
  function parsePlayRunOptions(args, initialInput = null) {
584
- const selection = _chunkKWGXHPHLjs.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunkBGXEMTIGjs.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 ? _chunkKWGXHPHLjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkKWGXHPHLjs.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunkBGXEMTIGjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkBGXEMTIGjs.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");
@@ -656,7 +656,7 @@ function parsePlayRunOptions(args, initialInput = null) {
656
656
  "--log-level requires one of: debug, info, warn, error."
657
657
  );
658
658
  }
659
- const parsed = _chunkFGN75ZN6js.parseLogLevel.call(void 0, value);
659
+ const parsed = _chunkJMHYDDBQjs.parseLogLevel.call(void 0, value);
660
660
  if (!parsed) {
661
661
  throw new Error(
662
662
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -780,12 +780,12 @@ function parsePlayRunOptions(args, initialInput = null) {
780
780
  }
781
781
  if (arg === "--debug" && args[index + 1] && !args[index + 1].startsWith("--")) {
782
782
  input ??= {};
783
- _chunk2KHUFWTKjs.setDottedInputValue.call(void 0, input, "debug", parseInputFlagValue(args[++index]));
783
+ _chunkCQDQNZGHjs.setDottedInputValue.call(void 0, input, "debug", parseInputFlagValue(args[++index]));
784
784
  continue;
785
785
  }
786
786
  if (arg.startsWith("--debug=")) {
787
787
  input ??= {};
788
- _chunk2KHUFWTKjs.setDottedInputValue.call(void 0,
788
+ _chunkCQDQNZGHjs.setDottedInputValue.call(void 0,
789
789
  input,
790
790
  "debug",
791
791
  parseInputFlagValue(arg.slice("--debug=".length))
@@ -813,7 +813,7 @@ function parsePlayRunOptions(args, initialInput = null) {
813
813
  if (arg.startsWith("--")) {
814
814
  const { path, value } = parseInputFieldFlag(arg, args[index + 1]);
815
815
  input ??= {};
816
- _chunk2KHUFWTKjs.setDottedInputValue.call(void 0, input, path, parseInputFlagValue(value));
816
+ _chunkCQDQNZGHjs.setDottedInputValue.call(void 0, input, path, parseInputFlagValue(value));
817
817
  if (!arg.includes("=")) {
818
818
  index += 1;
819
819
  }
@@ -902,7 +902,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
902
902
  let initialInput = options.input === void 0 ? null : parseJsonInput(options.input);
903
903
  if (typeof options.debug === "string") {
904
904
  initialInput ??= {};
905
- _chunk2KHUFWTKjs.setDottedInputValue.call(void 0,
905
+ _chunkCQDQNZGHjs.setDottedInputValue.call(void 0,
906
906
  initialInput,
907
907
  "debug",
908
908
  parseInputFlagValue(options.debug)
@@ -974,7 +974,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
974
974
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
975
975
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
976
976
  );
977
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkFGN75ZN6js.parseLogLevel.call(void 0, options.logLevel);
977
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkJMHYDDBQjs.parseLogLevel.call(void 0, options.logLevel);
978
978
  if (!logLevel)
979
979
  throw new Error("--log-level requires one of: debug, info, warn, error.");
980
980
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -988,13 +988,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
988
988
  if (debugAlias || debugMapLatency && logLevel === "info")
989
989
  logLevel = "debug";
990
990
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
991
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkKWGXHPHLjs.parseJsonFields.call(void 0,
992
- [...fullJson ? ["--full"] : [], ..._chunkKWGXHPHLjs.jsonFieldArgs.call(void 0, options.json)],
991
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkBGXEMTIGjs.parseJsonFields.call(void 0,
992
+ [...fullJson ? ["--full"] : [], ..._chunkBGXEMTIGjs.jsonFieldArgs.call(void 0, options.json)],
993
993
  "run"
994
994
  ).fields;
995
995
  const watch = options.wait === false ? false : base.watch;
996
996
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
997
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkKWGXHPHLjs.argsWantJson.call(void 0, []) : explicitJson;
997
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkBGXEMTIGjs.argsWantJson.call(void 0, []) : explicitJson;
998
998
  const verboseLogs = Boolean(
999
999
  debugAlias || logLevel === "debug" || debugMapLatency
1000
1000
  );
@@ -8,7 +8,8 @@ var _chunkXYIECA7Mjs = require('./chunk-XYIECA7M.js');
8
8
 
9
9
 
10
10
 
11
- var _chunkKWGXHPHLjs = require('./chunk-KWGXHPHL.js');
11
+
12
+ var _chunkBGXEMTIGjs = require('./chunk-BGXEMTIG.js');
12
13
 
13
14
  // src/cli/describe-options.ts
14
15
  function addDescribeOptions(command, options = {}) {
@@ -249,7 +250,7 @@ function projectRunDatasetCell(value) {
249
250
  const logicalValue = parseSerializedDatasetValue(value);
250
251
  if (logicalValue === null || logicalValue === void 0) return logicalValue;
251
252
  if (typeof logicalValue === "object") {
252
- return _chunkKWGXHPHLjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
253
+ return _chunkBGXEMTIGjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
253
254
  }
254
255
  return logicalValue;
255
256
  }
@@ -641,7 +642,7 @@ function csvText(rows, columns = []) {
641
642
  rows: rows.map((row) => record(row) ? row : { value: row }),
642
643
  columns
643
644
  });
644
- return _chunkKWGXHPHLjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
645
+ return _chunkBGXEMTIGjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
645
646
  }
646
647
  function writeExecutionOutput(result, options, { skipReceiptFile = false } = {}) {
647
648
  let temp;
@@ -768,7 +769,7 @@ function writeExecutionOutput(result, options, { skipReceiptFile = false } = {})
768
769
  };
769
770
  if (options.receiptOut && !skipReceiptFile) {
770
771
  persist(options.receiptOut, jsonText(receipt));
771
- _chunkKWGXHPHLjs.markJsonOutputHandled.call(void 0, );
772
+ _chunkBGXEMTIGjs.markJsonOutputHandled.call(void 0, );
772
773
  } else {
773
774
  printReceipt(receipt, options, {
774
775
  data: hasData ? result.data : void 0,
@@ -936,6 +937,8 @@ function receiptText(receipt, options, extra) {
936
937
  problems.push(
937
938
  `Error: ${record(error) && typeof error.message === "string" ? error.message : JSON.stringify(error)}`
938
939
  );
940
+ const diagnostic = _chunkBGXEMTIGjs.formatCliFailureDiagnostic.call(void 0, error);
941
+ if (diagnostic) problems.push(...diagnostic.split("\n"));
939
942
  if (record(error) && typeof error.recoveryFile === "string") {
940
943
  problems.push(
941
944
  `The data was saved to ${error.recoveryFile}; do not run again.`
@@ -1027,8 +1030,8 @@ function printReceipt(receipt, options, extra) {
1027
1030
  const text = options.receiptJson ? `${JSON.stringify(receipt, null, 2)}
1028
1031
  ` : receiptText(receipt, options, extra);
1029
1032
  if (options.receiptOut !== void 0) {
1030
- _chunkKWGXHPHLjs.writeRawStderr.call(void 0, text);
1031
- _chunkKWGXHPHLjs.markJsonOutputHandled.call(void 0, );
1033
+ _chunkBGXEMTIGjs.writeRawStderr.call(void 0, text);
1034
+ _chunkBGXEMTIGjs.markJsonOutputHandled.call(void 0, );
1032
1035
  } else {
1033
1036
  (dataOnStdout(options) ? process.stderr : process.stdout).write(text);
1034
1037
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  printCommandEnvelope
3
- } from "./chunk-JWWYLGUT.mjs";
3
+ } from "./chunk-EEFSUCYP.mjs";
4
4
 
5
5
  // src/cli/feedback-preferences.ts
6
6
  import {
@@ -368,4 +368,5 @@ function deserializeToolExecutionFailure(message, value, acceptedSchemaVersion)
368
368
 
369
369
 
370
370
 
371
- exports.TOOL_EXECUTION_ERROR_SCHEMA_VERSION = TOOL_EXECUTION_ERROR_SCHEMA_VERSION; exports.SUPPORTED_TOOL_EXECUTION_ERROR_SCHEMA_VERSIONS = SUPPORTED_TOOL_EXECUTION_ERROR_SCHEMA_VERSIONS; exports.TOOL_EXECUTION_ERROR_SCHEMA_HEADER = TOOL_EXECUTION_ERROR_SCHEMA_HEADER; exports.readToolUpstreamResponse = readToolUpstreamResponse; exports.attachToolUpstreamResponse = attachToolUpstreamResponse; exports.DeeplineError = DeeplineError; exports.ToolExecutionError = ToolExecutionError; exports.brandAsToolExecutionError = brandAsToolExecutionError; exports.isProviderTransientFailure = isProviderTransientFailure; exports.ProviderTransientError = ProviderTransientError; exports.getProviderUnavailableReason = getProviderUnavailableReason; exports.isProviderUnavailable = isProviderUnavailable; exports.isProviderWaterfallUnavailableError = isProviderWaterfallUnavailableError; exports.brandAsProviderTransientError = brandAsProviderTransientError; exports.serializeToolExecutionFailure = serializeToolExecutionFailure; exports.deserializeToolExecutionFailure = deserializeToolExecutionFailure;
371
+
372
+ exports.TOOL_EXECUTION_ERROR_SCHEMA_VERSION = TOOL_EXECUTION_ERROR_SCHEMA_VERSION; exports.SUPPORTED_TOOL_EXECUTION_ERROR_SCHEMA_VERSIONS = SUPPORTED_TOOL_EXECUTION_ERROR_SCHEMA_VERSIONS; exports.TOOL_EXECUTION_ERROR_SCHEMA_HEADER = TOOL_EXECUTION_ERROR_SCHEMA_HEADER; exports.readToolUpstreamResponse = readToolUpstreamResponse; exports.attachToolUpstreamResponse = attachToolUpstreamResponse; exports.DeeplineError = DeeplineError; exports.ToolExecutionError = ToolExecutionError; exports.brandAsToolExecutionError = brandAsToolExecutionError; exports.isProviderTransientFailure = isProviderTransientFailure; exports.ProviderTransientError = ProviderTransientError; exports.getProviderUnavailableReason = getProviderUnavailableReason; exports.isProviderUnavailable = isProviderUnavailable; exports.isProviderWaterfallUnavailableError = isProviderWaterfallUnavailableError; exports.brandAsProviderTransientError = brandAsProviderTransientError; exports.normalizeToolExecutionFailure = normalizeToolExecutionFailure; exports.serializeToolExecutionFailure = serializeToolExecutionFailure; exports.deserializeToolExecutionFailure = deserializeToolExecutionFailure;
@@ -2,11 +2,11 @@ import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse,
4
4
  writeExecutionOutput
5
- } from "./chunk-TCVCFZP6.mjs";
5
+ } from "./chunk-NU7B5X6J.mjs";
6
6
  import {
7
7
  recentSearchRef,
8
8
  registerDeprecatedSearchCommand
9
- } from "./chunk-K53NKWZO.mjs";
9
+ } from "./chunk-ZUAMXZXC.mjs";
10
10
  import {
11
11
  Capability,
12
12
  arrayField,
@@ -27,7 +27,7 @@ import {
27
27
  toolInputFieldsForDisplay,
28
28
  toolMetadataJsonForDescribe,
29
29
  toolOutputFieldsForDisplay
30
- } from "./chunk-GESIFFQX.mjs";
30
+ } from "./chunk-OVX3Q5Q3.mjs";
31
31
  import {
32
32
  rateLimitQualifier
33
33
  } from "./chunk-7AOFSZJM.mjs";
@@ -46,10 +46,10 @@ import {
46
46
  } from "./chunk-FIVKWNMT.mjs";
47
47
  import {
48
48
  DeeplineClient
49
- } from "./chunk-LVISZFYO.mjs";
49
+ } from "./chunk-KH27B2HJ.mjs";
50
50
  import {
51
51
  validateExecutionIdempotencyKey
52
- } from "./chunk-FZKPPB5P.mjs";
52
+ } from "./chunk-ZHPSJ3LJ.mjs";
53
53
  import {
54
54
  stableStringify
55
55
  } from "./chunk-UBKA33KY.mjs";
@@ -59,34 +59,35 @@ import {
59
59
  maybeAutoUpdateAndRelaunch,
60
60
  registerCompatibilityCatalog,
61
61
  runToolExecuteStage
62
- } from "./chunk-R2KKEHJN.mjs";
62
+ } from "./chunk-W3J3LT22.mjs";
63
63
  import {
64
64
  isCliTraceEnabled,
65
65
  recordCliTrace,
66
66
  resolveCliMaintenancePolicy
67
- } from "./chunk-DWPY6ZID.mjs";
67
+ } from "./chunk-R7JYG6XO.mjs";
68
68
  import {
69
69
  checkSdkCompatibility,
70
70
  enforceSdkCompatibilityResponse,
71
71
  flushDeferredSkillsSyncNotices,
72
72
  syncSdkSkillsIfNeeded
73
- } from "./chunk-DFJODFMC.mjs";
73
+ } from "./chunk-GPMS6OPX.mjs";
74
74
  import {
75
+ errorToJsonPayload,
75
76
  printCommandEnvelope,
76
77
  printCompactJson,
77
78
  printJson,
78
79
  printJsonError,
79
80
  renderCommandEnvelopeText,
80
81
  shouldEmitJson
81
- } from "./chunk-JWWYLGUT.mjs";
82
+ } from "./chunk-EEFSUCYP.mjs";
82
83
  import {
83
84
  readSdkSkillsLocalVersion,
84
85
  resolveConfig,
85
86
  sdkCliStateDirPath
86
- } from "./chunk-W5YJYU4G.mjs";
87
+ } from "./chunk-K4WJ4BYO.mjs";
87
88
  import {
88
89
  DeeplineError
89
- } from "./chunk-ZPGGW27Q.mjs";
90
+ } from "./chunk-JL2OTMSG.mjs";
90
91
 
91
92
  // src/cli/commands/tools.ts
92
93
  import { Option } from "commander";
@@ -383,7 +384,7 @@ function zeroMatchToolGuidance(options) {
383
384
  ...query ? [
384
385
  {
385
386
  label: "Use ranked semantic search for intent-style queries",
386
- command: `deepline search --type tools -- ${shellCommandArg(query)}`
387
+ command: `deepline search -- ${shellCommandArg(query)}`
387
388
  },
388
389
  ...options.mode === "all" ? [
389
390
  {
@@ -395,13 +396,7 @@ function zeroMatchToolGuidance(options) {
395
396
  {
396
397
  label: "List the current atomic tool catalog",
397
398
  command: "deepline tools list"
398
- },
399
- ...query ? [
400
- {
401
- label: "Search composed Deepline plays separately",
402
- command: `deepline search --type prebuilts -- ${shellCommandArg(query)}`
403
- }
404
- ] : []
399
+ }
405
400
  ];
406
401
  return {
407
402
  reason: "filters_matched_no_atomic_tools",
@@ -793,7 +788,7 @@ function playLikeToolExecuteErrorMessage(toolId, tool) {
793
788
  return [
794
789
  `${toolId} is a workflow/play entry, not an atomic provider tool.`,
795
790
  nextStep,
796
- 'Or search provider tools only with: deepline search "<input you have -> result you need>" --type tools'
791
+ 'Or search with: deepline search "<input you have -> result you need>"'
797
792
  ].join("\n");
798
793
  }
799
794
  var TOOL_ONLY_VIEWS = [
@@ -816,7 +811,7 @@ Concepts:
816
811
  runs either.
817
812
 
818
813
  Common commands:
819
- deepline search "name and company domain -> work email" --type tools
814
+ deepline search "name and company domain -> work email"
820
815
  deepline describe hunter_email_verifier
821
816
  deepline tools connect hubspot --link
822
817
  deepline run hunter_email_verifier --input '{"email":"a@b.com"}'
@@ -853,6 +848,27 @@ Output:
853
848
  for (const row of connections)
854
849
  console.log(`${row.provider} ${row.status} ${row.label}`);
855
850
  });
851
+ tools.command("hubspot-members").description(
852
+ "List personal HubSpot connection status for workspace members."
853
+ ).option("--cursor <cursor>", "Read the next roster page").option("--json", "Print the roster page as JSON").action(async (options) => {
854
+ const page = await new DeeplineClient().listPersonalHubSpotMembers(
855
+ options.cursor
856
+ );
857
+ if (shouldEmitJson(options.json)) {
858
+ console.log(JSON.stringify(page));
859
+ return;
860
+ }
861
+ if (page.members.length === 0)
862
+ console.log("No workspace members on this page.");
863
+ for (const member of page.members) {
864
+ const account = member.account ? ` Portal ${member.account.portalId} User ${member.account.userId}` : "";
865
+ console.log(
866
+ `${JSON.stringify(member.name || member.email)} ${member.status}${account}`
867
+ );
868
+ }
869
+ if (page.nextCursor)
870
+ console.error(`Next page cursor: ${page.nextCursor}`);
871
+ });
856
872
  tools.command("workspace-connection <provider> <action>").description(
857
873
  "Open shared OAuth setup or disconnect the current connection."
858
874
  ).option("--json", "Print the result as JSON").action(
@@ -1004,7 +1020,7 @@ Examples:
1004
1020
  deepline tools list email_finder
1005
1021
  deepline tools list email_finder
1006
1022
  deepline tools list --categories email_finder
1007
- deepline search "name and company domain -> work email" --type tools
1023
+ deepline search "name and company domain -> work email"
1008
1024
  `
1009
1025
  ).option(
1010
1026
  "--categories <categories>",
@@ -1121,7 +1137,7 @@ Examples:
1121
1137
  process.exitCode = await narrowView();
1122
1138
  return;
1123
1139
  }
1124
- const { describeAnything } = await import("./describe-AWJUXE2U.mjs");
1140
+ const { describeAnything } = await import("./describe-REXJVJC3.mjs");
1125
1141
  process.exitCode = await describeAnything(
1126
1142
  toolId,
1127
1143
  {
@@ -2695,10 +2711,7 @@ async function executeToolForReceipt(input) {
2695
2711
  {
2696
2712
  id: outcomeKnown ? null : key,
2697
2713
  status: "failed",
2698
- error: {
2699
- message: error instanceof Error ? error.message : String(error),
2700
- ...error instanceof DeeplineError ? { code: error.code } : {}
2701
- },
2714
+ error: errorToJsonPayload(error).error,
2702
2715
  ...key && !outcomeKnown ? {
2703
2716
  next: {
2704
2717
  retry: "Run the same command again: it picks up this call without paying twice."