deepline 0.3.473 → 0.3.474

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 (175) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +4 -1
  2. package/dist/bundling-sources/sdk/src/play.ts +7 -2
  3. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  4. package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +3 -1
  5. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  6. package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-machines.ts +101 -2
  7. package/dist/bundling-sources/shared_libs/play-runtime/modal-runtime-config.ts +62 -20
  8. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +2 -2
  9. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +24 -8
  10. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +19 -7
  11. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-runtime-watchdog.ts +196 -10
  12. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +40 -17
  13. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/local-process.ts +4 -1
  14. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal-resource-usage.ts +222 -0
  15. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +46 -14
  16. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/types.ts +2 -0
  17. package/dist/bundling-sources/shared_libs/play-runtime/runtime-incident-drills.ts +9 -5
  18. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-compute-usage.ts +8 -0
  19. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/contract.ts +2 -0
  20. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/runner-backend-adapter.ts +2 -0
  21. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +5 -1
  22. package/dist/bundling-sources/shared_libs/play-runtime/worker-api-types.ts +36 -0
  23. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +18 -8
  24. package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +1 -1
  25. package/dist/bundling-sources/shared_libs/plays/sandbox-runtime-limits.ts +64 -16
  26. package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +1 -1
  27. package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +14 -1
  28. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +40 -0
  29. package/dist/bundling-sources/shared_libs/product-notifications/default-policy.ts +23 -1
  30. package/dist/bundling-sources/shared_libs/product-notifications/events.ts +18 -0
  31. package/dist/bundling-sources/shared_libs/product-notifications/slack-delivery.ts +2 -1
  32. package/dist/cli/auth-O6KAH543.js +41 -0
  33. package/dist/cli/{auth-KLJOQ4DZ.mjs → auth-QMANU5PV.mjs} +5 -5
  34. package/dist/cli/{billing-IQNJXKH5.js → billing-WZ5POBZX.js} +85 -83
  35. package/dist/cli/{billing-DNDYNBQ7.mjs → billing-YJAP4VZN.mjs} +12 -10
  36. package/dist/cli/{chunk-GTH7JORC.mjs → chunk-26CZVDQN.mjs} +2 -2
  37. package/dist/cli/{chunk-VGVSHQN5.mjs → chunk-35SZHTRW.mjs} +5 -5
  38. package/dist/cli/{chunk-GAWP2YF5.mjs → chunk-3MZPWIOE.mjs} +1 -1
  39. package/dist/cli/{chunk-B3BM3PAI.js → chunk-3NRZFMX4.js} +6 -6
  40. package/dist/cli/{chunk-63OOFT6B.js → chunk-3ODBCZLL.js} +93 -93
  41. package/dist/cli/{chunk-D4B3EV55.js → chunk-475V572K.js} +36 -36
  42. package/dist/cli/{chunk-36KEQFWZ.js → chunk-4C34LGI4.js} +10 -10
  43. package/dist/cli/{chunk-6ZTSHKJF.js → chunk-5QS4T4KR.js} +10 -3
  44. package/dist/cli/{chunk-GQBAJTQU.mjs → chunk-7IYOWIEJ.mjs} +2 -2
  45. package/dist/cli/{chunk-3J2N7YF5.js → chunk-AIPTW3EK.js} +3 -3
  46. package/dist/cli/{chunk-YHB6MASP.js → chunk-AWJKYS25.js} +2 -2
  47. package/dist/cli/{chunk-V25CXRQ7.mjs → chunk-BB4RZMWA.mjs} +5 -5
  48. package/dist/cli/{chunk-OHUGXZ7N.js → chunk-CXBEZAPU.js} +16 -16
  49. package/dist/cli/{chunk-Z52WEIBR.js → chunk-DKR7QPEO.js} +11 -7
  50. package/dist/cli/{chunk-X6R5UNDZ.mjs → chunk-DQZBERDL.mjs} +1 -1
  51. package/dist/cli/{chunk-YUNPYX5T.mjs → chunk-DUGZKPRK.mjs} +10 -3
  52. package/dist/cli/{chunk-HQCTPAXP.mjs → chunk-EIKONWW7.mjs} +1 -1
  53. package/dist/cli/{chunk-MREO5LZD.js → chunk-EK2TAZJZ.js} +2 -2
  54. package/dist/cli/{chunk-RVRG57OB.js → chunk-G3UHAYRX.js} +8 -8
  55. package/dist/cli/{chunk-3LFSIUFI.js → chunk-IK3VOGDR.js} +21 -21
  56. package/dist/cli/{chunk-IC6AHOYS.js → chunk-JCNJQH6X.js} +1 -1
  57. package/dist/cli/{chunk-NTFM7JQW.mjs → chunk-JEYX3345.mjs} +3 -3
  58. package/dist/cli/{chunk-IFZ76E5H.mjs → chunk-JJVYUKLY.mjs} +1 -1
  59. package/dist/cli/{chunk-N4ZCMQ54.js → chunk-JSXMJSBE.js} +8 -8
  60. package/dist/cli/{chunk-QG3THSTN.mjs → chunk-KKWQ24VM.mjs} +2 -2
  61. package/dist/cli/{chunk-TUFQFTOC.js → chunk-LHOEWAVD.js} +53 -53
  62. package/dist/cli/{chunk-QD6IW2HP.mjs → chunk-MKSB2FTU.mjs} +4 -4
  63. package/dist/cli/{chunk-6YOGOXOJ.mjs → chunk-MNK4ZK2C.mjs} +10 -10
  64. package/dist/cli/{chunk-ABLEU3QI.mjs → chunk-MXUJVCKV.mjs} +4 -4
  65. package/dist/cli/{chunk-WGQKOLXH.js → chunk-N62MS3XJ.js} +6 -6
  66. package/dist/cli/{chunk-YH5SFKHJ.js → chunk-ORQYKA4I.js} +4 -4
  67. package/dist/cli/{chunk-4U3RNA3J.js → chunk-PGKELBIY.js} +51 -51
  68. package/dist/cli/{chunk-SWAYZST7.mjs → chunk-RGIQ5ZJX.mjs} +2 -2
  69. package/dist/cli/{chunk-UON3WCBD.js → chunk-RLQIGBFK.js} +3 -3
  70. package/dist/cli/{chunk-F4PUDYBY.js → chunk-RXITRC37.js} +3 -3
  71. package/dist/cli/{chunk-DD7E4ZVH.js → chunk-STLJYWUC.js} +7 -7
  72. package/dist/cli/{chunk-3OPQLFUK.mjs → chunk-THDXVSNL.mjs} +4 -4
  73. package/dist/cli/{chunk-TBLBYIKO.mjs → chunk-UGYLGT7B.mjs} +1 -1
  74. package/dist/cli/{chunk-CNCK2D6B.mjs → chunk-UKX4FESF.mjs} +2 -2
  75. package/dist/cli/{chunk-RZHUHL53.mjs → chunk-V4ILQ2DS.mjs} +11 -7
  76. package/dist/cli/{chunk-QI73EL5C.js → chunk-XNP7XTBN.js} +26 -26
  77. package/dist/cli/{chunk-PMJAGTSQ.js → chunk-XP7FAYLN.js} +5 -5
  78. package/dist/cli/{chunk-D22QIUE3.js → chunk-YFDTF2XC.js} +9 -9
  79. package/dist/cli/{chunk-GE5GPLNM.mjs → chunk-YK64UZXN.mjs} +1 -1
  80. package/dist/cli/{chunk-ZVLYUKJU.js → chunk-YKNULB7V.js} +5 -5
  81. package/dist/cli/{chunk-VS7JKS22.mjs → chunk-YVJ6IWVD.mjs} +1 -1
  82. package/dist/cli/{chunk-6QS7522K.mjs → chunk-YX762HFK.mjs} +2 -2
  83. package/dist/cli/{chunk-EUHTZV2E.mjs → chunk-Z27NSLPC.mjs} +1 -1
  84. package/dist/cli/{chunk-EVLUSXQG.mjs → chunk-ZGC2SUAA.mjs} +2 -2
  85. package/dist/cli/{chunk-GISBRE2H.mjs → chunk-ZRWQKTSX.mjs} +3 -3
  86. package/dist/cli/command-docs.js +2 -2
  87. package/dist/cli/command-docs.mjs +1 -1
  88. package/dist/cli/{csv-OVV3HWN4.js → csv-ENKCFCSM.js} +13 -13
  89. package/dist/cli/{csv-NCY5MWS2.mjs → csv-QCLQOIEA.mjs} +4 -4
  90. package/dist/cli/{db-BOELNDS4.js → db-5TLBZDT3.js} +27 -27
  91. package/dist/cli/{db-VPH6JHUD.mjs → db-P25LGP33.mjs} +6 -6
  92. package/dist/cli/describe-44L7OBGM.js +48 -0
  93. package/dist/cli/{describe-FFDCPYZH.mjs → describe-W2H5DHR6.mjs} +17 -17
  94. package/dist/cli/describe-core.d.mts +3 -3
  95. package/dist/cli/describe-core.d.ts +3 -3
  96. package/dist/cli/{executions-5GCCDENS.mjs → executions-VYZCYUBR.mjs} +6 -6
  97. package/dist/cli/{executions-RF44ANF5.js → executions-YHFAWJOJ.js} +8 -8
  98. package/dist/cli/{feedback-OI2A5L6F.mjs → feedback-K2FWYYLZ.mjs} +4 -4
  99. package/dist/cli/{feedback-NJM3V7QV.js → feedback-RJF3QSBB.js} +8 -8
  100. package/dist/cli/git-F3EI5DY5.js +25 -0
  101. package/dist/cli/{git-EOGSZ3T2.mjs → git-S3APUPLL.mjs} +5 -5
  102. package/dist/cli/index.js +139 -139
  103. package/dist/cli/index.mjs +41 -41
  104. package/dist/cli/{legacy-noops-5QM7XGGX.js → legacy-noops-3SWNRE7Z.js} +8 -8
  105. package/dist/cli/{legacy-noops-UYKK7AAB.mjs → legacy-noops-ICYZACTW.mjs} +5 -5
  106. package/dist/cli/{monitors-N3ITC5MP.mjs → monitors-DEZCEQLB.mjs} +7 -7
  107. package/dist/cli/{monitors-52GW2V4V.js → monitors-VRIWTRPG.js} +91 -91
  108. package/dist/cli/{org-KUZUG33W.mjs → org-IQW5ZIAO.mjs} +6 -6
  109. package/dist/cli/{org-ADF47NPV.js → org-NX752DTE.js} +72 -72
  110. package/dist/cli/{pages-C3S5WU3S.mjs → pages-5WQRVVKX.mjs} +6 -6
  111. package/dist/cli/{pages-H3H7ODBN.js → pages-YIBWYGVS.js} +17 -17
  112. package/dist/cli/{play-YWZWBG32.js → play-3EXNH3HD.js} +662 -601
  113. package/dist/cli/{play-SZETTQPV.mjs → play-WOMJXS4O.mjs} +110 -49
  114. package/dist/cli/{providers-V3BP7ZB2.js → providers-C2WYSR2Y.js} +9 -9
  115. package/dist/cli/{providers-FSCD35HB.mjs → providers-XDVPYRTS.mjs} +6 -6
  116. package/dist/cli/{quickstart-ICULVGAR.js → quickstart-7RABZF66.js} +6 -6
  117. package/dist/cli/{quickstart-SYZCT2WI.mjs → quickstart-YMSIL2TK.mjs} +4 -4
  118. package/dist/cli/{run-WUJSKGUM.js → run-5QVVWFGL.js} +36 -36
  119. package/dist/cli/{run-HA5B3AYQ.mjs → run-A4JD6TAR.mjs} +22 -22
  120. package/dist/cli/{search-A27AGYDV.mjs → search-2TOSF2G3.mjs} +7 -7
  121. package/dist/cli/search-772R7YHI.js +32 -0
  122. package/dist/cli/{secrets-2L4VRJ2F.mjs → secrets-BUN4ORE7.mjs} +6 -6
  123. package/dist/cli/{secrets-ODX56QBF.js → secrets-Q7UVOSNM.js} +15 -15
  124. package/dist/cli/{sessions-PRF36DHO.mjs → sessions-IAOORI6X.mjs} +5 -5
  125. package/dist/cli/{sessions-DVZ4FECP.js → sessions-NXQOQ4HX.js} +6 -6
  126. package/dist/cli/{settings-LUATIKJE.mjs → settings-BMI373AI.mjs} +11 -11
  127. package/dist/cli/{settings-RJT5DBWG.js → settings-WD4KSY5S.js} +78 -78
  128. package/dist/cli/{setup-FJSBKCLU.js → setup-3IA7BVPE.js} +44 -44
  129. package/dist/cli/{setup-IQXTYLRH.mjs → setup-55VIWAWR.mjs} +9 -9
  130. package/dist/cli/{skills-XJH4ZC5Y.mjs → skills-GKITMBTM.mjs} +7 -7
  131. package/dist/cli/skills-PUUTFMP3.js +31 -0
  132. package/dist/cli/tools-3WX7TUUG.js +55 -0
  133. package/dist/cli/{tools-IGXLZCKZ.mjs → tools-XHCFC7GP.mjs} +16 -16
  134. package/dist/cli/update-PC3CLODV.js +33 -0
  135. package/dist/cli/{update-AH7G5VSL.mjs → update-SWB24YKE.mjs} +9 -9
  136. package/dist/cli/{workflow-IQ2J7LWM.js → workflow-5QPMFI3Z.js} +17 -17
  137. package/dist/cli/{workflow-WOYSCWVD.mjs → workflow-XO4CKUA7.mjs} +7 -7
  138. package/dist/{client-C9bJ0QXu.d.mts → client-Bgl0_zXi.d.mts} +1 -1
  139. package/dist/{client-CuNH54w3.d.ts → client-_ah6IuhK.d.ts} +1 -1
  140. package/dist/{client-core-CSiXbe2n.d.mts → client-core-Bfsedm0_.d.mts} +44 -3
  141. package/dist/{client-core-C8Q6DKga.d.ts → client-core-C-ZF5vh9.d.ts} +44 -3
  142. package/dist/{compiler-manifest-Zwm9yqOA.d.mts → compiler-manifest-CCOqDGjU.d.mts} +12 -10
  143. package/dist/{compiler-manifest-Zwm9yqOA.d.ts → compiler-manifest-CCOqDGjU.d.ts} +12 -10
  144. package/dist/{errors-nEsqNLL8.d.mts → errors-BLccD7tG.d.mts} +1 -1
  145. package/dist/{errors-CsYwlpn4.d.ts → errors-Cy3kPnsi.d.ts} +1 -1
  146. package/dist/{index-CXF2jtza.d.mts → index-4-j44HuT.d.mts} +1 -1
  147. package/dist/{index-9pUZqkPH.d.ts → index-D5e4h1-H.d.ts} +1 -1
  148. package/dist/index.d.mts +14 -9
  149. package/dist/index.d.ts +14 -9
  150. package/dist/index.js +9 -9
  151. package/dist/index.mjs +6 -6
  152. package/dist/install-integrity.json +111 -110
  153. package/dist/plays/bundle-play-file.d.mts +3 -3
  154. package/dist/plays/bundle-play-file.d.ts +3 -3
  155. package/dist/plays/bundle-play-file.mjs +1 -1
  156. package/dist/plays/play-description.d.mts +2 -2
  157. package/dist/plays/play-description.d.ts +2 -2
  158. package/dist/plays/run-request.d.mts +2 -2
  159. package/dist/plays/run-request.d.ts +2 -2
  160. package/dist/release.d.mts +1 -1
  161. package/dist/release.d.ts +1 -1
  162. package/dist/release.js +2 -2
  163. package/dist/release.mjs +1 -1
  164. package/dist/server.d.mts +4 -4
  165. package/dist/server.d.ts +4 -4
  166. package/dist/server.js +5 -5
  167. package/dist/server.mjs +3 -3
  168. package/package.json +1 -1
  169. package/dist/cli/auth-IJOWKNSB.js +0 -41
  170. package/dist/cli/describe-7SFESEFL.js +0 -48
  171. package/dist/cli/git-4V5ZS5SE.js +0 -25
  172. package/dist/cli/search-XATDPNEM.js +0 -32
  173. package/dist/cli/skills-N6CPBF6T.js +0 -31
  174. package/dist/cli/tools-YMVEVRCE.js +0 -55
  175. package/dist/cli/update-MUCWGTXH.js +0 -33
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkTUFQFTOCjs = require('./chunk-TUFQFTOC.js');
14
+ var _chunkLHOEWAVDjs = require('./chunk-LHOEWAVD.js');
15
15
 
16
16
 
17
- var _chunkDD7E4ZVHjs = require('./chunk-DD7E4ZVH.js');
17
+ var _chunkSTLJYWUCjs = require('./chunk-STLJYWUC.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkF4PUDYBYjs = require('./chunk-F4PUDYBY.js');
23
+ var _chunkRXITRC37js = require('./chunk-RXITRC37.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkYH5SFKHJjs = require('./chunk-YH5SFKHJ.js');
27
+ var _chunkORQYKA4Ijs = require('./chunk-ORQYKA4I.js');
28
28
 
29
29
  // src/cli/commands/skills.ts
30
30
  var _child_process = require('child_process');
@@ -77,7 +77,7 @@ function inferActiveSkillsScope(entrypoint = _nullishCoalesce(process.argv[1], (
77
77
  return /[\\/]\.deepline[\\/]runtime[\\/]/.test(entrypoint) ? "local" : "global";
78
78
  }
79
79
  function resolveLocalRoot() {
80
- const target = _chunkF4PUDYBYjs.resolveProjectPinTarget.call(void 0, );
80
+ const target = _chunkRXITRC37js.resolveProjectPinTarget.call(void 0, );
81
81
  if (!target.ok) {
82
82
  throw new Error(
83
83
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -88,7 +88,7 @@ function resolveLocalRoot() {
88
88
  return target.dir;
89
89
  }
90
90
  function detectSkillsAgents(input) {
91
- const runtime = _nullishCoalesce(input.runtime, () => ( _chunkYH5SFKHJjs.detectAgentRuntime.call(void 0, )));
91
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkORQYKA4Ijs.detectAgentRuntime.call(void 0, )));
92
92
  const knownAgent = RUNTIME_TO_SKILLS_AGENT[runtime];
93
93
  if (knownAgent) return [knownAgent];
94
94
  const roots = [
@@ -103,11 +103,11 @@ function detectSkillsAgents(input) {
103
103
  return detected.length > 0 ? detected : ["*"];
104
104
  }
105
105
  function skillsStatePathForScope(baseUrl, scope, root) {
106
- return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkF4PUDYBYjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
106
+ return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkRXITRC37js.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
107
107
  }
108
108
  function buildSkillsPlan(input) {
109
109
  const scopeArgs = input.scope === "global" ? ["--global"] : [];
110
- const legacyNames = [..._chunkTUFQFTOCjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
110
+ const legacyNames = [..._chunkLHOEWAVDjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
111
111
  (a, b) => a.localeCompare(b)
112
112
  );
113
113
  return {
@@ -121,7 +121,7 @@ function buildSkillsPlan(input) {
121
121
  args: [
122
122
  "exec",
123
123
  "--yes",
124
- `--package=${_chunkTUFQFTOCjs.SKILLS_NPX_PACKAGE}`,
124
+ `--package=${_chunkLHOEWAVDjs.SKILLS_NPX_PACKAGE}`,
125
125
  "--",
126
126
  "skills",
127
127
  "remove",
@@ -137,11 +137,11 @@ function buildSkillsPlan(input) {
137
137
  args: [
138
138
  "exec",
139
139
  "--yes",
140
- `--package=${_chunkTUFQFTOCjs.SKILLS_NPX_PACKAGE}`,
140
+ `--package=${_chunkLHOEWAVDjs.SKILLS_NPX_PACKAGE}`,
141
141
  "--",
142
142
  "skills",
143
143
  "add",
144
- _chunkTUFQFTOCjs.skillsSourceUrl.call(void 0, input.baseUrl),
144
+ _chunkLHOEWAVDjs.skillsSourceUrl.call(void 0, input.baseUrl),
145
145
  "--agent",
146
146
  ...input.agents,
147
147
  ...scopeArgs,
@@ -178,7 +178,7 @@ function readSkillsInstallState(path) {
178
178
  }
179
179
  function runProcess(command, args, cwd) {
180
180
  return new Promise((resolve, reject) => {
181
- const plan = _chunkTUFQFTOCjs.resolveShellSpawn.call(void 0,
181
+ const plan = _chunkLHOEWAVDjs.resolveShellSpawn.call(void 0,
182
182
  command,
183
183
  args,
184
184
  process.platform,
@@ -200,7 +200,7 @@ function runProcess(command, args, cwd) {
200
200
  child.kill("SIGTERM");
201
201
  reject(
202
202
  new Error(
203
- `${_chunkTUFQFTOCjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
203
+ `${_chunkLHOEWAVDjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
204
204
  )
205
205
  );
206
206
  }, SKILLS_PROCESS_TIMEOUT_MS);
@@ -211,7 +211,7 @@ function runProcess(command, args, cwd) {
211
211
  child.once("close", (code) => {
212
212
  clearTimeout(timeout);
213
213
  if (code && stderr.trim()) {
214
- process.stderr.write(`${_chunkTUFQFTOCjs.SKILLS_NPX_PACKAGE} exited ${code}.
214
+ process.stderr.write(`${_chunkLHOEWAVDjs.SKILLS_NPX_PACKAGE} exited ${code}.
215
215
  `);
216
216
  }
217
217
  resolve(_nullishCoalesce(code, () => ( 1)));
@@ -225,7 +225,7 @@ async function runSkillsCommand(options, dependencies = {}) {
225
225
  scope = normalizeScope(options.scope);
226
226
  root = scope === "local" ? resolveLocalRoot() : null;
227
227
  } catch (error) {
228
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
228
+ _chunkSTLJYWUCjs.printCommandEnvelope.call(void 0,
229
229
  {
230
230
  ok: false,
231
231
  status: "failed",
@@ -237,22 +237,22 @@ async function runSkillsCommand(options, dependencies = {}) {
237
237
  );
238
238
  return 2;
239
239
  }
240
- const baseUrl = _chunkF4PUDYBYjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
240
+ const baseUrl = _chunkRXITRC37js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
241
241
  const catalog = {
242
- skillNames: [..._chunkTUFQFTOCjs.DEFAULT_SDK_SKILL_NAMES],
243
- version: _chunkYH5SFKHJjs.SDK_VERSION
242
+ skillNames: [..._chunkLHOEWAVDjs.DEFAULT_SDK_SKILL_NAMES],
243
+ version: _chunkORQYKA4Ijs.SDK_VERSION
244
244
  };
245
245
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
246
246
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
247
247
  if (options.dryRun) {
248
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
248
+ _chunkSTLJYWUCjs.printCommandEnvelope.call(void 0,
249
249
  { ok: true, status: "planned", dryRun: true, ...plan },
250
250
  { json: options.json }
251
251
  );
252
252
  return 0;
253
253
  }
254
- if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkTUFQFTOCjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
255
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
254
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkLHOEWAVDjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
255
+ _chunkSTLJYWUCjs.printCommandEnvelope.call(void 0,
256
256
  {
257
257
  ok: true,
258
258
  status: "current",
@@ -284,10 +284,10 @@ async function runSkillsCommand(options, dependencies = {}) {
284
284
  }
285
285
  if (scope === "local" && root) {
286
286
  const managedNames = [
287
- .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkTUFQFTOCjs.LEGACY_SKILL_NAMES_TO_REMOVE])
287
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkLHOEWAVDjs.LEGACY_SKILL_NAMES_TO_REMOVE])
288
288
  ];
289
289
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
290
- _chunkF4PUDYBYjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
290
+ _chunkRXITRC37js.ensureProjectPrivatePathsIgnored.call(void 0, root, [
291
291
  ".deepline/",
292
292
  ...agentRoots.flatMap(
293
293
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -296,7 +296,7 @@ async function runSkillsCommand(options, dependencies = {}) {
296
296
  }
297
297
  let lease;
298
298
  try {
299
- lease = scope === "global" ? await _chunkTUFQFTOCjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
299
+ lease = scope === "global" ? await _chunkLHOEWAVDjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
300
300
  waitMs: _nullishCoalesce(dependencies.installLeaseWaitMs, () => ( SKILLS_INSTALL_LEASE_WAIT_MS)),
301
301
  onWait: () => process.stderr.write(
302
302
  "Waiting for a background Deepline skills refresh to finish...\n"
@@ -304,8 +304,8 @@ async function runSkillsCommand(options, dependencies = {}) {
304
304
  }) : { release: () => {
305
305
  } };
306
306
  } catch (error) {
307
- if (!(error instanceof _chunkTUFQFTOCjs.SkillsStateUnavailableError)) throw error;
308
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
307
+ if (!(error instanceof _chunkLHOEWAVDjs.SkillsStateUnavailableError)) throw error;
308
+ _chunkSTLJYWUCjs.printCommandEnvelope.call(void 0,
309
309
  {
310
310
  ok: false,
311
311
  status: "failed",
@@ -321,7 +321,7 @@ async function runSkillsCommand(options, dependencies = {}) {
321
321
  return 5;
322
322
  }
323
323
  if (!lease) {
324
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
324
+ _chunkSTLJYWUCjs.printCommandEnvelope.call(void 0,
325
325
  {
326
326
  ok: false,
327
327
  status: "failed",
@@ -330,7 +330,7 @@ async function runSkillsCommand(options, dependencies = {}) {
330
330
  scope,
331
331
  agents,
332
332
  message: "A background Deepline skills refresh is still running for these agents.",
333
- next: `Retry in a moment: deepline skills --scope ${scope}. If no refresh is running, remove ${_chunkTUFQFTOCjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
333
+ next: `Retry in a moment: deepline skills --scope ${scope}. If no refresh is running, remove ${_chunkLHOEWAVDjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
334
334
  },
335
335
  { json: options.json }
336
336
  );
@@ -367,7 +367,7 @@ async function runSkillsInstallWithLease(input) {
367
367
  throw new Error("Could not install the current Deepline skills.");
368
368
  }
369
369
  } catch (error) {
370
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
370
+ _chunkSTLJYWUCjs.printCommandEnvelope.call(void 0,
371
371
  {
372
372
  ok: false,
373
373
  status: "failed",
@@ -406,7 +406,7 @@ async function runSkillsInstallWithLease(input) {
406
406
  {
407
407
  schemaVersion: 1,
408
408
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
409
- cliVersion: _chunkYH5SFKHJjs.SDK_VERSION,
409
+ cliVersion: _chunkORQYKA4Ijs.SDK_VERSION,
410
410
  scope,
411
411
  agents,
412
412
  skillsVersion: plan.version,
@@ -419,9 +419,9 @@ async function runSkillsInstallWithLease(input) {
419
419
  "utf8"
420
420
  );
421
421
  if (scope === "global") {
422
- _chunkTUFQFTOCjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
422
+ _chunkLHOEWAVDjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
423
423
  }
424
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
424
+ _chunkSTLJYWUCjs.printCommandEnvelope.call(void 0,
425
425
  {
426
426
  ok: true,
427
427
  status: "complete",
@@ -452,7 +452,7 @@ function registerSkillsCommand(program) {
452
452
  "after",
453
453
  `
454
454
  Notes:
455
- This command reinstalls current Deepline-managed skills using ${_chunkTUFQFTOCjs.SKILLS_NPX_PACKAGE},
455
+ This command reinstalls current Deepline-managed skills using ${_chunkLHOEWAVDjs.SKILLS_NPX_PACKAGE},
456
456
  then removes legacy Deepline skill names. Local scope writes into the resolved
457
457
  persistent project.
458
458
 
@@ -464,13 +464,13 @@ Examples:
464
464
  ).action(async (options) => {
465
465
  process.exitCode = await runSkillsCommand(options);
466
466
  });
467
- program.command(_chunkTUFQFTOCjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
467
+ program.command(_chunkLHOEWAVDjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
468
468
  "--claim <token>",
469
469
  "Owner token of the leases this child was started for."
470
470
  ).action(async (options) => {
471
471
  const claim = _optionalChain([options, 'access', _ => _.claim, 'optionalAccess', _2 => _2.trim, 'call', _3 => _3()]);
472
472
  if (!claim) {
473
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
473
+ _chunkSTLJYWUCjs.printCommandEnvelope.call(void 0,
474
474
  {
475
475
  ok: false,
476
476
  status: "failed",
@@ -483,7 +483,7 @@ Examples:
483
483
  process.exitCode = 2;
484
484
  return;
485
485
  }
486
- await _chunkTUFQFTOCjs.syncSdkSkillsIfNeeded.call(void 0, _chunkF4PUDYBYjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
486
+ await _chunkLHOEWAVDjs.syncSdkSkillsIfNeeded.call(void 0, _chunkRXITRC37js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
487
487
  mode: "inline",
488
488
  notices: "defer",
489
489
  claim
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunk63OOFT6Bjs = require('./chunk-63OOFT6B.js');
3
+ var _chunk3ODBCZLLjs = require('./chunk-3ODBCZLL.js');
4
4
 
5
5
 
6
- var _chunk3J2N7YF5js = require('./chunk-3J2N7YF5.js');
6
+ var _chunkAIPTW3EKjs = require('./chunk-AIPTW3EK.js');
7
7
 
8
8
 
9
9
 
@@ -14,10 +14,10 @@ var _chunkAK7UKQ5Rjs = require('./chunk-AK7UKQ5R.js');
14
14
  var _chunkIAYSWZDJjs = require('./chunk-IAYSWZDJ.js');
15
15
 
16
16
 
17
- var _chunkPMJAGTSQjs = require('./chunk-PMJAGTSQ.js');
17
+ var _chunkXP7FAYLNjs = require('./chunk-XP7FAYLN.js');
18
18
 
19
19
 
20
- var _chunkDD7E4ZVHjs = require('./chunk-DD7E4ZVH.js');
20
+ var _chunkSTLJYWUCjs = require('./chunk-STLJYWUC.js');
21
21
 
22
22
  // src/cli/commands/describe.ts
23
23
  var _fs = require('fs');
@@ -26,16 +26,16 @@ function nothingNamed(name) {
26
26
  return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
27
27
  }
28
28
  function findNamed2(name, options) {
29
- return _chunkAK7UKQ5Rjs.findNamed.call(void 0, name, options, _chunkAK7UKQ5Rjs.describeLookupsFor.call(void 0, new (0, _chunkPMJAGTSQjs.DeeplineClient)()));
29
+ return _chunkAK7UKQ5Rjs.findNamed.call(void 0, name, options, _chunkAK7UKQ5Rjs.describeLookupsFor.call(void 0, new (0, _chunkXP7FAYLNjs.DeeplineClient)()));
30
30
  }
31
31
  async function describeAnything(name, options, onMissing) {
32
- const client = new (0, _chunkPMJAGTSQjs.DeeplineClient)();
32
+ const client = new (0, _chunkXP7FAYLNjs.DeeplineClient)();
33
33
  const lookups = _chunkAK7UKQ5Rjs.describeLookupsFor.call(void 0, client);
34
34
  const outcome = await _chunkAK7UKQ5Rjs.describeName.call(void 0, name, options, {
35
35
  ...lookups,
36
36
  // `tools describe` has already fetched the tool for its compatibility check.
37
37
  tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
38
- seedStarterScript: _chunk63OOFT6Bjs.seedToolListScript
38
+ seedStarterScript: _chunk3ODBCZLLjs.seedToolListScript
39
39
  });
40
40
  if (outcome.status === "missing") {
41
41
  if (onMissing) return onMissing();
@@ -60,18 +60,18 @@ function deliver(envelope, lines, { json, out }) {
60
60
  ` : text;
61
61
  _fs.writeFileSync.call(void 0, path, content);
62
62
  const bytes = Buffer.byteLength(content);
63
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
63
+ _chunkSTLJYWUCjs.printCommandEnvelope.call(void 0,
64
64
  { path, bytes },
65
65
  { json, text: `Wrote ${path} (${bytes} bytes)
66
66
  ` }
67
67
  );
68
68
  return 0;
69
69
  }
70
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0, envelope, { json, text });
70
+ _chunkSTLJYWUCjs.printCommandEnvelope.call(void 0, envelope, { json, text });
71
71
  return 0;
72
72
  }
73
73
  function registerDescribeCommand(program) {
74
- _chunk3J2N7YF5js.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
74
+ _chunkAIPTW3EKjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
75
75
  "Describe anything search returns: a tool, monitor type, or play."
76
76
  ).addHelpText(
77
77
  "after",
@@ -818,9 +818,16 @@ Authoring rules:
818
818
  Triggers: export const config = { cron: { schedule, timezone, input } };
819
819
  or { webhook: {} }. A cron run receives {} unless cron.input is written
820
820
  inline; it is pinned with the published revision.
821
- Runtime: The default Play runtime is 30 minutes. For a bounded long batch
822
- set export const config = { runtime: { timeout: '90m', size: 'standard' } };
823
- up to 4h. That is not the CLI wait timeout.
821
+ Runtime: The default Play runtime is 30 minutes. Standard uses 1 GiB / 1 CPU.
822
+ Preview deployments also support runtime.size 'large' (4 GiB / 2 CPU) and
823
+ 'xlarge' (8 GiB / 4 CPU). Production uses standard.
824
+ Compute pricing follows the workspace plan.
825
+ [[cli:Use deepline billing quote for the session ceiling.]]
826
+ Set runtime.timeout to extend a run up to 4h.
827
+ For large datasets, keep working sets bounded and checkpoint progress;
828
+ inline ctx.runPlay shares parent memory, while ctx.runPlayAsync starts an
829
+ independent run. A larger profile does not make a job resumable. This is
830
+ not the CLI wait timeout.
824
831
  Recurring sourcing: .run({ key: 'domain', mode: 'net_new' }) returns only
825
832
  rows the table has not seen before.
826
833
  Results: project each answer into flat columns (the value, its source,
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-QG3THSTN.mjs";
5
+ } from "./chunk-KKWQ24VM.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-GE5GPLNM.mjs";
8
+ } from "./chunk-YK64UZXN.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -6,7 +6,7 @@ var _chunkIAYSWZDJjs = require('./chunk-IAYSWZDJ.js');
6
6
 
7
7
 
8
8
 
9
- var _chunkDD7E4ZVHjs = require('./chunk-DD7E4ZVH.js');
9
+ var _chunkSTLJYWUCjs = require('./chunk-STLJYWUC.js');
10
10
 
11
11
  // src/cli/describe-options.ts
12
12
  function addDescribeOptions(command, options = {}) {
@@ -247,7 +247,7 @@ function projectRunDatasetCell(value) {
247
247
  const logicalValue = parseSerializedDatasetValue(value);
248
248
  if (logicalValue === null || logicalValue === void 0) return logicalValue;
249
249
  if (typeof logicalValue === "object") {
250
- return _chunkDD7E4ZVHjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
250
+ return _chunkSTLJYWUCjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
251
251
  }
252
252
  return logicalValue;
253
253
  }
@@ -642,7 +642,7 @@ function csvText(rows, columns = []) {
642
642
  rows: rows.map((row) => record(row) ? row : { value: row }),
643
643
  columns
644
644
  });
645
- return _chunkDD7E4ZVHjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
645
+ return _chunkSTLJYWUCjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
646
646
  }
647
647
  function writeExecutionOutput(result, options) {
648
648
  let temp;
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkDD7E4ZVHjs = require('./chunk-DD7E4ZVH.js');
3
+ var _chunkSTLJYWUCjs = require('./chunk-STLJYWUC.js');
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  var _commander = require('commander');
@@ -33,7 +33,7 @@ function recordCliTrace(event) {
33
33
  sinceStartMs: now - cliTraceStartedAt,
34
34
  ...event
35
35
  };
36
- _chunkDD7E4ZVHjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
36
+ _chunkSTLJYWUCjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
37
37
  `);
38
38
  }
39
39
  async function traceCliSpan(phase, fields, run) {
@@ -4,20 +4,20 @@ import {
4
4
  resolveUpdatePlan,
5
5
  runAutomaticUpdatePlan,
6
6
  shouldRunCliAutoUpdate
7
- } from "./chunk-VGVSHQN5.mjs";
7
+ } from "./chunk-35SZHTRW.mjs";
8
8
  import {
9
9
  isCiEnvironment
10
- } from "./chunk-3OPQLFUK.mjs";
10
+ } from "./chunk-THDXVSNL.mjs";
11
11
  import {
12
12
  addJsonNotice,
13
13
  isJsonOutputMode
14
- } from "./chunk-QG3THSTN.mjs";
14
+ } from "./chunk-KKWQ24VM.mjs";
15
15
  import {
16
16
  resolveApiKeyForBaseUrl
17
- } from "./chunk-GE5GPLNM.mjs";
17
+ } from "./chunk-YK64UZXN.mjs";
18
18
  import {
19
19
  SDK_VERSION
20
- } from "./chunk-EUHTZV2E.mjs";
20
+ } from "./chunk-Z27NSLPC.mjs";
21
21
 
22
22
  // src/cli/compatibility-catalog.ts
23
23
  var readers = /* @__PURE__ */ new WeakMap();
@@ -1,19 +1,19 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkMREO5LZDjs = require('./chunk-MREO5LZD.js');
4
+ var _chunkEK2TAZJZjs = require('./chunk-EK2TAZJZ.js');
5
5
 
6
6
 
7
- var _chunkD4B3EV55js = require('./chunk-D4B3EV55.js');
7
+ var _chunk475V572Kjs = require('./chunk-475V572K.js');
8
8
 
9
9
 
10
- var _chunkTUFQFTOCjs = require('./chunk-TUFQFTOC.js');
10
+ var _chunkLHOEWAVDjs = require('./chunk-LHOEWAVD.js');
11
11
 
12
12
 
13
- var _chunkDD7E4ZVHjs = require('./chunk-DD7E4ZVH.js');
13
+ var _chunkSTLJYWUCjs = require('./chunk-STLJYWUC.js');
14
14
 
15
15
 
16
- var _chunkF4PUDYBYjs = require('./chunk-F4PUDYBY.js');
16
+ var _chunkRXITRC37js = require('./chunk-RXITRC37.js');
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  var _child_process = require('child_process');
@@ -495,7 +495,7 @@ function normalizedNpmPrefix(value) {
495
495
  }
496
496
  function resolveNpmGlobalPrefix(env) {
497
497
  try {
498
- const plan = _chunkTUFQFTOCjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkLHOEWAVDjs.resolveShellSpawn.call(void 0,
499
499
  "npm",
500
500
  ["prefix", "-g"],
501
501
  process.platform,
@@ -556,8 +556,8 @@ function resolveUpdatePlan(options = {}) {
556
556
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
557
557
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
558
558
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
559
- const npmVersion = options.npmVersion === void 0 ? _chunkMREO5LZDjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkMREO5LZDjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
559
+ const npmVersion = options.npmVersion === void 0 ? _chunkEK2TAZJZjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkEK2TAZJZjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
561
561
  const args = installPrefix ? [
562
562
  "install",
563
563
  "-g",
@@ -567,7 +567,7 @@ function resolveUpdatePlan(options = {}) {
567
567
  packageSpec
568
568
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
569
569
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
570
- _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkF4PUDYBYjs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkRXITRC37js.autoDetectBaseUrl.call(void 0, )
571
571
  );
572
572
  return {
573
573
  kind: "npm-global",
@@ -816,7 +816,7 @@ function sidecarInstallFailure(versionDir) {
816
816
  function runCommand(command, args, env = process.env) {
817
817
  return new Promise((resolveResult) => {
818
818
  let output = "";
819
- const plan = _chunkTUFQFTOCjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkLHOEWAVDjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
820
820
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
821
821
  stdio: ["inherit", "pipe", "pipe"],
822
822
  shell: plan.shell,
@@ -1199,14 +1199,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
1199
1199
  throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
1200
1200
  }
1201
1201
  async function runUpdateCommand(options, dependencies = {}) {
1202
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkF4PUDYBYjs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkRXITRC37js.autoDetectBaseUrl));
1203
1203
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1204
1204
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1205
1205
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1206
1206
  const originalWrite = process.stdout.write.bind(process.stdout);
1207
1207
  process.stdout.write = (() => true);
1208
1208
  try {
1209
- const exitCode = await _chunkD4B3EV55js.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunk475V572Kjs.runSkillsCommand.call(void 0, { json: true });
1210
1210
  if (exitCode !== 0) {
1211
1211
  throw new Error(
1212
1212
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1277,11 +1277,11 @@ async function runUpdateCommand(options, dependencies = {}) {
1277
1277
  ]
1278
1278
  };
1279
1279
  if (options.json && !options.executeWithJson) {
1280
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunkSTLJYWUCjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
1284
+ _chunkSTLJYWUCjs.printCommandEnvelope.call(void 0,
1285
1285
  {
1286
1286
  ...plan,
1287
1287
  render: {
@@ -1294,7 +1294,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1294
1294
  return 0;
1295
1295
  }
1296
1296
  if (plan.kind === "source" || plan.kind === "homebrew") {
1297
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunkSTLJYWUCjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1298
1298
  return 0;
1299
1299
  }
1300
1300
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1324,7 +1324,7 @@ To retry with full installer output, run: deepline skills
1324
1324
  );
1325
1325
  }
1326
1326
  if (options.executeWithJson && options.json) {
1327
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
1327
+ _chunkSTLJYWUCjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -1389,20 +1389,24 @@ var PLAY_AUTHORING_FIELD_REGISTRY = {
1389
1389
  errorMessage: 'rateLimit.every must be a static duration from "10s" to "24h", such as "5m".'
1390
1390
  },
1391
1391
  "runtime.size": {
1392
- schema: _typebox.Type.Literal("standard"),
1392
+ schema: _typebox.Type.Union([
1393
+ _typebox.Type.Literal("standard"),
1394
+ _typebox.Type.Literal("large"),
1395
+ _typebox.Type.Literal("xlarge")
1396
+ ]),
1393
1397
  fixtures: {
1394
- valid: "standard",
1395
- invalid: "large",
1398
+ valid: "large",
1399
+ invalid: "xxlarge",
1396
1400
  absent: void 0,
1397
1401
  unresolved: { expression: "size" },
1398
1402
  edition1: "standard"
1399
1403
  },
1400
- referenceType: "'standard'",
1404
+ referenceType: "'standard' | 'large' | 'xlarge'",
1401
1405
  required: false,
1402
1406
  resolution: "static-required",
1403
1407
  issueCode: "play_authoring_binding_invalid",
1404
- description: "Deepline-managed sandbox size. Only standard is supported.",
1405
- errorMessage: 'runtime.size must be the static literal "standard".'
1408
+ description: "Deepline-managed sandbox size. Standard is 1 GiB memory. Large (4 GiB) and xlarge (8 GiB) are available only on branch Preview deployments. Production supports standard.",
1409
+ errorMessage: 'runtime.size must be the static literal "standard", "large", or "xlarge".'
1406
1410
  },
1407
1411
  "ctx.customerDb.query.statement": {
1408
1412
  schema: _typebox.Type.Union([
@@ -4468,7 +4472,7 @@ function sandboxRuntimeDeclarationFromOptions(node, context) {
4468
4472
  ) : [];
4469
4473
  if (unsupportedProperties.length > 0) {
4470
4474
  throw new Error(
4471
- `Unsupported runtime sandbox option${unsupportedProperties.length === 1 ? "" : "s"} "${unsupportedProperties.join('", "')}". Use runtime.size with a Deepline prebuilt sandbox. Supported sizes: "standard".`
4475
+ `Unsupported runtime sandbox option${unsupportedProperties.length === 1 ? "" : "s"} "${unsupportedProperties.join('", "')}". Use runtime.size with a Deepline prebuilt sandbox. Supported sizes: "standard", "large", or "xlarge".`
4472
4476
  );
4473
4477
  }
4474
4478
  const timeout = resolveStaticProperty(runtime.value, "timeout", context);
@@ -26,7 +26,7 @@ import {
26
26
  RETAINED_PIPELINE_RECEIVERS_HEADER,
27
27
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
28
28
  SDK_API_MAJOR
29
- } from "./chunk-EUHTZV2E.mjs";
29
+ } from "./chunk-Z27NSLPC.mjs";
30
30
  import {
31
31
  CustomerDbQueryOutcomeUnknownError
32
32
  } from "./chunk-4QF2K7TM.mjs";
@@ -818,9 +818,16 @@ Authoring rules:
818
818
  Triggers: export const config = { cron: { schedule, timezone, input } };
819
819
  or { webhook: {} }. A cron run receives {} unless cron.input is written
820
820
  inline; it is pinned with the published revision.
821
- Runtime: The default Play runtime is 30 minutes. For a bounded long batch
822
- set export const config = { runtime: { timeout: '90m', size: 'standard' } };
823
- up to 4h. That is not the CLI wait timeout.
821
+ Runtime: The default Play runtime is 30 minutes. Standard uses 1 GiB / 1 CPU.
822
+ Preview deployments also support runtime.size 'large' (4 GiB / 2 CPU) and
823
+ 'xlarge' (8 GiB / 4 CPU). Production uses standard.
824
+ Compute pricing follows the workspace plan.
825
+ [[cli:Use deepline billing quote for the session ceiling.]]
826
+ Set runtime.timeout to extend a run up to 4h.
827
+ For large datasets, keep working sets bounded and checkpoint progress;
828
+ inline ctx.runPlay shares parent memory, while ctx.runPlayAsync starts an
829
+ independent run. A larger profile does not make a job resumable. This is
830
+ not the CLI wait timeout.
824
831
  Recurring sourcing: .run({ key: 'domain', mode: 'net_new' }) returns only
825
832
  rows the table has not seen before.
826
833
  Results: project each answer into flat columns (the value, its source,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeRawStderr
3
- } from "./chunk-QG3THSTN.mjs";
3
+ } from "./chunk-KKWQ24VM.mjs";
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  import { InvalidArgumentError } from "commander";
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkTUFQFTOCjs = require('./chunk-TUFQFTOC.js');
3
+ var _chunkLHOEWAVDjs = require('./chunk-LHOEWAVD.js');
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  var _child_process = require('child_process');
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
13
13
  }
14
14
  function readNpmVersion(env) {
15
15
  try {
16
- const plan = _chunkTUFQFTOCjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkLHOEWAVDjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
17
17
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
18
18
  encoding: "utf8",
19
19
  env,