deepline 0.3.427 → 0.3.429

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 (112) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/sdk/src/types.ts +14 -1
  3. package/dist/bundling-sources/shared_libs/monitors/starter-templates.ts +11 -8
  4. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  5. package/dist/cli/auth-KNATWMNY.js +40 -0
  6. package/dist/cli/{auth-4X5ZKTJJ.mjs → auth-VVTFGWJO.mjs} +4 -4
  7. package/dist/cli/{billing-OXG3Q7AS.js → billing-LYFQRKIT.js} +73 -73
  8. package/dist/cli/{billing-V3OQHRKV.mjs → billing-UL7WSUTB.mjs} +4 -4
  9. package/dist/cli/{chunk-CH7B3T5E.mjs → chunk-42RBIHU5.mjs} +1 -1
  10. package/dist/cli/{chunk-ZNBMA4ZC.js → chunk-4BXZBDI3.js} +50 -50
  11. package/dist/cli/{chunk-3H4CUTG5.mjs → chunk-5B4E3WNZ.mjs} +2 -2
  12. package/dist/cli/{chunk-POIETGSV.mjs → chunk-73XPPBKX.mjs} +2 -2
  13. package/dist/cli/{chunk-WWOUGKO6.js → chunk-7H65SYK3.js} +6 -6
  14. package/dist/cli/{chunk-O3ZWP4KL.js → chunk-7VB4IDTE.js} +12 -9
  15. package/dist/cli/{chunk-U4MH5KFQ.js → chunk-ALS26N2J.js} +10 -10
  16. package/dist/cli/{chunk-3O5BPCWB.mjs → chunk-CAOJGQ7F.mjs} +5 -5
  17. package/dist/cli/{chunk-X4FVKKU2.mjs → chunk-CLYPCYS7.mjs} +8 -8
  18. package/dist/cli/{chunk-3UGHZGXU.mjs → chunk-FZ6BGVW6.mjs} +1 -1
  19. package/dist/cli/{chunk-YTWDMQLC.js → chunk-GJVN2OIX.js} +2 -2
  20. package/dist/cli/{chunk-6KFFNYO6.js → chunk-HESEQV33.js} +8 -8
  21. package/dist/cli/{chunk-GYZDLABX.js → chunk-IP4IW4M4.js} +26 -26
  22. package/dist/cli/{chunk-4GJT6BAH.js → chunk-IUYCK4MZ.js} +35 -35
  23. package/dist/cli/{chunk-INFLI36H.js → chunk-K4EHBVYV.js} +13 -6
  24. package/dist/cli/{chunk-OZ7M22PE.mjs → chunk-KXHXZ2R4.mjs} +3 -3
  25. package/dist/cli/{chunk-XAUHRRUG.js → chunk-LYNUCTLH.js} +1 -1
  26. package/dist/cli/{chunk-STV2UBYA.mjs → chunk-M4OIGYU6.mjs} +7 -4
  27. package/dist/cli/{chunk-JD5WFLF6.mjs → chunk-N2UQLMCH.mjs} +1 -1
  28. package/dist/cli/{chunk-MALRKVEP.js → chunk-N37OGHQR.js} +4 -4
  29. package/dist/cli/{chunk-5HFIHG2V.mjs → chunk-N5Q7GCTI.mjs} +3 -3
  30. package/dist/cli/{chunk-MWL44NXV.mjs → chunk-OHD4H4CU.mjs} +1 -1
  31. package/dist/cli/{chunk-TXCYMXG7.js → chunk-OPOS55BL.js} +6 -6
  32. package/dist/cli/{chunk-H64EDTZZ.mjs → chunk-QJG6VLPU.mjs} +2 -2
  33. package/dist/cli/{chunk-EER67G2B.mjs → chunk-R4MGS7YD.mjs} +13 -6
  34. package/dist/cli/{chunk-7SUNA75F.js → chunk-RGDZ6AAX.js} +52 -52
  35. package/dist/cli/{chunk-CYF7Y2K3.mjs → chunk-RMJ35WKB.mjs} +2 -2
  36. package/dist/cli/{chunk-XIZCVFTO.js → chunk-ULJLCHJ3.js} +2 -2
  37. package/dist/cli/{chunk-BVJFHPB5.js → chunk-UM4C6PSJ.js} +79 -79
  38. package/dist/cli/{chunk-MTI24NKI.mjs → chunk-V5JHBTQJ.mjs} +1 -1
  39. package/dist/cli/{chunk-JEFT6QTT.mjs → chunk-VDE2V6O6.mjs} +1 -1
  40. package/dist/cli/{chunk-MJ2WV3LS.mjs → chunk-VEHQBGWS.mjs} +4 -4
  41. package/dist/cli/{chunk-4NZAT6VQ.js → chunk-XYFONY3Y.js} +20 -20
  42. package/dist/cli/{chunk-PLN4F3DW.js → chunk-ZH3Q6AEB.js} +16 -16
  43. package/dist/cli/command-docs.js +2 -2
  44. package/dist/cli/command-docs.mjs +1 -1
  45. package/dist/cli/{csv-UP7VZ5XY.js → csv-RMPUP5SR.js} +12 -12
  46. package/dist/cli/{csv-MTZFRU7E.mjs → csv-TVBFPGXO.mjs} +3 -3
  47. package/dist/cli/{db-N67ZA3XK.mjs → db-7XYZVCAL.mjs} +4 -4
  48. package/dist/cli/{db-UYDMCKKN.js → db-GWOQMQQT.js} +25 -25
  49. package/dist/cli/{describe-IHJTJI6Y.mjs → describe-5HDKGDQ2.mjs} +12 -12
  50. package/dist/cli/{describe-ANKULJMG.js → describe-AI566F46.js} +16 -16
  51. package/dist/cli/describe-core.d.mts +1 -1
  52. package/dist/cli/describe-core.d.ts +1 -1
  53. package/dist/cli/{executions-LYI4OYNS.js → executions-EWIVWZQC.js} +6 -6
  54. package/dist/cli/{executions-5AV5LB25.mjs → executions-XNTOZHZY.mjs} +4 -4
  55. package/dist/cli/{feedback-WTBJTJNZ.mjs → feedback-AHF5WNVA.mjs} +3 -3
  56. package/dist/cli/{feedback-V6AEZY7B.js → feedback-IYZLJ7ZE.js} +7 -7
  57. package/dist/cli/git-EHWZSXTK.js +24 -0
  58. package/dist/cli/{git-TI5FHJAN.mjs → git-EMQ3MVLE.mjs} +4 -4
  59. package/dist/cli/index.js +135 -135
  60. package/dist/cli/index.mjs +37 -37
  61. package/dist/cli/{legacy-noops-HZSXECAV.js → legacy-noops-7M63J4IC.js} +7 -7
  62. package/dist/cli/{legacy-noops-55WIJYDZ.mjs → legacy-noops-KZFAEOAR.mjs} +4 -4
  63. package/dist/cli/{monitors-O233NFG3.mjs → monitors-7XMIETU6.mjs} +4 -4
  64. package/dist/cli/{monitors-LCM5INTO.js → monitors-BNPHJJBH.js} +84 -84
  65. package/dist/cli/{org-YY33PBZT.js → org-WNV54C4G.js} +64 -64
  66. package/dist/cli/{org-RXBSIFKK.mjs → org-WO6VOSTL.mjs} +4 -4
  67. package/dist/cli/{play-RPVYEAPU.mjs → play-AD3JPG2F.mjs} +11 -11
  68. package/dist/cli/{play-SKXVHW3X.js → play-D6JUOTX6.js} +298 -298
  69. package/dist/cli/{providers-LD3KKFJ4.mjs → providers-DMZRJ5B5.mjs} +4 -4
  70. package/dist/cli/{providers-VEAXU2RJ.js → providers-DUKMQLGB.js} +7 -7
  71. package/dist/cli/{quickstart-RXWFQYS7.js → quickstart-6PHBKFD6.js} +5 -5
  72. package/dist/cli/{quickstart-R6AHSDG5.mjs → quickstart-7OJBU7D4.mjs} +3 -3
  73. package/dist/cli/{search-C5OKXPTC.mjs → search-GYGSJJQF.mjs} +5 -5
  74. package/dist/cli/search-JBA32QD2.js +30 -0
  75. package/dist/cli/{secrets-6RB3VV44.mjs → secrets-4YQFKDJS.mjs} +4 -4
  76. package/dist/cli/{secrets-4H6ZJX73.js → secrets-JMB5BCTQ.js} +13 -13
  77. package/dist/cli/{sessions-6L3QV7NH.js → sessions-IP7XE32G.js} +5 -5
  78. package/dist/cli/{sessions-3VBCFW2E.mjs → sessions-SET44DR4.mjs} +4 -4
  79. package/dist/cli/{settings-QFBAOXNP.js → settings-NT5RSSYG.js} +75 -75
  80. package/dist/cli/{settings-MSLQGTMD.mjs → settings-SYLLT2KO.mjs} +8 -8
  81. package/dist/cli/{setup-5STMP55W.js → setup-FIN6TXJF.js} +42 -42
  82. package/dist/cli/{setup-2DIZBEKV.mjs → setup-TXLBM7NG.mjs} +7 -7
  83. package/dist/cli/skills-6RTSMDQQ.js +29 -0
  84. package/dist/cli/{skills-OK6IZA5B.mjs → skills-HHAIAVO2.mjs} +5 -5
  85. package/dist/cli/tools-4DBJUJDV.js +44 -0
  86. package/dist/cli/{tools-KNTK3ORX.mjs → tools-DUSWZVFC.mjs} +12 -12
  87. package/dist/cli/{update-C36Q2GCK.mjs → update-SKJUQK3E.mjs} +7 -7
  88. package/dist/cli/update-SUJJG5YO.js +31 -0
  89. package/dist/cli/{workflow-5QUJOFPN.js → workflow-2KI2H3LJ.js} +15 -15
  90. package/dist/cli/{workflow-TF5JGNEE.mjs → workflow-EJM4EZYA.mjs} +5 -5
  91. package/dist/{client-DH-fmT69.d.ts → client---03YXeB.d.ts} +9 -0
  92. package/dist/{client-BcfFWD4Z.d.mts → client-ChLTwy9x.d.mts} +9 -0
  93. package/dist/index.d.mts +2 -2
  94. package/dist/index.d.ts +2 -2
  95. package/dist/index.js +6 -6
  96. package/dist/index.mjs +3 -3
  97. package/dist/install-integrity.json +82 -82
  98. package/dist/plays/play-description.d.mts +1 -1
  99. package/dist/plays/play-description.d.ts +1 -1
  100. package/dist/plays/run-request.d.mts +1 -1
  101. package/dist/plays/run-request.d.ts +1 -1
  102. package/dist/release.d.mts +1 -1
  103. package/dist/release.d.ts +1 -1
  104. package/dist/release.js +2 -2
  105. package/dist/release.mjs +1 -1
  106. package/package.json +1 -1
  107. package/dist/cli/auth-MK7F2EYA.js +0 -40
  108. package/dist/cli/git-JGXSEUCH.js +0 -24
  109. package/dist/cli/search-QETWAC7F.js +0 -30
  110. package/dist/cli/skills-LNQA7Y64.js +0 -29
  111. package/dist/cli/tools-ZSJRG6TM.js +0 -44
  112. package/dist/cli/update-JVAQVWYF.js +0 -31
@@ -4,18 +4,18 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkPLN4F3DWjs = require('./chunk-PLN4F3DW.js');
7
+ var _chunkZH3Q6AEBjs = require('./chunk-ZH3Q6AEB.js');
8
8
 
9
9
 
10
- var _chunk7SUNA75Fjs = require('./chunk-7SUNA75F.js');
10
+ var _chunkRGDZ6AAXjs = require('./chunk-RGDZ6AAX.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkWWOUGKO6js = require('./chunk-WWOUGKO6.js');
14
+ var _chunk7H65SYK3js = require('./chunk-7H65SYK3.js');
15
15
 
16
16
 
17
17
 
18
- var _chunkMALRKVEPjs = require('./chunk-MALRKVEP.js');
18
+ var _chunkN37OGHQRjs = require('./chunk-N37OGHQR.js');
19
19
 
20
20
  // src/cli/compatibility-catalog.ts
21
21
  var readers = /* @__PURE__ */ new WeakMap();
@@ -42,7 +42,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
42
42
  async function reportAutoUpdateEvent(input) {
43
43
  let apiKey = "";
44
44
  try {
45
- apiKey = _chunkMALRKVEPjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
45
+ apiKey = _chunkN37OGHQRjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
46
46
  } catch (e2) {
47
47
  return;
48
48
  }
@@ -58,15 +58,15 @@ async function reportAutoUpdateEvent(input) {
58
58
  headers: {
59
59
  Authorization: `Bearer ${apiKey}`,
60
60
  "Content-Type": "application/json",
61
- "User-Agent": `deepline-ts-sdk/${_chunkMALRKVEPjs.SDK_VERSION}`,
61
+ "User-Agent": `deepline-ts-sdk/${_chunkN37OGHQRjs.SDK_VERSION}`,
62
62
  "X-Deepline-Client-Family": "sdk",
63
63
  "X-Deepline-CLI-Family": "sdk",
64
- "X-Deepline-CLI-Version": _chunkMALRKVEPjs.SDK_VERSION,
65
- "X-Deepline-SDK-Version": _chunkMALRKVEPjs.SDK_VERSION
64
+ "X-Deepline-CLI-Version": _chunkN37OGHQRjs.SDK_VERSION,
65
+ "X-Deepline-SDK-Version": _chunkN37OGHQRjs.SDK_VERSION
66
66
  },
67
67
  body: JSON.stringify({
68
68
  event: input.event,
69
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkMALRKVEPjs.SDK_VERSION,
69
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunkN37OGHQRjs.SDK_VERSION,
70
70
  target_version: input.response.latest,
71
71
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
72
72
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -85,13 +85,13 @@ function envTruthy(name) {
85
85
  return value === "1" || value === "true" || value === "yes";
86
86
  }
87
87
  function shouldSkipSelfUpdate(policy) {
88
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkPLN4F3DWjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunk7SUNA75Fjs.isCiEnvironment.call(void 0, );
88
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkZH3Q6AEBjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkRGDZ6AAXjs.isCiEnvironment.call(void 0, );
89
89
  }
90
90
  function isDowngradeAutoUpdateResponse(response) {
91
91
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
92
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkMALRKVEPjs.SDK_VERSION;
92
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunkN37OGHQRjs.SDK_VERSION;
93
93
  if (!target) return false;
94
- return _chunkPLN4F3DWjs.compareUpdateVersions.call(void 0, target, current) < 0;
94
+ return _chunkZH3Q6AEBjs.compareUpdateVersions.call(void 0, target, current) < 0;
95
95
  }
96
96
  function relaunchCurrentCommand(plan, runtime = {}) {
97
97
  return new Promise((resolve) => {
@@ -144,7 +144,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
144
144
  }
145
145
  if (isDowngradeAutoUpdateResponse(response)) {
146
146
  const target = response.latest;
147
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkMALRKVEPjs.SDK_VERSION;
147
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunkN37OGHQRjs.SDK_VERSION;
148
148
  process.stderr.write(
149
149
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
150
150
  `
@@ -152,21 +152,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
152
152
  return false;
153
153
  }
154
154
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
155
- const plan = _chunkPLN4F3DWjs.resolveUpdatePlan.call(void 0, {
155
+ const plan = _chunkZH3Q6AEBjs.resolveUpdatePlan.call(void 0, {
156
156
  packageSpec,
157
157
  requireVerifiedNpmOwnership: true,
158
158
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
159
159
  });
160
- if (!_chunkPLN4F3DWjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
160
+ if (!_chunkZH3Q6AEBjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
161
161
  return false;
162
162
  }
163
163
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
164
164
  deferredAutoUpdate = async () => {
165
165
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
166
166
  };
167
- if (_chunkWWOUGKO6js.isJsonOutputMode.call(void 0, )) {
167
+ if (_chunk7H65SYK3js.isJsonOutputMode.call(void 0, )) {
168
168
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
169
- _chunkWWOUGKO6js.addJsonNotice.call(void 0, {
169
+ _chunk7H65SYK3js.addJsonNotice.call(void 0, {
170
170
  code: "sdk_update_queued",
171
171
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
172
172
  });
@@ -179,7 +179,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
179
179
  return true;
180
180
  }
181
181
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
182
- if (!_chunkPLN4F3DWjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
182
+ if (!_chunkZH3Q6AEBjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
183
183
  const autoUpdate = response.auto_update;
184
184
  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";
185
185
  process.stderr.write(
@@ -192,7 +192,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
192
192
  event: "started",
193
193
  installKind: plan.kind
194
194
  });
195
- const updateResult = await _chunkPLN4F3DWjs.runAutomaticUpdatePlan.call(void 0, plan);
195
+ const updateResult = await _chunkZH3Q6AEBjs.runAutomaticUpdatePlan.call(void 0, plan);
196
196
  if (updateResult.status === "skipped_previous_failure") {
197
197
  void reportAutoUpdateEvent({
198
198
  baseUrl,
@@ -243,7 +243,7 @@ var _crypto = require('crypto');
243
243
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
244
244
  var activeToolExecuteCommand = null;
245
245
  function progressLine(line) {
246
- if (!_chunkWWOUGKO6js.isJsonOutputMode.call(void 0, )) console.error(line);
246
+ if (!_chunk7H65SYK3js.isJsonOutputMode.call(void 0, )) console.error(line);
247
247
  }
248
248
  function beginToolExecuteCommand() {
249
249
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -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 _chunkYTWDMQLCjs = require('./chunk-YTWDMQLC.js');
4
+ var _chunkGJVN2OIXjs = require('./chunk-GJVN2OIX.js');
5
5
 
6
6
 
7
- var _chunk4GJT6BAHjs = require('./chunk-4GJT6BAH.js');
7
+ var _chunkIUYCK4MZjs = require('./chunk-IUYCK4MZ.js');
8
8
 
9
9
 
10
- var _chunk7SUNA75Fjs = require('./chunk-7SUNA75F.js');
10
+ var _chunkRGDZ6AAXjs = require('./chunk-RGDZ6AAX.js');
11
11
 
12
12
 
13
- var _chunkWWOUGKO6js = require('./chunk-WWOUGKO6.js');
13
+ var _chunk7H65SYK3js = require('./chunk-7H65SYK3.js');
14
14
 
15
15
 
16
- var _chunkMALRKVEPjs = require('./chunk-MALRKVEP.js');
16
+ var _chunkN37OGHQRjs = require('./chunk-N37OGHQR.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 = _chunk7SUNA75Fjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkRGDZ6AAXjs.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 ? _chunkYTWDMQLCjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkYTWDMQLCjs.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 ? _chunkGJVN2OIXjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkGJVN2OIXjs.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()]) || _chunkMALRKVEPjs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkN37OGHQRjs.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 = _chunk7SUNA75Fjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkRGDZ6AAXjs.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, () => ( _chunkMALRKVEPjs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkN37OGHQRjs.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 _chunk4GJT6BAHjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkIUYCK4MZjs.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
- _chunkWWOUGKO6js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunk7H65SYK3js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkWWOUGKO6js.printCommandEnvelope.call(void 0,
1284
+ _chunk7H65SYK3js.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
- _chunkWWOUGKO6js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunk7H65SYK3js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1298
1298
  return 0;
1299
1299
  }
1300
1300
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1324,7 +1324,7 @@ To retry with full installer output, run: deepline skills
1324
1324
  );
1325
1325
  }
1326
1326
  if (options.executeWithJson && options.json) {
1327
- _chunkWWOUGKO6js.printCommandEnvelope.call(void 0,
1327
+ _chunk7H65SYK3js.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -6,7 +6,7 @@
6
6
 
7
7
 
8
8
 
9
- var _chunkINFLI36Hjs = require('./chunk-INFLI36H.js');
9
+ var _chunkK4EHBVYVjs = require('./chunk-K4EHBVYV.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 = _chunkINFLI36Hjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkINFLI36Hjs.COMMAND_DOCS; exports.commandDocKey = _chunkINFLI36Hjs.commandDocKey; exports.helpDetailFromArgv = _chunkINFLI36Hjs.helpDetailFromArgv; exports.renderActionExplanation = _chunkINFLI36Hjs.renderActionExplanation; exports.renderCommandExplanation = _chunkINFLI36Hjs.renderCommandExplanation; exports.renderDocText = _chunkINFLI36Hjs.renderDocText;
19
+ exports.CLI_DOC_SURFACE = _chunkK4EHBVYVjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkK4EHBVYVjs.COMMAND_DOCS; exports.commandDocKey = _chunkK4EHBVYVjs.commandDocKey; exports.helpDetailFromArgv = _chunkK4EHBVYVjs.helpDetailFromArgv; exports.renderActionExplanation = _chunkK4EHBVYVjs.renderActionExplanation; exports.renderCommandExplanation = _chunkK4EHBVYVjs.renderCommandExplanation; exports.renderDocText = _chunkK4EHBVYVjs.renderDocText;
@@ -6,7 +6,7 @@ import {
6
6
  renderActionExplanation,
7
7
  renderCommandExplanation,
8
8
  renderDocText
9
- } from "./chunk-EER67G2B.mjs";
9
+ } from "./chunk-R4MGS7YD.mjs";
10
10
  import "./chunk-KRD6H754.mjs";
11
11
  export {
12
12
  CLI_DOC_SURFACE,
@@ -4,12 +4,12 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkWWOUGKO6js = require('./chunk-WWOUGKO6.js');
8
- require('./chunk-MALRKVEP.js');
7
+ var _chunk7H65SYK3js = require('./chunk-7H65SYK3.js');
8
+ require('./chunk-N37OGHQR.js');
9
9
  require('./chunk-NPBJI7RE.js');
10
10
  require('./chunk-XNYIZMNQ.js');
11
11
  require('./chunk-PPDBRJRW.js');
12
- require('./chunk-XAUHRRUG.js');
12
+ require('./chunk-LYNUCTLH.js');
13
13
  require('./chunk-OG64RBAC.js');
14
14
  require('./chunk-COGTRVWW.js');
15
15
 
@@ -127,7 +127,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
127
127
  column.length,
128
128
  ...rows.map((row) => {
129
129
  const value = _nullishCoalesce(row[column], () => ( ""));
130
- return (verbose ? value : _chunkWWOUGKO6js.clip.call(void 0, value, 42)).length;
130
+ return (verbose ? value : _chunk7H65SYK3js.clip.call(void 0, value, 42)).length;
131
131
  })
132
132
  )
133
133
  ])
@@ -137,7 +137,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
137
137
  const body = rows.map(
138
138
  (row) => columns.map((column) => {
139
139
  const raw = _nullishCoalesce(row[column], () => ( ""));
140
- const display = verbose ? raw : _chunkWWOUGKO6js.clip.call(void 0, raw, 42);
140
+ const display = verbose ? raw : _chunk7H65SYK3js.clip.call(void 0, raw, 42);
141
141
  return display.padEnd(widths[column]);
142
142
  }).join(" | ")
143
143
  );
@@ -157,7 +157,7 @@ async function handleCsvShow(path, options, command) {
157
157
  { exitCode: 2 }
158
158
  );
159
159
  }
160
- const allRows = _chunkWWOUGKO6js.readCsvRows.call(void 0, csvPath);
160
+ const allRows = _chunk7H65SYK3js.readCsvRows.call(void 0, csvPath);
161
161
  const [rowStart, rowEnd] = parseRowRange(options.rows);
162
162
  const rows = options.summary && options.rows === void 0 ? allRows : selectRows(allRows, rowStart, rowEnd);
163
163
  const { rows: selected, columns } = selectColumns(
@@ -170,7 +170,7 @@ async function handleCsvShow(path, options, command) {
170
170
  if (options.summary) {
171
171
  const summaries = summarizeColumns(selected, columns);
172
172
  if (format === "json") {
173
- _chunkWWOUGKO6js.printJson.call(void 0, {
173
+ _chunk7H65SYK3js.printJson.call(void 0, {
174
174
  rows: summaries,
175
175
  total_rows: selected.length,
176
176
  source_total_rows: allRows.length
@@ -179,7 +179,7 @@ async function handleCsvShow(path, options, command) {
179
179
  }
180
180
  const displayRows = summaryDisplayRows(summaries);
181
181
  if (format === "csv") {
182
- process.stdout.write(_chunkWWOUGKO6js.csvStringFromRows.call(void 0, displayRows));
182
+ process.stdout.write(_chunk7H65SYK3js.csvStringFromRows.call(void 0, displayRows));
183
183
  return;
184
184
  }
185
185
  process.stdout.write(
@@ -194,7 +194,7 @@ async function handleCsvShow(path, options, command) {
194
194
  return;
195
195
  }
196
196
  if (format === "json") {
197
- _chunkWWOUGKO6js.printJson.call(void 0, {
197
+ _chunk7H65SYK3js.printJson.call(void 0, {
198
198
  rows: selected.map((row, index) => ({ __row: rowStart + index, ...row }))
199
199
  });
200
200
  return;
@@ -437,7 +437,7 @@ async function handleCsvRenderStart(options) {
437
437
  if (log) {
438
438
  detail = `
439
439
  CSV render log:
440
- ${_chunkWWOUGKO6js.clip.call(void 0, log, 2e3)}`;
440
+ ${_chunk7H65SYK3js.clip.call(void 0, log, 2e3)}`;
441
441
  }
442
442
  } catch (e7) {
443
443
  }
@@ -488,7 +488,7 @@ async function handleCsvRenderStatus(options) {
488
488
  if (payload.pid) lines.push(`Render PID: ${payload.pid}`);
489
489
  if (payload.url) lines.push(`Render URL: ${payload.url}`);
490
490
  lines.push(`Render Health: ${payload.health_status}`);
491
- _chunkWWOUGKO6js.printCommandEnvelope.call(void 0, payload, {
491
+ _chunk7H65SYK3js.printCommandEnvelope.call(void 0, payload, {
492
492
  json: options.json,
493
493
  text: `${lines.join("\n")}
494
494
  `
@@ -524,7 +524,7 @@ async function handleCsvRenderStop(options) {
524
524
  };
525
525
  const text = stopped.length > 0 ? `Stopped CSV render process(es): ${stopped.join(" ")}
526
526
  ` : "No running CSV render process found.\n";
527
- _chunkWWOUGKO6js.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
527
+ _chunk7H65SYK3js.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
528
528
  }
529
529
  async function handleCsvRender(action, options) {
530
530
  const normalized = _nullishCoalesce(action, () => ( "start"));
@@ -4,12 +4,12 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-MTI24NKI.mjs";
8
- import "./chunk-MWL44NXV.mjs";
7
+ } from "./chunk-V5JHBTQJ.mjs";
8
+ import "./chunk-OHD4H4CU.mjs";
9
9
  import "./chunk-MAMVGOSC.mjs";
10
10
  import "./chunk-DLIRSHV6.mjs";
11
11
  import "./chunk-E4IXDAZI.mjs";
12
- import "./chunk-CH7B3T5E.mjs";
12
+ import "./chunk-42RBIHU5.mjs";
13
13
  import "./chunk-WZYKRD7T.mjs";
14
14
  import "./chunk-KRD6H754.mjs";
15
15
 
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  DeeplineClient,
6
6
  planCustomerDbQuery
7
- } from "./chunk-3UGHZGXU.mjs";
7
+ } from "./chunk-FZ6BGVW6.mjs";
8
8
  import "./chunk-L2VKAASU.mjs";
9
9
  import "./chunk-KCC3FKIW.mjs";
10
10
  import "./chunk-EIMG75BT.mjs";
@@ -18,8 +18,8 @@ import {
18
18
  printCommandEnvelope,
19
19
  recordRows,
20
20
  shouldEmitJson
21
- } from "./chunk-MTI24NKI.mjs";
22
- import "./chunk-MWL44NXV.mjs";
21
+ } from "./chunk-V5JHBTQJ.mjs";
22
+ import "./chunk-OHD4H4CU.mjs";
23
23
  import {
24
24
  CustomerDbQueryOutcomeUnknownError
25
25
  } from "./chunk-MAMVGOSC.mjs";
@@ -27,7 +27,7 @@ import "./chunk-DLIRSHV6.mjs";
27
27
  import {
28
28
  DeeplineError
29
29
  } from "./chunk-E4IXDAZI.mjs";
30
- import "./chunk-CH7B3T5E.mjs";
30
+ import "./chunk-42RBIHU5.mjs";
31
31
  import "./chunk-WZYKRD7T.mjs";
32
32
  import "./chunk-KRD6H754.mjs";
33
33
 
@@ -4,7 +4,7 @@ var _chunkAID3OYVJjs = require('./chunk-AID3OYVJ.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkU4MH5KFQjs = require('./chunk-U4MH5KFQ.js');
7
+ var _chunkALS26N2Jjs = require('./chunk-ALS26N2J.js');
8
8
  require('./chunk-E4CABWXL.js');
9
9
  require('./chunk-2H4EY7KH.js');
10
10
  require('./chunk-KXMNM4AQ.js');
@@ -18,8 +18,8 @@ require('./chunk-XDVT3GOM.js');
18
18
 
19
19
 
20
20
 
21
- var _chunkWWOUGKO6js = require('./chunk-WWOUGKO6.js');
22
- require('./chunk-MALRKVEP.js');
21
+ var _chunk7H65SYK3js = require('./chunk-7H65SYK3.js');
22
+ require('./chunk-N37OGHQR.js');
23
23
 
24
24
 
25
25
  var _chunkNPBJI7REjs = require('./chunk-NPBJI7RE.js');
@@ -27,7 +27,7 @@ require('./chunk-XNYIZMNQ.js');
27
27
 
28
28
 
29
29
  var _chunkPPDBRJRWjs = require('./chunk-PPDBRJRW.js');
30
- require('./chunk-XAUHRRUG.js');
30
+ require('./chunk-LYNUCTLH.js');
31
31
  require('./chunk-OG64RBAC.js');
32
32
  require('./chunk-COGTRVWW.js');
33
33
 
@@ -50,8 +50,8 @@ function formatCell(value) {
50
50
  return text.length > 80 ? `${text.slice(0, 77)}...` : text;
51
51
  }
52
52
  function tableLines(result) {
53
- const rows = _chunkWWOUGKO6js.dataExportRows.call(void 0, customerDbRows(result));
54
- const responseColumns = _chunkWWOUGKO6js.dataExportColumns.call(void 0,
53
+ const rows = _chunk7H65SYK3js.dataExportRows.call(void 0, customerDbRows(result));
54
+ const responseColumns = _chunk7H65SYK3js.dataExportColumns.call(void 0,
55
55
  rows,
56
56
  customerDbColumnNames(result)
57
57
  );
@@ -97,7 +97,7 @@ function tableLines(result) {
97
97
  return lines;
98
98
  }
99
99
  function customerDbRows(result) {
100
- return _chunkWWOUGKO6js.recordRows.call(void 0, result.rows);
100
+ return _chunk7H65SYK3js.recordRows.call(void 0, result.rows);
101
101
  }
102
102
  function customerDbColumnNames(result) {
103
103
  return result.columns.map((column) => column.name).filter(Boolean);
@@ -150,7 +150,7 @@ function writeCustomerDbCsv(result, outPath) {
150
150
  const resolved = _path.resolve.call(void 0, outPath);
151
151
  _fs.writeFileSync.call(void 0,
152
152
  resolved,
153
- _chunkWWOUGKO6js.dataExportCsvString.call(void 0, customerDbRows(result), customerDbColumnNames(result)),
153
+ _chunk7H65SYK3js.dataExportCsvString.call(void 0, customerDbRows(result), customerDbColumnNames(result)),
154
154
  "utf-8"
155
155
  );
156
156
  return resolved;
@@ -191,7 +191,7 @@ function dbQueryExportEnvelope(input) {
191
191
  function renderDbQueryResult(result, query, options) {
192
192
  const { sql, maxRows, operationKey } = query;
193
193
  const { format, out: outPath, json: explicitJsonOutput = false } = options;
194
- const jsonOutput = explicitJsonOutput || _chunkWWOUGKO6js.shouldEmitJson.call(void 0, );
194
+ const jsonOutput = explicitJsonOutput || _chunk7H65SYK3js.shouldEmitJson.call(void 0, );
195
195
  const toolPayload = JSON.stringify({
196
196
  sql,
197
197
  result_mode: "rows",
@@ -202,7 +202,7 @@ function renderDbQueryResult(result, query, options) {
202
202
  if (format === "csv") {
203
203
  if (outPath) {
204
204
  const exportedPath = writeCustomerDbCsv(result, outPath);
205
- _chunkWWOUGKO6js.printCommandEnvelope.call(void 0,
205
+ _chunk7H65SYK3js.printCommandEnvelope.call(void 0,
206
206
  dbQueryExportEnvelope({
207
207
  result,
208
208
  format,
@@ -218,7 +218,7 @@ function renderDbQueryResult(result, query, options) {
218
218
  );
219
219
  return;
220
220
  }
221
- _chunkWWOUGKO6js.printCommandEnvelope.call(void 0,
221
+ _chunk7H65SYK3js.printCommandEnvelope.call(void 0,
222
222
  dbQueryExportEnvelope({
223
223
  result,
224
224
  format,
@@ -228,7 +228,7 @@ function renderDbQueryResult(result, query, options) {
228
228
  }),
229
229
  {
230
230
  json: explicitJsonOutput,
231
- text: _chunkWWOUGKO6js.dataExportCsvString.call(void 0,
231
+ text: _chunk7H65SYK3js.dataExportCsvString.call(void 0,
232
232
  customerDbRows(result),
233
233
  customerDbColumnNames(result)
234
234
  )
@@ -237,14 +237,14 @@ function renderDbQueryResult(result, query, options) {
237
237
  return;
238
238
  }
239
239
  if (format === "markdown") {
240
- const content = _chunkWWOUGKO6js.markdownTableFromRows.call(void 0,
240
+ const content = _chunk7H65SYK3js.markdownTableFromRows.call(void 0,
241
241
  customerDbRows(result),
242
242
  customerDbColumnNames(result)
243
243
  );
244
244
  if (outPath) {
245
245
  const exportedPath = _path.resolve.call(void 0, outPath);
246
246
  _fs.writeFileSync.call(void 0, exportedPath, content, "utf-8");
247
- _chunkWWOUGKO6js.printCommandEnvelope.call(void 0,
247
+ _chunk7H65SYK3js.printCommandEnvelope.call(void 0,
248
248
  dbQueryExportEnvelope({
249
249
  result,
250
250
  format,
@@ -260,7 +260,7 @@ function renderDbQueryResult(result, query, options) {
260
260
  );
261
261
  return;
262
262
  }
263
- _chunkWWOUGKO6js.printCommandEnvelope.call(void 0,
263
+ _chunk7H65SYK3js.printCommandEnvelope.call(void 0,
264
264
  dbQueryExportEnvelope({
265
265
  result,
266
266
  format,
@@ -275,7 +275,7 @@ function renderDbQueryResult(result, query, options) {
275
275
  );
276
276
  return;
277
277
  }
278
- _chunkWWOUGKO6js.printCommandEnvelope.call(void 0,
278
+ _chunk7H65SYK3js.printCommandEnvelope.call(void 0,
279
279
  {
280
280
  ...result,
281
281
  next: {
@@ -349,9 +349,9 @@ async function runDbQueryCommand(options) {
349
349
  ...maxRows === void 0 ? {} : { maxRows },
350
350
  ...operationKey === void 0 ? {} : { operationKey }
351
351
  };
352
- const plan = _chunkU4MH5KFQjs.planCustomerDbQuery.call(void 0, query);
352
+ const plan = _chunkALS26N2Jjs.planCustomerDbQuery.call(void 0, query);
353
353
  if (options.dryRun) {
354
- _chunkWWOUGKO6js.printCommandEnvelope.call(void 0,
354
+ _chunk7H65SYK3js.printCommandEnvelope.call(void 0,
355
355
  {
356
356
  dryRun: true,
357
357
  ...plan,
@@ -364,11 +364,11 @@ async function runDbQueryCommand(options) {
364
364
  ...out === void 0 ? {} : { file: _path.resolve.call(void 0, out) }
365
365
  }
366
366
  },
367
- { json: options.json || _chunkWWOUGKO6js.shouldEmitJson.call(void 0, ) }
367
+ { json: options.json || _chunk7H65SYK3js.shouldEmitJson.call(void 0, ) }
368
368
  );
369
369
  return 0;
370
370
  }
371
- const client = new (0, _chunkU4MH5KFQjs.DeeplineClient)();
371
+ const client = new (0, _chunkALS26N2Jjs.DeeplineClient)();
372
372
  const result = await client.db.query(query);
373
373
  renderDbQueryResult(result, query, {
374
374
  format,
@@ -377,8 +377,8 @@ async function runDbQueryCommand(options) {
377
377
  });
378
378
  return 0;
379
379
  } catch (error) {
380
- if (error instanceof _chunkNPBJI7REjs.CustomerDbQueryOutcomeUnknownError && (options.json || _chunkWWOUGKO6js.shouldEmitJson.call(void 0, ))) {
381
- _chunkWWOUGKO6js.printCommandEnvelope.call(void 0,
380
+ if (error instanceof _chunkNPBJI7REjs.CustomerDbQueryOutcomeUnknownError && (options.json || _chunk7H65SYK3js.shouldEmitJson.call(void 0, ))) {
381
+ _chunk7H65SYK3js.printCommandEnvelope.call(void 0,
382
382
  {
383
383
  ok: false,
384
384
  error: {
@@ -426,8 +426,8 @@ function dbRepairPlainText(result) {
426
426
  async function handleDbRepair(args) {
427
427
  const providerIndex = args.indexOf("--provider");
428
428
  const provider = providerIndex >= 0 ? _optionalChain([args, 'access', _9 => _9[providerIndex + 1], 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]) : void 0;
429
- const jsonOutput = _chunkWWOUGKO6js.argsWantJson.call(void 0, args);
430
- const client = new (0, _chunkU4MH5KFQjs.DeeplineClient)();
429
+ const jsonOutput = _chunk7H65SYK3js.argsWantJson.call(void 0, args);
430
+ const client = new (0, _chunkALS26N2Jjs.DeeplineClient)();
431
431
  let result;
432
432
  try {
433
433
  result = await client.repairIngestionStorage(
@@ -443,7 +443,7 @@ async function handleDbRepair(args) {
443
443
  console.error(errorMessage2(error));
444
444
  return 1;
445
445
  }
446
- _chunkWWOUGKO6js.printCommandEnvelope.call(void 0,
446
+ _chunk7H65SYK3js.printCommandEnvelope.call(void 0,
447
447
  {
448
448
  command: "db repair",
449
449
  status: result.status,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-X4FVKKU2.mjs";
3
+ } from "./chunk-CLYPCYS7.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
6
  } from "./chunk-KPKU53YO.mjs";
7
- import "./chunk-STV2UBYA.mjs";
7
+ import "./chunk-M4OIGYU6.mjs";
8
8
  import {
9
9
  describeLookupsFor,
10
10
  describeName
@@ -20,25 +20,25 @@ import "./chunk-FIVKWNMT.mjs";
20
20
  import "./chunk-TXZVVBQZ.mjs";
21
21
  import {
22
22
  DeeplineClient
23
- } from "./chunk-3UGHZGXU.mjs";
23
+ } from "./chunk-FZ6BGVW6.mjs";
24
24
  import "./chunk-L2VKAASU.mjs";
25
25
  import "./chunk-KCC3FKIW.mjs";
26
26
  import "./chunk-EIMG75BT.mjs";
27
27
  import "./chunk-UBKA33KY.mjs";
28
- import "./chunk-MJ2WV3LS.mjs";
29
- import "./chunk-3O5BPCWB.mjs";
30
- import "./chunk-JD5WFLF6.mjs";
31
- import "./chunk-5HFIHG2V.mjs";
32
- import "./chunk-JEFT6QTT.mjs";
33
- import "./chunk-OZ7M22PE.mjs";
28
+ import "./chunk-VEHQBGWS.mjs";
29
+ import "./chunk-CAOJGQ7F.mjs";
30
+ import "./chunk-N2UQLMCH.mjs";
31
+ import "./chunk-N5Q7GCTI.mjs";
32
+ import "./chunk-VDE2V6O6.mjs";
33
+ import "./chunk-KXHXZ2R4.mjs";
34
34
  import {
35
35
  printCommandEnvelope
36
- } from "./chunk-MTI24NKI.mjs";
37
- import "./chunk-MWL44NXV.mjs";
36
+ } from "./chunk-V5JHBTQJ.mjs";
37
+ import "./chunk-OHD4H4CU.mjs";
38
38
  import "./chunk-MAMVGOSC.mjs";
39
39
  import "./chunk-DLIRSHV6.mjs";
40
40
  import "./chunk-E4IXDAZI.mjs";
41
- import "./chunk-CH7B3T5E.mjs";
41
+ import "./chunk-42RBIHU5.mjs";
42
42
  import "./chunk-WZYKRD7T.mjs";
43
43
  import "./chunk-KRD6H754.mjs";
44
44