deepline 0.3.472 → 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 (184) 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/observability/scheduled-work-control.ts +17 -0
  7. package/dist/bundling-sources/shared_libs/observability/scheduled-work-manual.ts +55 -0
  8. package/dist/bundling-sources/shared_libs/play-runtime/deployment/fly-machines.ts +101 -2
  9. package/dist/bundling-sources/shared_libs/play-runtime/modal-runtime-config.ts +62 -20
  10. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +2 -2
  11. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-lifecycle.ts +24 -8
  12. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +19 -7
  13. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-runtime-watchdog.ts +196 -10
  14. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +40 -17
  15. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/local-process.ts +4 -1
  16. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal-resource-usage.ts +222 -0
  17. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +46 -14
  18. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/types.ts +2 -0
  19. package/dist/bundling-sources/shared_libs/play-runtime/runtime-incident-drills.ts +9 -5
  20. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-compute-usage.ts +8 -0
  21. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/contract.ts +2 -0
  22. package/dist/bundling-sources/shared_libs/play-runtime/sandbox-runs/runner-backend-adapter.ts +2 -0
  23. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +5 -1
  24. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +14 -5
  25. package/dist/bundling-sources/shared_libs/play-runtime/worker-api-types.ts +36 -0
  26. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +18 -8
  27. package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +1 -1
  28. package/dist/bundling-sources/shared_libs/plays/sandbox-runtime-limits.ts +64 -16
  29. package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +1 -1
  30. package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +14 -1
  31. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +40 -0
  32. package/dist/bundling-sources/shared_libs/product-notifications/default-policy.ts +23 -1
  33. package/dist/bundling-sources/shared_libs/product-notifications/events.ts +18 -0
  34. package/dist/bundling-sources/shared_libs/product-notifications/slack-delivery.ts +2 -1
  35. package/dist/cli/auth-O6KAH543.js +41 -0
  36. package/dist/cli/{auth-35DAEPHC.mjs → auth-QMANU5PV.mjs} +5 -5
  37. package/dist/cli/{billing-5ED5X2IO.js → billing-WZ5POBZX.js} +85 -83
  38. package/dist/cli/{billing-CXVBJEC4.mjs → billing-YJAP4VZN.mjs} +12 -10
  39. package/dist/cli/{chunk-CFDQZQE2.mjs → chunk-26CZVDQN.mjs} +2 -2
  40. package/dist/cli/{chunk-UXFUD2MB.mjs → chunk-35SZHTRW.mjs} +5 -5
  41. package/dist/cli/{chunk-R73LE2IM.mjs → chunk-3MZPWIOE.mjs} +1 -1
  42. package/dist/cli/{chunk-HBVT4FW5.js → chunk-3NRZFMX4.js} +6 -6
  43. package/dist/cli/{chunk-SBPI7AEB.js → chunk-3ODBCZLL.js} +272 -258
  44. package/dist/cli/{chunk-ODAARZSK.js → chunk-475V572K.js} +36 -36
  45. package/dist/cli/{chunk-L3AXQXNT.js → chunk-4C34LGI4.js} +13 -13
  46. package/dist/cli/{chunk-V6OMS7E2.js → chunk-4IOY2SCQ.js} +10 -2
  47. package/dist/cli/{chunk-6ZTSHKJF.js → chunk-5QS4T4KR.js} +10 -3
  48. package/dist/cli/{chunk-R6L6JRDR.mjs → chunk-7IYOWIEJ.mjs} +2 -2
  49. package/dist/cli/{chunk-RDOPZK7A.js → chunk-AIPTW3EK.js} +18 -4
  50. package/dist/cli/{chunk-T5GRG37B.js → chunk-AK7UKQ5R.js} +5 -5
  51. package/dist/cli/{chunk-2G4R4APL.js → chunk-AWJKYS25.js} +2 -2
  52. package/dist/cli/{chunk-IPJ27SD2.mjs → chunk-BB4RZMWA.mjs} +5 -5
  53. package/dist/cli/{chunk-GJPRBELO.js → chunk-CXBEZAPU.js} +16 -16
  54. package/dist/cli/{chunk-Z52WEIBR.js → chunk-DKR7QPEO.js} +11 -7
  55. package/dist/cli/{chunk-YK64LQPQ.mjs → chunk-DQZBERDL.mjs} +1 -1
  56. package/dist/cli/{chunk-YUNPYX5T.mjs → chunk-DUGZKPRK.mjs} +10 -3
  57. package/dist/cli/{chunk-2S36YV2K.mjs → chunk-EIKONWW7.mjs} +1 -1
  58. package/dist/cli/{chunk-VDHDTXCK.js → chunk-EK2TAZJZ.js} +2 -2
  59. package/dist/cli/{chunk-2DND7LLL.js → chunk-G3UHAYRX.js} +8 -8
  60. package/dist/cli/{chunk-UPXGN62E.js → chunk-IK3VOGDR.js} +21 -21
  61. package/dist/cli/{chunk-UKKCS6Z4.js → chunk-JCNJQH6X.js} +1 -1
  62. package/dist/cli/{chunk-ZZQIS3TH.mjs → chunk-JEYX3345.mjs} +3 -3
  63. package/dist/cli/{chunk-QSCLOPWR.mjs → chunk-JJVYUKLY.mjs} +16 -2
  64. package/dist/cli/{chunk-XSSIBO74.js → chunk-JSXMJSBE.js} +8 -8
  65. package/dist/cli/{chunk-4NFBYW7X.mjs → chunk-KKWQ24VM.mjs} +2 -2
  66. package/dist/cli/{chunk-3L76SFGN.js → chunk-LHOEWAVD.js} +53 -53
  67. package/dist/cli/{chunk-NZBZFEVA.mjs → chunk-MKSB2FTU.mjs} +4 -4
  68. package/dist/cli/{chunk-MRZ7AO72.mjs → chunk-MNK4ZK2C.mjs} +26 -12
  69. package/dist/cli/{chunk-6PKONIIP.mjs → chunk-MXUJVCKV.mjs} +5 -5
  70. package/dist/cli/{chunk-7KAS4QOW.js → chunk-N62MS3XJ.js} +6 -6
  71. package/dist/cli/{chunk-SYWOSAW7.js → chunk-ORQYKA4I.js} +4 -4
  72. package/dist/cli/{chunk-X3RAGNNZ.mjs → chunk-OWUZKXE7.mjs} +1 -1
  73. package/dist/cli/{chunk-LQUOZGM6.js → chunk-PGKELBIY.js} +51 -51
  74. package/dist/cli/{chunk-52VOORHM.mjs → chunk-RGIQ5ZJX.mjs} +2 -2
  75. package/dist/cli/{chunk-M475BQ77.js → chunk-RLQIGBFK.js} +3 -3
  76. package/dist/cli/{chunk-5FHU67AT.js → chunk-RXITRC37.js} +3 -3
  77. package/dist/cli/{chunk-XSX6TJUA.mjs → chunk-SD7QWZTV.mjs} +10 -2
  78. package/dist/cli/{chunk-H7YFUC3J.js → chunk-STLJYWUC.js} +7 -7
  79. package/dist/cli/{chunk-T5H7ETIM.mjs → chunk-THDXVSNL.mjs} +4 -4
  80. package/dist/cli/{chunk-JRZW4LWK.mjs → chunk-UGYLGT7B.mjs} +1 -1
  81. package/dist/cli/{chunk-YNW47NOJ.mjs → chunk-UKX4FESF.mjs} +2 -2
  82. package/dist/cli/{chunk-RZHUHL53.mjs → chunk-V4ILQ2DS.mjs} +11 -7
  83. package/dist/cli/{chunk-QLVYYDUI.js → chunk-XNP7XTBN.js} +26 -26
  84. package/dist/cli/{chunk-SKVMC6K6.js → chunk-XP7FAYLN.js} +5 -5
  85. package/dist/cli/{chunk-RMQB72WW.js → chunk-YFDTF2XC.js} +9 -9
  86. package/dist/cli/{chunk-KQJHIVCE.mjs → chunk-YK64UZXN.mjs} +1 -1
  87. package/dist/cli/{chunk-IIQ6O5F3.js → chunk-YKNULB7V.js} +5 -5
  88. package/dist/cli/{chunk-YMB2CD55.mjs → chunk-YVJ6IWVD.mjs} +1 -1
  89. package/dist/cli/{chunk-TMMODGPV.mjs → chunk-YX762HFK.mjs} +2 -2
  90. package/dist/cli/{chunk-OMPW5ELS.mjs → chunk-Z27NSLPC.mjs} +1 -1
  91. package/dist/cli/{chunk-FHIO7WI2.mjs → chunk-ZGC2SUAA.mjs} +2 -2
  92. package/dist/cli/{chunk-C5PY2PP6.mjs → chunk-ZRWQKTSX.mjs} +3 -3
  93. package/dist/cli/command-docs.js +2 -2
  94. package/dist/cli/command-docs.mjs +1 -1
  95. package/dist/cli/{csv-SQJQM3B2.js → csv-ENKCFCSM.js} +13 -13
  96. package/dist/cli/{csv-OSDYY3QW.mjs → csv-QCLQOIEA.mjs} +4 -4
  97. package/dist/cli/{db-ATDYXAD5.js → db-5TLBZDT3.js} +27 -27
  98. package/dist/cli/{db-2M6BU6G5.mjs → db-P25LGP33.mjs} +6 -6
  99. package/dist/cli/describe-44L7OBGM.js +48 -0
  100. package/dist/cli/{describe-WIAJCWF3.mjs → describe-W2H5DHR6.mjs} +19 -19
  101. package/dist/cli/describe-core.d.mts +3 -3
  102. package/dist/cli/describe-core.d.ts +3 -3
  103. package/dist/cli/describe-core.js +3 -3
  104. package/dist/cli/describe-core.mjs +2 -2
  105. package/dist/cli/{executions-2J6CCJL2.mjs → executions-VYZCYUBR.mjs} +6 -6
  106. package/dist/cli/{executions-Y32LMYH6.js → executions-YHFAWJOJ.js} +8 -8
  107. package/dist/cli/{feedback-L4AVIMGI.mjs → feedback-K2FWYYLZ.mjs} +4 -4
  108. package/dist/cli/{feedback-RXQLS6QU.js → feedback-RJF3QSBB.js} +8 -8
  109. package/dist/cli/git-F3EI5DY5.js +25 -0
  110. package/dist/cli/{git-V3K77AWH.mjs → git-S3APUPLL.mjs} +5 -5
  111. package/dist/cli/index.js +139 -139
  112. package/dist/cli/index.mjs +41 -41
  113. package/dist/cli/{legacy-noops-B2KJT4CZ.js → legacy-noops-3SWNRE7Z.js} +8 -8
  114. package/dist/cli/{legacy-noops-LOGMYOY5.mjs → legacy-noops-ICYZACTW.mjs} +5 -5
  115. package/dist/cli/{monitors-5ETSB7S7.mjs → monitors-DEZCEQLB.mjs} +7 -7
  116. package/dist/cli/{monitors-A5WYUCGD.js → monitors-VRIWTRPG.js} +91 -91
  117. package/dist/cli/{org-BJOAUSXL.mjs → org-IQW5ZIAO.mjs} +6 -6
  118. package/dist/cli/{org-7EZDWYKK.js → org-NX752DTE.js} +72 -72
  119. package/dist/cli/{pages-3BYGBTVK.mjs → pages-5WQRVVKX.mjs} +6 -6
  120. package/dist/cli/{pages-45VNTEQU.js → pages-YIBWYGVS.js} +17 -17
  121. package/dist/cli/{play-5KER3JFU.js → play-3EXNH3HD.js} +662 -601
  122. package/dist/cli/{play-R7JQV533.mjs → play-WOMJXS4O.mjs} +110 -49
  123. package/dist/cli/{providers-OHMZ6QIF.js → providers-C2WYSR2Y.js} +9 -9
  124. package/dist/cli/{providers-RMFCE6MM.mjs → providers-XDVPYRTS.mjs} +6 -6
  125. package/dist/cli/{quickstart-GNRE4SAT.js → quickstart-7RABZF66.js} +6 -6
  126. package/dist/cli/{quickstart-IHR4VC5K.mjs → quickstart-YMSIL2TK.mjs} +4 -4
  127. package/dist/cli/{run-77QIMUUV.js → run-5QVVWFGL.js} +39 -39
  128. package/dist/cli/{run-Y4MIRFJY.mjs → run-A4JD6TAR.mjs} +24 -24
  129. package/dist/cli/{search-24YKTHMK.mjs → search-2TOSF2G3.mjs} +7 -7
  130. package/dist/cli/search-772R7YHI.js +32 -0
  131. package/dist/cli/{secrets-KHX62AWC.mjs → secrets-BUN4ORE7.mjs} +6 -6
  132. package/dist/cli/{secrets-SSEBT3IS.js → secrets-Q7UVOSNM.js} +15 -15
  133. package/dist/cli/{sessions-H7T25HGE.mjs → sessions-IAOORI6X.mjs} +5 -5
  134. package/dist/cli/{sessions-E6KNWYEH.js → sessions-NXQOQ4HX.js} +6 -6
  135. package/dist/cli/{settings-XSJG6M32.mjs → settings-BMI373AI.mjs} +11 -11
  136. package/dist/cli/{settings-GXUYF5G7.js → settings-WD4KSY5S.js} +78 -78
  137. package/dist/cli/{setup-JP5YPIA4.js → setup-3IA7BVPE.js} +44 -44
  138. package/dist/cli/{setup-GD7IOD4U.mjs → setup-55VIWAWR.mjs} +9 -9
  139. package/dist/cli/{skills-HLHE3ENN.mjs → skills-GKITMBTM.mjs} +7 -7
  140. package/dist/cli/skills-PUUTFMP3.js +31 -0
  141. package/dist/cli/tools-3WX7TUUG.js +55 -0
  142. package/dist/cli/{tools-Q4XIQX7W.mjs → tools-XHCFC7GP.mjs} +17 -17
  143. package/dist/cli/update-PC3CLODV.js +33 -0
  144. package/dist/cli/{update-3KRMR2QJ.mjs → update-SWB24YKE.mjs} +9 -9
  145. package/dist/cli/{workflow-NMUESL3O.js → workflow-5QPMFI3Z.js} +17 -17
  146. package/dist/cli/{workflow-NOZ7WFEY.mjs → workflow-XO4CKUA7.mjs} +7 -7
  147. package/dist/{client-C9bJ0QXu.d.mts → client-Bgl0_zXi.d.mts} +1 -1
  148. package/dist/{client-CuNH54w3.d.ts → client-_ah6IuhK.d.ts} +1 -1
  149. package/dist/{client-core-CSiXbe2n.d.mts → client-core-Bfsedm0_.d.mts} +44 -3
  150. package/dist/{client-core-C8Q6DKga.d.ts → client-core-C-ZF5vh9.d.ts} +44 -3
  151. package/dist/{compiler-manifest-Zwm9yqOA.d.ts → compiler-manifest-CCOqDGjU.d.mts} +12 -10
  152. package/dist/{compiler-manifest-Zwm9yqOA.d.mts → compiler-manifest-CCOqDGjU.d.ts} +12 -10
  153. package/dist/{errors-nEsqNLL8.d.mts → errors-BLccD7tG.d.mts} +1 -1
  154. package/dist/{errors-CsYwlpn4.d.ts → errors-Cy3kPnsi.d.ts} +1 -1
  155. package/dist/{index-CXF2jtza.d.mts → index-4-j44HuT.d.mts} +1 -1
  156. package/dist/{index-9pUZqkPH.d.ts → index-D5e4h1-H.d.ts} +1 -1
  157. package/dist/index.d.mts +14 -9
  158. package/dist/index.d.ts +14 -9
  159. package/dist/index.js +9 -9
  160. package/dist/index.mjs +6 -6
  161. package/dist/install-integrity.json +115 -114
  162. package/dist/plays/bundle-play-file.d.mts +3 -3
  163. package/dist/plays/bundle-play-file.d.ts +3 -3
  164. package/dist/plays/bundle-play-file.mjs +1 -1
  165. package/dist/plays/play-description.d.mts +2 -2
  166. package/dist/plays/play-description.d.ts +2 -2
  167. package/dist/plays/run-request.d.mts +2 -2
  168. package/dist/plays/run-request.d.ts +2 -2
  169. package/dist/release.d.mts +1 -1
  170. package/dist/release.d.ts +1 -1
  171. package/dist/release.js +2 -2
  172. package/dist/release.mjs +1 -1
  173. package/dist/server.d.mts +4 -4
  174. package/dist/server.d.ts +4 -4
  175. package/dist/server.js +5 -5
  176. package/dist/server.mjs +3 -3
  177. package/package.json +1 -1
  178. package/dist/cli/auth-Q5TM66UI.js +0 -41
  179. package/dist/cli/describe-37QXXDCF.js +0 -48
  180. package/dist/cli/git-JGUR335T.js +0 -25
  181. package/dist/cli/search-S3VO2UKV.js +0 -32
  182. package/dist/cli/skills-C4KTW3US.js +0 -31
  183. package/dist/cli/tools-KS7JMRK6.js +0 -55
  184. package/dist/cli/update-GYTQYK2W.js +0 -33
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkH7YFUC3Jjs = require('./chunk-H7YFUC3J.js');
5
+ var _chunkSTLJYWUCjs = require('./chunk-STLJYWUC.js');
6
6
 
7
7
 
8
8
 
@@ -22,12 +22,12 @@ var _chunkH7YFUC3Jjs = require('./chunk-H7YFUC3J.js');
22
22
 
23
23
 
24
24
 
25
- var _chunk5FHU67ATjs = require('./chunk-5FHU67AT.js');
25
+ var _chunkRXITRC37js = require('./chunk-RXITRC37.js');
26
26
 
27
27
 
28
28
 
29
29
 
30
- var _chunkSYWOSAW7js = require('./chunk-SYWOSAW7.js');
30
+ var _chunkORQYKA4Ijs = require('./chunk-ORQYKA4I.js');
31
31
 
32
32
  // src/cli/commands/auth.ts
33
33
 
@@ -54,7 +54,7 @@ function statusBannerLine(value) {
54
54
  return `Service notice: ${banner.message}`;
55
55
  }
56
56
  function envFilePath(baseUrl) {
57
- return _chunk5FHU67ATjs.hostEnvFilePath.call(void 0, baseUrl);
57
+ return _chunkRXITRC37js.hostEnvFilePath.call(void 0, baseUrl);
58
58
  }
59
59
  function normalizeAuthScope(value) {
60
60
  if (!value || value === "global") return "global";
@@ -67,7 +67,7 @@ function parseAuthScope(args) {
67
67
  }
68
68
  function pendingClaimPath(baseUrl, scope) {
69
69
  if (scope === "folder") {
70
- const target = _chunk5FHU67ATjs.resolveProjectPinTarget.call(void 0, );
70
+ const target = _chunkRXITRC37js.resolveProjectPinTarget.call(void 0, );
71
71
  if (!target.ok) {
72
72
  throw new Error(
73
73
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -77,10 +77,10 @@ function pendingClaimPath(baseUrl, scope) {
77
77
  }
78
78
  return _path.join.call(void 0, target.dir, ".deepline", "setup", "pending-auth.json");
79
79
  }
80
- return `${_chunk5FHU67ATjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-auth.json`;
80
+ return `${_chunkRXITRC37js.hostConfigDirPath.call(void 0, baseUrl)}/pending-auth.json`;
81
81
  }
82
82
  function legacyPendingClaimTokenPath(baseUrl) {
83
- return `${_chunk5FHU67ATjs.hostConfigDirPath.call(void 0, baseUrl)}/pending-claim-token`;
83
+ return `${_chunkRXITRC37js.hostConfigDirPath.call(void 0, baseUrl)}/pending-claim-token`;
84
84
  }
85
85
  function savePendingClaim(baseUrl, claim) {
86
86
  const filePath = pendingClaimPath(baseUrl, claim.scope);
@@ -182,21 +182,21 @@ function parseRegisterWaitMode(args) {
182
182
  function shouldWaitForRegisterClaim(mode) {
183
183
  if (mode === "yes") return true;
184
184
  if (mode === "no") return false;
185
- return _chunkSYWOSAW7js.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
185
+ return _chunkORQYKA4Ijs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
186
186
  }
187
187
  function saveEnvValues(values, baseUrl, scope) {
188
188
  const filtered = {
189
- ...values[_chunk5FHU67ATjs.HOST_URL_ENV] ? { [_chunk5FHU67ATjs.HOST_URL_ENV]: values[_chunk5FHU67ATjs.HOST_URL_ENV] } : {},
190
- ...values[_chunk5FHU67ATjs.API_KEY_ENV] ? { [_chunk5FHU67ATjs.API_KEY_ENV]: values[_chunk5FHU67ATjs.API_KEY_ENV] } : {},
191
- ...values[_chunk5FHU67ATjs.ACTIVE_ORG_ID_ENV] ? { [_chunk5FHU67ATjs.ACTIVE_ORG_ID_ENV]: values[_chunk5FHU67ATjs.ACTIVE_ORG_ID_ENV] } : {},
192
- ...Object.prototype.hasOwnProperty.call(values, _chunk5FHU67ATjs.ACTIVE_ORG_NAME_ENV) ? { [_chunk5FHU67ATjs.ACTIVE_ORG_NAME_ENV]: values[_chunk5FHU67ATjs.ACTIVE_ORG_NAME_ENV] } : {},
189
+ ...values[_chunkRXITRC37js.HOST_URL_ENV] ? { [_chunkRXITRC37js.HOST_URL_ENV]: values[_chunkRXITRC37js.HOST_URL_ENV] } : {},
190
+ ...values[_chunkRXITRC37js.API_KEY_ENV] ? { [_chunkRXITRC37js.API_KEY_ENV]: values[_chunkRXITRC37js.API_KEY_ENV] } : {},
191
+ ...values[_chunkRXITRC37js.ACTIVE_ORG_ID_ENV] ? { [_chunkRXITRC37js.ACTIVE_ORG_ID_ENV]: values[_chunkRXITRC37js.ACTIVE_ORG_ID_ENV] } : {},
192
+ ...Object.prototype.hasOwnProperty.call(values, _chunkRXITRC37js.ACTIVE_ORG_NAME_ENV) ? { [_chunkRXITRC37js.ACTIVE_ORG_NAME_ENV]: values[_chunkRXITRC37js.ACTIVE_ORG_NAME_ENV] } : {},
193
193
  // An explicit empty list must reach the store: it clears a stale line.
194
- ...Object.prototype.hasOwnProperty.call(values, _chunk5FHU67ATjs.FEATURES_ENV) ? { [_chunk5FHU67ATjs.FEATURES_ENV]: values[_chunk5FHU67ATjs.FEATURES_ENV] } : {}
194
+ ...Object.prototype.hasOwnProperty.call(values, _chunkRXITRC37js.FEATURES_ENV) ? { [_chunkRXITRC37js.FEATURES_ENV]: values[_chunkRXITRC37js.FEATURES_ENV] } : {}
195
195
  };
196
196
  if (scope === "folder") {
197
- _chunk5FHU67ATjs.saveProjectDeeplineEnvValues.call(void 0, filtered);
197
+ _chunkRXITRC37js.saveProjectDeeplineEnvValues.call(void 0, filtered);
198
198
  } else {
199
- _chunk5FHU67ATjs.saveHostEnvValues.call(void 0, baseUrl, filtered);
199
+ _chunkRXITRC37js.saveHostEnvValues.call(void 0, baseUrl, filtered);
200
200
  }
201
201
  }
202
202
  function activeOrgEnvValues(data) {
@@ -204,21 +204,21 @@ function activeOrgEnvValues(data) {
204
204
  if (!orgId) return {};
205
205
  const orgName = typeof data.org_name === "string" ? data.org_name.trim() : "";
206
206
  return {
207
- [_chunk5FHU67ATjs.ACTIVE_ORG_ID_ENV]: orgId,
208
- [_chunk5FHU67ATjs.ACTIVE_ORG_NAME_ENV]: orgName,
209
- ..._chunk5FHU67ATjs.featureEnvValues.call(void 0, data)
207
+ [_chunkRXITRC37js.ACTIVE_ORG_ID_ENV]: orgId,
208
+ [_chunkRXITRC37js.ACTIVE_ORG_NAME_ENV]: orgName,
209
+ ..._chunkRXITRC37js.featureEnvValues.call(void 0, data)
210
210
  };
211
211
  }
212
212
  async function httpJson(method, url, apiKey, body, timeoutMs = AUTH_HTTP_TIMEOUT_MS) {
213
213
  const headers = {
214
214
  "Content-Type": "application/json",
215
- "User-Agent": `deepline-ts-sdk/${_chunkSYWOSAW7js.SDK_VERSION}`,
215
+ "User-Agent": `deepline-ts-sdk/${_chunkORQYKA4Ijs.SDK_VERSION}`,
216
216
  "X-Deepline-Client-Family": "sdk",
217
217
  "X-Deepline-CLI-Family": "sdk",
218
- "X-Deepline-Agent-Runtime": _chunkSYWOSAW7js.detectAgentRuntime.call(void 0, ),
219
- "X-Deepline-CLI-Version": _chunkSYWOSAW7js.SDK_VERSION,
220
- "X-Deepline-SDK-Version": _chunkSYWOSAW7js.SDK_VERSION,
221
- "X-Deepline-API-Contract": _chunkSYWOSAW7js.SDK_API_CONTRACT
218
+ "X-Deepline-Agent-Runtime": _chunkORQYKA4Ijs.detectAgentRuntime.call(void 0, ),
219
+ "X-Deepline-CLI-Version": _chunkORQYKA4Ijs.SDK_VERSION,
220
+ "X-Deepline-SDK-Version": _chunkORQYKA4Ijs.SDK_VERSION,
221
+ "X-Deepline-API-Contract": _chunkORQYKA4Ijs.SDK_API_CONTRACT
222
222
  };
223
223
  if (apiKey) headers["Authorization"] = `Bearer ${apiKey}`;
224
224
  const bypassToken = _optionalChain([process, 'access', _7 => _7.env, 'access', _8 => _8.VERCEL_PROTECTION_BYPASS_TOKEN, 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]);
@@ -264,7 +264,7 @@ async function readStatusBanner(baseUrl) {
264
264
  return _optionalChain([response, 'optionalAccess', _11 => _11.status]) === 200 ? _nullishCoalesce(response.data.banner, () => ( null)) : null;
265
265
  }
266
266
  async function reportSetupCompleted(input) {
267
- const apiKey = input.authScope === "folder" ? _chunk5FHU67ATjs.resolveProjectApiKeyForBaseUrl.call(void 0, input.baseUrl) : _chunk5FHU67ATjs.resolveGlobalApiKeyForBaseUrl.call(void 0, input.baseUrl);
267
+ const apiKey = input.authScope === "folder" ? _chunkRXITRC37js.resolveProjectApiKeyForBaseUrl.call(void 0, input.baseUrl) : _chunkRXITRC37js.resolveGlobalApiKeyForBaseUrl.call(void 0, input.baseUrl);
268
268
  if (!apiKey) return;
269
269
  try {
270
270
  await httpJson(
@@ -361,7 +361,7 @@ async function printClaimSuccessBanner(baseUrl, apiKey, statusData) {
361
361
  }
362
362
  }
363
363
  async function handleRegister(args) {
364
- const baseUrl = _chunk5FHU67ATjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
364
+ const baseUrl = _chunkRXITRC37js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
365
365
  let orgName = "";
366
366
  let orgId = "";
367
367
  let agentName = "";
@@ -416,19 +416,19 @@ async function handleRegister(args) {
416
416
  });
417
417
  saveEnvValues(
418
418
  {
419
- [_chunk5FHU67ATjs.HOST_URL_ENV]: baseUrl
419
+ [_chunkRXITRC37js.HOST_URL_ENV]: baseUrl
420
420
  },
421
421
  baseUrl,
422
422
  authScope
423
423
  );
424
424
  }
425
425
  if (claimUrl) {
426
- const shouldOpen = waitMode !== "no" && _chunkSYWOSAW7js.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
426
+ const shouldOpen = waitMode !== "no" && _chunkORQYKA4Ijs.detectAgentRuntime.call(void 0, ) !== "claude_cowork";
427
427
  console.log(
428
428
  shouldOpen ? " Opening approval page in your browser." : " Open this approval page in your browser:"
429
429
  );
430
430
  console.log(` ${claimUrl}`);
431
- if (shouldOpen) _chunkH7YFUC3Jjs.openInBrowser.call(void 0, claimUrl);
431
+ if (shouldOpen) _chunkSTLJYWUCjs.openInBrowser.call(void 0, claimUrl);
432
432
  }
433
433
  if (data.cli_message) {
434
434
  console.log(String(data.cli_message));
@@ -471,8 +471,8 @@ async function handleRegister(args) {
471
471
  if (apiKey) {
472
472
  saveEnvValues(
473
473
  {
474
- [_chunk5FHU67ATjs.HOST_URL_ENV]: baseUrl,
475
- [_chunk5FHU67ATjs.API_KEY_ENV]: apiKey,
474
+ [_chunkRXITRC37js.HOST_URL_ENV]: baseUrl,
475
+ [_chunkRXITRC37js.API_KEY_ENV]: apiKey,
476
476
  ...activeOrgEnvValues(statusData)
477
477
  },
478
478
  baseUrl,
@@ -494,7 +494,7 @@ async function handleRegister(args) {
494
494
  }
495
495
  }
496
496
  async function handleWait(args) {
497
- const baseUrl = _chunk5FHU67ATjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
497
+ const baseUrl = _chunkRXITRC37js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
498
498
  let timeoutSeconds = 300;
499
499
  let requestedScope;
500
500
  if (args.includes("--auth-scope")) {
@@ -518,7 +518,7 @@ async function handleWait(args) {
518
518
  const authScope = resumed.scope;
519
519
  const claimToken = _nullishCoalesce(_optionalChain([pendingClaim, 'optionalAccess', _12 => _12.claimToken]), () => ( ""));
520
520
  if (!pendingClaim) {
521
- const scopedApiKey = authScope === "folder" ? _chunk5FHU67ATjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : _chunk5FHU67ATjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl);
521
+ const scopedApiKey = authScope === "folder" ? _chunkRXITRC37js.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkRXITRC37js.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl);
522
522
  if (scopedApiKey) {
523
523
  console.log("Already connected.");
524
524
  return EXIT_OK;
@@ -561,8 +561,8 @@ async function handleWait(args) {
561
561
  if (apiKey) {
562
562
  saveEnvValues(
563
563
  {
564
- [_chunk5FHU67ATjs.HOST_URL_ENV]: baseUrl,
565
- [_chunk5FHU67ATjs.API_KEY_ENV]: apiKey,
564
+ [_chunkRXITRC37js.HOST_URL_ENV]: baseUrl,
565
+ [_chunkRXITRC37js.API_KEY_ENV]: apiKey,
566
566
  ...activeOrgEnvValues(data)
567
567
  },
568
568
  baseUrl,
@@ -586,8 +586,8 @@ async function handleWait(args) {
586
586
  return EXIT_AUTH;
587
587
  }
588
588
  async function authStatusLine(timeoutMs = 3e3) {
589
- const baseUrl = _chunk5FHU67ATjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
590
- const apiKey = _chunk5FHU67ATjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
589
+ const baseUrl = _chunkRXITRC37js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
590
+ const apiKey = _chunkRXITRC37js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
591
591
  if (!apiKey) return `Auth: not connected (${baseUrl})`;
592
592
  try {
593
593
  const { status, data } = await httpJson(
@@ -610,9 +610,9 @@ async function authStatusLine(timeoutMs = 3e3) {
610
610
  }
611
611
  }
612
612
  async function handleStatus(args) {
613
- const baseUrl = _chunk5FHU67ATjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
613
+ const baseUrl = _chunkRXITRC37js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
614
614
  const reveal = args.includes("--reveal");
615
- const jsonOutput = _chunkH7YFUC3Jjs.argsWantJson.call(void 0, args);
615
+ const jsonOutput = _chunkSTLJYWUCjs.argsWantJson.call(void 0, args);
616
616
  const hasExplicitAuthScope = args.includes("--auth-scope");
617
617
  let authScope = null;
618
618
  if (hasExplicitAuthScope) {
@@ -653,14 +653,14 @@ async function handleStatus(args) {
653
653
  };
654
654
  hostLines.push(`Host: ${baseUrl} (unreachable)`);
655
655
  }
656
- const apiKey = authScope === "folder" ? _chunk5FHU67ATjs.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : authScope === "global" ? _chunk5FHU67ATjs.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl) : _chunk5FHU67ATjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
656
+ const apiKey = authScope === "folder" ? _chunkRXITRC37js.resolveProjectApiKeyForBaseUrl.call(void 0, baseUrl) : authScope === "global" ? _chunkRXITRC37js.resolveGlobalApiKeyForBaseUrl.call(void 0, baseUrl) : _chunkRXITRC37js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
657
657
  if (!apiKey) {
658
658
  const { claim: pendingClaim } = resolvePendingAuthClaimForResume(
659
659
  baseUrl,
660
660
  _nullishCoalesce(authScope, () => ( void 0))
661
661
  );
662
662
  if (pendingClaim) {
663
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
663
+ _chunkSTLJYWUCjs.printCommandEnvelope.call(void 0,
664
664
  {
665
665
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
666
666
  status: "pending",
@@ -681,7 +681,7 @@ async function handleStatus(args) {
681
681
  );
682
682
  return EXIT_OK;
683
683
  }
684
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
684
+ _chunkSTLJYWUCjs.printCommandEnvelope.call(void 0,
685
685
  {
686
686
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
687
687
  status: "not connected",
@@ -714,7 +714,7 @@ async function handleStatus(args) {
714
714
  }
715
715
  );
716
716
  if (status === 401 || status === 403) {
717
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
717
+ _chunkSTLJYWUCjs.printCommandEnvelope.call(void 0,
718
718
  {
719
719
  ..._nullishCoalesce(hostStatusPayload, () => ( { host: baseUrl })),
720
720
  status: "unauthorized",
@@ -741,7 +741,7 @@ async function handleStatus(args) {
741
741
  console.error(`Auth status error (status ${status}).`);
742
742
  return EXIT_SERVER;
743
743
  }
744
- const resolvedAuthScope = _nullishCoalesce(authScope, () => ( (_chunk5FHU67ATjs.getResolvedProjectAuthSource.call(void 0, baseUrl, apiKey) ? "folder" : "global")));
744
+ const resolvedAuthScope = _nullishCoalesce(authScope, () => ( (_chunkRXITRC37js.getResolvedProjectAuthSource.call(void 0, baseUrl, apiKey) ? "folder" : "global")));
745
745
  clearSatisfiedPendingClaim(
746
746
  baseUrl,
747
747
  resolvedAuthScope,
@@ -769,28 +769,28 @@ async function handleStatus(args) {
769
769
  if (apiKeyResp) {
770
770
  saveEnvValues(
771
771
  {
772
- [_chunk5FHU67ATjs.HOST_URL_ENV]: baseUrl,
773
- [_chunk5FHU67ATjs.API_KEY_ENV]: apiKeyResp,
772
+ [_chunkRXITRC37js.HOST_URL_ENV]: baseUrl,
773
+ [_chunkRXITRC37js.API_KEY_ENV]: apiKeyResp,
774
774
  ...activeOrgEnvValues(data)
775
775
  },
776
776
  baseUrl,
777
777
  resolvedAuthScope
778
778
  );
779
779
  if (resolvedAuthScope === "folder") {
780
- const target = _chunk5FHU67ATjs.resolveProjectPinTarget.call(void 0, );
780
+ const target = _chunkRXITRC37js.resolveProjectPinTarget.call(void 0, );
781
781
  savedApiKeyPath = target.ok ? _path.join.call(void 0, target.dir, ".env.deepline") : null;
782
782
  } else {
783
783
  savedApiKeyPath = envFilePath(baseUrl);
784
784
  }
785
785
  }
786
- } else if (resolvedAuthScope === "folder" || _chunk5FHU67ATjs.storedHostApiKey.call(void 0, baseUrl) === apiKey) {
787
- saveEnvValues(_chunk5FHU67ATjs.featureEnvValues.call(void 0, data), baseUrl, resolvedAuthScope);
786
+ } else if (resolvedAuthScope === "folder" || _chunkRXITRC37js.storedHostApiKey.call(void 0, baseUrl) === apiKey) {
787
+ saveEnvValues(_chunkRXITRC37js.featureEnvValues.call(void 0, data), baseUrl, resolvedAuthScope);
788
788
  }
789
- _chunkH7YFUC3Jjs.printCommandEnvelope.call(void 0,
789
+ _chunkSTLJYWUCjs.printCommandEnvelope.call(void 0,
790
790
  {
791
791
  ...payload,
792
- ..._chunkSYWOSAW7js.detectAgentRuntime.call(void 0, ) !== "unknown" ? {
793
- command_context: _chunk5FHU67ATjs.resolveCliCommandContext.call(void 0,
792
+ ..._chunkORQYKA4Ijs.detectAgentRuntime.call(void 0, ) !== "unknown" ? {
793
+ command_context: _chunkRXITRC37js.resolveCliCommandContext.call(void 0,
794
794
  { baseUrl, apiKey },
795
795
  resolvedAuthScope
796
796
  )
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-2S36YV2K.mjs";
3
+ } from "./chunk-EIKONWW7.mjs";
4
4
  import {
5
5
  checkSdkCompatibility,
6
6
  enforceSdkCompatibilityResponse,
7
7
  flushDeferredSkillsSyncNotices
8
- } from "./chunk-T5H7ETIM.mjs";
8
+ } from "./chunk-THDXVSNL.mjs";
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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; } var _class;
2
2
 
3
- var _chunkH7YFUC3Jjs = require('./chunk-H7YFUC3J.js');
3
+ var _chunkSTLJYWUCjs = require('./chunk-STLJYWUC.js');
4
4
 
5
5
  // src/cli/progress.ts
6
6
  var _worker_threads = require('worker_threads');
@@ -17,7 +17,7 @@ var CliProgress = (_class = class {
17
17
 
18
18
  // --json output is one JSON document: progress never renders under it.
19
19
  constructor(enabled) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);_class.prototype.__init8.call(this);
20
- this.enabled = enabled && !_chunkH7YFUC3Jjs.isJsonOutputMode.call(void 0, );
20
+ this.enabled = enabled && !_chunkSTLJYWUCjs.isJsonOutputMode.call(void 0, );
21
21
  }
22
22
  setLogWriter(writer) {
23
23
  this.logWriter = writer;
@@ -49,7 +49,7 @@ var CliProgress = (_class = class {
49
49
  this.logWriter(line);
50
50
  return;
51
51
  }
52
- if (_chunkH7YFUC3Jjs.isJsonOutputMode.call(void 0, )) return;
52
+ if (_chunkSTLJYWUCjs.isJsonOutputMode.call(void 0, )) return;
53
53
  if (!this.enabled) {
54
54
  process.stderr.write(`${line}
55
55
  `);
@@ -1,7 +1,7 @@
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 _chunkSYWOSAW7js = require('./chunk-SYWOSAW7.js');
4
+ var _chunkORQYKA4Ijs = require('./chunk-ORQYKA4I.js');
5
5
 
6
6
 
7
7
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -711,7 +711,7 @@ function readSkillsVersionFile(path) {
711
711
  }
712
712
  }
713
713
  function resolveAutoSyncSkillAgents() {
714
- switch (_chunkSYWOSAW7js.detectAgentRuntime.call(void 0, )) {
714
+ switch (_chunkORQYKA4Ijs.detectAgentRuntime.call(void 0, )) {
715
715
  case "codex":
716
716
  return ["codex"];
717
717
  case "claude_code":
@@ -781,7 +781,7 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
781
781
  }
782
782
 
783
783
  // src/http.ts
784
- var HttpClient2 = class extends _chunkSYWOSAW7js.HttpClient {
784
+ var HttpClient2 = class extends _chunkORQYKA4Ijs.HttpClient {
785
785
  constructor(config) {
786
786
  super(config, readSdkSkillsLocalVersion);
787
787
  }
@@ -306,8 +306,11 @@ function describedTool(tool, requestedToolId) {
306
306
  (line) => typeof line === "string" && /[a-z0-9]/i.test(line)
307
307
  )
308
308
  ],
309
- rateLimit: rateLimitSummary(
310
- recordField(contract, "executionMetadata").configuredRateLimits
309
+ rateLimit: withPlanRateLimit(
310
+ recordField(recordField(tool, "pricing"), "benefit").requestsPerMinute,
311
+ rateLimitSummary(
312
+ recordField(contract, "executionMetadata").configuredRateLimits
313
+ )
311
314
  ),
312
315
  inputs: schemaFields(inputSchema),
313
316
  outputs: [...lists, ...values].map(({ field }) => field),
@@ -315,6 +318,11 @@ function describedTool(tool, requestedToolId) {
315
318
  runner: playReference ? { via: "play", reference: playReference } : { via: "tool", toolId: String(contract.toolId), inputSchema }
316
319
  };
317
320
  }
321
+ function withPlanRateLimit(planRequestsPerMinute, sharedLimit) {
322
+ if (typeof planRequestsPerMinute !== "number") return sharedLimit;
323
+ const plan = `${planRequestsPerMinute} requests/minute for this workspace on its plan`;
324
+ return sharedLimit ? `${plan} (shared ceiling: ${sharedLimit})` : plan;
325
+ }
318
326
  function sampleValueForField(field) {
319
327
  const name = stringField(field, "name").toLowerCase();
320
328
  const type = stringField(field, "type").toLowerCase();
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk5FHU67ATjs = require('./chunk-5FHU67AT.js');
5
+ var _chunkRXITRC37js = require('./chunk-RXITRC37.js');
6
6
 
7
7
 
8
- var _chunkSYWOSAW7js = require('./chunk-SYWOSAW7.js');
8
+ var _chunkORQYKA4Ijs = require('./chunk-ORQYKA4I.js');
9
9
 
10
10
 
11
11
 
@@ -290,8 +290,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
290
290
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
291
291
  var defaultBrowserCommandRunner = childProcess;
292
292
  function getAuthedHttpClient() {
293
- const config = _chunk5FHU67ATjs.resolveConfig.call(void 0, );
294
- return { config, http: new (0, _chunk5FHU67ATjs.HttpClient)(config) };
293
+ const config = _chunkRXITRC37js.resolveConfig.call(void 0, );
294
+ return { config, http: new (0, _chunkRXITRC37js.HttpClient)(config) };
295
295
  }
296
296
  function stableOsUserId() {
297
297
  try {
@@ -631,7 +631,7 @@ function collectLocalEnvInfo() {
631
631
  os: `${process.platform} ${process.arch}`,
632
632
  node_version: process.version,
633
633
  home_dir: homeDir,
634
- agent_runtime: _chunkSYWOSAW7js.detectAgentRuntime.call(void 0, )
634
+ agent_runtime: _chunkORQYKA4Ijs.detectAgentRuntime.call(void 0, )
635
635
  };
636
636
  const env = process.env;
637
637
  const optional = {
@@ -878,9 +878,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
878
878
  }
879
879
  function withAgentCommandContext(value) {
880
880
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
881
- return _chunkSYWOSAW7js.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
881
+ return _chunkORQYKA4Ijs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
882
882
  ...valueRecord,
883
- command_context: _chunk5FHU67ATjs.resolveCliCommandContext.call(void 0, )
883
+ command_context: _chunkRXITRC37js.resolveCliCommandContext.call(void 0, )
884
884
  } : value;
885
885
  }
886
886
  function printJson(value, fields) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-R73LE2IM.mjs";
3
+ } from "./chunk-3MZPWIOE.mjs";
4
4
  import {
5
5
  DEFAULT_SKILL_AGENTS,
6
6
  KNOWN_SKILL_AGENTS,
@@ -12,7 +12,7 @@ import {
12
12
  sdkCliStateDirPath,
13
13
  skillsAgentPathSegment,
14
14
  writeSdkSkillsLocalVersion
15
- } from "./chunk-KQJHIVCE.mjs";
15
+ } from "./chunk-YK64UZXN.mjs";
16
16
  import {
17
17
  SDK_API_CONTRACT,
18
18
  SDK_API_MAJOR,
@@ -20,13 +20,13 @@ import {
20
20
  agentSessionIdFromEnvironment,
21
21
  deploymentProtectionHeaders,
22
22
  detectAgentRuntime
23
- } from "./chunk-OMPW5ELS.mjs";
23
+ } from "./chunk-Z27NSLPC.mjs";
24
24
  import {
25
25
  DeeplineError
26
26
  } from "./chunk-HBL4PM5Q.mjs";
27
27
  import {
28
28
  SDK_RELEASE
29
- } from "./chunk-JRZW4LWK.mjs";
29
+ } from "./chunk-UGYLGT7B.mjs";
30
30
 
31
31
  // src/compat.ts
32
32
  import { randomUUID } from "crypto";
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
49
49
  // getters keep their established compatibility behavior.
50
50
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
51
51
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
52
- version: "0.3.472",
52
+ version: "0.3.474",
53
53
  updateSummary: {
54
54
  introducedIn: "0.3.90",
55
55
  summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-4NFBYW7X.mjs";
4
+ } from "./chunk-KKWQ24VM.mjs";
5
5
  import {
6
6
  agentSessionIdFromEnvironment
7
- } from "./chunk-OMPW5ELS.mjs";
7
+ } from "./chunk-Z27NSLPC.mjs";
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
  import {
@@ -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: Type.Literal("standard"),
1392
+ schema: Type.Union([
1393
+ Type.Literal("standard"),
1394
+ Type.Literal("large"),
1395
+ 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: 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);