deepline 0.3.473 → 0.3.475

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 (177) 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-rate-scope.ts +39 -15
  22. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-rate-state.ts +18 -8
  23. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +64 -35
  24. package/dist/bundling-sources/shared_libs/play-runtime/worker-api-types.ts +36 -0
  25. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +18 -8
  26. package/dist/bundling-sources/shared_libs/plays/bundling/index.ts +1 -1
  27. package/dist/bundling-sources/shared_libs/plays/sandbox-runtime-limits.ts +64 -16
  28. package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +1 -1
  29. package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +14 -1
  30. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +40 -0
  31. package/dist/bundling-sources/shared_libs/product-notifications/default-policy.ts +23 -1
  32. package/dist/bundling-sources/shared_libs/product-notifications/events.ts +18 -0
  33. package/dist/bundling-sources/shared_libs/product-notifications/slack-delivery.ts +2 -1
  34. package/dist/cli/auth-7GVCW24N.js +41 -0
  35. package/dist/cli/{auth-KLJOQ4DZ.mjs → auth-CFDYJ7FZ.mjs} +5 -5
  36. package/dist/cli/{billing-DNDYNBQ7.mjs → billing-PEXWWLRT.mjs} +12 -10
  37. package/dist/cli/{billing-IQNJXKH5.js → billing-XLIL3FLK.js} +85 -83
  38. package/dist/cli/{chunk-4U3RNA3J.js → chunk-3MQJJ6YX.js} +51 -51
  39. package/dist/cli/{chunk-EUHTZV2E.mjs → chunk-3QSFSHCJ.mjs} +1 -1
  40. package/dist/cli/{chunk-CNCK2D6B.mjs → chunk-3WVA7E7O.mjs} +2 -2
  41. package/dist/cli/{chunk-NTFM7JQW.mjs → chunk-42F6LTBJ.mjs} +3 -3
  42. package/dist/cli/{chunk-V25CXRQ7.mjs → chunk-4QHAP3MR.mjs} +5 -5
  43. package/dist/cli/{chunk-3LFSIUFI.js → chunk-4QHQ3WYW.js} +21 -21
  44. package/dist/cli/{chunk-6ZTSHKJF.js → chunk-5QS4T4KR.js} +10 -3
  45. package/dist/cli/{chunk-VS7JKS22.mjs → chunk-6PRYHABU.mjs} +1 -1
  46. package/dist/cli/{chunk-63OOFT6B.js → chunk-7SWRXZ4A.js} +93 -93
  47. package/dist/cli/{chunk-6YOGOXOJ.mjs → chunk-7U3L2S7X.mjs} +10 -10
  48. package/dist/cli/{chunk-D4B3EV55.js → chunk-7XTBEYLS.js} +36 -36
  49. package/dist/cli/{chunk-QD6IW2HP.mjs → chunk-AD7KL6AI.mjs} +4 -4
  50. package/dist/cli/{chunk-YH5SFKHJ.js → chunk-B7NJ5JQ2.js} +4 -4
  51. package/dist/cli/{chunk-F4PUDYBY.js → chunk-BLW2K6YH.js} +3 -3
  52. package/dist/cli/{chunk-N4ZCMQ54.js → chunk-BSK2TGB4.js} +8 -8
  53. package/dist/cli/{chunk-QG3THSTN.mjs → chunk-BVAYLXMH.mjs} +2 -2
  54. package/dist/cli/{chunk-IC6AHOYS.js → chunk-CKSRTD45.js} +1 -1
  55. package/dist/cli/{chunk-RVRG57OB.js → chunk-D3Q4FUFS.js} +8 -8
  56. package/dist/cli/{chunk-ABLEU3QI.mjs → chunk-D6SXN34W.mjs} +4 -4
  57. package/dist/cli/{chunk-GTH7JORC.mjs → chunk-DIMKSDF6.mjs} +2 -2
  58. package/dist/cli/{chunk-Z52WEIBR.js → chunk-DKR7QPEO.js} +11 -7
  59. package/dist/cli/{chunk-YUNPYX5T.mjs → chunk-DUGZKPRK.mjs} +10 -3
  60. package/dist/cli/{chunk-6QS7522K.mjs → chunk-EA45HSEC.mjs} +2 -2
  61. package/dist/cli/{chunk-TUFQFTOC.js → chunk-F4FNMXI3.js} +53 -53
  62. package/dist/cli/{chunk-3OPQLFUK.mjs → chunk-FC4C7MZM.mjs} +4 -4
  63. package/dist/cli/{chunk-WGQKOLXH.js → chunk-G4SGYWKV.js} +6 -6
  64. package/dist/cli/{chunk-GISBRE2H.mjs → chunk-HALAYT3Y.mjs} +3 -3
  65. package/dist/cli/{chunk-GQBAJTQU.mjs → chunk-HMHH7JQD.mjs} +2 -2
  66. package/dist/cli/{chunk-PMJAGTSQ.js → chunk-KTWXY73Q.js} +5 -5
  67. package/dist/cli/{chunk-GAWP2YF5.mjs → chunk-M27SSAQ7.mjs} +1 -1
  68. package/dist/cli/{chunk-UON3WCBD.js → chunk-M4QO3GRD.js} +3 -3
  69. package/dist/cli/{chunk-36KEQFWZ.js → chunk-M7K5BCWP.js} +10 -10
  70. package/dist/cli/{chunk-SWAYZST7.mjs → chunk-MUDOASYL.mjs} +2 -2
  71. package/dist/cli/{chunk-D22QIUE3.js → chunk-NBVYS6VG.js} +9 -9
  72. package/dist/cli/{chunk-GE5GPLNM.mjs → chunk-NGOKBSBH.mjs} +1 -1
  73. package/dist/cli/{chunk-VGVSHQN5.mjs → chunk-NHQP4UPJ.mjs} +5 -5
  74. package/dist/cli/{chunk-3J2N7YF5.js → chunk-QKMWQTMI.js} +3 -3
  75. package/dist/cli/{chunk-B3BM3PAI.js → chunk-TLPW2SHS.js} +6 -6
  76. package/dist/cli/{chunk-QI73EL5C.js → chunk-TZRTT7EI.js} +26 -26
  77. package/dist/cli/{chunk-DD7E4ZVH.js → chunk-U3F63UWD.js} +7 -7
  78. package/dist/cli/{chunk-RZHUHL53.mjs → chunk-V4ILQ2DS.mjs} +11 -7
  79. package/dist/cli/{chunk-YHB6MASP.js → chunk-VBGPRRJ6.js} +2 -2
  80. package/dist/cli/{chunk-HQCTPAXP.mjs → chunk-VD3E3QMI.mjs} +1 -1
  81. package/dist/cli/{chunk-X6R5UNDZ.mjs → chunk-VFP3MFLD.mjs} +1 -1
  82. package/dist/cli/{chunk-EVLUSXQG.mjs → chunk-VTCXSICG.mjs} +2 -2
  83. package/dist/cli/{chunk-TBLBYIKO.mjs → chunk-YAAQNDP6.mjs} +1 -1
  84. package/dist/cli/{chunk-IFZ76E5H.mjs → chunk-YMS7VYFA.mjs} +1 -1
  85. package/dist/cli/{chunk-OHUGXZ7N.js → chunk-Z5VSBCFV.js} +16 -16
  86. package/dist/cli/{chunk-ZVLYUKJU.js → chunk-ZANUM4XV.js} +5 -5
  87. package/dist/cli/{chunk-MREO5LZD.js → chunk-ZQYBKDPA.js} +2 -2
  88. package/dist/cli/command-docs.js +2 -2
  89. package/dist/cli/command-docs.mjs +1 -1
  90. package/dist/cli/{csv-OVV3HWN4.js → csv-4YHSYV2C.js} +13 -13
  91. package/dist/cli/{csv-NCY5MWS2.mjs → csv-WC7ILC7P.mjs} +4 -4
  92. package/dist/cli/{db-BOELNDS4.js → db-APZNM2GI.js} +27 -27
  93. package/dist/cli/{db-VPH6JHUD.mjs → db-I5PV6NTC.mjs} +6 -6
  94. package/dist/cli/describe-OR7FZBCD.js +48 -0
  95. package/dist/cli/{describe-FFDCPYZH.mjs → describe-XH5F3X5W.mjs} +17 -17
  96. package/dist/cli/describe-core.d.mts +3 -3
  97. package/dist/cli/describe-core.d.ts +3 -3
  98. package/dist/cli/{executions-5GCCDENS.mjs → executions-PIY4XM7T.mjs} +6 -6
  99. package/dist/cli/{executions-RF44ANF5.js → executions-VIXFKZYU.js} +8 -8
  100. package/dist/cli/{feedback-OI2A5L6F.mjs → feedback-IGDHBWGT.mjs} +4 -4
  101. package/dist/cli/{feedback-NJM3V7QV.js → feedback-WCLIFQTR.js} +8 -8
  102. package/dist/cli/git-CKN2F32Y.js +25 -0
  103. package/dist/cli/{git-EOGSZ3T2.mjs → git-FRICPPTA.mjs} +5 -5
  104. package/dist/cli/index.js +139 -139
  105. package/dist/cli/index.mjs +41 -41
  106. package/dist/cli/{legacy-noops-5QM7XGGX.js → legacy-noops-DSFOPYDY.js} +8 -8
  107. package/dist/cli/{legacy-noops-UYKK7AAB.mjs → legacy-noops-ROAXEG6D.mjs} +5 -5
  108. package/dist/cli/{monitors-N3ITC5MP.mjs → monitors-FZ5PRLW6.mjs} +7 -7
  109. package/dist/cli/{monitors-52GW2V4V.js → monitors-KUCYQLU5.js} +91 -91
  110. package/dist/cli/{org-KUZUG33W.mjs → org-DRNND5XU.mjs} +6 -6
  111. package/dist/cli/{org-ADF47NPV.js → org-SRHMWKQR.js} +72 -72
  112. package/dist/cli/{pages-H3H7ODBN.js → pages-TEJQIHTU.js} +17 -17
  113. package/dist/cli/{pages-C3S5WU3S.mjs → pages-XNGA356T.mjs} +6 -6
  114. package/dist/cli/{play-YWZWBG32.js → play-GCGFQSFP.js} +662 -601
  115. package/dist/cli/{play-SZETTQPV.mjs → play-NE45ROIZ.mjs} +110 -49
  116. package/dist/cli/{providers-FSCD35HB.mjs → providers-57TJOSMV.mjs} +6 -6
  117. package/dist/cli/{providers-V3BP7ZB2.js → providers-VHMUR63R.js} +9 -9
  118. package/dist/cli/{quickstart-ICULVGAR.js → quickstart-BPXWO4UD.js} +6 -6
  119. package/dist/cli/{quickstart-SYZCT2WI.mjs → quickstart-K3SH4NXP.mjs} +4 -4
  120. package/dist/cli/{run-WUJSKGUM.js → run-553AAXDU.js} +36 -36
  121. package/dist/cli/{run-HA5B3AYQ.mjs → run-ZRWJUEN2.mjs} +22 -22
  122. package/dist/cli/{search-A27AGYDV.mjs → search-BW6XRS4I.mjs} +7 -7
  123. package/dist/cli/search-WF26AUDJ.js +32 -0
  124. package/dist/cli/{secrets-ODX56QBF.js → secrets-AMYQYUL5.js} +15 -15
  125. package/dist/cli/{secrets-2L4VRJ2F.mjs → secrets-OYYCFGZE.mjs} +6 -6
  126. package/dist/cli/{sessions-PRF36DHO.mjs → sessions-O4SVVOMO.mjs} +5 -5
  127. package/dist/cli/{sessions-DVZ4FECP.js → sessions-RYCJUMJ2.js} +6 -6
  128. package/dist/cli/{settings-RJT5DBWG.js → settings-7R5FQKII.js} +78 -78
  129. package/dist/cli/{settings-LUATIKJE.mjs → settings-QK7DHDU7.mjs} +11 -11
  130. package/dist/cli/{setup-FJSBKCLU.js → setup-OTQDQHDN.js} +44 -44
  131. package/dist/cli/{setup-IQXTYLRH.mjs → setup-VDAAVCKK.mjs} +9 -9
  132. package/dist/cli/{skills-XJH4ZC5Y.mjs → skills-HRK5O5JO.mjs} +7 -7
  133. package/dist/cli/skills-VNLMEOXW.js +31 -0
  134. package/dist/cli/tools-C3MUHL7G.js +55 -0
  135. package/dist/cli/{tools-IGXLZCKZ.mjs → tools-O7BM62QV.mjs} +16 -16
  136. package/dist/cli/update-TCKTU6QJ.js +33 -0
  137. package/dist/cli/{update-AH7G5VSL.mjs → update-UHKHCSTY.mjs} +9 -9
  138. package/dist/cli/{workflow-IQ2J7LWM.js → workflow-7Z5NCTGG.js} +17 -17
  139. package/dist/cli/{workflow-WOYSCWVD.mjs → workflow-T2EDR7L4.mjs} +7 -7
  140. package/dist/{client-C9bJ0QXu.d.mts → client-Bgl0_zXi.d.mts} +1 -1
  141. package/dist/{client-CuNH54w3.d.ts → client-_ah6IuhK.d.ts} +1 -1
  142. package/dist/{client-core-CSiXbe2n.d.mts → client-core-Bfsedm0_.d.mts} +44 -3
  143. package/dist/{client-core-C8Q6DKga.d.ts → client-core-C-ZF5vh9.d.ts} +44 -3
  144. package/dist/{compiler-manifest-Zwm9yqOA.d.mts → compiler-manifest-CCOqDGjU.d.mts} +12 -10
  145. package/dist/{compiler-manifest-Zwm9yqOA.d.ts → compiler-manifest-CCOqDGjU.d.ts} +12 -10
  146. package/dist/{errors-nEsqNLL8.d.mts → errors-BLccD7tG.d.mts} +1 -1
  147. package/dist/{errors-CsYwlpn4.d.ts → errors-Cy3kPnsi.d.ts} +1 -1
  148. package/dist/{index-CXF2jtza.d.mts → index-4-j44HuT.d.mts} +1 -1
  149. package/dist/{index-9pUZqkPH.d.ts → index-D5e4h1-H.d.ts} +1 -1
  150. package/dist/index.d.mts +14 -9
  151. package/dist/index.d.ts +14 -9
  152. package/dist/index.js +9 -9
  153. package/dist/index.mjs +6 -6
  154. package/dist/install-integrity.json +111 -110
  155. package/dist/plays/bundle-play-file.d.mts +3 -3
  156. package/dist/plays/bundle-play-file.d.ts +3 -3
  157. package/dist/plays/bundle-play-file.mjs +1 -1
  158. package/dist/plays/play-description.d.mts +2 -2
  159. package/dist/plays/play-description.d.ts +2 -2
  160. package/dist/plays/run-request.d.mts +2 -2
  161. package/dist/plays/run-request.d.ts +2 -2
  162. package/dist/release.d.mts +1 -1
  163. package/dist/release.d.ts +1 -1
  164. package/dist/release.js +2 -2
  165. package/dist/release.mjs +1 -1
  166. package/dist/server.d.mts +4 -4
  167. package/dist/server.d.ts +4 -4
  168. package/dist/server.js +5 -5
  169. package/dist/server.mjs +3 -3
  170. package/package.json +1 -1
  171. package/dist/cli/auth-IJOWKNSB.js +0 -41
  172. package/dist/cli/describe-7SFESEFL.js +0 -48
  173. package/dist/cli/git-4V5ZS5SE.js +0 -25
  174. package/dist/cli/search-XATDPNEM.js +0 -32
  175. package/dist/cli/skills-N6CPBF6T.js +0 -31
  176. package/dist/cli/tools-YMVEVRCE.js +0 -55
  177. package/dist/cli/update-MUCWGTXH.js +0 -33
@@ -3,7 +3,7 @@
3
3
  var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
4
4
 
5
5
 
6
- var _chunkWGQKOLXHjs = require('./chunk-WGQKOLXH.js');
6
+ var _chunkG4SGYWKVjs = require('./chunk-G4SGYWKV.js');
7
7
 
8
8
 
9
9
  var _chunkJDMR33HSjs = require('./chunk-JDMR33HS.js');
@@ -11,7 +11,7 @@ var _chunkJDMR33HSjs = require('./chunk-JDMR33HS.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkDD7E4ZVHjs = require('./chunk-DD7E4ZVH.js');
14
+ var _chunkU3F63UWDjs = require('./chunk-U3F63UWD.js');
15
15
 
16
16
 
17
17
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
@@ -579,7 +579,7 @@ function parseInputFlagValue(raw) {
579
579
  return raw;
580
580
  }
581
581
  function parsePlayRunOptions(args, initialInput = null) {
582
- const selection = _chunkDD7E4ZVHjs.parseJsonFields.call(void 0, args, "run");
582
+ const selection = _chunkU3F63UWDjs.parseJsonFields.call(void 0, args, "run");
583
583
  args = selection.args;
584
584
  const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and deepline.dataset guidance.";
585
585
  let filePath = null;
@@ -591,7 +591,7 @@ function parsePlayRunOptions(args, initialInput = null) {
591
591
  let revisionSelector = null;
592
592
  const watch = !args.includes("--no-wait");
593
593
  const dryRun = args.includes("--dry-run");
594
- let jsonOutput = dryRun ? _chunkDD7E4ZVHjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkDD7E4ZVHjs.argsWantJson.call(void 0, args);
594
+ let jsonOutput = dryRun ? _chunkU3F63UWDjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkU3F63UWDjs.argsWantJson.call(void 0, args);
595
595
  const fullJson = args.includes("--full");
596
596
  const force = args.includes("--force");
597
597
  const forceToolRefresh = args.includes("--force-tool-refresh");
@@ -654,7 +654,7 @@ function parsePlayRunOptions(args, initialInput = null) {
654
654
  "--log-level requires one of: debug, info, warn, error."
655
655
  );
656
656
  }
657
- const parsed = _chunkWGQKOLXHjs.parseLogLevel.call(void 0, value);
657
+ const parsed = _chunkG4SGYWKVjs.parseLogLevel.call(void 0, value);
658
658
  if (!parsed) {
659
659
  throw new Error(
660
660
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -972,7 +972,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
972
972
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
973
973
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
974
974
  );
975
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkWGQKOLXHjs.parseLogLevel.call(void 0, options.logLevel);
975
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkG4SGYWKVjs.parseLogLevel.call(void 0, options.logLevel);
976
976
  if (!logLevel)
977
977
  throw new Error("--log-level requires one of: debug, info, warn, error.");
978
978
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -986,13 +986,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
986
986
  if (debugAlias || debugMapLatency && logLevel === "info")
987
987
  logLevel = "debug";
988
988
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
989
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkDD7E4ZVHjs.parseJsonFields.call(void 0,
990
- [...fullJson ? ["--full"] : [], ..._chunkDD7E4ZVHjs.jsonFieldArgs.call(void 0, options.json)],
989
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkU3F63UWDjs.parseJsonFields.call(void 0,
990
+ [...fullJson ? ["--full"] : [], ..._chunkU3F63UWDjs.jsonFieldArgs.call(void 0, options.json)],
991
991
  "run"
992
992
  ).fields;
993
993
  const watch = options.wait === false ? false : base.watch;
994
994
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
995
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkDD7E4ZVHjs.argsWantJson.call(void 0, []) : explicitJson;
995
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkU3F63UWDjs.argsWantJson.call(void 0, []) : explicitJson;
996
996
  const verboseLogs = Boolean(
997
997
  debugAlias || logLevel === "debug" || debugMapLatency
998
998
  );
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HttpClient,
3
3
  detectAgentRuntime
4
- } from "./chunk-EUHTZV2E.mjs";
4
+ } from "./chunk-3QSFSHCJ.mjs";
5
5
  import {
6
6
  ConfigError
7
7
  } from "./chunk-4QF2K7TM.mjs";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-VS7JKS22.mjs";
4
+ } from "./chunk-6PRYHABU.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-QD6IW2HP.mjs";
7
+ } from "./chunk-AD7KL6AI.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-3OPQLFUK.mjs";
10
+ } from "./chunk-FC4C7MZM.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-QG3THSTN.mjs";
13
+ } from "./chunk-BVAYLXMH.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-GE5GPLNM.mjs";
16
+ } from "./chunk-NGOKBSBH.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -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 _chunkU3F63UWDjs = require('./chunk-U3F63UWD.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 _chunkU3F63UWDjs.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 _chunkU3F63UWDjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
646
646
  }
647
647
  function writeExecutionOutput(result, options) {
648
648
  let temp;
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkYHB6MASPjs = require('./chunk-YHB6MASP.js');
3
+ var _chunkVBGPRRJ6js = require('./chunk-VBGPRRJ6.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
- var _chunkTUFQFTOCjs = require('./chunk-TUFQFTOC.js');
8
+ var _chunkF4FNMXI3js = require('./chunk-F4FNMXI3.js');
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -14,17 +14,17 @@ function usesInlinePlayAdmission(command, args) {
14
14
  );
15
15
  }
16
16
  async function checkPlayRunCompatibility(baseUrl, maintenancePolicy = "configured") {
17
- if (maintenancePolicy !== "off") _chunkTUFQFTOCjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
- const compatibility = await _chunkYHB6MASPjs.traceCliSpan.call(void 0,
17
+ if (maintenancePolicy !== "off") _chunkF4FNMXI3js.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
18
+ const compatibility = await _chunkVBGPRRJ6js.traceCliSpan.call(void 0,
19
19
  "cli.sdk_compatibility",
20
20
  { baseUrl, command: "plays run" },
21
- () => _chunkTUFQFTOCjs.checkSdkCompatibility.call(void 0, baseUrl, {
21
+ () => _chunkF4FNMXI3js.checkSdkCompatibility.call(void 0, baseUrl, {
22
22
  command: "plays run",
23
23
  persistCache: maintenancePolicy !== "off"
24
24
  })
25
25
  );
26
26
  if (compatibility.error) throw compatibility.error;
27
- _chunkTUFQFTOCjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
27
+ _chunkF4FNMXI3js.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
28
28
  quietAdvisory: true
29
29
  });
30
30
  }
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkDD7E4ZVHjs = require('./chunk-DD7E4ZVH.js');
5
+ var _chunkU3F63UWDjs = require('./chunk-U3F63UWD.js');
6
6
 
7
7
 
8
- var _chunkF4PUDYBYjs = require('./chunk-F4PUDYBY.js');
8
+ var _chunkBLW2K6YHjs = require('./chunk-BLW2K6YH.js');
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -32,11 +32,11 @@ function renderDeployment(deployment) {
32
32
  return `${deployment.id} ${source} (${kind}) - ${deployment.status}${suffix}`;
33
33
  }
34
34
  async function handleList(options) {
35
- const { http } = _chunkDD7E4ZVHjs.getAuthedHttpClient.call(void 0, );
35
+ const { http } = _chunkU3F63UWDjs.getAuthedHttpClient.call(void 0, );
36
36
  const payload = await http.get(
37
37
  `/api/v2/play-projects${options.all ? "?includeDisabled=1" : ""}`
38
38
  );
39
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
39
+ _chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
40
40
  {
41
41
  projects: payload.projects,
42
42
  count: payload.projects.length,
@@ -73,7 +73,7 @@ function describeInstallationStatus(installation) {
73
73
  }
74
74
  }
75
75
  async function handleStatus(options) {
76
- const { http } = _chunkDD7E4ZVHjs.getAuthedHttpClient.call(void 0, );
76
+ const { http } = _chunkU3F63UWDjs.getAuthedHttpClient.call(void 0, );
77
77
  const payload = await http.get("/api/v2/github/installation");
78
78
  const installation = payload.installation;
79
79
  const others = (_nullishCoalesce(payload.installations, () => ( []))).filter(
@@ -136,7 +136,7 @@ async function handleStatus(options) {
136
136
  )
137
137
  );
138
138
  }
139
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
139
+ _chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
140
140
  {
141
141
  installation,
142
142
  installations: _nullishCoalesce(payload.installations, () => ( [])),
@@ -147,10 +147,10 @@ async function handleStatus(options) {
147
147
  );
148
148
  }
149
149
  async function handleRepos(options) {
150
- const { http } = _chunkDD7E4ZVHjs.getAuthedHttpClient.call(void 0, );
150
+ const { http } = _chunkU3F63UWDjs.getAuthedHttpClient.call(void 0, );
151
151
  const query = options.installation ? `?installationId=${encodeURIComponent(options.installation)}` : "";
152
152
  const payload = await http.get(`/api/v2/github/repos${query}`);
153
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
153
+ _chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
154
154
  {
155
155
  installation: payload.installation,
156
156
  repositories: payload.repositories,
@@ -171,7 +171,7 @@ async function handleRepos(options) {
171
171
  }
172
172
  async function resolveRepoId(repo, installation) {
173
173
  if (/^\d+$/.test(repo)) return Number(repo);
174
- const { http } = _chunkDD7E4ZVHjs.getAuthedHttpClient.call(void 0, );
174
+ const { http } = _chunkU3F63UWDjs.getAuthedHttpClient.call(void 0, );
175
175
  const query = installation ? `?installationId=${encodeURIComponent(installation)}` : "";
176
176
  const payload = await http.get(
177
177
  `/api/v2/github/repos${query}`
@@ -188,7 +188,7 @@ async function resolveRepoId(repo, installation) {
188
188
  }
189
189
  async function handleLink(repo, options) {
190
190
  const repoId = await resolveRepoId(repo, options.installation);
191
- const { http } = _chunkDD7E4ZVHjs.getAuthedHttpClient.call(void 0, );
191
+ const { http } = _chunkU3F63UWDjs.getAuthedHttpClient.call(void 0, );
192
192
  const payload = await http.post("/api/v2/play-projects", {
193
193
  repoId,
194
194
  ...options.installation !== void 0 ? { installationId: options.installation } : {},
@@ -197,7 +197,7 @@ async function handleLink(repo, options) {
197
197
  ...options.branch !== void 0 ? { productionBranch: options.branch } : {},
198
198
  ...options.prChecks !== void 0 ? { checkOnPullRequest: options.prChecks } : {}
199
199
  });
200
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
200
+ _chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
201
201
  {
202
202
  project: payload.project,
203
203
  render: {
@@ -220,11 +220,11 @@ async function handleLink(repo, options) {
220
220
  );
221
221
  }
222
222
  async function handleGet(id, options) {
223
- const { http } = _chunkDD7E4ZVHjs.getAuthedHttpClient.call(void 0, );
223
+ const { http } = _chunkU3F63UWDjs.getAuthedHttpClient.call(void 0, );
224
224
  const payload = await http.get(
225
225
  `/api/v2/play-projects/${encodeURIComponent(id)}`
226
226
  );
227
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
227
+ _chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
228
228
  {
229
229
  project: payload.project,
230
230
  render: {
@@ -240,7 +240,7 @@ async function handleGet(id, options) {
240
240
  );
241
241
  }
242
242
  async function handleSet(id, options) {
243
- const { http } = _chunkDD7E4ZVHjs.getAuthedHttpClient.call(void 0, );
243
+ const { http } = _chunkU3F63UWDjs.getAuthedHttpClient.call(void 0, );
244
244
  const payload = await http.patch(
245
245
  `/api/v2/play-projects/${encodeURIComponent(id)}`,
246
246
  {
@@ -251,7 +251,7 @@ async function handleSet(id, options) {
251
251
  ...options.disabled !== void 0 ? { disabled: options.disabled } : {}
252
252
  }
253
253
  );
254
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
254
+ _chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
255
255
  {
256
256
  project: payload.project,
257
257
  render: {
@@ -264,9 +264,9 @@ async function handleSet(id, options) {
264
264
  );
265
265
  }
266
266
  async function handleUnlink(id, options) {
267
- const { http } = _chunkDD7E4ZVHjs.getAuthedHttpClient.call(void 0, );
267
+ const { http } = _chunkU3F63UWDjs.getAuthedHttpClient.call(void 0, );
268
268
  await http.delete(`/api/v2/play-projects/${encodeURIComponent(id)}`);
269
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
269
+ _chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
270
270
  {
271
271
  ok: true,
272
272
  id,
@@ -286,10 +286,10 @@ async function handleUnlink(id, options) {
286
286
  );
287
287
  }
288
288
  async function handleConnect(options) {
289
- const baseUrl = _chunkF4PUDYBYjs.resolveBaseUrlOnly.call(void 0, );
289
+ const baseUrl = _chunkBLW2K6YHjs.resolveBaseUrlOnly.call(void 0, );
290
290
  const connectUrl = `${baseUrl.replace(/\/$/, "")}/api/v2/github/connect`;
291
- const opened = _chunkDD7E4ZVHjs.openInBrowser.call(void 0, connectUrl);
292
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
291
+ const opened = _chunkU3F63UWDjs.openInBrowser.call(void 0, connectUrl);
292
+ _chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
293
293
  {
294
294
  connectUrl,
295
295
  browser: opened,
@@ -311,7 +311,7 @@ async function handleConnect(options) {
311
311
  );
312
312
  }
313
313
  async function handleDeploymentsList(options) {
314
- const { http } = _chunkDD7E4ZVHjs.getAuthedHttpClient.call(void 0, );
314
+ const { http } = _chunkU3F63UWDjs.getAuthedHttpClient.call(void 0, );
315
315
  const query = new URLSearchParams();
316
316
  if (options.repo) query.set("projectId", options.repo);
317
317
  if (options.limit) query.set("limit", options.limit);
@@ -319,7 +319,7 @@ async function handleDeploymentsList(options) {
319
319
  const payload = await http.get(
320
320
  `/api/v2/deployments${suffix}`
321
321
  );
322
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
322
+ _chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
323
323
  {
324
324
  deployments: payload.deployments,
325
325
  count: payload.deployments.length,
@@ -363,12 +363,12 @@ function renderDeploymentMonitorLines(results) {
363
363
  ]);
364
364
  }
365
365
  async function handleDeploymentGet(id, options) {
366
- const { http } = _chunkDD7E4ZVHjs.getAuthedHttpClient.call(void 0, );
366
+ const { http } = _chunkU3F63UWDjs.getAuthedHttpClient.call(void 0, );
367
367
  const payload = await http.get(`/api/v2/deployments/${encodeURIComponent(id)}`);
368
368
  const playLines = renderDeploymentPlayLines(payload.deployment.results);
369
369
  const monitorLines = renderDeploymentMonitorLines(payload.deployment.results);
370
370
  const repository = _nullishCoalesce(_optionalChain([payload, 'access', _10 => _10.project, 'optionalAccess', _11 => _11.repoFullName]), () => ( payload.deployment.repoFullName));
371
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
371
+ _chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
372
372
  {
373
373
  deployment: payload.deployment,
374
374
  project: payload.project,
@@ -387,9 +387,9 @@ async function handleDeploymentGet(id, options) {
387
387
  );
388
388
  }
389
389
  async function handleDeploymentCancel(id, options) {
390
- const { http } = _chunkDD7E4ZVHjs.getAuthedHttpClient.call(void 0, );
390
+ const { http } = _chunkU3F63UWDjs.getAuthedHttpClient.call(void 0, );
391
391
  const payload = await http.post(`/api/v2/deployments/${encodeURIComponent(id)}/cancel`, {});
392
- _chunkDD7E4ZVHjs.printCommandEnvelope.call(void 0,
392
+ _chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
393
393
  {
394
394
  cancelled: payload.cancelled,
395
395
  deployment: payload.deployment,
@@ -2,10 +2,10 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkF4PUDYBYjs = require('./chunk-F4PUDYBY.js');
5
+ var _chunkBLW2K6YHjs = require('./chunk-BLW2K6YH.js');
6
6
 
7
7
 
8
- var _chunkYH5SFKHJjs = require('./chunk-YH5SFKHJ.js');
8
+ var _chunkB7NJ5JQ2js = require('./chunk-B7NJ5JQ2.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 = _chunkF4PUDYBYjs.resolveConfig.call(void 0, );
294
- return { config, http: new (0, _chunkF4PUDYBYjs.HttpClient)(config) };
293
+ const config = _chunkBLW2K6YHjs.resolveConfig.call(void 0, );
294
+ return { config, http: new (0, _chunkBLW2K6YHjs.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: _chunkYH5SFKHJjs.detectAgentRuntime.call(void 0, )
634
+ agent_runtime: _chunkB7NJ5JQ2js.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 _chunkYH5SFKHJjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
881
+ return _chunkB7NJ5JQ2js.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
882
882
  ...valueRecord,
883
- command_context: _chunkF4PUDYBYjs.resolveCliCommandContext.call(void 0, )
883
+ command_context: _chunkBLW2K6YHjs.resolveCliCommandContext.call(void 0, )
884
884
  } : value;
885
885
  }
886
886
  function printJson(value, fields) {
@@ -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);
@@ -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 _chunkU3F63UWDjs = require('./chunk-U3F63UWD.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
+ _chunkU3F63UWDjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
37
37
  `);
38
38
  }
39
39
  async function traceCliSpan(phase, fields, run) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeRawStderr
3
- } from "./chunk-QG3THSTN.mjs";
3
+ } from "./chunk-BVAYLXMH.mjs";
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  import { InvalidArgumentError } from "commander";
@@ -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-3QSFSHCJ.mjs";
30
30
  import {
31
31
  CustomerDbQueryOutcomeUnknownError
32
32
  } from "./chunk-4QF2K7TM.mjs";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-F6QV42MC.mjs";
4
4
  import {
5
5
  parseLogLevel
6
- } from "./chunk-X6R5UNDZ.mjs";
6
+ } from "./chunk-VFP3MFLD.mjs";
7
7
  import {
8
8
  setDottedInputValue
9
9
  } from "./chunk-NELMCOWK.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  argsWantJson,
12
12
  jsonFieldArgs,
13
13
  parseJsonFields
14
- } from "./chunk-QG3THSTN.mjs";
14
+ } from "./chunk-BVAYLXMH.mjs";
15
15
  import {
16
16
  DeeplineError
17
17
  } from "./chunk-HBL4PM5Q.mjs";
@@ -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.473",
52
+ version: "0.3.475",
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."
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  csvSafeJsonString,
8
8
  csvStringFromRows
9
- } from "./chunk-QG3THSTN.mjs";
9
+ } from "./chunk-BVAYLXMH.mjs";
10
10
 
11
11
  // src/cli/describe-options.ts
12
12
  function addDescribeOptions(command, options = {}) {
@@ -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 _chunkZQYBKDPAjs = require('./chunk-ZQYBKDPA.js');
5
5
 
6
6
 
7
- var _chunkD4B3EV55js = require('./chunk-D4B3EV55.js');
7
+ var _chunk7XTBEYLSjs = require('./chunk-7XTBEYLS.js');
8
8
 
9
9
 
10
- var _chunkTUFQFTOCjs = require('./chunk-TUFQFTOC.js');
10
+ var _chunkF4FNMXI3js = require('./chunk-F4FNMXI3.js');
11
11
 
12
12
 
13
- var _chunkDD7E4ZVHjs = require('./chunk-DD7E4ZVH.js');
13
+ var _chunkU3F63UWDjs = require('./chunk-U3F63UWD.js');
14
14
 
15
15
 
16
- var _chunkF4PUDYBYjs = require('./chunk-F4PUDYBY.js');
16
+ var _chunkBLW2K6YHjs = require('./chunk-BLW2K6YH.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 = _chunkF4FNMXI3js.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 ? _chunkZQYBKDPAjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkZQYBKDPAjs.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()]) || _chunkBLW2K6YHjs.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 = _chunkF4FNMXI3js.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, () => ( _chunkBLW2K6YHjs.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 _chunk7XTBEYLSjs.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
+ _chunkU3F63UWDjs.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
+ _chunkU3F63UWDjs.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
+ _chunkU3F63UWDjs.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
+ _chunkU3F63UWDjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -1,10 +1,10 @@
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 _chunkWGQKOLXHjs = require('./chunk-WGQKOLXH.js');
3
+ var _chunkG4SGYWKVjs = require('./chunk-G4SGYWKV.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkF4PUDYBYjs = require('./chunk-F4PUDYBY.js');
7
+ var _chunkBLW2K6YHjs = require('./chunk-BLW2K6YH.js');
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
137
137
 
138
138
  // src/plays/client.ts
139
139
  function createPlayClient(options) {
140
- const config = _chunkF4PUDYBYjs.resolveConfig.call(void 0, options);
141
- return new (0, _chunkWGQKOLXHjs.PlayClient)(
142
- new (0, _chunkF4PUDYBYjs.HttpClient)(config),
140
+ const config = _chunkBLW2K6YHjs.resolveConfig.call(void 0, options);
141
+ return new (0, _chunkG4SGYWKVjs.PlayClient)(
142
+ new (0, _chunkBLW2K6YHjs.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }