deepline 0.3.534 → 0.3.536

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 (235) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +254 -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 +4 -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/call-requeue-state-machine.ts +420 -0
  18. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +727 -102
  19. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +26 -0
  20. package/dist/bundling-sources/shared_libs/play-runtime/durable-retry-policy.ts +624 -0
  21. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +12 -10
  22. package/dist/bundling-sources/shared_libs/play-runtime/durable-summary-events.ts +3 -1
  23. package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +71 -2
  24. package/dist/bundling-sources/shared_libs/play-runtime/governor/governor.ts +60 -1
  25. package/dist/bundling-sources/shared_libs/play-runtime/governor/rate-state-backend.ts +2 -0
  26. package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +1 -0
  27. package/dist/bundling-sources/shared_libs/play-runtime/map-memory-limits.ts +372 -10
  28. package/dist/bundling-sources/shared_libs/play-runtime/memory-ledger.ts +15 -2
  29. package/dist/bundling-sources/shared_libs/play-runtime/output-size-limits.ts +21 -0
  30. package/dist/bundling-sources/shared_libs/play-runtime/prebuilt-result-quality.ts +1 -1
  31. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +6 -0
  32. package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/fixture-capacity-simulator.ts +1 -0
  33. package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/gradient2-concurrency-controller.ts +41 -0
  34. package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/provider-capacity-policy.ts +6 -0
  35. package/dist/bundling-sources/shared_libs/play-runtime/provider-capacity/provider-concurrency-policy.ts +9 -0
  36. package/dist/bundling-sources/shared_libs/play-runtime/provider-no-progress.ts +6 -2
  37. package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +17 -0
  38. package/dist/bundling-sources/shared_libs/play-runtime/run-failure.ts +2 -2
  39. package/dist/bundling-sources/shared_libs/play-runtime/run-ledger.ts +5 -2
  40. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-tool-hooks.ts +63 -3
  41. package/dist/bundling-sources/shared_libs/play-runtime/runtime-operation-contract.ts +7 -0
  42. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-compute-usage.ts +31 -0
  43. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +6 -0
  44. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +26 -1
  45. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-scope.ts +11 -4
  46. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +73 -18
  47. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +169 -2
  48. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +26 -4
  49. package/dist/bundling-sources/shared_libs/play-runtime/tool-execute-retry-policy.ts +90 -49
  50. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +136 -30
  51. package/dist/bundling-sources/shared_libs/plays/launch/input-contract.ts +13 -1
  52. package/dist/bundling-sources/shared_libs/plays/local-file-discovery.ts +68 -1
  53. package/dist/bundling-sources/shared_libs/plays/share/static-pipeline-summary.ts +63 -13
  54. package/dist/bundling-sources/shared_libs/product-notifications/configuration-draft.ts +57 -1
  55. package/dist/bundling-sources/shared_libs/product-notifications/configuration.ts +22 -9
  56. package/dist/cli/auth-6XQKFOLG.js +43 -0
  57. package/dist/cli/{auth-MHQYIMVX.mjs → auth-KCTCUO7P.mjs} +7 -7
  58. package/dist/cli/{billing-YQLNP4S5.js → billing-4VBGZ3CT.js} +273 -112
  59. package/dist/cli/{billing-LX2PSBJ4.mjs → billing-OOJHKLNS.mjs} +185 -24
  60. package/dist/cli/{chunk-DGKTHWWH.js → chunk-2B4IOGFD.js} +406 -382
  61. package/dist/cli/{chunk-MQORQ7WL.js → chunk-2FCSUOYN.js} +55 -55
  62. package/dist/cli/{chunk-T2N3B7IQ.js → chunk-2GJZLIKW.js} +8 -8
  63. package/dist/cli/{chunk-6IFZPEJE.mjs → chunk-2YWJS76L.mjs} +1 -1
  64. package/dist/cli/{chunk-E7TP25I2.mjs → chunk-3PCYV6ZJ.mjs} +2 -2
  65. package/dist/cli/{chunk-LGRZCHKC.js → chunk-4E5JXZ3W.js} +18 -20
  66. package/dist/cli/{chunk-R4RG4FV5.mjs → chunk-4KWD3MX2.mjs} +13 -10
  67. package/dist/cli/{chunk-SUWTLXCV.js → chunk-6BBGUQJJ.js} +67 -146
  68. package/dist/cli/{chunk-JBBJDFUJ.js → chunk-6VUGBQZQ.js} +5 -5
  69. package/dist/cli/{chunk-2P3NVX65.mjs → chunk-AB2GBOD4.mjs} +40 -27
  70. package/dist/cli/{chunk-62SOZ67Y.mjs → chunk-ANUKBZ6W.mjs} +475 -11
  71. package/dist/cli/{chunk-MG6YL4M7.mjs → chunk-BASLYGXK.mjs} +101 -77
  72. package/dist/cli/{chunk-SQWET4SL.js → chunk-BBTKAASQ.js} +2 -1
  73. package/dist/cli/{chunk-NRO3NTVO.js → chunk-CBV7AKWM.js} +5 -5
  74. package/dist/cli/{chunk-RH3YRMUY.js → chunk-CIDN5K23.js} +1 -1
  75. package/dist/cli/{chunk-QNHHZ63P.mjs → chunk-CQBIO6HW.mjs} +1 -1
  76. package/dist/cli/{chunk-2KHUFWTK.js → chunk-CQDQNZGH.js} +42 -37
  77. package/dist/cli/{chunk-UWNVFAFN.js → chunk-CWSLUNA6.js} +33 -33
  78. package/dist/cli/{chunk-5FXMEEF4.mjs → chunk-CXTW7SRW.mjs} +67 -146
  79. package/dist/cli/{chunk-O53LHONF.mjs → chunk-DA2I2M7D.mjs} +2 -2
  80. package/dist/cli/{chunk-EYXUAJAU.mjs → chunk-DQHUJMCL.mjs} +5 -5
  81. package/dist/cli/{chunk-7GFR5Y4J.mjs → chunk-DUYAMLOC.mjs} +1 -1
  82. package/dist/cli/{chunk-OMVVHX4U.mjs → chunk-E24UGPGG.mjs} +13 -15
  83. package/dist/cli/{chunk-STR5LXK4.mjs → chunk-FSIVF2SI.mjs} +1 -1
  84. package/dist/cli/{chunk-KJVY7V2X.mjs → chunk-GF32SBST.mjs} +1 -1
  85. package/dist/cli/{chunk-AK622KIG.mjs → chunk-GHLDCLSC.mjs} +1 -1
  86. package/dist/cli/{chunk-A6HNT4EE.js → chunk-GTVZKY3F.js} +2 -2
  87. package/dist/cli/{chunk-BXIUZM5N.mjs → chunk-HAJQGP5V.mjs} +2 -2
  88. package/dist/cli/{chunk-6CEUQYMB.js → chunk-HWDKRN7L.js} +3 -3
  89. package/dist/cli/{chunk-5YAJGRWB.js → chunk-IPVRMYWT.js} +7 -7
  90. package/dist/cli/{chunk-ZPGGW27Q.mjs → chunk-JL2OTMSG.mjs} +1 -0
  91. package/dist/cli/{chunk-WR4WETRU.mjs → chunk-JUHDJNSI.mjs} +4 -4
  92. package/dist/cli/{chunk-TQH3533L.mjs → chunk-KPQHUVYW.mjs} +5 -5
  93. package/dist/cli/{chunk-V7SCRUFQ.js → chunk-KWYGWO4Y.js} +9 -6
  94. package/dist/cli/{chunk-DZS4JC7I.js → chunk-LDGZFDUB.js} +2 -2
  95. package/dist/cli/{chunk-EGTUOYYG.js → chunk-LN6RXDTB.js} +523 -59
  96. package/dist/cli/{chunk-DQ5ADV2J.mjs → chunk-LZXZQPA2.mjs} +4 -1
  97. package/dist/cli/{chunk-MYSKWJMA.js → chunk-MSP4DTSD.js} +13 -13
  98. package/dist/cli/{chunk-BNH4Y35W.mjs → chunk-OLH2PHMC.mjs} +2 -2
  99. package/dist/cli/{chunk-NNAE7E23.mjs → chunk-OUDTOMZC.mjs} +7 -9
  100. package/dist/cli/{chunk-GESIFFQX.mjs → chunk-OVX3Q5Q3.mjs} +1 -1
  101. package/dist/cli/{chunk-ENCA6O2D.mjs → chunk-PNY3BWHP.mjs} +2 -2
  102. package/dist/cli/{chunk-KSA2XE4T.js → chunk-Q4MNUOS4.js} +316 -303
  103. package/dist/cli/{chunk-GTXSUPCJ.js → chunk-Q5CXV3E3.js} +2 -2
  104. package/dist/cli/{chunk-VAG5YKP6.mjs → chunk-RVSSQPQO.mjs} +1 -1
  105. package/dist/cli/{chunk-VE7ZPLN2.js → chunk-SLPJ3LXI.js} +22 -22
  106. package/dist/cli/{chunk-IX45S5VC.js → chunk-TX5TUHJN.js} +17 -19
  107. package/dist/cli/{chunk-IF75RD6U.js → chunk-U2LVWCTD.js} +18 -6
  108. package/dist/cli/{chunk-ZS2WHWWL.js → chunk-UNDLNT3V.js} +1 -1
  109. package/dist/cli/{chunk-NDFNBJGL.js → chunk-VBDZIMWD.js} +26 -26
  110. package/dist/cli/{chunk-GVGQ6NZW.js → chunk-W7AEIGZR.js} +41 -41
  111. package/dist/cli/{chunk-WDNRPZED.mjs → chunk-WC5M3JXE.mjs} +2 -2
  112. package/dist/cli/{chunk-C374C22Y.js → chunk-WOQO3GV4.js} +14 -11
  113. package/dist/cli/{chunk-MQX363YF.js → chunk-XBAH3TKU.js} +5 -5
  114. package/dist/cli/{chunk-BDWZBMGV.mjs → chunk-XJD2GYUP.mjs} +5 -5
  115. package/dist/cli/{chunk-XRZJKHUA.mjs → chunk-XVZRJJDS.mjs} +4 -4
  116. package/dist/cli/{chunk-TVINIDHB.js → chunk-Y2NTPYGS.js} +17 -17
  117. package/dist/cli/{chunk-6GTGWZJG.mjs → chunk-YBMHOH6H.mjs} +4 -4
  118. package/dist/cli/{chunk-TG2UB3A5.mjs → chunk-YRLAUGQY.mjs} +3 -3
  119. package/dist/cli/{chunk-FKD3KL5Q.mjs → chunk-Z2XA6YU4.mjs} +10 -5
  120. package/dist/cli/{chunk-KXQCUX3X.mjs → chunk-Z7UIOGW4.mjs} +3 -3
  121. package/dist/cli/{chunk-HCD36BP6.js → chunk-ZEV2Y56V.js} +44 -44
  122. package/dist/cli/{chunk-MI6ZP7XI.mjs → chunk-ZG7BOECV.mjs} +18 -6
  123. package/dist/cli/{chunk-XBK6WCVA.js → chunk-ZILSRDIN.js} +8 -8
  124. package/dist/cli/{chunk-B2AS3R5W.js → chunk-ZISEH7OL.js} +16 -16
  125. package/dist/cli/{chunk-HPJAE6PP.js → chunk-ZZ4MF2GI.js} +6 -6
  126. package/dist/cli/command-docs.js +2 -2
  127. package/dist/cli/command-docs.mjs +1 -1
  128. package/dist/cli/{csv-U3M2G76R.js → csv-2V2DIFNG.js} +15 -15
  129. package/dist/cli/{csv-4ID4E5W3.mjs → csv-P3HLK4GO.mjs} +6 -6
  130. package/dist/cli/{db-IHAQIKEQ.js → db-MREAQVW6.js} +36 -36
  131. package/dist/cli/{db-LHX5BBCZ.mjs → db-ZYOY3QRQ.mjs} +9 -9
  132. package/dist/cli/describe-IKZFOADR.mjs +49 -0
  133. package/dist/cli/describe-WW3OQRLP.js +49 -0
  134. package/dist/cli/describe-core.d.mts +3 -3
  135. package/dist/cli/describe-core.d.ts +3 -3
  136. package/dist/cli/describe-core.js +5 -5
  137. package/dist/cli/describe-core.mjs +4 -4
  138. package/dist/cli/{executions-CJ5LV23G.js → executions-H5IJ7QSQ.js} +11 -11
  139. package/dist/cli/{executions-UJ6JZUL5.mjs → executions-KTSY5M34.mjs} +9 -9
  140. package/dist/cli/{feedback-TGUBVGRP.js → feedback-724QK3Z5.js} +16 -16
  141. package/dist/cli/{feedback-YGTPJBRJ.mjs → feedback-WWJRIXEU.mjs} +8 -8
  142. package/dist/cli/git-PHYRD56H.js +25 -0
  143. package/dist/cli/{git-3DOTQHJO.mjs → git-R5VRG7X6.mjs} +7 -7
  144. package/dist/cli/index.js +151 -157
  145. package/dist/cli/index.mjs +51 -57
  146. package/dist/cli/{legacy-noops-BHEHVFHI.js → legacy-noops-C6GDEGPU.js} +11 -11
  147. package/dist/cli/{legacy-noops-RBBYRVLG.mjs → legacy-noops-PWZ5XLAO.mjs} +8 -8
  148. package/dist/cli/{monitors-XECKLAXA.js → monitors-VAVQ4WCE.js} +125 -122
  149. package/dist/cli/{monitors-5AJCG6IV.mjs → monitors-WQSKMHAP.mjs} +19 -16
  150. package/dist/cli/{org-DOBAIYWG.js → org-CWWRWXZQ.js} +89 -89
  151. package/dist/cli/{org-ZAAIEZKB.mjs → org-MAL4QPVF.mjs} +9 -9
  152. package/dist/cli/{play-KLYRMQPF.mjs → play-ILW6MSNG.mjs} +174 -80
  153. package/dist/cli/{play-E74VN6B7.js → play-WJOWK5PQ.js} +690 -596
  154. package/dist/cli/{providers-XTQXV5LB.mjs → providers-4V2NMLZZ.mjs} +9 -9
  155. package/dist/cli/{providers-APZ6SOSK.js → providers-W662ANCH.js} +12 -12
  156. package/dist/cli/{quickstart-S6WN6NWW.js → quickstart-BW6EBUYX.js} +8 -8
  157. package/dist/cli/{quickstart-X7RHHQCH.mjs → quickstart-C22BR743.mjs} +6 -6
  158. package/dist/cli/{run-3YLIJJ57.js → run-KW7KW4FX.js} +50 -53
  159. package/dist/cli/{run-TZPBBSPX.mjs → run-SPAU5IMW.mjs} +31 -34
  160. package/dist/cli/search-HLE54W5G.js +32 -0
  161. package/dist/cli/{search-VLHE2CMZ.mjs → search-XPC75HLM.mjs} +10 -11
  162. package/dist/cli/{search-output-73BYB7UE.mjs → search-output-JKYJSEPM.mjs} +6 -6
  163. package/dist/cli/{search-output-GCT7PQIT.js → search-output-VJYE7USJ.js} +8 -8
  164. package/dist/cli/{secrets-RLOTGKQZ.mjs → secrets-OJG73GXQ.mjs} +9 -9
  165. package/dist/cli/{secrets-J6CEKXKQ.js → secrets-YB57KGSB.js} +18 -18
  166. package/dist/cli/{sessions-7HZ7OZ62.mjs → sessions-7ZL37BW4.mjs} +8 -8
  167. package/dist/cli/sessions-VEBYZIEU.js +22 -0
  168. package/dist/cli/{settings-WRV5XEZC.js → settings-A7DD2ZYE.js} +88 -89
  169. package/dist/cli/{settings-72K5YCIS.mjs → settings-RKSQB7FA.mjs} +15 -16
  170. package/dist/cli/{setup-KQFY6WT4.mjs → setup-NXDUTITY.mjs} +11 -12
  171. package/dist/cli/{setup-QVXWT2EQ.js → setup-S3K5YU62.js} +51 -52
  172. package/dist/cli/skills-NVQ744CN.js +36 -0
  173. package/dist/cli/{skills-C3K3E473.mjs → skills-VMFAIDO6.mjs} +9 -10
  174. package/dist/cli/{tools-4A2OH6MB.mjs → tools-52NTHBSJ.mjs} +20 -21
  175. package/dist/cli/tools-SBDUL3WB.js +56 -0
  176. package/dist/cli/update-HHVFZPCV.js +34 -0
  177. package/dist/cli/{update-BS6USKPR.mjs → update-SAKBEKMV.mjs} +11 -12
  178. package/dist/cli/{views-WB6GFTRX.mjs → views-ACRV7MD6.mjs} +54 -10
  179. package/dist/cli/{views-4NZGAXHL.js → views-C3GJOBDG.js} +66 -22
  180. package/dist/cli/{workflow-2D4WX55R.mjs → workflow-CS22E7TC.mjs} +10 -10
  181. package/dist/cli/{workflow-L2QTQZYV.js → workflow-ZNWCZEGN.js} +20 -20
  182. package/dist/{client-DoUVSkqC.d.mts → client-BlLYQDNo.d.mts} +1 -1
  183. package/dist/{client-DQm56zMs.d.ts → client-DSQlkIDO.d.ts} +1 -1
  184. package/dist/{client-core-C7KkUIE_.d.ts → client-core-CDwapXy5.d.ts} +167 -108
  185. package/dist/{client-core-CPlwsC1Q.d.mts → client-core-rX7n2H8U.d.mts} +167 -108
  186. package/dist/{compiler-manifest-DsxsQP-T.d.mts → compiler-manifest-BHNC4RL-.d.mts} +58 -21
  187. package/dist/{compiler-manifest-DsxsQP-T.d.ts → compiler-manifest-BHNC4RL-.d.ts} +58 -21
  188. package/dist/{errors-qdJUVQ3g.d.mts → errors-D7sPXrvB.d.mts} +1 -1
  189. package/dist/{errors-Bk5h1D-C.d.ts → errors-lhtIWG5Z.d.ts} +1 -1
  190. package/dist/{index-bL66eHYz.d.ts → index-CQTBHXHr.d.ts} +1 -1
  191. package/dist/{index-PaupwX1B.d.mts → index-NaDZq2xf.d.mts} +1 -1
  192. package/dist/index.d.mts +7 -7
  193. package/dist/index.d.ts +7 -7
  194. package/dist/index.js +15 -15
  195. package/dist/index.mjs +11 -11
  196. package/dist/install-integrity.json +131 -132
  197. package/dist/monitor-fleet-contract.d.mts +17 -11
  198. package/dist/monitor-fleet-contract.d.ts +17 -11
  199. package/dist/monitor-fleet-contract.js +3 -3
  200. package/dist/monitor-fleet-contract.mjs +2 -2
  201. package/dist/monitor-input-contract.js +2 -2
  202. package/dist/monitor-input-contract.mjs +1 -1
  203. package/dist/plays/bundle-play-file.d.mts +3 -3
  204. package/dist/plays/bundle-play-file.d.ts +3 -3
  205. package/dist/plays/bundle-play-file.mjs +67 -3
  206. package/dist/plays/csv-data-input.js +3 -3
  207. package/dist/plays/csv-data-input.mjs +2 -2
  208. package/dist/plays/play-description.d.mts +2 -2
  209. package/dist/plays/play-description.d.ts +2 -2
  210. package/dist/plays/run-request.d.mts +2 -2
  211. package/dist/plays/run-request.d.ts +2 -2
  212. package/dist/plays/run-request.js +3 -3
  213. package/dist/plays/run-request.mjs +2 -2
  214. package/dist/release.d.mts +1 -1
  215. package/dist/release.d.ts +1 -1
  216. package/dist/release.js +2 -2
  217. package/dist/release.mjs +1 -1
  218. package/dist/server.d.mts +4 -4
  219. package/dist/server.d.ts +4 -4
  220. package/dist/server.js +12 -12
  221. package/dist/server.mjs +6 -6
  222. package/package.json +1 -1
  223. package/dist/cli/auth-UP2RGPI6.js +0 -43
  224. package/dist/cli/chunk-5LZ5VSOK.mjs +0 -405
  225. package/dist/cli/chunk-D3J2Y2BP.js +0 -405
  226. package/dist/cli/describe-CI4MREFF.mjs +0 -50
  227. package/dist/cli/describe-IVTSD7ST.js +0 -50
  228. package/dist/cli/git-R3W25XIF.js +0 -25
  229. package/dist/cli/pages-FUOSF6BE.mjs +0 -266
  230. package/dist/cli/pages-TLC2N6L7.js +0 -266
  231. package/dist/cli/search-NB5CBALV.js +0 -33
  232. package/dist/cli/sessions-SFCZSB77.js +0 -22
  233. package/dist/cli/skills-WIJEHVLA.js +0 -37
  234. package/dist/cli/tools-VMMERMLO.js +0 -57
  235. package/dist/cli/update-54WZQDTS.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.
@@ -616,25 +619,39 @@ Examples:
616
619
  "tools workspace-connections": {
617
620
  core: `
618
621
  Purpose:
619
- List shared OAuth connections in an enrolled internal Enterprise workspace.
622
+ List managed shared OAuth connections in a workspace with Integration connections enabled.
620
623
  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.
624
627
  `,
625
- rolloutFeature: "google-calendar-availability-pilot"
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.
639
+ `,
640
+ rolloutFeature: "integration-connections"
626
641
  },
627
642
  "tools workspace-connection": {
628
643
  core: `
629
644
  Purpose:
630
- Manage a shared HubSpot or Google Calendar connection as a workspace admin.
645
+ Manage shared Google Calendar access as a workspace owner or admin.
646
+ In Production, use deepline tools connect hubspot --link to manage shared HubSpot.
647
+ Enrolled Preview workspaces can manage a dedicated shared HubSpot connection here.
631
648
  Input:
632
649
  Pass the provider and connect, reconnect, replace, or disconnect.
633
650
  Complete OAuth consent in the browser.
634
651
  Cost:
635
652
  Does not spend Deepline credits.
636
653
  `,
637
- rolloutFeature: "google-calendar-availability-pilot"
654
+ rolloutFeature: "integration-connections"
638
655
  },
639
656
  "tools availability-calendars": {
640
657
  core: `
@@ -646,7 +663,7 @@ Output:
646
663
  Cost:
647
664
  Does not spend Deepline credits.
648
665
  `,
649
- rolloutFeature: "google-calendar-availability-pilot"
666
+ rolloutFeature: "integration-connections"
650
667
  },
651
668
  "tools connect": {
652
669
  core: `
@@ -835,6 +852,9 @@ Failures:
835
852
  error.tool_error.retryAfterMs.
836
853
  When a connected provider returns a failure, error.upstreamResponse
837
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.
838
858
  ]]
839
859
  [[mcp:
840
860
  Output:
@@ -1011,6 +1031,16 @@ Authoring rules:
1011
1031
  { description }) runs a
1012
1032
  prebuilt as one stage. Independent calls run together with Promise.all;
1013
1033
  a call that needs another's result waits for it.
1034
+ Retries: a call whose provider keeps failing (an outage, a 5xx other than
1035
+ a 504 timeout, a 429 past its pacing, a refusal for credits outside a
1036
+ map) is retried on a durable timer under
1037
+ Deepline's retry policy, and the Play sees the error only after those
1038
+ retries end. Set the call's own policy with deepline.tools.execute({ ...,
1039
+ retry: { maximumAttempts, initialIntervalMs, backoffCoefficient,
1040
+ maximumIntervalMs, nonRetryable } }); maximumAttempts counts the first
1041
+ attempt. A waterfall leg that falls back sets retry: { maximumAttempts: 1 }
1042
+ so its catch runs at once. Until durable retries are the default for new
1043
+ Plays, a call opts in by setting retry; retry: {} takes the defaults.
1014
1044
  Failures: catch only ProviderTransientError, and only when another
1015
1045
  provider can answer the same question. Keep the last provider outside
1016
1046
  the catch so an exhausted waterfall fails loudly. Never branch on an
@@ -1076,7 +1106,7 @@ Input:
1076
1106
  <play> is a bare name or qualified reference.[[cli: --json prints the exact result.]]
1077
1107
  Output:
1078
1108
  reference, costEstimate, and for prebuilts observedCost. Estimates include
1079
- the output unit, observed or static range, sample size and compute ceiling.
1109
+ the output unit, observed or static range and sample size.
1080
1110
  Cost:
1081
1111
  Read-only. Uses the current workspace's pricing; does not start a run.
1082
1112
  `
@@ -1323,8 +1353,7 @@ Avoid:
1323
1353
  its own start-up and balance admission, and the batch form keeps a
1324
1354
  row-level failure inside one completed run.
1325
1355
  Do not poll [[runs get]] while [[plays run]] is still waiting; it already waits.
1326
- Do not rerun a failed run from scratch; the same command reuses completed
1327
- rows.
1356
+ Do not assume a new run reuses completed work; it may repeat paid calls.
1328
1357
  `,
1329
1358
  verbose: `
1330
1359
  Waiting and timeouts:
@@ -1354,8 +1383,8 @@ Output fields:
1354
1383
  failures still keeps the succeeded rows; read
1355
1384
  rowOutcomes and warnings.
1356
1385
  steps[].progress {total, executed, reused, failed, completedRows}
1357
- per dataset step. reused counts rows recovered from
1358
- an earlier run.
1386
+ per Dataset step. reused counts duplicate input rows
1387
+ served by the same row work, not all cached lookups.
1359
1388
  datasets[].storage {schema, table}: where the rows live in the
1360
1389
  customer database. Row counts and fill statistics
1361
1390
  are in runs get, not here.
@@ -1365,9 +1394,12 @@ Output fields:
1365
1394
  name the missing amount.
1366
1395
  ]]
1367
1396
  Reruns and idempotency:
1368
- Running the same play with the same input reuses completed provider calls
1369
- and rows, so rerunning after a partial failure only pays for the missing
1370
- 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
1371
1403
  cached reads, calls providers again (bills those calls again), and updates
1372
1404
  the shared result other Plays reuse; it is almost never what you want.]]
1373
1405
  Related:
@@ -1557,6 +1589,12 @@ Cost:
1557
1589
  Free.
1558
1590
  Avoid:
1559
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.
1560
1598
  datasets[].preview.rows is a sample, not the rows; use [[cli:runs export]][[mcp:deepline_read_play_output]] or [[db
1561
1599
  query]].
1562
1600
  `,
@@ -1790,8 +1828,8 @@ When:
1790
1828
  A run is stuck, was started by mistake, or was superseded. Runs of the same
1791
1829
  play do not cancel each other: an older run keeps working and keeps
1792
1830
  spending until it ends or is stopped. [[runs list --play <name> --status
1793
- running]] lists them. Completed work is kept and reused by a later run of the
1794
- 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.
1795
1833
  [[cli:
1796
1834
  Input:
1797
1835
  The run id and --reason "<text>". --json prints JSON.
@@ -1847,8 +1885,8 @@ Cost:
1847
1885
  "runs resume": {
1848
1886
  core: `
1849
1887
  Purpose:
1850
- Continue a failed or cancelled run as the same run, without repeating its
1851
- completed work.
1888
+ Continue a failed or cancelled run as the same run, recovering matching
1889
+ completed operations, including calls that used staleAfterSeconds: 0.
1852
1890
  When:
1853
1891
  After fixing the cause of a failure. A run can be resumed for 14 days after
1854
1892
  it stops. [[cli:To start over as a new run instead, use plays run --from-run
@@ -1864,10 +1902,13 @@ Input:
1864
1902
  been resumed).]]
1865
1903
  Follow the run with [[runs get]].
1866
1904
  Cost:
1867
- 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.
1868
1907
  Avoid:
1869
1908
  Resuming a run that is still active, or one whose last attempt is still
1870
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.
1871
1912
  `
1872
1913
  },
1873
1914
  notifications: {
@@ -1949,131 +1990,6 @@ Cost:
1949
1990
  Avoid:
1950
1991
  Do not guess table names; a run's dataset table is named in [[runs get]]
1951
1992
  under datasets[].storage.
1952
- `
1953
- },
1954
- pages: {
1955
- rolloutFeature: "hosted-pages",
1956
- core: `
1957
- Purpose:
1958
- Publish a document at a stable URL on your workspace's subdomain of
1959
- deepline.page, and decide who can open it. A page is one named document:
1960
- HTML, JSON, CSV, Markdown, text, SVG, an image, or a PDF, up to 3 MB.
1961
- When:
1962
- To share a report, dashboard, or result with people, from a terminal or at
1963
- the end of a Play. Writing the same name again replaces the page and keeps
1964
- its URL, so a Play that runs daily can keep one page current.
1965
- The sequence:
1966
- 1. Write it. From a terminal: [[pages write <name> --file report.html
1967
- --private]]. From a Play: ctx.pages.write(name, { public: false,
1968
- content }). The URL, https://<label>.deepline.page/p/<name>, is in the
1969
- output and stays the same for every write.
1970
- 2. Choose who can open it. Every write must say private or public:
1971
- private Workspace members, after signing in to Deepline.
1972
- link Anyone holding a URL from [[pages links create <name>]]. A link
1973
- opens one page, shows its current content, and expires
1974
- (--expires-in 7d) or lasts until revoked (--permanent).
1975
- public Anyone with the URL. Needs public pages enabled for the
1976
- workspace; [[pages list]] says whether they are. A private page
1977
- becomes public only through [[pages set-public <name>]], never
1978
- through a write.
1979
- 3. Manage it: [[pages list]], [[pages get <name>]],
1980
- [[pages set-private <name>]], [[pages links list <name>]],
1981
- [[pages links revoke <name> <link-id>]], [[pages delete <name>]]. The
1982
- Pages section of the dashboard has the same actions.
1983
- 4. For cross-origin browser reads of a public page, set allowed origins
1984
- with [[pages set-origins <name> https://example.com]].
1985
- What visitors see:
1986
- HTML, SVG, and XML open in a sandbox under a "Hosted on Deepline" tab.
1987
- Scripts, forms, and https requests work. A link to another site asks the
1988
- visitor before it opens. Other types, and requests from curl or code, get
1989
- the bytes exactly as written.
1990
- Cost:
1991
- Free. Each new page counts toward the plan's page limit, which
1992
- [[pages list]] prints; replacing a page does not.
1993
- Avoid:
1994
- Do not put secrets or credentials in a page, even a private one: anyone with
1995
- a link sees everything on it. Do not write a new name per run to keep
1996
- history; use one name so the URL stays stable.
1997
- `
1998
- },
1999
- "pages write": {
2000
- rolloutFeature: "hosted-pages",
2001
- core: `
2002
- Purpose:
2003
- Create a page, or replace all of its content and its description.
2004
- [[cli:
2005
- Input:
2006
- <name>: 1-63 lowercase letters, digits, or hyphens, starting and ending
2007
- with a letter or digit. --file <path> (required, up to 3 MB). Exactly one
2008
- of --private or --public. --content-type <type> overrides the type taken
2009
- from the extension (.html .htm .json .csv .md .txt .svg .png .jpg .jpeg
2010
- .gif .webp .pdf; anything else is application/octet-stream).
2011
- --description <text>. --json prints JSON.
2012
- ]]
2013
- Output (JSON):
2014
- name, url, public (who can open it after this write), revision (increases
2015
- only when the content changes), created (true for a new page), and
2016
- warnings[] (for example, a request for public that kept a page private).
2017
- Visibility:
2018
- --private makes a public page private at once. --public publishes a new
2019
- page. On a page that is already private, --public writes the content, keeps
2020
- the page private, and adds a warning; run [[pages set-public <name>]] to
2021
- publish it. Without public pages enabled, --public fails with
2022
- public_pages_not_enabled and writes nothing.
2023
- Errors (code):
2024
- name_invalid, content_type_invalid, description_too_long,
2025
- document_too_large, page_limit_reached, page_deleting,
2026
- public_pages_not_enabled, pages_not_enabled.
2027
- Cost:
2028
- Free. Repeating a write is safe.
2029
- Avoid:
2030
- Do not use --public for something only your team should see. Write it
2031
- --private and share it with [[pages links create <name>]].
2032
- `
2033
- },
2034
- "pages set-origins": {
2035
- rolloutFeature: "hosted-pages",
2036
- core: `
2037
- Purpose:
2038
- Replace the list of sites that can fetch a public page from browser JavaScript.
2039
- Input:
2040
- <name>, followed by up to 20 exact HTTPS origins without trailing slashes.
2041
- Omit the origins to clear the list. --json prints JSON.
2042
- Output (JSON):
2043
- allowed_origins: the saved list.
2044
- Behavior:
2045
- The setting applies to anonymous reads of the raw public document.
2046
- Each listed origin includes the scheme, hostname, and port if non-default.
2047
- Use a credential-free GET or HEAD request.
2048
- Cost:
2049
- Free.
2050
- `
2051
- },
2052
- "pages links create": {
2053
- rolloutFeature: "hosted-pages",
2054
- core: `
2055
- Purpose:
2056
- Create a URL that opens one page without signing in.
2057
- When:
2058
- To share a private page with someone outside the workspace, or for a limited
2059
- time. Works without public pages enabled.
2060
- [[cli:
2061
- Input:
2062
- <name>, then exactly one of --expires-in <duration> (30m, 12h, 7d) or
2063
- --permanent. --label <text> says who the link is for. --json prints JSON.
2064
- ]]
2065
- Output (JSON):
2066
- url (printed once and never again; Deepline keeps only a hash), id (pass it
2067
- to [[pages links revoke <name> <link-id>]]), label, expires_at (null when
2068
- permanent), created_at.
2069
- Behavior:
2070
- The link always shows the page's current content, keeps working after
2071
- writes, and stops at once when revoked or when the page is deleted. A page
2072
- can have up to 100 links; [[pages links list <name>]] lists them.
2073
- Cost:
2074
- Free.
2075
- Avoid:
2076
- Do not post a link anywhere public: it opens the page for anyone holding it.
2077
1993
  `
2078
1994
  },
2079
1995
  views: {
@@ -2103,6 +2019,10 @@ The sequence:
2103
2019
  [[views set-access <id> public]] lets anyone with the URL open it and
2104
2020
  see the output of every run of its Play, including runs started outside
2105
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.
2106
2026
  4. Manage it: [[views list]], [[views get <id>]],
2107
2027
  [[views edit <id>]], [[views runs <id>]], [[views delete <id>]].
2108
2028
  Buttons in HTML output:
@@ -2113,7 +2033,8 @@ Buttons in HTML output:
2113
2033
  the run. Plays in this workspace only; never for public visitors.
2114
2034
  Permissions:
2115
2035
  [[views permissions]] shows who may create, edit, delete, set access, and
2116
- 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.
2117
2038
  Cost:
2118
2039
  Views are free. Refresh and buttons start ordinary Play runs.
2119
2040
  Avoid:
@@ -1,10 +1,10 @@
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 _chunkDGKTHWWHjs = require('./chunk-DGKTHWWH.js');
3
+ var _chunk2B4IOGFDjs = require('./chunk-2B4IOGFD.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkXBK6WCVAjs = require('./chunk-XBK6WCVA.js');
7
+ var _chunkZILSRDINjs = require('./chunk-ZILSRDIN.js');
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
137
137
 
138
138
  // src/plays/client.ts
139
139
  function createPlayClient(options) {
140
- const config = _chunkXBK6WCVAjs.resolveConfig.call(void 0, options);
141
- return new (0, _chunkDGKTHWWHjs.PlayClient)(
142
- new (0, _chunkXBK6WCVAjs.HttpClient)(config),
140
+ const config = _chunkZILSRDINjs.resolveConfig.call(void 0, options);
141
+ return new (0, _chunk2B4IOGFDjs.PlayClient)(
142
+ new (0, _chunkZILSRDINjs.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }
@@ -2,11 +2,11 @@ import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse,
4
4
  writeExecutionOutput
5
- } from "./chunk-DQ5ADV2J.mjs";
5
+ } from "./chunk-LZXZQPA2.mjs";
6
6
  import {
7
7
  recentSearchRef,
8
8
  registerDeprecatedSearchCommand
9
- } from "./chunk-OMVVHX4U.mjs";
9
+ } from "./chunk-E24UGPGG.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-WDNRPZED.mjs";
49
+ } from "./chunk-WC5M3JXE.mjs";
50
50
  import {
51
51
  validateExecutionIdempotencyKey
52
- } from "./chunk-MG6YL4M7.mjs";
52
+ } from "./chunk-BASLYGXK.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-TQH3533L.mjs";
62
+ } from "./chunk-KPQHUVYW.mjs";
63
63
  import {
64
64
  isCliTraceEnabled,
65
65
  recordCliTrace,
66
66
  resolveCliMaintenancePolicy
67
- } from "./chunk-7GFR5Y4J.mjs";
67
+ } from "./chunk-DUYAMLOC.mjs";
68
68
  import {
69
69
  checkSdkCompatibility,
70
70
  enforceSdkCompatibilityResponse,
71
71
  flushDeferredSkillsSyncNotices,
72
72
  syncSdkSkillsIfNeeded
73
- } from "./chunk-BDWZBMGV.mjs";
73
+ } from "./chunk-XJD2GYUP.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-62SOZ67Y.mjs";
82
+ } from "./chunk-ANUKBZ6W.mjs";
82
83
  import {
83
84
  readSdkSkillsLocalVersion,
84
85
  resolveConfig,
85
86
  sdkCliStateDirPath
86
- } from "./chunk-E7TP25I2.mjs";
87
+ } from "./chunk-3PCYV6ZJ.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-CI4MREFF.mjs");
1140
+ const { describeAnything } = await import("./describe-IKZFOADR.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."