deepline 0.3.546 → 0.3.548

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 (204) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +13 -0
  2. package/dist/bundling-sources/sdk/src/index.ts +7 -1
  3. package/dist/bundling-sources/sdk/src/integrations.ts +17 -7
  4. package/dist/bundling-sources/sdk/src/play.ts +71 -0
  5. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  6. package/dist/bundling-sources/sdk/src/runs/watch-polling.ts +13 -4
  7. package/dist/bundling-sources/sdk/src/types.ts +33 -0
  8. package/dist/bundling-sources/shared_libs/integration-contracts/calendar-delegation.ts +7 -0
  9. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-batch-operation.ts +2 -0
  10. package/dist/bundling-sources/shared_libs/monitors/tracking-provider-guidance.ts +1 -0
  11. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +19 -1
  12. package/dist/bundling-sources/shared_libs/play-data-plane/r2.ts +17 -2
  13. package/dist/bundling-sources/shared_libs/play-runtime/async-operation.ts +57 -5
  14. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +295 -52
  15. package/dist/bundling-sources/shared_libs/play-runtime/ctx-types.ts +10 -1
  16. package/dist/bundling-sources/shared_libs/play-runtime/docflow-decision-tracker.ts +135 -0
  17. package/dist/bundling-sources/shared_libs/play-runtime/docflow-fail-open.ts +177 -0
  18. package/dist/bundling-sources/shared_libs/play-runtime/docflow-node-io.ts +99 -2
  19. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +16 -10
  20. package/dist/bundling-sources/shared_libs/play-runtime/fenced-call-diagnostics.ts +211 -0
  21. package/dist/bundling-sources/shared_libs/play-runtime/runtime-capacity-policy.ts +52 -14
  22. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +68 -2
  23. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-progress.ts +18 -0
  24. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +68 -0
  25. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-sandbox-capacity.ts +100 -3
  26. package/dist/bundling-sources/shared_libs/play-runtime/tool-cache-policy.ts +9 -1
  27. package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +48 -0
  28. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +6 -1
  29. package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +716 -51
  30. package/dist/bundling-sources/shared_libs/plays/docflow-decision-arms.ts +146 -0
  31. package/dist/bundling-sources/shared_libs/plays/docflow-flow-order.ts +94 -0
  32. package/dist/bundling-sources/shared_libs/plays/docflow-unreached-reason.ts +10 -1
  33. package/dist/bundling-sources/shared_libs/plays/docflow.ts +787 -117
  34. package/dist/bundling-sources/shared_libs/plays/share/static-pipeline-summary.ts +8 -2
  35. package/dist/bundling-sources/shared_libs/plays/static-pipeline.ts +6 -0
  36. package/dist/bundling-sources/shared_libs/plays/trigger-config-contract.ts +13 -0
  37. package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +25 -0
  38. package/dist/bundling-sources/shared_libs/security/email-blacklist.ts +3 -0
  39. package/dist/bundling-sources/shared_libs/security/email-domain.ts +24 -0
  40. package/dist/bundling-sources/shared_libs/security/secret-redaction.ts +56 -0
  41. package/dist/cli/auth-7UJFY5BY.js +43 -0
  42. package/dist/cli/{auth-KFWG72AZ.mjs → auth-YOOVLLUL.mjs} +5 -5
  43. package/dist/cli/{billing-MMZ336HO.mjs → billing-2NCNX6L2.mjs} +10 -10
  44. package/dist/cli/{billing-OQVOAZ4S.js → billing-HETIOUD6.js} +96 -96
  45. package/dist/cli/{chunk-JVOUQFHT.js → chunk-2OG2KBYJ.js} +1 -1
  46. package/dist/cli/{chunk-JA633HRV.mjs → chunk-3QRU6RY7.mjs} +3 -3
  47. package/dist/cli/{chunk-TI6DTURF.js → chunk-4WAM6TLD.js} +7 -1
  48. package/dist/cli/{chunk-RO66FPTS.mjs → chunk-53QLWPZK.mjs} +1 -1
  49. package/dist/cli/{chunk-6LG7MLJ2.js → chunk-5OJOFUMO.js} +44 -44
  50. package/dist/cli/{chunk-F2VEFMU5.js → chunk-5XFJBIQT.js} +13 -13
  51. package/dist/cli/{chunk-UQJBV5PM.js → chunk-5XXPP3PR.js} +10 -10
  52. package/dist/cli/{chunk-6FBDTYR2.mjs → chunk-64BFUBXX.mjs} +2 -2
  53. package/dist/cli/{chunk-VAT2SXFF.js → chunk-6GIZNOXQ.js} +12 -12
  54. package/dist/cli/{chunk-7MY7KWJS.mjs → chunk-7AJ5V3BK.mjs} +1 -1
  55. package/dist/cli/{chunk-MEGHIX4M.js → chunk-7H6TQ6W2.js} +5 -5
  56. package/dist/cli/{chunk-PMDHY2YK.js → chunk-7JIOJLTS.js} +7 -7
  57. package/dist/cli/{chunk-EEJHB76U.js → chunk-7UJZWI5Z.js} +12 -12
  58. package/dist/cli/{chunk-X5KOHDJN.mjs → chunk-ATTURFOV.mjs} +1 -1
  59. package/dist/cli/{chunk-SH32HL7I.js → chunk-AUYBBFPT.js} +53 -53
  60. package/dist/cli/{chunk-JCWNF44W.js → chunk-BDBEEV6X.js} +22 -22
  61. package/dist/cli/{chunk-WKHPLBJK.js → chunk-BWJZ4NQJ.js} +15 -15
  62. package/dist/cli/{chunk-2JHYYB3F.js → chunk-CSPHSNBW.js} +3 -3
  63. package/dist/cli/{chunk-4AZLGNXV.js → chunk-CXZLHBNK.js} +4 -4
  64. package/dist/cli/{chunk-J65HJCJO.mjs → chunk-F4ON5COB.mjs} +2 -2
  65. package/dist/cli/{chunk-KUK7ARXA.mjs → chunk-FMQA7UZZ.mjs} +2 -2
  66. package/dist/cli/{chunk-UREAIHUU.mjs → chunk-FUUYWEF4.mjs} +3 -3
  67. package/dist/cli/{chunk-HXIR3VQL.mjs → chunk-FZHMNK6F.mjs} +7 -1
  68. package/dist/cli/{chunk-PU3ZAG6V.mjs → chunk-GCEGQ7TQ.mjs} +1 -1
  69. package/dist/cli/{chunk-BLYW6FFB.js → chunk-GJA2PRHJ.js} +2 -2
  70. package/dist/cli/{chunk-TBWYZOSV.js → chunk-GUIYFOG2.js} +3 -3
  71. package/dist/cli/{chunk-BTFUAGHC.js → chunk-HDLMX7SG.js} +16 -16
  72. package/dist/cli/{chunk-VTK3HGMN.mjs → chunk-HIMZ57QD.mjs} +5 -5
  73. package/dist/cli/{chunk-JYG4XZLT.js → chunk-HTZIJORU.js} +99 -99
  74. package/dist/cli/{chunk-VPERQ3U6.mjs → chunk-HU3DDLGD.mjs} +5 -5
  75. package/dist/cli/{chunk-H7Q5IDO3.js → chunk-I2JIWKCQ.js} +20 -20
  76. package/dist/cli/{chunk-MXQP7CXZ.js → chunk-IIWXBRDK.js} +3 -3
  77. package/dist/cli/{chunk-MI7X6V6V.mjs → chunk-IQBXX54G.mjs} +3 -3
  78. package/dist/cli/{chunk-SYTWWVIQ.js → chunk-JQWX377P.js} +5 -5
  79. package/dist/cli/{chunk-Z3UEBFIN.js → chunk-LAVPP6WD.js} +41 -41
  80. package/dist/cli/{chunk-JCH4UNNS.js → chunk-M2OZORIH.js} +2 -2
  81. package/dist/cli/{chunk-Z7SXGOIQ.mjs → chunk-MF7PCM6C.mjs} +1 -1
  82. package/dist/cli/{chunk-7ZW67ME6.mjs → chunk-MQSKSISW.mjs} +1 -1
  83. package/dist/cli/{chunk-JARZ47OP.mjs → chunk-MWQ4WWZF.mjs} +2 -2
  84. package/dist/cli/{chunk-EEG46QZY.mjs → chunk-NFMX7BRF.mjs} +2 -2
  85. package/dist/cli/{chunk-VXTTAYOT.mjs → chunk-OGDQFVCP.mjs} +3 -3
  86. package/dist/cli/{chunk-3DUNNZB6.mjs → chunk-OQCYSLML.mjs} +4 -4
  87. package/dist/cli/{chunk-5W4ENHWM.js → chunk-PVE3A2BO.js} +285 -264
  88. package/dist/cli/{chunk-F5YQXCP3.js → chunk-PVQCX6KQ.js} +50 -7
  89. package/dist/cli/{chunk-GYTSDSQD.mjs → chunk-QQBRXMZM.mjs} +11 -11
  90. package/dist/cli/{chunk-6Y5TU3R7.mjs → chunk-QZ74ZC55.mjs} +1 -1
  91. package/dist/cli/{chunk-5OEFXAKP.mjs → chunk-RMCCB3XY.mjs} +50 -7
  92. package/dist/cli/{chunk-5V7NZKGG.js → chunk-T3RDWG5J.js} +2 -2
  93. package/dist/cli/{chunk-OAKWSLKS.mjs → chunk-TKGFHRHE.mjs} +28 -7
  94. package/dist/cli/{chunk-HJR2DDJS.mjs → chunk-U35ZLVBA.mjs} +2 -2
  95. package/dist/cli/{chunk-ND7SFRQL.js → chunk-U7HJXE6Y.js} +2 -2
  96. package/dist/cli/{chunk-LX2TC3HO.mjs → chunk-UBQQR56I.mjs} +4 -4
  97. package/dist/cli/{chunk-5VNQMVCU.js → chunk-VK2GSTRN.js} +26 -26
  98. package/dist/cli/{chunk-K2XELBPF.mjs → chunk-VSACOMIA.mjs} +5 -5
  99. package/dist/cli/{chunk-IVWU7SJC.js → chunk-WI4MCR7M.js} +5 -5
  100. package/dist/cli/{chunk-LIJKRDDG.js → chunk-WIHQAZPV.js} +6 -6
  101. package/dist/cli/{chunk-LHE2TSV6.mjs → chunk-WVZF4DU7.mjs} +1 -1
  102. package/dist/cli/{chunk-2HSZCQMT.mjs → chunk-WYT3H6JD.mjs} +1 -1
  103. package/dist/cli/{chunk-GOOF7E2B.mjs → chunk-XKEBQVCP.mjs} +5 -5
  104. package/dist/cli/{chunk-P7A3H6G5.mjs → chunk-XU3D2KFR.mjs} +1 -1
  105. package/dist/cli/command-docs.js +2 -2
  106. package/dist/cli/command-docs.mjs +1 -1
  107. package/dist/cli/concurrent-runs-help-A2IQVZRJ.js +21 -0
  108. package/dist/cli/{concurrent-runs-help-C2O5YKQA.mjs → concurrent-runs-help-FDCCZ45D.mjs} +6 -6
  109. package/dist/cli/{csv-Z4DNGR54.mjs → csv-GJYLQ52D.mjs} +4 -4
  110. package/dist/cli/{csv-MJDNOIQJ.js → csv-OCEQWZO3.js} +13 -13
  111. package/dist/cli/{db-4RL2BNOF.mjs → db-5MA2UUHQ.mjs} +7 -7
  112. package/dist/cli/{db-S5QVPK5E.js → db-G5QGXFAX.js} +28 -28
  113. package/dist/cli/{describe-L4P5SZLQ.mjs → describe-4DOJ4DHA.mjs} +19 -19
  114. package/dist/cli/describe-SD7DRTBW.js +50 -0
  115. package/dist/cli/describe-core.d.mts +4 -4
  116. package/dist/cli/describe-core.d.ts +4 -4
  117. package/dist/cli/{executions-RR6O3XK5.mjs → executions-C7SMBHHB.mjs} +7 -7
  118. package/dist/cli/{executions-MFZ2Z36O.js → executions-IYEVUPJI.js} +9 -9
  119. package/dist/cli/{feedback-YDAG7VH2.js → feedback-GYAF46GA.js} +14 -14
  120. package/dist/cli/{feedback-EQBQ3ABB.mjs → feedback-XUU2UKM6.mjs} +6 -6
  121. package/dist/cli/git-7YYVMY6L.js +25 -0
  122. package/dist/cli/{git-YGLCCU35.mjs → git-WVCMK5AH.mjs} +5 -5
  123. package/dist/cli/index.js +146 -146
  124. package/dist/cli/index.mjs +45 -45
  125. package/dist/cli/{integrations-FWYXSBHK.mjs → integrations-FXADGAX2.mjs} +11 -9
  126. package/dist/cli/{integrations-IQXYMRMW.js → integrations-YYBJJFVX.js} +19 -17
  127. package/dist/cli/{legacy-noops-I4YRIX5F.mjs → legacy-noops-LJY7LDUE.mjs} +6 -6
  128. package/dist/cli/{legacy-noops-U7LI7UXC.js → legacy-noops-REZCYES2.js} +9 -9
  129. package/dist/cli/{mcp-GX2UKKWU.js → mcp-L5PURE5S.js} +24 -24
  130. package/dist/cli/{mcp-QJBMB6VS.mjs → mcp-XSB3ZJFR.mjs} +4 -4
  131. package/dist/cli/{monitors-WCJYINGX.js → monitors-I5EIHSGV.js} +119 -101
  132. package/dist/cli/{monitors-Z6EGKYJP.mjs → monitors-UBPF2OLO.mjs} +26 -8
  133. package/dist/cli/{org-NNHICBR2.mjs → org-PHHIN2ER.mjs} +7 -7
  134. package/dist/cli/{org-7SKG423N.js → org-SGSTGGUD.js} +89 -89
  135. package/dist/cli/{play-CXDFPJ7Z.mjs → play-LEJNJLWY.mjs} +295 -67
  136. package/dist/cli/{play-4P4DTG3Q.js → play-WQEKMANL.js} +897 -669
  137. package/dist/cli/{providers-VQLQ7DTR.mjs → providers-3W26ZDAV.mjs} +7 -7
  138. package/dist/cli/{providers-EE4TUE3O.js → providers-RSDXBXIS.js} +10 -10
  139. package/dist/cli/{quickstart-IYNJRB5G.mjs → quickstart-LGJD2M36.mjs} +4 -4
  140. package/dist/cli/{quickstart-RVXHK4WA.js → quickstart-U3QX4EMI.js} +6 -6
  141. package/dist/cli/{run-R3F34KU3.js → run-F2UPZUJS.js} +45 -45
  142. package/dist/cli/{run-VBQPPMEX.mjs → run-YWZ3W5HK.mjs} +25 -25
  143. package/dist/cli/search-K6ANAXLF.js +32 -0
  144. package/dist/cli/{search-B7R62HX5.mjs → search-O2OJH3PY.mjs} +8 -8
  145. package/dist/cli/{search-output-LNQQXIGZ.mjs → search-output-H5BF6SJ3.mjs} +4 -4
  146. package/dist/cli/{search-output-LWHWEPOT.js → search-output-W7OCBYBU.js} +6 -6
  147. package/dist/cli/{secrets-NM3VAJLO.mjs → secrets-65XCAA7U.mjs} +7 -7
  148. package/dist/cli/{secrets-QBOZ7WTD.js → secrets-BN4GYVRI.js} +16 -16
  149. package/dist/cli/sessions-M52QWLA6.js +22 -0
  150. package/dist/cli/{sessions-R5BSIJ4I.mjs → sessions-SVEVESCQ.mjs} +6 -6
  151. package/dist/cli/{settings-POYWKNRD.js → settings-7YMDAFCN.js} +86 -86
  152. package/dist/cli/{settings-S4PN7WLY.mjs → settings-HAU2NP2H.mjs} +13 -13
  153. package/dist/cli/{setup-PFLXVBTL.mjs → setup-5RXHZ6YI.mjs} +9 -9
  154. package/dist/cli/{setup-VHB4Z654.js → setup-G37QXQGM.js} +49 -49
  155. package/dist/cli/{skills-W2TELEU7.mjs → skills-Q7A3XFAU.mjs} +7 -7
  156. package/dist/cli/skills-ZK4D5BJW.js +36 -0
  157. package/dist/cli/tools-DBZTLYFM.js +57 -0
  158. package/dist/cli/{tools-M4FA6N3Y.mjs → tools-ZG4NYRGB.mjs} +18 -18
  159. package/dist/cli/{update-W7LIHEA7.mjs → update-2CMZTZCL.mjs} +9 -9
  160. package/dist/cli/update-LC5HGEEH.js +34 -0
  161. package/dist/cli/{views-KTVPV6UP.mjs → views-A6IIY4OQ.mjs} +7 -7
  162. package/dist/cli/{views-DJXAGD7V.js → views-XUMDMDIE.js} +22 -22
  163. package/dist/cli/{workflow-NVZDJKH2.js → workflow-4EEW6MCD.js} +18 -18
  164. package/dist/cli/{workflow-LGKCRODX.mjs → workflow-74MYISHU.mjs} +8 -8
  165. package/dist/{client-Tp1LSULB.d.mts → client-D1uWA2Vc.d.mts} +1 -1
  166. package/dist/{client-CCyWJqAI.d.ts → client-Hz7SsBXs.d.ts} +1 -1
  167. package/dist/{client-core-BpYiYEfu.d.ts → client-core-D3Ad7Flt.d.ts} +554 -504
  168. package/dist/{client-core-D8eCZz3O.d.mts → client-core-Db_e63Hb.d.mts} +554 -504
  169. package/dist/{compiler-manifest-EBWEUj0b.d.ts → compiler-manifest-BqwVrOri.d.mts} +38 -18
  170. package/dist/{compiler-manifest-EBWEUj0b.d.mts → compiler-manifest-BqwVrOri.d.ts} +38 -18
  171. package/dist/{errors-CParKUQR.d.mts → errors-BU8FB99X.d.mts} +1 -1
  172. package/dist/{errors-Qt0OTA7_.d.ts → errors-DfVN_FUG.d.ts} +1 -1
  173. package/dist/{index-CoqDkIw0.d.ts → index-BGnvtYGc.d.ts} +6 -1
  174. package/dist/{index-BMUVCNp7.d.mts → index-DjZgwpGw.d.mts} +6 -1
  175. package/dist/index.d.mts +28 -8
  176. package/dist/index.d.ts +28 -8
  177. package/dist/index.js +64 -39
  178. package/dist/index.mjs +32 -7
  179. package/dist/install-integrity.json +133 -128
  180. package/dist/plays/bundle-play-file.d.mts +3 -3
  181. package/dist/plays/bundle-play-file.d.ts +3 -3
  182. package/dist/plays/bundle-play-file.mjs +620 -124
  183. package/dist/plays/play-description.d.mts +3 -3
  184. package/dist/plays/play-description.d.ts +3 -3
  185. package/dist/plays/run-request.d.mts +2 -2
  186. package/dist/plays/run-request.d.ts +2 -2
  187. package/dist/release.d.mts +1 -1
  188. package/dist/release.d.ts +1 -1
  189. package/dist/release.js +2 -2
  190. package/dist/release.mjs +1 -1
  191. package/dist/server.d.mts +4 -4
  192. package/dist/server.d.ts +4 -4
  193. package/dist/server.js +6 -6
  194. package/dist/server.mjs +4 -4
  195. package/package.json +1 -1
  196. package/dist/cli/auth-W32GMYND.js +0 -43
  197. package/dist/cli/concurrent-runs-help-6QT7ZR4W.js +0 -21
  198. package/dist/cli/describe-VLU2LUDJ.js +0 -50
  199. package/dist/cli/git-E6W44F5M.js +0 -25
  200. package/dist/cli/search-UUVFXZRA.js +0 -32
  201. package/dist/cli/sessions-K3PD73Q2.js +0 -22
  202. package/dist/cli/skills-QNE2EYT3.js +0 -36
  203. package/dist/cli/tools-3RLI4HGF.js +0 -57
  204. package/dist/cli/update-UT6KIW2W.js +0 -34
@@ -130,24 +130,6 @@ type IncludedCompute = {
130
130
  };
131
131
  };
132
132
 
133
- type PlaySandboxRuntimeLimits = {
134
- timeoutSeconds: number;
135
- memoryGiB: number;
136
- cpu: number;
137
- diskGiB: number;
138
- };
139
- type PlaySandboxSize = 'standard' | 'large' | 'xlarge';
140
- declare const PLAY_SANDBOX_SIZE_ALIASES: {
141
- readonly '1gb': "standard";
142
- readonly '4gb': "large";
143
- readonly '8gb': "xlarge";
144
- };
145
- type PlaySandboxSizeInput = PlaySandboxSize | keyof typeof PLAY_SANDBOX_SIZE_ALIASES;
146
- type PlaySandboxRuntimeDeclaration = {
147
- timeout?: string;
148
- size?: PlaySandboxSizeInput;
149
- };
150
-
151
133
  declare const TOOL_EXECUTION_ERROR_SCHEMA_VERSION: 1;
152
134
  declare const SUPPORTED_TOOL_EXECUTION_ERROR_SCHEMA_VERSIONS: readonly [0, 1];
153
135
  type ToolExecutionErrorSchemaVersion = (typeof SUPPORTED_TOOL_EXECUTION_ERROR_SCHEMA_VERSIONS)[number];
@@ -1414,6 +1396,24 @@ type PreviousCell<Value = unknown> = {
1414
1396
  staleAfterSeconds?: number;
1415
1397
  };
1416
1398
 
1399
+ type PlaySandboxRuntimeLimits = {
1400
+ timeoutSeconds: number;
1401
+ memoryGiB: number;
1402
+ cpu: number;
1403
+ diskGiB: number;
1404
+ };
1405
+ type PlaySandboxSize = 'standard' | 'large' | 'xlarge';
1406
+ declare const PLAY_SANDBOX_SIZE_ALIASES: {
1407
+ readonly '1gb': "standard";
1408
+ readonly '4gb': "large";
1409
+ readonly '8gb': "xlarge";
1410
+ };
1411
+ type PlaySandboxSizeInput = PlaySandboxSize | keyof typeof PLAY_SANDBOX_SIZE_ALIASES;
1412
+ type PlaySandboxRuntimeDeclaration = {
1413
+ timeout?: string;
1414
+ size?: PlaySandboxSizeInput;
1415
+ };
1416
+
1417
1417
  declare const SUPPORTED_PLAY_AUTHORING_CONTRACT_EDITIONS: readonly [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
1418
1418
  type PlayAuthoringContractEdition = (typeof SUPPORTED_PLAY_AUTHORING_CONTRACT_EDITIONS)[number];
1419
1419
  type PlaySqlListenerOperation = 'INSERT' | 'UPDATE' | 'DELETE';
@@ -3906,6 +3906,14 @@ type PlayDocflowBinding = {
3906
3906
  * {@link attachBindingsToBlocks}; the edge is what readers resolve against.
3907
3907
  */
3908
3908
  arm?: PlayDocflowArm;
3909
+ /**
3910
+ * `show:"ownerName,territory"` — the fields of this node's value a reader
3911
+ * should see first, as paths into it. Plays can return anything, so which
3912
+ * fields matter is the author's to say; without it, displays fall back to a
3913
+ * neutral peek and never guess. Absent (never empty) when undeclared, so a
3914
+ * diagram that declares none hashes byte for byte as before.
3915
+ */
3916
+ show?: string[];
3909
3917
  };
3910
3918
  type PlayDocflow = {
3911
3919
  direction: 'LR' | 'RL' | 'TB' | 'TD' | 'BT';
@@ -3923,6 +3931,12 @@ type PlayDocflow = {
3923
3931
  subgraphs?: PlayDocflowSubgraph[];
3924
3932
  /** Mermaid directives accepted by the parser but not applied by React Flow. */
3925
3933
  ignoredDirectives?: string[];
3934
+ /**
3935
+ * `%% @input show:"leadId,company.name"` in the block: the fields of the
3936
+ * run's input a reader sees first (the Start card, each run's input pill).
3937
+ * Absent when undeclared, so an existing diagram hashes as before.
3938
+ */
3939
+ inputShow?: string[];
3926
3940
  };
3927
3941
 
3928
3942
  /**
@@ -3948,6 +3962,12 @@ interface PlayStaticPipeline {
3948
3962
  authoredSleep?: PlayStaticSourceRange;
3949
3963
  /** Authored business flow. Static analysis is used only when this is absent. */
3950
3964
  docflow?: PlayDocflow;
3965
+ /**
3966
+ * Why the authored `@mermaid` block could not be read, when it did not parse.
3967
+ * Display only: the play runs as if it had no diagram, and the page says
3968
+ * "diagram couldn't be read" instead of drawing a canvas. Absent otherwise.
3969
+ */
3970
+ docflowUnreadReason?: string;
3951
3971
  tableNamespace?: string;
3952
3972
  inputFields?: string[];
3953
3973
  rowKeyFields?: string[];
@@ -130,24 +130,6 @@ type IncludedCompute = {
130
130
  };
131
131
  };
132
132
 
133
- type PlaySandboxRuntimeLimits = {
134
- timeoutSeconds: number;
135
- memoryGiB: number;
136
- cpu: number;
137
- diskGiB: number;
138
- };
139
- type PlaySandboxSize = 'standard' | 'large' | 'xlarge';
140
- declare const PLAY_SANDBOX_SIZE_ALIASES: {
141
- readonly '1gb': "standard";
142
- readonly '4gb': "large";
143
- readonly '8gb': "xlarge";
144
- };
145
- type PlaySandboxSizeInput = PlaySandboxSize | keyof typeof PLAY_SANDBOX_SIZE_ALIASES;
146
- type PlaySandboxRuntimeDeclaration = {
147
- timeout?: string;
148
- size?: PlaySandboxSizeInput;
149
- };
150
-
151
133
  declare const TOOL_EXECUTION_ERROR_SCHEMA_VERSION: 1;
152
134
  declare const SUPPORTED_TOOL_EXECUTION_ERROR_SCHEMA_VERSIONS: readonly [0, 1];
153
135
  type ToolExecutionErrorSchemaVersion = (typeof SUPPORTED_TOOL_EXECUTION_ERROR_SCHEMA_VERSIONS)[number];
@@ -1414,6 +1396,24 @@ type PreviousCell<Value = unknown> = {
1414
1396
  staleAfterSeconds?: number;
1415
1397
  };
1416
1398
 
1399
+ type PlaySandboxRuntimeLimits = {
1400
+ timeoutSeconds: number;
1401
+ memoryGiB: number;
1402
+ cpu: number;
1403
+ diskGiB: number;
1404
+ };
1405
+ type PlaySandboxSize = 'standard' | 'large' | 'xlarge';
1406
+ declare const PLAY_SANDBOX_SIZE_ALIASES: {
1407
+ readonly '1gb': "standard";
1408
+ readonly '4gb': "large";
1409
+ readonly '8gb': "xlarge";
1410
+ };
1411
+ type PlaySandboxSizeInput = PlaySandboxSize | keyof typeof PLAY_SANDBOX_SIZE_ALIASES;
1412
+ type PlaySandboxRuntimeDeclaration = {
1413
+ timeout?: string;
1414
+ size?: PlaySandboxSizeInput;
1415
+ };
1416
+
1417
1417
  declare const SUPPORTED_PLAY_AUTHORING_CONTRACT_EDITIONS: readonly [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
1418
1418
  type PlayAuthoringContractEdition = (typeof SUPPORTED_PLAY_AUTHORING_CONTRACT_EDITIONS)[number];
1419
1419
  type PlaySqlListenerOperation = 'INSERT' | 'UPDATE' | 'DELETE';
@@ -3906,6 +3906,14 @@ type PlayDocflowBinding = {
3906
3906
  * {@link attachBindingsToBlocks}; the edge is what readers resolve against.
3907
3907
  */
3908
3908
  arm?: PlayDocflowArm;
3909
+ /**
3910
+ * `show:"ownerName,territory"` — the fields of this node's value a reader
3911
+ * should see first, as paths into it. Plays can return anything, so which
3912
+ * fields matter is the author's to say; without it, displays fall back to a
3913
+ * neutral peek and never guess. Absent (never empty) when undeclared, so a
3914
+ * diagram that declares none hashes byte for byte as before.
3915
+ */
3916
+ show?: string[];
3909
3917
  };
3910
3918
  type PlayDocflow = {
3911
3919
  direction: 'LR' | 'RL' | 'TB' | 'TD' | 'BT';
@@ -3923,6 +3931,12 @@ type PlayDocflow = {
3923
3931
  subgraphs?: PlayDocflowSubgraph[];
3924
3932
  /** Mermaid directives accepted by the parser but not applied by React Flow. */
3925
3933
  ignoredDirectives?: string[];
3934
+ /**
3935
+ * `%% @input show:"leadId,company.name"` in the block: the fields of the
3936
+ * run's input a reader sees first (the Start card, each run's input pill).
3937
+ * Absent when undeclared, so an existing diagram hashes as before.
3938
+ */
3939
+ inputShow?: string[];
3926
3940
  };
3927
3941
 
3928
3942
  /**
@@ -3948,6 +3962,12 @@ interface PlayStaticPipeline {
3948
3962
  authoredSleep?: PlayStaticSourceRange;
3949
3963
  /** Authored business flow. Static analysis is used only when this is absent. */
3950
3964
  docflow?: PlayDocflow;
3965
+ /**
3966
+ * Why the authored `@mermaid` block could not be read, when it did not parse.
3967
+ * Display only: the play runs as if it had no diagram, and the page says
3968
+ * "diagram couldn't be read" instead of drawing a canvas. Absent otherwise.
3969
+ */
3970
+ docflowUnreadReason?: string;
3951
3971
  tableNamespace?: string;
3952
3972
  inputFields?: string[];
3953
3973
  rowKeyFields?: string[];
@@ -1,5 +1,5 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
- import { D as DeeplineError, T as ToolExecutionError, e as ToolExecutionErrorOptions } from './compiler-manifest-EBWEUj0b.mjs';
2
+ import { D as DeeplineError, T as ToolExecutionError, e as ToolExecutionErrorOptions } from './compiler-manifest-BqwVrOri.mjs';
3
3
 
4
4
  /** SQL may have committed, but its response was not confirmed. */
5
5
  declare class CustomerDbQueryOutcomeUnknownError extends DeeplineError {
@@ -1,5 +1,5 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
- import { D as DeeplineError, T as ToolExecutionError, e as ToolExecutionErrorOptions } from './compiler-manifest-EBWEUj0b.js';
2
+ import { D as DeeplineError, T as ToolExecutionError, e as ToolExecutionErrorOptions } from './compiler-manifest-BqwVrOri.js';
3
3
 
4
4
  /** SQL may have committed, but its response was not confirmed. */
5
5
  declare class CustomerDbQueryOutcomeUnknownError extends DeeplineError {
@@ -1,5 +1,5 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
- import { q as PlayBundleArtifact, u as PlaySandboxRuntimeDeclaration, v as PlayCompilerManifest, w as PlayArtifactKind, p as PlayArtifactCompatibility } from './compiler-manifest-EBWEUj0b.js';
2
+ import { q as PlayBundleArtifact, u as PlaySandboxRuntimeDeclaration, v as PlayCompilerManifest, w as PlayArtifactKind, p as PlayArtifactCompatibility } from './compiler-manifest-BqwVrOri.js';
3
3
 
4
4
  type ImportedPlayDependency = {
5
5
  filePath: string;
@@ -61,6 +61,11 @@ type BundledPlayFileSuccess = {
61
61
  packagedFiles: PlayLocalFileReference[];
62
62
  unresolvedFileReferences: PlayLocalFileDiscoveryError[];
63
63
  importedPlayDependencies: ImportedPlayDependency[];
64
+ /**
65
+ * Diagram boxes (or files) left untracked by a fresh build, and why.
66
+ * Display-only: tracking never fails a bundle. Absent on a cache hit.
67
+ */
68
+ docflowInstrumentationWarnings?: string[];
64
69
  };
65
70
  type BundledPlayFileFailure = {
66
71
  success: false;
@@ -1,5 +1,5 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
- import { q as PlayBundleArtifact, u as PlaySandboxRuntimeDeclaration, v as PlayCompilerManifest, w as PlayArtifactKind, p as PlayArtifactCompatibility } from './compiler-manifest-EBWEUj0b.mjs';
2
+ import { q as PlayBundleArtifact, u as PlaySandboxRuntimeDeclaration, v as PlayCompilerManifest, w as PlayArtifactKind, p as PlayArtifactCompatibility } from './compiler-manifest-BqwVrOri.mjs';
3
3
 
4
4
  type ImportedPlayDependency = {
5
5
  filePath: string;
@@ -61,6 +61,11 @@ type BundledPlayFileSuccess = {
61
61
  packagedFiles: PlayLocalFileReference[];
62
62
  unresolvedFileReferences: PlayLocalFileDiscoveryError[];
63
63
  importedPlayDependencies: ImportedPlayDependency[];
64
+ /**
65
+ * Diagram boxes (or files) left untracked by a fresh build, and why.
66
+ * Display-only: tracking never fails a bundle. Absent on a cache hit.
67
+ */
68
+ docflowInstrumentationWarnings?: string[];
64
69
  };
65
70
  type BundledPlayFileFailure = {
66
71
  success: false;
package/dist/index.d.mts CHANGED
@@ -1,13 +1,13 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
- import { x as PlayAuthoringFetchResponse, y as ToolExecuteResult, z as BasicToolExecuteResult, A as PlayDataset, C as AsyncPlayRunRef$1, E as PlayAuthoringColumnMap, F as PlayAuthoringColumnResolver, G as PlayAuthoringRuntimeContext, H as PlayAuthoringConditionalStepResolver, J as PlayAuthoringCsvInput, K as PlayAuthoringCsvOptions, L as PlayAuthoringDatasetBuilder, M as PlayAuthoringDatasetColumnDefinition, N as PlayAuthoringDatasetColumnRunInput, O as PlayAuthoringReferenceLike, Q as PlayReturnObject$1, R as PlayAuthoringDefineConfig, S as PlayAuthoringDefinedPlay, U as PlayAuthoringFetchOptions, V as PlayAuthoringFileInput, W as PlayAuthoringAsyncCallOptions, X as PlayAuthoringBindings, Y as PlayAuthoringCallExecution, Z as PlayAuthoringCallOptions, _ as PlayAuthoringInputContract, $ as PlayRunId$1, a0 as PlayAuthoringStepProgramStep, a1 as PlayAuthoringRuntimeStepOptions, a2 as PlaySqlListenerDeclaration, a3 as PlaySqlListenerEvent, a4 as PlaySqlListenerOperation, a5 as PlaySqlQuery, a6 as PlayAuthoringStepOptions, a7 as PlayAuthoringStepProgram, a8 as PlayAuthoringStepProgramResolver, a9 as PlayAuthoringStepResolver, aa as PlayToolExecutionRequest, ab as PlayAuthoringStepProgramOptions } from './compiler-manifest-EBWEUj0b.mjs';
3
- export { B as BillingEntitlements, ac as DEEPLINE_EXTRACTOR_TARGETS, ad as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, ae as DeeplineEmailStatusGetterValue, D as DeeplineError, af as DeeplineExtractorTarget, ag as DeeplineGetterValue, ah as DeeplineGetterValueMap, ai as JOB_CHANGE_STATUS_VALUES, aj as JobChangeStatus, ak as PHONE_STATUS_VALUES, al as PhoneStatus, am as PlayDatasetInput, an as PreviousCell, P as ProviderTransientError, a as ProviderTransientErrorCategory, b as ProviderUnavailableError, c as ProviderUnavailableReason, T as ToolExecutionError, d as ToolExecutionErrorCategory, e as ToolExecutionErrorOptions, f as ToolExecutionErrorOrigin, g as ToolExecutionFailureV1, h as ToolExecutionNetworkKind, i as ToolExecutionNetworkScope, j as ToolExecutionPublicDetails, ao as ToolResultBilling, k as ToolUpstreamResponse, l as getProviderUnavailableReason, ap as isDeeplineExtractorTarget, m as isProviderUnavailable, n as isProviderWaterfallUnavailableError } from './compiler-manifest-EBWEUj0b.mjs';
4
- import { a as DeeplineClientOptions, i as BillingNamespace, cZ as ToolDefinition, d1 as ToolMetadata, dq as ExecuteToolRawOptions, U as ExecutionRecovery, T as ExecutionByKeyResult, bi as PlayListItem, bh as PlayDetail, bp as PlayRunListItem, bl as PlayRevisionSummary, bU as PublishPlayVersionResult, I as ClearPlayHistoryResult, bF as PlayStatus, cN as StopPlayRunResult, bY as ResolvedConfig } from './client-core-D8eCZz3O.mjs';
5
- export { d as BillingCreditPool, e as BillingInvoiceEntry, f as BillingInvoicesResult, j as BillingPaymentMethodSummary, m as BillingQuoteRequest, n as BillingQuoteResult, o as BillingRecentUsageEntry, p as BillingSavedCard, q as BillingSavedCardChangeOptions, r as BillingSavedCardChangeResult, s as BillingSavedCardsResult, t as BillingSubscriptionCancelResult, u as BillingSubscriptionStatus, v as BillingTopUpReceipt, w as BillingTopUpResult, x as BillingUsageEvent, y as BillingUsageEventListEntry, z as BillingUsageEventsOptions, C as BillingUsageEventsResult, E as BillingUsageOptions, F as BillingUsageResult, G as ChildRunSummary, H as ClearPlayHistoryRequest, J as CreateNotificationGroupInput, K as CreateNotificationGroupResult, dr as CustomerDbQueryOptions, ds as CustomerDbQueryPlan, N as CustomerDbQueryResult, dt as DEEPLINE_TOOL_CATEGORIES, O as DbNamespace, Q as DeeplineToolCategory, Y as IngestionStorageRepairResult, du as IntegrationChangeOptions, dv as IntegrationChangeResult, dw as IntegrationsNamespace, Z as LegacyMonitorStatusFilter, _ as LiveEventEnvelope, a0 as MONITOR_JOB_PHASES, a1 as MONITOR_JOB_RECONCILIATION_STATES, a2 as MONITOR_JOB_STATES, a7 as MonitorBatchNamespace, ab as MonitorCheckResult, dx as MonitorDefinition, ac as MonitorDeleteResult, ad as MonitorDependents, ae as MonitorDeployResult, af as MonitorDetail, ah as MonitorFleetDeactivateOptions, ai as MonitorFleetGetOptions, aj as MonitorFleetIssuesOptions, ak as MonitorFleetOverviewDetailOptions, al as MonitorFleetOverviewOptions, am as MonitorFleetReactivateOptions, an as MonitorFleetResult, ao as MonitorFleetStatus, ap as MonitorFleetSyncOptions, aq as MonitorFleetWaitOptions, ar as MonitorFleetsNamespace, as as MonitorJobDeployOptions, at as MonitorJobLogsOptions, au as MonitorJobPhase, aw as MonitorJobReconciliationState, ax as MonitorJobResult, ay as MonitorJobState, az as MonitorJobWaitOptions, aA as MonitorJobsNamespace, aC as MonitorListEntry, dy as MonitorPayload, aG as MonitorPreviewOptions, aH as MonitorPreviewResult, aI as MonitorReactivateResult, aJ as MonitorSpec, aK as MonitorState, aL as MonitorStateFilter, aO as MonitorUpdateChangeSummary, aP as MonitorUpdateResult, aR as MonitorsAccessStatus, aT as MonitorsAvailableOptions, aU as MonitorsAvailableResult, aY as MonitorsListOptions, aZ as MonitorsListResult, a_ as MonitorsNamespace, dz as NormalizedRunEventQuery, b0 as PlayActivityObservation, b1 as PlayActivityState, b2 as PlayActivityTarget, bd as PlayCostEstimate, be as PlayCostEstimateResult, dA as PlayCronTriggerConfig, dB as PlayDescriptionOptions, bj as PlayLiveEvent, dC as PlayPath, bm as PlayRunActionPackage, bn as PlayRunActivityProjection, bo as PlayRunDatasetActions, br as PlayRunPackage, bs as PlayRunRateLimited, bt as PlayRunResult, bu as PlayRunRowHistoryOptions, bv as PlayRunStart, dD as PlaySettings, dE as PlaySettingsPatch, dF as PlaySettingsPathsPage, dG as PlaySettingsResult, bB as PlaySheetRow, bC as PlaySheetRowsResult, dH as PlayTriggerConfigUpdate, dI as PlayTriggerConfigUpdateResult, dJ as PlayTriggerConfigView, dK as PlayWebhookAuthConfig, dL as PlayWebhookTriggerConfig, bH as PlaysActivityResponse, bI as PlaysListOptions, bJ as PlaysListPage, bT as PublishPlayVersionRequest, bW as RerunOptions, bX as RerunPlayRunResult, b_ as ResumePlayRunResult, c1 as RunChildrenPage, dM as RunEventCountResult, dN as RunEventField, dO as RunEventFieldDescriptor, dP as RunEventFieldOperators, dQ as RunEventFieldsResult, dR as RunEventGroupValue, dS as RunEventMeasure, dT as RunEventQueryCriteria, dU as RunEventQueryEvent, dV as RunEventQueryInputError, dW as RunEventQueryOptions, dX as RunEventQueryPage, dY as RunEventQueryRetention, dZ as RunEventScalar, d_ as RunEventSummaryOptions, d$ as RunEventSummaryResult, e0 as RunEventWhere, c3 as RunLifecycleStatus, e1 as RunToolReceiptResult, e2 as RunToolReceiptsResponse, c4 as RunsChildrenOptions, c5 as RunsEventPayload, c6 as RunsEventSearchEntry, c7 as RunsEventSearchOptions, c8 as RunsEventSearchResult, c9 as RunsEventsCountResult, ca as RunsEventsCriteria, cb as RunsEventsFieldsOptions, cc as RunsEventsListOptions, cd as RunsEventsListResult, ce as RunsEventsNamespace, cf as RunsEventsSummaryOptions, cg as RunsEventsSummaryResult, ci as RunsHistoryItem, cj as RunsHistoryOptions, ck as RunsHistoryPage, cl as RunsListOptions, cm as RunsListPage, cn as RunsLogCriteria, co as RunsLogsCountResult, cp as RunsLogsNamespace, cq as RunsLogsOptions, cr as RunsLogsQueryOptions, cs as RunsLogsQueryResult, ct as RunsLogsResult, cu as RunsLogsSummaryOptions, cv as RunsLogsSummaryResult, cw as RunsNamespace, cx as RunsTailOptions, cy as RunsWatchOptions, cz as SearchOptions, cA as SearchResult, cB as SearchResultItem, cC as SearchType, cH as StartPlayRunRequest, cI as StopAllCandidate, cJ as StopAllPlayRunsDryRunResult, cK as StopAllPlayRunsResult, cL as StopAllPlayRunsStopResult, cM as StopAllRunsOptions, cX as ToolCategoryListing, cY as ToolCategorySummary, c_ as ToolExecution, d3 as ToolRequestCondition, d4 as ToolRequestWarningRule, d5 as ToolSearchOptions, d6 as ToolSearchResult, e3 as WorkspaceConnection, di as WorkspaceCreateResult, dj as WorkspaceReuseResult, dk as WorkspaceServiceAccount, dl as WorkspaceServiceAccountKey, dm as WorkspaceServiceAccountsNamespace, dn as WorkspacesNamespace, e4 as defineMonitor, dp as isStopAllPlayRunsDryRunResult, e5 as planCustomerDbQuery } from './client-core-D8eCZz3O.mjs';
6
- import { D as DeeplineClient } from './client-Tp1LSULB.mjs';
7
- import { b as BundledPlayFileSuccess } from './index-BMUVCNp7.mjs';
2
+ import { x as PlayAuthoringFetchResponse, y as ToolExecuteResult, z as BasicToolExecuteResult, A as PlayDataset, C as AsyncPlayRunRef$1, E as PlayAuthoringColumnMap, F as PlayAuthoringColumnResolver, G as PlayAuthoringRuntimeContext, H as PlayAuthoringConditionalStepResolver, J as PlayAuthoringCsvInput, K as PlayAuthoringCsvOptions, L as PlayAuthoringDatasetBuilder, M as PlayAuthoringDatasetColumnDefinition, N as PlayAuthoringDatasetColumnRunInput, O as PlayAuthoringReferenceLike, Q as PlayReturnObject$1, R as PlayAuthoringDefineConfig, S as PlayAuthoringDefinedPlay, U as PlayAuthoringFetchOptions, V as PlayAuthoringFileInput, W as PlayAuthoringAsyncCallOptions, X as PlayAuthoringBindings, Y as PlayAuthoringCallExecution, Z as PlayAuthoringCallOptions, _ as PlayAuthoringInputContract, $ as PlayRunId$1, a0 as PlayAuthoringStepProgramStep, a1 as PlayAuthoringRuntimeStepOptions, a2 as PlaySqlListenerDeclaration, a3 as PlaySqlListenerEvent, a4 as PlaySqlListenerOperation, a5 as PlaySqlQuery, a6 as PlayAuthoringStepOptions, a7 as PlayAuthoringStepProgram, a8 as PlayAuthoringStepProgramResolver, a9 as PlayAuthoringStepResolver, aa as PlayToolExecutionRequest, ab as PlayAuthoringStepProgramOptions } from './compiler-manifest-BqwVrOri.mjs';
3
+ export { B as BillingEntitlements, ac as DEEPLINE_EXTRACTOR_TARGETS, ad as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, ae as DeeplineEmailStatusGetterValue, D as DeeplineError, af as DeeplineExtractorTarget, ag as DeeplineGetterValue, ah as DeeplineGetterValueMap, ai as JOB_CHANGE_STATUS_VALUES, aj as JobChangeStatus, ak as PHONE_STATUS_VALUES, al as PhoneStatus, am as PlayDatasetInput, an as PreviousCell, P as ProviderTransientError, a as ProviderTransientErrorCategory, b as ProviderUnavailableError, c as ProviderUnavailableReason, T as ToolExecutionError, d as ToolExecutionErrorCategory, e as ToolExecutionErrorOptions, f as ToolExecutionErrorOrigin, g as ToolExecutionFailureV1, h as ToolExecutionNetworkKind, i as ToolExecutionNetworkScope, j as ToolExecutionPublicDetails, ao as ToolResultBilling, k as ToolUpstreamResponse, l as getProviderUnavailableReason, ap as isDeeplineExtractorTarget, m as isProviderUnavailable, n as isProviderWaterfallUnavailableError } from './compiler-manifest-BqwVrOri.mjs';
4
+ import { a as DeeplineClientOptions, i as BillingNamespace, c$ as ToolDefinition, d3 as ToolMetadata, ds as ExecuteToolRawOptions, U as ExecutionRecovery, T as ExecutionByKeyResult, bi as PlayListItem, bh as PlayDetail, bp as PlayRunListItem, bl as PlayRevisionSummary, bW as PublishPlayVersionResult, I as ClearPlayHistoryResult, bH as PlayStatus, cP as StopPlayRunResult, b_ as ResolvedConfig } from './client-core-Db_e63Hb.mjs';
5
+ export { d as BillingCreditPool, e as BillingInvoiceEntry, f as BillingInvoicesResult, j as BillingPaymentMethodSummary, m as BillingQuoteRequest, n as BillingQuoteResult, o as BillingRecentUsageEntry, p as BillingSavedCard, q as BillingSavedCardChangeOptions, r as BillingSavedCardChangeResult, s as BillingSavedCardsResult, t as BillingSubscriptionCancelResult, u as BillingSubscriptionStatus, v as BillingTopUpReceipt, w as BillingTopUpResult, x as BillingUsageEvent, y as BillingUsageEventListEntry, z as BillingUsageEventsOptions, C as BillingUsageEventsResult, E as BillingUsageOptions, F as BillingUsageResult, G as ChildRunSummary, H as ClearPlayHistoryRequest, J as CreateNotificationGroupInput, K as CreateNotificationGroupResult, dt as CustomerDbQueryOptions, du as CustomerDbQueryPlan, N as CustomerDbQueryResult, dv as DEEPLINE_TOOL_CATEGORIES, O as DbNamespace, Q as DeeplineToolCategory, Y as IngestionStorageRepairResult, dw as IntegrationChangeOptions, dx as IntegrationChangeResult, dy as IntegrationsNamespace, Z as LegacyMonitorStatusFilter, _ as LiveEventEnvelope, a0 as MONITOR_JOB_PHASES, a1 as MONITOR_JOB_RECONCILIATION_STATES, a2 as MONITOR_JOB_STATES, a7 as MonitorBatchNamespace, ab as MonitorCheckResult, dz as MonitorDefinition, ac as MonitorDeleteResult, ad as MonitorDependents, ae as MonitorDeployResult, af as MonitorDetail, ah as MonitorFleetDeactivateOptions, ai as MonitorFleetGetOptions, aj as MonitorFleetIssuesOptions, ak as MonitorFleetOverviewDetailOptions, al as MonitorFleetOverviewOptions, am as MonitorFleetReactivateOptions, an as MonitorFleetResult, ao as MonitorFleetStatus, ap as MonitorFleetSyncOptions, aq as MonitorFleetWaitOptions, ar as MonitorFleetsNamespace, as as MonitorJobDeployOptions, at as MonitorJobLogsOptions, au as MonitorJobPhase, aw as MonitorJobReconciliationState, ax as MonitorJobResult, ay as MonitorJobState, az as MonitorJobWaitOptions, aA as MonitorJobsNamespace, aC as MonitorListEntry, dA as MonitorPayload, aG as MonitorPreviewOptions, aH as MonitorPreviewResult, aI as MonitorReactivateResult, aJ as MonitorSpec, aK as MonitorState, aL as MonitorStateFilter, aO as MonitorUpdateChangeSummary, aP as MonitorUpdateResult, aR as MonitorsAccessStatus, aT as MonitorsAvailableOptions, aU as MonitorsAvailableResult, aY as MonitorsListOptions, aZ as MonitorsListResult, a_ as MonitorsNamespace, dB as NormalizedRunEventQuery, b0 as PlayActivityObservation, b1 as PlayActivityState, b2 as PlayActivityTarget, bd as PlayCostEstimate, be as PlayCostEstimateResult, dC as PlayCronTriggerConfig, dD as PlayDescriptionOptions, bj as PlayLiveEvent, dE as PlayPath, bm as PlayRunActionPackage, bn as PlayRunActivityProjection, bo as PlayRunDatasetActions, br as PlayRunPackage, bs as PlayRunRateLimited, bt as PlayRunResult, bu as PlayRunRowHistoryOptions, bv as PlayRunStart, dF as PlaySettings, dG as PlaySettingsPatch, dH as PlaySettingsPathsPage, dI as PlaySettingsResult, bD as PlaySheetRow, bE as PlaySheetRowsResult, dJ as PlayTriggerConfigUpdate, dK as PlayTriggerConfigUpdateResult, dL as PlayTriggerConfigView, dM as PlayWebhookAuthConfig, dN as PlayWebhookTriggerConfig, bJ as PlaysActivityResponse, bK as PlaysListOptions, bL as PlaysListPage, bV as PublishPlayVersionRequest, bY as RerunOptions, bZ as RerunPlayRunResult, c0 as ResumePlayRunResult, c3 as RunChildrenPage, dO as RunEventCountResult, dP as RunEventField, dQ as RunEventFieldDescriptor, dR as RunEventFieldOperators, dS as RunEventFieldsResult, dT as RunEventGroupValue, dU as RunEventMeasure, dV as RunEventQueryCriteria, dW as RunEventQueryEvent, dX as RunEventQueryInputError, dY as RunEventQueryOptions, dZ as RunEventQueryPage, d_ as RunEventQueryRetention, d$ as RunEventScalar, e0 as RunEventSummaryOptions, e1 as RunEventSummaryResult, e2 as RunEventWhere, c5 as RunLifecycleStatus, e3 as RunToolReceiptResult, e4 as RunToolReceiptsResponse, c6 as RunsChildrenOptions, c7 as RunsEventPayload, c8 as RunsEventSearchEntry, c9 as RunsEventSearchOptions, ca as RunsEventSearchResult, cb as RunsEventsCountResult, cc as RunsEventsCriteria, cd as RunsEventsFieldsOptions, ce as RunsEventsListOptions, cf as RunsEventsListResult, cg as RunsEventsNamespace, ch as RunsEventsSummaryOptions, ci as RunsEventsSummaryResult, ck as RunsHistoryItem, cl as RunsHistoryOptions, cm as RunsHistoryPage, cn as RunsListOptions, co as RunsListPage, cp as RunsLogCriteria, cq as RunsLogsCountResult, cr as RunsLogsNamespace, cs as RunsLogsOptions, ct as RunsLogsQueryOptions, cu as RunsLogsQueryResult, cv as RunsLogsResult, cw as RunsLogsSummaryOptions, cx as RunsLogsSummaryResult, cy as RunsNamespace, cz as RunsTailOptions, cA as RunsWatchOptions, cB as SearchOptions, cC as SearchResult, cD as SearchResultItem, cE as SearchType, cJ as StartPlayRunRequest, cK as StopAllCandidate, cL as StopAllPlayRunsDryRunResult, cM as StopAllPlayRunsResult, cN as StopAllPlayRunsStopResult, cO as StopAllRunsOptions, cZ as ToolCategoryListing, c_ as ToolCategorySummary, d0 as ToolExecution, d5 as ToolRequestCondition, d6 as ToolRequestWarningRule, d7 as ToolSearchOptions, d8 as ToolSearchResult, e5 as WorkspaceConnection, dk as WorkspaceCreateResult, dl as WorkspaceReuseResult, dm as WorkspaceServiceAccount, dn as WorkspaceServiceAccountKey, dp as WorkspaceServiceAccountsNamespace, dq as WorkspacesNamespace, e6 as defineMonitor, dr as isStopAllPlayRunsDryRunResult, e7 as planCustomerDbQuery } from './client-core-Db_e63Hb.mjs';
6
+ import { D as DeeplineClient } from './client-D1uWA2Vc.mjs';
7
+ import { b as BundledPlayFileSuccess } from './index-DjZgwpGw.mjs';
8
8
  export { BatchMonitorInput, MonitorInputIssue, MonitorSpec as MonitorInputSpec, lintMonitorBatchInput, lintMonitorSpecTemplate, renderMonitorSpecTemplate } from './monitor-input-contract.mjs';
9
9
  export { AdmittedMonitorFleetAuthoringContract, MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG, MONITOR_FLEET_AUTHORING_CONTRACT_EDITION, MONITOR_FLEET_DOCUMENTATION, MONITOR_FLEET_FRONTIER_MAX_ROWS, MONITOR_FLEET_MAX_MEMBERS, MonitorFleetAuthoringContractEdition, MonitorFleetAuthoringContractResult, MonitorFleetColumn, MonitorFleetContractIssue, MonitorFleetDefinition, MonitorFleetExpression, MonitorFleetTemplate, admitMonitorFleetAuthoringContract, defineMonitorFleet, fleetColumn, fleetKey, lintMonitorFleetInput, validateMonitorFleetDefinition } from './monitor-fleet-contract.mjs';
10
- export { A as AuthError, C as ConfigError, a as CustomerDbQueryOutcomeUnknownError, R as RateLimitError, T as ToolRateLimitError } from './errors-CParKUQR.mjs';
10
+ export { A as AuthError, C as ConfigError, a as CustomerDbQueryOutcomeUnknownError, R as RateLimitError, T as ToolRateLimitError } from './errors-BU8FB99X.mjs';
11
11
  import '@sinclair/typebox';
12
12
  import 'zod';
13
13
 
@@ -289,6 +289,26 @@ type ScriptPlayContext = DeeplinePlayRuntimeContext & {
289
289
  */
290
290
  output(result: PlayReturnObject): void;
291
291
  };
292
+ /**
293
+ * Runs a play body with its context published for compiler-instrumented
294
+ * diagram boxes in helper modules, which have no context in scope.
295
+ *
296
+ * @internal
297
+ */
298
+ declare function __deeplineRunWithDocflowContext<T>(context: DeeplinePlayRuntimeContext, body: () => T): T;
299
+ /** What a helper module's compiler-injected box observation calls. */
300
+ type DocflowHelperObserver = {
301
+ __deeplineObserveDocflowNode(nodeId: string, inputCaptures: readonly unknown[], outputPaths: readonly string[], execute: () => unknown): unknown;
302
+ };
303
+ /**
304
+ * The observer a helper module's diagram box reports through, or null outside
305
+ * a run (unit tests, module initialization), where the box is a pass-through.
306
+ * Observations are marked `origin: 'helper'` so the runtime can decline ones
307
+ * made inside a dataset row: maps observe at the node level (ADR 0016).
308
+ *
309
+ * @internal
310
+ */
311
+ declare function __deeplineCurrentDocflowContext(): DocflowHelperObserver | null;
292
312
  /**
293
313
  * Runs a play module's body with `deepline` bound to this run. The bundler
294
314
  * wraps the module's code, and the dispatch to its default-exported play
@@ -947,4 +967,4 @@ declare function writeCsvOutputFile(rows: Array<Record<string, unknown>>, stem:
947
967
  */
948
968
  declare function extractSummaryFields(payload: unknown): Record<string, Scalar>;
949
969
 
950
- export { type AsyncPlayRunRef, BillingNamespace, ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, type CsvInput, type CsvOptions, CtxFetchAmbiguousWriteError, CtxFetchHttpError, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, Deepline, DeeplineClient, DeeplineClientOptions, DeeplineContext, type DeeplineExecutionsNamespace, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCallOptions, type DeeplineToolExecuteResult, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, ExecutionByKeyResult, ExecutionRecovery, type FetchOptions, type FileInput, type LocalPlayGraph, PROD_URL, type PlayAsyncCallOptions, type PlayBindings, type PlayCallExecution, type PlayCallOptions, PlayDataset, type PlayFetchResponse, type PlayInputContract, type PlayJob, PlayListItem, type PlayReferenceLike, PlayRevisionSummary, type PlayRunId, PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, PublishPlayVersionResult, ResolvedConfig, RunObserveTransportUnavailableError, type RuntimeStepOptions, SDK_API_CONTRACT, SDK_VERSION, type ScriptPlayContext, type SqlListenerDeclaration, type SqlListenerEvent, type SqlListenerOperation, type SqlQuery, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, StopPlayRunResult, ToolDefinition, BasicToolExecuteResult as ToolExecuteResult, type ToolExecutionRequest, ToolMetadata, deepline, deepline as default, defineInput, definePlay, defineWorkflow, extractSummaryFields, getDefinedPlayMetadata, pinLocalPlayImports, planLocalPlayExecution, readList, resolveConfig, runIf, runScriptPlay, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };
970
+ export { type AsyncPlayRunRef, BillingNamespace, ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, type CsvInput, type CsvOptions, CtxFetchAmbiguousWriteError, CtxFetchHttpError, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, Deepline, DeeplineClient, DeeplineClientOptions, DeeplineContext, type DeeplineExecutionsNamespace, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCallOptions, type DeeplineToolExecuteResult, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, ExecutionByKeyResult, ExecutionRecovery, type FetchOptions, type FileInput, type LocalPlayGraph, PROD_URL, type PlayAsyncCallOptions, type PlayBindings, type PlayCallExecution, type PlayCallOptions, PlayDataset, type PlayFetchResponse, type PlayInputContract, type PlayJob, PlayListItem, type PlayReferenceLike, PlayRevisionSummary, type PlayRunId, PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, PublishPlayVersionResult, ResolvedConfig, RunObserveTransportUnavailableError, type RuntimeStepOptions, SDK_API_CONTRACT, SDK_VERSION, type ScriptPlayContext, type SqlListenerDeclaration, type SqlListenerEvent, type SqlListenerOperation, type SqlQuery, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, StopPlayRunResult, ToolDefinition, BasicToolExecuteResult as ToolExecuteResult, type ToolExecutionRequest, ToolMetadata, __deeplineCurrentDocflowContext, __deeplineRunWithDocflowContext, deepline, deepline as default, defineInput, definePlay, defineWorkflow, extractSummaryFields, getDefinedPlayMetadata, pinLocalPlayImports, planLocalPlayExecution, readList, resolveConfig, runIf, runScriptPlay, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
- import { x as PlayAuthoringFetchResponse, y as ToolExecuteResult, z as BasicToolExecuteResult, A as PlayDataset, C as AsyncPlayRunRef$1, E as PlayAuthoringColumnMap, F as PlayAuthoringColumnResolver, G as PlayAuthoringRuntimeContext, H as PlayAuthoringConditionalStepResolver, J as PlayAuthoringCsvInput, K as PlayAuthoringCsvOptions, L as PlayAuthoringDatasetBuilder, M as PlayAuthoringDatasetColumnDefinition, N as PlayAuthoringDatasetColumnRunInput, O as PlayAuthoringReferenceLike, Q as PlayReturnObject$1, R as PlayAuthoringDefineConfig, S as PlayAuthoringDefinedPlay, U as PlayAuthoringFetchOptions, V as PlayAuthoringFileInput, W as PlayAuthoringAsyncCallOptions, X as PlayAuthoringBindings, Y as PlayAuthoringCallExecution, Z as PlayAuthoringCallOptions, _ as PlayAuthoringInputContract, $ as PlayRunId$1, a0 as PlayAuthoringStepProgramStep, a1 as PlayAuthoringRuntimeStepOptions, a2 as PlaySqlListenerDeclaration, a3 as PlaySqlListenerEvent, a4 as PlaySqlListenerOperation, a5 as PlaySqlQuery, a6 as PlayAuthoringStepOptions, a7 as PlayAuthoringStepProgram, a8 as PlayAuthoringStepProgramResolver, a9 as PlayAuthoringStepResolver, aa as PlayToolExecutionRequest, ab as PlayAuthoringStepProgramOptions } from './compiler-manifest-EBWEUj0b.js';
3
- export { B as BillingEntitlements, ac as DEEPLINE_EXTRACTOR_TARGETS, ad as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, ae as DeeplineEmailStatusGetterValue, D as DeeplineError, af as DeeplineExtractorTarget, ag as DeeplineGetterValue, ah as DeeplineGetterValueMap, ai as JOB_CHANGE_STATUS_VALUES, aj as JobChangeStatus, ak as PHONE_STATUS_VALUES, al as PhoneStatus, am as PlayDatasetInput, an as PreviousCell, P as ProviderTransientError, a as ProviderTransientErrorCategory, b as ProviderUnavailableError, c as ProviderUnavailableReason, T as ToolExecutionError, d as ToolExecutionErrorCategory, e as ToolExecutionErrorOptions, f as ToolExecutionErrorOrigin, g as ToolExecutionFailureV1, h as ToolExecutionNetworkKind, i as ToolExecutionNetworkScope, j as ToolExecutionPublicDetails, ao as ToolResultBilling, k as ToolUpstreamResponse, l as getProviderUnavailableReason, ap as isDeeplineExtractorTarget, m as isProviderUnavailable, n as isProviderWaterfallUnavailableError } from './compiler-manifest-EBWEUj0b.js';
4
- import { a as DeeplineClientOptions, i as BillingNamespace, cZ as ToolDefinition, d1 as ToolMetadata, dq as ExecuteToolRawOptions, U as ExecutionRecovery, T as ExecutionByKeyResult, bi as PlayListItem, bh as PlayDetail, bp as PlayRunListItem, bl as PlayRevisionSummary, bU as PublishPlayVersionResult, I as ClearPlayHistoryResult, bF as PlayStatus, cN as StopPlayRunResult, bY as ResolvedConfig } from './client-core-BpYiYEfu.js';
5
- export { d as BillingCreditPool, e as BillingInvoiceEntry, f as BillingInvoicesResult, j as BillingPaymentMethodSummary, m as BillingQuoteRequest, n as BillingQuoteResult, o as BillingRecentUsageEntry, p as BillingSavedCard, q as BillingSavedCardChangeOptions, r as BillingSavedCardChangeResult, s as BillingSavedCardsResult, t as BillingSubscriptionCancelResult, u as BillingSubscriptionStatus, v as BillingTopUpReceipt, w as BillingTopUpResult, x as BillingUsageEvent, y as BillingUsageEventListEntry, z as BillingUsageEventsOptions, C as BillingUsageEventsResult, E as BillingUsageOptions, F as BillingUsageResult, G as ChildRunSummary, H as ClearPlayHistoryRequest, J as CreateNotificationGroupInput, K as CreateNotificationGroupResult, dr as CustomerDbQueryOptions, ds as CustomerDbQueryPlan, N as CustomerDbQueryResult, dt as DEEPLINE_TOOL_CATEGORIES, O as DbNamespace, Q as DeeplineToolCategory, Y as IngestionStorageRepairResult, du as IntegrationChangeOptions, dv as IntegrationChangeResult, dw as IntegrationsNamespace, Z as LegacyMonitorStatusFilter, _ as LiveEventEnvelope, a0 as MONITOR_JOB_PHASES, a1 as MONITOR_JOB_RECONCILIATION_STATES, a2 as MONITOR_JOB_STATES, a7 as MonitorBatchNamespace, ab as MonitorCheckResult, dx as MonitorDefinition, ac as MonitorDeleteResult, ad as MonitorDependents, ae as MonitorDeployResult, af as MonitorDetail, ah as MonitorFleetDeactivateOptions, ai as MonitorFleetGetOptions, aj as MonitorFleetIssuesOptions, ak as MonitorFleetOverviewDetailOptions, al as MonitorFleetOverviewOptions, am as MonitorFleetReactivateOptions, an as MonitorFleetResult, ao as MonitorFleetStatus, ap as MonitorFleetSyncOptions, aq as MonitorFleetWaitOptions, ar as MonitorFleetsNamespace, as as MonitorJobDeployOptions, at as MonitorJobLogsOptions, au as MonitorJobPhase, aw as MonitorJobReconciliationState, ax as MonitorJobResult, ay as MonitorJobState, az as MonitorJobWaitOptions, aA as MonitorJobsNamespace, aC as MonitorListEntry, dy as MonitorPayload, aG as MonitorPreviewOptions, aH as MonitorPreviewResult, aI as MonitorReactivateResult, aJ as MonitorSpec, aK as MonitorState, aL as MonitorStateFilter, aO as MonitorUpdateChangeSummary, aP as MonitorUpdateResult, aR as MonitorsAccessStatus, aT as MonitorsAvailableOptions, aU as MonitorsAvailableResult, aY as MonitorsListOptions, aZ as MonitorsListResult, a_ as MonitorsNamespace, dz as NormalizedRunEventQuery, b0 as PlayActivityObservation, b1 as PlayActivityState, b2 as PlayActivityTarget, bd as PlayCostEstimate, be as PlayCostEstimateResult, dA as PlayCronTriggerConfig, dB as PlayDescriptionOptions, bj as PlayLiveEvent, dC as PlayPath, bm as PlayRunActionPackage, bn as PlayRunActivityProjection, bo as PlayRunDatasetActions, br as PlayRunPackage, bs as PlayRunRateLimited, bt as PlayRunResult, bu as PlayRunRowHistoryOptions, bv as PlayRunStart, dD as PlaySettings, dE as PlaySettingsPatch, dF as PlaySettingsPathsPage, dG as PlaySettingsResult, bB as PlaySheetRow, bC as PlaySheetRowsResult, dH as PlayTriggerConfigUpdate, dI as PlayTriggerConfigUpdateResult, dJ as PlayTriggerConfigView, dK as PlayWebhookAuthConfig, dL as PlayWebhookTriggerConfig, bH as PlaysActivityResponse, bI as PlaysListOptions, bJ as PlaysListPage, bT as PublishPlayVersionRequest, bW as RerunOptions, bX as RerunPlayRunResult, b_ as ResumePlayRunResult, c1 as RunChildrenPage, dM as RunEventCountResult, dN as RunEventField, dO as RunEventFieldDescriptor, dP as RunEventFieldOperators, dQ as RunEventFieldsResult, dR as RunEventGroupValue, dS as RunEventMeasure, dT as RunEventQueryCriteria, dU as RunEventQueryEvent, dV as RunEventQueryInputError, dW as RunEventQueryOptions, dX as RunEventQueryPage, dY as RunEventQueryRetention, dZ as RunEventScalar, d_ as RunEventSummaryOptions, d$ as RunEventSummaryResult, e0 as RunEventWhere, c3 as RunLifecycleStatus, e1 as RunToolReceiptResult, e2 as RunToolReceiptsResponse, c4 as RunsChildrenOptions, c5 as RunsEventPayload, c6 as RunsEventSearchEntry, c7 as RunsEventSearchOptions, c8 as RunsEventSearchResult, c9 as RunsEventsCountResult, ca as RunsEventsCriteria, cb as RunsEventsFieldsOptions, cc as RunsEventsListOptions, cd as RunsEventsListResult, ce as RunsEventsNamespace, cf as RunsEventsSummaryOptions, cg as RunsEventsSummaryResult, ci as RunsHistoryItem, cj as RunsHistoryOptions, ck as RunsHistoryPage, cl as RunsListOptions, cm as RunsListPage, cn as RunsLogCriteria, co as RunsLogsCountResult, cp as RunsLogsNamespace, cq as RunsLogsOptions, cr as RunsLogsQueryOptions, cs as RunsLogsQueryResult, ct as RunsLogsResult, cu as RunsLogsSummaryOptions, cv as RunsLogsSummaryResult, cw as RunsNamespace, cx as RunsTailOptions, cy as RunsWatchOptions, cz as SearchOptions, cA as SearchResult, cB as SearchResultItem, cC as SearchType, cH as StartPlayRunRequest, cI as StopAllCandidate, cJ as StopAllPlayRunsDryRunResult, cK as StopAllPlayRunsResult, cL as StopAllPlayRunsStopResult, cM as StopAllRunsOptions, cX as ToolCategoryListing, cY as ToolCategorySummary, c_ as ToolExecution, d3 as ToolRequestCondition, d4 as ToolRequestWarningRule, d5 as ToolSearchOptions, d6 as ToolSearchResult, e3 as WorkspaceConnection, di as WorkspaceCreateResult, dj as WorkspaceReuseResult, dk as WorkspaceServiceAccount, dl as WorkspaceServiceAccountKey, dm as WorkspaceServiceAccountsNamespace, dn as WorkspacesNamespace, e4 as defineMonitor, dp as isStopAllPlayRunsDryRunResult, e5 as planCustomerDbQuery } from './client-core-BpYiYEfu.js';
6
- import { D as DeeplineClient } from './client-CCyWJqAI.js';
7
- import { b as BundledPlayFileSuccess } from './index-CoqDkIw0.js';
2
+ import { x as PlayAuthoringFetchResponse, y as ToolExecuteResult, z as BasicToolExecuteResult, A as PlayDataset, C as AsyncPlayRunRef$1, E as PlayAuthoringColumnMap, F as PlayAuthoringColumnResolver, G as PlayAuthoringRuntimeContext, H as PlayAuthoringConditionalStepResolver, J as PlayAuthoringCsvInput, K as PlayAuthoringCsvOptions, L as PlayAuthoringDatasetBuilder, M as PlayAuthoringDatasetColumnDefinition, N as PlayAuthoringDatasetColumnRunInput, O as PlayAuthoringReferenceLike, Q as PlayReturnObject$1, R as PlayAuthoringDefineConfig, S as PlayAuthoringDefinedPlay, U as PlayAuthoringFetchOptions, V as PlayAuthoringFileInput, W as PlayAuthoringAsyncCallOptions, X as PlayAuthoringBindings, Y as PlayAuthoringCallExecution, Z as PlayAuthoringCallOptions, _ as PlayAuthoringInputContract, $ as PlayRunId$1, a0 as PlayAuthoringStepProgramStep, a1 as PlayAuthoringRuntimeStepOptions, a2 as PlaySqlListenerDeclaration, a3 as PlaySqlListenerEvent, a4 as PlaySqlListenerOperation, a5 as PlaySqlQuery, a6 as PlayAuthoringStepOptions, a7 as PlayAuthoringStepProgram, a8 as PlayAuthoringStepProgramResolver, a9 as PlayAuthoringStepResolver, aa as PlayToolExecutionRequest, ab as PlayAuthoringStepProgramOptions } from './compiler-manifest-BqwVrOri.js';
3
+ export { B as BillingEntitlements, ac as DEEPLINE_EXTRACTOR_TARGETS, ad as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, ae as DeeplineEmailStatusGetterValue, D as DeeplineError, af as DeeplineExtractorTarget, ag as DeeplineGetterValue, ah as DeeplineGetterValueMap, ai as JOB_CHANGE_STATUS_VALUES, aj as JobChangeStatus, ak as PHONE_STATUS_VALUES, al as PhoneStatus, am as PlayDatasetInput, an as PreviousCell, P as ProviderTransientError, a as ProviderTransientErrorCategory, b as ProviderUnavailableError, c as ProviderUnavailableReason, T as ToolExecutionError, d as ToolExecutionErrorCategory, e as ToolExecutionErrorOptions, f as ToolExecutionErrorOrigin, g as ToolExecutionFailureV1, h as ToolExecutionNetworkKind, i as ToolExecutionNetworkScope, j as ToolExecutionPublicDetails, ao as ToolResultBilling, k as ToolUpstreamResponse, l as getProviderUnavailableReason, ap as isDeeplineExtractorTarget, m as isProviderUnavailable, n as isProviderWaterfallUnavailableError } from './compiler-manifest-BqwVrOri.js';
4
+ import { a as DeeplineClientOptions, i as BillingNamespace, c$ as ToolDefinition, d3 as ToolMetadata, ds as ExecuteToolRawOptions, U as ExecutionRecovery, T as ExecutionByKeyResult, bi as PlayListItem, bh as PlayDetail, bp as PlayRunListItem, bl as PlayRevisionSummary, bW as PublishPlayVersionResult, I as ClearPlayHistoryResult, bH as PlayStatus, cP as StopPlayRunResult, b_ as ResolvedConfig } from './client-core-D3Ad7Flt.js';
5
+ export { d as BillingCreditPool, e as BillingInvoiceEntry, f as BillingInvoicesResult, j as BillingPaymentMethodSummary, m as BillingQuoteRequest, n as BillingQuoteResult, o as BillingRecentUsageEntry, p as BillingSavedCard, q as BillingSavedCardChangeOptions, r as BillingSavedCardChangeResult, s as BillingSavedCardsResult, t as BillingSubscriptionCancelResult, u as BillingSubscriptionStatus, v as BillingTopUpReceipt, w as BillingTopUpResult, x as BillingUsageEvent, y as BillingUsageEventListEntry, z as BillingUsageEventsOptions, C as BillingUsageEventsResult, E as BillingUsageOptions, F as BillingUsageResult, G as ChildRunSummary, H as ClearPlayHistoryRequest, J as CreateNotificationGroupInput, K as CreateNotificationGroupResult, dt as CustomerDbQueryOptions, du as CustomerDbQueryPlan, N as CustomerDbQueryResult, dv as DEEPLINE_TOOL_CATEGORIES, O as DbNamespace, Q as DeeplineToolCategory, Y as IngestionStorageRepairResult, dw as IntegrationChangeOptions, dx as IntegrationChangeResult, dy as IntegrationsNamespace, Z as LegacyMonitorStatusFilter, _ as LiveEventEnvelope, a0 as MONITOR_JOB_PHASES, a1 as MONITOR_JOB_RECONCILIATION_STATES, a2 as MONITOR_JOB_STATES, a7 as MonitorBatchNamespace, ab as MonitorCheckResult, dz as MonitorDefinition, ac as MonitorDeleteResult, ad as MonitorDependents, ae as MonitorDeployResult, af as MonitorDetail, ah as MonitorFleetDeactivateOptions, ai as MonitorFleetGetOptions, aj as MonitorFleetIssuesOptions, ak as MonitorFleetOverviewDetailOptions, al as MonitorFleetOverviewOptions, am as MonitorFleetReactivateOptions, an as MonitorFleetResult, ao as MonitorFleetStatus, ap as MonitorFleetSyncOptions, aq as MonitorFleetWaitOptions, ar as MonitorFleetsNamespace, as as MonitorJobDeployOptions, at as MonitorJobLogsOptions, au as MonitorJobPhase, aw as MonitorJobReconciliationState, ax as MonitorJobResult, ay as MonitorJobState, az as MonitorJobWaitOptions, aA as MonitorJobsNamespace, aC as MonitorListEntry, dA as MonitorPayload, aG as MonitorPreviewOptions, aH as MonitorPreviewResult, aI as MonitorReactivateResult, aJ as MonitorSpec, aK as MonitorState, aL as MonitorStateFilter, aO as MonitorUpdateChangeSummary, aP as MonitorUpdateResult, aR as MonitorsAccessStatus, aT as MonitorsAvailableOptions, aU as MonitorsAvailableResult, aY as MonitorsListOptions, aZ as MonitorsListResult, a_ as MonitorsNamespace, dB as NormalizedRunEventQuery, b0 as PlayActivityObservation, b1 as PlayActivityState, b2 as PlayActivityTarget, bd as PlayCostEstimate, be as PlayCostEstimateResult, dC as PlayCronTriggerConfig, dD as PlayDescriptionOptions, bj as PlayLiveEvent, dE as PlayPath, bm as PlayRunActionPackage, bn as PlayRunActivityProjection, bo as PlayRunDatasetActions, br as PlayRunPackage, bs as PlayRunRateLimited, bt as PlayRunResult, bu as PlayRunRowHistoryOptions, bv as PlayRunStart, dF as PlaySettings, dG as PlaySettingsPatch, dH as PlaySettingsPathsPage, dI as PlaySettingsResult, bD as PlaySheetRow, bE as PlaySheetRowsResult, dJ as PlayTriggerConfigUpdate, dK as PlayTriggerConfigUpdateResult, dL as PlayTriggerConfigView, dM as PlayWebhookAuthConfig, dN as PlayWebhookTriggerConfig, bJ as PlaysActivityResponse, bK as PlaysListOptions, bL as PlaysListPage, bV as PublishPlayVersionRequest, bY as RerunOptions, bZ as RerunPlayRunResult, c0 as ResumePlayRunResult, c3 as RunChildrenPage, dO as RunEventCountResult, dP as RunEventField, dQ as RunEventFieldDescriptor, dR as RunEventFieldOperators, dS as RunEventFieldsResult, dT as RunEventGroupValue, dU as RunEventMeasure, dV as RunEventQueryCriteria, dW as RunEventQueryEvent, dX as RunEventQueryInputError, dY as RunEventQueryOptions, dZ as RunEventQueryPage, d_ as RunEventQueryRetention, d$ as RunEventScalar, e0 as RunEventSummaryOptions, e1 as RunEventSummaryResult, e2 as RunEventWhere, c5 as RunLifecycleStatus, e3 as RunToolReceiptResult, e4 as RunToolReceiptsResponse, c6 as RunsChildrenOptions, c7 as RunsEventPayload, c8 as RunsEventSearchEntry, c9 as RunsEventSearchOptions, ca as RunsEventSearchResult, cb as RunsEventsCountResult, cc as RunsEventsCriteria, cd as RunsEventsFieldsOptions, ce as RunsEventsListOptions, cf as RunsEventsListResult, cg as RunsEventsNamespace, ch as RunsEventsSummaryOptions, ci as RunsEventsSummaryResult, ck as RunsHistoryItem, cl as RunsHistoryOptions, cm as RunsHistoryPage, cn as RunsListOptions, co as RunsListPage, cp as RunsLogCriteria, cq as RunsLogsCountResult, cr as RunsLogsNamespace, cs as RunsLogsOptions, ct as RunsLogsQueryOptions, cu as RunsLogsQueryResult, cv as RunsLogsResult, cw as RunsLogsSummaryOptions, cx as RunsLogsSummaryResult, cy as RunsNamespace, cz as RunsTailOptions, cA as RunsWatchOptions, cB as SearchOptions, cC as SearchResult, cD as SearchResultItem, cE as SearchType, cJ as StartPlayRunRequest, cK as StopAllCandidate, cL as StopAllPlayRunsDryRunResult, cM as StopAllPlayRunsResult, cN as StopAllPlayRunsStopResult, cO as StopAllRunsOptions, cZ as ToolCategoryListing, c_ as ToolCategorySummary, d0 as ToolExecution, d5 as ToolRequestCondition, d6 as ToolRequestWarningRule, d7 as ToolSearchOptions, d8 as ToolSearchResult, e5 as WorkspaceConnection, dk as WorkspaceCreateResult, dl as WorkspaceReuseResult, dm as WorkspaceServiceAccount, dn as WorkspaceServiceAccountKey, dp as WorkspaceServiceAccountsNamespace, dq as WorkspacesNamespace, e6 as defineMonitor, dr as isStopAllPlayRunsDryRunResult, e7 as planCustomerDbQuery } from './client-core-D3Ad7Flt.js';
6
+ import { D as DeeplineClient } from './client-Hz7SsBXs.js';
7
+ import { b as BundledPlayFileSuccess } from './index-BGnvtYGc.js';
8
8
  export { BatchMonitorInput, MonitorInputIssue, MonitorSpec as MonitorInputSpec, lintMonitorBatchInput, lintMonitorSpecTemplate, renderMonitorSpecTemplate } from './monitor-input-contract.js';
9
9
  export { AdmittedMonitorFleetAuthoringContract, MONITOR_FLEET_AUTHORING_CONTRACT_CHANGELOG, MONITOR_FLEET_AUTHORING_CONTRACT_EDITION, MONITOR_FLEET_DOCUMENTATION, MONITOR_FLEET_FRONTIER_MAX_ROWS, MONITOR_FLEET_MAX_MEMBERS, MonitorFleetAuthoringContractEdition, MonitorFleetAuthoringContractResult, MonitorFleetColumn, MonitorFleetContractIssue, MonitorFleetDefinition, MonitorFleetExpression, MonitorFleetTemplate, admitMonitorFleetAuthoringContract, defineMonitorFleet, fleetColumn, fleetKey, lintMonitorFleetInput, validateMonitorFleetDefinition } from './monitor-fleet-contract.js';
10
- export { A as AuthError, C as ConfigError, a as CustomerDbQueryOutcomeUnknownError, R as RateLimitError, T as ToolRateLimitError } from './errors-Qt0OTA7_.js';
10
+ export { A as AuthError, C as ConfigError, a as CustomerDbQueryOutcomeUnknownError, R as RateLimitError, T as ToolRateLimitError } from './errors-DfVN_FUG.js';
11
11
  import '@sinclair/typebox';
12
12
  import 'zod';
13
13
 
@@ -289,6 +289,26 @@ type ScriptPlayContext = DeeplinePlayRuntimeContext & {
289
289
  */
290
290
  output(result: PlayReturnObject): void;
291
291
  };
292
+ /**
293
+ * Runs a play body with its context published for compiler-instrumented
294
+ * diagram boxes in helper modules, which have no context in scope.
295
+ *
296
+ * @internal
297
+ */
298
+ declare function __deeplineRunWithDocflowContext<T>(context: DeeplinePlayRuntimeContext, body: () => T): T;
299
+ /** What a helper module's compiler-injected box observation calls. */
300
+ type DocflowHelperObserver = {
301
+ __deeplineObserveDocflowNode(nodeId: string, inputCaptures: readonly unknown[], outputPaths: readonly string[], execute: () => unknown): unknown;
302
+ };
303
+ /**
304
+ * The observer a helper module's diagram box reports through, or null outside
305
+ * a run (unit tests, module initialization), where the box is a pass-through.
306
+ * Observations are marked `origin: 'helper'` so the runtime can decline ones
307
+ * made inside a dataset row: maps observe at the node level (ADR 0016).
308
+ *
309
+ * @internal
310
+ */
311
+ declare function __deeplineCurrentDocflowContext(): DocflowHelperObserver | null;
292
312
  /**
293
313
  * Runs a play module's body with `deepline` bound to this run. The bundler
294
314
  * wraps the module's code, and the dispatch to its default-exported play
@@ -947,4 +967,4 @@ declare function writeCsvOutputFile(rows: Array<Record<string, unknown>>, stem:
947
967
  */
948
968
  declare function extractSummaryFields(payload: unknown): Record<string, Scalar>;
949
969
 
950
- export { type AsyncPlayRunRef, BillingNamespace, ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, type CsvInput, type CsvOptions, CtxFetchAmbiguousWriteError, CtxFetchHttpError, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, Deepline, DeeplineClient, DeeplineClientOptions, DeeplineContext, type DeeplineExecutionsNamespace, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCallOptions, type DeeplineToolExecuteResult, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, ExecutionByKeyResult, ExecutionRecovery, type FetchOptions, type FileInput, type LocalPlayGraph, PROD_URL, type PlayAsyncCallOptions, type PlayBindings, type PlayCallExecution, type PlayCallOptions, PlayDataset, type PlayFetchResponse, type PlayInputContract, type PlayJob, PlayListItem, type PlayReferenceLike, PlayRevisionSummary, type PlayRunId, PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, PublishPlayVersionResult, ResolvedConfig, RunObserveTransportUnavailableError, type RuntimeStepOptions, SDK_API_CONTRACT, SDK_VERSION, type ScriptPlayContext, type SqlListenerDeclaration, type SqlListenerEvent, type SqlListenerOperation, type SqlQuery, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, StopPlayRunResult, ToolDefinition, BasicToolExecuteResult as ToolExecuteResult, type ToolExecutionRequest, ToolMetadata, deepline, deepline as default, defineInput, definePlay, defineWorkflow, extractSummaryFields, getDefinedPlayMetadata, pinLocalPlayImports, planLocalPlayExecution, readList, resolveConfig, runIf, runScriptPlay, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };
970
+ export { type AsyncPlayRunRef, BillingNamespace, ClearPlayHistoryResult, type ColumnMap, type ColumnResolver, type ConditionalStepResolver, type CsvInput, type CsvOptions, CtxFetchAmbiguousWriteError, CtxFetchHttpError, type DatasetBuilder, type DatasetColumnDefinition, type DatasetColumnRunInput, Deepline, DeeplineClient, DeeplineClientOptions, DeeplineContext, type DeeplineExecutionsNamespace, type DeeplineNamedPlay, type DeeplinePlayRuntimeContext, type DeeplinePlaysNamespace, type DeeplineToolCallOptions, type DeeplineToolExecuteResult, type DeeplineToolsNamespace, type DefinePlayConfig, type DefinedPlay, ExecutionByKeyResult, ExecutionRecovery, type FetchOptions, type FileInput, type LocalPlayGraph, PROD_URL, type PlayAsyncCallOptions, type PlayBindings, type PlayCallExecution, type PlayCallOptions, PlayDataset, type PlayFetchResponse, type PlayInputContract, type PlayJob, PlayListItem, type PlayReferenceLike, PlayRevisionSummary, type PlayRunId, PlayStatus, type PlayStepProgramStep, type PrebuiltPlayRef, PublishPlayVersionResult, ResolvedConfig, RunObserveTransportUnavailableError, type RuntimeStepOptions, SDK_API_CONTRACT, SDK_VERSION, type ScriptPlayContext, type SqlListenerDeclaration, type SqlListenerEvent, type SqlListenerOperation, type SqlQuery, type StepOptions, type StepProgram, type StepProgramResolver, type StepResolver, StopPlayRunResult, ToolDefinition, BasicToolExecuteResult as ToolExecuteResult, type ToolExecutionRequest, ToolMetadata, __deeplineCurrentDocflowContext, __deeplineRunWithDocflowContext, deepline, deepline as default, defineInput, definePlay, defineWorkflow, extractSummaryFields, getDefinedPlayMetadata, pinLocalPlayImports, planLocalPlayExecution, readList, resolveConfig, runIf, runScriptPlay, steps, tryConvertToList, writeCsvOutputFile, writeJsonOutputFile };