deepline 0.3.477 → 0.3.479

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 (168) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +5 -4
  2. package/dist/bundling-sources/sdk/src/http-core.ts +84 -3
  3. package/dist/bundling-sources/sdk/src/http.ts +2 -0
  4. package/dist/bundling-sources/sdk/src/play.ts +8 -2
  5. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  6. package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +11 -0
  7. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  8. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +10 -2
  9. package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +11 -1
  10. package/dist/bundling-sources/shared_libs/play-runtime/protocol.ts +5 -0
  11. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +77 -4
  12. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-session-execution.ts +83 -1
  13. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +7 -0
  14. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +60 -27
  15. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +13 -12
  16. package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +5 -2
  17. package/dist/bundling-sources/shared_libs/plays/sandbox-runtime-limits.ts +37 -12
  18. package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +3 -1
  19. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +29 -0
  20. package/dist/bundling-sources/shared_libs/product-notifications/events.ts +15 -0
  21. package/dist/bundling-sources/shared_libs/product-notifications/slack-delivery.ts +57 -5
  22. package/dist/bundling-sources/shared_libs/product-notifications/slack-transport.ts +19 -0
  23. package/dist/cli/{auth-XVXRRWIQ.mjs → auth-D7DYB57R.mjs} +5 -5
  24. package/dist/cli/auth-MZDFNRPG.js +41 -0
  25. package/dist/cli/{billing-2H7GFJDT.js → billing-DHGSNM6E.js} +107 -87
  26. package/dist/cli/{billing-EOPUJ4JI.mjs → billing-DT4JT4QN.mjs} +34 -14
  27. package/dist/cli/{chunk-CH4VMDB5.js → chunk-27GSBTWD.js} +70 -52
  28. package/dist/cli/{chunk-PQQNMMWM.mjs → chunk-27PXHD2P.mjs} +1 -1
  29. package/dist/cli/{chunk-ACDXGOXE.js → chunk-33O2JGHE.js} +63 -11
  30. package/dist/cli/{chunk-255O6APS.js → chunk-3GIM7XRH.js} +2 -2
  31. package/dist/cli/{chunk-6IJJCRE5.mjs → chunk-3PHOAUU4.mjs} +23 -5
  32. package/dist/cli/{chunk-NC52JG66.js → chunk-3SGA53DX.js} +3 -3
  33. package/dist/cli/{chunk-RHIFH3GD.mjs → chunk-6C3QY5JS.mjs} +1 -1
  34. package/dist/cli/{chunk-NJMYX2TP.mjs → chunk-6QIXWFPO.mjs} +3 -3
  35. package/dist/cli/chunk-7I4B6V2S.mjs +127 -0
  36. package/dist/cli/{chunk-MZSLFWOT.js → chunk-7UFFWPQ2.js} +13 -9
  37. package/dist/cli/{chunk-RGNMMDSJ.js → chunk-AFHFZU5V.js} +37 -37
  38. package/dist/cli/{chunk-KWQNNPMH.js → chunk-AKVNUNL7.js} +3 -3
  39. package/dist/cli/{chunk-LXKGZKTL.js → chunk-CK2Q6AWR.js} +26 -26
  40. package/dist/cli/{chunk-DFKHXZQ7.mjs → chunk-D6MLXRMQ.mjs} +10 -10
  41. package/dist/cli/{chunk-7CILZKLE.js → chunk-EMVWC5LP.js} +5 -5
  42. package/dist/cli/{chunk-75NLWBYQ.js → chunk-FBEXJVQL.js} +93 -93
  43. package/dist/cli/{chunk-JS4UO6G4.mjs → chunk-FKEZ5DIJ.mjs} +2 -1
  44. package/dist/cli/{chunk-ZDPL5AIK.js → chunk-FV7WGK5X.js} +5 -5
  45. package/dist/cli/{chunk-E2CUSH56.js → chunk-G6V34EQ5.js} +16 -16
  46. package/dist/cli/{chunk-DS3DZUES.mjs → chunk-GICSDK72.mjs} +2 -2
  47. package/dist/cli/{chunk-C2V2HQDW.mjs → chunk-GONL4EFT.mjs} +2 -2
  48. package/dist/cli/{chunk-6KKDIISC.js → chunk-GQCH6Y7W.js} +1 -1
  49. package/dist/cli/{chunk-3UKKM6OS.js → chunk-GSULE54L.js} +7 -6
  50. package/dist/cli/{chunk-2YNLW43I.mjs → chunk-GZ43YXHT.mjs} +2 -2
  51. package/dist/cli/{chunk-UYA7LJGC.mjs → chunk-IL5AF6AR.mjs} +4 -2
  52. package/dist/cli/{chunk-R5FNCFEK.js → chunk-J5VDE42G.js} +3 -3
  53. package/dist/cli/{chunk-KMXBZIKO.mjs → chunk-JFGOMQW6.mjs} +2 -2
  54. package/dist/cli/{chunk-C46DWB56.mjs → chunk-JKUFOP7M.mjs} +1 -1
  55. package/dist/cli/{chunk-23EEVP5W.js → chunk-JMCTNS6S.js} +6 -6
  56. package/dist/cli/{chunk-ISEUOYCB.mjs → chunk-JNFNNJ75.mjs} +4 -4
  57. package/dist/cli/{chunk-C2AN2HTB.mjs → chunk-K5RRY7DJ.mjs} +4 -4
  58. package/dist/cli/{chunk-M2UL4ZS5.js → chunk-LXYDN5FE.js} +7 -7
  59. package/dist/cli/{chunk-3W6E3WVU.js → chunk-N4M6CO5H.js} +9 -9
  60. package/dist/cli/{chunk-RLCAECZH.mjs → chunk-N7E25EU2.mjs} +5 -5
  61. package/dist/cli/{chunk-YZA5UJXM.mjs → chunk-O5BUFQ2P.mjs} +1 -1
  62. package/dist/cli/{chunk-WFVEMDQL.js → chunk-OKAZHDYN.js} +4 -2
  63. package/dist/cli/{chunk-4RAENEAX.js → chunk-OVFCPV24.js} +53 -53
  64. package/dist/cli/{chunk-NO7ZC2GV.mjs → chunk-PUOKABQF.mjs} +5 -5
  65. package/dist/cli/{chunk-SG2SZQ4K.mjs → chunk-RJVUILW4.mjs} +2 -2
  66. package/dist/cli/{chunk-SVU2VR6Q.mjs → chunk-TZCHXF4R.mjs} +2 -2
  67. package/dist/cli/{chunk-XQLYPHYW.mjs → chunk-UOYA35OT.mjs} +1 -1
  68. package/dist/cli/{chunk-THMGJOR4.js → chunk-VKBLXJCK.js} +8 -8
  69. package/dist/cli/{chunk-UBNS6GSV.js → chunk-VRZXGJXH.js} +21 -21
  70. package/dist/cli/{chunk-DMWHEYZM.js → chunk-W4HIOBQQ.js} +2 -2
  71. package/dist/cli/{chunk-347EE4YE.js → chunk-W6N2S5N7.js} +8 -8
  72. package/dist/cli/{chunk-WRHLAAGN.mjs → chunk-XBYW5EHY.mjs} +1 -1
  73. package/dist/cli/{chunk-LJYTYNQZ.mjs → chunk-XDFARN7U.mjs} +55 -3
  74. package/dist/cli/{chunk-2QT6KN54.js → chunk-Y2MVDYV6.js} +10 -10
  75. package/dist/cli/{chunk-QODW5ILA.mjs → chunk-YC2QBF2W.mjs} +2 -2
  76. package/dist/cli/chunk-YGCKMI5P.js +127 -0
  77. package/dist/cli/{chunk-3A7TDUZV.mjs → chunk-ZBSUXXZS.mjs} +13 -9
  78. package/dist/cli/{chunk-2GZFIWSA.mjs → chunk-ZJRVHQSZ.mjs} +4 -4
  79. package/dist/cli/command-docs.js +2 -2
  80. package/dist/cli/command-docs.mjs +1 -1
  81. package/dist/cli/{csv-ECB7TYR2.js → csv-DQWOZ2BL.js} +13 -13
  82. package/dist/cli/{csv-IDRPTSSC.mjs → csv-JXFOD7DJ.mjs} +4 -4
  83. package/dist/cli/{db-FOBZD44N.mjs → db-NOGMZAQE.mjs} +6 -6
  84. package/dist/cli/{db-S74XZZ77.js → db-Q2OAAXRX.js} +27 -27
  85. package/dist/cli/describe-THHHNUEA.js +48 -0
  86. package/dist/cli/{describe-KMTPPI2J.mjs → describe-VKZTZLX6.mjs} +17 -17
  87. package/dist/cli/describe-core.d.mts +3 -3
  88. package/dist/cli/describe-core.d.ts +3 -3
  89. package/dist/cli/{executions-ZE3JMNA4.js → executions-B3GDZ4GQ.js} +8 -8
  90. package/dist/cli/{executions-4JAIVE2E.mjs → executions-XU3JMNI3.mjs} +6 -6
  91. package/dist/cli/{feedback-W6VA47A3.js → feedback-5IW3ZKRP.js} +8 -8
  92. package/dist/cli/{feedback-EUX5PDBA.mjs → feedback-R5UQXINE.mjs} +4 -4
  93. package/dist/cli/{git-UOVG4PLH.mjs → git-7B4H7VEL.mjs} +5 -5
  94. package/dist/cli/git-BX27JAW4.js +25 -0
  95. package/dist/cli/index.js +161 -142
  96. package/dist/cli/index.mjs +65 -46
  97. package/dist/cli/{legacy-noops-3H35EH5Y.js → legacy-noops-AVT6T5QI.js} +8 -8
  98. package/dist/cli/{legacy-noops-ZBWUNFWV.mjs → legacy-noops-KY7JAALE.mjs} +5 -5
  99. package/dist/cli/{monitors-AYSGSUAK.mjs → monitors-G7L7AFXR.mjs} +7 -7
  100. package/dist/cli/{monitors-PI3KPLR2.js → monitors-GZB6CWK2.js} +91 -91
  101. package/dist/cli/{org-2BIG7U4V.mjs → org-QDUBOQTH.mjs} +6 -6
  102. package/dist/cli/{org-MVS3Y6BK.js → org-ZHHKAPCE.js} +72 -72
  103. package/dist/cli/{pages-VB6FOVDE.js → pages-5P3SPMN5.js} +17 -17
  104. package/dist/cli/{pages-4TRRL24G.mjs → pages-Q4WGQCST.mjs} +6 -6
  105. package/dist/cli/{play-BLT6IT2O.js → play-IRLKESZB.js} +585 -678
  106. package/dist/cli/{play-JR3VUOZM.mjs → play-WRSHD4RE.mjs} +26 -119
  107. package/dist/cli/{providers-547DPK4S.mjs → providers-7CQUHS57.mjs} +6 -6
  108. package/dist/cli/{providers-BBXIAGW4.js → providers-LKEYLN6D.js} +9 -9
  109. package/dist/cli/{quickstart-NTLXD7HS.mjs → quickstart-I6NYGMEE.mjs} +4 -4
  110. package/dist/cli/{quickstart-RNPI5B6J.js → quickstart-KS45M5SR.js} +6 -6
  111. package/dist/cli/{run-QZ4SFECD.mjs → run-AZETCL7R.mjs} +22 -22
  112. package/dist/cli/{run-BCCEXBOG.js → run-BLMOBNAN.js} +36 -36
  113. package/dist/cli/{search-PYNELH4C.mjs → search-EEKEP67Y.mjs} +7 -7
  114. package/dist/cli/search-PEQXXY2B.js +32 -0
  115. package/dist/cli/{secrets-O5WGREQ7.mjs → secrets-HAULG2EW.mjs} +6 -6
  116. package/dist/cli/{secrets-VD35LMYJ.js → secrets-M6NU3TD2.js} +15 -15
  117. package/dist/cli/{sessions-2TL6Z5J5.mjs → sessions-5MB4XKOK.mjs} +5 -5
  118. package/dist/cli/{sessions-NGGIBYXF.js → sessions-DSR5AHIA.js} +6 -6
  119. package/dist/cli/{settings-ERFNZRHO.js → settings-6US327NQ.js} +78 -78
  120. package/dist/cli/{settings-6KM74AJT.mjs → settings-JUQP4HYQ.mjs} +11 -11
  121. package/dist/cli/{setup-6X7EJ6RG.js → setup-5ZRSEQUD.js} +44 -44
  122. package/dist/cli/{setup-Y3BN6XRS.mjs → setup-JRH4UC47.mjs} +9 -9
  123. package/dist/cli/{skills-OUBQASHI.mjs → skills-HFOZ5WDH.mjs} +7 -7
  124. package/dist/cli/skills-P67KCVDR.js +33 -0
  125. package/dist/cli/{tools-EELZ5FF5.mjs → tools-CJEBZNPB.mjs} +16 -16
  126. package/dist/cli/tools-PDBEAI22.js +55 -0
  127. package/dist/cli/update-G6DI3BQW.js +33 -0
  128. package/dist/cli/{update-TX7SW32Y.mjs → update-VQJEPAAK.mjs} +9 -9
  129. package/dist/cli/{workflow-PUNQG7LG.mjs → workflow-EYWE3T75.mjs} +7 -7
  130. package/dist/cli/{workflow-5AI2BJA7.js → workflow-NKPDRZOP.js} +17 -17
  131. package/dist/{client-AjmfA5nR.d.mts → client-B9N1bcGc.d.mts} +1 -1
  132. package/dist/{client-DMyY-QL8.d.ts → client-Btw075Hq.d.ts} +1 -1
  133. package/dist/{client-core-C705vFyV.d.ts → client-core-DvGWlwtX.d.ts} +45 -6
  134. package/dist/{client-core-CpBbvLEX.d.mts → client-core-TulbIeRB.d.mts} +45 -6
  135. package/dist/{compiler-manifest-hqIAukR0.d.mts → compiler-manifest-gkO9ZkVg.d.mts} +37 -17
  136. package/dist/{compiler-manifest-hqIAukR0.d.ts → compiler-manifest-gkO9ZkVg.d.ts} +37 -17
  137. package/dist/{errors-CRO2qQ6k.d.ts → errors-Cc92LKH-.d.ts} +1 -1
  138. package/dist/{errors-DIHVetNY.d.mts → errors-CeCCOKSA.d.mts} +1 -1
  139. package/dist/{index-B8DVoeYt.d.ts → index-DJQKdV76.d.ts} +1 -1
  140. package/dist/{index-DVZ_X4Gb.d.mts → index-DsqWJL3Q.d.mts} +1 -1
  141. package/dist/index.d.mts +15 -9
  142. package/dist/index.d.ts +15 -9
  143. package/dist/index.js +9 -9
  144. package/dist/index.mjs +6 -6
  145. package/dist/install-integrity.json +112 -110
  146. package/dist/plays/bundle-play-file.d.mts +3 -3
  147. package/dist/plays/bundle-play-file.d.ts +3 -3
  148. package/dist/plays/bundle-play-file.mjs +2 -1
  149. package/dist/plays/play-description.d.mts +2 -2
  150. package/dist/plays/play-description.d.ts +2 -2
  151. package/dist/plays/run-request.d.mts +2 -2
  152. package/dist/plays/run-request.d.ts +2 -2
  153. package/dist/release.d.mts +1 -1
  154. package/dist/release.d.ts +1 -1
  155. package/dist/release.js +2 -2
  156. package/dist/release.mjs +1 -1
  157. package/dist/server.d.mts +4 -4
  158. package/dist/server.d.ts +4 -4
  159. package/dist/server.js +5 -5
  160. package/dist/server.mjs +3 -3
  161. package/package.json +1 -1
  162. package/dist/cli/auth-QITP34OX.js +0 -41
  163. package/dist/cli/describe-PI7HCT7K.js +0 -48
  164. package/dist/cli/git-NDOGCQZY.js +0 -25
  165. package/dist/cli/search-YHEICYQL.js +0 -32
  166. package/dist/cli/skills-F7MPYC4P.js +0 -33
  167. package/dist/cli/tools-MCWDAK53.js +0 -55
  168. package/dist/cli/update-G5BRJOVT.js +0 -33
@@ -6,8 +6,8 @@ var _chunk3XX5TEA4js = require('./chunk-3XX5TEA4.js');
6
6
  var _chunk3KC45UVFjs = require('./chunk-3KC45UVF.js');
7
7
 
8
8
 
9
- var _chunk7CILZKLEjs = require('./chunk-7CILZKLE.js');
10
- require('./chunk-3UKKM6OS.js');
9
+ var _chunkEMVWC5LPjs = require('./chunk-EMVWC5LP.js');
10
+ require('./chunk-GSULE54L.js');
11
11
  require('./chunk-E4CABWXL.js');
12
12
  require('./chunk-JDMR33HS.js');
13
13
  require('./chunk-NMU3VR5U.js');
@@ -17,13 +17,13 @@ require('./chunk-XDVT3GOM.js');
17
17
 
18
18
 
19
19
 
20
- var _chunkM2UL4ZS5js = require('./chunk-M2UL4ZS5.js');
21
- require('./chunk-NC52JG66.js');
22
- require('./chunk-ACDXGOXE.js');
20
+ var _chunkLXYDN5FEjs = require('./chunk-LXYDN5FE.js');
21
+ require('./chunk-3SGA53DX.js');
22
+ require('./chunk-33O2JGHE.js');
23
23
  require('./chunk-ALJJRZNJ.js');
24
24
  require('./chunk-XNYIZMNQ.js');
25
25
  require('./chunk-DIAWYWT5.js');
26
- require('./chunk-6KKDIISC.js');
26
+ require('./chunk-GQCH6Y7W.js');
27
27
  require('./chunk-OG64RBAC.js');
28
28
  require('./chunk-COGTRVWW.js');
29
29
 
@@ -1629,18 +1629,18 @@ function noticeToStderr(command) {
1629
1629
  );
1630
1630
  }
1631
1631
  function emitPassThrough(command, payload, options) {
1632
- const json = _chunkM2UL4ZS5js.shouldEmitJson.call(void 0, options.json);
1632
+ const json = _chunkLXYDN5FEjs.shouldEmitJson.call(void 0, options.json);
1633
1633
  const deprecation = migrationDeprecation(command);
1634
1634
  if (json) {
1635
1635
  const enriched = payload && typeof payload === "object" && !Array.isArray(payload) ? { ...payload, deprecation } : { result: payload, deprecation };
1636
- _chunkM2UL4ZS5js.printJson.call(void 0, enriched);
1636
+ _chunkLXYDN5FEjs.printJson.call(void 0, enriched);
1637
1637
  return;
1638
1638
  }
1639
- _chunkM2UL4ZS5js.printJson.call(void 0, payload);
1639
+ _chunkLXYDN5FEjs.printJson.call(void 0, payload);
1640
1640
  noticeToStderr(command);
1641
1641
  }
1642
1642
  function client() {
1643
- return new (0, _chunk7CILZKLEjs.DeeplineClient)();
1643
+ return new (0, _chunkEMVWC5LPjs.DeeplineClient)();
1644
1644
  }
1645
1645
  function clientWithTimeout(timeoutSeconds) {
1646
1646
  if (!timeoutSeconds) return client();
@@ -1648,7 +1648,7 @@ function clientWithTimeout(timeoutSeconds) {
1648
1648
  if (!Number.isFinite(seconds) || seconds <= 0) {
1649
1649
  throw new Error("--timeout must be a positive number of seconds.");
1650
1650
  }
1651
- return new (0, _chunk7CILZKLEjs.DeeplineClient)({ timeout: seconds * 1e3 });
1651
+ return new (0, _chunkEMVWC5LPjs.DeeplineClient)({ timeout: seconds * 1e3 });
1652
1652
  }
1653
1653
  function readStatus(payload) {
1654
1654
  if (!payload || typeof payload !== "object") return null;
@@ -1702,7 +1702,7 @@ async function transformOne(api, workflowId, outDir, publish) {
1702
1702
  await _promises.writeFile.call(void 0, file, compiled.sourceCode, "utf8");
1703
1703
  let published = false;
1704
1704
  if (publish) {
1705
- const { handlePlayPublish } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-BLT6IT2O.js")));
1705
+ const { handlePlayPublish } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-IRLKESZB.js")));
1706
1706
  const code = await handlePlayPublish([file]);
1707
1707
  if (code !== 0) {
1708
1708
  return {
@@ -1777,10 +1777,10 @@ async function handleTransform(id, options) {
1777
1777
  for (const workflowId of ids) {
1778
1778
  outcomes.push(await transformOne(api, workflowId, outDir, publish));
1779
1779
  }
1780
- _chunkM2UL4ZS5js.printCommandEnvelope.call(void 0,
1780
+ _chunkLXYDN5FEjs.printCommandEnvelope.call(void 0,
1781
1781
  { outcomes, deprecation: null },
1782
1782
  {
1783
- json: _chunkM2UL4ZS5js.shouldEmitJson.call(void 0, options.json),
1783
+ json: _chunkLXYDN5FEjs.shouldEmitJson.call(void 0, options.json),
1784
1784
  text: renderTransformReport(outcomes)
1785
1785
  }
1786
1786
  );
@@ -1801,11 +1801,11 @@ async function handleDelete(id, options) {
1801
1801
  }
1802
1802
  async function handleDisable(id, options) {
1803
1803
  const result = await client().disableWorkflow(id);
1804
- _chunkM2UL4ZS5js.printJson.call(void 0, result);
1804
+ _chunkLXYDN5FEjs.printJson.call(void 0, result);
1805
1805
  }
1806
1806
  async function handleEnable(id, options) {
1807
1807
  const result = await client().enableWorkflow(id);
1808
- _chunkM2UL4ZS5js.printJson.call(void 0, result);
1808
+ _chunkLXYDN5FEjs.printJson.call(void 0, result);
1809
1809
  }
1810
1810
  async function handleApply(options) {
1811
1811
  const body = await readJsonOption(options.payload, options.file);
@@ -1870,7 +1870,7 @@ async function handleTail(id, runId, options) {
1870
1870
  if (status && TERMINAL_RUN_STATUSES.has(status) || Date.now() > deadline) {
1871
1871
  return;
1872
1872
  }
1873
- await _chunkM2UL4ZS5js.sleep.call(void 0, intervalMs);
1873
+ await _chunkLXYDN5FEjs.sleep.call(void 0, intervalMs);
1874
1874
  }
1875
1875
  }
1876
1876
  function registerWorkflowCommands(program) {
@@ -1,5 +1,5 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
- import { D as DeeplineClient$1, a as DeeplineClientOptions } from './client-core-CpBbvLEX.mjs';
2
+ import { D as DeeplineClient$1, a as DeeplineClientOptions } from './client-core-TulbIeRB.mjs';
3
3
 
4
4
  /** Deepline SDK client with environment and local credential discovery. */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
- import { D as DeeplineClient$1, a as DeeplineClientOptions } from './client-core-C705vFyV.js';
2
+ import { D as DeeplineClient$1, a as DeeplineClientOptions } from './client-core-DvGWlwtX.js';
3
3
 
4
4
  /** Deepline SDK client with environment and local credential discovery. */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
- import { u as PlayCompilerManifest, an as ToolResultBilling, D as DeeplineError, B as BillingEntitlements, I as IncludedCompute, ap as BillingBenefitValues } from './compiler-manifest-hqIAukR0.js';
2
+ import { u as PlayCompilerManifest, an as ToolResultBilling, D as DeeplineError, t as PlaySandboxRuntimeDeclaration, B as BillingEntitlements, I as IncludedCompute, ap as BillingBenefitValues } from './compiler-manifest-gkO9ZkVg.js';
3
3
  import { z } from 'zod';
4
4
  import { MonitorFleetDefinition } from './monitor-fleet-contract.js';
5
5
 
@@ -712,7 +712,7 @@ type PlayRunEmailContent = {
712
712
  details: NotificationText[];
713
713
  };
714
714
 
715
- declare const PRODUCT_NOTIFICATION_EVENT_NAMES: readonly ["credits.balance.changed", "monitor.lifecycle.changed", "play.lifecycle.changed", "play.run.completed", "webhook.delivery.completed", "credits.usage.recorded", "billing.auto_topup.limit_observed", "credits.purchase.completed", "billing.plan.purchased", "billing.purchase.late", "billing.renewal.late", "billing.usage.charge_observed"];
715
+ declare const PRODUCT_NOTIFICATION_EVENT_NAMES: readonly ["credits.balance.changed", "monitor.lifecycle.changed", "play.lifecycle.changed", "play.run.completed", "webhook.delivery.completed", "credits.usage.recorded", "billing.auto_topup.limit_observed", "credits.purchase.completed", "billing.plan.purchased", "billing.purchase.late", "billing.renewal.late", "billing.usage.charge_observed", "billing.allowance.exhausted"];
716
716
  declare const PRODUCT_NOTIFICATION_COMPATIBILITY_EVENT_NAMES: readonly ["play.cron.succeeded", "play.cron.failed", "play.webhook.succeeded", "play.webhook.failed"];
717
717
  type ProductNotificationEventName = (typeof PRODUCT_NOTIFICATION_EVENT_NAMES)[number] | (typeof PRODUCT_NOTIFICATION_COMPATIBILITY_EVENT_NAMES)[number];
718
718
 
@@ -1460,6 +1460,46 @@ declare const PRODUCT_NOTIFICATION_TYPE_REGISTRY: readonly [{
1460
1460
  subjectId: string;
1461
1461
  };
1462
1462
  };
1463
+ }, {
1464
+ readonly id: "internal.billing.allowance_exhausted";
1465
+ readonly eventName: "billing.allowance.exhausted";
1466
+ readonly requiredFilter: {};
1467
+ readonly allowedTriggers: ["each_match"];
1468
+ readonly catalog: undefined;
1469
+ readonly shadow: true;
1470
+ readonly rule: {
1471
+ readonly default: {
1472
+ readonly ruleKey: "internal.billing.allowance_exhausted";
1473
+ readonly groupKey: "shadow.billing-sales";
1474
+ };
1475
+ readonly create: (_input: ProductNotificationRuleInput, base: ProductNotificationRuleBase) => {
1476
+ repeatMode: "every_match";
1477
+ trigger: {
1478
+ kind: "each_match";
1479
+ };
1480
+ enabled: boolean;
1481
+ groupKey: string;
1482
+ conditionGeneration?: number | undefined;
1483
+ ruleKey: string;
1484
+ notificationType: string;
1485
+ eventName: string;
1486
+ eventFilter: ProductNotificationFacts;
1487
+ };
1488
+ readonly present: ({ payload }: {
1489
+ payload: ProductNotificationFacts;
1490
+ trigger: ProductNotificationTrigger;
1491
+ occurredAt?: number;
1492
+ }) => {
1493
+ title: string;
1494
+ summary: (string | {
1495
+ workspace: true;
1496
+ })[];
1497
+ details: string[];
1498
+ targetUrl: string;
1499
+ subjectKind: string;
1500
+ subjectId: string;
1501
+ };
1502
+ };
1463
1503
  }, {
1464
1504
  id: "internal.billing.purchase_late";
1465
1505
  eventName: ProductNotificationEventName;
@@ -6605,6 +6645,8 @@ type BillingRecentUsageEntry = {
6605
6645
  type BillingUsageOptions = {
6606
6646
  /** Return the one exact call identified by `executeTool().job_id`. */
6607
6647
  requestId?: string;
6648
+ /** Return only the workspace identity and recent activity page. */
6649
+ recentOnly?: boolean;
6608
6650
  /** Bound the recent-call page. Ignored for an exact requestId lookup. */
6609
6651
  limit?: number;
6610
6652
  offset?: number;
@@ -6742,10 +6784,7 @@ type BillingNamespace = {
6742
6784
  };
6743
6785
  type BillingQuoteRequest = {
6744
6786
  quantity: number;
6745
- sandbox_runtime: {
6746
- timeout?: string;
6747
- size?: 'standard' | 'large' | 'xlarge';
6748
- };
6787
+ sandbox_runtime: PlaySandboxRuntimeDeclaration;
6749
6788
  };
6750
6789
  type BillingQuoteResult = {
6751
6790
  scope: 'sandbox_session';
@@ -1,5 +1,5 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
- import { u as PlayCompilerManifest, an as ToolResultBilling, D as DeeplineError, B as BillingEntitlements, I as IncludedCompute, ap as BillingBenefitValues } from './compiler-manifest-hqIAukR0.mjs';
2
+ import { u as PlayCompilerManifest, an as ToolResultBilling, D as DeeplineError, t as PlaySandboxRuntimeDeclaration, B as BillingEntitlements, I as IncludedCompute, ap as BillingBenefitValues } from './compiler-manifest-gkO9ZkVg.mjs';
3
3
  import { z } from 'zod';
4
4
  import { MonitorFleetDefinition } from './monitor-fleet-contract.mjs';
5
5
 
@@ -712,7 +712,7 @@ type PlayRunEmailContent = {
712
712
  details: NotificationText[];
713
713
  };
714
714
 
715
- declare const PRODUCT_NOTIFICATION_EVENT_NAMES: readonly ["credits.balance.changed", "monitor.lifecycle.changed", "play.lifecycle.changed", "play.run.completed", "webhook.delivery.completed", "credits.usage.recorded", "billing.auto_topup.limit_observed", "credits.purchase.completed", "billing.plan.purchased", "billing.purchase.late", "billing.renewal.late", "billing.usage.charge_observed"];
715
+ declare const PRODUCT_NOTIFICATION_EVENT_NAMES: readonly ["credits.balance.changed", "monitor.lifecycle.changed", "play.lifecycle.changed", "play.run.completed", "webhook.delivery.completed", "credits.usage.recorded", "billing.auto_topup.limit_observed", "credits.purchase.completed", "billing.plan.purchased", "billing.purchase.late", "billing.renewal.late", "billing.usage.charge_observed", "billing.allowance.exhausted"];
716
716
  declare const PRODUCT_NOTIFICATION_COMPATIBILITY_EVENT_NAMES: readonly ["play.cron.succeeded", "play.cron.failed", "play.webhook.succeeded", "play.webhook.failed"];
717
717
  type ProductNotificationEventName = (typeof PRODUCT_NOTIFICATION_EVENT_NAMES)[number] | (typeof PRODUCT_NOTIFICATION_COMPATIBILITY_EVENT_NAMES)[number];
718
718
 
@@ -1460,6 +1460,46 @@ declare const PRODUCT_NOTIFICATION_TYPE_REGISTRY: readonly [{
1460
1460
  subjectId: string;
1461
1461
  };
1462
1462
  };
1463
+ }, {
1464
+ readonly id: "internal.billing.allowance_exhausted";
1465
+ readonly eventName: "billing.allowance.exhausted";
1466
+ readonly requiredFilter: {};
1467
+ readonly allowedTriggers: ["each_match"];
1468
+ readonly catalog: undefined;
1469
+ readonly shadow: true;
1470
+ readonly rule: {
1471
+ readonly default: {
1472
+ readonly ruleKey: "internal.billing.allowance_exhausted";
1473
+ readonly groupKey: "shadow.billing-sales";
1474
+ };
1475
+ readonly create: (_input: ProductNotificationRuleInput, base: ProductNotificationRuleBase) => {
1476
+ repeatMode: "every_match";
1477
+ trigger: {
1478
+ kind: "each_match";
1479
+ };
1480
+ enabled: boolean;
1481
+ groupKey: string;
1482
+ conditionGeneration?: number | undefined;
1483
+ ruleKey: string;
1484
+ notificationType: string;
1485
+ eventName: string;
1486
+ eventFilter: ProductNotificationFacts;
1487
+ };
1488
+ readonly present: ({ payload }: {
1489
+ payload: ProductNotificationFacts;
1490
+ trigger: ProductNotificationTrigger;
1491
+ occurredAt?: number;
1492
+ }) => {
1493
+ title: string;
1494
+ summary: (string | {
1495
+ workspace: true;
1496
+ })[];
1497
+ details: string[];
1498
+ targetUrl: string;
1499
+ subjectKind: string;
1500
+ subjectId: string;
1501
+ };
1502
+ };
1463
1503
  }, {
1464
1504
  id: "internal.billing.purchase_late";
1465
1505
  eventName: ProductNotificationEventName;
@@ -6605,6 +6645,8 @@ type BillingRecentUsageEntry = {
6605
6645
  type BillingUsageOptions = {
6606
6646
  /** Return the one exact call identified by `executeTool().job_id`. */
6607
6647
  requestId?: string;
6648
+ /** Return only the workspace identity and recent activity page. */
6649
+ recentOnly?: boolean;
6608
6650
  /** Bound the recent-call page. Ignored for an exact requestId lookup. */
6609
6651
  limit?: number;
6610
6652
  offset?: number;
@@ -6742,10 +6784,7 @@ type BillingNamespace = {
6742
6784
  };
6743
6785
  type BillingQuoteRequest = {
6744
6786
  quantity: number;
6745
- sandbox_runtime: {
6746
- timeout?: string;
6747
- size?: 'standard' | 'large' | 'xlarge';
6748
- };
6787
+ sandbox_runtime: PlaySandboxRuntimeDeclaration;
6749
6788
  };
6750
6789
  type BillingQuoteResult = {
6751
6790
  scope: 'sandbox_session';
@@ -98,6 +98,38 @@ type IncludedCompute = {
98
98
  day: string;
99
99
  minutes: number;
100
100
  }>;
101
+ /** Same settled sessions and allowance period for every value. */
102
+ opt_in_comparison?: {
103
+ minutes_used: number;
104
+ /** Standard-equivalent usage at the opt-in rate, before the allowance. */
105
+ allowance_minutes_used: number;
106
+ paid_credits: number;
107
+ opt_in_credits: number;
108
+ has_plan_rate_charges: boolean;
109
+ };
110
+ /** Play compute charges for the same period on Growth and Team, for Pay As You Go workspaces. */
111
+ plan_cost_comparison?: {
112
+ growth_credits: number;
113
+ team_credits: number;
114
+ };
115
+ };
116
+
117
+ type PlaySandboxRuntimeLimits = {
118
+ timeoutSeconds: number;
119
+ memoryGiB: number;
120
+ cpu: number;
121
+ diskGiB: number;
122
+ };
123
+ type PlaySandboxSize = 'standard' | 'large' | 'xlarge';
124
+ declare const PLAY_SANDBOX_SIZE_ALIASES: {
125
+ readonly '1gb': "standard";
126
+ readonly '4gb': "large";
127
+ readonly '8gb': "xlarge";
128
+ };
129
+ type PlaySandboxSizeInput = PlaySandboxSize | keyof typeof PLAY_SANDBOX_SIZE_ALIASES;
130
+ type PlaySandboxRuntimeDeclaration = {
131
+ timeout?: string;
132
+ size?: PlaySandboxSizeInput;
101
133
  };
102
134
 
103
135
  declare const TOOL_EXECUTION_ERROR_SCHEMA_VERSION: 1;
@@ -1257,18 +1289,6 @@ type PreviousCell<Value = unknown> = {
1257
1289
  staleAfterSeconds?: number;
1258
1290
  };
1259
1291
 
1260
- type PlaySandboxRuntimeLimits = {
1261
- timeoutSeconds: number;
1262
- memoryGiB: number;
1263
- cpu: number;
1264
- diskGiB: number;
1265
- };
1266
- type PlaySandboxSize = 'standard' | 'large' | 'xlarge';
1267
- type PlaySandboxRuntimeDeclaration = {
1268
- timeout?: string;
1269
- size?: PlaySandboxSize;
1270
- };
1271
-
1272
1292
  declare const SUPPORTED_PLAY_AUTHORING_CONTRACT_EDITIONS: readonly [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];
1273
1293
  type PlayAuthoringContractEdition = (typeof SUPPORTED_PLAY_AUTHORING_CONTRACT_EDITIONS)[number];
1274
1294
  type PlaySqlListenerOperation = 'INSERT' | 'UPDATE' | 'DELETE';
@@ -1381,7 +1401,7 @@ type PlayAuthoringBindings<TInput = Record<string, unknown>> = {
1381
1401
  */
1382
1402
  runtime?: {
1383
1403
  timeout?: string;
1384
- size?: PlaySandboxSize;
1404
+ size?: PlaySandboxSizeInput;
1385
1405
  };
1386
1406
  /**
1387
1407
  * Start at most one run of this Play per window, whatever started it.
@@ -3189,7 +3209,7 @@ declare const PLAY_AUTHORING_FIELD_REGISTRY: {
3189
3209
  readonly errorMessage: "rateLimit.every must be a static duration from \"10s\" to \"24h\", such as \"5m\".";
3190
3210
  };
3191
3211
  readonly 'runtime.size': {
3192
- readonly schema: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"standard">, _sinclair_typebox.TLiteral<"large">, _sinclair_typebox.TLiteral<"xlarge">]>;
3212
+ readonly schema: _sinclair_typebox.TUnion<_sinclair_typebox.TLiteral<PlaySandboxSizeInput>[]>;
3193
3213
  readonly fixtures: {
3194
3214
  readonly valid: "large";
3195
3215
  readonly invalid: "xxlarge";
@@ -3199,12 +3219,12 @@ declare const PLAY_AUTHORING_FIELD_REGISTRY: {
3199
3219
  };
3200
3220
  readonly edition1: "standard";
3201
3221
  };
3202
- readonly referenceType: "'standard' | 'large' | 'xlarge'";
3222
+ readonly referenceType: string;
3203
3223
  readonly required: false;
3204
3224
  readonly resolution: "static-required";
3205
3225
  readonly issueCode: "play_authoring_binding_invalid";
3206
- readonly description: "Deepline-managed sandbox size: standard (1 GiB memory, 1 CPU), large (4 GiB, 2 CPU), or xlarge (8 GiB, 4 CPU). Standard is the default. Compute pricing follows the workspace plan and selected size.";
3207
- readonly errorMessage: "runtime.size must be the static literal \"standard\", \"large\", or \"xlarge\".";
3226
+ readonly description: "Deepline-managed sandbox size: standard or 1gb (1 GiB memory, 1 CPU), large or 4gb (4 GiB, 2 CPU), or xlarge or 8gb (8 GiB, 4 CPU). Standard is the default. Each alias selects the same resource profile and compute price as its named size.";
3227
+ readonly errorMessage: "runtime.size must be the static literal \"standard\", \"large\", \"xlarge\", \"1gb\", \"4gb\", or \"8gb\".";
3208
3228
  };
3209
3229
  readonly 'ctx.customerDb.query.statement': {
3210
3230
  readonly schema: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TObject<{
@@ -98,6 +98,38 @@ type IncludedCompute = {
98
98
  day: string;
99
99
  minutes: number;
100
100
  }>;
101
+ /** Same settled sessions and allowance period for every value. */
102
+ opt_in_comparison?: {
103
+ minutes_used: number;
104
+ /** Standard-equivalent usage at the opt-in rate, before the allowance. */
105
+ allowance_minutes_used: number;
106
+ paid_credits: number;
107
+ opt_in_credits: number;
108
+ has_plan_rate_charges: boolean;
109
+ };
110
+ /** Play compute charges for the same period on Growth and Team, for Pay As You Go workspaces. */
111
+ plan_cost_comparison?: {
112
+ growth_credits: number;
113
+ team_credits: number;
114
+ };
115
+ };
116
+
117
+ type PlaySandboxRuntimeLimits = {
118
+ timeoutSeconds: number;
119
+ memoryGiB: number;
120
+ cpu: number;
121
+ diskGiB: number;
122
+ };
123
+ type PlaySandboxSize = 'standard' | 'large' | 'xlarge';
124
+ declare const PLAY_SANDBOX_SIZE_ALIASES: {
125
+ readonly '1gb': "standard";
126
+ readonly '4gb': "large";
127
+ readonly '8gb': "xlarge";
128
+ };
129
+ type PlaySandboxSizeInput = PlaySandboxSize | keyof typeof PLAY_SANDBOX_SIZE_ALIASES;
130
+ type PlaySandboxRuntimeDeclaration = {
131
+ timeout?: string;
132
+ size?: PlaySandboxSizeInput;
101
133
  };
102
134
 
103
135
  declare const TOOL_EXECUTION_ERROR_SCHEMA_VERSION: 1;
@@ -1257,18 +1289,6 @@ type PreviousCell<Value = unknown> = {
1257
1289
  staleAfterSeconds?: number;
1258
1290
  };
1259
1291
 
1260
- type PlaySandboxRuntimeLimits = {
1261
- timeoutSeconds: number;
1262
- memoryGiB: number;
1263
- cpu: number;
1264
- diskGiB: number;
1265
- };
1266
- type PlaySandboxSize = 'standard' | 'large' | 'xlarge';
1267
- type PlaySandboxRuntimeDeclaration = {
1268
- timeout?: string;
1269
- size?: PlaySandboxSize;
1270
- };
1271
-
1272
1292
  declare const SUPPORTED_PLAY_AUTHORING_CONTRACT_EDITIONS: readonly [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];
1273
1293
  type PlayAuthoringContractEdition = (typeof SUPPORTED_PLAY_AUTHORING_CONTRACT_EDITIONS)[number];
1274
1294
  type PlaySqlListenerOperation = 'INSERT' | 'UPDATE' | 'DELETE';
@@ -1381,7 +1401,7 @@ type PlayAuthoringBindings<TInput = Record<string, unknown>> = {
1381
1401
  */
1382
1402
  runtime?: {
1383
1403
  timeout?: string;
1384
- size?: PlaySandboxSize;
1404
+ size?: PlaySandboxSizeInput;
1385
1405
  };
1386
1406
  /**
1387
1407
  * Start at most one run of this Play per window, whatever started it.
@@ -3189,7 +3209,7 @@ declare const PLAY_AUTHORING_FIELD_REGISTRY: {
3189
3209
  readonly errorMessage: "rateLimit.every must be a static duration from \"10s\" to \"24h\", such as \"5m\".";
3190
3210
  };
3191
3211
  readonly 'runtime.size': {
3192
- readonly schema: _sinclair_typebox.TUnion<[_sinclair_typebox.TLiteral<"standard">, _sinclair_typebox.TLiteral<"large">, _sinclair_typebox.TLiteral<"xlarge">]>;
3212
+ readonly schema: _sinclair_typebox.TUnion<_sinclair_typebox.TLiteral<PlaySandboxSizeInput>[]>;
3193
3213
  readonly fixtures: {
3194
3214
  readonly valid: "large";
3195
3215
  readonly invalid: "xxlarge";
@@ -3199,12 +3219,12 @@ declare const PLAY_AUTHORING_FIELD_REGISTRY: {
3199
3219
  };
3200
3220
  readonly edition1: "standard";
3201
3221
  };
3202
- readonly referenceType: "'standard' | 'large' | 'xlarge'";
3222
+ readonly referenceType: string;
3203
3223
  readonly required: false;
3204
3224
  readonly resolution: "static-required";
3205
3225
  readonly issueCode: "play_authoring_binding_invalid";
3206
- readonly description: "Deepline-managed sandbox size: standard (1 GiB memory, 1 CPU), large (4 GiB, 2 CPU), or xlarge (8 GiB, 4 CPU). Standard is the default. Compute pricing follows the workspace plan and selected size.";
3207
- readonly errorMessage: "runtime.size must be the static literal \"standard\", \"large\", or \"xlarge\".";
3226
+ readonly description: "Deepline-managed sandbox size: standard or 1gb (1 GiB memory, 1 CPU), large or 4gb (4 GiB, 2 CPU), or xlarge or 8gb (8 GiB, 4 CPU). Standard is the default. Each alias selects the same resource profile and compute price as its named size.";
3227
+ readonly errorMessage: "runtime.size must be the static literal \"standard\", \"large\", \"xlarge\", \"1gb\", \"4gb\", or \"8gb\".";
3208
3228
  };
3209
3229
  readonly 'ctx.customerDb.query.statement': {
3210
3230
  readonly schema: _sinclair_typebox.TUnion<[_sinclair_typebox.TString, _sinclair_typebox.TObject<{
@@ -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-hqIAukR0.js';
2
+ import { D as DeeplineError, T as ToolExecutionError, e as ToolExecutionErrorOptions } from './compiler-manifest-gkO9ZkVg.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 { D as DeeplineError, T as ToolExecutionError, e as ToolExecutionErrorOptions } from './compiler-manifest-hqIAukR0.mjs';
2
+ import { D as DeeplineError, T as ToolExecutionError, e as ToolExecutionErrorOptions } from './compiler-manifest-gkO9ZkVg.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 { p as PlayBundleArtifact, t as PlaySandboxRuntimeDeclaration, u as PlayCompilerManifest, v as PlayArtifactKind, o as PlayArtifactCompatibility } from './compiler-manifest-hqIAukR0.js';
2
+ import { p as PlayBundleArtifact, t as PlaySandboxRuntimeDeclaration, u as PlayCompilerManifest, v as PlayArtifactKind, o as PlayArtifactCompatibility } from './compiler-manifest-gkO9ZkVg.js';
3
3
 
4
4
  type ImportedPlayDependency = {
5
5
  filePath: string;
@@ -1,5 +1,5 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
- import { p as PlayBundleArtifact, t as PlaySandboxRuntimeDeclaration, u as PlayCompilerManifest, v as PlayArtifactKind, o as PlayArtifactCompatibility } from './compiler-manifest-hqIAukR0.mjs';
2
+ import { p as PlayBundleArtifact, t as PlaySandboxRuntimeDeclaration, u as PlayCompilerManifest, v as PlayArtifactKind, o as PlayArtifactCompatibility } from './compiler-manifest-gkO9ZkVg.mjs';
3
3
 
4
4
  type ImportedPlayDependency = {
5
5
  filePath: string;
package/dist/index.d.mts CHANGED
@@ -1,13 +1,13 @@
1
1
  /// <reference path="./text-imports.d.ts" />
2
- import { w as PlayAuthoringFetchResponse, x as ToolExecuteResult, y as BasicToolExecuteResult, z as PlayDataset, A as AsyncPlayRunRef$1, C as PlayAuthoringColumnMap, E as PlayAuthoringColumnResolver, F as PlayAuthoringRuntimeContext, G as PlayAuthoringConditionalStepResolver, H as PlayAuthoringCsvInput, J as PlayAuthoringCsvOptions, K as PlayAuthoringDatasetBuilder, L as PlayAuthoringDatasetColumnDefinition, M as PlayAuthoringDatasetColumnRunInput, N as PlayAuthoringReferenceLike, O as PlayReturnObject$1, Q as PlayAuthoringDefineConfig, R as PlayAuthoringDefinedPlay, S as PlayAuthoringFetchOptions, U as PlayAuthoringFileInput, V as PlayAuthoringAsyncCallOptions, W as PlayAuthoringBindings, X as PlayAuthoringCallExecution, Y as PlayAuthoringCallOptions, Z as PlayAuthoringInputContract, _ as PlayRunId$1, $ as PlayAuthoringStepProgramStep, a0 as PlayAuthoringRuntimeStepOptions, a1 as PlaySqlListenerDeclaration, a2 as PlaySqlListenerEvent, a3 as PlaySqlListenerOperation, a4 as PlaySqlQuery, a5 as PlayAuthoringStepOptions, a6 as PlayAuthoringStepProgram, a7 as PlayAuthoringStepProgramResolver, a8 as PlayAuthoringStepResolver, a9 as PlayToolExecutionRequest, aa as PlayAuthoringStepProgramOptions } from './compiler-manifest-hqIAukR0.mjs';
3
- export { B as BillingEntitlements, ab as DEEPLINE_EXTRACTOR_TARGETS, ac as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, ad as DeeplineEmailStatusGetterValue, D as DeeplineError, ae as DeeplineExtractorTarget, af as DeeplineGetterValue, ag as DeeplineGetterValueMap, ah as JOB_CHANGE_STATUS_VALUES, ai as JobChangeStatus, aj as PHONE_STATUS_VALUES, ak as PhoneStatus, al as PlayDatasetInput, am 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, an as ToolResultBilling, k as getProviderUnavailableReason, ao as isDeeplineExtractorTarget, l as isProviderUnavailable, m as isProviderWaterfallUnavailableError } from './compiler-manifest-hqIAukR0.mjs';
4
- import { a as DeeplineClientOptions, i as BillingNamespace, cS as ToolDefinition, cW as ToolMetadata, d5 as ExecuteToolRawOptions, Q as ExecutionRecovery, P as ExecutionByKeyResult, bc as PlayListItem, bb as PlayDetail, bj as PlayRunListItem, bf as PlayRevisionSummary, bO as PublishPlayVersionResult, E as ClearPlayHistoryResult, bz as PlayStatus, cG as StopPlayRunResult, bS as ResolvedConfig } from './client-core-CpBbvLEX.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 BillingSubscriptionCancelResult, q as BillingSubscriptionStatus, r as BillingTopUpReceipt, s as BillingTopUpResult, t as BillingUsageEvent, u as BillingUsageEventListEntry, v as BillingUsageEventsOptions, w as BillingUsageEventsResult, x as BillingUsageOptions, y as BillingUsageResult, C as ChildRunSummary, z as ClearPlayHistoryRequest, F as CreateNotificationGroupInput, G as CreateNotificationGroupResult, d6 as CustomerDbQueryOptions, d7 as CustomerDbQueryPlan, J as CustomerDbQueryResult, d8 as DEEPLINE_TOOL_CATEGORIES, K as DbNamespace, M as DeeplineToolCategory, Y as IngestionStorageRepairResult, 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, d9 as MonitorDefinition, ac as MonitorDeleteResult, ad as MonitorDependents, ae as MonitorDeployResult, af as MonitorDetail, ag as MonitorFleetDeactivateOptions, ah as MonitorFleetGetOptions, ai as MonitorFleetReactivateOptions, aj as MonitorFleetResult, ak as MonitorFleetStatus, al as MonitorFleetSyncOptions, am as MonitorFleetWaitOptions, an as MonitorFleetsNamespace, ao as MonitorJobDeployOptions, ap as MonitorJobLogsOptions, aq as MonitorJobPhase, as as MonitorJobReconciliationState, at as MonitorJobResult, au as MonitorJobState, av as MonitorJobWaitOptions, aw as MonitorJobsNamespace, ay as MonitorListEntry, da as MonitorPayload, aC as MonitorPreviewOptions, aD as MonitorPreviewResult, aE as MonitorReactivateResult, aF as MonitorSpec, aG as MonitorState, aH as MonitorStateFilter, aK as MonitorUpdateChangeSummary, aL as MonitorUpdateResult, aN as MonitorsAccessStatus, aP as MonitorsAvailableOptions, aQ as MonitorsAvailableResult, aS as MonitorsListOptions, aT as MonitorsListResult, aU as MonitorsNamespace, db as NormalizedRunEventQuery, aW as PlayActivityObservation, aX as PlayActivityState, aY as PlayActivityTarget, b7 as PlayCostEstimate, b8 as PlayCostEstimateResult, dc as PlayCronTriggerConfig, dd as PlayDescriptionOptions, bd as PlayLiveEvent, de as PlayPath, bg as PlayRunActionPackage, bh as PlayRunActivityProjection, bi as PlayRunDatasetActions, bl as PlayRunPackage, bm as PlayRunRateLimited, bn as PlayRunResult, bo as PlayRunRowHistoryOptions, bp as PlayRunStart, df as PlaySettings, dg as PlaySettingsPatch, dh as PlaySettingsPathsPage, di as PlaySettingsResult, bv as PlaySheetRow, bw as PlaySheetRowsResult, dj as PlayTriggerConfigUpdate, dk as PlayTriggerConfigUpdateResult, dl as PlayTriggerConfigView, dm as PlayWebhookAuthConfig, dn as PlayWebhookTriggerConfig, bB as PlaysActivityResponse, bC as PlaysListOptions, bD as PlaysListPage, bN as PublishPlayVersionRequest, bQ as RerunOptions, bR as RerunPlayRunResult, bW as RunChildrenPage, dp as RunEventCountResult, dq as RunEventField, dr as RunEventFieldDescriptor, ds as RunEventFieldOperators, dt as RunEventFieldsResult, du as RunEventGroupValue, dv as RunEventMeasure, dw as RunEventQueryCriteria, dx as RunEventQueryEvent, dy as RunEventQueryInputError, dz as RunEventQueryOptions, dA as RunEventQueryPage, dB as RunEventQueryRetention, dC as RunEventScalar, dD as RunEventSummaryOptions, dE as RunEventSummaryResult, dF as RunEventWhere, bY as RunLifecycleStatus, dG as RunToolReceiptResult, dH as RunToolReceiptsResponse, bZ as RunsChildrenOptions, b_ as RunsEventPayload, b$ as RunsEventSearchEntry, c0 as RunsEventSearchOptions, c1 as RunsEventSearchResult, c2 as RunsEventsCountResult, c3 as RunsEventsCriteria, c4 as RunsEventsFieldsOptions, c5 as RunsEventsListOptions, c6 as RunsEventsListResult, c7 as RunsEventsNamespace, c8 as RunsEventsSummaryOptions, c9 as RunsEventsSummaryResult, cb as RunsHistoryItem, cc as RunsHistoryOptions, cd as RunsHistoryPage, ce as RunsListOptions, cf as RunsListPage, cg as RunsLogCriteria, ch as RunsLogsCountResult, ci as RunsLogsNamespace, cj as RunsLogsOptions, ck as RunsLogsQueryOptions, cl as RunsLogsQueryResult, cm as RunsLogsResult, cn as RunsLogsSummaryOptions, co as RunsLogsSummaryResult, cp as RunsNamespace, cq as RunsTailOptions, cr as RunsWatchOptions, cs as SearchOptions, ct as SearchResult, cu as SearchResultItem, cv as SearchType, cA as StartPlayRunRequest, cB as StopAllCandidate, cC as StopAllPlayRunsDryRunResult, cD as StopAllPlayRunsResult, cE as StopAllPlayRunsStopResult, cF as StopAllRunsOptions, cQ as ToolCategoryListing, cR as ToolCategorySummary, cT as ToolExecution, cY as ToolRequestCondition, cZ as ToolRequestWarningRule, c_ as ToolSearchOptions, c$ as ToolSearchResult, d2 as WorkspaceCreateResult, d3 as WorkspacesNamespace, dI as defineMonitor, d4 as isStopAllPlayRunsDryRunResult, dJ as planCustomerDbQuery } from './client-core-CpBbvLEX.mjs';
6
- import { D as DeeplineClient } from './client-AjmfA5nR.mjs';
7
- import { b as BundledPlayFileSuccess } from './index-DVZ_X4Gb.mjs';
2
+ import { w as PlayAuthoringFetchResponse, x as ToolExecuteResult, y as BasicToolExecuteResult, z as PlayDataset, A as AsyncPlayRunRef$1, C as PlayAuthoringColumnMap, E as PlayAuthoringColumnResolver, F as PlayAuthoringRuntimeContext, G as PlayAuthoringConditionalStepResolver, H as PlayAuthoringCsvInput, J as PlayAuthoringCsvOptions, K as PlayAuthoringDatasetBuilder, L as PlayAuthoringDatasetColumnDefinition, M as PlayAuthoringDatasetColumnRunInput, N as PlayAuthoringReferenceLike, O as PlayReturnObject$1, Q as PlayAuthoringDefineConfig, R as PlayAuthoringDefinedPlay, S as PlayAuthoringFetchOptions, U as PlayAuthoringFileInput, V as PlayAuthoringAsyncCallOptions, W as PlayAuthoringBindings, X as PlayAuthoringCallExecution, Y as PlayAuthoringCallOptions, Z as PlayAuthoringInputContract, _ as PlayRunId$1, $ as PlayAuthoringStepProgramStep, a0 as PlayAuthoringRuntimeStepOptions, a1 as PlaySqlListenerDeclaration, a2 as PlaySqlListenerEvent, a3 as PlaySqlListenerOperation, a4 as PlaySqlQuery, a5 as PlayAuthoringStepOptions, a6 as PlayAuthoringStepProgram, a7 as PlayAuthoringStepProgramResolver, a8 as PlayAuthoringStepResolver, a9 as PlayToolExecutionRequest, aa as PlayAuthoringStepProgramOptions } from './compiler-manifest-gkO9ZkVg.mjs';
3
+ export { B as BillingEntitlements, ab as DEEPLINE_EXTRACTOR_TARGETS, ac as DEEPLINE_EXTRACTOR_TARGET_DEFINITIONS, ad as DeeplineEmailStatusGetterValue, D as DeeplineError, ae as DeeplineExtractorTarget, af as DeeplineGetterValue, ag as DeeplineGetterValueMap, ah as JOB_CHANGE_STATUS_VALUES, ai as JobChangeStatus, aj as PHONE_STATUS_VALUES, ak as PhoneStatus, al as PlayDatasetInput, am 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, an as ToolResultBilling, k as getProviderUnavailableReason, ao as isDeeplineExtractorTarget, l as isProviderUnavailable, m as isProviderWaterfallUnavailableError } from './compiler-manifest-gkO9ZkVg.mjs';
4
+ import { a as DeeplineClientOptions, i as BillingNamespace, cS as ToolDefinition, cW as ToolMetadata, d5 as ExecuteToolRawOptions, Q as ExecutionRecovery, P as ExecutionByKeyResult, bc as PlayListItem, bb as PlayDetail, bj as PlayRunListItem, bf as PlayRevisionSummary, bO as PublishPlayVersionResult, E as ClearPlayHistoryResult, bz as PlayStatus, cG as StopPlayRunResult, bS as ResolvedConfig } from './client-core-TulbIeRB.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 BillingSubscriptionCancelResult, q as BillingSubscriptionStatus, r as BillingTopUpReceipt, s as BillingTopUpResult, t as BillingUsageEvent, u as BillingUsageEventListEntry, v as BillingUsageEventsOptions, w as BillingUsageEventsResult, x as BillingUsageOptions, y as BillingUsageResult, C as ChildRunSummary, z as ClearPlayHistoryRequest, F as CreateNotificationGroupInput, G as CreateNotificationGroupResult, d6 as CustomerDbQueryOptions, d7 as CustomerDbQueryPlan, J as CustomerDbQueryResult, d8 as DEEPLINE_TOOL_CATEGORIES, K as DbNamespace, M as DeeplineToolCategory, Y as IngestionStorageRepairResult, 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, d9 as MonitorDefinition, ac as MonitorDeleteResult, ad as MonitorDependents, ae as MonitorDeployResult, af as MonitorDetail, ag as MonitorFleetDeactivateOptions, ah as MonitorFleetGetOptions, ai as MonitorFleetReactivateOptions, aj as MonitorFleetResult, ak as MonitorFleetStatus, al as MonitorFleetSyncOptions, am as MonitorFleetWaitOptions, an as MonitorFleetsNamespace, ao as MonitorJobDeployOptions, ap as MonitorJobLogsOptions, aq as MonitorJobPhase, as as MonitorJobReconciliationState, at as MonitorJobResult, au as MonitorJobState, av as MonitorJobWaitOptions, aw as MonitorJobsNamespace, ay as MonitorListEntry, da as MonitorPayload, aC as MonitorPreviewOptions, aD as MonitorPreviewResult, aE as MonitorReactivateResult, aF as MonitorSpec, aG as MonitorState, aH as MonitorStateFilter, aK as MonitorUpdateChangeSummary, aL as MonitorUpdateResult, aN as MonitorsAccessStatus, aP as MonitorsAvailableOptions, aQ as MonitorsAvailableResult, aS as MonitorsListOptions, aT as MonitorsListResult, aU as MonitorsNamespace, db as NormalizedRunEventQuery, aW as PlayActivityObservation, aX as PlayActivityState, aY as PlayActivityTarget, b7 as PlayCostEstimate, b8 as PlayCostEstimateResult, dc as PlayCronTriggerConfig, dd as PlayDescriptionOptions, bd as PlayLiveEvent, de as PlayPath, bg as PlayRunActionPackage, bh as PlayRunActivityProjection, bi as PlayRunDatasetActions, bl as PlayRunPackage, bm as PlayRunRateLimited, bn as PlayRunResult, bo as PlayRunRowHistoryOptions, bp as PlayRunStart, df as PlaySettings, dg as PlaySettingsPatch, dh as PlaySettingsPathsPage, di as PlaySettingsResult, bv as PlaySheetRow, bw as PlaySheetRowsResult, dj as PlayTriggerConfigUpdate, dk as PlayTriggerConfigUpdateResult, dl as PlayTriggerConfigView, dm as PlayWebhookAuthConfig, dn as PlayWebhookTriggerConfig, bB as PlaysActivityResponse, bC as PlaysListOptions, bD as PlaysListPage, bN as PublishPlayVersionRequest, bQ as RerunOptions, bR as RerunPlayRunResult, bW as RunChildrenPage, dp as RunEventCountResult, dq as RunEventField, dr as RunEventFieldDescriptor, ds as RunEventFieldOperators, dt as RunEventFieldsResult, du as RunEventGroupValue, dv as RunEventMeasure, dw as RunEventQueryCriteria, dx as RunEventQueryEvent, dy as RunEventQueryInputError, dz as RunEventQueryOptions, dA as RunEventQueryPage, dB as RunEventQueryRetention, dC as RunEventScalar, dD as RunEventSummaryOptions, dE as RunEventSummaryResult, dF as RunEventWhere, bY as RunLifecycleStatus, dG as RunToolReceiptResult, dH as RunToolReceiptsResponse, bZ as RunsChildrenOptions, b_ as RunsEventPayload, b$ as RunsEventSearchEntry, c0 as RunsEventSearchOptions, c1 as RunsEventSearchResult, c2 as RunsEventsCountResult, c3 as RunsEventsCriteria, c4 as RunsEventsFieldsOptions, c5 as RunsEventsListOptions, c6 as RunsEventsListResult, c7 as RunsEventsNamespace, c8 as RunsEventsSummaryOptions, c9 as RunsEventsSummaryResult, cb as RunsHistoryItem, cc as RunsHistoryOptions, cd as RunsHistoryPage, ce as RunsListOptions, cf as RunsListPage, cg as RunsLogCriteria, ch as RunsLogsCountResult, ci as RunsLogsNamespace, cj as RunsLogsOptions, ck as RunsLogsQueryOptions, cl as RunsLogsQueryResult, cm as RunsLogsResult, cn as RunsLogsSummaryOptions, co as RunsLogsSummaryResult, cp as RunsNamespace, cq as RunsTailOptions, cr as RunsWatchOptions, cs as SearchOptions, ct as SearchResult, cu as SearchResultItem, cv as SearchType, cA as StartPlayRunRequest, cB as StopAllCandidate, cC as StopAllPlayRunsDryRunResult, cD as StopAllPlayRunsResult, cE as StopAllPlayRunsStopResult, cF as StopAllRunsOptions, cQ as ToolCategoryListing, cR as ToolCategorySummary, cT as ToolExecution, cY as ToolRequestCondition, cZ as ToolRequestWarningRule, c_ as ToolSearchOptions, c$ as ToolSearchResult, d2 as WorkspaceCreateResult, d3 as WorkspacesNamespace, dI as defineMonitor, d4 as isStopAllPlayRunsDryRunResult, dJ as planCustomerDbQuery } from './client-core-TulbIeRB.mjs';
6
+ import { D as DeeplineClient } from './client-B9N1bcGc.mjs';
7
+ import { b as BundledPlayFileSuccess } from './index-DsqWJL3Q.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-DIHVetNY.mjs';
10
+ export { A as AuthError, C as ConfigError, a as CustomerDbQueryOutcomeUnknownError, R as RateLimitError, T as ToolRateLimitError } from './errors-CeCCOKSA.mjs';
11
11
  import '@sinclair/typebox';
12
12
  import 'zod';
13
13
 
@@ -81,8 +81,14 @@ type PlayFetchResponse = PlayAuthoringFetchResponse;
81
81
  * The changed row is delivered as the listener event's `after` in the play function's input.
82
82
  *
83
83
  * The default Play runtime is 30 minutes with the `standard` 1 GiB / 1 CPU
84
- * profile. Select `large` (4 GiB / 2 CPU) or `xlarge` (8 GiB / 4 CPU)
85
- * through `runtime.size` when a step needs more memory.
84
+ * profile. Set `runtime.size` to `standard` or `1gb` (1 GiB / 1 CPU),
85
+ * `large` or `4gb` (4 GiB / 2 CPU), or `xlarge` or `8gb` (8 GiB / 4 CPU).
86
+ * Each alias selects the same resource profile and compute price.
87
+ *
88
+ * ```ts
89
+ * export const config = { runtime: { size: '4gb' } };
90
+ * ```
91
+ *
86
92
  * Compute pricing follows the workspace plan; use `deepline billing quote`
87
93
  * for the session ceiling.
88
94
  * Set `runtime.timeout` for longer bounded runs; duration values are whole