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
@@ -5,7 +5,7 @@ import {
5
5
  parsePlayRunHeaderFlag,
6
6
  parsePlayRunOptions,
7
7
  resolvePlayRunCliOptions
8
- } from "./chunk-YFZLZNTH.mjs";
8
+ } from "./chunk-YBMHOH6H.mjs";
9
9
  import {
10
10
  ExecutionOutputError,
11
11
  TABLE_EXPORT_ERROR_COLUMN,
@@ -18,15 +18,15 @@ import {
18
18
  underscoreKeysLast,
19
19
  writeExecutionOutput,
20
20
  writeRunDatasetCsv
21
- } from "./chunk-TCVCFZP6.mjs";
21
+ } from "./chunk-LZXZQPA2.mjs";
22
22
  import {
23
23
  registerDeprecatedSearchCommand
24
- } from "./chunk-K53NKWZO.mjs";
24
+ } from "./chunk-E24UGPGG.mjs";
25
25
  import "./chunk-5AEDYVB6.mjs";
26
26
  import {
27
27
  handleDeploymentGet,
28
28
  handleDeploymentsList
29
- } from "./chunk-H6SWS5CG.mjs";
29
+ } from "./chunk-DA2I2M7D.mjs";
30
30
  import {
31
31
  buildPlayDashboardUrl,
32
32
  buildPlayRunUrl
@@ -47,14 +47,14 @@ import {
47
47
  } from "./chunk-F6QV42MC.mjs";
48
48
  import {
49
49
  parseCsvDataInput
50
- } from "./chunk-STR5LXK4.mjs";
50
+ } from "./chunk-FSIVF2SI.mjs";
51
51
  import {
52
52
  pinLocalPlayImports,
53
53
  planLocalPlayExecution
54
- } from "./chunk-6TYRRNXY.mjs";
54
+ } from "./chunk-PNY3BWHP.mjs";
55
55
  import {
56
56
  DeeplineClient
57
- } from "./chunk-LVISZFYO.mjs";
57
+ } from "./chunk-WC5M3JXE.mjs";
58
58
  import {
59
59
  RUN_EVENT_SEARCH_KIND_VALUES,
60
60
  RunEventQueryInputError,
@@ -67,7 +67,7 @@ import {
67
67
  normalizePlayStatus,
68
68
  normalizeRunEventOperationRequest,
69
69
  parseLogLevel
70
- } from "./chunk-FZKPPB5P.mjs";
70
+ } from "./chunk-BASLYGXK.mjs";
71
71
  import "./chunk-L2VKAASU.mjs";
72
72
  import {
73
73
  CSV_DATA_INPUT_KEY,
@@ -82,7 +82,7 @@ import {
82
82
  sqlSafePlayColumnName,
83
83
  stageFileInputs,
84
84
  stagedFileContentType
85
- } from "./chunk-FKD3KL5Q.mjs";
85
+ } from "./chunk-Z2XA6YU4.mjs";
86
86
  import {
87
87
  CSV_HEADER_MATCHING_NOTE,
88
88
  playInputExampleArgs
@@ -91,19 +91,18 @@ import "./chunk-UBKA33KY.mjs";
91
91
  import {
92
92
  checkPlayRunCompatibility,
93
93
  usesCliPlayAdmission
94
- } from "./chunk-J75DANZY.mjs";
94
+ } from "./chunk-HAJQGP5V.mjs";
95
95
  import {
96
96
  isCliTraceEnabled,
97
97
  recordCliTrace,
98
98
  resolveCliMaintenancePolicy,
99
99
  traceCliSpan
100
- } from "./chunk-DWPY6ZID.mjs";
101
- import "./chunk-DFJODFMC.mjs";
100
+ } from "./chunk-DUYAMLOC.mjs";
101
+ import "./chunk-XJD2GYUP.mjs";
102
102
  import {
103
103
  createCliProgress,
104
104
  getActiveCliProgress
105
- } from "./chunk-7R5DAANG.mjs";
106
- import "./chunk-4QELPWUW.mjs";
105
+ } from "./chunk-GF32SBST.mjs";
107
106
  import {
108
107
  formatNonStandardSandboxRuntimeWarning
109
108
  } from "./chunk-5LUF4LAR.mjs";
@@ -123,17 +122,17 @@ import {
123
122
  printJsonError,
124
123
  renderCommandEnvelopeText,
125
124
  shouldEmitJson
126
- } from "./chunk-JWWYLGUT.mjs";
127
- import "./chunk-W5YJYU4G.mjs";
125
+ } from "./chunk-ANUKBZ6W.mjs";
126
+ import "./chunk-3PCYV6ZJ.mjs";
128
127
  import {
129
128
  fetchWithDeploymentProtection
130
- } from "./chunk-RKY4LBX3.mjs";
131
- import "./chunk-QNHHZ63P.mjs";
129
+ } from "./chunk-YRLAUGQY.mjs";
130
+ import "./chunk-CQBIO6HW.mjs";
132
131
  import "./chunk-DLIRSHV6.mjs";
133
132
  import {
134
133
  DeeplineError
135
- } from "./chunk-ZPGGW27Q.mjs";
136
- import "./chunk-7CWSAEYS.mjs";
134
+ } from "./chunk-JL2OTMSG.mjs";
135
+ import "./chunk-GHLDCLSC.mjs";
137
136
  import "./chunk-WZYKRD7T.mjs";
138
137
  import {
139
138
  __commonJS,
@@ -4335,7 +4334,7 @@ async function runRunsResumeCommand(runId) {
4335
4334
  "Invalid resume receipt: expected the requested run and a new positive epoch."
4336
4335
  );
4337
4336
  console.log(
4338
- `Resumed run ${result.runId} at epoch ${result.epoch}. Completed calls will be reused; only unfinished work runs.`
4337
+ `Resumed run ${result.runId} at epoch ${result.epoch}. Matching completed operations can be recovered; unfinished or unrecorded work can incur charges.`
4339
4338
  );
4340
4339
  console.log(` inspect: deepline runs get ${result.runId}`);
4341
4340
  return 0;
@@ -4368,7 +4367,7 @@ function isUnambiguousLocalFilePath(value) {
4368
4367
  const trimmed = value.trim();
4369
4368
  return nodePath.posix.isAbsolute(trimmed) || nodePath.win32.isAbsolute(trimmed) || /^\.\.?[\\/]/.test(trimmed) || trimmed.includes("\\");
4370
4369
  }
4371
- function resolveCliFileInput(value, binding, environment = hostFileInputPathEnvironment()) {
4370
+ function resolveCliFileInput(value, binding, environment = hostFileInputPathEnvironment(), packagedFiles) {
4372
4371
  if (typeof value !== "string") return null;
4373
4372
  const trimmed = value.trim();
4374
4373
  if (!trimmed || URL_VALUE.test(trimmed)) return null;
@@ -4387,6 +4386,14 @@ function resolveCliFileInput(value, binding, environment = hostFileInputPathEnvi
4387
4386
  { inputPath: binding.inputPath, path: trimmed, resolved: absolutePath }
4388
4387
  );
4389
4388
  }
4389
+ if (packagedFiles && !packagedFiles.has(trimmed)) {
4390
+ throw new DeeplineError(
4391
+ `Input ${binding.inputPath} is not a readable local file, a URL, or a file packaged with the Play: ${trimmed} (resolved to ${absolutePath}). Pass a readable file path or an https:// URL. No run was created.`,
4392
+ void 0,
4393
+ "PLAY_INPUT_FILE_PREFLIGHT",
4394
+ { inputPath: binding.inputPath, path: trimmed, resolved: absolutePath }
4395
+ );
4396
+ }
4390
4397
  return null;
4391
4398
  }
4392
4399
 
@@ -7216,7 +7223,7 @@ function buildPlayReferenceNotFoundMessage(input) {
7216
7223
  lines.push(
7217
7224
  "",
7218
7225
  "Search visible plays:",
7219
- ` deepline search --type plays ${shellQuote(searchQuery)}`
7226
+ ` deepline search ${shellQuote(searchQuery)}`
7220
7227
  );
7221
7228
  }
7222
7229
  return lines.join("\n");
@@ -7494,6 +7501,15 @@ function sourceGraphMentionsRunPlay(node) {
7494
7501
  (source) => runPlayCallPattern.test(source)
7495
7502
  );
7496
7503
  }
7504
+ function mayBindBareFileName(node, runtimeInput) {
7505
+ const declaresCsvInput = [
7506
+ node.sourceCode,
7507
+ ...Object.values(node.sourceFiles)
7508
+ ].some((source) => /\bCsvInput\b/.test(source));
7509
+ return declaresCsvInput && Object.values(runtimeInput).some(
7510
+ (value) => typeof value === "string" && value.trim() !== "" && !isUrlValue(value)
7511
+ );
7512
+ }
7497
7513
  function isUrlValue(value) {
7498
7514
  return /^[a-z][a-z0-9+.-]*:\/\//i.test(value.trim());
7499
7515
  }
@@ -7620,7 +7636,12 @@ async function stageFileInputArgs(input) {
7620
7636
  runtimeInput: input.runtimeInput,
7621
7637
  bindings: input.bindings,
7622
7638
  codec: NODE_STAGED_FILE_CODEC,
7623
- resolveLocalFile: (value, binding) => resolveCliFileInput(value, binding),
7639
+ resolveLocalFile: (value, binding) => resolveCliFileInput(
7640
+ value,
7641
+ binding,
7642
+ hostFileInputPathEnvironment(),
7643
+ input.packagedFiles
7644
+ ),
7624
7645
  onStaging: (fileCount) => input.progress.phase(
7625
7646
  fileCount === 1 ? "staging input file" : "staging input files"
7626
7647
  )
@@ -9564,7 +9585,7 @@ function formatPlayLogLine(rawLine, state) {
9564
9585
  return null;
9565
9586
  }
9566
9587
  const [, rows, fields2, namespace, cached, pending] = mapStart;
9567
- return `${prefix}map ${namespace}: ${formatInteger(Number(rows))} rows, ${fields2} fields, ${formatInteger(Number(cached))} cached, ${formatInteger(Number(pending))} pending`;
9588
+ return `${prefix}map ${namespace}: ${formatInteger(Number(rows))} rows, ${fields2} fields, ${formatInteger(Number(cached))} rows already satisfied, ${formatInteger(Number(pending))} pending`;
9568
9589
  }
9569
9590
  const mapDone = message.match(
9570
9591
  /^Map completed: (\d+) results \((\d+) executed, (\d+) already satisfied\)$/
@@ -9574,7 +9595,7 @@ function formatPlayLogLine(rawLine, state) {
9574
9595
  return null;
9575
9596
  }
9576
9597
  const [, results, executed, cached] = mapDone;
9577
- return `${prefix}done: ${formatInteger(Number(results))} results, ${formatInteger(Number(executed))} executed, ${formatInteger(Number(cached))} cached`;
9598
+ return `${prefix}done: ${formatInteger(Number(results))} results, ${formatInteger(Number(executed))} executed, ${formatInteger(Number(cached))} rows already satisfied`;
9578
9599
  }
9579
9600
  if (!watchSurfaceReaches(state, classified.provenance, classified.level)) {
9580
9601
  return null;
@@ -9990,7 +10011,7 @@ function buildInsufficientCreditsSummaryLines(input) {
9990
10011
  const lines = [
9991
10012
  " status: stopped_insufficient_credits",
9992
10013
  completed === null ? " completed rows: unknown" : ` completed rows: ${formatInteger(completed)}${total !== null ? ` of ${formatInteger(total)}` : ""}`,
9993
- " completed provider work: reused automatically when you rerun after adding credits"
10014
+ " saved work: resume this run after adding credits to recover matching completed operations; unfinished work can incur charges"
9994
10015
  ];
9995
10016
  const billingUrl = getStringField(input.billing, "billing_url");
9996
10017
  const recommended = formatCreditAmount2(
@@ -10494,7 +10515,7 @@ function formatRunStepProgress(progress, includeRowOutcomes = false) {
10494
10515
  executed === null ? `executed unknown${!includeRowOutcomes || total === null ? "" : ` (${formatInteger(total)} total)`}` : `${formatInteger(executed)}${total === null ? "" : `/${formatInteger(total)}`} executed`
10495
10516
  ];
10496
10517
  for (const [key, label] of [
10497
- ["reused", "reused"],
10518
+ ["reused", "duplicate rows reused"],
10498
10519
  ["skipped", "skipped"],
10499
10520
  ["pending", "remaining"],
10500
10521
  ["activeRows", "rows processing"],
@@ -10547,7 +10568,7 @@ function formatPackageDatasetActionLines(packaged, options) {
10547
10568
  } else if (includeSummary) {
10548
10569
  if (category === "recovered" && Object.keys(actions2).length === 0) {
10549
10570
  lines.push(
10550
- ` dataset ${path}: available, ${rowCount === null ? "persisted" : formatInteger(rowCount)} rows persisted; re-running reuses completed work`
10571
+ ` dataset ${path}: available, ${rowCount === null ? "unknown number of" : formatInteger(rowCount)} rows persisted; inspect or export before resuming unfinished work`
10551
10572
  );
10552
10573
  } else {
10553
10574
  lines.push(
@@ -10598,11 +10619,25 @@ function formatPackageDatasetActionLines(packaged, options) {
10598
10619
  return lines;
10599
10620
  }
10600
10621
  function packageSavedRowCount(packaged) {
10601
- const rowCounts = packageDatasetRecords(packaged).map((dataset) => dataset.rowCount).filter(
10602
- (rowCount) => typeof rowCount === "number" && Number.isFinite(rowCount)
10603
- ).map((rowCount) => Math.max(0, Math.trunc(rowCount)));
10604
- if (rowCounts.length === 0) return null;
10605
- return rowCounts.reduce((total, rowCount) => total + rowCount, 0);
10622
+ const datasets = packageDatasetRecords(packaged);
10623
+ if (datasets.length === 0) return null;
10624
+ let total = 0;
10625
+ for (const dataset of datasets) {
10626
+ const rowCount = readNonNegativeInteger(dataset.rowCount);
10627
+ if (rowCount === null || readRecord(dataset.lifecycle)?.complete === false)
10628
+ return null;
10629
+ total += rowCount;
10630
+ }
10631
+ return total;
10632
+ }
10633
+ function formatRunRecoveryCommandLines(runId, status) {
10634
+ if (!["failed", "cancelled"].includes(status) || !runId || runId === "unknown")
10635
+ return [];
10636
+ return [
10637
+ ` Resume same run (recommended, if eligible): deepline runs resume ${shellQuote(runId)}`,
10638
+ ` Start over instead (new run; may repeat paid calls): deepline plays run --from-run ${shellQuote(runId)}`,
10639
+ "Resume can reuse matching saved operations, even with staleAfterSeconds: 0. New runs reuse matching cached results within staleAfterSeconds (0 means fresh). Fresh, missing, or unrecorded calls may charge again."
10640
+ ];
10606
10641
  }
10607
10642
  function runtimeLimitWindowLabel(runtimeLimitFailure) {
10608
10643
  const message = getStringField(runtimeLimitFailure, "message") ?? "";
@@ -10625,22 +10660,12 @@ function runtimeLimitWindowLabel(runtimeLimitFailure) {
10625
10660
  function runtimeLimitCheckpointLines(packaged, runId, runtimeLimitFailure) {
10626
10661
  const savedRows = packageSavedRowCount(packaged);
10627
10662
  const lines = [
10628
- `\u2713 progress saved ${runId}`,
10629
- "",
10630
- `The Play reached its ${runtimeLimitWindowLabel(runtimeLimitFailure)} runtime window.`
10663
+ `\u2717 runtime limit reached (${runtimeLimitWindowLabel(runtimeLimitFailure)}) ${runId}`,
10664
+ `Saved Dataset rows: ${savedRows === null ? "unknown" : formatInteger(savedRows)}`
10631
10665
  ];
10632
- if (savedRows === null) {
10633
- lines.push("Progress completed before the runtime window closed.");
10634
- } else {
10635
- lines.push(
10636
- `${formatInteger(savedRows)} ${savedRows === 1 ? "row was" : "rows were"} saved successfully.`
10637
- );
10666
+ if (packageDatasetRecords(packaged).length === 0 && formatPackageValueOutputLines(packaged).length === 0) {
10667
+ lines.push("Rows kept only in memory were not published.");
10638
10668
  }
10639
- lines.push(
10640
- "",
10641
- "Run the same Play again to continue where you left off.",
10642
- "Completed work will be reused automatically."
10643
- );
10644
10669
  return lines;
10645
10670
  }
10646
10671
  function formatInlinePackageValue(value) {
@@ -10993,7 +11018,6 @@ function buildRunPackageTextLines(packaged) {
10993
11018
  (dataset) => Boolean(actionToCommand(readRecord(dataset.actions)?.exportCsv))
10994
11019
  );
10995
11020
  const legacyExportCommand = hasCatalogExportAction ? null : actionToCommand(next.export);
10996
- const runAgainCommand = typeof next.run === "string" && next.run.trim() ? next.run.trim() : null;
10997
11021
  if (inspectCommand) lines.push(` inspect: ${inspectCommand}`);
10998
11022
  if (fullResultCommand)
10999
11023
  lines.push(
@@ -11003,9 +11027,11 @@ function buildRunPackageTextLines(packaged) {
11003
11027
  if (legacyExportCommand) {
11004
11028
  lines.push(` export CSV: ${legacyExportCommand}`);
11005
11029
  }
11006
- if (runAgainCommand && !isRuntimeLimitCheckpoint) {
11007
- lines.push(" run again (completed work is reused):");
11008
- lines.push(` ${runAgainCommand}`);
11030
+ lines.push(...formatRunRecoveryCommandLines(runId, status));
11031
+ if (status === "failed" || status === "cancelled") {
11032
+ lines.push(
11033
+ "Dataset reuse counts do not measure all tool or child-Play reuse."
11034
+ );
11009
11035
  }
11010
11036
  return lines;
11011
11037
  }
@@ -11131,7 +11157,7 @@ function buildPlayCompletionTextLines(status) {
11131
11157
  }
11132
11158
  if (overview.errorDetails.run)
11133
11159
  lines.push(
11134
- `Error: ${truncateErrorForDisplay(overview.errorDetails.run, run.id)}`
11160
+ `Error: ${readRecordArray(overview.errorDetails.reported).some((failure) => failure.code === "RUNTIME_LIMIT_EXCEEDED") ? "Runtime limit reached." : truncateErrorForDisplay(overview.errorDetails.run, run.id)}`
11135
11161
  );
11136
11162
  if (Object.hasOwn(overview, "result")) {
11137
11163
  lines.push(
@@ -11162,8 +11188,14 @@ function buildPlayCompletionTextLines(status) {
11162
11188
  overview.actions.getLogsCmd ?? `deepline runs logs ${shellQuote(run.id)}`
11163
11189
  )}`
11164
11190
  );
11165
- if (failed && status.rerunCommand)
11166
- lines.push(`Retry: ${status.rerunCommand}`);
11191
+ if (failed && overview.datasets.length === 0 && !Object.hasOwn(overview, "result")) {
11192
+ lines.push(
11193
+ "No Dataset output is listed. Rows kept only in memory were not published."
11194
+ );
11195
+ }
11196
+ if (failed || run.status === "cancelled") {
11197
+ lines.push(...formatRunRecoveryCommandLines(run.id, run.status));
11198
+ }
11167
11199
  return lines;
11168
11200
  }
11169
11201
  function writePlayResult(status, jsonOutput, options) {
@@ -11222,10 +11254,9 @@ function writePlayResult(status, jsonOutput, options) {
11222
11254
  );
11223
11255
  if (status.status === "failed") {
11224
11256
  lines.push(` failed logs: deepline runs logs ${runId} --failed`);
11225
- if (status.rerunCommand) {
11226
- lines.push(" run again (completed work is reused):");
11227
- lines.push(` ${status.rerunCommand}`);
11228
- }
11257
+ }
11258
+ if (publicStatus === "failed" || publicStatus === "cancelled") {
11259
+ lines.push(...formatRunRecoveryCommandLines(runId, publicStatus));
11229
11260
  }
11230
11261
  const renderedServerView = renderServerResultView(status.resultView);
11231
11262
  if (result) {
@@ -12714,7 +12745,7 @@ async function handleFileBackedRun(options, hooks) {
12714
12745
  playName: graph.root.playName ?? await extractPlayName(sourceCode, absolutePlayPath),
12715
12746
  maxTotalCredits: options.maxTotalCredits
12716
12747
  });
12717
- const canDeferCompilerManifest = graph.root.importedPlayDependencies.length === 0 && !sourceGraphMentionsRunPlay(graph.root) && !inputContainsLocalFilePath(runtimeInput);
12748
+ const canDeferCompilerManifest = graph.root.importedPlayDependencies.length === 0 && !sourceGraphMentionsRunPlay(graph.root) && !inputContainsLocalFilePath(runtimeInput) && !mayBindBareFileName(graph.root, runtimeInput);
12718
12749
  if (canDeferCompilerManifest) {
12719
12750
  recordCliTrace({
12720
12751
  phase: "cli.play_file_compile_manifests",
@@ -12777,7 +12808,10 @@ async function handleFileBackedRun(options, hooks) {
12777
12808
  client,
12778
12809
  runtimeInput,
12779
12810
  bindings: fileInputBindings,
12780
- progress
12811
+ progress,
12812
+ packagedFiles: new Set(
12813
+ bundleResult.packagedFiles.map((file) => file.logicalPath)
12814
+ )
12781
12815
  })
12782
12816
  );
12783
12817
  const integrationMode = resolveEvalIntegrationMode();
@@ -13407,6 +13441,10 @@ function formatRunFactLines(value) {
13407
13441
  }
13408
13442
  function renderRunOverviewText(overview, extras = {}) {
13409
13443
  const { run } = overview;
13444
+ const reportedErrors = readRecordArray(overview.errorDetails.reported);
13445
+ const isRuntimeLimit = reportedErrors.some(
13446
+ (failure) => failure.code === "RUNTIME_LIMIT_EXCEEDED"
13447
+ );
13410
13448
  const runLabel = runExecutionLabel(
13411
13449
  deriveRunExecutionState({
13412
13450
  status: run.status,
@@ -13442,8 +13480,15 @@ function renderRunOverviewText(overview, extras = {}) {
13442
13480
  if (retries) lines.push(` retries: ${formatRunRetrySummary(retries)}`);
13443
13481
  else if (run.retriesUnavailableReason)
13444
13482
  lines.push(` retries: unavailable (${run.retriesUnavailableReason})`);
13445
- if (run.error) lines.push(` error: ${run.error}`);
13483
+ if (run.error)
13484
+ lines.push(
13485
+ ` error: ${isRuntimeLimit ? "Runtime limit reached." : run.error}`
13486
+ );
13446
13487
  for (const warning of overview.warnings) lines.push(` warning: ${warning}`);
13488
+ if ((run.status === "failed" || run.status === "cancelled") && overview.datasets.length === 0 && !Object.hasOwn(overview, "result")) {
13489
+ lines.push("Rows kept only in memory were not published.");
13490
+ }
13491
+ lines.push(...formatRunRecoveryCommandLines(run.id, run.status));
13447
13492
  const sections = [];
13448
13493
  const jsonLines = (value) => (JSON.stringify(value, null, 2) ?? "unavailable").split("\n");
13449
13494
  if (overview.steps.length)
@@ -13464,10 +13509,14 @@ function renderRunOverviewText(overview, extras = {}) {
13464
13509
  (step) => `${step.stepId}: ${step.label}${step.message ? ` \u2014 ${step.message}` : ""}`
13465
13510
  )
13466
13511
  });
13467
- if (Array.isArray(overview.errorDetails.reported) && overview.errorDetails.reported.length)
13512
+ if (reportedErrors.some((failure) => failure.code !== "RUNTIME_LIMIT_EXCEEDED"))
13468
13513
  sections.push({
13469
13514
  title: "Reported errors",
13470
- lines: formatRunFactLines(overview.errorDetails.reported)
13515
+ lines: formatRunFactLines(
13516
+ reportedErrors.filter(
13517
+ (failure) => failure.code !== "RUNTIME_LIMIT_EXCEEDED"
13518
+ )
13519
+ )
13471
13520
  });
13472
13521
  if (overview.rowOutcomes)
13473
13522
  sections.push({
@@ -15168,23 +15217,19 @@ async function handlePlayVersions(args) {
15168
15217
  return 0;
15169
15218
  }
15170
15219
  function formatPlayCostEstimate(estimate) {
15171
- const computeSummary = estimate?.compute ? `; ${estimate.status === "available" && estimate.source === "observed" ? "observed Deepline total includes usage-based compute; per-session ceiling" : "separate Deepline compute is usage-based; per-session ceiling"} across ${estimate.compute.pricedBackends.map(formatSandboxBackend).join(" and ")}: ${formatCredits(estimate.compute.maximumCredits)} credits (${formatSandboxBackend(estimate.compute.maximumBackend)} is highest; ${formatCredits(estimate.compute.maximumBillingSeconds)}s; total session count unbounded)` : "";
15172
15220
  if (!estimate || estimate.status === "unavailable") {
15173
- return `unavailable${estimate ? `: ${estimate.message}${computeSummary}` : ""}`;
15221
+ return `unavailable${estimate ? `: ${estimate.message}` : ""}`;
15174
15222
  }
15175
15223
  const credits = estimate.lowCredits === estimate.highCredits ? `${estimate.source === "observed" ? "~" : ""}${formatCredits(estimate.lowCredits)}` : `${formatCredits(estimate.lowCredits)}\u2013${formatCredits(estimate.highCredits)}`;
15176
15224
  const unit = estimate.unit === "row" ? "output row" : "run";
15177
15225
  const source = estimate.source === "observed" ? `observed from ${estimate.sampleRunCount} ${estimate.sampleRunCount === 1 ? "run" : "runs"}` : "static estimate";
15178
- return `${credits} Deepline credits per ${unit} (${source})${computeSummary}`;
15226
+ return `${credits} Deepline credits per ${unit} (${source})`;
15179
15227
  }
15180
15228
  function formatCredits(value) {
15181
15229
  return value.toLocaleString("en-US", {
15182
15230
  maximumFractionDigits: value < 1 ? 4 : 2
15183
15231
  });
15184
15232
  }
15185
- function formatSandboxBackend(backend) {
15186
- return backend === "daytona" ? "Daytona" : "Modal";
15187
- }
15188
15233
  var PREBUILT_PLAY_TAG_KEYS = [
15189
15234
  "smb",
15190
15235
  "find-prospects",
@@ -16124,7 +16169,7 @@ Authoring:
16124
16169
  Play work unless the caller explicitly asks to leave the inferred graph.
16125
16170
 
16126
16171
  Common commands:
16127
- deepline search "name and company domain -> work email" --type prebuilts
16172
+ deepline search "name and company domain -> work email"
16128
16173
  deepline describe prebuilt/person-linkedin-to-email
16129
16174
  deepline plays check prebuilt/name-and-domain-to-email-waterfall-batch
16130
16175
  deepline run prebuilt/person-linkedin-to-email --input '{"linkedin_url":"..."}'
@@ -16577,7 +16622,7 @@ Notes:
16577
16622
  Examples:
16578
16623
  deepline plays list
16579
16624
  deepline plays list --tag smb
16580
- deepline search "name and company domain -> work email" --type prebuilts
16625
+ deepline search "name and company domain -> work email"
16581
16626
  `
16582
16627
  ).option("--limit <count>", "Page size").option("--cursor <cursor>", "Continue a previous page").option("--show-cost", "Include the per-row or per-run cost estimate").option(
16583
16628
  "--summary",
@@ -16652,7 +16697,7 @@ Examples:
16652
16697
  });
16653
16698
  registerDeprecatedSearchCommand(
16654
16699
  play,
16655
- (options) => options.all ? ["plays"] : ["prebuilts"]
16700
+ (options) => options.all ? ["prebuilts", "custom"] : ["prebuilts"]
16656
16701
  );
16657
16702
  play.command("grep <query>").description(
16658
16703
  "Search active org-owned Plays through Convex full-text search."
@@ -16704,7 +16749,7 @@ Examples:
16704
16749
  process.exitCode = await ownView();
16705
16750
  return;
16706
16751
  }
16707
- const { describeAnything } = await import("./describe-AWJUXE2U.mjs");
16752
+ const { describeAnything } = await import("./describe-IKZFOADR.mjs");
16708
16753
  process.exitCode = await describeAnything(
16709
16754
  name,
16710
16755
  {
@@ -17047,7 +17092,7 @@ Examples:
17047
17092
  new Option2("--log-failed", "Attach terminal-failure logs").hideHelp()
17048
17093
  ).action(async (runId, options) => {
17049
17094
  if (TOOL_EXECUTION_ID.test(runId)) {
17050
- const { getToolExecutionReceipt } = await import("./tools-CDPOID7V.mjs");
17095
+ const { getToolExecutionReceipt } = await import("./tools-52NTHBSJ.mjs");
17051
17096
  process.exitCode = await getToolExecutionReceipt(runId, {
17052
17097
  receiptJson: options.json !== void 0
17053
17098
  });
@@ -17111,7 +17156,9 @@ Examples:
17111
17156
  `
17112
17157
  Notes:
17113
17158
  Continues the same run id with its original input and pinned revision.
17114
- Completed calls are reused; only work the run had not finished runs.
17159
+ Matching completed operations can be recovered, even when their calls used
17160
+ staleAfterSeconds: 0. Unfinished or unrecorded work can incur charges.
17161
+ Dataset reuse counts do not measure all work available to resume.
17115
17162
  A run can be resumed for 14 days after it stops. To start over as a new
17116
17163
  run instead, use deepline plays run --from-run <run-id>.
17117
17164
  The server refuses while the run is still active, while its last attempt