deepline 0.3.493 → 0.3.495

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 (158) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +12 -0
  2. package/dist/bundling-sources/sdk/src/release.ts +2 -2
  3. package/dist/bundling-sources/sdk/src/types.ts +5 -4
  4. package/dist/bundling-sources/shared_libs/play-runtime/execution-capabilities.ts +8 -3
  5. package/dist/bundling-sources/shared_libs/play-runtime/runtime-authority.ts +2 -2
  6. package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +15 -0
  7. package/dist/bundling-sources/shared_libs/plays/field-catalog.ts +101 -3
  8. package/dist/cli/{auth-3NAY3AST.mjs → auth-B2YUNFQ6.mjs} +5 -5
  9. package/dist/cli/auth-GAOWVOK4.js +43 -0
  10. package/dist/cli/{billing-FSB4BBBO.js → billing-2Q7TMNRE.js} +79 -79
  11. package/dist/cli/{billing-SBWQCC7B.mjs → billing-5TR7ZBZM.mjs} +6 -6
  12. package/dist/cli/{chunk-3RGWTKK3.mjs → chunk-2GEYN3H4.mjs} +89 -3
  13. package/dist/cli/{chunk-IRDYBMA7.mjs → chunk-2HCZHIMT.mjs} +21 -0
  14. package/dist/cli/{chunk-WCZFCOMZ.js → chunk-5OKQPDYJ.js} +11 -10
  15. package/dist/cli/{chunk-DYP27IWC.mjs → chunk-7LLUJQM5.mjs} +4 -4
  16. package/dist/cli/{chunk-IJOHWGPF.js → chunk-7OGADAAA.js} +6 -6
  17. package/dist/cli/{chunk-2BRTYIAH.mjs → chunk-7YNZRALI.mjs} +3 -3
  18. package/dist/cli/{chunk-MLEUOTEQ.js → chunk-ACVT5LPN.js} +53 -53
  19. package/dist/cli/{chunk-IOMEJKGK.js → chunk-B3ROCZ5Y.js} +2 -2
  20. package/dist/cli/{chunk-NPZBE64X.js → chunk-BLMB4N63.js} +89 -3
  21. package/dist/cli/{chunk-KGDDQMI7.mjs → chunk-C5R3UH5V.mjs} +28 -1
  22. package/dist/cli/{chunk-QTPS5RLG.js → chunk-CAWE3MS2.js} +45 -13
  23. package/dist/cli/{chunk-NALJJTPS.mjs → chunk-CKLJAQIV.mjs} +5 -5
  24. package/dist/cli/{chunk-NPNAEPY4.js → chunk-CTFR52JC.js} +26 -26
  25. package/dist/cli/{chunk-KKSKYZO4.mjs → chunk-DFK5IJMT.mjs} +2 -2
  26. package/dist/cli/{chunk-4NIGNT7X.mjs → chunk-FC4JGTFC.mjs} +1 -1
  27. package/dist/cli/{chunk-TNQOR6XQ.mjs → chunk-FLJSK32S.mjs} +1 -1
  28. package/dist/cli/{chunk-TIFRRLZT.js → chunk-GBICEYUA.js} +6 -6
  29. package/dist/cli/{chunk-ZQH4TXM2.mjs → chunk-H5L2Q2GI.mjs} +2 -2
  30. package/dist/cli/{chunk-Y3NN2UAF.mjs → chunk-HJ5LYO6U.mjs} +2 -2
  31. package/dist/cli/{chunk-C2MRDPA5.js → chunk-I42EOZKQ.js} +32 -5
  32. package/dist/cli/{chunk-3QGUWB6E.mjs → chunk-I66IWCY4.mjs} +8 -7
  33. package/dist/cli/{chunk-VFHIYWMC.mjs → chunk-JRBQC6L4.mjs} +2 -2
  34. package/dist/cli/{chunk-67ZG7XZV.mjs → chunk-KG2FUYWB.mjs} +2 -2
  35. package/dist/cli/{chunk-5WOPBX3H.mjs → chunk-KSHAFYYG.mjs} +1 -1
  36. package/dist/cli/{chunk-SXD2EYAH.mjs → chunk-L5ZXEYTQ.mjs} +37 -5
  37. package/dist/cli/{chunk-KCDZWS2B.js → chunk-LQKZG5RN.js} +231 -231
  38. package/dist/cli/{chunk-2I7VN65H.js → chunk-MAMEKGLI.js} +7 -7
  39. package/dist/cli/{chunk-2IHGVAGT.mjs → chunk-MG3WST3Z.mjs} +2 -2
  40. package/dist/cli/{chunk-DWJ4RXSA.js → chunk-N3T3L3WW.js} +21 -0
  41. package/dist/cli/{chunk-5DIZ2G74.mjs → chunk-OFBDI5S3.mjs} +2 -2
  42. package/dist/cli/{chunk-UCMY2SO2.js → chunk-PEIOQKTA.js} +3 -3
  43. package/dist/cli/{chunk-NWIDPT7H.js → chunk-PHO53W67.js} +4 -4
  44. package/dist/cli/{chunk-E5ILCMKQ.mjs → chunk-RBBOUPME.mjs} +1 -1
  45. package/dist/cli/{chunk-HLM2UFQ5.mjs → chunk-S2QARJLX.mjs} +1 -1
  46. package/dist/cli/{chunk-GSC35TPZ.mjs → chunk-SC5GHGFD.mjs} +2 -2
  47. package/dist/cli/{chunk-ZVW7EWTC.mjs → chunk-SR6VS5PG.mjs} +184 -184
  48. package/dist/cli/{chunk-EFO5GVYS.js → chunk-T4PGA6UD.js} +2 -2
  49. package/dist/cli/{chunk-AGTXL6LZ.js → chunk-TCNILHMS.js} +5 -5
  50. package/dist/cli/{chunk-ZVXB7OU7.mjs → chunk-TFMV3NKL.mjs} +1 -1
  51. package/dist/cli/{chunk-4IJFQV3O.mjs → chunk-TMO7W4P2.mjs} +1 -1
  52. package/dist/cli/{chunk-WTFI7BVH.mjs → chunk-TSKVPEVZ.mjs} +8 -1
  53. package/dist/cli/{chunk-HTUSTPP4.js → chunk-TUAEM76Y.js} +14 -7
  54. package/dist/cli/{chunk-EYG336YV.js → chunk-UDFO2MWA.js} +41 -41
  55. package/dist/cli/{chunk-2NGIBJM2.js → chunk-UKGOZOTT.js} +8 -8
  56. package/dist/cli/{chunk-7HABWOMB.js → chunk-UMFZQREB.js} +259 -259
  57. package/dist/cli/{chunk-XLE7KXE7.js → chunk-WVL5HGUG.js} +2 -2
  58. package/dist/cli/{chunk-XQX476QK.js → chunk-XAOLMEN5.js} +9 -9
  59. package/dist/cli/{chunk-AWMCZAUR.js → chunk-XKYQR3QK.js} +3 -3
  60. package/dist/cli/{chunk-IJJ6D5WL.mjs → chunk-XR6RCBB3.mjs} +11 -11
  61. package/dist/cli/{chunk-IOBPR2VO.js → chunk-XX6PRYFI.js} +16 -16
  62. package/dist/cli/{chunk-LGTZYI5B.js → chunk-Y2DUGUUU.js} +21 -21
  63. package/dist/cli/{chunk-2H4OFVR5.js → chunk-Z33PZUWG.js} +5 -5
  64. package/dist/cli/{chunk-EBAS3UT2.mjs → chunk-ZB6UYG5I.mjs} +5 -5
  65. package/dist/cli/{chunk-JO2JZUBR.js → chunk-ZBQBH4IT.js} +3 -3
  66. package/dist/cli/command-docs.js +2 -2
  67. package/dist/cli/command-docs.mjs +1 -1
  68. package/dist/cli/{csv-XR22YQXT.mjs → csv-5UQXKWLE.mjs} +4 -4
  69. package/dist/cli/{csv-DKYZE2KM.js → csv-DZQ77T67.js} +13 -13
  70. package/dist/cli/{db-EOKG36YN.mjs → db-F62BVFTP.mjs} +6 -6
  71. package/dist/cli/{db-RNYRTCMV.js → db-JIPLUHA6.js} +27 -27
  72. package/dist/cli/describe-BA4RAZ7J.js +50 -0
  73. package/dist/cli/{describe-ICFXOQBW.mjs → describe-J7KYHONJ.mjs} +20 -20
  74. package/dist/cli/describe-core.d.mts +5 -11
  75. package/dist/cli/describe-core.d.ts +5 -11
  76. package/dist/cli/describe-core.js +4 -4
  77. package/dist/cli/describe-core.mjs +3 -3
  78. package/dist/cli/{executions-3RAOACNS.mjs → executions-XB4F2KZD.mjs} +6 -6
  79. package/dist/cli/{executions-OBWPSWH7.js → executions-XQ4FNJ27.js} +8 -8
  80. package/dist/cli/{feedback-6EQRVBKF.mjs → feedback-5CR4CJ6W.mjs} +4 -4
  81. package/dist/cli/{feedback-6GPEUBLF.js → feedback-Q6JRCMDV.js} +8 -8
  82. package/dist/cli/git-EAO432S2.js +25 -0
  83. package/dist/cli/{git-CVQ24DTR.mjs → git-P5WBBUT3.mjs} +5 -5
  84. package/dist/cli/index.js +141 -141
  85. package/dist/cli/index.mjs +41 -41
  86. package/dist/cli/{legacy-noops-XPOATG5V.js → legacy-noops-EJAB6III.js} +8 -8
  87. package/dist/cli/{legacy-noops-QULJZYNH.mjs → legacy-noops-H5JJVYZ2.mjs} +5 -5
  88. package/dist/cli/{monitors-OJ4CMREE.js → monitors-7DOGM7RO.js} +91 -91
  89. package/dist/cli/{monitors-AFT5YJPZ.mjs → monitors-QPFAT2J5.mjs} +7 -7
  90. package/dist/cli/{org-WHKNXANG.mjs → org-BH7ATDIJ.mjs} +6 -6
  91. package/dist/cli/{org-RKT52CSL.js → org-QOBB4IN3.js} +72 -72
  92. package/dist/cli/{pages-EEAQFGVD.mjs → pages-PJH2TXZQ.mjs} +20 -6
  93. package/dist/cli/{pages-SOE3R667.js → pages-PLTE54KM.js} +32 -18
  94. package/dist/cli/{play-LXFWHUBP.mjs → play-ULTJ3LPA.mjs} +17 -17
  95. package/dist/cli/{play-OTJJ4E4T.js → play-XZAPTF3T.js} +314 -314
  96. package/dist/cli/{providers-U3CPKTMM.mjs → providers-6NUTRVE4.mjs} +6 -6
  97. package/dist/cli/{providers-RU4HIAT3.js → providers-SKXLW7M3.js} +9 -9
  98. package/dist/cli/{quickstart-75AO2AJC.mjs → quickstart-5HMJMXVT.mjs} +4 -4
  99. package/dist/cli/{quickstart-N72IVA2Y.js → quickstart-JFCIIGII.js} +6 -6
  100. package/dist/cli/{run-IGWFL6WH.mjs → run-2BJZPY4K.mjs} +25 -25
  101. package/dist/cli/{run-MMYES3IW.js → run-BRAXLCBC.js} +40 -40
  102. package/dist/cli/search-4MU2G6HV.js +32 -0
  103. package/dist/cli/{search-FIYESBLZ.mjs → search-IDXSB2CV.mjs} +7 -7
  104. package/dist/cli/{search-output-3I5KSW36.mjs → search-output-AATMH4QG.mjs} +4 -4
  105. package/dist/cli/{search-output-2FXN4ZWD.js → search-output-CJ4TNYF7.js} +6 -6
  106. package/dist/cli/{secrets-HCZQ6JNP.js → secrets-6SMKTBFT.js} +15 -15
  107. package/dist/cli/{secrets-O7IUQ3VT.mjs → secrets-UQNEJSNG.mjs} +6 -6
  108. package/dist/cli/{sessions-KY7A3EZO.mjs → sessions-MHTUVPSR.mjs} +5 -5
  109. package/dist/cli/{sessions-5AYTT4IW.js → sessions-W3KU4Q4X.js} +6 -6
  110. package/dist/cli/{settings-P4VFYWJK.js → settings-BA52NEU5.js} +78 -78
  111. package/dist/cli/{settings-WSMRR2GS.mjs → settings-KNYJ6GXK.mjs} +11 -11
  112. package/dist/cli/{setup-J7CA3EJL.js → setup-D5HCJAVU.js} +49 -49
  113. package/dist/cli/{setup-YTVKVQC7.mjs → setup-TLTZ2YCO.mjs} +9 -9
  114. package/dist/cli/{skills-W5WY764N.mjs → skills-DPLM4EGS.mjs} +7 -7
  115. package/dist/cli/skills-SVUWVXCE.js +36 -0
  116. package/dist/cli/{tools-YECI6N3N.mjs → tools-I4ZOJV23.mjs} +18 -18
  117. package/dist/cli/tools-RJSP76HX.js +57 -0
  118. package/dist/cli/{update-BIFBIEII.mjs → update-VIFS7IK5.mjs} +9 -9
  119. package/dist/cli/update-YT6JPIC6.js +34 -0
  120. package/dist/cli/{workflow-D2TUFFH6.js → workflow-7REPOHXM.js} +17 -17
  121. package/dist/cli/{workflow-XZVDNARC.mjs → workflow-TAQBNDV7.mjs} +7 -7
  122. package/dist/{client-CNzJ1LTF.d.mts → client-BDT_LwuM.d.mts} +1 -1
  123. package/dist/{client-BDB_VbE4.d.ts → client-CKVH6tmp.d.ts} +1 -1
  124. package/dist/{client-core-CSv3DlPD.d.mts → client-core-CEixe_C0.d.mts} +10 -5
  125. package/dist/{client-core-xEa9x3pl.d.ts → client-core-RS-d-vtY.d.ts} +10 -5
  126. package/dist/{compiler-manifest-BFTwq1HI.d.ts → compiler-manifest-CPEF48NM.d.mts} +91 -0
  127. package/dist/{compiler-manifest-BFTwq1HI.d.mts → compiler-manifest-CPEF48NM.d.ts} +91 -0
  128. package/dist/{errors-c3pMsylw.d.ts → errors-B-PJXveg.d.ts} +1 -1
  129. package/dist/{errors-w31ybrQM.d.mts → errors-BWbPzqwo.d.mts} +1 -1
  130. package/dist/{index-DvNtxucX.d.mts → index-BJ8AA1F9.d.mts} +1 -1
  131. package/dist/{index-CQ-15-QL.d.ts → index-CvVxPpE8.d.ts} +1 -1
  132. package/dist/index.d.mts +7 -7
  133. package/dist/index.d.ts +7 -7
  134. package/dist/index.js +26 -18
  135. package/dist/index.mjs +15 -7
  136. package/dist/install-integrity.json +116 -116
  137. package/dist/plays/bundle-play-file.d.mts +3 -3
  138. package/dist/plays/bundle-play-file.d.ts +3 -3
  139. package/dist/plays/play-description.d.mts +2 -2
  140. package/dist/plays/play-description.d.ts +2 -2
  141. package/dist/plays/run-request.d.mts +2 -2
  142. package/dist/plays/run-request.d.ts +2 -2
  143. package/dist/release.d.mts +2 -2
  144. package/dist/release.d.ts +2 -2
  145. package/dist/release.js +2 -2
  146. package/dist/release.mjs +1 -1
  147. package/dist/server.d.mts +4 -4
  148. package/dist/server.d.ts +4 -4
  149. package/dist/server.js +5 -5
  150. package/dist/server.mjs +3 -3
  151. package/package.json +1 -1
  152. package/dist/cli/auth-KYQLDI6V.js +0 -43
  153. package/dist/cli/describe-RS75I33X.js +0 -50
  154. package/dist/cli/git-DEFE4SSB.js +0 -25
  155. package/dist/cli/search-EQURI7SZ.js +0 -32
  156. package/dist/cli/skills-KKPEGLAR.js +0 -36
  157. package/dist/cli/tools-65Y4QTW6.js +0 -57
  158. package/dist/cli/update-WDG7VFOW.js +0 -34
@@ -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 _chunkKCDZWS2Bjs = require('./chunk-KCDZWS2B.js');
3
+ var _chunkLQKZG5RNjs = require('./chunk-LQKZG5RN.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 = _chunkKCDZWS2Bjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkLQKZG5RNjs.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,
@@ -3,7 +3,7 @@
3
3
  var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
4
4
 
5
5
 
6
- var _chunkHTUSTPP4js = require('./chunk-HTUSTPP4.js');
6
+ var _chunkTUAEM76Yjs = require('./chunk-TUAEM76Y.js');
7
7
 
8
8
 
9
9
  var _chunkPKV5CD3Wjs = require('./chunk-PKV5CD3W.js');
@@ -11,7 +11,7 @@ var _chunkPKV5CD3Wjs = require('./chunk-PKV5CD3W.js');
11
11
 
12
12
 
13
13
 
14
- var _chunk2I7VN65Hjs = require('./chunk-2I7VN65H.js');
14
+ var _chunkMAMEKGLIjs = require('./chunk-MAMEKGLI.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 = _chunk2I7VN65Hjs.parseJsonFields.call(void 0, args, "run");
582
+ const selection = _chunkMAMEKGLIjs.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 ? _chunk2I7VN65Hjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunk2I7VN65Hjs.argsWantJson.call(void 0, args);
594
+ let jsonOutput = dryRun ? _chunkMAMEKGLIjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkMAMEKGLIjs.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 = _chunkHTUSTPP4js.parseLogLevel.call(void 0, value);
657
+ const parsed = _chunkTUAEM76Yjs.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 : _chunkHTUSTPP4js.parseLogLevel.call(void 0, options.logLevel);
975
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkTUAEM76Yjs.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 : _chunk2I7VN65Hjs.parseJsonFields.call(void 0,
990
- [...fullJson ? ["--full"] : [], ..._chunk2I7VN65Hjs.jsonFieldArgs.call(void 0, options.json)],
989
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkMAMEKGLIjs.parseJsonFields.call(void 0,
990
+ [...fullJson ? ["--full"] : [], ..._chunkMAMEKGLIjs.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 || _chunk2I7VN65Hjs.argsWantJson.call(void 0, []) : explicitJson;
995
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkMAMEKGLIjs.argsWantJson.call(void 0, []) : explicitJson;
996
996
  const verboseLogs = Boolean(
997
997
  debugAlias || logLevel === "debug" || debugMapLatency
998
998
  );
@@ -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 _chunk2I7VN65Hjs = require('./chunk-2I7VN65H.js');
3
+ var _chunkMAMEKGLIjs = require('./chunk-MAMEKGLI.js');
4
4
 
5
5
  // src/cli/progress.ts
6
6
  var _worker_threads = require('worker_threads');
@@ -19,7 +19,7 @@ var CliProgress = (_class = class {
19
19
  __init9() {this.quiet = false}
20
20
  // --json output is one JSON document: progress never renders under it.
21
21
  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);_class.prototype.__init9.call(this);
22
- this.enabled = enabled && !_chunk2I7VN65Hjs.isJsonOutputMode.call(void 0, );
22
+ this.enabled = enabled && !_chunkMAMEKGLIjs.isJsonOutputMode.call(void 0, );
23
23
  }
24
24
  setLogWriter(writer) {
25
25
  this.logWriter = writer;
@@ -59,7 +59,7 @@ var CliProgress = (_class = class {
59
59
  this.logWriter(line);
60
60
  return;
61
61
  }
62
- if (_chunk2I7VN65Hjs.isJsonOutputMode.call(void 0, )) return;
62
+ if (_chunkMAMEKGLIjs.isJsonOutputMode.call(void 0, )) return;
63
63
  if (!this.enabled) {
64
64
  process.stderr.write(`${line}
65
65
  `);
@@ -2,11 +2,11 @@ import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse,
4
4
  writeExecutionOutput
5
- } from "./chunk-HLM2UFQ5.mjs";
5
+ } from "./chunk-S2QARJLX.mjs";
6
6
  import {
7
7
  recentSearchRef,
8
8
  registerDeprecatedSearchCommand
9
- } from "./chunk-3QGUWB6E.mjs";
9
+ } from "./chunk-I66IWCY4.mjs";
10
10
  import {
11
11
  arrayField,
12
12
  formatModelDescription,
@@ -25,7 +25,7 @@ import {
25
25
  toolInputFieldsForDisplay,
26
26
  toolMetadataJsonForDescribe,
27
27
  toolOutputFieldsForDisplay
28
- } from "./chunk-5WOPBX3H.mjs";
28
+ } from "./chunk-KSHAFYYG.mjs";
29
29
  import {
30
30
  rateLimitQualifier
31
31
  } from "./chunk-SAW3FBCA.mjs";
@@ -48,10 +48,10 @@ import {
48
48
  } from "./chunk-FIVKWNMT.mjs";
49
49
  import {
50
50
  DeeplineClient
51
- } from "./chunk-GSC35TPZ.mjs";
51
+ } from "./chunk-SC5GHGFD.mjs";
52
52
  import {
53
53
  validateExecutionIdempotencyKey
54
- } from "./chunk-WTFI7BVH.mjs";
54
+ } from "./chunk-TSKVPEVZ.mjs";
55
55
  import {
56
56
  stableStringify
57
57
  } from "./chunk-UBKA33KY.mjs";
@@ -61,18 +61,18 @@ import {
61
61
  maybeAutoUpdateAndRelaunch,
62
62
  registerCompatibilityCatalog,
63
63
  runToolExecuteStage
64
- } from "./chunk-NALJJTPS.mjs";
64
+ } from "./chunk-CKLJAQIV.mjs";
65
65
  import {
66
66
  isCliTraceEnabled,
67
67
  recordCliTrace,
68
68
  resolveCliMaintenancePolicy
69
- } from "./chunk-ZVXB7OU7.mjs";
69
+ } from "./chunk-TFMV3NKL.mjs";
70
70
  import {
71
71
  checkSdkCompatibility,
72
72
  enforceSdkCompatibilityResponse,
73
73
  flushDeferredSkillsSyncNotices,
74
74
  syncSdkSkillsIfNeeded
75
- } from "./chunk-ZVW7EWTC.mjs";
75
+ } from "./chunk-SR6VS5PG.mjs";
76
76
  import {
77
77
  printCommandEnvelope,
78
78
  printCompactJson,
@@ -80,12 +80,12 @@ import {
80
80
  printJsonError,
81
81
  renderCommandEnvelopeText,
82
82
  shouldEmitJson
83
- } from "./chunk-VFHIYWMC.mjs";
83
+ } from "./chunk-JRBQC6L4.mjs";
84
84
  import {
85
85
  readSdkSkillsLocalVersion,
86
86
  resolveConfig,
87
87
  sdkCliStateDirPath
88
- } from "./chunk-4NIGNT7X.mjs";
88
+ } from "./chunk-FC4JGTFC.mjs";
89
89
  import {
90
90
  DeeplineError
91
91
  } from "./chunk-HBL4PM5Q.mjs";
@@ -1038,7 +1038,7 @@ Examples:
1038
1038
  process.exitCode = await narrowView();
1039
1039
  return;
1040
1040
  }
1041
- const { describeAnything } = await import("./describe-ICFXOQBW.mjs");
1041
+ const { describeAnything } = await import("./describe-J7KYHONJ.mjs");
1042
1042
  process.exitCode = await describeAnything(
1043
1043
  toolId,
1044
1044
  {
@@ -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 _chunkXLE7KXE7js = require('./chunk-XLE7KXE7.js');
4
+ var _chunkWVL5HGUGjs = require('./chunk-WVL5HGUG.js');
5
5
 
6
6
 
7
- var _chunkEYG336YVjs = require('./chunk-EYG336YV.js');
7
+ var _chunkUDFO2MWAjs = require('./chunk-UDFO2MWA.js');
8
8
 
9
9
 
10
- var _chunkKCDZWS2Bjs = require('./chunk-KCDZWS2B.js');
10
+ var _chunkLQKZG5RNjs = require('./chunk-LQKZG5RN.js');
11
11
 
12
12
 
13
- var _chunk2I7VN65Hjs = require('./chunk-2I7VN65H.js');
13
+ var _chunkMAMEKGLIjs = require('./chunk-MAMEKGLI.js');
14
14
 
15
15
 
16
- var _chunkJO2JZUBRjs = require('./chunk-JO2JZUBR.js');
16
+ var _chunkZBQBH4ITjs = require('./chunk-ZBQBH4IT.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 = _chunkKCDZWS2Bjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkLQKZG5RNjs.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 ? _chunkXLE7KXE7js.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkXLE7KXE7js.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 ? _chunkWVL5HGUGjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkWVL5HGUGjs.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()]) || _chunkJO2JZUBRjs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkZBQBH4ITjs.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 = _chunkKCDZWS2Bjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkLQKZG5RNjs.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, () => ( _chunkJO2JZUBRjs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkZBQBH4ITjs.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 _chunkEYG336YVjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkUDFO2MWAjs.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
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunkMAMEKGLIjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
1284
+ _chunkMAMEKGLIjs.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
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunkMAMEKGLIjs.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 install
1324
1324
  );
1325
1325
  }
1326
1326
  if (options.executeWithJson && options.json) {
1327
- _chunk2I7VN65Hjs.printCommandEnvelope.call(void 0,
1327
+ _chunkMAMEKGLIjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -4,20 +4,20 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkIOBPR2VOjs = require('./chunk-IOBPR2VO.js');
7
+ var _chunkXX6PRYFIjs = require('./chunk-XX6PRYFI.js');
8
8
 
9
9
 
10
- var _chunkKCDZWS2Bjs = require('./chunk-KCDZWS2B.js');
10
+ var _chunkLQKZG5RNjs = require('./chunk-LQKZG5RN.js');
11
11
 
12
12
 
13
13
 
14
- var _chunk2I7VN65Hjs = require('./chunk-2I7VN65H.js');
14
+ var _chunkMAMEKGLIjs = require('./chunk-MAMEKGLI.js');
15
15
 
16
16
 
17
- var _chunkJO2JZUBRjs = require('./chunk-JO2JZUBR.js');
17
+ var _chunkZBQBH4ITjs = require('./chunk-ZBQBH4IT.js');
18
18
 
19
19
 
20
- var _chunkNWIDPT7Hjs = require('./chunk-NWIDPT7H.js');
20
+ var _chunkPHO53W67js = require('./chunk-PHO53W67.js');
21
21
 
22
22
  // src/cli/compatibility-catalog.ts
23
23
  var readers = /* @__PURE__ */ new WeakMap();
@@ -44,7 +44,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
44
44
  async function reportAutoUpdateEvent(input) {
45
45
  let apiKey = "";
46
46
  try {
47
- apiKey = _chunkJO2JZUBRjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
47
+ apiKey = _chunkZBQBH4ITjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
48
48
  } catch (e2) {
49
49
  return;
50
50
  }
@@ -60,15 +60,15 @@ async function reportAutoUpdateEvent(input) {
60
60
  headers: {
61
61
  Authorization: `Bearer ${apiKey}`,
62
62
  "Content-Type": "application/json",
63
- "User-Agent": `deepline-ts-sdk/${_chunkNWIDPT7Hjs.SDK_VERSION}`,
63
+ "User-Agent": `deepline-ts-sdk/${_chunkPHO53W67js.SDK_VERSION}`,
64
64
  "X-Deepline-Client-Family": "sdk",
65
65
  "X-Deepline-CLI-Family": "sdk",
66
- "X-Deepline-CLI-Version": _chunkNWIDPT7Hjs.SDK_VERSION,
67
- "X-Deepline-SDK-Version": _chunkNWIDPT7Hjs.SDK_VERSION
66
+ "X-Deepline-CLI-Version": _chunkPHO53W67js.SDK_VERSION,
67
+ "X-Deepline-SDK-Version": _chunkPHO53W67js.SDK_VERSION
68
68
  },
69
69
  body: JSON.stringify({
70
70
  event: input.event,
71
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkNWIDPT7Hjs.SDK_VERSION,
71
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkPHO53W67js.SDK_VERSION,
72
72
  target_version: input.response.latest,
73
73
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
74
74
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -87,13 +87,13 @@ function envTruthy(name) {
87
87
  return value === "1" || value === "true" || value === "yes";
88
88
  }
89
89
  function shouldSkipSelfUpdate(policy) {
90
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkIOBPR2VOjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkKCDZWS2Bjs.isCiEnvironment.call(void 0, );
90
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkXX6PRYFIjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkLQKZG5RNjs.isCiEnvironment.call(void 0, );
91
91
  }
92
92
  function isDowngradeAutoUpdateResponse(response) {
93
93
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
94
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkNWIDPT7Hjs.SDK_VERSION;
94
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkPHO53W67js.SDK_VERSION;
95
95
  if (!target) return false;
96
- return _chunkIOBPR2VOjs.compareUpdateVersions.call(void 0, target, current) < 0;
96
+ return _chunkXX6PRYFIjs.compareUpdateVersions.call(void 0, target, current) < 0;
97
97
  }
98
98
  function relaunchCurrentCommand(plan, runtime = {}) {
99
99
  return new Promise((resolve) => {
@@ -146,7 +146,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
146
146
  }
147
147
  if (isDowngradeAutoUpdateResponse(response)) {
148
148
  const target = response.latest;
149
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkNWIDPT7Hjs.SDK_VERSION;
149
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkPHO53W67js.SDK_VERSION;
150
150
  process.stderr.write(
151
151
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
152
152
  `
@@ -154,21 +154,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
154
154
  return false;
155
155
  }
156
156
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
157
- const plan = _chunkIOBPR2VOjs.resolveUpdatePlan.call(void 0, {
157
+ const plan = _chunkXX6PRYFIjs.resolveUpdatePlan.call(void 0, {
158
158
  packageSpec,
159
159
  requireVerifiedNpmOwnership: true,
160
160
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
161
161
  });
162
- if (!_chunkIOBPR2VOjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
162
+ if (!_chunkXX6PRYFIjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
163
163
  return false;
164
164
  }
165
165
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
166
166
  deferredAutoUpdate = async () => {
167
167
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
168
168
  };
169
- if (_chunk2I7VN65Hjs.isJsonOutputMode.call(void 0, )) {
169
+ if (_chunkMAMEKGLIjs.isJsonOutputMode.call(void 0, )) {
170
170
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
171
- _chunk2I7VN65Hjs.addJsonNotice.call(void 0, {
171
+ _chunkMAMEKGLIjs.addJsonNotice.call(void 0, {
172
172
  code: "sdk_update_queued",
173
173
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
174
174
  });
@@ -181,7 +181,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
181
181
  return true;
182
182
  }
183
183
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
184
- if (!_chunkIOBPR2VOjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
184
+ if (!_chunkXX6PRYFIjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
185
185
  const autoUpdate = response.auto_update;
186
186
  const label = _optionalChain([autoUpdate, 'optionalAccess', _32 => _32.reason]) === "rollback_forced" ? "has a server rollback pending and needs the latest rollback-aware CLI" : _optionalChain([autoUpdate, 'optionalAccess', _33 => _33.reason]) === "deprecated" ? "is deprecated and will update automatically" : _optionalChain([autoUpdate, 'optionalAccess', _34 => _34.required]) ? "requires an update" : "has an update available and will update automatically";
187
187
  process.stderr.write(
@@ -194,7 +194,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
194
194
  event: "started",
195
195
  installKind: plan.kind
196
196
  });
197
- const updateResult = await _chunkIOBPR2VOjs.runAutomaticUpdatePlan.call(void 0, plan);
197
+ const updateResult = await _chunkXX6PRYFIjs.runAutomaticUpdatePlan.call(void 0, plan);
198
198
  if (updateResult.status === "skipped_previous_failure") {
199
199
  void reportAutoUpdateEvent({
200
200
  baseUrl,
@@ -245,7 +245,7 @@ var _crypto = require('crypto');
245
245
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
246
246
  var activeToolExecuteCommand = null;
247
247
  function progressLine(line) {
248
- if (!_chunk2I7VN65Hjs.isJsonOutputMode.call(void 0, )) console.error(line);
248
+ if (!_chunkMAMEKGLIjs.isJsonOutputMode.call(void 0, )) console.error(line);
249
249
  }
250
250
  function beginToolExecuteCommand() {
251
251
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -1,16 +1,16 @@
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; }
2
2
 
3
- var _chunkHTUSTPP4js = require('./chunk-HTUSTPP4.js');
3
+ var _chunkTUAEM76Yjs = require('./chunk-TUAEM76Y.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkJO2JZUBRjs = require('./chunk-JO2JZUBR.js');
7
+ var _chunkZBQBH4ITjs = require('./chunk-ZBQBH4IT.js');
8
8
 
9
9
  // src/client.ts
10
- var DeeplineClient2 = class extends _chunkHTUSTPP4js.DeeplineClient {
10
+ var DeeplineClient2 = class extends _chunkTUAEM76Yjs.DeeplineClient {
11
11
  constructor(options) {
12
- const config = _chunkJO2JZUBRjs.resolveConfig.call(void 0, options);
13
- super(config, new (0, _chunkJO2JZUBRjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
12
+ const config = _chunkZBQBH4ITjs.resolveConfig.call(void 0, options);
13
+ super(config, new (0, _chunkZBQBH4ITjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
14
14
  }
15
15
  };
16
16
 
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-4IJFQV3O.mjs";
4
+ } from "./chunk-TMO7W4P2.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-DYP27IWC.mjs";
7
+ } from "./chunk-7LLUJQM5.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-ZVW7EWTC.mjs";
10
+ } from "./chunk-SR6VS5PG.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-VFHIYWMC.mjs";
13
+ } from "./chunk-JRBQC6L4.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-4NIGNT7X.mjs";
16
+ } from "./chunk-FC4JGTFC.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -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 _chunkNWIDPT7Hjs = require('./chunk-NWIDPT7H.js');
4
+ var _chunkPHO53W67js = require('./chunk-PHO53W67.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 (_chunkNWIDPT7Hjs.detectAgentRuntime.call(void 0, )) {
714
+ switch (_chunkPHO53W67js.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 _chunkNWIDPT7Hjs.HttpClient {
784
+ var HttpClient2 = class extends _chunkPHO53W67js.HttpClient {
785
785
  constructor(config) {
786
786
  super(config, readSdkSkillsLocalVersion);
787
787
  }
@@ -6,7 +6,7 @@
6
6
 
7
7
 
8
8
 
9
- var _chunkDWJ4RXSAjs = require('./chunk-DWJ4RXSA.js');
9
+ var _chunkN3T3L3WWjs = require('./chunk-N3T3L3WW.js');
10
10
  require('./chunk-COGTRVWW.js');
11
11
 
12
12
 
@@ -16,4 +16,4 @@ require('./chunk-COGTRVWW.js');
16
16
 
17
17
 
18
18
 
19
- exports.CLI_DOC_SURFACE = _chunkDWJ4RXSAjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkDWJ4RXSAjs.COMMAND_DOCS; exports.commandDocKey = _chunkDWJ4RXSAjs.commandDocKey; exports.helpDetailFromArgv = _chunkDWJ4RXSAjs.helpDetailFromArgv; exports.renderActionExplanation = _chunkDWJ4RXSAjs.renderActionExplanation; exports.renderCommandExplanation = _chunkDWJ4RXSAjs.renderCommandExplanation; exports.renderDocText = _chunkDWJ4RXSAjs.renderDocText;
19
+ exports.CLI_DOC_SURFACE = _chunkN3T3L3WWjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkN3T3L3WWjs.COMMAND_DOCS; exports.commandDocKey = _chunkN3T3L3WWjs.commandDocKey; exports.helpDetailFromArgv = _chunkN3T3L3WWjs.helpDetailFromArgv; exports.renderActionExplanation = _chunkN3T3L3WWjs.renderActionExplanation; exports.renderCommandExplanation = _chunkN3T3L3WWjs.renderCommandExplanation; exports.renderDocText = _chunkN3T3L3WWjs.renderDocText;
@@ -6,7 +6,7 @@ import {
6
6
  renderActionExplanation,
7
7
  renderCommandExplanation,
8
8
  renderDocText
9
- } from "./chunk-IRDYBMA7.mjs";
9
+ } from "./chunk-2HCZHIMT.mjs";
10
10
  import "./chunk-KRD6H754.mjs";
11
11
  export {
12
12
  CLI_DOC_SURFACE,
@@ -4,13 +4,13 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-VFHIYWMC.mjs";
8
- import "./chunk-4NIGNT7X.mjs";
9
- import "./chunk-TNQOR6XQ.mjs";
7
+ } from "./chunk-JRBQC6L4.mjs";
8
+ import "./chunk-FC4JGTFC.mjs";
9
+ import "./chunk-FLJSK32S.mjs";
10
10
  import "./chunk-4QF2K7TM.mjs";
11
11
  import "./chunk-DLIRSHV6.mjs";
12
12
  import "./chunk-HBL4PM5Q.mjs";
13
- import "./chunk-KKSKYZO4.mjs";
13
+ import "./chunk-DFK5IJMT.mjs";
14
14
  import "./chunk-WZYKRD7T.mjs";
15
15
  import "./chunk-KRD6H754.mjs";
16
16