deepline 0.3.535 → 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 (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 +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/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-6XQKFOLG.js +43 -0
  51. package/dist/cli/{auth-ZCTMB5RA.mjs → auth-KCTCUO7P.mjs} +7 -7
  52. package/dist/cli/{billing-GVFKZQH3.js → billing-4VBGZ3CT.js} +273 -112
  53. package/dist/cli/{billing-OU2ZHL72.mjs → billing-OOJHKLNS.mjs} +185 -24
  54. package/dist/cli/{chunk-FGN75ZN6.js → chunk-2B4IOGFD.js} +390 -382
  55. package/dist/cli/{chunk-KOZBZPRM.js → chunk-2FCSUOYN.js} +55 -55
  56. package/dist/cli/{chunk-T2N3B7IQ.js → chunk-2GJZLIKW.js} +8 -8
  57. package/dist/cli/{chunk-AUEUAPVS.mjs → chunk-2YWJS76L.mjs} +1 -1
  58. package/dist/cli/{chunk-W5YJYU4G.mjs → chunk-3PCYV6ZJ.mjs} +2 -2
  59. package/dist/cli/{chunk-UUQ2OXMH.js → chunk-4E5JXZ3W.js} +18 -20
  60. package/dist/cli/{chunk-R4RG4FV5.mjs → chunk-4KWD3MX2.mjs} +13 -10
  61. package/dist/cli/{chunk-XSOTEVOB.js → chunk-6BBGUQJJ.js} +50 -141
  62. package/dist/cli/{chunk-PHLNYBAA.js → chunk-6VUGBQZQ.js} +5 -5
  63. package/dist/cli/{chunk-G2DLG32W.mjs → chunk-AB2GBOD4.mjs} +40 -27
  64. package/dist/cli/{chunk-JWWYLGUT.mjs → chunk-ANUKBZ6W.mjs} +475 -11
  65. package/dist/cli/{chunk-FZKPPB5P.mjs → chunk-BASLYGXK.mjs} +85 -77
  66. package/dist/cli/{chunk-SQWET4SL.js → chunk-BBTKAASQ.js} +2 -1
  67. package/dist/cli/{chunk-NRO3NTVO.js → chunk-CBV7AKWM.js} +5 -5
  68. package/dist/cli/{chunk-PI5R65OQ.js → chunk-CIDN5K23.js} +1 -1
  69. package/dist/cli/{chunk-QNHHZ63P.mjs → chunk-CQBIO6HW.mjs} +1 -1
  70. package/dist/cli/{chunk-2KHUFWTK.js → chunk-CQDQNZGH.js} +42 -37
  71. package/dist/cli/{chunk-D4MHCCIR.js → chunk-CWSLUNA6.js} +33 -33
  72. package/dist/cli/{chunk-E3CLOVG5.mjs → chunk-CXTW7SRW.mjs} +50 -141
  73. package/dist/cli/{chunk-H6SWS5CG.mjs → chunk-DA2I2M7D.mjs} +2 -2
  74. package/dist/cli/{chunk-WAIBM6KX.mjs → chunk-DQHUJMCL.mjs} +5 -5
  75. package/dist/cli/{chunk-DWPY6ZID.mjs → chunk-DUYAMLOC.mjs} +1 -1
  76. package/dist/cli/{chunk-K53NKWZO.mjs → chunk-E24UGPGG.mjs} +13 -15
  77. package/dist/cli/{chunk-STR5LXK4.mjs → chunk-FSIVF2SI.mjs} +1 -1
  78. package/dist/cli/{chunk-7R5DAANG.mjs → chunk-GF32SBST.mjs} +1 -1
  79. package/dist/cli/{chunk-7CWSAEYS.mjs → chunk-GHLDCLSC.mjs} +1 -1
  80. package/dist/cli/{chunk-ZUVE63Y7.js → chunk-GTVZKY3F.js} +2 -2
  81. package/dist/cli/{chunk-J75DANZY.mjs → chunk-HAJQGP5V.mjs} +2 -2
  82. package/dist/cli/{chunk-RFQWSH6I.js → chunk-HWDKRN7L.js} +3 -3
  83. package/dist/cli/{chunk-5YAJGRWB.js → chunk-IPVRMYWT.js} +7 -7
  84. package/dist/cli/{chunk-ZPGGW27Q.mjs → chunk-JL2OTMSG.mjs} +1 -0
  85. package/dist/cli/{chunk-K76AEBFY.mjs → chunk-JUHDJNSI.mjs} +4 -4
  86. package/dist/cli/{chunk-R2KKEHJN.mjs → chunk-KPQHUVYW.mjs} +5 -5
  87. package/dist/cli/{chunk-6LHX33VN.js → chunk-KWYGWO4Y.js} +9 -6
  88. package/dist/cli/{chunk-7PXP2FQK.js → chunk-LDGZFDUB.js} +2 -2
  89. package/dist/cli/{chunk-KWGXHPHL.js → chunk-LN6RXDTB.js} +523 -59
  90. package/dist/cli/{chunk-TCVCFZP6.mjs → chunk-LZXZQPA2.mjs} +4 -1
  91. package/dist/cli/{chunk-2D6SWQTK.js → chunk-MSP4DTSD.js} +13 -13
  92. package/dist/cli/{chunk-BNH4Y35W.mjs → chunk-OLH2PHMC.mjs} +2 -2
  93. package/dist/cli/{chunk-QYBAHYP4.mjs → chunk-OUDTOMZC.mjs} +7 -9
  94. package/dist/cli/{chunk-GESIFFQX.mjs → chunk-OVX3Q5Q3.mjs} +1 -1
  95. package/dist/cli/{chunk-6TYRRNXY.mjs → chunk-PNY3BWHP.mjs} +2 -2
  96. package/dist/cli/{chunk-DYIWDUY4.js → chunk-Q4MNUOS4.js} +316 -303
  97. package/dist/cli/{chunk-5EKNDNFQ.js → chunk-Q5CXV3E3.js} +2 -2
  98. package/dist/cli/{chunk-W6T23EUC.mjs → chunk-RVSSQPQO.mjs} +1 -1
  99. package/dist/cli/{chunk-WNNA4L6Z.js → chunk-SLPJ3LXI.js} +22 -22
  100. package/dist/cli/{chunk-K3IPGMGP.js → chunk-TX5TUHJN.js} +17 -19
  101. package/dist/cli/{chunk-IF75RD6U.js → chunk-U2LVWCTD.js} +18 -6
  102. package/dist/cli/{chunk-ZS2WHWWL.js → chunk-UNDLNT3V.js} +1 -1
  103. package/dist/cli/{chunk-4NLRWKZB.js → chunk-VBDZIMWD.js} +26 -26
  104. package/dist/cli/{chunk-DAPKLYST.js → chunk-W7AEIGZR.js} +41 -41
  105. package/dist/cli/{chunk-LVISZFYO.mjs → chunk-WC5M3JXE.mjs} +2 -2
  106. package/dist/cli/{chunk-C374C22Y.js → chunk-WOQO3GV4.js} +14 -11
  107. package/dist/cli/{chunk-243O3FH5.js → chunk-XBAH3TKU.js} +5 -5
  108. package/dist/cli/{chunk-DFJODFMC.mjs → chunk-XJD2GYUP.mjs} +5 -5
  109. package/dist/cli/{chunk-BF65LB7X.mjs → chunk-XVZRJJDS.mjs} +4 -4
  110. package/dist/cli/{chunk-OM732MGV.js → chunk-Y2NTPYGS.js} +17 -17
  111. package/dist/cli/{chunk-YFZLZNTH.mjs → chunk-YBMHOH6H.mjs} +4 -4
  112. package/dist/cli/{chunk-RKY4LBX3.mjs → chunk-YRLAUGQY.mjs} +3 -3
  113. package/dist/cli/{chunk-FKD3KL5Q.mjs → chunk-Z2XA6YU4.mjs} +10 -5
  114. package/dist/cli/{chunk-JQQG4QL4.mjs → chunk-Z7UIOGW4.mjs} +3 -3
  115. package/dist/cli/{chunk-HYBZWSSH.js → chunk-ZEV2Y56V.js} +44 -44
  116. package/dist/cli/{chunk-MI6ZP7XI.mjs → chunk-ZG7BOECV.mjs} +18 -6
  117. package/dist/cli/{chunk-HWPOXCCK.js → chunk-ZILSRDIN.js} +8 -8
  118. package/dist/cli/{chunk-CIDATNTY.js → chunk-ZISEH7OL.js} +16 -16
  119. package/dist/cli/{chunk-KA6ZERJL.js → chunk-ZZ4MF2GI.js} +6 -6
  120. package/dist/cli/command-docs.js +2 -2
  121. package/dist/cli/command-docs.mjs +1 -1
  122. package/dist/cli/{csv-CD55KEIO.js → csv-2V2DIFNG.js} +15 -15
  123. package/dist/cli/{csv-CLPVMIRF.mjs → csv-P3HLK4GO.mjs} +6 -6
  124. package/dist/cli/{db-MQKLDAEO.js → db-MREAQVW6.js} +36 -36
  125. package/dist/cli/{db-AU4SMWUN.mjs → db-ZYOY3QRQ.mjs} +9 -9
  126. package/dist/cli/describe-IKZFOADR.mjs +49 -0
  127. package/dist/cli/describe-WW3OQRLP.js +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-77GOLWRM.js → executions-H5IJ7QSQ.js} +11 -11
  133. package/dist/cli/{executions-TFIJPUX7.mjs → executions-KTSY5M34.mjs} +9 -9
  134. package/dist/cli/{feedback-OV5YAL3A.js → feedback-724QK3Z5.js} +16 -16
  135. package/dist/cli/{feedback-2WRSZ5WL.mjs → feedback-WWJRIXEU.mjs} +8 -8
  136. package/dist/cli/git-PHYRD56H.js +25 -0
  137. package/dist/cli/{git-VNS4ATLZ.mjs → git-R5VRG7X6.mjs} +7 -7
  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-C6GDEGPU.js} +11 -11
  141. package/dist/cli/{legacy-noops-C732QDCY.mjs → legacy-noops-PWZ5XLAO.mjs} +8 -8
  142. package/dist/cli/{monitors-5IUMHH3E.js → monitors-VAVQ4WCE.js} +125 -122
  143. package/dist/cli/{monitors-2LYEFXOU.mjs → monitors-WQSKMHAP.mjs} +19 -16
  144. package/dist/cli/{org-ADW2EVAC.js → org-CWWRWXZQ.js} +89 -89
  145. package/dist/cli/{org-G4YGZPHS.mjs → org-MAL4QPVF.mjs} +9 -9
  146. package/dist/cli/{play-7GQ56C2D.mjs → play-ILW6MSNG.mjs} +123 -76
  147. package/dist/cli/{play-EHSOSSHT.js → play-WJOWK5PQ.js} +641 -594
  148. package/dist/cli/{providers-WL3YTCSV.mjs → providers-4V2NMLZZ.mjs} +9 -9
  149. package/dist/cli/{providers-PWCF6OOO.js → providers-W662ANCH.js} +12 -12
  150. package/dist/cli/{quickstart-ZKI5MURA.js → quickstart-BW6EBUYX.js} +8 -8
  151. package/dist/cli/{quickstart-323XOPGI.mjs → quickstart-C22BR743.mjs} +6 -6
  152. package/dist/cli/{run-XZPWA6JS.js → run-KW7KW4FX.js} +50 -53
  153. package/dist/cli/{run-ZCNZU3K2.mjs → run-SPAU5IMW.mjs} +31 -34
  154. package/dist/cli/search-HLE54W5G.js +32 -0
  155. package/dist/cli/{search-CVLVSFMJ.mjs → search-XPC75HLM.mjs} +10 -11
  156. package/dist/cli/{search-output-6PY6RN2R.mjs → search-output-JKYJSEPM.mjs} +6 -6
  157. package/dist/cli/{search-output-7HRSSRBS.js → search-output-VJYE7USJ.js} +8 -8
  158. package/dist/cli/{secrets-6S2ZWDIM.mjs → secrets-OJG73GXQ.mjs} +9 -9
  159. package/dist/cli/{secrets-IYD5VKY4.js → secrets-YB57KGSB.js} +18 -18
  160. package/dist/cli/{sessions-GVEX5TUJ.mjs → sessions-7ZL37BW4.mjs} +8 -8
  161. package/dist/cli/sessions-VEBYZIEU.js +22 -0
  162. package/dist/cli/{settings-CANK4HJQ.js → settings-A7DD2ZYE.js} +88 -89
  163. package/dist/cli/{settings-BN5MJZ3C.mjs → settings-RKSQB7FA.mjs} +15 -16
  164. package/dist/cli/{setup-JNMSCCU4.mjs → setup-NXDUTITY.mjs} +11 -12
  165. package/dist/cli/{setup-YSGKGLSJ.js → setup-S3K5YU62.js} +51 -52
  166. package/dist/cli/skills-NVQ744CN.js +36 -0
  167. package/dist/cli/{skills-QCQN2UM2.mjs → skills-VMFAIDO6.mjs} +9 -10
  168. package/dist/cli/{tools-CDPOID7V.mjs → tools-52NTHBSJ.mjs} +20 -21
  169. package/dist/cli/tools-SBDUL3WB.js +56 -0
  170. package/dist/cli/update-HHVFZPCV.js +34 -0
  171. package/dist/cli/{update-D3ZERUQ3.mjs → update-SAKBEKMV.mjs} +11 -12
  172. package/dist/cli/{views-RDZRWQBQ.mjs → views-ACRV7MD6.mjs} +54 -10
  173. package/dist/cli/{views-4NV2KQKA.js → views-C3GJOBDG.js} +66 -22
  174. package/dist/cli/{workflow-2CG3TVCG.mjs → workflow-CS22E7TC.mjs} +10 -10
  175. package/dist/cli/{workflow-RABJCAZC.js → workflow-ZNWCZEGN.js} +20 -20
  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
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkT2N3B7IQjs = require('./chunk-T2N3B7IQ.js');
5
+ var _chunk2GJZLIKWjs = require('./chunk-2GJZLIKW.js');
6
6
 
7
7
 
8
8
 
@@ -14,15 +14,15 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
14
14
 
15
15
 
16
16
 
17
- var _chunkSQWET4SLjs = require('./chunk-SQWET4SL.js');
17
+ var _chunkBBTKAASQjs = require('./chunk-BBTKAASQ.js');
18
18
 
19
19
 
20
- var _chunkPI5R65OQjs = require('./chunk-PI5R65OQ.js');
20
+ var _chunkCIDN5K23js = require('./chunk-CIDN5K23.js');
21
21
 
22
22
  // src/version.ts
23
- var SDK_VERSION = _chunkPI5R65OQjs.SDK_RELEASE.version;
24
- var SDK_API_MAJOR = _chunkPI5R65OQjs.SDK_RELEASE.contracts.api.currentMajor;
25
- var SDK_API_CONTRACT = _nullishCoalesce(_chunkPI5R65OQjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
23
+ var SDK_VERSION = _chunkCIDN5K23js.SDK_RELEASE.version;
24
+ var SDK_API_MAJOR = _chunkCIDN5K23js.SDK_RELEASE.contracts.api.currentMajor;
25
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkCIDN5K23js.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
26
26
 
27
27
  // src/agent-runtime.ts
28
28
  var _fs = require('fs');
@@ -555,16 +555,16 @@ var HttpClient = class {
555
555
  if (_optionalChain([options, 'optionalAccess', _148 => _148.retryFromExecutePolicy]) === true && responseRetryAllowed && options.executePolicyMaxRetries !== void 0) {
556
556
  maxRetries = options.executePolicyMaxRetries;
557
557
  }
558
- const structuredToolError = _optionalChain([options, 'optionalAccess', _149 => _149.toolId]) && !response.ok ? _chunkSQWET4SLjs.deserializeToolExecutionFailure.call(void 0,
558
+ const structuredToolError = _optionalChain([options, 'optionalAccess', _149 => _149.toolId]) && !response.ok ? _chunkBBTKAASQjs.deserializeToolExecutionFailure.call(void 0,
559
559
  _chunkXNYIZMNQjs.apiErrorMessage.call(void 0, parsed, response.status),
560
560
  isRecord(parsed) ? parsed.tool_error : null,
561
- _chunkSQWET4SLjs.TOOL_EXECUTION_ERROR_SCHEMA_VERSION
561
+ _chunkBBTKAASQjs.TOOL_EXECUTION_ERROR_SCHEMA_VERSION
562
562
  ) : null;
563
563
  if (structuredToolError) {
564
564
  if (response.status === 429) {
565
565
  const retryAfter = parseRetryAfter(response);
566
- const failure = _chunkSQWET4SLjs.serializeToolExecutionFailure.call(void 0, structuredToolError);
567
- lastError = failure === null ? structuredToolError : new (0, _chunkT2N3B7IQjs.ToolRateLimitError)(structuredToolError.message, {
566
+ const failure = _chunkBBTKAASQjs.serializeToolExecutionFailure.call(void 0, structuredToolError);
567
+ lastError = failure === null ? structuredToolError : new (0, _chunk2GJZLIKWjs.ToolRateLimitError)(structuredToolError.message, {
568
568
  ...failure,
569
569
  retryAfterMs: _nullishCoalesce(failure.retryAfterMs, () => ( Math.max(0, retryAfter)))
570
570
  });
@@ -572,13 +572,13 @@ var HttpClient = class {
572
572
  retryAfterDelayMs = retryAfter;
573
573
  break;
574
574
  }
575
- throw _chunkSQWET4SLjs.attachToolUpstreamResponse.call(void 0, lastError, parsed);
575
+ throw _chunkBBTKAASQjs.attachToolUpstreamResponse.call(void 0, lastError, parsed);
576
576
  }
577
- throw _chunkSQWET4SLjs.attachToolUpstreamResponse.call(void 0, structuredToolError, parsed);
577
+ throw _chunkBBTKAASQjs.attachToolUpstreamResponse.call(void 0, structuredToolError, parsed);
578
578
  }
579
579
  if (response.status === 429) {
580
580
  if (_optionalChain([options, 'optionalAccess', _150 => _150.preserveRateLimitResponse]) && isMonitorRateLimitEnvelope(parsed)) {
581
- throw new (0, _chunkSQWET4SLjs.DeeplineError)(
581
+ throw new (0, _chunkBBTKAASQjs.DeeplineError)(
582
582
  _chunkXNYIZMNQjs.apiErrorMessage.call(void 0, parsed, response.status),
583
583
  response.status,
584
584
  _chunkXNYIZMNQjs.apiErrorCodeFromResponse.call(void 0, parsed),
@@ -586,15 +586,15 @@ var HttpClient = class {
586
586
  );
587
587
  }
588
588
  const retryAfter = parseRetryAfter(response);
589
- lastError = new (0, _chunkT2N3B7IQjs.RateLimitError)(retryAfter);
589
+ lastError = new (0, _chunk2GJZLIKWjs.RateLimitError)(retryAfter);
590
590
  if (responseRetryAllowed && attempt < maxRetries) {
591
591
  retryAfterDelayMs = retryAfter;
592
592
  break;
593
593
  }
594
- throw _optionalChain([options, 'optionalAccess', _151 => _151.toolId]) ? _chunkSQWET4SLjs.attachToolUpstreamResponse.call(void 0, lastError, parsed) : lastError;
594
+ throw _optionalChain([options, 'optionalAccess', _151 => _151.toolId]) ? _chunkBBTKAASQjs.attachToolUpstreamResponse.call(void 0, lastError, parsed) : lastError;
595
595
  }
596
596
  if (response.status === 401 && !isProviderOriginatedHttpError(parsed)) {
597
- throw new (0, _chunkT2N3B7IQjs.AuthError)(_chunkXNYIZMNQjs.apiErrorMessage.call(void 0, parsed, response.status));
597
+ throw new (0, _chunk2GJZLIKWjs.AuthError)(_chunkXNYIZMNQjs.apiErrorMessage.call(void 0, parsed, response.status));
598
598
  }
599
599
  if (!response.ok) {
600
600
  const retryableApiError = _optionalChain([options, 'optionalAccess', _152 => _152.retryApiErrors]) === true && responseRetryAllowed && isRetryableApiErrorResponse(response.status);
@@ -603,7 +603,7 @@ var HttpClient = class {
603
603
  response.headers.get("content-type")
604
604
  );
605
605
  if (htmlError) {
606
- lastError = new (0, _chunkSQWET4SLjs.DeeplineError)(
606
+ lastError = new (0, _chunkBBTKAASQjs.DeeplineError)(
607
607
  htmlError.message(response.status),
608
608
  response.status,
609
609
  "API_ERROR",
@@ -622,14 +622,14 @@ var HttpClient = class {
622
622
  const errorValue = typeof parsed === "object" && parsed && "error" in parsed ? parsed.error : void 0;
623
623
  const msg = typeof errorValue === "string" ? errorValue : errorValue && typeof errorValue === "object" && "message" in errorValue && typeof errorValue.message === "string" ? errorValue.message : typeof parsed === "object" && parsed && "message" in parsed && typeof parsed.message === "string" ? parsed.message : `HTTP ${response.status}`;
624
624
  const apiErrorCode = _chunkXNYIZMNQjs.apiErrorCodeFromResponse.call(void 0, parsed);
625
- lastError = new (0, _chunkSQWET4SLjs.DeeplineError)(msg, response.status, apiErrorCode, {
625
+ lastError = new (0, _chunkBBTKAASQjs.DeeplineError)(msg, response.status, apiErrorCode, {
626
626
  response: parsed
627
627
  });
628
628
  if (retryableApiError && attempt < maxRetries) {
629
629
  retryAfterDelayMs = parseOptionalRetryAfter(response);
630
630
  break;
631
631
  }
632
- throw _optionalChain([options, 'optionalAccess', _153 => _153.toolId]) ? _chunkSQWET4SLjs.attachToolUpstreamResponse.call(void 0, lastError, parsed) : lastError;
632
+ throw _optionalChain([options, 'optionalAccess', _153 => _153.toolId]) ? _chunkBBTKAASQjs.attachToolUpstreamResponse.call(void 0, lastError, parsed) : lastError;
633
633
  }
634
634
  if (typeof parsed === "string") {
635
635
  const interstitial = detectHtmlErrorBody(
@@ -637,7 +637,7 @@ var HttpClient = class {
637
637
  response.headers.get("content-type")
638
638
  );
639
639
  if (interstitial) {
640
- throw new (0, _chunkSQWET4SLjs.DeeplineError)(
640
+ throw new (0, _chunkBBTKAASQjs.DeeplineError)(
641
641
  `${this.config.baseUrl} returned a deployment-protection page instead of JSON. Set VERCEL_PROTECTION_BYPASS_TOKEN, or run \`vercel login\` if the CLI session expired.`,
642
642
  response.status,
643
643
  "DEPLOYMENT_PROTECTED",
@@ -653,10 +653,10 @@ var HttpClient = class {
653
653
  lastError = requestCancelledError(options.signal);
654
654
  break requestAttempts;
655
655
  }
656
- if (error instanceof _chunkT2N3B7IQjs.AuthError || error instanceof _chunkSQWET4SLjs.DeeplineError) {
656
+ if (error instanceof _chunk2GJZLIKWjs.AuthError || error instanceof _chunkBBTKAASQjs.DeeplineError) {
657
657
  throw error;
658
658
  }
659
- if (error instanceof _chunkT2N3B7IQjs.RateLimitError) {
659
+ if (error instanceof _chunk2GJZLIKWjs.RateLimitError) {
660
660
  lastError = error;
661
661
  break;
662
662
  }
@@ -674,7 +674,7 @@ var HttpClient = class {
674
674
  }
675
675
  if (attempt < maxRetries) continue;
676
676
  }
677
- if (lastError instanceof _chunkSQWET4SLjs.DeeplineError) {
677
+ if (lastError instanceof _chunkBBTKAASQjs.DeeplineError) {
678
678
  throw lastError;
679
679
  }
680
680
  const mappedNetworkError = mapNetworkError(
@@ -699,7 +699,7 @@ var HttpClient = class {
699
699
  if (_optionalChain([options, 'optionalAccess', _160 => _160.toolId])) {
700
700
  const code = mappedNetworkError.code;
701
701
  throw withErrorCause(
702
- new (0, _chunkSQWET4SLjs.ToolExecutionError)(
702
+ new (0, _chunkBBTKAASQjs.ToolExecutionError)(
703
703
  withCoworkNetworkHint(mappedNetworkError.message),
704
704
  {
705
705
  toolId: options.toolId,
@@ -724,7 +724,7 @@ var HttpClient = class {
724
724
  );
725
725
  }
726
726
  throw withErrorCause(
727
- new (0, _chunkSQWET4SLjs.DeeplineError)(
727
+ new (0, _chunkBBTKAASQjs.DeeplineError)(
728
728
  withCoworkNetworkHint(mappedNetworkError.message),
729
729
  void 0,
730
730
  mappedNetworkError.code,
@@ -772,14 +772,14 @@ var HttpClient = class {
772
772
  const body = await response.text();
773
773
  const parsed = parseResponseBody(body);
774
774
  if (response.status === 401 && !isProviderOriginatedHttpError(parsed)) {
775
- throw new (0, _chunkT2N3B7IQjs.AuthError)(_chunkXNYIZMNQjs.apiErrorMessage.call(void 0, parsed, response.status));
775
+ throw new (0, _chunk2GJZLIKWjs.AuthError)(_chunkXNYIZMNQjs.apiErrorMessage.call(void 0, parsed, response.status));
776
776
  }
777
777
  const htmlError = detectHtmlErrorBody(
778
778
  body,
779
779
  response.headers.get("content-type")
780
780
  );
781
781
  if (htmlError) {
782
- throw new (0, _chunkSQWET4SLjs.DeeplineError)(
782
+ throw new (0, _chunkBBTKAASQjs.DeeplineError)(
783
783
  htmlError.message(response.status),
784
784
  response.status,
785
785
  "API_ERROR",
@@ -790,7 +790,7 @@ var HttpClient = class {
790
790
  }
791
791
  );
792
792
  }
793
- throw new (0, _chunkSQWET4SLjs.DeeplineError)(
793
+ throw new (0, _chunkBBTKAASQjs.DeeplineError)(
794
794
  _chunkXNYIZMNQjs.apiErrorMessage.call(void 0, parsed, response.status),
795
795
  response.status,
796
796
  _chunkXNYIZMNQjs.apiErrorCodeFromResponse.call(void 0, parsed),
@@ -798,17 +798,17 @@ var HttpClient = class {
798
798
  );
799
799
  }
800
800
  if (!response.body) {
801
- throw new (0, _chunkSQWET4SLjs.DeeplineError)("SSE response did not include a body.");
801
+ throw new (0, _chunkBBTKAASQjs.DeeplineError)("SSE response did not include a body.");
802
802
  }
803
803
  yield* decodeSseStream(response.body);
804
804
  return;
805
805
  } catch (error) {
806
- if (error instanceof _chunkT2N3B7IQjs.AuthError || error instanceof _chunkSQWET4SLjs.DeeplineError) {
806
+ if (error instanceof _chunk2GJZLIKWjs.AuthError || error instanceof _chunkBBTKAASQjs.DeeplineError) {
807
807
  throw error;
808
808
  }
809
809
  const normalized = error instanceof Error ? error : new Error(String(error));
810
810
  if (isAbortLikeError(normalized) && _optionalChain([options, 'optionalAccess', _169 => _169.signal, 'optionalAccess', _170 => _170.aborted])) {
811
- throw new (0, _chunkSQWET4SLjs.DeeplineError)(
811
+ throw new (0, _chunkBBTKAASQjs.DeeplineError)(
812
812
  `Stream from ${this.config.baseUrl} was aborted by the caller.`,
813
813
  void 0,
814
814
  "ABORTED"
@@ -818,7 +818,7 @@ var HttpClient = class {
818
818
  }
819
819
  }
820
820
  if (lastError && isAbortLikeError(lastError)) {
821
- throw new (0, _chunkSQWET4SLjs.DeeplineError)(
821
+ throw new (0, _chunkBBTKAASQjs.DeeplineError)(
822
822
  withCoworkNetworkHint(
823
823
  `Unable to stream from ${this.config.baseUrl}. The remote stream was interrupted.`
824
824
  ),
@@ -826,7 +826,7 @@ var HttpClient = class {
826
826
  "PLAY_STREAM_NETWORK_ABORTED"
827
827
  );
828
828
  }
829
- throw new (0, _chunkSQWET4SLjs.DeeplineError)(
829
+ throw new (0, _chunkBBTKAASQjs.DeeplineError)(
830
830
  withCoworkNetworkHint(
831
831
  _optionalChain([lastError, 'optionalAccess', _171 => _171.message]) ? `Unable to stream from ${this.config.baseUrl}. ${lastError.message}` : `Unable to stream from ${this.config.baseUrl}.`
832
832
  )
@@ -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:
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-JWWYLGUT.mjs";
5
+ } from "./chunk-ANUKBZ6W.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-W5YJYU4G.mjs";
8
+ } from "./chunk-3PCYV6ZJ.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-AUEUAPVS.mjs";
4
+ } from "./chunk-2YWJS76L.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-K76AEBFY.mjs";
7
+ } from "./chunk-JUHDJNSI.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-DFJODFMC.mjs";
10
+ } from "./chunk-XJD2GYUP.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-JWWYLGUT.mjs";
13
+ } from "./chunk-ANUKBZ6W.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-W5YJYU4G.mjs";
16
+ } from "./chunk-3PCYV6ZJ.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeRawStderr
3
- } from "./chunk-JWWYLGUT.mjs";
3
+ } from "./chunk-ANUKBZ6W.mjs";
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  import { InvalidArgumentError } from "commander";
@@ -3,18 +3,16 @@ import {
3
3
  } from "./chunk-5AEDYVB6.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-LVISZFYO.mjs";
7
- import {
8
- resolveSdkCliFailureExitCode
9
- } from "./chunk-4QELPWUW.mjs";
6
+ } from "./chunk-WC5M3JXE.mjs";
10
7
  import {
11
8
  errorToJsonPayload,
12
- printCommandEnvelope
13
- } from "./chunk-JWWYLGUT.mjs";
9
+ printCommandEnvelope,
10
+ resolveSdkCliFailureExitCode
11
+ } from "./chunk-ANUKBZ6W.mjs";
14
12
  import {
15
13
  resolveConfig,
16
14
  sdkCliStateDirPath
17
- } from "./chunk-W5YJYU4G.mjs";
15
+ } from "./chunk-3PCYV6ZJ.mjs";
18
16
 
19
17
  // src/cli/commands/search.ts
20
18
  import { Option } from "commander";
@@ -65,7 +63,7 @@ var SEARCH_TYPES = [
65
63
  "custom",
66
64
  "docs"
67
65
  ];
68
- var USAGE = 'Usage: deepline search "<task>" ["<task>" ...] [--type <types>] [--json]';
66
+ var USAGE = 'Usage: deepline search "<task>" ["<task>" ...] [--json]';
69
67
  function parseTypes(flag, raw) {
70
68
  const names = (raw ?? "").split(",").map((name) => name.trim().toLowerCase()).filter(Boolean);
71
69
  const unknown = names.filter(
@@ -136,7 +134,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
136
134
  }
137
135
  const client = new DeeplineClient();
138
136
  const json = options.json === true;
139
- const renderer = json ? void 0 : await import("./search-output-6PY6RN2R.mjs");
137
+ const renderer = json ? void 0 : await import("./search-output-JKYJSEPM.mjs");
140
138
  const searches = [];
141
139
  const chunks = [];
142
140
  const refs = /* @__PURE__ */ new Map();
@@ -198,21 +196,21 @@ Search failed.
198
196
  function registerDeprecatedSearchCommand(parent, typesFor) {
199
197
  const name = `deepline ${parent.name()} search`;
200
198
  addSearchOptions(
201
- parent.command("search [task]").description(`Deprecated. Use deepline search --type <types>.`).addHelpText(
199
+ parent.command("search [task]").description(`Deprecated. Use deepline search.`).addHelpText(
202
200
  "after",
203
201
  `
204
202
  Notes:
205
- Deprecated alias for the unified search. It runs deepline search with the
206
- matching --type and returns the same results envelope.
203
+ Deprecated alias for the unified search. It runs deepline search for the
204
+ matching kinds and returns the same results envelope.
207
205
 
208
206
  Examples:
209
- deepline search "name and company domain -> work email" --type ${typesFor({}).join(",")}
207
+ deepline search "name and company domain -> work email"
210
208
  `
211
209
  ).option("--all", "Include plays your workspace created").option("--compact", "Accepted for compatibility; results are compact")
212
210
  ).action(async (query, options) => {
213
211
  const types = typesFor(options);
214
212
  console.error(
215
- `${name} is deprecated. Use: deepline search${query ? ` ${JSON.stringify(query)}` : ""} --type ${types.join(",")}`
213
+ `${name} is deprecated. Use: deepline search${query ? ` ${JSON.stringify(query)}` : ""}`
216
214
  );
217
215
  process.exitCode = await runSearch(
218
216
  query === void 0 ? [] : [query],
@@ -227,7 +225,7 @@ function registerSearchCommand(program) {
227
225
  "Search tools, monitors, plays, and docs together, ranked by intent."
228
226
  ).option(
229
227
  "--type <types>",
230
- "Only these kinds, comma-separated: tools, plays, monitors, docs",
228
+ "Only these kinds, comma-separated: tools (or plays, the same), monitors, docs",
231
229
  appendCsv
232
230
  ).option(
233
231
  "--exclude <types>",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DeeplineError
3
- } from "./chunk-ZPGGW27Q.mjs";
3
+ } from "./chunk-JL2OTMSG.mjs";
4
4
 
5
5
  // node_modules/csv-parse/dist/esm/sync.js
6
6
  var global$1 = typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-JWWYLGUT.mjs";
3
+ } from "./chunk-ANUKBZ6W.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";