deepline 0.3.486 → 0.3.487

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 (120) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/play-admission-outcome.ts +7 -2
  3. package/dist/bundling-sources/shared_libs/play-runtime/run-failure.ts +27 -2
  4. package/dist/cli/{auth-B4DJO4FB.mjs → auth-GIBZFTUJ.mjs} +5 -5
  5. package/dist/cli/auth-Q4U7IFFV.js +43 -0
  6. package/dist/cli/{billing-IIQ3VNXU.mjs → billing-T3SN2T4T.mjs} +6 -6
  7. package/dist/cli/{billing-GDWAMARK.js → billing-TZINXSTI.js} +79 -79
  8. package/dist/cli/{chunk-PKOFEHZL.mjs → chunk-2EQPUMZG.mjs} +1 -1
  9. package/dist/cli/{chunk-WCOJH4W4.mjs → chunk-4AZFKKGK.mjs} +3 -3
  10. package/dist/cli/{chunk-PQHDZHZG.mjs → chunk-4LMPONJM.mjs} +2 -2
  11. package/dist/cli/{chunk-TE2QT2MX.mjs → chunk-5BWN4XAO.mjs} +4 -4
  12. package/dist/cli/{chunk-5QYZ4MEW.mjs → chunk-6MRJ3SMS.mjs} +2 -2
  13. package/dist/cli/{chunk-PYDHVRAF.mjs → chunk-6VW4YVWH.mjs} +4 -4
  14. package/dist/cli/{chunk-C4GFBB52.js → chunk-6YMPAQEI.js} +26 -26
  15. package/dist/cli/{chunk-GCEUOHJW.js → chunk-75LPU4AO.js} +7 -7
  16. package/dist/cli/{chunk-VJLL5XIP.mjs → chunk-76EUEG45.mjs} +1 -1
  17. package/dist/cli/{chunk-FGPJXQEJ.mjs → chunk-ATEO2Y3W.mjs} +2 -2
  18. package/dist/cli/{chunk-BNB2RK4L.js → chunk-BWXQIRPZ.js} +5 -5
  19. package/dist/cli/{chunk-DFHS5XVZ.js → chunk-BXOHHCXG.js} +4 -4
  20. package/dist/cli/{chunk-PV7AYBKQ.mjs → chunk-CEJFXV7R.mjs} +2 -2
  21. package/dist/cli/{chunk-NSPMJLYA.js → chunk-DAXLSR65.js} +3 -3
  22. package/dist/cli/{chunk-YIKHNZ6B.mjs → chunk-DJJ2UYSX.mjs} +4 -4
  23. package/dist/cli/{chunk-BJL7RYQN.js → chunk-E2CSKE27.js} +3 -3
  24. package/dist/cli/{chunk-5YILTBF7.js → chunk-FMN7S7KB.js} +53 -53
  25. package/dist/cli/{chunk-5Y7LLRWO.mjs → chunk-HK6RIWDN.mjs} +1 -1
  26. package/dist/cli/{chunk-PHWFY26F.js → chunk-HKK3NTTF.js} +2 -2
  27. package/dist/cli/{chunk-5RLVCOKH.mjs → chunk-IAK7OKDC.mjs} +1 -1
  28. package/dist/cli/{chunk-S5EYODEG.js → chunk-JDFYXDDA.js} +53 -53
  29. package/dist/cli/{chunk-F3G2HAUQ.mjs → chunk-JH2XVGTM.mjs} +1 -1
  30. package/dist/cli/{chunk-MJ56FCYU.mjs → chunk-JWTTCWZM.mjs} +1 -1
  31. package/dist/cli/{chunk-YS6JOYYS.js → chunk-JZNSRGDL.js} +2 -2
  32. package/dist/cli/{chunk-UEJLWUJ3.mjs → chunk-LE3BAE4T.mjs} +2 -2
  33. package/dist/cli/{chunk-A456YVDE.mjs → chunk-MQYUH3DR.mjs} +1 -1
  34. package/dist/cli/{chunk-S7OILDJH.js → chunk-NDUZXNGV.js} +1 -1
  35. package/dist/cli/{chunk-KPIVQFXZ.js → chunk-NR6ZSXYE.js} +94 -94
  36. package/dist/cli/{chunk-QEQ3KHVY.js → chunk-O4LTC7S6.js} +3 -3
  37. package/dist/cli/{chunk-PCYZDTDC.js → chunk-QZ4DVKYU.js} +9 -9
  38. package/dist/cli/{chunk-XAZWUW6I.mjs → chunk-RFBM4KSE.mjs} +5 -5
  39. package/dist/cli/{chunk-U23L57VU.mjs → chunk-RXKFJTFH.mjs} +2 -2
  40. package/dist/cli/{chunk-5DUP4ZUE.js → chunk-TDUPHVI2.js} +21 -21
  41. package/dist/cli/{chunk-PTM3QRAT.js → chunk-TY7AFVAC.js} +37 -37
  42. package/dist/cli/{chunk-ZMRZ3BXG.mjs → chunk-VHXDX7WY.mjs} +5 -5
  43. package/dist/cli/{chunk-2DVFQYPG.mjs → chunk-VPSK464I.mjs} +10 -10
  44. package/dist/cli/{chunk-7FTQKEZ6.js → chunk-WFMTJFGG.js} +10 -10
  45. package/dist/cli/{chunk-TBE2K5W4.mjs → chunk-WOG5SFF2.mjs} +4 -4
  46. package/dist/cli/{chunk-BYEDI5PM.js → chunk-WXEAAVBK.js} +7 -7
  47. package/dist/cli/{chunk-FSCOYTRV.js → chunk-WZQSBYFU.js} +6 -6
  48. package/dist/cli/{chunk-QD22TY33.js → chunk-XVSMWD6E.js} +7 -7
  49. package/dist/cli/{chunk-TNHY3ATN.js → chunk-YIVYI5XH.js} +8 -8
  50. package/dist/cli/{chunk-T3Q6BMVH.mjs → chunk-YVK3WEBE.mjs} +1 -1
  51. package/dist/cli/{chunk-P6KGYOCM.mjs → chunk-YWRMI4WC.mjs} +2 -2
  52. package/dist/cli/{chunk-ZQI26KE4.js → chunk-ZJIFSEJS.js} +16 -16
  53. package/dist/cli/{chunk-FCAKAW6S.js → chunk-ZOENOU2W.js} +5 -5
  54. package/dist/cli/{csv-LFCT3WQ4.mjs → csv-42ZQOY2Y.mjs} +4 -4
  55. package/dist/cli/{csv-3PSMPZM5.js → csv-IKHCVOV5.js} +13 -13
  56. package/dist/cli/{db-R7I2PPTV.js → db-3AWAIV6O.js} +27 -27
  57. package/dist/cli/{db-HULKVAMU.mjs → db-B3RLPXTA.mjs} +6 -6
  58. package/dist/cli/describe-HLO35E5Y.js +49 -0
  59. package/dist/cli/{describe-D55V42LH.mjs → describe-NEPMNE33.mjs} +17 -17
  60. package/dist/cli/{executions-O37FN2SK.js → executions-3KJXWIGK.js} +8 -8
  61. package/dist/cli/{executions-ICVVOYVG.mjs → executions-W53OBSB6.mjs} +6 -6
  62. package/dist/cli/{feedback-MAZQ7C6S.js → feedback-3MSNFC6M.js} +8 -8
  63. package/dist/cli/{feedback-3K3QPGCQ.mjs → feedback-GJNATGAP.mjs} +4 -4
  64. package/dist/cli/{git-2MMD5KJS.mjs → git-5BWKZFNE.mjs} +5 -5
  65. package/dist/cli/git-WRFBKH6H.js +25 -0
  66. package/dist/cli/index.js +137 -137
  67. package/dist/cli/index.mjs +40 -40
  68. package/dist/cli/{legacy-noops-VLSWJ6VE.mjs → legacy-noops-A7YMA3NB.mjs} +5 -5
  69. package/dist/cli/{legacy-noops-2OX2Y3Y2.js → legacy-noops-GSW6TMAJ.js} +8 -8
  70. package/dist/cli/{monitors-2NODQQWG.mjs → monitors-24QFIRCI.mjs} +7 -7
  71. package/dist/cli/{monitors-UCSV5FOR.js → monitors-T5RMXFKT.js} +91 -91
  72. package/dist/cli/{org-4YY73VTW.js → org-3JJQOXLF.js} +72 -72
  73. package/dist/cli/{org-W7AUQCDE.mjs → org-ZZPKJOQY.mjs} +6 -6
  74. package/dist/cli/{pages-FBZEUMXK.js → pages-3GK3SKKB.js} +17 -17
  75. package/dist/cli/{pages-ZRP7U5PO.mjs → pages-ZFCV37XK.mjs} +6 -6
  76. package/dist/cli/{play-LFCTQJXA.js → play-4MINBQNW.js} +312 -312
  77. package/dist/cli/{play-XF2BSGTP.mjs → play-DX36FVSU.mjs} +17 -17
  78. package/dist/cli/{providers-5456JNHP.js → providers-YDQHY35D.js} +9 -9
  79. package/dist/cli/{providers-SICAPKGI.mjs → providers-Z4EYMZJM.mjs} +6 -6
  80. package/dist/cli/{quickstart-2KLLIPIU.js → quickstart-OTZVKVIE.js} +6 -6
  81. package/dist/cli/{quickstart-IBVG6GX6.mjs → quickstart-YMI4OECS.mjs} +4 -4
  82. package/dist/cli/{run-XPIZIQ7H.mjs → run-OBU3YFOJ.mjs} +22 -22
  83. package/dist/cli/{run-DNLDGJRC.js → run-P345MQLC.js} +36 -36
  84. package/dist/cli/{search-PW22AEAL.mjs → search-5FBWOI2H.mjs} +7 -7
  85. package/dist/cli/search-IV22OQLS.js +32 -0
  86. package/dist/cli/{search-output-JFD53H2N.mjs → search-output-673LGTLF.mjs} +4 -4
  87. package/dist/cli/{search-output-H6F6QMRF.js → search-output-WOTMZA55.js} +6 -6
  88. package/dist/cli/{secrets-LCCRRAN7.js → secrets-IWYY42YD.js} +15 -15
  89. package/dist/cli/{secrets-542CTZRZ.mjs → secrets-QX45TZJK.mjs} +6 -6
  90. package/dist/cli/{sessions-CALLS2XD.mjs → sessions-Z2ZB3EZ7.mjs} +5 -5
  91. package/dist/cli/{sessions-5FYDQE3N.js → sessions-ZUK654NJ.js} +6 -6
  92. package/dist/cli/{settings-GSKPHUEC.mjs → settings-6VY7HTEE.mjs} +11 -11
  93. package/dist/cli/{settings-ORGKOBP6.js → settings-ZXXP7DHM.js} +78 -78
  94. package/dist/cli/{setup-4BUWJKB6.js → setup-RE7T3PAE.js} +47 -47
  95. package/dist/cli/{setup-V57GHVAF.mjs → setup-SD66A4OE.mjs} +9 -9
  96. package/dist/cli/{skills-NGLCFQFT.mjs → skills-ARPNJ7MN.mjs} +7 -7
  97. package/dist/cli/skills-ZDKFUVNP.js +33 -0
  98. package/dist/cli/tools-AUU42AVE.js +56 -0
  99. package/dist/cli/{tools-G2YNCFNX.mjs → tools-R3TUCRX3.mjs} +16 -16
  100. package/dist/cli/{update-IZ3Z5T5C.mjs → update-2DPZJQK4.mjs} +9 -9
  101. package/dist/cli/update-QLF3A6YY.js +33 -0
  102. package/dist/cli/{workflow-L7ROQIM7.mjs → workflow-2WPRQNRF.mjs} +7 -7
  103. package/dist/cli/{workflow-7AHST2XV.js → workflow-GIWX7OZC.js} +17 -17
  104. package/dist/index.js +9 -9
  105. package/dist/index.mjs +6 -6
  106. package/dist/install-integrity.json +98 -98
  107. package/dist/release.d.mts +1 -1
  108. package/dist/release.d.ts +1 -1
  109. package/dist/release.js +2 -2
  110. package/dist/release.mjs +1 -1
  111. package/dist/server.js +5 -5
  112. package/dist/server.mjs +3 -3
  113. package/package.json +1 -1
  114. package/dist/cli/auth-ARKH3OAU.js +0 -43
  115. package/dist/cli/describe-H47BLOEP.js +0 -49
  116. package/dist/cli/git-RQ2XLFYZ.js +0 -25
  117. package/dist/cli/search-2KQA65LH.js +0 -32
  118. package/dist/cli/skills-KYZPPGSN.js +0 -33
  119. package/dist/cli/tools-AFYXUEMD.js +0 -56
  120. package/dist/cli/update-T6JJ7A3K.js +0 -33
@@ -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 _chunkBYEDI5PMjs = require('./chunk-BYEDI5PM.js');
3
+ var _chunkWXEAAVBKjs = require('./chunk-WXEAAVBK.js');
4
4
 
5
5
  // src/cli/progress.ts
6
6
  var _worker_threads = require('worker_threads');
@@ -17,7 +17,7 @@ var CliProgress = (_class = class {
17
17
 
18
18
  // --json output is one JSON document: progress never renders under it.
19
19
  constructor(enabled) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);_class.prototype.__init8.call(this);
20
- this.enabled = enabled && !_chunkBYEDI5PMjs.isJsonOutputMode.call(void 0, );
20
+ this.enabled = enabled && !_chunkWXEAAVBKjs.isJsonOutputMode.call(void 0, );
21
21
  }
22
22
  setLogWriter(writer) {
23
23
  this.logWriter = writer;
@@ -49,7 +49,7 @@ var CliProgress = (_class = class {
49
49
  this.logWriter(line);
50
50
  return;
51
51
  }
52
- if (_chunkBYEDI5PMjs.isJsonOutputMode.call(void 0, )) return;
52
+ if (_chunkWXEAAVBKjs.isJsonOutputMode.call(void 0, )) return;
53
53
  if (!this.enabled) {
54
54
  process.stderr.write(`${line}
55
55
  `);
@@ -3,7 +3,7 @@
3
3
  var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
4
4
 
5
5
 
6
- var _chunkQD22TY33js = require('./chunk-QD22TY33.js');
6
+ var _chunkXVSMWD6Ejs = require('./chunk-XVSMWD6E.js');
7
7
 
8
8
 
9
9
  var _chunkAUQQVDABjs = require('./chunk-AUQQVDAB.js');
@@ -11,7 +11,7 @@ var _chunkAUQQVDABjs = require('./chunk-AUQQVDAB.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkBYEDI5PMjs = require('./chunk-BYEDI5PM.js');
14
+ var _chunkWXEAAVBKjs = require('./chunk-WXEAAVBK.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 = _chunkBYEDI5PMjs.parseJsonFields.call(void 0, args, "run");
582
+ const selection = _chunkWXEAAVBKjs.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 ? _chunkBYEDI5PMjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkBYEDI5PMjs.argsWantJson.call(void 0, args);
594
+ let jsonOutput = dryRun ? _chunkWXEAAVBKjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkWXEAAVBKjs.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 = _chunkQD22TY33js.parseLogLevel.call(void 0, value);
657
+ const parsed = _chunkXVSMWD6Ejs.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 : _chunkQD22TY33js.parseLogLevel.call(void 0, options.logLevel);
975
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkXVSMWD6Ejs.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 : _chunkBYEDI5PMjs.parseJsonFields.call(void 0,
990
- [...fullJson ? ["--full"] : [], ..._chunkBYEDI5PMjs.jsonFieldArgs.call(void 0, options.json)],
989
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkWXEAAVBKjs.parseJsonFields.call(void 0,
990
+ [...fullJson ? ["--full"] : [], ..._chunkWXEAAVBKjs.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 || _chunkBYEDI5PMjs.argsWantJson.call(void 0, []) : explicitJson;
995
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkWXEAAVBKjs.argsWantJson.call(void 0, []) : explicitJson;
996
996
  const verboseLogs = Boolean(
997
997
  debugAlias || logLevel === "debug" || debugMapLatency
998
998
  );
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-F3G2HAUQ.mjs";
4
+ } from "./chunk-JH2XVGTM.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-YIKHNZ6B.mjs";
7
+ } from "./chunk-DJJ2UYSX.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-TE2QT2MX.mjs";
10
+ } from "./chunk-5BWN4XAO.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-PQHDZHZG.mjs";
13
+ } from "./chunk-4LMPONJM.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-T3Q6BMVH.mjs";
16
+ } from "./chunk-YVK3WEBE.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-PKOFEHZL.mjs";
3
+ } from "./chunk-2EQPUMZG.mjs";
4
4
  import {
5
5
  HttpClient,
6
6
  resolveConfig
7
- } from "./chunk-T3Q6BMVH.mjs";
7
+ } from "./chunk-YVK3WEBE.mjs";
8
8
 
9
9
  // src/client.ts
10
10
  var DeeplineClient2 = class extends DeeplineClient {
@@ -4,20 +4,20 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkZQI26KE4js = require('./chunk-ZQI26KE4.js');
7
+ var _chunkZJIFSEJSjs = require('./chunk-ZJIFSEJS.js');
8
8
 
9
9
 
10
- var _chunk5YILTBF7js = require('./chunk-5YILTBF7.js');
10
+ var _chunkFMN7S7KBjs = require('./chunk-FMN7S7KB.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkBYEDI5PMjs = require('./chunk-BYEDI5PM.js');
14
+ var _chunkWXEAAVBKjs = require('./chunk-WXEAAVBK.js');
15
15
 
16
16
 
17
- var _chunkBJL7RYQNjs = require('./chunk-BJL7RYQN.js');
17
+ var _chunkE2CSKE27js = require('./chunk-E2CSKE27.js');
18
18
 
19
19
 
20
- var _chunkDFHS5XVZjs = require('./chunk-DFHS5XVZ.js');
20
+ var _chunkBXOHHCXGjs = require('./chunk-BXOHHCXG.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 = _chunkBJL7RYQNjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
47
+ apiKey = _chunkE2CSKE27js.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/${_chunkDFHS5XVZjs.SDK_VERSION}`,
63
+ "User-Agent": `deepline-ts-sdk/${_chunkBXOHHCXGjs.SDK_VERSION}`,
64
64
  "X-Deepline-Client-Family": "sdk",
65
65
  "X-Deepline-CLI-Family": "sdk",
66
- "X-Deepline-CLI-Version": _chunkDFHS5XVZjs.SDK_VERSION,
67
- "X-Deepline-SDK-Version": _chunkDFHS5XVZjs.SDK_VERSION
66
+ "X-Deepline-CLI-Version": _chunkBXOHHCXGjs.SDK_VERSION,
67
+ "X-Deepline-SDK-Version": _chunkBXOHHCXGjs.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()]) || _chunkDFHS5XVZjs.SDK_VERSION,
71
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkBXOHHCXGjs.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") || !_chunkZQI26KE4js.shouldRunCliAutoUpdate.call(void 0, ) || _chunk5YILTBF7js.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") || !_chunkZJIFSEJSjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkFMN7S7KBjs.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()]) || _chunkDFHS5XVZjs.SDK_VERSION;
94
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkBXOHHCXGjs.SDK_VERSION;
95
95
  if (!target) return false;
96
- return _chunkZQI26KE4js.compareUpdateVersions.call(void 0, target, current) < 0;
96
+ return _chunkZJIFSEJSjs.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()]) || _chunkDFHS5XVZjs.SDK_VERSION;
149
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkBXOHHCXGjs.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 = _chunkZQI26KE4js.resolveUpdatePlan.call(void 0, {
157
+ const plan = _chunkZJIFSEJSjs.resolveUpdatePlan.call(void 0, {
158
158
  packageSpec,
159
159
  requireVerifiedNpmOwnership: true,
160
160
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
161
161
  });
162
- if (!_chunkZQI26KE4js.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
162
+ if (!_chunkZJIFSEJSjs.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 (_chunkBYEDI5PMjs.isJsonOutputMode.call(void 0, )) {
169
+ if (_chunkWXEAAVBKjs.isJsonOutputMode.call(void 0, )) {
170
170
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
171
- _chunkBYEDI5PMjs.addJsonNotice.call(void 0, {
171
+ _chunkWXEAAVBKjs.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 (!_chunkZQI26KE4js.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
184
+ if (!_chunkZJIFSEJSjs.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 _chunkZQI26KE4js.runAutomaticUpdatePlan.call(void 0, plan);
197
+ const updateResult = await _chunkZJIFSEJSjs.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 (!_chunkBYEDI5PMjs.isJsonOutputMode.call(void 0, )) console.error(line);
248
+ if (!_chunkWXEAAVBKjs.isJsonOutputMode.call(void 0, )) console.error(line);
249
249
  }
250
250
  function beginToolExecuteCommand() {
251
251
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunk5YILTBF7js = require('./chunk-5YILTBF7.js');
14
+ var _chunkFMN7S7KBjs = require('./chunk-FMN7S7KB.js');
15
15
 
16
16
 
17
- var _chunkBYEDI5PMjs = require('./chunk-BYEDI5PM.js');
17
+ var _chunkWXEAAVBKjs = require('./chunk-WXEAAVBK.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkBJL7RYQNjs = require('./chunk-BJL7RYQN.js');
23
+ var _chunkE2CSKE27js = require('./chunk-E2CSKE27.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkDFHS5XVZjs = require('./chunk-DFHS5XVZ.js');
27
+ var _chunkBXOHHCXGjs = require('./chunk-BXOHHCXG.js');
28
28
 
29
29
  // src/cli/commands/skills.ts
30
30
  var _child_process = require('child_process');
@@ -132,7 +132,7 @@ function inferActiveSkillsScope(entrypoint = _nullishCoalesce(process.argv[1], (
132
132
  return /[\\/]\.deepline[\\/]runtime[\\/]/.test(entrypoint) ? "local" : "global";
133
133
  }
134
134
  function resolveLocalRoot() {
135
- const target = _chunkBJL7RYQNjs.resolveProjectPinTarget.call(void 0, );
135
+ const target = _chunkE2CSKE27js.resolveProjectPinTarget.call(void 0, );
136
136
  if (!target.ok) {
137
137
  throw new Error(
138
138
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -143,7 +143,7 @@ function resolveLocalRoot() {
143
143
  return target.dir;
144
144
  }
145
145
  function detectSkillsAgents(input) {
146
- const runtime = _nullishCoalesce(input.runtime, () => ( _chunkDFHS5XVZjs.detectAgentRuntime.call(void 0, )));
146
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkBXOHHCXGjs.detectAgentRuntime.call(void 0, )));
147
147
  const knownAgent = RUNTIME_TO_SKILLS_AGENT[runtime];
148
148
  if (knownAgent) return [knownAgent];
149
149
  const roots = [
@@ -158,11 +158,11 @@ function detectSkillsAgents(input) {
158
158
  return detected.length > 0 ? detected : ["*"];
159
159
  }
160
160
  function skillsStatePathForScope(baseUrl, scope, root) {
161
- return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkBJL7RYQNjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
161
+ return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkE2CSKE27js.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
162
162
  }
163
163
  function buildSkillsPlan(input) {
164
164
  const scopeArgs = input.scope === "global" ? ["--global"] : [];
165
- const legacyNames = [..._chunk5YILTBF7js.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
165
+ const legacyNames = [..._chunkFMN7S7KBjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
166
166
  (a, b) => a.localeCompare(b)
167
167
  );
168
168
  return {
@@ -176,7 +176,7 @@ function buildSkillsPlan(input) {
176
176
  args: [
177
177
  "exec",
178
178
  "--yes",
179
- `--package=${_chunk5YILTBF7js.SKILLS_NPX_PACKAGE}`,
179
+ `--package=${_chunkFMN7S7KBjs.SKILLS_NPX_PACKAGE}`,
180
180
  "--",
181
181
  "skills",
182
182
  "remove",
@@ -192,11 +192,11 @@ function buildSkillsPlan(input) {
192
192
  args: [
193
193
  "exec",
194
194
  "--yes",
195
- `--package=${_chunk5YILTBF7js.SKILLS_NPX_PACKAGE}`,
195
+ `--package=${_chunkFMN7S7KBjs.SKILLS_NPX_PACKAGE}`,
196
196
  "--",
197
197
  "skills",
198
198
  "add",
199
- _chunk5YILTBF7js.skillsSourceUrl.call(void 0, input.baseUrl),
199
+ _chunkFMN7S7KBjs.skillsSourceUrl.call(void 0, input.baseUrl),
200
200
  "--agent",
201
201
  ...input.agents,
202
202
  ...scopeArgs,
@@ -233,7 +233,7 @@ function readSkillsInstallState(path) {
233
233
  }
234
234
  function runProcess(command, args, cwd) {
235
235
  return new Promise((resolve, reject) => {
236
- const plan = _chunk5YILTBF7js.resolveShellSpawn.call(void 0,
236
+ const plan = _chunkFMN7S7KBjs.resolveShellSpawn.call(void 0,
237
237
  command,
238
238
  args,
239
239
  process.platform,
@@ -255,7 +255,7 @@ function runProcess(command, args, cwd) {
255
255
  child.kill("SIGTERM");
256
256
  reject(
257
257
  new Error(
258
- `${_chunk5YILTBF7js.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
258
+ `${_chunkFMN7S7KBjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
259
259
  )
260
260
  );
261
261
  }, SKILLS_PROCESS_TIMEOUT_MS);
@@ -266,7 +266,7 @@ function runProcess(command, args, cwd) {
266
266
  child.once("close", (code) => {
267
267
  clearTimeout(timeout);
268
268
  if (code && stderr.trim()) {
269
- process.stderr.write(`${_chunk5YILTBF7js.SKILLS_NPX_PACKAGE} exited ${code}.
269
+ process.stderr.write(`${_chunkFMN7S7KBjs.SKILLS_NPX_PACKAGE} exited ${code}.
270
270
  `);
271
271
  }
272
272
  resolve(_nullishCoalesce(code, () => ( 1)));
@@ -280,7 +280,7 @@ async function runSkillsCommand(options, dependencies = {}) {
280
280
  scope = normalizeScope(options.scope);
281
281
  root = scope === "local" ? resolveLocalRoot() : null;
282
282
  } catch (error) {
283
- _chunkBYEDI5PMjs.printCommandEnvelope.call(void 0,
283
+ _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
284
284
  {
285
285
  ok: false,
286
286
  status: "failed",
@@ -292,22 +292,22 @@ async function runSkillsCommand(options, dependencies = {}) {
292
292
  );
293
293
  return 2;
294
294
  }
295
- const baseUrl = _chunkBJL7RYQNjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
295
+ const baseUrl = _chunkE2CSKE27js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
296
296
  const catalog = {
297
- skillNames: [..._chunk5YILTBF7js.DEFAULT_SDK_SKILL_NAMES],
298
- version: _chunkDFHS5XVZjs.SDK_VERSION
297
+ skillNames: [..._chunkFMN7S7KBjs.DEFAULT_SDK_SKILL_NAMES],
298
+ version: _chunkBXOHHCXGjs.SDK_VERSION
299
299
  };
300
300
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
301
301
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
302
302
  if (options.dryRun) {
303
- _chunkBYEDI5PMjs.printCommandEnvelope.call(void 0,
303
+ _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
304
304
  { ok: true, status: "planned", dryRun: true, ...plan },
305
305
  { json: options.json }
306
306
  );
307
307
  return 0;
308
308
  }
309
- if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunk5YILTBF7js.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
310
- _chunkBYEDI5PMjs.printCommandEnvelope.call(void 0,
309
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkFMN7S7KBjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
310
+ _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
311
311
  {
312
312
  ok: true,
313
313
  status: "current",
@@ -339,10 +339,10 @@ async function runSkillsCommand(options, dependencies = {}) {
339
339
  }
340
340
  if (scope === "local" && root) {
341
341
  const managedNames = [
342
- .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunk5YILTBF7js.LEGACY_SKILL_NAMES_TO_REMOVE])
342
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkFMN7S7KBjs.LEGACY_SKILL_NAMES_TO_REMOVE])
343
343
  ];
344
344
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
345
- _chunkBJL7RYQNjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
345
+ _chunkE2CSKE27js.ensureProjectPrivatePathsIgnored.call(void 0, root, [
346
346
  ".deepline/",
347
347
  ...agentRoots.flatMap(
348
348
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -351,7 +351,7 @@ async function runSkillsCommand(options, dependencies = {}) {
351
351
  }
352
352
  let lease;
353
353
  try {
354
- lease = scope === "global" ? await _chunk5YILTBF7js.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
354
+ lease = scope === "global" ? await _chunkFMN7S7KBjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
355
355
  waitMs: _nullishCoalesce(dependencies.installLeaseWaitMs, () => ( SKILLS_INSTALL_LEASE_WAIT_MS)),
356
356
  onWait: () => process.stderr.write(
357
357
  "Waiting for a background Deepline skills refresh to finish...\n"
@@ -359,8 +359,8 @@ async function runSkillsCommand(options, dependencies = {}) {
359
359
  }) : { release: () => {
360
360
  } };
361
361
  } catch (error) {
362
- if (!(error instanceof _chunk5YILTBF7js.SkillsStateUnavailableError)) throw error;
363
- _chunkBYEDI5PMjs.printCommandEnvelope.call(void 0,
362
+ if (!(error instanceof _chunkFMN7S7KBjs.SkillsStateUnavailableError)) throw error;
363
+ _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
364
364
  {
365
365
  ok: false,
366
366
  status: "failed",
@@ -376,7 +376,7 @@ async function runSkillsCommand(options, dependencies = {}) {
376
376
  return 5;
377
377
  }
378
378
  if (!lease) {
379
- _chunkBYEDI5PMjs.printCommandEnvelope.call(void 0,
379
+ _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
380
380
  {
381
381
  ok: false,
382
382
  status: "failed",
@@ -385,7 +385,7 @@ async function runSkillsCommand(options, dependencies = {}) {
385
385
  scope,
386
386
  agents,
387
387
  message: "A background Deepline skills refresh is still running for these agents.",
388
- next: `Retry in a moment: deepline skills --scope ${scope}. If no refresh is running, remove ${_chunk5YILTBF7js.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
388
+ next: `Retry in a moment: deepline skills --scope ${scope}. If no refresh is running, remove ${_chunkFMN7S7KBjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
389
389
  },
390
390
  { json: options.json }
391
391
  );
@@ -434,7 +434,7 @@ async function runSkillsInstallWithLease(input) {
434
434
  }
435
435
  }
436
436
  } catch (error) {
437
- _chunkBYEDI5PMjs.printCommandEnvelope.call(void 0,
437
+ _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
438
438
  {
439
439
  ok: false,
440
440
  status: "failed",
@@ -450,7 +450,7 @@ async function runSkillsInstallWithLease(input) {
450
450
  return 5;
451
451
  }
452
452
  if (missing.length > 0) {
453
- _chunkBYEDI5PMjs.printCommandEnvelope.call(void 0,
453
+ _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
454
454
  {
455
455
  ok: false,
456
456
  status: "failed",
@@ -490,7 +490,7 @@ async function runSkillsInstallWithLease(input) {
490
490
  {
491
491
  schemaVersion: 1,
492
492
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
493
- cliVersion: _chunkDFHS5XVZjs.SDK_VERSION,
493
+ cliVersion: _chunkBXOHHCXGjs.SDK_VERSION,
494
494
  scope,
495
495
  agents,
496
496
  skillsVersion: plan.version,
@@ -503,9 +503,9 @@ async function runSkillsInstallWithLease(input) {
503
503
  "utf8"
504
504
  );
505
505
  if (scope === "global") {
506
- _chunk5YILTBF7js.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
506
+ _chunkFMN7S7KBjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
507
507
  }
508
- _chunkBYEDI5PMjs.printCommandEnvelope.call(void 0,
508
+ _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
509
509
  {
510
510
  ok: true,
511
511
  status: "complete",
@@ -536,7 +536,7 @@ function registerSkillsCommand(program) {
536
536
  "after",
537
537
  `
538
538
  Notes:
539
- This command reinstalls current Deepline-managed skills using ${_chunk5YILTBF7js.SKILLS_NPX_PACKAGE},
539
+ This command reinstalls current Deepline-managed skills using ${_chunkFMN7S7KBjs.SKILLS_NPX_PACKAGE},
540
540
  then removes legacy Deepline skill names. Local scope writes into the resolved
541
541
  persistent project.
542
542
 
@@ -548,13 +548,13 @@ Examples:
548
548
  ).action(async (options) => {
549
549
  process.exitCode = await runSkillsCommand(options);
550
550
  });
551
- program.command(_chunk5YILTBF7js.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
551
+ program.command(_chunkFMN7S7KBjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
552
552
  "--claim <token>",
553
553
  "Owner token of the leases this child was started for."
554
554
  ).action(async (options) => {
555
555
  const claim = _optionalChain([options, 'access', _5 => _5.claim, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]);
556
556
  if (!claim) {
557
- _chunkBYEDI5PMjs.printCommandEnvelope.call(void 0,
557
+ _chunkWXEAAVBKjs.printCommandEnvelope.call(void 0,
558
558
  {
559
559
  ok: false,
560
560
  status: "failed",
@@ -567,7 +567,7 @@ Examples:
567
567
  process.exitCode = 2;
568
568
  return;
569
569
  }
570
- await _chunk5YILTBF7js.syncSdkSkillsIfNeeded.call(void 0, _chunkBJL7RYQNjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
570
+ await _chunkFMN7S7KBjs.syncSdkSkillsIfNeeded.call(void 0, _chunkE2CSKE27js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
571
571
  mode: "inline",
572
572
  notices: "defer",
573
573
  claim
@@ -4,20 +4,20 @@ import {
4
4
  resolveUpdatePlan,
5
5
  runAutomaticUpdatePlan,
6
6
  shouldRunCliAutoUpdate
7
- } from "./chunk-XAZWUW6I.mjs";
7
+ } from "./chunk-RFBM4KSE.mjs";
8
8
  import {
9
9
  isCiEnvironment
10
- } from "./chunk-TE2QT2MX.mjs";
10
+ } from "./chunk-5BWN4XAO.mjs";
11
11
  import {
12
12
  addJsonNotice,
13
13
  isJsonOutputMode
14
- } from "./chunk-PQHDZHZG.mjs";
14
+ } from "./chunk-4LMPONJM.mjs";
15
15
  import {
16
16
  resolveApiKeyForBaseUrl
17
- } from "./chunk-T3Q6BMVH.mjs";
17
+ } from "./chunk-YVK3WEBE.mjs";
18
18
  import {
19
19
  SDK_VERSION
20
- } from "./chunk-MJ56FCYU.mjs";
20
+ } from "./chunk-JWTTCWZM.mjs";
21
21
 
22
22
  // src/cli/compatibility-catalog.ts
23
23
  var readers = /* @__PURE__ */ new WeakMap();
@@ -2,11 +2,11 @@ import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse,
4
4
  writeExecutionOutput
5
- } from "./chunk-5Y7LLRWO.mjs";
5
+ } from "./chunk-HK6RIWDN.mjs";
6
6
  import {
7
7
  recentSearchRef,
8
8
  registerDeprecatedSearchCommand
9
- } from "./chunk-TBE2K5W4.mjs";
9
+ } from "./chunk-WOG5SFF2.mjs";
10
10
  import {
11
11
  arrayField,
12
12
  formatModelDescription,
@@ -48,10 +48,10 @@ import {
48
48
  } from "./chunk-FIVKWNMT.mjs";
49
49
  import {
50
50
  DeeplineClient
51
- } from "./chunk-U23L57VU.mjs";
51
+ } from "./chunk-RXKFJTFH.mjs";
52
52
  import {
53
53
  validateExecutionIdempotencyKey
54
- } from "./chunk-PKOFEHZL.mjs";
54
+ } from "./chunk-2EQPUMZG.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-ZMRZ3BXG.mjs";
64
+ } from "./chunk-VHXDX7WY.mjs";
65
65
  import {
66
66
  isCliTraceEnabled,
67
67
  recordCliTrace,
68
68
  resolveCliMaintenancePolicy
69
- } from "./chunk-VJLL5XIP.mjs";
69
+ } from "./chunk-76EUEG45.mjs";
70
70
  import {
71
71
  checkSdkCompatibility,
72
72
  enforceSdkCompatibilityResponse,
73
73
  flushDeferredSkillsSyncNotices,
74
74
  syncSdkSkillsIfNeeded
75
- } from "./chunk-TE2QT2MX.mjs";
75
+ } from "./chunk-5BWN4XAO.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-PQHDZHZG.mjs";
83
+ } from "./chunk-4LMPONJM.mjs";
84
84
  import {
85
85
  readSdkSkillsLocalVersion,
86
86
  resolveConfig,
87
87
  sdkCliStateDirPath
88
- } from "./chunk-T3Q6BMVH.mjs";
88
+ } from "./chunk-YVK3WEBE.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-D55V42LH.mjs");
1041
+ const { describeAnything } = await import("./describe-NEPMNE33.mjs");
1042
1042
  process.exitCode = await describeAnything(
1043
1043
  toolId,
1044
1044
  {