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
@@ -1,5 +1,5 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
- import { v as PlayCompilerManifest, ao as ToolResultBilling, D as DeeplineError, u as PlaySandboxRuntimeDeclaration, B as BillingEntitlements, I as IncludedCompute, aq as BillingBenefitValues } from './compiler-manifest-DsxsQP-T.mjs';
2
+ import { v as PlayCompilerManifest, ao as ToolResultBilling, D as DeeplineError, u as PlaySandboxRuntimeDeclaration, B as BillingEntitlements, I as IncludedCompute, aq as BillingBenefitValues } from './compiler-manifest-BHNC4RL-.mjs';
3
3
  import { z } from 'zod';
4
4
  import { MonitorFleetDefinition } from './monitor-fleet-contract.mjs';
5
5
 
@@ -540,6 +540,11 @@ type PlayActivityTarget = {
540
540
  kind: 'capacity';
541
541
  pool: 'worker' | 'provider' | 'dataset' | 'runner';
542
542
  label?: string;
543
+ /**
544
+ * The concurrent-run limit the workspace reached. Optional: absent on
545
+ * observations written before it existed and on other capacity pools.
546
+ */
547
+ limit?: number;
543
548
  };
544
549
  type PlayActivityProgress = {
545
550
  completed?: number;
@@ -3217,7 +3222,8 @@ interface PlayRuntimeLimit {
3217
3222
  */
3218
3223
  type PrebuiltPlayObservedCost = {
3219
3224
  status: 'available';
3220
- unit: 'row' | 'run';
3225
+ /** `result`: per row of the dataset the Play returns. */
3226
+ unit: 'result' | 'row' | 'run';
3221
3227
  avgCredits: number;
3222
3228
  maxCredits: number;
3223
3229
  /** Null until enough runs exist for a median to mean something. */
@@ -3381,33 +3387,11 @@ type PlayCostEstimate = {
3381
3387
  sampleRunCount: number;
3382
3388
  basedOnRunId: string | null;
3383
3389
  modelVersion: string;
3384
- compute?: {
3385
- scope: 'sandbox_session';
3386
- maximumCredits: number;
3387
- maximumBillingSeconds: number;
3388
- maximumBackend: 'daytona' | 'modal';
3389
- pricedBackends: Array<'daytona' | 'modal'>;
3390
- totalPlayCredits: null;
3391
- totalPlayCreditsSupported: false;
3392
- actualUsageBased: true;
3393
- totalSandboxSessions: 'unbounded';
3394
- };
3395
3390
  } | {
3396
3391
  status: 'unavailable';
3397
3392
  reason: 'ambiguous_output_unit' | 'unbounded_loop' | 'unresolved_tool' | 'unresolved_call_graph' | 'mixed_run_and_row_costs';
3398
3393
  message: string;
3399
3394
  modelVersion: string;
3400
- compute?: {
3401
- scope: 'sandbox_session';
3402
- maximumCredits: number;
3403
- maximumBillingSeconds: number;
3404
- maximumBackend: 'daytona' | 'modal';
3405
- pricedBackends: Array<'daytona' | 'modal'>;
3406
- totalPlayCredits: null;
3407
- totalPlayCreditsSupported: false;
3408
- actualUsageBased: true;
3409
- totalSandboxSessions: 'unbounded';
3410
- };
3411
3395
  };
3412
3396
  interface PlayListItem {
3413
3397
  settings?: PlaySettings;
@@ -4872,7 +4856,10 @@ type FileInputBinding = {
4872
4856
  * is staged without parsing its contents.
4873
4857
  */
4874
4858
  declare const CSV_DATA_INPUT_KEY = "csv";
4875
- /** The `csvInput` binding a `CsvInput<Row>` field compiles to. */
4859
+ /**
4860
+ * The bindings `CsvInput<Row>` fields compile to: `csvInput` names the first,
4861
+ * and `csvInputFields` (present when a Play declares more than one) lists all.
4862
+ */
4876
4863
  declare function fileInputBindingsFromPlaySchema(inputSchema: Record<string, unknown> | null | undefined): FileInputBinding[];
4877
4864
  /** Every input field read by an authored `ctx.csv(input.x)` call. */
4878
4865
  declare function fileInputBindingsFromStaticPipeline(staticPipeline: unknown): FileInputBinding[];
@@ -6545,6 +6532,8 @@ type BillingSubscriptionStatus = {
6545
6532
  org_id: string;
6546
6533
  plan_version_id: string;
6547
6534
  plan_name: string;
6535
+ /** Customer-facing catalog name. Older API deployments may omit it. */
6536
+ plan_display_name?: string;
6548
6537
  plan_family_id: string;
6549
6538
  /** Whether a Stripe subscription backs the active plan. */
6550
6539
  subscribed: boolean;
@@ -6609,12 +6598,18 @@ type TargetBillingOperation = {
6609
6598
  type TargetBillingPlan = {
6610
6599
  sku: 'payg-v1' | 'builder-v1' | 'growth-v1' | 'growth-canary-v1' | 'team-v1' | 'team-v2' | 'legacy-growth-v1';
6611
6600
  name: string;
6601
+ display_name?: string;
6612
6602
  recurring_price_usd: number;
6613
6603
  /**
6614
6604
  * The first month's fee for switching to this plan when a first-month
6615
6605
  * discount is offered; null or absent means the list price.
6616
6606
  */
6617
6607
  first_month_price_usd?: number | null;
6608
+ /**
6609
+ * One-time credits granted when a new transition to this plan is paid;
6610
+ * null or absent when none are offered.
6611
+ */
6612
+ bonus_credits?: number | null;
6618
6613
  interval: 'month' | 'year';
6619
6614
  included_credits: number;
6620
6615
  /** Offered benefit terms; omitted by older API deployments. */
@@ -6627,14 +6622,23 @@ type TargetBillingPlansResult = {
6627
6622
  plans: TargetBillingPlan[];
6628
6623
  current_plan_sku: string;
6629
6624
  pending_plan_sku: string | null;
6625
+ pending_plan_display_name?: string | null;
6630
6626
  acquisition_enabled: boolean;
6631
6627
  enabled_offer_keys: TargetBillingPlan['sku'][];
6628
+ /** The requested promo code's outcome; null or absent when none was sent. */
6629
+ promo_code?: {
6630
+ code: string;
6631
+ status: 'applied' | 'unknown' | 'expired' | 'already_redeemed' | 'unavailable';
6632
+ plan_skus: string[];
6633
+ expires_at: string | null;
6634
+ } | null;
6632
6635
  };
6633
6636
  type TargetBillingStatusResult = {
6634
6637
  org_id: string;
6635
6638
  plan: {
6636
6639
  sku: string;
6637
6640
  name: string;
6641
+ display_name?: string;
6638
6642
  recurring_price_usd: number | null;
6639
6643
  interval: string | null;
6640
6644
  included_credits: number | null;
@@ -6669,12 +6673,52 @@ type TargetBillingStatusResult = {
6669
6673
  } | null;
6670
6674
  next_action: string | null;
6671
6675
  pending_plan_sku: string | null;
6676
+ pending_plan_display_name?: string | null;
6672
6677
  /** Saved transition boundary; optional for older servers. */
6673
6678
  pending_plan_starts_at?: string | null;
6674
6679
  /** Next cycle boundary from the current Contract’s retained cadence. */
6675
6680
  current_period_end?: string | null;
6676
6681
  as_of: string | null;
6677
6682
  };
6683
+ /** One saved card of the workspace. `id` is opaque; no provider id is exposed. */
6684
+ type BillingSavedCard = {
6685
+ id: string;
6686
+ /** `legacy_source` cards stay usable but cannot be chosen or removed. */
6687
+ kind: 'card' | 'link' | 'legacy_source';
6688
+ brand: string | null;
6689
+ last4: string | null;
6690
+ exp_month: number | null;
6691
+ exp_year: number | null;
6692
+ label: string;
6693
+ /** The card charged for top-ups, auto top-up and invoices. */
6694
+ is_default: boolean;
6695
+ expired: boolean;
6696
+ can_be_default: boolean;
6697
+ removable: boolean;
6698
+ /** A subscription that can still charge is bound to this card. */
6699
+ in_use_by_subscription?: boolean;
6700
+ /** Set on the default only; a top-up confirmation is bound to it. */
6701
+ confirmation_fingerprint: string | null;
6702
+ };
6703
+ type BillingSavedCardsResult = {
6704
+ org_id: string;
6705
+ cards: BillingSavedCard[];
6706
+ has_more: boolean;
6707
+ /** Pass as `cursor` for the next page. */
6708
+ next_cursor: string | null;
6709
+ };
6710
+ /** A change that took effect, with the cards as they now stand. */
6711
+ type BillingSavedCardChangeResult = BillingSavedCardsResult & {
6712
+ ok: true;
6713
+ outcome: 'applied';
6714
+ /** Send again to retry this same request. */
6715
+ change_id: string;
6716
+ };
6717
+ type BillingSavedCardChangeOptions = {
6718
+ cardId: string;
6719
+ /** A UUID. Reusing it retries the same request instead of making a new one. */
6720
+ changeId?: string;
6721
+ };
6678
6722
  type TargetAutoRechargeResult = {
6679
6723
  org_id: string;
6680
6724
  enabled: boolean;
@@ -6708,8 +6752,10 @@ type TargetBillingMutationResult = {
6708
6752
  };
6709
6753
  type TargetBillingPlanTransitionOptions = {
6710
6754
  action: 'start_or_change';
6711
- targetPlanSku: 'payg-v1' | 'builder-v1' | 'growth-v1' | 'growth-canary-v1' | 'team-v1';
6755
+ targetPlanSku: 'payg-v1' | 'builder-v1' | 'growth-v1' | 'growth-canary-v1' | 'team-v1' | 'team-v2';
6712
6756
  billingEmail?: string;
6757
+ /** A plan promo code; an unknown, expired, or used code refuses the change. */
6758
+ promoCode?: string;
6713
6759
  idempotencyKey: string;
6714
6760
  } | {
6715
6761
  action: 'cancel' | 'undo_cancel';
@@ -6762,6 +6808,7 @@ type BillingPlanEntry = {
6762
6808
  plan_family_id: string;
6763
6809
  plan_version_id: string;
6764
6810
  public_name: string;
6811
+ display_name?: string;
6765
6812
  price_usd: number | null;
6766
6813
  price_interval: string | null;
6767
6814
  monthly_grant_credits: number;
@@ -6784,6 +6831,7 @@ type BillingActivePlan = {
6784
6831
  plan_family_id: string;
6785
6832
  plan_version_id: string;
6786
6833
  public_name: string;
6834
+ display_name?: string;
6787
6835
  rate_card_id: string;
6788
6836
  assigned_by: string;
6789
6837
  assigned_at: string | null;
@@ -7093,7 +7141,9 @@ type BillingNamespace = {
7093
7141
  /** Read current billing usage, or look up one exact execution charge by request ID. */
7094
7142
  usage: (options?: BillingUsageOptions) => Promise<BillingUsageResult>;
7095
7143
  /** Metronome-authored target catalog and current Contract projection. */
7096
- targetPlans: () => Promise<TargetBillingPlansResult>;
7144
+ targetPlans: (options?: {
7145
+ promoCode?: string;
7146
+ }) => Promise<TargetBillingPlansResult>;
7097
7147
  /** Normalized target billing state. */
7098
7148
  targetStatus: () => Promise<TargetBillingStatusResult>;
7099
7149
  /** Read and manage the Metronome-backed automatic recharge configuration. */
@@ -7109,6 +7159,27 @@ type BillingNamespace = {
7109
7159
  }>;
7110
7160
  update: (options: TargetAutoRechargeUpdateOptions) => Promise<TargetAutoRechargeResult>;
7111
7161
  };
7162
+ /** List and manage the workspace's saved cards. */
7163
+ cards: {
7164
+ list: (options?: {
7165
+ limit?: number;
7166
+ cursor?: string;
7167
+ }) => Promise<BillingSavedCardsResult>;
7168
+ /**
7169
+ * Start adding a card on Stripe's hosted page. The current default is
7170
+ * kept unless `makeDefault` is true; with no saved card yet, the new card
7171
+ * becomes the default either way.
7172
+ */
7173
+ add: (options?: {
7174
+ makeDefault?: boolean;
7175
+ }) => Promise<{
7176
+ checkout_url: string;
7177
+ }>;
7178
+ /** Use this card for every later top-up, auto top-up and invoice. */
7179
+ setDefault: (options: BillingSavedCardChangeOptions) => Promise<BillingSavedCardChangeResult>;
7180
+ /** Remove a card that is not the default. */
7181
+ remove: (options: BillingSavedCardChangeOptions) => Promise<BillingSavedCardChangeResult>;
7182
+ };
7112
7183
  /** Buy Deepline credits through a payment-gated Metronome commit. */
7113
7184
  purchaseCredits: (options: {
7114
7185
  credits: number;
@@ -7153,43 +7224,6 @@ type BillingQuoteResult = {
7153
7224
  plan_version_id: string;
7154
7225
  rate_card_id: string;
7155
7226
  };
7156
- type HostedPage = {
7157
- id: string;
7158
- name: string;
7159
- url: string;
7160
- description: string | null;
7161
- allowed_origins?: string[];
7162
- public: boolean;
7163
- state: 'active' | 'deleting';
7164
- has_document: boolean;
7165
- content_type: string | null;
7166
- size_bytes: number | null;
7167
- revision: number;
7168
- created_at: number;
7169
- updated_at: number;
7170
- last_written_by_run_id: string | null;
7171
- };
7172
- type HostedPageList = {
7173
- pages: HostedPage[];
7174
- next_cursor: string | null;
7175
- page_limit: number;
7176
- /** Whether this workspace may publish pages anyone can open. */
7177
- public_allowed: boolean;
7178
- };
7179
- type HostedPageWriteResult = {
7180
- name: string;
7181
- url: string;
7182
- public: boolean;
7183
- revision: number;
7184
- created: boolean;
7185
- warnings: string[];
7186
- };
7187
- type HostedPageLink = {
7188
- id: string;
7189
- label: string | null;
7190
- expires_at: number | null;
7191
- created_at: number;
7192
- };
7193
7227
  type ViewAccess = 'workspace' | 'public';
7194
7228
  type View = {
7195
7229
  id: string;
@@ -7219,6 +7253,19 @@ type ViewRunSummary = {
7219
7253
  created_at: number;
7220
7254
  finished_at: number | null;
7221
7255
  };
7256
+ /** A link that opens one view for whoever holds it, until it expires or is revoked. */
7257
+ type ViewShareLink = {
7258
+ id: string;
7259
+ label: string | null;
7260
+ created_by_user_id: string;
7261
+ created_at: number;
7262
+ expires_at: number | null;
7263
+ revoked_at: number | null;
7264
+ /** Addresses Deepline emailed the link to when it was created. */
7265
+ sent_to: string[];
7266
+ status: 'active' | 'expired' | 'revoked';
7267
+ };
7268
+ type ViewShareLinkExpiry = '1d' | '7d' | '30d' | 'never';
7222
7269
  type ViewPermissionLevel = 'members' | 'admins';
7223
7270
  type ViewPermissionRules = {
7224
7271
  create: ViewPermissionLevel;
@@ -7274,48 +7321,6 @@ declare class DeeplineClient {
7274
7321
  constructor(config: ResolvedConfig, http: HttpClient, explicitTimeout?: number);
7275
7322
  /** The resolved base URL this client is targeting (e.g. `"http://localhost:3000"`). */
7276
7323
  get baseUrl(): string;
7277
- /** List this workspace's hosted pages, newest update first. */
7278
- listPages(input?: {
7279
- cursor?: string;
7280
- limit?: number;
7281
- }): Promise<HostedPageList>;
7282
- /** Read one hosted page's metadata. */
7283
- getPage(name: string): Promise<HostedPage>;
7284
- /** Replace a page's whole content. `public` says who the write is for. */
7285
- writePage(name: string, input: {
7286
- public: boolean;
7287
- contentBase64: string;
7288
- contentType: string;
7289
- description?: string;
7290
- }): Promise<HostedPageWriteResult>;
7291
- /** Delete a page, its content, and its links. Safe to repeat. */
7292
- deletePage(name: string): Promise<{
7293
- name: string;
7294
- deleted: boolean;
7295
- }>;
7296
- /** Replace the origins allowed to read this page in a browser when public. */
7297
- setPageAllowedOrigins(name: string, origins: string[]): Promise<{
7298
- allowed_origins: string[];
7299
- }>;
7300
- /** The explicit way to change who can see an existing page. */
7301
- setPageVisibility(name: string, isPublic: boolean): Promise<HostedPage>;
7302
- /** List a page's links. Their URLs cannot be shown again. */
7303
- listPageLinks(name: string): Promise<{
7304
- links: HostedPageLink[];
7305
- }>;
7306
- /** The returned URL is shown once. Either expiry or `permanent` is required. */
7307
- createPageLink(name: string, input: {
7308
- expiresInSeconds?: number;
7309
- permanent?: boolean;
7310
- label?: string;
7311
- }): Promise<HostedPageLink & {
7312
- url: string;
7313
- }>;
7314
- /** Stop a link working. Safe to repeat. */
7315
- revokePageLink(name: string, linkId: string): Promise<{
7316
- id: string;
7317
- revoked: boolean;
7318
- }>;
7319
7324
  /** List this workspace's views, most recently changed first. */
7320
7325
  listViews(input?: {
7321
7326
  cursor?: string;
@@ -7342,6 +7347,29 @@ declare class DeeplineClient {
7342
7347
  }): Promise<View>;
7343
7348
  /** Who can open a view: workspace members, or anyone with its URL. */
7344
7349
  setViewAccess(id: string, access: ViewAccess): Promise<View>;
7350
+ /** The view's share links, newest first. Their tokens are never returned. */
7351
+ listViewShareLinks(id: string): Promise<{
7352
+ links: ViewShareLink[];
7353
+ }>;
7354
+ /**
7355
+ * Create a share link. `url` in the result is the only copy of the link;
7356
+ * keep it. With `emails`, Deepline also emails it to those people, except
7357
+ * `not_emailed` addresses that bounced or complained before. One
7358
+ * Idempotency-Key per call, so a retried request returns the same link
7359
+ * (with `url: null`) instead of making and emailing a second one.
7360
+ */
7361
+ createViewShareLink(id: string, input: {
7362
+ expires: ViewShareLinkExpiry;
7363
+ label?: string;
7364
+ emails?: string[];
7365
+ }): Promise<ViewShareLink & {
7366
+ url: string | null;
7367
+ not_emailed: string[];
7368
+ repeated?: boolean;
7369
+ message?: string;
7370
+ }>;
7371
+ /** Revoke a share link. It stops opening the view at once. */
7372
+ revokeViewShareLink(id: string, linkId: string): Promise<ViewShareLink>;
7345
7373
  /** Every run of the view's Play, newest first. */
7346
7374
  listViewRuns(id: string, input?: {
7347
7375
  limit?: number;
@@ -8166,6 +8194,14 @@ declare class DeeplineClient {
8166
8194
  private requestPlaysPage;
8167
8195
  /** Read definition-level settings, independently of code revisions. */
8168
8196
  getPlaySettings(playName: string): Promise<PlaySettingsResult>;
8197
+ /** Register an editing attempt so the author's open working canvas can show a rejected save. */
8198
+ beginWorkingPlaySave(playName: string): Promise<{
8199
+ attemptId: string;
8200
+ }>;
8201
+ /** Report a save outcome for that specific editing attempt. */
8202
+ finishWorkingPlaySave(playName: string, attemptId: string, action: 'invalid_source' | 'saved'): Promise<{
8203
+ accepted: boolean;
8204
+ }>;
8169
8205
  /** Retry-safe field patch; omitted fields retain their current value. */
8170
8206
  updatePlaySettings(playName: string, patch: PlaySettingsPatch): Promise<PlaySettingsResult>;
8171
8207
  /** Read a Play's cron and webhook triggers and their scheduler state. */
@@ -8212,6 +8248,20 @@ declare class DeeplineClient {
8212
8248
  authorizationVersion: number;
8213
8249
  }>;
8214
8250
  }>;
8251
+ /** List workspace members' personal HubSpot connection status as an admin. */
8252
+ listPersonalHubSpotMembers(cursor?: string): Promise<{
8253
+ members: Array<{
8254
+ memberId: string;
8255
+ name: string;
8256
+ email: string;
8257
+ status: 'connected' | 'needs_reauth' | 'disconnected' | 'not_connected' | 'connecting' | 'needs_attention';
8258
+ account: {
8259
+ portalId: string;
8260
+ userId: string;
8261
+ } | null;
8262
+ }>;
8263
+ nextCursor: string | null;
8264
+ }>;
8215
8265
  /** Manage a workspace-owned OAuth connection. Consent completes in the browser. */
8216
8266
  manageWorkspaceIntegrationConnection(input: {
8217
8267
  action: 'connect' | 'reconnect' | 'replace' | 'disconnect';
@@ -8621,7 +8671,9 @@ declare class DeeplineClient {
8621
8671
  limit?: number;
8622
8672
  }): Promise<BillingInvoicesResult>;
8623
8673
  /** List the reviewed target plans and whether new acquisition is enabled. */
8624
- getTargetBillingPlans(): Promise<TargetBillingPlansResult>;
8674
+ getTargetBillingPlans(options?: {
8675
+ promoCode?: string;
8676
+ }): Promise<TargetBillingPlansResult>;
8625
8677
  /** Read the workspace's normalized target plan, payment, and balance state. */
8626
8678
  getTargetBillingStatus(): Promise<TargetBillingStatusResult>;
8627
8679
  /** Read the canonical Metronome automatic recharge configuration. */
@@ -8763,6 +8815,13 @@ declare class DeeplineClient {
8763
8815
  waitForMonitorJob(jobId: string, options?: MonitorJobWaitOptions): Promise<MonitorJobResult>;
8764
8816
  private monitorFleetIdempotencyKey;
8765
8817
  private monitorFleetHeaders;
8818
+ /**
8819
+ * Fleet writes plan against the whole fleet inside one request, so they
8820
+ * wait as long as the server lets those routes run (300 s) plus transit,
8821
+ * not the client's default. A ten-thousand-member deploy took 62 s; giving
8822
+ * up at 60 s reported a timeout for a plan the server then committed.
8823
+ */
8824
+ private static readonly MONITOR_FLEET_WRITE_TIMEOUT_MS;
8766
8825
  private monitorFleetPath;
8767
8826
  /**
8768
8827
  * Create, update, or re-plan one fleet.
@@ -8826,4 +8885,4 @@ declare class DeeplineClient {
8826
8885
  }>;
8827
8886
  }
8828
8887
 
8829
- export { type LiveEventScope as $, type AsyncChildRunLaunchProjection as A, type BillingActivePlan as B, type ChildRunSummary as C, DeeplineClient as D, type ClearPlayHistoryResult as E, type CreateNotificationGroupInput as F, type CreateNotificationGroupResult as G, type CreateNotificationInput as H, type CustomerDbColumn as I, type CustomerDbQueryResult as J, type DbNamespace as K, type DeeplineAgentModelDescription as L, type DeeplineToolCategory as M, type DeletePlayResult as N, type EffectiveProductNotificationConfiguration as O, type ExecutionByKeyResult as P, type ExecutionRecovery as Q, type HostedPage as R, type HostedPageLink as S, type HostedPageList as T, type HostedPageWriteResult as U, type InferenceDynamicPricingCapability as V, type InferenceQuote as W, type InferenceQuoteAssumptions as X, type IngestionStorageRepairResult as Y, type LegacyMonitorStatusFilter as Z, type LiveEventEnvelope as _, type DeeplineClientOptions as a, type MonitorsRepairResult as a$, MONITOR_JOB_PHASES as a0, MONITOR_JOB_RECONCILIATION_STATES as a1, MONITOR_JOB_STATES as a2, type ModelProviderOptionField as a3, type ModelProviderOptionNamespace as a4, type MonitorBatchDeploySubmitOptions as a5, type MonitorBatchExistingSubmitOptions as a6, type MonitorBatchNamespace as a7, type MonitorBatchOperationResult as a8, type MonitorBatchScope as a9, type MonitorJobsNamespace as aA, type MonitorLifecycleOptions as aB, type MonitorListEntry as aC, type MonitorNamedBatchOptions as aD, type MonitorNamedBatchProjection as aE, type MonitorNamedBatchesNamespace as aF, type MonitorPreviewOptions as aG, type MonitorPreviewResult as aH, type MonitorReactivateResult as aI, type MonitorSpec as aJ, type MonitorState as aK, type MonitorStateFilter as aL, type MonitorTestOptions as aM, type MonitorTestResult as aN, type MonitorUpdateChangeSummary as aO, type MonitorUpdateResult as aP, type MonitorValidateResult as aQ, type MonitorsAccessStatus as aR, type MonitorsAuditResult as aS, type MonitorsAvailableOptions as aT, type MonitorsAvailableResult as aU, type MonitorsHealth as aV, type MonitorsLedgerOptions as aW, type MonitorsLedgerResult as aX, type MonitorsListOptions as aY, type MonitorsListResult as aZ, type MonitorsNamespace as a_, type MonitorBatchSubmitOptions as aa, type MonitorCheckResult as ab, type MonitorDeleteResult as ac, type MonitorDependents as ad, type MonitorDeployResult as ae, type MonitorDetail as af, type MonitorFailure as ag, type MonitorFleetDeactivateOptions as ah, type MonitorFleetGetOptions as ai, type MonitorFleetIssuesOptions as aj, type MonitorFleetOverviewDetailOptions as ak, type MonitorFleetOverviewOptions as al, type MonitorFleetReactivateOptions as am, type MonitorFleetResult as an, type MonitorFleetStatus as ao, type MonitorFleetSyncOptions as ap, type MonitorFleetWaitOptions as aq, type MonitorFleetsNamespace as ar, type MonitorJobDeployOptions as as, type MonitorJobLogsOptions as at, type MonitorJobPhase as au, type MonitorJobProjection as av, type MonitorJobReconciliationState as aw, type MonitorJobResult as ax, type MonitorJobState as ay, type MonitorJobWaitOptions as az, type AsyncChildRunProjection as b, type RunBillingResult as b$, type PlayActivityObservation as b0, type PlayActivityState as b1, type PlayActivityTarget as b2, type PlayCheckExportResult as b3, type PlayCheckFeatureFlag as b4, type PlayCheckIssue as b5, type PlayCheckIssueSeverity as b6, type PlayCheckRecognizedSummary as b7, type PlayCheckResult as b8, type PlayCheckSqlListenerEventSummary as b9, type PlaySheetColumnStats as bA, type PlaySheetRow as bB, type PlaySheetRowsResult as bC, type PlaySheetStats as bD, type PlaySheetSummary as bE, type PlayStatus as bF, type PlayTriggerStatus as bG, type PlaysActivityResponse as bH, type PlaysListOptions as bI, type PlaysListPage as bJ, type PrebuiltPlayObservedCost as bK, type ProductNotification as bL, type ProductNotificationConfigurationChange as bM, type ProductNotificationConfigurationResponse as bN, type ProductNotificationDefaultPolicy as bO, type ProductNotificationEventDefinition as bP, type ProductNotificationSettings as bQ, type ProductNotificationTypeCatalogItem as bR, type ProviderDefinition as bS, type PublishPlayVersionRequest as bT, type PublishPlayVersionResult as bU, type PublishSharePageRequest as bV, type RerunOptions as bW, type RerunPlayRunResult as bX, type ResolvedConfig as bY, type RestorePlayResult as bZ, type ResumePlayRunResult as b_, type PlayCheckSqlListenerTrigger as ba, type PlayCheckToolGetterHint as bb, type PlayCheckTriggersSummary as bc, type PlayCostEstimate as bd, type PlayCostEstimateResult as be, type PlayDefinitionDetail as bf, type PlayDescription as bg, type PlayDetail as bh, type PlayListItem as bi, type PlayLiveEvent as bj, type PlayProgressStatus as bk, type PlayRevisionSummary as bl, type PlayRunActionPackage as bm, type PlayRunActivityProjection as bn, type PlayRunDatasetActions as bo, type PlayRunListItem as bp, type PlayRunOutcome as bq, type PlayRunPackage as br, type PlayRunRateLimited as bs, type PlayRunResult as bt, type PlayRunRowHistoryOptions as bu, type PlayRunStart as bv, type PlayRuntimeLimit as bw, type PlayScheduledCapacity as bx, type PlaySecretCheck as by, type PlaySecretMetadata as bz, type AsyncChildRunStatusCounts as c, type ToolExecutionMetadata as c$, type RunBillingSummary as c0, type RunChildrenPage as c1, type RunGetStatus as c2, type RunLifecycleStatus as c3, type RunsChildrenOptions as c4, type RunsEventPayload as c5, type RunsEventSearchEntry as c6, type RunsEventSearchOptions as c7, type RunsEventSearchResult as c8, type RunsEventsCountResult as c9, type SearchResult as cA, type SearchResultItem as cB, type SearchType as cC, type SharePageOwnerView as cD, type SharePageRevisionOption as cE, type SharePageStatus as cF, type SlackNotificationTarget as cG, type StartPlayRunRequest as cH, type StopAllCandidate as cI, type StopAllPlayRunsDryRunResult as cJ, type StopAllPlayRunsResult as cK, type StopAllPlayRunsStopResult as cL, type StopAllRunsOptions as cM, type StopPlayRunResult as cN, type TargetAutoRechargeResult as cO, type TargetAutoRechargeUpdateOptions as cP, type TargetBillingMutationResult as cQ, type TargetBillingOperation as cR, type TargetBillingPlan as cS, type TargetBillingPlanTransitionOptions as cT, type TargetBillingPlansResult as cU, type TargetBillingStatusResult as cV, type ToolBatchCapability as cW, type ToolCategoryListing as cX, type ToolCategorySummary as cY, type ToolDefinition as cZ, type ToolExecution as c_, type RunsEventsCriteria as ca, type RunsEventsFieldsOptions as cb, type RunsEventsListOptions as cc, type RunsEventsListResult as cd, type RunsEventsNamespace as ce, type RunsEventsSummaryOptions as cf, type RunsEventsSummaryResult as cg, type RunsGetOptions as ch, type RunsHistoryItem as ci, type RunsHistoryOptions as cj, type RunsHistoryPage as ck, type RunsListOptions as cl, type RunsListPage as cm, type RunsLogCriteria as cn, type RunsLogsCountResult as co, type RunsLogsNamespace as cp, type RunsLogsOptions as cq, type RunsLogsQueryOptions as cr, type RunsLogsQueryResult as cs, type RunsLogsResult as ct, type RunsLogsSummaryOptions as cu, type RunsLogsSummaryResult as cv, type RunsNamespace as cw, type RunsTailOptions as cx, type RunsWatchOptions as cy, type SearchOptions as cz, type BillingCreditPool as d, cloneEditStarter as d$, type ToolExecutionMetadataFields as d0, type ToolMetadata as d1, type ToolPricingSummary as d2, type ToolRequestCondition as d3, type ToolRequestWarningRule as d4, type ToolSearchOptions as d5, type ToolSearchResult as d6, type UpdateNotificationInput as d7, type UpdateSharePageRequest as d8, type View as d9, type PlaySettingsResult as dA, type PlayTriggerConfigUpdate as dB, type PlayTriggerConfigUpdateResult as dC, type PlayTriggerConfigView as dD, type PlayWebhookAuthConfig as dE, type PlayWebhookTriggerConfig as dF, type RunEventCountResult as dG, type RunEventField as dH, type RunEventFieldDescriptor as dI, type RunEventFieldOperators as dJ, type RunEventFieldsResult as dK, type RunEventGroupValue as dL, type RunEventMeasure as dM, type RunEventQueryCriteria as dN, type RunEventQueryEvent as dO, RunEventQueryInputError as dP, type RunEventQueryOptions as dQ, type RunEventQueryPage as dR, type RunEventQueryRetention as dS, type RunEventScalar as dT, type RunEventSummaryOptions as dU, type RunEventSummaryResult as dV, type RunEventWhere as dW, type RunToolReceiptResult as dX, type RunToolReceiptsResponse as dY, defineMonitor as dZ, planCustomerDbQuery as d_, type ViewAbilities as da, type ViewAccess as db, type ViewDetail as dc, type ViewPermissionLevel as dd, type ViewPermissionRules as de, type ViewRunSummary as df, type WorkspaceCreateResult as dg, type WorkspaceServiceAccount as dh, type WorkspaceServiceAccountKey as di, type WorkspaceServiceAccountsNamespace as dj, type WorkspacesNamespace as dk, isStopAllPlayRunsDryRunResult as dl, type ExecuteToolRawOptions as dm, type CustomerDbQueryOptions as dn, type CustomerDbQueryPlan as dp, DEEPLINE_TOOL_CATEGORIES as dq, type MonitorDefinition as dr, type MonitorPayload as ds, type NormalizedRunEventQuery as dt, type PlayCronTriggerConfig as du, type PlayDescriptionOptions as dv, type PlayPath as dw, type PlaySettings as dx, type PlaySettingsPatch as dy, type PlaySettingsPathsPage as dz, type BillingInvoiceEntry as e, describePlayDetail as e0, describePlayListItem as e1, CLI_PLAY_RUN_CALLER_INTENT_V2_PATH as e2, CLI_PLAY_RUN_CALLER_INTENT_V2_START_STREAM_PATH as e3, CLI_PLAY_RUN_CALLER_INTENT_V2_SUPPORTED_HEADER as e4, CLI_PLAY_RUN_START_PATH as e5, CLI_PLAY_RUN_START_STREAM_PATH as e6, CLI_PLAY_RUN_SUPPORTED_HEADER as e7, CSV_DATA_INPUT_KEY as e8, CliPlayAdmissionCallerIntentV2UnsupportedError as e9, playRunFileInputBindings as eA, preparePlayRunAdmission as eB, readPlayRunAdmissionCapability as eC, setDottedInputValue as eD, stageFileInputs as eE, stagePlayFiles as eF, stagedFileContentType as eG, startPlayRun as eH, submitPreparedPlayRunAdmission as eI, webStagedFileCodec as eJ, CliPlayAdmissionUnsupportedError as ea, type FileInputBinding as eb, type LocalFileInput as ec, type MintStagedFileUpload as ed, PLAY_FILES_STAGE_MINT_PATH as ee, PLAY_FILES_STAGE_PATH as ef, PLAY_RUN_START_PATH as eg, PLAY_RUN_START_STREAM_PATH as eh, type PlayRunAdmissionCapability as ei, type PlayRunHttp as ej, type PlayRunStartOptions as ek, type ResolvedStartPlayRunRequest as el, STAGE_LEGACY_MULTIPART_MAX_BYTES as em, type StagedFileCodec as en, type StagedFileInputs as eo, type StagedFileUpload as ep, buildNamedPlayRunRequest as eq, buildPlayRunStartBody as er, createSessionPlayRunHttp as es, createStagedFileUpload as et, fileInputBindingsFromPlaySchema as eu, fileInputBindingsFromStaticPipeline as ev, getDottedInputValue as ew, isPlayRunPackage as ex, mintStagedPlayFileUploads as ey, normalizePlayRunStart as ez, type BillingInvoicesResult as f, type BillingMeterEntry as g, type BillingMetricEntry as h, type BillingNamespace as i, type BillingPaymentMethodSummary as j, type BillingPlanEntry as k, type BillingPlansResult as l, type BillingQuoteRequest as m, type BillingQuoteResult as n, type BillingRecentUsageEntry as o, type BillingSubscriptionCancelResult as p, type BillingSubscriptionStatus as q, type BillingTopUpReceipt as r, type BillingTopUpResult as s, type BillingUsageEvent as t, type BillingUsageEventListEntry as u, type BillingUsageEventsOptions as v, type BillingUsageEventsResult as w, type BillingUsageOptions as x, type BillingUsageResult as y, type ClearPlayHistoryRequest as z };
8888
+ export { type LiveEventScope as $, type AsyncChildRunLaunchProjection as A, type BillingActivePlan as B, type BillingUsageEventsResult as C, DeeplineClient as D, type BillingUsageOptions as E, type BillingUsageResult as F, type ChildRunSummary as G, type ClearPlayHistoryRequest as H, type ClearPlayHistoryResult as I, type CreateNotificationGroupInput as J, type CreateNotificationGroupResult as K, type CreateNotificationInput as L, type CustomerDbColumn as M, type CustomerDbQueryResult as N, type DbNamespace as O, type DeeplineAgentModelDescription as P, type DeeplineToolCategory as Q, type DeletePlayResult as R, type EffectiveProductNotificationConfiguration as S, type ExecutionByKeyResult as T, type ExecutionRecovery as U, type InferenceDynamicPricingCapability as V, type InferenceQuote as W, type InferenceQuoteAssumptions as X, type IngestionStorageRepairResult as Y, type LegacyMonitorStatusFilter as Z, type LiveEventEnvelope as _, type DeeplineClientOptions as a, type MonitorsRepairResult as a$, MONITOR_JOB_PHASES as a0, MONITOR_JOB_RECONCILIATION_STATES as a1, MONITOR_JOB_STATES as a2, type ModelProviderOptionField as a3, type ModelProviderOptionNamespace as a4, type MonitorBatchDeploySubmitOptions as a5, type MonitorBatchExistingSubmitOptions as a6, type MonitorBatchNamespace as a7, type MonitorBatchOperationResult as a8, type MonitorBatchScope as a9, type MonitorJobsNamespace as aA, type MonitorLifecycleOptions as aB, type MonitorListEntry as aC, type MonitorNamedBatchOptions as aD, type MonitorNamedBatchProjection as aE, type MonitorNamedBatchesNamespace as aF, type MonitorPreviewOptions as aG, type MonitorPreviewResult as aH, type MonitorReactivateResult as aI, type MonitorSpec as aJ, type MonitorState as aK, type MonitorStateFilter as aL, type MonitorTestOptions as aM, type MonitorTestResult as aN, type MonitorUpdateChangeSummary as aO, type MonitorUpdateResult as aP, type MonitorValidateResult as aQ, type MonitorsAccessStatus as aR, type MonitorsAuditResult as aS, type MonitorsAvailableOptions as aT, type MonitorsAvailableResult as aU, type MonitorsHealth as aV, type MonitorsLedgerOptions as aW, type MonitorsLedgerResult as aX, type MonitorsListOptions as aY, type MonitorsListResult as aZ, type MonitorsNamespace as a_, type MonitorBatchSubmitOptions as aa, type MonitorCheckResult as ab, type MonitorDeleteResult as ac, type MonitorDependents as ad, type MonitorDeployResult as ae, type MonitorDetail as af, type MonitorFailure as ag, type MonitorFleetDeactivateOptions as ah, type MonitorFleetGetOptions as ai, type MonitorFleetIssuesOptions as aj, type MonitorFleetOverviewDetailOptions as ak, type MonitorFleetOverviewOptions as al, type MonitorFleetReactivateOptions as am, type MonitorFleetResult as an, type MonitorFleetStatus as ao, type MonitorFleetSyncOptions as ap, type MonitorFleetWaitOptions as aq, type MonitorFleetsNamespace as ar, type MonitorJobDeployOptions as as, type MonitorJobLogsOptions as at, type MonitorJobPhase as au, type MonitorJobProjection as av, type MonitorJobReconciliationState as aw, type MonitorJobResult as ax, type MonitorJobState as ay, type MonitorJobWaitOptions as az, type AsyncChildRunProjection as b, type RunBillingResult as b$, type PlayActivityObservation as b0, type PlayActivityState as b1, type PlayActivityTarget as b2, type PlayCheckExportResult as b3, type PlayCheckFeatureFlag as b4, type PlayCheckIssue as b5, type PlayCheckIssueSeverity as b6, type PlayCheckRecognizedSummary as b7, type PlayCheckResult as b8, type PlayCheckSqlListenerEventSummary as b9, type PlaySheetColumnStats as bA, type PlaySheetRow as bB, type PlaySheetRowsResult as bC, type PlaySheetStats as bD, type PlaySheetSummary as bE, type PlayStatus as bF, type PlayTriggerStatus as bG, type PlaysActivityResponse as bH, type PlaysListOptions as bI, type PlaysListPage as bJ, type PrebuiltPlayObservedCost as bK, type ProductNotification as bL, type ProductNotificationConfigurationChange as bM, type ProductNotificationConfigurationResponse as bN, type ProductNotificationDefaultPolicy as bO, type ProductNotificationEventDefinition as bP, type ProductNotificationSettings as bQ, type ProductNotificationTypeCatalogItem as bR, type ProviderDefinition as bS, type PublishPlayVersionRequest as bT, type PublishPlayVersionResult as bU, type PublishSharePageRequest as bV, type RerunOptions as bW, type RerunPlayRunResult as bX, type ResolvedConfig as bY, type RestorePlayResult as bZ, type ResumePlayRunResult as b_, type PlayCheckSqlListenerTrigger as ba, type PlayCheckToolGetterHint as bb, type PlayCheckTriggersSummary as bc, type PlayCostEstimate as bd, type PlayCostEstimateResult as be, type PlayDefinitionDetail as bf, type PlayDescription as bg, type PlayDetail as bh, type PlayListItem as bi, type PlayLiveEvent as bj, type PlayProgressStatus as bk, type PlayRevisionSummary as bl, type PlayRunActionPackage as bm, type PlayRunActivityProjection as bn, type PlayRunDatasetActions as bo, type PlayRunListItem as bp, type PlayRunOutcome as bq, type PlayRunPackage as br, type PlayRunRateLimited as bs, type PlayRunResult as bt, type PlayRunRowHistoryOptions as bu, type PlayRunStart as bv, type PlayRuntimeLimit as bw, type PlayScheduledCapacity as bx, type PlaySecretCheck as by, type PlaySecretMetadata as bz, type AsyncChildRunStatusCounts as c, type ToolExecutionMetadata as c$, type RunBillingSummary as c0, type RunChildrenPage as c1, type RunGetStatus as c2, type RunLifecycleStatus as c3, type RunsChildrenOptions as c4, type RunsEventPayload as c5, type RunsEventSearchEntry as c6, type RunsEventSearchOptions as c7, type RunsEventSearchResult as c8, type RunsEventsCountResult as c9, type SearchResult as cA, type SearchResultItem as cB, type SearchType as cC, type SharePageOwnerView as cD, type SharePageRevisionOption as cE, type SharePageStatus as cF, type SlackNotificationTarget as cG, type StartPlayRunRequest as cH, type StopAllCandidate as cI, type StopAllPlayRunsDryRunResult as cJ, type StopAllPlayRunsResult as cK, type StopAllPlayRunsStopResult as cL, type StopAllRunsOptions as cM, type StopPlayRunResult as cN, type TargetAutoRechargeResult as cO, type TargetAutoRechargeUpdateOptions as cP, type TargetBillingMutationResult as cQ, type TargetBillingOperation as cR, type TargetBillingPlan as cS, type TargetBillingPlanTransitionOptions as cT, type TargetBillingPlansResult as cU, type TargetBillingStatusResult as cV, type ToolBatchCapability as cW, type ToolCategoryListing as cX, type ToolCategorySummary as cY, type ToolDefinition as cZ, type ToolExecution as c_, type RunsEventsCriteria as ca, type RunsEventsFieldsOptions as cb, type RunsEventsListOptions as cc, type RunsEventsListResult as cd, type RunsEventsNamespace as ce, type RunsEventsSummaryOptions as cf, type RunsEventsSummaryResult as cg, type RunsGetOptions as ch, type RunsHistoryItem as ci, type RunsHistoryOptions as cj, type RunsHistoryPage as ck, type RunsListOptions as cl, type RunsListPage as cm, type RunsLogCriteria as cn, type RunsLogsCountResult as co, type RunsLogsNamespace as cp, type RunsLogsOptions as cq, type RunsLogsQueryOptions as cr, type RunsLogsQueryResult as cs, type RunsLogsResult as ct, type RunsLogsSummaryOptions as cu, type RunsLogsSummaryResult as cv, type RunsNamespace as cw, type RunsTailOptions as cx, type RunsWatchOptions as cy, type SearchOptions as cz, type BillingCreditPool as d, defineMonitor as d$, type ToolExecutionMetadataFields as d0, type ToolMetadata as d1, type ToolPricingSummary as d2, type ToolRequestCondition as d3, type ToolRequestWarningRule as d4, type ToolSearchOptions as d5, type ToolSearchResult as d6, type UpdateNotificationInput as d7, type UpdateSharePageRequest as d8, type View as d9, type PlaySettingsPatch as dA, type PlaySettingsPathsPage as dB, type PlaySettingsResult as dC, type PlayTriggerConfigUpdate as dD, type PlayTriggerConfigUpdateResult as dE, type PlayTriggerConfigView as dF, type PlayWebhookAuthConfig as dG, type PlayWebhookTriggerConfig as dH, type RunEventCountResult as dI, type RunEventField as dJ, type RunEventFieldDescriptor as dK, type RunEventFieldOperators as dL, type RunEventFieldsResult as dM, type RunEventGroupValue as dN, type RunEventMeasure as dO, type RunEventQueryCriteria as dP, type RunEventQueryEvent as dQ, RunEventQueryInputError as dR, type RunEventQueryOptions as dS, type RunEventQueryPage as dT, type RunEventQueryRetention as dU, type RunEventScalar as dV, type RunEventSummaryOptions as dW, type RunEventSummaryResult as dX, type RunEventWhere as dY, type RunToolReceiptResult as dZ, type RunToolReceiptsResponse as d_, type ViewAbilities as da, type ViewAccess as db, type ViewDetail as dc, type ViewPermissionLevel as dd, type ViewPermissionRules as de, type ViewRunSummary as df, type ViewShareLink as dg, type ViewShareLinkExpiry as dh, type WorkspaceCreateResult as di, type WorkspaceServiceAccount as dj, type WorkspaceServiceAccountKey as dk, type WorkspaceServiceAccountsNamespace as dl, type WorkspacesNamespace as dm, isStopAllPlayRunsDryRunResult as dn, type ExecuteToolRawOptions as dp, type CustomerDbQueryOptions as dq, type CustomerDbQueryPlan as dr, DEEPLINE_TOOL_CATEGORIES as ds, type MonitorDefinition as dt, type MonitorPayload as du, type NormalizedRunEventQuery as dv, type PlayCronTriggerConfig as dw, type PlayDescriptionOptions as dx, type PlayPath as dy, type PlaySettings as dz, type BillingInvoiceEntry as e, planCustomerDbQuery as e0, cloneEditStarter as e1, describePlayDetail as e2, describePlayListItem as e3, CLI_PLAY_RUN_CALLER_INTENT_V2_PATH as e4, CLI_PLAY_RUN_CALLER_INTENT_V2_START_STREAM_PATH as e5, CLI_PLAY_RUN_CALLER_INTENT_V2_SUPPORTED_HEADER as e6, CLI_PLAY_RUN_START_PATH as e7, CLI_PLAY_RUN_START_STREAM_PATH as e8, CLI_PLAY_RUN_SUPPORTED_HEADER as e9, mintStagedPlayFileUploads as eA, normalizePlayRunStart as eB, playRunFileInputBindings as eC, preparePlayRunAdmission as eD, readPlayRunAdmissionCapability as eE, setDottedInputValue as eF, stageFileInputs as eG, stagePlayFiles as eH, stagedFileContentType as eI, startPlayRun as eJ, submitPreparedPlayRunAdmission as eK, webStagedFileCodec as eL, CSV_DATA_INPUT_KEY as ea, CliPlayAdmissionCallerIntentV2UnsupportedError as eb, CliPlayAdmissionUnsupportedError as ec, type FileInputBinding as ed, type LocalFileInput as ee, type MintStagedFileUpload as ef, PLAY_FILES_STAGE_MINT_PATH as eg, PLAY_FILES_STAGE_PATH as eh, PLAY_RUN_START_PATH as ei, PLAY_RUN_START_STREAM_PATH as ej, type PlayRunAdmissionCapability as ek, type PlayRunHttp as el, type PlayRunStartOptions as em, type ResolvedStartPlayRunRequest as en, STAGE_LEGACY_MULTIPART_MAX_BYTES as eo, type StagedFileCodec as ep, type StagedFileInputs as eq, type StagedFileUpload as er, buildNamedPlayRunRequest as es, buildPlayRunStartBody as et, createSessionPlayRunHttp as eu, createStagedFileUpload as ev, fileInputBindingsFromPlaySchema as ew, fileInputBindingsFromStaticPipeline as ex, getDottedInputValue as ey, isPlayRunPackage as ez, type BillingInvoicesResult as f, type BillingMeterEntry as g, type BillingMetricEntry as h, type BillingNamespace as i, type BillingPaymentMethodSummary as j, type BillingPlanEntry as k, type BillingPlansResult as l, type BillingQuoteRequest as m, type BillingQuoteResult as n, type BillingRecentUsageEntry as o, type BillingSavedCard as p, type BillingSavedCardChangeOptions as q, type BillingSavedCardChangeResult as r, type BillingSavedCardsResult as s, type BillingSubscriptionCancelResult as t, type BillingSubscriptionStatus as u, type BillingTopUpReceipt as v, type BillingTopUpResult as w, type BillingUsageEvent as x, type BillingUsageEventListEntry as y, type BillingUsageEventsOptions as z };
@@ -1535,6 +1535,12 @@ type PlayAuthoringBindings<TInput = Record<string, unknown>> = {
1535
1535
  sqlListeners?: PlaySqlListenerDeclaration[];
1536
1536
  secrets?: readonly string[];
1537
1537
  };
1538
+ /**
1539
+ * One durable tool call's retry policy, like a durable-execution activity
1540
+ * retry policy. Omitted fields take the live Durable retry policy for the
1541
+ * failure's class. Between attempts the run waits on a durable timer.
1542
+ */
1543
+ type PlayToolCallRetryPolicy = Static<(typeof PLAY_AUTHORING_FIELD_REGISTRY)['ctx.tools.execute.retry']['schema']>;
1538
1544
  /** The one public type for durable managed-tool calls. */
1539
1545
  type PlayToolExecutionRequest = {
1540
1546
  id: string;
@@ -1545,6 +1551,14 @@ type PlayToolExecutionRequest = {
1545
1551
  staleAfterSeconds?: DurableCallStaleAfterSeconds;
1546
1552
  timeoutMs?: PlayRuntimeTimeoutMs;
1547
1553
  receiptWaitMs?: PlayReceiptWaitMs;
1554
+ /**
1555
+ * The call's retry policy. The Play sees the call's error only after these
1556
+ * retries are spent, or at once for a `nonRetryable` class. Set a small
1557
+ * `maximumAttempts` (for example 3) on a call whose failure the Play
1558
+ * handles itself, such as a waterfall leg that falls back to the next
1559
+ * provider, so it never waits on a durable retry.
1560
+ */
1561
+ retry?: PlayToolCallRetryPolicy;
1548
1562
  };
1549
1563
  /** @deprecated Pass a SQL string directly to deepline.customerDb.query. */
1550
1564
  type PlaySqlQuery = {
@@ -1887,25 +1901,16 @@ type PlayAuthoringRunScope = {
1887
1901
  readonly actor: PlayAuthoringRunActor | null;
1888
1902
  };
1889
1903
  /** The complete customer-authored `ctx` Interface shared by every Adapter. */
1890
- type PlayAuthoringPageWriteOptions = {
1891
- /**
1892
- * Who can see the page. Taken from the first write. A later write cannot make
1893
- * a private page public: run `deepline pages set-public <name>` for that.
1894
- */
1895
- public: boolean;
1896
- /** Replaces the page's whole content. A non-string is stored as JSON. */
1897
- content: unknown;
1898
- /** Defaults to text, JSON, or binary according to `content`. */
1899
- contentType?: string;
1900
- description?: string;
1901
- };
1902
- type PlayAuthoringPageWriteResult = {
1904
+ /** A view of the running Play, as `deepline.views.list()` returns it. */
1905
+ type PlayAuthoringViewLink = {
1906
+ id: string;
1903
1907
  name: string;
1908
+ /** Opens the view at its latest run. */
1904
1909
  url: string;
1905
- /** Who can actually see the page after this write. */
1906
- public: boolean;
1907
- created: boolean;
1908
- warnings: string[];
1910
+ /** Opens the view at this run, for a link sent from the run itself. */
1911
+ runUrl: string;
1912
+ /** Who can open the links: workspace members, or anyone. */
1913
+ access: 'workspace' | 'public';
1909
1914
  };
1910
1915
  interface PlayAuthoringRuntimeContext<TListGetter extends 'dataset' | 'array' = 'dataset'> {
1911
1916
  billing: {
@@ -1916,12 +1921,14 @@ interface PlayAuthoringRuntimeContext<TListGetter extends 'dataset' | 'array' =
1916
1921
  */
1917
1922
  entitlements(): Promise<BillingEntitlements>;
1918
1923
  };
1919
- pages: {
1924
+ views: {
1920
1925
  /**
1921
- * Replace a named page in this workspace and return its URL.
1922
- * @sdkReference runtime 181 deepline.pages.write(name, options)
1926
+ * List this Play's views in its workspace, most recently changed first, each with a link
1927
+ * to the view and a link to it at this run. Fresh on every call; not a
1928
+ * durable receipt.
1929
+ * @sdkReference runtime 182 deepline.views.list()
1923
1930
  */
1924
- write(name: string, options: PlayAuthoringPageWriteOptions): Promise<PlayAuthoringPageWriteResult>;
1931
+ list(): Promise<PlayAuthoringViewLink[]>;
1925
1932
  };
1926
1933
  /**
1927
1934
  * Load a staged CSV file as a durable dataset handle.
@@ -2664,6 +2671,36 @@ declare const PLAY_AUTHORING_FIELD_REGISTRY: {
2664
2671
  readonly description: string;
2665
2672
  readonly errorMessage: "staleAfterSeconds must be null, 0 (always execute), or a positive whole number of seconds.";
2666
2673
  };
2674
+ readonly 'ctx.tools.execute.retry': {
2675
+ readonly schema: _sinclair_typebox.TObject<{
2676
+ maximumAttempts: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
2677
+ initialIntervalMs: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
2678
+ backoffCoefficient: _sinclair_typebox.TOptional<_sinclair_typebox.TNumber>;
2679
+ maximumIntervalMs: _sinclair_typebox.TOptional<_sinclair_typebox.TInteger>;
2680
+ nonRetryable: _sinclair_typebox.TOptional<_sinclair_typebox.TArray<_sinclair_typebox.TUnion<_sinclair_typebox.TLiteral<"never_sent" | "provider_unavailable" | "provider_ambiguous_500" | "timeout_after_send" | "rate_limit_429" | "billing_insufficient_credits" | "billing_monthly_cap">[]>>>;
2681
+ }>;
2682
+ readonly fixtures: {
2683
+ readonly valid: {
2684
+ readonly maximumAttempts: 1;
2685
+ };
2686
+ readonly invalid: {
2687
+ readonly maximumAttempts: 0;
2688
+ };
2689
+ readonly absent: undefined;
2690
+ readonly unresolved: {
2691
+ readonly expression: "retryPolicy";
2692
+ };
2693
+ readonly edition1: {
2694
+ readonly maximumAttempts: 1;
2695
+ };
2696
+ };
2697
+ readonly referenceType: "PlayToolCallRetryPolicy";
2698
+ readonly required: false;
2699
+ readonly resolution: "runtime-allowed";
2700
+ readonly issueCode: "play_authoring_durable_policy_invalid";
2701
+ readonly description: "Optional retry policy for this call, like a durable-execution activity retry policy. Omitted fields take the live Durable retry policy for the failure's class. maximumAttempts counts every request the provider receives for the call, the first included, in-call resends and durable retries alike (1 to 65); initialIntervalMs, backoffCoefficient and maximumIntervalMs set the durable wait before each retry (1 s to 24 h; the coefficient 1 to 10); nonRetryable lists failure classes that reach the Play after the first attempt. The Play sees the error only after the retries are spent. Where the Play handles the failure itself, such as a waterfall leg that falls back, set a small maximumAttempts (for example 3) so the call never waits on a durable retry.";
2702
+ readonly errorMessage: "retry must be an object with maximumAttempts (1-65), initialIntervalMs and maximumIntervalMs (1000-86400000 ms), backoffCoefficient (1-10) and nonRetryable (failure classes), and nothing else.";
2703
+ };
2667
2704
  readonly 'ctx.tools.execute.id': {
2668
2705
  readonly schema: _sinclair_typebox.TString;
2669
2706
  readonly fixtures: {