deepline 0.3.514 → 0.3.516

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 (180) hide show
  1. package/dist/bundling-sources/sdk/src/errors.ts +1 -0
  2. package/dist/bundling-sources/sdk/src/http-core.ts +9 -4
  3. package/dist/bundling-sources/sdk/src/index.ts +1 -0
  4. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  5. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +30 -15
  6. package/dist/bundling-sources/shared_libs/play-runtime/durable-runs-rollout.ts +6 -1
  7. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-pool.ts +71 -1
  8. package/dist/bundling-sources/shared_libs/play-runtime/secret-redaction.ts +20 -7
  9. package/dist/bundling-sources/shared_libs/play-runtime/tool-http-errors.ts +3 -1
  10. package/dist/bundling-sources/shared_libs/plays/tool-execution-error.ts +45 -0
  11. package/dist/bundling-sources/shared_libs/tool-execution-error.ts +45 -0
  12. package/dist/cli/{artifacts-GNFL5LY4.mjs → artifacts-G56FISIE.mjs} +9 -9
  13. package/dist/cli/{artifacts-OZRO4LHT.js → artifacts-KMWS32R5.js} +21 -21
  14. package/dist/cli/auth-6EIEZ3UE.js +43 -0
  15. package/dist/cli/{auth-53EDAX7Y.mjs → auth-RSS7MOBV.mjs} +7 -7
  16. package/dist/cli/{billing-ZMX2V5X3.mjs → billing-2ALO3XEG.mjs} +10 -10
  17. package/dist/cli/{billing-B6V3FELL.js → billing-RCC6WBIZ.js} +93 -93
  18. package/dist/cli/{chunk-753MZFDF.mjs → chunk-2YEFJHAF.mjs} +3 -3
  19. package/dist/cli/{chunk-BBDWIUJA.js → chunk-4IIK6GIY.js} +17 -17
  20. package/dist/cli/{chunk-DMBCJFGY.mjs → chunk-5NU37KME.mjs} +2 -2
  21. package/dist/cli/{chunk-Z5WO6IBV.mjs → chunk-6ADGVZRX.mjs} +21 -6
  22. package/dist/cli/{chunk-RNSHCJME.js → chunk-6Y3DDRRN.js} +30 -30
  23. package/dist/cli/{chunk-NXT52SIV.js → chunk-6ZLL5GDN.js} +2 -2
  24. package/dist/cli/{chunk-QSFAUGFK.js → chunk-72L5HQ3J.js} +5 -5
  25. package/dist/cli/{chunk-DLYWOHO4.mjs → chunk-72MFP7V4.mjs} +1 -1
  26. package/dist/cli/{chunk-MF7ZVWJK.js → chunk-7R2V5Z6O.js} +41 -41
  27. package/dist/cli/{chunk-W3TN352L.mjs → chunk-C2SR3X7Y.mjs} +4 -4
  28. package/dist/cli/{chunk-76M3DL5G.mjs → chunk-C72J6JE3.mjs} +1 -1
  29. package/dist/cli/{chunk-RMRZ4BC4.mjs → chunk-CA24C3XL.mjs} +4 -4
  30. package/dist/cli/{chunk-2RCZCWPO.js → chunk-CKEZXNMV.js} +6 -6
  31. package/dist/cli/{chunk-C24VEYSP.js → chunk-D4OZSC3C.js} +8 -4
  32. package/dist/cli/{chunk-EVTD3ELD.mjs → chunk-E7ZM2ZRD.mjs} +5 -5
  33. package/dist/cli/{chunk-MJIS4XAZ.mjs → chunk-EYWP5JPU.mjs} +4 -4
  34. package/dist/cli/{chunk-TG4IMWAL.js → chunk-FIIBDWAO.js} +55 -55
  35. package/dist/cli/{chunk-7MJYZ33I.mjs → chunk-GJYLC4JB.mjs} +1 -1
  36. package/dist/cli/{chunk-7MBI2OLW.mjs → chunk-H6BSB2YJ.mjs} +1 -1
  37. package/dist/cli/{chunk-N4TR6QRI.mjs → chunk-HT675XNR.mjs} +1 -1
  38. package/dist/cli/{chunk-IZJGOMCW.mjs → chunk-HY6KAW5H.mjs} +5 -5
  39. package/dist/cli/{chunk-ILITNKGM.mjs → chunk-J4VMWSQK.mjs} +7 -7
  40. package/dist/cli/{chunk-TZS4G7CS.js → chunk-JB6FEEDQ.js} +2 -2
  41. package/dist/cli/{chunk-6FYGFIXD.mjs → chunk-JPLEDOEW.mjs} +2 -2
  42. package/dist/cli/{chunk-7ZCXQDOQ.mjs → chunk-LCKAG5RL.mjs} +2 -2
  43. package/dist/cli/{chunk-RVMV4MXO.mjs → chunk-LWUFEX26.mjs} +3 -3
  44. package/dist/cli/{chunk-FPWOEK7G.js → chunk-LZROM6VQ.js} +2 -2
  45. package/dist/cli/{chunk-RLVSWAWB.js → chunk-N6Q5SDGA.js} +62 -51
  46. package/dist/cli/{chunk-A6QCMBGL.js → chunk-NRO3NTVO.js} +5 -5
  47. package/dist/cli/{chunk-VLIDBQYL.js → chunk-P6AADORO.js} +3 -3
  48. package/dist/cli/{chunk-55WBE4UK.js → chunk-PKKSXXZ5.js} +26 -26
  49. package/dist/cli/{chunk-G6PUQQJP.js → chunk-PMS3LQ6B.js} +5 -5
  50. package/dist/cli/{chunk-JC3ABOZP.js → chunk-PPYJXP4Z.js} +38 -23
  51. package/dist/cli/{chunk-6SSISVXD.mjs → chunk-PVVWKOEB.mjs} +8 -7
  52. package/dist/cli/{chunk-DBBLPDXK.mjs → chunk-Q47MAAHI.mjs} +1 -1
  53. package/dist/cli/{chunk-2CTTSNFE.js → chunk-QG3MRMU5.js} +58 -57
  54. package/dist/cli/{chunk-53F6JDQ3.mjs → chunk-QG4LIOGI.mjs} +2 -2
  55. package/dist/cli/{chunk-4QF2K7TM.mjs → chunk-QNHHZ63P.mjs} +1 -1
  56. package/dist/cli/{chunk-A253CMOI.js → chunk-QUSYG3VP.js} +8 -8
  57. package/dist/cli/{chunk-T4NQ2ZOH.js → chunk-QX7WDG4V.js} +11 -11
  58. package/dist/cli/{chunk-MQK5SY5N.js → chunk-RB3OR32I.js} +16 -16
  59. package/dist/cli/{chunk-RFN7OKT2.mjs → chunk-RB5EMAWD.mjs} +1 -1
  60. package/dist/cli/{chunk-WP3ULMRU.js → chunk-RLI6FDQM.js} +6 -6
  61. package/dist/cli/{chunk-TMQUMILM.js → chunk-RVHUW4TN.js} +2 -2
  62. package/dist/cli/{chunk-DIAWYWT5.js → chunk-SQWET4SL.js} +18 -1
  63. package/dist/cli/{chunk-OZDT2CZW.mjs → chunk-STR5LXK4.mjs} +1 -1
  64. package/dist/cli/{chunk-ALJJRZNJ.js → chunk-T2N3B7IQ.js} +8 -8
  65. package/dist/cli/{chunk-OQ4JV3IW.js → chunk-TZNQRKDF.js} +1 -1
  66. package/dist/cli/{chunk-CUMA6DE2.js → chunk-UW5QWTUG.js} +19 -19
  67. package/dist/cli/{chunk-G6A7CGFV.mjs → chunk-V46UBZBJ.mjs} +6 -3
  68. package/dist/cli/{chunk-R5PJ6XZI.js → chunk-VIZJIBI4.js} +10 -10
  69. package/dist/cli/{chunk-Y2RIMVEM.js → chunk-W5I53WQ4.js} +112 -112
  70. package/dist/cli/{chunk-H7L5MS5E.mjs → chunk-WCQ7JGDV.mjs} +4 -4
  71. package/dist/cli/{chunk-7KD4IYLA.js → chunk-WE223LFR.js} +19 -19
  72. package/dist/cli/{chunk-H53YG6QG.mjs → chunk-X2YP36YP.mjs} +1 -1
  73. package/dist/cli/{chunk-LV2DGEJ3.js → chunk-XEQBYK4B.js} +16 -13
  74. package/dist/cli/{chunk-5LBXLQRW.js → chunk-YS7AI7R6.js} +108 -108
  75. package/dist/cli/{chunk-HJ5B67S3.mjs → chunk-YXGTO5XA.mjs} +8 -4
  76. package/dist/cli/{chunk-54IH5U3I.mjs → chunk-Z3KLCDCB.mjs} +23 -12
  77. package/dist/cli/{chunk-6OIRN4PC.mjs → chunk-ZFRN3B2R.mjs} +2 -2
  78. package/dist/cli/{chunk-EO52BKGA.mjs → chunk-ZMCQP4EU.mjs} +11 -11
  79. package/dist/cli/{chunk-HBL4PM5Q.mjs → chunk-ZPGGW27Q.mjs} +17 -0
  80. package/dist/cli/command-docs.js +2 -2
  81. package/dist/cli/command-docs.mjs +1 -1
  82. package/dist/cli/{csv-2BLYUV2G.js → csv-RPR64UBS.js} +15 -15
  83. package/dist/cli/{csv-ONKAMLL4.mjs → csv-YXK5TB47.mjs} +6 -6
  84. package/dist/cli/{db-YKT6LEQ3.js → db-KO3JCGRG.js} +36 -36
  85. package/dist/cli/{db-4GVSGAXL.mjs → db-UQYILAMF.mjs} +9 -9
  86. package/dist/cli/describe-BPX3U2BF.js +50 -0
  87. package/dist/cli/describe-P2OK5X2S.mjs +50 -0
  88. package/dist/cli/describe-core.d.mts +3 -3
  89. package/dist/cli/describe-core.d.ts +3 -3
  90. package/dist/cli/describe-core.js +4 -4
  91. package/dist/cli/describe-core.mjs +3 -3
  92. package/dist/cli/{executions-VFCU5NGH.js → executions-5Z7H7HV3.js} +11 -11
  93. package/dist/cli/{executions-7OSL25KJ.mjs → executions-IQCRQXVA.mjs} +9 -9
  94. package/dist/cli/{feedback-ERTOLEC4.js → feedback-EDZJDARP.js} +12 -12
  95. package/dist/cli/{feedback-RPZELEA5.mjs → feedback-ZO6A4HTV.mjs} +7 -7
  96. package/dist/cli/{git-XKRQZ4A6.mjs → git-OBXSILWM.mjs} +7 -7
  97. package/dist/cli/git-Y34J73QC.js +25 -0
  98. package/dist/cli/index.js +150 -150
  99. package/dist/cli/index.mjs +46 -46
  100. package/dist/cli/{legacy-noops-MZCFS2FQ.mjs → legacy-noops-4UJM3FMN.mjs} +8 -8
  101. package/dist/cli/{legacy-noops-HG3M5HGZ.js → legacy-noops-HKXU2EU6.js} +11 -11
  102. package/dist/cli/{monitors-MESMMU5P.js → monitors-7EP3Q2DX.js} +110 -110
  103. package/dist/cli/{monitors-GBO5XAEZ.mjs → monitors-ZXF2KCW7.mjs} +10 -10
  104. package/dist/cli/{org-DJRNWIPO.mjs → org-EDHCUR6V.mjs} +9 -9
  105. package/dist/cli/{org-EZPREEWH.js → org-GFGOTUWP.js} +75 -75
  106. package/dist/cli/{pages-36BHVOFL.mjs → pages-EGEWMPJN.mjs} +9 -9
  107. package/dist/cli/{pages-ACI7VV6I.js → pages-TLFQQL5S.js} +21 -21
  108. package/dist/cli/{play-SUSVQHX5.mjs → play-NBO3MPDL.mjs} +22 -22
  109. package/dist/cli/{play-KCLLAGWR.js → play-XDHJY5R4.js} +392 -392
  110. package/dist/cli/{providers-MV2YW3J5.mjs → providers-NXJ7WPNH.mjs} +9 -9
  111. package/dist/cli/{providers-YFO3EFLK.js → providers-RU6BGEDM.js} +12 -12
  112. package/dist/cli/{quickstart-MATFTZVQ.js → quickstart-4ZZBMZPF.js} +8 -8
  113. package/dist/cli/{quickstart-KMXU2T3Z.mjs → quickstart-YBNDPNAR.mjs} +6 -6
  114. package/dist/cli/{run-UW5FM64G.js → run-374CTJBV.js} +46 -46
  115. package/dist/cli/{run-YRYVGUCJ.mjs → run-LX52KVZM.mjs} +27 -27
  116. package/dist/cli/{search-WF3Q3I5X.mjs → search-EH6JPV62.mjs} +11 -11
  117. package/dist/cli/search-YS4DHSQC.js +33 -0
  118. package/dist/cli/{search-output-BG743WAM.js → search-output-NATLJOWW.js} +9 -9
  119. package/dist/cli/{search-output-THOAHTCU.mjs → search-output-XIQERUHF.mjs} +7 -7
  120. package/dist/cli/{secrets-EOGBWN44.js → secrets-A3UXDE5V.js} +18 -18
  121. package/dist/cli/{secrets-LM7OTAUE.mjs → secrets-VRJQFUKF.mjs} +9 -9
  122. package/dist/cli/sessions-5TTH5FGZ.mjs +18 -0
  123. package/dist/cli/sessions-EXII5VOV.js +18 -0
  124. package/dist/cli/{settings-OWE3EEG7.js → settings-LX5EGLVT.js} +89 -89
  125. package/dist/cli/{settings-JXTFX5G2.mjs → settings-VRGFTOTJ.mjs} +16 -16
  126. package/dist/cli/{setup-FG37SKMB.mjs → setup-FXP5Y3Y6.mjs} +12 -12
  127. package/dist/cli/{setup-Z5BEQKA7.js → setup-QL4YWKOR.js} +52 -52
  128. package/dist/cli/skills-5L4CYX3V.js +37 -0
  129. package/dist/cli/{skills-UGNCBZTJ.mjs → skills-ET4PMBJE.mjs} +10 -10
  130. package/dist/cli/tools-5V77VIUA.js +57 -0
  131. package/dist/cli/{tools-J3PKLQSL.mjs → tools-WPL3NZAA.mjs} +20 -20
  132. package/dist/cli/update-G5RSSWM5.js +35 -0
  133. package/dist/cli/{update-GGZ2XTMZ.mjs → update-OCAHAKL2.mjs} +12 -12
  134. package/dist/cli/{workflow-AUZCSCZP.js → workflow-CWO3XL4O.js} +20 -20
  135. package/dist/cli/{workflow-C66BBXHH.mjs → workflow-NPZ2RLQG.mjs} +10 -10
  136. package/dist/{client-CmlKSBXd.d.ts → client-CQSPuqxh.d.ts} +1 -1
  137. package/dist/{client-By7bUS8h.d.mts → client-K1g4ab5Y.d.mts} +1 -1
  138. package/dist/{client-core-BZ3tpY_J.d.mts → client-core-BksGf5Gd.d.mts} +1 -1
  139. package/dist/{client-core-BM0mKhgp.d.ts → client-core-BlaqOlQ7.d.ts} +1 -1
  140. package/dist/{compiler-manifest-BeURaD5Y.d.mts → compiler-manifest-BliMS7ax.d.mts} +14 -1
  141. package/dist/{compiler-manifest-BeURaD5Y.d.ts → compiler-manifest-BliMS7ax.d.ts} +14 -1
  142. package/dist/{errors-kBuT4kGK.d.mts → errors-BZ6Zq1cz.d.mts} +1 -1
  143. package/dist/{errors-BoPXPrSy.d.ts → errors-xfNscfS1.d.ts} +1 -1
  144. package/dist/{index-DC7oRAAC.d.mts → index-DbvCg4zg.d.mts} +1 -1
  145. package/dist/{index-D0crdGM1.d.ts → index-FGdQv8J8.d.ts} +1 -1
  146. package/dist/index.d.mts +7 -7
  147. package/dist/index.d.ts +7 -7
  148. package/dist/index.js +13 -13
  149. package/dist/index.mjs +9 -9
  150. package/dist/install-integrity.json +126 -126
  151. package/dist/plays/bundle-play-file.d.mts +3 -3
  152. package/dist/plays/bundle-play-file.d.ts +3 -3
  153. package/dist/plays/bundle-play-file.mjs +1 -1
  154. package/dist/plays/csv-data-input.js +3 -3
  155. package/dist/plays/csv-data-input.mjs +2 -2
  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/plays/run-request.js +3 -3
  161. package/dist/plays/run-request.mjs +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 +12 -12
  169. package/dist/server.mjs +6 -6
  170. package/package.json +1 -1
  171. package/dist/cli/auth-SM5GLO45.js +0 -43
  172. package/dist/cli/describe-KPGQP4LH.js +0 -50
  173. package/dist/cli/describe-PRT2WQMS.mjs +0 -50
  174. package/dist/cli/git-U353JURQ.js +0 -25
  175. package/dist/cli/search-4ZQOFG7G.js +0 -33
  176. package/dist/cli/sessions-GDSJ72XI.js +0 -18
  177. package/dist/cli/sessions-SP2JL27H.mjs +0 -18
  178. package/dist/cli/skills-SIX5OTNX.js +0 -37
  179. package/dist/cli/tools-EZOV37MQ.js +0 -57
  180. package/dist/cli/update-ISU7YN34.js +0 -35
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  rejectRestrictedFeedback
3
- } from "./chunk-DBBLPDXK.mjs";
3
+ } from "./chunk-Q47MAAHI.mjs";
4
4
  import {
5
5
  getAuthedHttpClient,
6
6
  printCommandEnvelope
7
- } from "./chunk-G6A7CGFV.mjs";
7
+ } from "./chunk-V46UBZBJ.mjs";
8
8
  import {
9
9
  agentSessionIdFromEnvironment
10
- } from "./chunk-6SSISVXD.mjs";
10
+ } from "./chunk-PVVWKOEB.mjs";
11
11
 
12
12
  // src/cli/commands/sessions.ts
13
13
  import {
@@ -3,18 +3,18 @@
3
3
  var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
4
4
 
5
5
 
6
- var _chunk5LBXLQRWjs = require('./chunk-5LBXLQRW.js');
6
+ var _chunkYS7AI7R6js = require('./chunk-YS7AI7R6.js');
7
7
 
8
8
 
9
- var _chunkRNSHCJMEjs = require('./chunk-RNSHCJME.js');
9
+ var _chunk6Y3DDRRNjs = require('./chunk-6Y3DDRRN.js');
10
10
 
11
11
 
12
12
 
13
13
 
14
- var _chunkLV2DGEJ3js = require('./chunk-LV2DGEJ3.js');
14
+ var _chunkXEQBYK4Bjs = require('./chunk-XEQBYK4B.js');
15
15
 
16
16
 
17
- var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
17
+ var _chunkSQWET4SLjs = require('./chunk-SQWET4SL.js');
18
18
 
19
19
  // ../play-runtime/governor/policy.ts
20
20
  var DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS = 64;
@@ -537,14 +537,14 @@ function parseJsonInput(raw, flag = "--input") {
537
537
  try {
538
538
  parsed = JSON.parse(source);
539
539
  } catch (e) {
540
- throw new (0, _chunkDIAWYWT5js.DeeplineError)(
540
+ throw new (0, _chunkSQWET4SLjs.DeeplineError)(
541
541
  `${flag} expects a valid JSON object or @input.json. A bare file path is not JSON.${flag === "--input" ? " Use the field names and run example from plays check <file> or deepline describe <play>. --csv contacts.csv supplies input.csv only when the Play declares that field." : ""}`,
542
542
  void 0,
543
543
  "INVALID_JSON"
544
544
  );
545
545
  }
546
546
  if (!parsed || typeof parsed !== "object" || Array.isArray(parsed)) {
547
- throw new (0, _chunkDIAWYWT5js.DeeplineError)(
547
+ throw new (0, _chunkSQWET4SLjs.DeeplineError)(
548
548
  `${flag} must be a JSON object.`,
549
549
  void 0,
550
550
  "INVALID_JSON"
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
581
581
  return raw;
582
582
  }
583
583
  function parsePlayRunOptions(args, initialInput = null) {
584
- const selection = _chunkLV2DGEJ3js.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunkXEQBYK4Bjs.parseJsonFields.call(void 0, args, "run");
585
585
  args = selection.args;
586
586
  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.";
587
587
  let filePath = null;
@@ -593,7 +593,7 @@ function parsePlayRunOptions(args, initialInput = null) {
593
593
  let revisionSelector = null;
594
594
  const watch = !args.includes("--no-wait");
595
595
  const dryRun = args.includes("--dry-run");
596
- let jsonOutput = dryRun ? _chunkLV2DGEJ3js.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkLV2DGEJ3js.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunkXEQBYK4Bjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkXEQBYK4Bjs.argsWantJson.call(void 0, args);
597
597
  const fullJson = args.includes("--full");
598
598
  const force = args.includes("--force") || args.includes("--from-start");
599
599
  const forceToolRefresh = args.includes("--force-tool-refresh") || args.includes("--refresh-cache");
@@ -656,7 +656,7 @@ function parsePlayRunOptions(args, initialInput = null) {
656
656
  "--log-level requires one of: debug, info, warn, error."
657
657
  );
658
658
  }
659
- const parsed = _chunk5LBXLQRWjs.parseLogLevel.call(void 0, value);
659
+ const parsed = _chunkYS7AI7R6js.parseLogLevel.call(void 0, value);
660
660
  if (!parsed) {
661
661
  throw new Error(
662
662
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -780,12 +780,12 @@ function parsePlayRunOptions(args, initialInput = null) {
780
780
  }
781
781
  if (arg === "--debug" && args[index + 1] && !args[index + 1].startsWith("--")) {
782
782
  input ??= {};
783
- _chunkRNSHCJMEjs.setDottedInputValue.call(void 0, input, "debug", parseInputFlagValue(args[++index]));
783
+ _chunk6Y3DDRRNjs.setDottedInputValue.call(void 0, input, "debug", parseInputFlagValue(args[++index]));
784
784
  continue;
785
785
  }
786
786
  if (arg.startsWith("--debug=")) {
787
787
  input ??= {};
788
- _chunkRNSHCJMEjs.setDottedInputValue.call(void 0,
788
+ _chunk6Y3DDRRNjs.setDottedInputValue.call(void 0,
789
789
  input,
790
790
  "debug",
791
791
  parseInputFlagValue(arg.slice("--debug=".length))
@@ -813,7 +813,7 @@ function parsePlayRunOptions(args, initialInput = null) {
813
813
  if (arg.startsWith("--")) {
814
814
  const { path, value } = parseInputFieldFlag(arg, args[index + 1]);
815
815
  input ??= {};
816
- _chunkRNSHCJMEjs.setDottedInputValue.call(void 0, input, path, parseInputFlagValue(value));
816
+ _chunk6Y3DDRRNjs.setDottedInputValue.call(void 0, input, path, parseInputFlagValue(value));
817
817
  if (!arg.includes("=")) {
818
818
  index += 1;
819
819
  }
@@ -902,7 +902,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
902
902
  let initialInput = options.input === void 0 ? null : parseJsonInput(options.input);
903
903
  if (typeof options.debug === "string") {
904
904
  initialInput ??= {};
905
- _chunkRNSHCJMEjs.setDottedInputValue.call(void 0,
905
+ _chunk6Y3DDRRNjs.setDottedInputValue.call(void 0,
906
906
  initialInput,
907
907
  "debug",
908
908
  parseInputFlagValue(options.debug)
@@ -974,7 +974,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
974
974
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
975
975
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
976
976
  );
977
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunk5LBXLQRWjs.parseLogLevel.call(void 0, options.logLevel);
977
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkYS7AI7R6js.parseLogLevel.call(void 0, options.logLevel);
978
978
  if (!logLevel)
979
979
  throw new Error("--log-level requires one of: debug, info, warn, error.");
980
980
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -988,13 +988,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
988
988
  if (debugAlias || debugMapLatency && logLevel === "info")
989
989
  logLevel = "debug";
990
990
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
991
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkLV2DGEJ3js.parseJsonFields.call(void 0,
992
- [...fullJson ? ["--full"] : [], ..._chunkLV2DGEJ3js.jsonFieldArgs.call(void 0, options.json)],
991
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkXEQBYK4Bjs.parseJsonFields.call(void 0,
992
+ [...fullJson ? ["--full"] : [], ..._chunkXEQBYK4Bjs.jsonFieldArgs.call(void 0, options.json)],
993
993
  "run"
994
994
  ).fields;
995
995
  const watch = options.wait === false ? false : base.watch;
996
996
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
997
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkLV2DGEJ3js.argsWantJson.call(void 0, []) : explicitJson;
997
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkXEQBYK4Bjs.argsWantJson.call(void 0, []) : explicitJson;
998
998
  const verboseLogs = Boolean(
999
999
  debugAlias || logLevel === "debug" || debugMapLatency
1000
1000
  );
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-G6A7CGFV.mjs";
5
+ } from "./chunk-V46UBZBJ.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-6OIRN4PC.mjs";
8
+ } from "./chunk-ZFRN3B2R.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -4,20 +4,21 @@ import {
4
4
  resolveUpdatePlan,
5
5
  runAutomaticUpdatePlan,
6
6
  shouldRunCliAutoUpdate
7
- } from "./chunk-EVTD3ELD.mjs";
7
+ } from "./chunk-E7ZM2ZRD.mjs";
8
8
  import {
9
- isCiEnvironment
10
- } from "./chunk-54IH5U3I.mjs";
9
+ isCiEnvironment,
10
+ syncSdkSkillsIfNeeded
11
+ } from "./chunk-Z3KLCDCB.mjs";
11
12
  import {
12
13
  addJsonNotice,
13
14
  isJsonOutputMode
14
- } from "./chunk-G6A7CGFV.mjs";
15
+ } from "./chunk-V46UBZBJ.mjs";
15
16
  import {
16
17
  resolveApiKeyForBaseUrl
17
- } from "./chunk-6OIRN4PC.mjs";
18
+ } from "./chunk-ZFRN3B2R.mjs";
18
19
  import {
19
20
  SDK_VERSION
20
- } from "./chunk-6SSISVXD.mjs";
21
+ } from "./chunk-PVVWKOEB.mjs";
21
22
 
22
23
  // src/cli/compatibility-catalog.ts
23
24
  var readers = /* @__PURE__ */ new WeakMap();
@@ -231,6 +232,20 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
231
232
  installKind: plan.kind,
232
233
  exitCode: 0
233
234
  });
235
+ try {
236
+ await syncSdkSkillsIfNeeded(baseUrl, {
237
+ mode: "detached",
238
+ update: response.skills?.requires_cli_update ? void 0 : response.skills,
239
+ afterCliUpdate: {
240
+ sidecarPath: plan.kind === "python-sidecar" ? plan.sidecarPath : void 0
241
+ }
242
+ });
243
+ } catch (error) {
244
+ process.stderr.write(
245
+ `Deepline SDK/CLI updated, but could not start the skills refresh: ${error instanceof Error ? error.message : String(error)}
246
+ `
247
+ );
248
+ }
234
249
  const updateSummary = response.update_summary ? `
235
250
  What changed in ${response.update_summary.version}: ${response.update_summary.summary}` : "";
236
251
  process.stderr.write(
@@ -8,7 +8,7 @@ var _chunkWSGXBROEjs = require('./chunk-WSGXBROE.js');
8
8
  var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
9
9
 
10
10
 
11
- var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
11
+ var _chunkSQWET4SLjs = require('./chunk-SQWET4SL.js');
12
12
 
13
13
  // ../play-data-plane/column-names.ts
14
14
  var POSTGRES_IDENTIFIER_MAX_BYTES = 63;
@@ -164,7 +164,7 @@ async function awaitWithAbort(value, signal) {
164
164
  removeAbortListener();
165
165
  }
166
166
  }
167
- var CliPlayAdmissionUnsupportedError = class extends _chunkDIAWYWT5js.DeeplineError {
167
+ var CliPlayAdmissionUnsupportedError = class extends _chunkSQWET4SLjs.DeeplineError {
168
168
  constructor(status) {
169
169
  super(
170
170
  "This server does not support CLI Play admission.",
@@ -173,7 +173,7 @@ var CliPlayAdmissionUnsupportedError = class extends _chunkDIAWYWT5js.DeeplineEr
173
173
  );
174
174
  }
175
175
  };
176
- var CliPlayAdmissionCallerIntentV2UnsupportedError = class extends _chunkDIAWYWT5js.DeeplineError {
176
+ var CliPlayAdmissionCallerIntentV2UnsupportedError = class extends _chunkSQWET4SLjs.DeeplineError {
177
177
  constructor(status) {
178
178
  super(
179
179
  "This server does not support versioned CLI Play admission.",
@@ -230,7 +230,7 @@ async function preparePlayRunAdmission(http, request, onSubmission, options) {
230
230
  };
231
231
  const callerIntentV2 = _optionalChain([options, 'optionalAccess', _15 => _15.callerIntentV2]) === true;
232
232
  if (callerIntentV2 && (onSubmission || request.maxTotalCredits !== void 0)) {
233
- throw new (0, _chunkDIAWYWT5js.DeeplineError)(
233
+ throw new (0, _chunkSQWET4SLjs.DeeplineError)(
234
234
  "Versioned CLI Play admission requires a new, unjournaled run without a strict total budget.",
235
235
  409,
236
236
  "CLI_PLAY_CALLER_INTENT_V2_INELIGIBLE"
@@ -241,14 +241,14 @@ async function preparePlayRunAdmission(http, request, onSubmission, options) {
241
241
  const supportsCallerIntent = callerIntentV2 || _optionalChain([capability, 'optionalAccess', _16 => _16.admissionContract]) === "caller-intent-v1";
242
242
  assertAdmissionActive();
243
243
  if (supportsCallerIntent && !callerIntentV2 && (!_optionalChain([capability, 'optionalAccess', _17 => _17.orgId]) || request.admissionOrgId && request.admissionOrgId !== capability.orgId)) {
244
- throw new (0, _chunkDIAWYWT5js.DeeplineError)(
244
+ throw new (0, _chunkSQWET4SLjs.DeeplineError)(
245
245
  "The admission workspace could not be pinned to this request; execution was not submitted.",
246
246
  409,
247
247
  "PLAY_RUN_ADMISSION_TENANT_CONFLICT"
248
248
  );
249
249
  }
250
250
  if (request.workflowId && !supportsCallerIntent) {
251
- throw new (0, _chunkDIAWYWT5js.DeeplineError)(
251
+ throw new (0, _chunkSQWET4SLjs.DeeplineError)(
252
252
  "This server has not enabled caller-owned admission recovery. Do not retry an ambiguous start.",
253
253
  409,
254
254
  "PLAY_RUN_ADMISSION_RECOVERY_UNSUPPORTED"
@@ -256,20 +256,20 @@ async function preparePlayRunAdmission(http, request, onSubmission, options) {
256
256
  }
257
257
  if (request.maxTotalCredits !== void 0 && _optionalChain([capability, 'optionalAccess', _18 => _18.strictTotalBudget]) === "unbounded-v1") {
258
258
  if (request.maxTotalCredits === 0) {
259
- throw new (0, _chunkDIAWYWT5js.DeeplineError)(
259
+ throw new (0, _chunkSQWET4SLjs.DeeplineError)(
260
260
  "A zero-credit total budget cannot admit a Play: sandbox compute is billed even when provider tools are free.",
261
261
  422,
262
262
  "PLAY_TOTAL_BUDGET_COMPUTE_REQUIRED"
263
263
  );
264
264
  }
265
- throw new (0, _chunkDIAWYWT5js.DeeplineError)(
265
+ throw new (0, _chunkSQWET4SLjs.DeeplineError)(
266
266
  "A strict total Play budget cannot currently be admitted: provider operations, Customer DB compute, and additional sandbox sessions do not have a finite admitted upper bound.",
267
267
  422,
268
268
  "PLAY_TOTAL_BUDGET_UNBOUNDED"
269
269
  );
270
270
  }
271
271
  if (request.maxTotalCredits !== void 0 && _optionalChain([capability, 'optionalAccess', _19 => _19.strictTotalBudget]) !== "fail-closed-v1") {
272
- throw new (0, _chunkDIAWYWT5js.DeeplineError)(
272
+ throw new (0, _chunkSQWET4SLjs.DeeplineError)(
273
273
  "This server cannot honor a strict total Play budget. Execution was not submitted.",
274
274
  409,
275
275
  "PLAY_TOTAL_BUDGET_UNSUPPORTED"
@@ -286,7 +286,7 @@ async function preparePlayRunAdmission(http, request, onSubmission, options) {
286
286
  const workflowId = supportsCallerIntent ? _nullishCoalesce(request.workflowId, () => ( _chunkWSGXBROEjs.buildCallerPlayWorkflowId.call(void 0, _nullishCoalesce(request.name, () => ( "play")), wireBody))) : void 0;
287
287
  const submittedBody = workflowId ? { workflowId, ...wireBody } : wireBody;
288
288
  if (workflowId && !_chunkWSGXBROEjs.callerPlayWorkflowIdMatchesRequest.call(void 0, workflowId, submittedBody)) {
289
- throw new (0, _chunkDIAWYWT5js.DeeplineError)(
289
+ throw new (0, _chunkSQWET4SLjs.DeeplineError)(
290
290
  "workflowId must be the caller run ID of this same immutable request.",
291
291
  400,
292
292
  "PLAY_RUN_START_INTENT_CONFLICT"
@@ -294,7 +294,7 @@ async function preparePlayRunAdmission(http, request, onSubmission, options) {
294
294
  }
295
295
  if (onSubmission) {
296
296
  if (!workflowId || !_optionalChain([capability, 'optionalAccess', _20 => _20.orgId])) {
297
- throw new (0, _chunkDIAWYWT5js.DeeplineError)(
297
+ throw new (0, _chunkSQWET4SLjs.DeeplineError)(
298
298
  "This server cannot persist a recoverable submission intent. Execution was not submitted.",
299
299
  409,
300
300
  "PLAY_RUN_ADMISSION_RECOVERY_UNSUPPORTED"
@@ -318,14 +318,14 @@ async function readPlayRunAdmissionCapability(http, options) {
318
318
  options
319
319
  );
320
320
  } catch (error) {
321
- if (!(error instanceof _chunkDIAWYWT5js.DeeplineError) || ![404, 405].includes(_nullishCoalesce(error.statusCode, () => ( 0)))) {
321
+ if (!(error instanceof _chunkSQWET4SLjs.DeeplineError) || ![404, 405].includes(_nullishCoalesce(error.statusCode, () => ( 0)))) {
322
322
  throw error;
323
323
  }
324
324
  }
325
325
  if (capability && !["caller-intent-v1", "unsupported"].includes(
326
326
  _nullishCoalesce(capability.admissionContract, () => ( ""))
327
327
  )) {
328
- throw new (0, _chunkDIAWYWT5js.DeeplineError)(
328
+ throw new (0, _chunkSQWET4SLjs.DeeplineError)(
329
329
  "The server admission capability response is unknown; execution was not submitted.",
330
330
  503,
331
331
  "PLAY_RUN_ADMISSION_CAPABILITY_UNKNOWN"
@@ -378,22 +378,22 @@ async function submitPreparedPlayRunAdmission(http, submittedBody, workflowId, s
378
378
  }
379
379
  );
380
380
  } catch (error) {
381
- if (_optionalChain([options, 'optionalAccess', _27 => _27.callerIntentV2]) && !callerIntentV2Supported && error instanceof _chunkDIAWYWT5js.DeeplineError && (error.statusCode === 404 || error.statusCode === 405)) {
381
+ if (_optionalChain([options, 'optionalAccess', _27 => _27.callerIntentV2]) && !callerIntentV2Supported && error instanceof _chunkSQWET4SLjs.DeeplineError && (error.statusCode === 404 || error.statusCode === 405)) {
382
382
  throw new CliPlayAdmissionCallerIntentV2UnsupportedError(
383
383
  error.statusCode
384
384
  );
385
385
  }
386
- if (_optionalChain([options, 'optionalAccess', _28 => _28.cliAdmission]) && !cliAdmissionSupported && error instanceof _chunkDIAWYWT5js.DeeplineError && (error.statusCode === 404 || error.statusCode === 405)) {
386
+ if (_optionalChain([options, 'optionalAccess', _28 => _28.cliAdmission]) && !cliAdmissionSupported && error instanceof _chunkSQWET4SLjs.DeeplineError && (error.statusCode === 404 || error.statusCode === 405)) {
387
387
  throw new CliPlayAdmissionUnsupportedError(error.statusCode);
388
388
  }
389
- if (error instanceof _chunkDIAWYWT5js.DeeplineError && ["NETWORK_TIMEOUT", "NETWORK_ERROR", "FETCH_FAILED"].includes(
389
+ if (error instanceof _chunkSQWET4SLjs.DeeplineError && ["NETWORK_TIMEOUT", "NETWORK_ERROR", "FETCH_FAILED"].includes(
390
390
  _nullishCoalesce(error.code, () => ( ""))
391
391
  ) || error instanceof TypeError || error instanceof Error && ["AbortError", "TimeoutError"].includes(error.name)) {
392
392
  const originalMessage = error instanceof Error ? error.message : "Transport failed";
393
- const failure = new (0, _chunkDIAWYWT5js.DeeplineError)(
393
+ const failure = new (0, _chunkSQWET4SLjs.DeeplineError)(
394
394
  workflowId ? `${originalMessage} Admission outcome is unknown for ${workflowId}. Inspect this run before retrying; reuse this workflowId for the same immutable request.` : `${originalMessage} Admission outcome is unknown. This server did not prove caller-owned recovery support; inspect existing runs before starting again.`,
395
- error instanceof _chunkDIAWYWT5js.DeeplineError ? error.statusCode : void 0,
396
- error instanceof _chunkDIAWYWT5js.DeeplineError ? error.code : "NETWORK_ERROR",
395
+ error instanceof _chunkSQWET4SLjs.DeeplineError ? error.statusCode : void 0,
396
+ error instanceof _chunkSQWET4SLjs.DeeplineError ? error.code : "NETWORK_ERROR",
397
397
  {
398
398
  ...workflowId ? { runId: workflowId, workflowId } : {},
399
399
  admissionState: "unknown",
@@ -409,7 +409,7 @@ async function submitPreparedPlayRunAdmission(http, submittedBody, workflowId, s
409
409
  throw error;
410
410
  }
411
411
  if (_optionalChain([options, 'optionalAccess', _29 => _29.callerIntentV2]) && !callerIntentV2Supported) {
412
- throw new (0, _chunkDIAWYWT5js.DeeplineError)(
412
+ throw new (0, _chunkSQWET4SLjs.DeeplineError)(
413
413
  "The versioned CLI Play admission response did not prove its contract. Inspect this run before submitting again.",
414
414
  void 0,
415
415
  "PLAY_RUN_ADMISSION_CONTRACT_UNKNOWN",
@@ -422,7 +422,7 @@ async function submitPreparedPlayRunAdmission(http, submittedBody, workflowId, s
422
422
  }
423
423
  const started = normalizePlayRunStart(response);
424
424
  if (_optionalChain([options, 'optionalAccess', _30 => _30.cliAdmission]) && (!started.workflowId || started.workflowId === "pending")) {
425
- throw new (0, _chunkDIAWYWT5js.DeeplineError)(
425
+ throw new (0, _chunkSQWET4SLjs.DeeplineError)(
426
426
  "Play admission returned no run id. Check recent runs before submitting again.",
427
427
  void 0,
428
428
  "PLAY_START_MISSING_RUN_ID"
@@ -572,10 +572,10 @@ function stagedUploadIdentity(logicalPath, contentHash) {
572
572
  return `${contentHash}:${logicalPath}`;
573
573
  }
574
574
  function isStagedUploadMintUnsupported(error) {
575
- return error instanceof _chunkDIAWYWT5js.DeeplineError && error.statusCode === 404;
575
+ return error instanceof _chunkSQWET4SLjs.DeeplineError && error.statusCode === 404;
576
576
  }
577
577
  function isStagedUploadDirectEgressDenied(error) {
578
- return error instanceof _chunkDIAWYWT5js.DeeplineError && error.code === "STAGED_FILE_UPLOAD_EGRESS_DENIED";
578
+ return error instanceof _chunkSQWET4SLjs.DeeplineError && error.code === "STAGED_FILE_UPLOAD_EGRESS_DENIED";
579
579
  }
580
580
  function formatMegabytes(bytes) {
581
581
  return `${(bytes / (1024 * 1024)).toFixed(1)} MB`;
@@ -606,7 +606,7 @@ async function uploadStagedFileToPresignedUrl(input) {
606
606
  }
607
607
  const text = await response.text().catch(() => "");
608
608
  const egressDenied = response.status === 403 && _optionalChain([response, 'access', _34 => _34.headers, 'access', _35 => _35.get, 'call', _36 => _36("x-deny-reason"), 'optionalAccess', _37 => _37.trim, 'call', _38 => _38(), 'access', _39 => _39.toLowerCase, 'call', _40 => _40()]) === "host_not_allowed";
609
- lastError = new (0, _chunkDIAWYWT5js.DeeplineError)(
609
+ lastError = new (0, _chunkSQWET4SLjs.DeeplineError)(
610
610
  `Direct storage upload of ${input.logicalPath} failed: ${response.status} ${text.slice(0, 200)}`,
611
611
  response.status,
612
612
  egressDenied ? "STAGED_FILE_UPLOAD_EGRESS_DENIED" : "STAGED_FILE_UPLOAD_FAILED",
@@ -616,7 +616,7 @@ async function uploadStagedFileToPresignedUrl(input) {
616
616
  break;
617
617
  }
618
618
  } catch (error) {
619
- lastError = error instanceof TypeError ? new (0, _chunkDIAWYWT5js.DeeplineError)(
619
+ lastError = error instanceof TypeError ? new (0, _chunkSQWET4SLjs.DeeplineError)(
620
620
  `Direct storage upload of ${input.logicalPath} could not reach the storage endpoint: ${error.message}`,
621
621
  void 0,
622
622
  "STAGED_FILE_UPLOAD_EGRESS_DENIED",
@@ -627,7 +627,7 @@ async function uploadStagedFileToPresignedUrl(input) {
627
627
  await sleep(250 * attempt);
628
628
  }
629
629
  }
630
- throw lastError instanceof Error ? lastError : new (0, _chunkDIAWYWT5js.DeeplineError)(
630
+ throw lastError instanceof Error ? lastError : new (0, _chunkSQWET4SLjs.DeeplineError)(
631
631
  `Direct storage upload of ${input.logicalPath} failed.`,
632
632
  void 0,
633
633
  "STAGED_FILE_UPLOAD_FAILED",
@@ -642,7 +642,7 @@ async function stagePlayFilesViaMultipart(http, files, reason = "mint-unsupporte
642
642
  for (const file of files) {
643
643
  if (file.bytes > STAGE_LEGACY_MULTIPART_MAX_BYTES) {
644
644
  const reasonMessage = reason === "direct-egress-denied" ? "direct storage is blocked by this environment's network egress policy" : "the connected Deepline server does not support direct-to-storage uploads";
645
- throw new (0, _chunkDIAWYWT5js.DeeplineError)(
645
+ throw new (0, _chunkSQWET4SLjs.DeeplineError)(
646
646
  `Cannot stage ${file.logicalPath} (${formatMegabytes(file.bytes)}): ${reasonMessage}, and this file exceeds the ~4.5MB request-body limit the legacy upload path is subject to.`,
647
647
  413,
648
648
  "STAGED_FILE_TOO_LARGE_FOR_LEGACY_UPLOAD",
@@ -716,7 +716,7 @@ async function stagePlayFiles(http, files) {
716
716
  stagedUploadIdentity(file.logicalPath, file.contentHash)
717
717
  );
718
718
  if (!upload) {
719
- throw new (0, _chunkDIAWYWT5js.DeeplineError)(
719
+ throw new (0, _chunkSQWET4SLjs.DeeplineError)(
720
720
  `The staging server did not return an upload target for ${file.logicalPath}.`,
721
721
  void 0,
722
722
  "STAGED_FILE_MINT_INCOMPLETE"
@@ -752,7 +752,7 @@ async function stagePlayFiles(http, files) {
752
752
  "direct-egress-denied"
753
753
  );
754
754
  if (!ref) {
755
- throw new (0, _chunkDIAWYWT5js.DeeplineError)(
755
+ throw new (0, _chunkSQWET4SLjs.DeeplineError)(
756
756
  `The staging server did not return an upload target for ${result.fallbackFile.logicalPath}.`,
757
757
  void 0,
758
758
  "STAGED_FILE_MINT_INCOMPLETE"
@@ -820,7 +820,7 @@ function createSessionPlayRunHttp(fetchImpl = (...args) => fetch(...args)) {
820
820
  } catch (e) {
821
821
  }
822
822
  if (!response.ok) {
823
- throw new (0, _chunkDIAWYWT5js.DeeplineError)(
823
+ throw new (0, _chunkSQWET4SLjs.DeeplineError)(
824
824
  _chunkXNYIZMNQjs.apiErrorMessage.call(void 0, parsed, response.status),
825
825
  response.status,
826
826
  _chunkXNYIZMNQjs.apiErrorCodeFromResponse.call(void 0, parsed),
@@ -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 _chunkRLVSWAWBjs = require('./chunk-RLVSWAWB.js');
3
+ var _chunkN6Q5SDGAjs = require('./chunk-N6Q5SDGA.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 = _chunkRLVSWAWBjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkN6Q5SDGAjs.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,
@@ -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 _chunk5LBXLQRWjs = require('./chunk-5LBXLQRW.js');
3
+ var _chunkYS7AI7R6js = require('./chunk-YS7AI7R6.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkA253CMOIjs = require('./chunk-A253CMOI.js');
7
+ var _chunkQUSYG3VPjs = require('./chunk-QUSYG3VP.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 = _chunkA253CMOIjs.resolveConfig.call(void 0, options);
141
- return new (0, _chunk5LBXLQRWjs.PlayClient)(
142
- new (0, _chunkA253CMOIjs.HttpClient)(config),
140
+ const config = _chunkQUSYG3VPjs.resolveConfig.call(void 0, options);
141
+ return new (0, _chunkYS7AI7R6js.PlayClient)(
142
+ new (0, _chunkQUSYG3VPjs.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }
@@ -8,7 +8,7 @@ import {
8
8
  csvStringFromRows,
9
9
  markJsonOutputHandled,
10
10
  writeRawStderr
11
- } from "./chunk-G6A7CGFV.mjs";
11
+ } from "./chunk-V46UBZBJ.mjs";
12
12
 
13
13
  // src/cli/describe-options.ts
14
14
  function addDescribeOptions(command, options = {}) {