deepline 0.3.566 → 0.3.567

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 (135) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  3. package/dist/cli/{auth-HSFDBHVB.mjs → auth-IYYQA4ZO.mjs} +5 -5
  4. package/dist/cli/auth-KI3KBLRD.js +44 -0
  5. package/dist/cli/{billing-6T7HH6DE.mjs → billing-B37Z3HQJ.mjs} +8 -8
  6. package/dist/cli/{billing-NG5W2PDU.js → billing-HSUA42W6.js} +99 -99
  7. package/dist/cli/{chunk-ILTX6ZAH.js → chunk-35TWSBEO.js} +6 -6
  8. package/dist/cli/{chunk-5J6VEC75.js → chunk-3E2C6CIE.js} +4 -4
  9. package/dist/cli/{chunk-SR7IUISM.mjs → chunk-3GRMC25W.mjs} +1 -1
  10. package/dist/cli/{chunk-LAQNXNVR.mjs → chunk-3TJKNRHY.mjs} +2 -2
  11. package/dist/cli/{chunk-CSXMBYEW.mjs → chunk-4ACBVZ44.mjs} +1 -1
  12. package/dist/cli/{chunk-MEBKPVHE.mjs → chunk-4FTTLJVV.mjs} +1 -1
  13. package/dist/cli/{chunk-YJEBAR3C.js → chunk-4FVLQFCF.js} +5 -5
  14. package/dist/cli/{chunk-Z5BLACQ3.js → chunk-5D3QECRX.js} +53 -53
  15. package/dist/cli/{chunk-YFP7YZUU.mjs → chunk-64CQF2JL.mjs} +4 -4
  16. package/dist/cli/{chunk-KKC7U4UJ.mjs → chunk-6DJHNVGT.mjs} +2 -2
  17. package/dist/cli/{chunk-KDPGBC5U.mjs → chunk-6TLCP356.mjs} +5 -5
  18. package/dist/cli/{chunk-H6BQIQEJ.js → chunk-7RNBGBTS.js} +9 -9
  19. package/dist/cli/{chunk-EIYQIY3C.js → chunk-A5VWMZY4.js} +3 -3
  20. package/dist/cli/{chunk-FXSDDRVX.js → chunk-AC37TMJX.js} +23 -23
  21. package/dist/cli/{chunk-L5N4DSH4.mjs → chunk-ASIXRCHD.mjs} +3 -3
  22. package/dist/cli/{chunk-FPKKYS7V.mjs → chunk-AUXDJJYK.mjs} +5 -5
  23. package/dist/cli/{chunk-K3DEHKV7.mjs → chunk-C67KGU5G.mjs} +11 -11
  24. package/dist/cli/{chunk-ZYXQIOWE.js → chunk-CR7U44AW.js} +3 -3
  25. package/dist/cli/{chunk-P7Q27COZ.mjs → chunk-FRQYUWGF.mjs} +1 -1
  26. package/dist/cli/{chunk-KCD4LM2D.mjs → chunk-FT7OSIWX.mjs} +3 -3
  27. package/dist/cli/{chunk-L2P3672R.js → chunk-GFETP5X7.js} +7 -7
  28. package/dist/cli/{chunk-PLXQIHRM.mjs → chunk-GWKHJ6BN.mjs} +2 -2
  29. package/dist/cli/{chunk-TYKMBPNE.mjs → chunk-HYYWZFYF.mjs} +2 -2
  30. package/dist/cli/{chunk-FUTXULX5.mjs → chunk-IPOAJ56O.mjs} +5 -5
  31. package/dist/cli/{chunk-3PNU3FEI.mjs → chunk-JBXDWAGB.mjs} +4 -4
  32. package/dist/cli/{chunk-KXGUMGCU.js → chunk-KHZVZOJF.js} +20 -20
  33. package/dist/cli/{chunk-VHRYJACF.mjs → chunk-KOBUUBOO.mjs} +2 -2
  34. package/dist/cli/{chunk-CQX5MWHH.js → chunk-L5UB7RF2.js} +5 -5
  35. package/dist/cli/{chunk-UF5MVM6L.js → chunk-LQRWLQAQ.js} +2 -2
  36. package/dist/cli/{chunk-TVGGBQFG.js → chunk-LTJQCMEM.js} +20 -20
  37. package/dist/cli/{chunk-QBX4UJMY.mjs → chunk-LZV3AJAX.mjs} +2 -2
  38. package/dist/cli/{chunk-OFEARTQO.mjs → chunk-MMWD3ZTQ.mjs} +2 -2
  39. package/dist/cli/{chunk-T3RKLPPS.js → chunk-NQ6NYC54.js} +13 -13
  40. package/dist/cli/{chunk-AGDRIXF2.mjs → chunk-OD4LINNE.mjs} +1 -1
  41. package/dist/cli/{chunk-VRWMQUFO.js → chunk-OOFYQCNU.js} +5 -5
  42. package/dist/cli/{chunk-7GLVIFDO.js → chunk-OPGDVTAQ.js} +48 -48
  43. package/dist/cli/{chunk-AHELFBG5.js → chunk-OUKIU4AE.js} +2 -2
  44. package/dist/cli/{chunk-RUVYG5TT.js → chunk-P4GUUPIV.js} +2 -2
  45. package/dist/cli/{chunk-JSVNTY47.js → chunk-PFJNZUUK.js} +12 -12
  46. package/dist/cli/{chunk-BILFWD6F.mjs → chunk-PH4SALNI.mjs} +1 -1
  47. package/dist/cli/{chunk-6F6DMBEJ.js → chunk-RIR3YNNB.js} +15 -15
  48. package/dist/cli/{chunk-AIF7ZHCF.mjs → chunk-RSQ6AVH3.mjs} +1 -1
  49. package/dist/cli/{chunk-E44TMICV.mjs → chunk-S72EZ4R5.mjs} +1 -1
  50. package/dist/cli/{chunk-OL3WYX7L.js → chunk-SDJ5CTZX.js} +26 -26
  51. package/dist/cli/{chunk-CXK6ZEOQ.js → chunk-V5YGEK5Q.js} +8 -8
  52. package/dist/cli/{chunk-GY7MY2IJ.js → chunk-WIKOKQJV.js} +1 -1
  53. package/dist/cli/{chunk-MIS3V2C3.js → chunk-XG5NEJOK.js} +10 -10
  54. package/dist/cli/{chunk-ARUXRZR4.mjs → chunk-YDXPAUGF.mjs} +2 -2
  55. package/dist/cli/{chunk-RIV2AZLY.mjs → chunk-YRRXHWQ2.mjs} +5 -5
  56. package/dist/cli/{chunk-PRM3WYG7.js → chunk-Z75WS3TZ.js} +100 -100
  57. package/dist/cli/{chunk-K5QLALHC.js → chunk-ZNXUAZDK.js} +41 -41
  58. package/dist/cli/{chunk-AD47OWTE.mjs → chunk-ZPD6SPP2.mjs} +1 -1
  59. package/dist/cli/concurrent-runs-help-7SA3A2K5.js +22 -0
  60. package/dist/cli/{concurrent-runs-help-TNMN4C74.mjs → concurrent-runs-help-P5TBHSRA.mjs} +6 -6
  61. package/dist/cli/{csv-77H4JMDW.js → csv-2F5LOZUT.js} +13 -13
  62. package/dist/cli/{csv-KAZRKSLV.mjs → csv-KPYMOFM2.mjs} +4 -4
  63. package/dist/cli/{db-MM6R2466.js → db-4H4CJFI2.js} +27 -27
  64. package/dist/cli/{db-XQQAVLWO.mjs → db-URVQ2LNU.mjs} +6 -6
  65. package/dist/cli/{describe-P5N56GPA.mjs → describe-KV6RFX2K.mjs} +18 -18
  66. package/dist/cli/describe-R7QLYW6K.js +50 -0
  67. package/dist/cli/{executions-EGPCT2OK.js → executions-BAAJY5LB.js} +8 -8
  68. package/dist/cli/{executions-EGEQZV5V.mjs → executions-NFQCGCBK.mjs} +6 -6
  69. package/dist/cli/{feedback-IWUJAF6O.mjs → feedback-UF2TRDNI.mjs} +6 -6
  70. package/dist/cli/{feedback-ALMW7OR5.js → feedback-Y3WJ5VTT.js} +14 -14
  71. package/dist/cli/{git-4CQQWLZP.mjs → git-EIURJKMS.mjs} +5 -5
  72. package/dist/cli/git-TIF77U5E.js +26 -0
  73. package/dist/cli/index.js +143 -143
  74. package/dist/cli/index.mjs +45 -45
  75. package/dist/cli/{integrations-LS73NWU7.mjs → integrations-TPEILZYO.mjs} +7 -7
  76. package/dist/cli/{integrations-Y7W5L7DW.js → integrations-YVBIIULS.js} +29 -29
  77. package/dist/cli/{legacy-noops-V45TJGK3.mjs → legacy-noops-EVEQ4T2F.mjs} +6 -6
  78. package/dist/cli/{legacy-noops-WXGSAZ6O.js → legacy-noops-K5YAE7DD.js} +9 -9
  79. package/dist/cli/{mcp-4IHB3LCG.mjs → mcp-7UX5HDKR.mjs} +4 -4
  80. package/dist/cli/{mcp-3QRLMKFF.js → mcp-NADIFFBS.js} +24 -24
  81. package/dist/cli/{monitors-4I2QDCOV.js → monitors-TOWPB2IO.js} +100 -100
  82. package/dist/cli/{monitors-K46XW6QH.mjs → monitors-V2XU3WU3.mjs} +7 -7
  83. package/dist/cli/{org-H3GYWKFC.mjs → org-J2FDLRIR.mjs} +6 -6
  84. package/dist/cli/{org-CBJY5DO5.js → org-S2UZTR74.js} +121 -121
  85. package/dist/cli/{outcomes-KHZ3S3SG.js → outcomes-DIU4I6IA.js} +14 -14
  86. package/dist/cli/{outcomes-AE6ZPY6O.mjs → outcomes-ECG7SORM.mjs} +6 -6
  87. package/dist/cli/{play-SY2PCUMD.js → play-LW5RPGMR.js} +324 -324
  88. package/dist/cli/{play-YQS3OI2Q.mjs → play-SIYRTGQF.mjs} +19 -19
  89. package/dist/cli/{providers-WJBBSM76.mjs → providers-5VIQLQGV.mjs} +6 -6
  90. package/dist/cli/{providers-IT2YALZM.js → providers-G4FAPJ6K.js} +9 -9
  91. package/dist/cli/{quickstart-VMLHHXFD.js → quickstart-6NLZQN2K.js} +6 -6
  92. package/dist/cli/{quickstart-TYMROAQG.mjs → quickstart-IPM5YDLX.mjs} +4 -4
  93. package/dist/cli/{run-GQOWNUD2.js → run-VGIB7CJB.js} +44 -44
  94. package/dist/cli/{run-TSOLGWTK.mjs → run-Z3TL5ZOG.mjs} +23 -23
  95. package/dist/cli/{search-MJAL37NP.mjs → search-2CLGFCVP.mjs} +7 -7
  96. package/dist/cli/search-BJFP7VHT.js +32 -0
  97. package/dist/cli/{search-output-AUVP4ZLR.js → search-output-FEB5JLB5.js} +6 -6
  98. package/dist/cli/{search-output-IKVGU3MZ.mjs → search-output-O6RCBYN6.mjs} +4 -4
  99. package/dist/cli/{secrets-NO6ZD2OZ.js → secrets-OVVWC2HX.js} +15 -15
  100. package/dist/cli/{secrets-4KYGVJJJ.mjs → secrets-RBHLBJHA.mjs} +6 -6
  101. package/dist/cli/sessions-HCKHUILD.js +23 -0
  102. package/dist/cli/{sessions-S2O24LRW.mjs → sessions-PFA3PFXV.mjs} +6 -6
  103. package/dist/cli/{settings-NSZNSX67.mjs → settings-N54VKHLV.mjs} +12 -12
  104. package/dist/cli/{settings-O5BELZRA.js → settings-V5OAQOFP.js} +85 -85
  105. package/dist/cli/{setup-3VTTPHKI.mjs → setup-2EZ563DR.mjs} +9 -9
  106. package/dist/cli/{setup-IGJKIVJ7.js → setup-XF3KBJ6Y.js} +49 -49
  107. package/dist/cli/{skills-JMSX77S3.mjs → skills-7DULCICX.mjs} +7 -7
  108. package/dist/cli/skills-TZC2JNIZ.js +37 -0
  109. package/dist/cli/tools-ECUMBLZB.js +57 -0
  110. package/dist/cli/{tools-MITGT2JM.mjs → tools-NC5IVGAT.mjs} +17 -17
  111. package/dist/cli/update-4AAEZJ64.js +37 -0
  112. package/dist/cli/{update-YXASQQWE.mjs → update-4H3GBUVU.mjs} +9 -9
  113. package/dist/cli/{views-Y5CA3JWP.js → views-CEGJLVO7.js} +21 -21
  114. package/dist/cli/{views-7ZMS2B55.mjs → views-O2V4FIII.mjs} +6 -6
  115. package/dist/cli/{workflow-U7KXZLKI.js → workflow-EJNNNQOE.js} +17 -17
  116. package/dist/cli/{workflow-GBXWHYDL.mjs → workflow-SGWK2I2Z.mjs} +7 -7
  117. package/dist/index.js +9 -9
  118. package/dist/index.mjs +6 -6
  119. package/dist/install-integrity.json +112 -112
  120. package/dist/release.d.mts +1 -1
  121. package/dist/release.d.ts +1 -1
  122. package/dist/release.js +2 -2
  123. package/dist/release.mjs +1 -1
  124. package/dist/server.js +5 -5
  125. package/dist/server.mjs +3 -3
  126. package/package.json +1 -1
  127. package/dist/cli/auth-RGFZEMFX.js +0 -44
  128. package/dist/cli/concurrent-runs-help-3QVRXAZG.js +0 -22
  129. package/dist/cli/describe-H43UIBVP.js +0 -50
  130. package/dist/cli/git-UYYH53Q6.js +0 -26
  131. package/dist/cli/search-B23QXBNF.js +0 -32
  132. package/dist/cli/sessions-DJLG57FC.js +0 -23
  133. package/dist/cli/skills-76W4VCHP.js +0 -37
  134. package/dist/cli/tools-OS32SFJD.js +0 -57
  135. package/dist/cli/update-UGLA7TLH.js +0 -37
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunk7GLVIFDOjs = require('./chunk-7GLVIFDO.js');
14
+ var _chunkOPGDVTAQjs = require('./chunk-OPGDVTAQ.js');
15
15
 
16
16
 
17
- var _chunkTVGGBQFGjs = require('./chunk-TVGGBQFG.js');
17
+ var _chunkLTJQCMEMjs = require('./chunk-LTJQCMEM.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkZYXQIOWEjs = require('./chunk-ZYXQIOWE.js');
23
+ var _chunkCR7U44AWjs = require('./chunk-CR7U44AW.js');
24
24
 
25
25
 
26
26
 
27
- var _chunk5J6VEC75js = require('./chunk-5J6VEC75.js');
27
+ var _chunk3E2C6CIEjs = require('./chunk-3E2C6CIE.js');
28
28
 
29
29
 
30
30
  var _chunkRLX5ZFNXjs = require('./chunk-RLX5ZFNX.js');
@@ -145,7 +145,7 @@ function inferActiveSkillsScope(entrypoint = _nullishCoalesce(process.argv[1], (
145
145
  return /[\\/]\.deepline[\\/]runtime[\\/]/.test(entrypoint) ? "local" : "global";
146
146
  }
147
147
  function resolveLocalRoot() {
148
- const target = _chunkZYXQIOWEjs.resolveProjectPinTarget.call(void 0, );
148
+ const target = _chunkCR7U44AWjs.resolveProjectPinTarget.call(void 0, );
149
149
  if (!target.ok) {
150
150
  throw new Error(
151
151
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -156,7 +156,7 @@ function resolveLocalRoot() {
156
156
  return target.dir;
157
157
  }
158
158
  function detectSkillsAgents(input) {
159
- const runtime = _nullishCoalesce(input.runtime, () => ( _chunk5J6VEC75js.detectAgentRuntime.call(void 0, )));
159
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunk3E2C6CIEjs.detectAgentRuntime.call(void 0, )));
160
160
  const knownAgent = RUNTIME_TO_SKILLS_AGENT[runtime];
161
161
  if (knownAgent) return [knownAgent];
162
162
  const roots = [
@@ -171,11 +171,11 @@ function detectSkillsAgents(input) {
171
171
  return detected.length > 0 ? detected : ["*"];
172
172
  }
173
173
  function skillsStatePathForScope(baseUrl, scope, root) {
174
- return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkZYXQIOWEjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
174
+ return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkCR7U44AWjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
175
175
  }
176
176
  function buildSkillsPlan(input) {
177
177
  const scopeArgs = input.scope === "global" ? ["--global"] : [];
178
- const legacyNames = [..._chunk7GLVIFDOjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
178
+ const legacyNames = [..._chunkOPGDVTAQjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
179
179
  (a, b) => a.localeCompare(b)
180
180
  );
181
181
  return {
@@ -189,7 +189,7 @@ function buildSkillsPlan(input) {
189
189
  args: [
190
190
  "exec",
191
191
  "--yes",
192
- `--package=${_chunk7GLVIFDOjs.SKILLS_NPX_PACKAGE}`,
192
+ `--package=${_chunkOPGDVTAQjs.SKILLS_NPX_PACKAGE}`,
193
193
  "--",
194
194
  "skills",
195
195
  "remove",
@@ -205,11 +205,11 @@ function buildSkillsPlan(input) {
205
205
  args: [
206
206
  "exec",
207
207
  "--yes",
208
- `--package=${_chunk7GLVIFDOjs.SKILLS_NPX_PACKAGE}`,
208
+ `--package=${_chunkOPGDVTAQjs.SKILLS_NPX_PACKAGE}`,
209
209
  "--",
210
210
  "skills",
211
211
  "add",
212
- _chunk7GLVIFDOjs.skillsSourceUrl.call(void 0, input.baseUrl),
212
+ _chunkOPGDVTAQjs.skillsSourceUrl.call(void 0, input.baseUrl),
213
213
  "--agent",
214
214
  ...input.agents,
215
215
  ...scopeArgs,
@@ -246,7 +246,7 @@ function readSkillsInstallState(path) {
246
246
  }
247
247
  function runProcess(command, args, cwd) {
248
248
  return new Promise((resolve, reject) => {
249
- const plan = _chunk7GLVIFDOjs.resolveShellSpawn.call(void 0,
249
+ const plan = _chunkOPGDVTAQjs.resolveShellSpawn.call(void 0,
250
250
  command,
251
251
  args,
252
252
  process.platform,
@@ -269,7 +269,7 @@ function runProcess(command, args, cwd) {
269
269
  child.kill("SIGTERM");
270
270
  reject(
271
271
  new Error(
272
- `${_chunk7GLVIFDOjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
272
+ `${_chunkOPGDVTAQjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
273
273
  )
274
274
  );
275
275
  }, SKILLS_PROCESS_TIMEOUT_MS);
@@ -280,7 +280,7 @@ function runProcess(command, args, cwd) {
280
280
  child.once("close", (code) => {
281
281
  clearTimeout(timeout);
282
282
  if (code && stderr.trim()) {
283
- process.stderr.write(`${_chunk7GLVIFDOjs.SKILLS_NPX_PACKAGE} exited ${code}.
283
+ process.stderr.write(`${_chunkOPGDVTAQjs.SKILLS_NPX_PACKAGE} exited ${code}.
284
284
  `);
285
285
  }
286
286
  resolve(_nullishCoalesce(code, () => ( 1)));
@@ -288,7 +288,7 @@ function runProcess(command, args, cwd) {
288
288
  });
289
289
  }
290
290
  async function showSkills(options, name) {
291
- const baseUrl = _chunkZYXQIOWEjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
291
+ const baseUrl = _chunkCR7U44AWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
292
292
  const url = name ? `${baseUrl}/.well-known/skills/${encodeURIComponent(name)}/SKILL.md` : `${baseUrl}/.well-known/skills/index.json`;
293
293
  try {
294
294
  const response = await fetch(url, {
@@ -301,7 +301,7 @@ async function showSkills(options, name) {
301
301
  }
302
302
  if (name) {
303
303
  const markdown = await response.text();
304
- _chunkTVGGBQFGjs.printCommandEnvelope.call(void 0,
304
+ _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
305
305
  { ok: true, status: "completed", skill: { name, markdown } },
306
306
  { json: options.json, text: markdown }
307
307
  );
@@ -311,7 +311,7 @@ async function showSkills(options, name) {
311
311
  const skills = (_nullishCoalesce(index.skills, () => ( []))).filter(
312
312
  (skill) => skill.install_surface === "v1" && skill.name
313
313
  );
314
- _chunkTVGGBQFGjs.printCommandEnvelope.call(void 0,
314
+ _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
315
315
  {
316
316
  ok: true,
317
317
  status: "completed",
@@ -328,7 +328,7 @@ Read one with: deepline skills show <name>
328
328
  );
329
329
  return 0;
330
330
  } catch (error) {
331
- _chunkTVGGBQFGjs.printCommandEnvelope.call(void 0,
331
+ _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
332
332
  {
333
333
  ok: false,
334
334
  status: "failed",
@@ -351,7 +351,7 @@ async function runSkillsCommand(options, dependencies = {}) {
351
351
  scope = normalizeScope(options.scope);
352
352
  root = scope === "local" ? resolveLocalRoot() : null;
353
353
  } catch (error) {
354
- _chunkTVGGBQFGjs.printCommandEnvelope.call(void 0,
354
+ _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
355
355
  {
356
356
  ok: false,
357
357
  status: "failed",
@@ -363,22 +363,22 @@ async function runSkillsCommand(options, dependencies = {}) {
363
363
  );
364
364
  return 2;
365
365
  }
366
- const baseUrl = _chunkZYXQIOWEjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
366
+ const baseUrl = _chunkCR7U44AWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
367
367
  const catalog = {
368
- skillNames: [..._chunk7GLVIFDOjs.DEFAULT_SDK_SKILL_NAMES],
369
- version: _chunk5J6VEC75js.SDK_VERSION
368
+ skillNames: [..._chunkOPGDVTAQjs.DEFAULT_SDK_SKILL_NAMES],
369
+ version: _chunk3E2C6CIEjs.SDK_VERSION
370
370
  };
371
371
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
372
372
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
373
373
  if (options.dryRun) {
374
- _chunkTVGGBQFGjs.printCommandEnvelope.call(void 0,
374
+ _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
375
375
  { ok: true, status: "planned", dryRun: true, ...plan },
376
376
  { json: options.json }
377
377
  );
378
378
  return 0;
379
379
  }
380
- if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunk7GLVIFDOjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
381
- _chunkTVGGBQFGjs.printCommandEnvelope.call(void 0,
380
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkOPGDVTAQjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
381
+ _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
382
382
  {
383
383
  ok: true,
384
384
  status: "current",
@@ -410,10 +410,10 @@ async function runSkillsCommand(options, dependencies = {}) {
410
410
  }
411
411
  if (scope === "local" && root) {
412
412
  const managedNames = [
413
- .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunk7GLVIFDOjs.LEGACY_SKILL_NAMES_TO_REMOVE])
413
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkOPGDVTAQjs.LEGACY_SKILL_NAMES_TO_REMOVE])
414
414
  ];
415
415
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
416
- _chunkZYXQIOWEjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
416
+ _chunkCR7U44AWjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
417
417
  ".deepline/",
418
418
  ...agentRoots.flatMap(
419
419
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -422,7 +422,7 @@ async function runSkillsCommand(options, dependencies = {}) {
422
422
  }
423
423
  let lease;
424
424
  try {
425
- lease = scope === "global" ? await _chunk7GLVIFDOjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
425
+ lease = scope === "global" ? await _chunkOPGDVTAQjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
426
426
  waitMs: _nullishCoalesce(dependencies.installLeaseWaitMs, () => ( SKILLS_INSTALL_LEASE_WAIT_MS)),
427
427
  onWait: () => process.stderr.write(
428
428
  "Waiting for a background Deepline skills refresh to finish...\n"
@@ -430,8 +430,8 @@ async function runSkillsCommand(options, dependencies = {}) {
430
430
  }) : { release: () => {
431
431
  } };
432
432
  } catch (error) {
433
- if (!(error instanceof _chunk7GLVIFDOjs.SkillsStateUnavailableError)) throw error;
434
- _chunkTVGGBQFGjs.printCommandEnvelope.call(void 0,
433
+ if (!(error instanceof _chunkOPGDVTAQjs.SkillsStateUnavailableError)) throw error;
434
+ _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
435
435
  {
436
436
  ok: false,
437
437
  status: "failed",
@@ -447,7 +447,7 @@ async function runSkillsCommand(options, dependencies = {}) {
447
447
  return 5;
448
448
  }
449
449
  if (!lease) {
450
- _chunkTVGGBQFGjs.printCommandEnvelope.call(void 0,
450
+ _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
451
451
  {
452
452
  ok: false,
453
453
  status: "failed",
@@ -456,7 +456,7 @@ async function runSkillsCommand(options, dependencies = {}) {
456
456
  scope,
457
457
  agents,
458
458
  message: "A background Deepline skills refresh is still running for these agents.",
459
- next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunk7GLVIFDOjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
459
+ next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkOPGDVTAQjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
460
460
  },
461
461
  { json: options.json }
462
462
  );
@@ -505,7 +505,7 @@ async function runSkillsInstallWithLease(input) {
505
505
  }
506
506
  }
507
507
  } catch (error) {
508
- _chunkTVGGBQFGjs.printCommandEnvelope.call(void 0,
508
+ _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
509
509
  {
510
510
  ok: false,
511
511
  status: "failed",
@@ -521,7 +521,7 @@ async function runSkillsInstallWithLease(input) {
521
521
  return 5;
522
522
  }
523
523
  if (missing.length > 0) {
524
- _chunkTVGGBQFGjs.printCommandEnvelope.call(void 0,
524
+ _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
525
525
  {
526
526
  ok: false,
527
527
  status: "failed",
@@ -561,7 +561,7 @@ async function runSkillsInstallWithLease(input) {
561
561
  {
562
562
  schemaVersion: 1,
563
563
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
564
- cliVersion: _chunk5J6VEC75js.SDK_VERSION,
564
+ cliVersion: _chunk3E2C6CIEjs.SDK_VERSION,
565
565
  scope,
566
566
  agents,
567
567
  skillsVersion: plan.version,
@@ -574,9 +574,9 @@ async function runSkillsInstallWithLease(input) {
574
574
  "utf8"
575
575
  );
576
576
  if (scope === "global") {
577
- _chunk7GLVIFDOjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
577
+ _chunkOPGDVTAQjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
578
578
  }
579
- _chunkTVGGBQFGjs.printCommandEnvelope.call(void 0,
579
+ _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
580
580
  {
581
581
  ok: true,
582
582
  status: "complete",
@@ -625,7 +625,7 @@ Examples:
625
625
  "after",
626
626
  `
627
627
  Notes:
628
- This command reinstalls current Deepline-managed skills using ${_chunk7GLVIFDOjs.SKILLS_NPX_PACKAGE},
628
+ This command reinstalls current Deepline-managed skills using ${_chunkOPGDVTAQjs.SKILLS_NPX_PACKAGE},
629
629
  then removes legacy Deepline skill names. Local scope writes into the resolved
630
630
  persistent project.
631
631
 
@@ -637,13 +637,13 @@ Examples:
637
637
  ).action(async (options) => {
638
638
  process.exitCode = await runSkillsCommand(options);
639
639
  });
640
- program.command(_chunk7GLVIFDOjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
640
+ program.command(_chunkOPGDVTAQjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
641
641
  "--claim <token>",
642
642
  "Owner token of the leases this child was started for."
643
643
  ).action(async (options) => {
644
644
  const claim = _optionalChain([options, 'access', _9 => _9.claim, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]);
645
645
  if (!claim) {
646
- _chunkTVGGBQFGjs.printCommandEnvelope.call(void 0,
646
+ _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
647
647
  {
648
648
  ok: false,
649
649
  status: "failed",
@@ -656,7 +656,7 @@ Examples:
656
656
  process.exitCode = 2;
657
657
  return;
658
658
  }
659
- await _chunk7GLVIFDOjs.syncSdkSkillsIfNeeded.call(void 0, _chunkZYXQIOWEjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
659
+ await _chunkOPGDVTAQjs.syncSdkSkillsIfNeeded.call(void 0, _chunkCR7U44AWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
660
660
  mode: "inline",
661
661
  notices: "defer",
662
662
  claim
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HttpClient,
3
3
  detectAgentRuntime
4
- } from "./chunk-AGDRIXF2.mjs";
4
+ } from "./chunk-OD4LINNE.mjs";
5
5
  import {
6
6
  ConfigError
7
7
  } from "./chunk-ASB47RXJ.mjs";
@@ -0,0 +1,22 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+ var _chunk4FVLQFCFjs = require('./chunk-4FVLQFCF.js');
6
+ require('./chunk-5D3QECRX.js');
7
+ require('./chunk-H4ALLC2X.js');
8
+ require('./chunk-LTJQCMEM.js');
9
+ require('./chunk-CR7U44AW.js');
10
+ require('./chunk-3E2C6CIE.js');
11
+ require('./chunk-6VLFQZK6.js');
12
+ require('./chunk-XNYIZMNQ.js');
13
+ require('./chunk-LFQJW4S2.js');
14
+ require('./chunk-CFJFUVX2.js');
15
+ require('./chunk-WIKOKQJV.js');
16
+ require('./chunk-OG64RBAC.js');
17
+ require('./chunk-COGTRVWW.js');
18
+
19
+
20
+
21
+
22
+ exports.CONCURRENT_RUNS_HELP_COMMANDS = _chunk4FVLQFCFjs.CONCURRENT_RUNS_HELP_COMMANDS; exports.concurrentRunsHelpStatus = _chunk4FVLQFCFjs.concurrentRunsHelpStatus; exports.concurrentRunsLine = _chunk4FVLQFCFjs.concurrentRunsLine;
@@ -2,17 +2,17 @@ import {
2
2
  CONCURRENT_RUNS_HELP_COMMANDS,
3
3
  concurrentRunsHelpStatus,
4
4
  concurrentRunsLine
5
- } from "./chunk-KKC7U4UJ.mjs";
6
- import "./chunk-L5N4DSH4.mjs";
5
+ } from "./chunk-6DJHNVGT.mjs";
6
+ import "./chunk-ASIXRCHD.mjs";
7
7
  import "./chunk-2RIKOPIM.mjs";
8
- import "./chunk-LAQNXNVR.mjs";
9
- import "./chunk-AD47OWTE.mjs";
10
- import "./chunk-AGDRIXF2.mjs";
8
+ import "./chunk-3TJKNRHY.mjs";
9
+ import "./chunk-ZPD6SPP2.mjs";
10
+ import "./chunk-OD4LINNE.mjs";
11
11
  import "./chunk-ASB47RXJ.mjs";
12
12
  import "./chunk-DLIRSHV6.mjs";
13
13
  import "./chunk-Z3A2S3QM.mjs";
14
14
  import "./chunk-2MGZAI54.mjs";
15
- import "./chunk-P7Q27COZ.mjs";
15
+ import "./chunk-FRQYUWGF.mjs";
16
16
  import "./chunk-WZYKRD7T.mjs";
17
17
  import "./chunk-KRD6H754.mjs";
18
18
  export {
@@ -4,14 +4,14 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkTVGGBQFGjs = require('./chunk-TVGGBQFG.js');
8
- require('./chunk-ZYXQIOWE.js');
9
- require('./chunk-5J6VEC75.js');
7
+ var _chunkLTJQCMEMjs = require('./chunk-LTJQCMEM.js');
8
+ require('./chunk-CR7U44AW.js');
9
+ require('./chunk-3E2C6CIE.js');
10
10
  require('./chunk-6VLFQZK6.js');
11
11
  require('./chunk-XNYIZMNQ.js');
12
12
  require('./chunk-LFQJW4S2.js');
13
13
  require('./chunk-CFJFUVX2.js');
14
- require('./chunk-GY7MY2IJ.js');
14
+ require('./chunk-WIKOKQJV.js');
15
15
  require('./chunk-OG64RBAC.js');
16
16
  require('./chunk-COGTRVWW.js');
17
17
 
@@ -129,7 +129,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
129
129
  column.length,
130
130
  ...rows.map((row) => {
131
131
  const value = _nullishCoalesce(row[column], () => ( ""));
132
- return (verbose ? value : _chunkTVGGBQFGjs.clip.call(void 0, value, 42)).length;
132
+ return (verbose ? value : _chunkLTJQCMEMjs.clip.call(void 0, value, 42)).length;
133
133
  })
134
134
  )
135
135
  ])
@@ -139,7 +139,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
139
139
  const body = rows.map(
140
140
  (row) => columns.map((column) => {
141
141
  const raw = _nullishCoalesce(row[column], () => ( ""));
142
- const display = verbose ? raw : _chunkTVGGBQFGjs.clip.call(void 0, raw, 42);
142
+ const display = verbose ? raw : _chunkLTJQCMEMjs.clip.call(void 0, raw, 42);
143
143
  return display.padEnd(widths[column]);
144
144
  }).join(" | ")
145
145
  );
@@ -159,7 +159,7 @@ async function handleCsvShow(path, options, command) {
159
159
  { exitCode: 2 }
160
160
  );
161
161
  }
162
- const allRows = _chunkTVGGBQFGjs.readCsvRows.call(void 0, csvPath);
162
+ const allRows = _chunkLTJQCMEMjs.readCsvRows.call(void 0, csvPath);
163
163
  const [rowStart, rowEnd] = parseRowRange(options.rows);
164
164
  const rows = options.summary && options.rows === void 0 ? allRows : selectRows(allRows, rowStart, rowEnd);
165
165
  const { rows: selected, columns } = selectColumns(
@@ -172,7 +172,7 @@ async function handleCsvShow(path, options, command) {
172
172
  if (options.summary) {
173
173
  const summaries = summarizeColumns(selected, columns);
174
174
  if (format === "json") {
175
- _chunkTVGGBQFGjs.printJson.call(void 0, {
175
+ _chunkLTJQCMEMjs.printJson.call(void 0, {
176
176
  rows: summaries,
177
177
  total_rows: selected.length,
178
178
  source_total_rows: allRows.length
@@ -181,7 +181,7 @@ async function handleCsvShow(path, options, command) {
181
181
  }
182
182
  const displayRows = summaryDisplayRows(summaries);
183
183
  if (format === "csv") {
184
- process.stdout.write(_chunkTVGGBQFGjs.csvStringFromRows.call(void 0, displayRows));
184
+ process.stdout.write(_chunkLTJQCMEMjs.csvStringFromRows.call(void 0, displayRows));
185
185
  return;
186
186
  }
187
187
  process.stdout.write(
@@ -196,7 +196,7 @@ async function handleCsvShow(path, options, command) {
196
196
  return;
197
197
  }
198
198
  if (format === "json") {
199
- _chunkTVGGBQFGjs.printJson.call(void 0, {
199
+ _chunkLTJQCMEMjs.printJson.call(void 0, {
200
200
  rows: selected.map((row, index) => ({ __row: rowStart + index, ...row }))
201
201
  });
202
202
  return;
@@ -444,7 +444,7 @@ async function handleCsvRenderStart(options) {
444
444
  if (log) {
445
445
  detail = `
446
446
  CSV render log:
447
- ${_chunkTVGGBQFGjs.clip.call(void 0, log, 2e3)}`;
447
+ ${_chunkLTJQCMEMjs.clip.call(void 0, log, 2e3)}`;
448
448
  }
449
449
  } catch (e7) {
450
450
  }
@@ -495,7 +495,7 @@ async function handleCsvRenderStatus(options) {
495
495
  if (payload.pid) lines.push(`Render PID: ${payload.pid}`);
496
496
  if (payload.url) lines.push(`Render URL: ${payload.url}`);
497
497
  lines.push(`Render Health: ${payload.health_status}`);
498
- _chunkTVGGBQFGjs.printCommandEnvelope.call(void 0, payload, {
498
+ _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0, payload, {
499
499
  json: options.json,
500
500
  text: `${lines.join("\n")}
501
501
  `
@@ -531,7 +531,7 @@ async function handleCsvRenderStop(options) {
531
531
  };
532
532
  const text = stopped.length > 0 ? `Stopped CSV render process(es): ${stopped.join(" ")}
533
533
  ` : "No running CSV render process found.\n";
534
- _chunkTVGGBQFGjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
534
+ _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
535
535
  }
536
536
  async function handleCsvRender(action, options) {
537
537
  const normalized = _nullishCoalesce(action, () => ( "start"));
@@ -4,14 +4,14 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-LAQNXNVR.mjs";
8
- import "./chunk-AD47OWTE.mjs";
9
- import "./chunk-AGDRIXF2.mjs";
7
+ } from "./chunk-3TJKNRHY.mjs";
8
+ import "./chunk-ZPD6SPP2.mjs";
9
+ import "./chunk-OD4LINNE.mjs";
10
10
  import "./chunk-ASB47RXJ.mjs";
11
11
  import "./chunk-DLIRSHV6.mjs";
12
12
  import "./chunk-Z3A2S3QM.mjs";
13
13
  import "./chunk-2MGZAI54.mjs";
14
- import "./chunk-P7Q27COZ.mjs";
14
+ import "./chunk-FRQYUWGF.mjs";
15
15
  import "./chunk-WZYKRD7T.mjs";
16
16
  import "./chunk-KRD6H754.mjs";
17
17
 
@@ -3,10 +3,10 @@
3
3
  var _chunkBVXIGOBZjs = require('./chunk-BVXIGOBZ.js');
4
4
 
5
5
 
6
- var _chunkVRWMQUFOjs = require('./chunk-VRWMQUFO.js');
6
+ var _chunkOOFYQCNUjs = require('./chunk-OOFYQCNU.js');
7
7
 
8
8
 
9
- var _chunkCXK6ZEOQjs = require('./chunk-CXK6ZEOQ.js');
9
+ var _chunkV5YGEK5Qjs = require('./chunk-V5YGEK5Q.js');
10
10
  require('./chunk-4WAM6TLD.js');
11
11
  require('./chunk-MJTVX4QK.js');
12
12
  require('./chunk-PMH4GLMD.js');
@@ -19,9 +19,9 @@ require('./chunk-PMH4GLMD.js');
19
19
 
20
20
 
21
21
 
22
- var _chunkTVGGBQFGjs = require('./chunk-TVGGBQFG.js');
23
- require('./chunk-ZYXQIOWE.js');
24
- require('./chunk-5J6VEC75.js');
22
+ var _chunkLTJQCMEMjs = require('./chunk-LTJQCMEM.js');
23
+ require('./chunk-CR7U44AW.js');
24
+ require('./chunk-3E2C6CIE.js');
25
25
 
26
26
 
27
27
  var _chunk6VLFQZK6js = require('./chunk-6VLFQZK6.js');
@@ -30,7 +30,7 @@ require('./chunk-XNYIZMNQ.js');
30
30
 
31
31
  var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
32
32
  require('./chunk-CFJFUVX2.js');
33
- require('./chunk-GY7MY2IJ.js');
33
+ require('./chunk-WIKOKQJV.js');
34
34
  require('./chunk-OG64RBAC.js');
35
35
  require('./chunk-COGTRVWW.js');
36
36
 
@@ -53,8 +53,8 @@ function formatCell(value) {
53
53
  return text.length > 80 ? `${text.slice(0, 77)}...` : text;
54
54
  }
55
55
  function tableLines(result) {
56
- const rows = _chunkTVGGBQFGjs.dataExportRows.call(void 0, customerDbRows(result));
57
- const responseColumns = _chunkTVGGBQFGjs.dataExportColumns.call(void 0,
56
+ const rows = _chunkLTJQCMEMjs.dataExportRows.call(void 0, customerDbRows(result));
57
+ const responseColumns = _chunkLTJQCMEMjs.dataExportColumns.call(void 0,
58
58
  rows,
59
59
  customerDbColumnNames(result)
60
60
  );
@@ -100,7 +100,7 @@ function tableLines(result) {
100
100
  return lines;
101
101
  }
102
102
  function customerDbRows(result) {
103
- return _chunkTVGGBQFGjs.recordRows.call(void 0, result.rows);
103
+ return _chunkLTJQCMEMjs.recordRows.call(void 0, result.rows);
104
104
  }
105
105
  function customerDbColumnNames(result) {
106
106
  return result.columns.map((column) => column.name).filter(Boolean);
@@ -153,7 +153,7 @@ function writeCustomerDbCsv(result, outPath) {
153
153
  const resolved = _path.resolve.call(void 0, outPath);
154
154
  _fs.writeFileSync.call(void 0,
155
155
  resolved,
156
- _chunkTVGGBQFGjs.dataExportCsvString.call(void 0, customerDbRows(result), customerDbColumnNames(result)),
156
+ _chunkLTJQCMEMjs.dataExportCsvString.call(void 0, customerDbRows(result), customerDbColumnNames(result)),
157
157
  "utf-8"
158
158
  );
159
159
  return resolved;
@@ -194,7 +194,7 @@ function dbQueryExportEnvelope(input) {
194
194
  function renderDbQueryResult(result, query, options) {
195
195
  const { sql, maxRows, operationKey } = query;
196
196
  const { format, out: outPath, json: explicitJsonOutput = false } = options;
197
- const jsonOutput = explicitJsonOutput || _chunkTVGGBQFGjs.shouldEmitJson.call(void 0, );
197
+ const jsonOutput = explicitJsonOutput || _chunkLTJQCMEMjs.shouldEmitJson.call(void 0, );
198
198
  const toolPayload = JSON.stringify({
199
199
  sql,
200
200
  result_mode: "rows",
@@ -205,7 +205,7 @@ function renderDbQueryResult(result, query, options) {
205
205
  if (format === "csv") {
206
206
  if (outPath) {
207
207
  const exportedPath = writeCustomerDbCsv(result, outPath);
208
- _chunkTVGGBQFGjs.printCommandEnvelope.call(void 0,
208
+ _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
209
209
  dbQueryExportEnvelope({
210
210
  result,
211
211
  format,
@@ -221,7 +221,7 @@ function renderDbQueryResult(result, query, options) {
221
221
  );
222
222
  return;
223
223
  }
224
- _chunkTVGGBQFGjs.printCommandEnvelope.call(void 0,
224
+ _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
225
225
  dbQueryExportEnvelope({
226
226
  result,
227
227
  format,
@@ -231,7 +231,7 @@ function renderDbQueryResult(result, query, options) {
231
231
  }),
232
232
  {
233
233
  json: explicitJsonOutput,
234
- text: _chunkTVGGBQFGjs.dataExportCsvString.call(void 0,
234
+ text: _chunkLTJQCMEMjs.dataExportCsvString.call(void 0,
235
235
  customerDbRows(result),
236
236
  customerDbColumnNames(result)
237
237
  )
@@ -240,14 +240,14 @@ function renderDbQueryResult(result, query, options) {
240
240
  return;
241
241
  }
242
242
  if (format === "markdown") {
243
- const content = _chunkTVGGBQFGjs.markdownTableFromRows.call(void 0,
243
+ const content = _chunkLTJQCMEMjs.markdownTableFromRows.call(void 0,
244
244
  customerDbRows(result),
245
245
  customerDbColumnNames(result)
246
246
  );
247
247
  if (outPath) {
248
248
  const exportedPath = _path.resolve.call(void 0, outPath);
249
249
  _fs.writeFileSync.call(void 0, exportedPath, content, "utf-8");
250
- _chunkTVGGBQFGjs.printCommandEnvelope.call(void 0,
250
+ _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
251
251
  dbQueryExportEnvelope({
252
252
  result,
253
253
  format,
@@ -263,7 +263,7 @@ function renderDbQueryResult(result, query, options) {
263
263
  );
264
264
  return;
265
265
  }
266
- _chunkTVGGBQFGjs.printCommandEnvelope.call(void 0,
266
+ _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
267
267
  dbQueryExportEnvelope({
268
268
  result,
269
269
  format,
@@ -278,7 +278,7 @@ function renderDbQueryResult(result, query, options) {
278
278
  );
279
279
  return;
280
280
  }
281
- _chunkTVGGBQFGjs.printCommandEnvelope.call(void 0,
281
+ _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
282
282
  {
283
283
  ...result,
284
284
  next: {
@@ -352,9 +352,9 @@ async function runDbQueryCommand(options) {
352
352
  ...maxRows === void 0 ? {} : { maxRows },
353
353
  ...operationKey === void 0 ? {} : { operationKey }
354
354
  };
355
- const plan = _chunkCXK6ZEOQjs.planCustomerDbQuery.call(void 0, query);
355
+ const plan = _chunkV5YGEK5Qjs.planCustomerDbQuery.call(void 0, query);
356
356
  if (options.dryRun) {
357
- _chunkTVGGBQFGjs.printCommandEnvelope.call(void 0,
357
+ _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
358
358
  {
359
359
  dryRun: true,
360
360
  ...plan,
@@ -367,11 +367,11 @@ async function runDbQueryCommand(options) {
367
367
  ...out === void 0 ? {} : { file: _path.resolve.call(void 0, out) }
368
368
  }
369
369
  },
370
- { json: options.json || _chunkTVGGBQFGjs.shouldEmitJson.call(void 0, ) }
370
+ { json: options.json || _chunkLTJQCMEMjs.shouldEmitJson.call(void 0, ) }
371
371
  );
372
372
  return 0;
373
373
  }
374
- const client = new (0, _chunkVRWMQUFOjs.DeeplineClient)();
374
+ const client = new (0, _chunkOOFYQCNUjs.DeeplineClient)();
375
375
  const result = await client.db.query(query);
376
376
  renderDbQueryResult(result, query, {
377
377
  format,
@@ -380,8 +380,8 @@ async function runDbQueryCommand(options) {
380
380
  });
381
381
  return 0;
382
382
  } catch (error) {
383
- if (error instanceof _chunk6VLFQZK6js.CustomerDbQueryOutcomeUnknownError && (options.json || _chunkTVGGBQFGjs.shouldEmitJson.call(void 0, ))) {
384
- _chunkTVGGBQFGjs.printCommandEnvelope.call(void 0,
383
+ if (error instanceof _chunk6VLFQZK6js.CustomerDbQueryOutcomeUnknownError && (options.json || _chunkLTJQCMEMjs.shouldEmitJson.call(void 0, ))) {
384
+ _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
385
385
  {
386
386
  ok: false,
387
387
  error: {
@@ -429,8 +429,8 @@ function dbRepairPlainText(result) {
429
429
  async function handleDbRepair(args) {
430
430
  const providerIndex = args.indexOf("--provider");
431
431
  const provider = providerIndex >= 0 ? _optionalChain([args, 'access', _9 => _9[providerIndex + 1], 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]) : void 0;
432
- const jsonOutput = _chunkTVGGBQFGjs.argsWantJson.call(void 0, args);
433
- const client = new (0, _chunkVRWMQUFOjs.DeeplineClient)();
432
+ const jsonOutput = _chunkLTJQCMEMjs.argsWantJson.call(void 0, args);
433
+ const client = new (0, _chunkOOFYQCNUjs.DeeplineClient)();
434
434
  let result;
435
435
  try {
436
436
  result = await client.repairIngestionStorage(
@@ -446,7 +446,7 @@ async function handleDbRepair(args) {
446
446
  console.error(errorMessage2(error));
447
447
  return 1;
448
448
  }
449
- _chunkTVGGBQFGjs.printCommandEnvelope.call(void 0,
449
+ _chunkLTJQCMEMjs.printCommandEnvelope.call(void 0,
450
450
  {
451
451
  command: "db repair",
452
452
  status: result.status,