deepline 0.3.450 → 0.3.451

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 (96) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/runner-app/runtime-terminal-push.ts +133 -2
  3. package/dist/cli/auth-WPQBEOES.js +40 -0
  4. package/dist/cli/{auth-CHYW6BU3.mjs → auth-YLBWEMRW.mjs} +4 -4
  5. package/dist/cli/{billing-YADYH5P7.mjs → billing-DUFOEOPT.mjs} +4 -4
  6. package/dist/cli/{billing-NCV2CBLH.js → billing-GWG5D3P6.js} +73 -73
  7. package/dist/cli/{chunk-2UNTSLTR.mjs → chunk-33EM4SMH.mjs} +3 -3
  8. package/dist/cli/{chunk-3SRJO6H4.mjs → chunk-37CPEQBE.mjs} +3 -3
  9. package/dist/cli/{chunk-ZEVUPOF6.mjs → chunk-3HT47QPJ.mjs} +2 -2
  10. package/dist/cli/{chunk-3JEMYGIR.mjs → chunk-4C7HPD57.mjs} +1 -1
  11. package/dist/cli/{chunk-7IUG4STX.js → chunk-5DUMNKQG.js} +50 -50
  12. package/dist/cli/{chunk-47GRLLV2.js → chunk-6G6KX7I7.js} +6 -6
  13. package/dist/cli/{chunk-UMA7425N.js → chunk-6TFACCXN.js} +2 -2
  14. package/dist/cli/{chunk-JWZIZH2C.js → chunk-7VRWERTM.js} +10 -10
  15. package/dist/cli/{chunk-N42KCXPD.mjs → chunk-BJOVX7EB.mjs} +2 -2
  16. package/dist/cli/{chunk-B4T7EFBZ.mjs → chunk-BQQLTSGC.mjs} +4 -4
  17. package/dist/cli/{chunk-NSIOVSNZ.js → chunk-C4NPWUZY.js} +52 -52
  18. package/dist/cli/{chunk-CBM27PDJ.js → chunk-CH2WDSBC.js} +8 -8
  19. package/dist/cli/{chunk-HRRVDDFH.mjs → chunk-E7V5CRA2.mjs} +8 -8
  20. package/dist/cli/{chunk-OZ5ME7BP.js → chunk-EJ6YI46S.js} +2 -2
  21. package/dist/cli/{chunk-IESQOIOE.js → chunk-F2DW7DFE.js} +8 -8
  22. package/dist/cli/{chunk-IGMBTEF7.js → chunk-HSKLAPMD.js} +26 -26
  23. package/dist/cli/{chunk-XUD5AOQY.js → chunk-JRPNCMMN.js} +35 -35
  24. package/dist/cli/{chunk-QROZFMGC.mjs → chunk-JUCEEIEC.mjs} +1 -1
  25. package/dist/cli/{chunk-IYBC6WON.js → chunk-L2IUGWV5.js} +1 -1
  26. package/dist/cli/{chunk-B2V2F3KV.mjs → chunk-LPPAJJJN.mjs} +1 -1
  27. package/dist/cli/{chunk-LTQCEQOZ.js → chunk-O3KVUHCG.js} +20 -20
  28. package/dist/cli/{chunk-EKVOSR3S.mjs → chunk-OKTCLFKM.mjs} +5 -5
  29. package/dist/cli/{chunk-5R7YPB5X.mjs → chunk-PJYTV24I.mjs} +1 -1
  30. package/dist/cli/{chunk-CA3NM3W4.mjs → chunk-RFPP4Q66.mjs} +3 -3
  31. package/dist/cli/{chunk-2SASGLVN.js → chunk-TFCLUWDQ.js} +6 -6
  32. package/dist/cli/{chunk-6TABNDCB.js → chunk-WDOWAOYB.js} +4 -4
  33. package/dist/cli/{chunk-ZYORWYLP.mjs → chunk-WLVGRU5A.mjs} +2 -2
  34. package/dist/cli/{chunk-4Z356NPN.mjs → chunk-XLOXUW5Y.mjs} +1 -1
  35. package/dist/cli/{chunk-UJHJXWM4.mjs → chunk-YXXIFMXI.mjs} +2 -2
  36. package/dist/cli/{chunk-2VKDHJU3.js → chunk-Z3DBS4IB.js} +81 -81
  37. package/dist/cli/{chunk-VYMLYV2K.js → chunk-ZNDE2BTH.js} +16 -16
  38. package/dist/cli/{chunk-AJUNUE32.mjs → chunk-ZPV7DMAA.mjs} +1 -1
  39. package/dist/cli/{csv-VQLS5D7H.js → csv-4CHXZQXO.js} +12 -12
  40. package/dist/cli/{csv-7PXCJKYS.mjs → csv-RL7WQD6Y.mjs} +3 -3
  41. package/dist/cli/{db-XDUC3MFP.js → db-MRI5IM2A.js} +25 -25
  42. package/dist/cli/{db-JYLMLQQO.mjs → db-ZDBAWV7B.mjs} +4 -4
  43. package/dist/cli/{describe-G6SRQQHS.js → describe-2FYKXM5B.js} +16 -16
  44. package/dist/cli/{describe-LDHY5HTB.mjs → describe-RRQUUJQ3.mjs} +12 -12
  45. package/dist/cli/{executions-HPI65XBL.js → executions-KDBD47A5.js} +6 -6
  46. package/dist/cli/{executions-M7MDBFHA.mjs → executions-RJL76TJS.mjs} +4 -4
  47. package/dist/cli/{feedback-Y66JKRPN.js → feedback-2CE24NHD.js} +7 -7
  48. package/dist/cli/{feedback-6V4DDJVD.mjs → feedback-KOYLXHYE.mjs} +3 -3
  49. package/dist/cli/git-DZ5GROPH.js +24 -0
  50. package/dist/cli/{git-BTKGTTGF.mjs → git-RDUHU6L6.mjs} +4 -4
  51. package/dist/cli/index.js +131 -131
  52. package/dist/cli/index.mjs +36 -36
  53. package/dist/cli/{legacy-noops-MUBHYOEG.mjs → legacy-noops-4HS2LYP6.mjs} +4 -4
  54. package/dist/cli/{legacy-noops-DEVCEE64.js → legacy-noops-7FOMGBMN.js} +7 -7
  55. package/dist/cli/{monitors-2DJFA7XX.js → monitors-IJXNK5BL.js} +87 -85
  56. package/dist/cli/{monitors-SOGDSYPL.mjs → monitors-JLBTNBVU.mjs} +7 -5
  57. package/dist/cli/{org-UWMWVV73.js → org-JL7SW6VY.js} +66 -66
  58. package/dist/cli/{org-D6ZFFG4D.mjs → org-OWP6K4AA.mjs} +4 -4
  59. package/dist/cli/{play-TIR2S6IA.mjs → play-FNOVKU74.mjs} +10 -10
  60. package/dist/cli/{play-P423OXCU.js → play-LLNZWHT6.js} +283 -283
  61. package/dist/cli/{providers-6F5F6D4O.js → providers-E4XIEUC7.js} +7 -7
  62. package/dist/cli/{providers-HRDAG3UX.mjs → providers-WBOEOKE7.mjs} +4 -4
  63. package/dist/cli/{quickstart-SOWZOPAS.js → quickstart-3FUHKGEY.js} +5 -5
  64. package/dist/cli/{quickstart-UMZS7HBY.mjs → quickstart-6G5G3BVA.mjs} +3 -3
  65. package/dist/cli/search-4ECC773X.js +30 -0
  66. package/dist/cli/{search-5FGZVQSP.mjs → search-CNMB4Z6M.mjs} +5 -5
  67. package/dist/cli/{secrets-SACNVEWL.mjs → secrets-5FY5APVK.mjs} +4 -4
  68. package/dist/cli/{secrets-7E2TOVYP.js → secrets-BDSWOYAT.js} +13 -13
  69. package/dist/cli/{sessions-FNON33JD.js → sessions-B7T2CHYK.js} +5 -5
  70. package/dist/cli/{sessions-5VCX7MYU.mjs → sessions-PMIKVPQN.mjs} +4 -4
  71. package/dist/cli/{settings-EJACNJR4.mjs → settings-4TAYLTPR.mjs} +8 -8
  72. package/dist/cli/{settings-6MYQGDQX.js → settings-RXQJRRLR.js} +75 -75
  73. package/dist/cli/{setup-KJ7IADVC.mjs → setup-LVUISLVO.mjs} +7 -7
  74. package/dist/cli/{setup-QVEIV4R4.js → setup-ZTMETGSO.js} +42 -42
  75. package/dist/cli/skills-MIENPTOD.js +29 -0
  76. package/dist/cli/{skills-SUV3DJEU.mjs → skills-NSJ43Z5Q.mjs} +5 -5
  77. package/dist/cli/{tools-H4ZL5QDZ.mjs → tools-CFCKIGDY.mjs} +12 -12
  78. package/dist/cli/tools-CXJO5XSH.js +44 -0
  79. package/dist/cli/update-B2LQGEXF.js +31 -0
  80. package/dist/cli/{update-5UGF4334.mjs → update-HYOCBXJO.mjs} +7 -7
  81. package/dist/cli/{workflow-RABLQNGO.mjs → workflow-RKX45RJ4.mjs} +5 -5
  82. package/dist/cli/{workflow-THIBJ3VE.js → workflow-U6S4SWTF.js} +15 -15
  83. package/dist/index.js +6 -6
  84. package/dist/index.mjs +3 -3
  85. package/dist/install-integrity.json +78 -78
  86. package/dist/release.d.mts +1 -1
  87. package/dist/release.d.ts +1 -1
  88. package/dist/release.js +2 -2
  89. package/dist/release.mjs +1 -1
  90. package/package.json +1 -1
  91. package/dist/cli/auth-3LOZKBPO.js +0 -40
  92. package/dist/cli/git-VVC5BRCG.js +0 -24
  93. package/dist/cli/search-BDIO4BBH.js +0 -30
  94. package/dist/cli/skills-YPH2KNH6.js +0 -29
  95. package/dist/cli/tools-X23MQMNE.js +0 -44
  96. package/dist/cli/update-GZOPNTGJ.js +0 -31
@@ -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 _chunkOZ5ME7BPjs = require('./chunk-OZ5ME7BP.js');
4
+ var _chunkEJ6YI46Sjs = require('./chunk-EJ6YI46S.js');
5
5
 
6
6
 
7
- var _chunkXUD5AOQYjs = require('./chunk-XUD5AOQY.js');
7
+ var _chunkJRPNCMMNjs = require('./chunk-JRPNCMMN.js');
8
8
 
9
9
 
10
- var _chunkNSIOVSNZjs = require('./chunk-NSIOVSNZ.js');
10
+ var _chunkC4NPWUZYjs = require('./chunk-C4NPWUZY.js');
11
11
 
12
12
 
13
- var _chunk47GRLLV2js = require('./chunk-47GRLLV2.js');
13
+ var _chunk6G6KX7I7js = require('./chunk-6G6KX7I7.js');
14
14
 
15
15
 
16
- var _chunk6TABNDCBjs = require('./chunk-6TABNDCB.js');
16
+ var _chunkWDOWAOYBjs = require('./chunk-WDOWAOYB.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 = _chunkNSIOVSNZjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkC4NPWUZYjs.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 ? _chunkOZ5ME7BPjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkOZ5ME7BPjs.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 ? _chunkEJ6YI46Sjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkEJ6YI46Sjs.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()]) || _chunk6TABNDCBjs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkWDOWAOYBjs.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 = _chunkNSIOVSNZjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkC4NPWUZYjs.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, () => ( _chunk6TABNDCBjs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkWDOWAOYBjs.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 _chunkXUD5AOQYjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkJRPNCMMNjs.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
- _chunk47GRLLV2js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunk6G6KX7I7js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunk47GRLLV2js.printCommandEnvelope.call(void 0,
1284
+ _chunk6G6KX7I7js.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
- _chunk47GRLLV2js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunk6G6KX7I7js.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
- _chunk47GRLLV2js.printCommandEnvelope.call(void 0,
1327
+ _chunk6G6KX7I7js.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
49
49
  // getters keep their established compatibility behavior.
50
50
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
51
51
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
52
- version: "0.3.450",
52
+ version: "0.3.451",
53
53
  updateSummary: {
54
54
  introducedIn: "0.3.90",
55
55
  summary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release."
@@ -4,12 +4,12 @@
4
4
 
5
5
 
6
6
 
7
- var _chunk47GRLLV2js = require('./chunk-47GRLLV2.js');
8
- require('./chunk-6TABNDCB.js');
7
+ var _chunk6G6KX7I7js = require('./chunk-6G6KX7I7.js');
8
+ require('./chunk-WDOWAOYB.js');
9
9
  require('./chunk-ALJJRZNJ.js');
10
10
  require('./chunk-XNYIZMNQ.js');
11
11
  require('./chunk-DIAWYWT5.js');
12
- require('./chunk-IYBC6WON.js');
12
+ require('./chunk-L2IUGWV5.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 : _chunk47GRLLV2js.clip.call(void 0, value, 42)).length;
130
+ return (verbose ? value : _chunk6G6KX7I7js.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 : _chunk47GRLLV2js.clip.call(void 0, raw, 42);
140
+ const display = verbose ? raw : _chunk6G6KX7I7js.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 = _chunk47GRLLV2js.readCsvRows.call(void 0, csvPath);
160
+ const allRows = _chunk6G6KX7I7js.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
- _chunk47GRLLV2js.printJson.call(void 0, {
173
+ _chunk6G6KX7I7js.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(_chunk47GRLLV2js.csvStringFromRows.call(void 0, displayRows));
182
+ process.stdout.write(_chunk6G6KX7I7js.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
- _chunk47GRLLV2js.printJson.call(void 0, {
197
+ _chunk6G6KX7I7js.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
- ${_chunk47GRLLV2js.clip.call(void 0, log, 2e3)}`;
440
+ ${_chunk6G6KX7I7js.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
- _chunk47GRLLV2js.printCommandEnvelope.call(void 0, payload, {
491
+ _chunk6G6KX7I7js.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
- _chunk47GRLLV2js.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
527
+ _chunk6G6KX7I7js.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-4Z356NPN.mjs";
8
- import "./chunk-5R7YPB5X.mjs";
7
+ } from "./chunk-XLOXUW5Y.mjs";
8
+ import "./chunk-PJYTV24I.mjs";
9
9
  import "./chunk-4QF2K7TM.mjs";
10
10
  import "./chunk-DLIRSHV6.mjs";
11
11
  import "./chunk-HBL4PM5Q.mjs";
12
- import "./chunk-AJUNUE32.mjs";
12
+ import "./chunk-ZPV7DMAA.mjs";
13
13
  import "./chunk-WZYKRD7T.mjs";
14
14
  import "./chunk-KRD6H754.mjs";
15
15
 
@@ -4,7 +4,7 @@ var _chunkAID3OYVJjs = require('./chunk-AID3OYVJ.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkJWZIZH2Cjs = require('./chunk-JWZIZH2C.js');
7
+ var _chunk7VRWERTMjs = require('./chunk-7VRWERTM.js');
8
8
  require('./chunk-E4CABWXL.js');
9
9
  require('./chunk-JKVRBCZL.js');
10
10
  require('./chunk-KXMNM4AQ.js');
@@ -18,8 +18,8 @@ require('./chunk-XDVT3GOM.js');
18
18
 
19
19
 
20
20
 
21
- var _chunk47GRLLV2js = require('./chunk-47GRLLV2.js');
22
- require('./chunk-6TABNDCB.js');
21
+ var _chunk6G6KX7I7js = require('./chunk-6G6KX7I7.js');
22
+ require('./chunk-WDOWAOYB.js');
23
23
 
24
24
 
25
25
  var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
@@ -27,7 +27,7 @@ require('./chunk-XNYIZMNQ.js');
27
27
 
28
28
 
29
29
  var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
30
- require('./chunk-IYBC6WON.js');
30
+ require('./chunk-L2IUGWV5.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 = _chunk47GRLLV2js.dataExportRows.call(void 0, customerDbRows(result));
54
- const responseColumns = _chunk47GRLLV2js.dataExportColumns.call(void 0,
53
+ const rows = _chunk6G6KX7I7js.dataExportRows.call(void 0, customerDbRows(result));
54
+ const responseColumns = _chunk6G6KX7I7js.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 _chunk47GRLLV2js.recordRows.call(void 0, result.rows);
100
+ return _chunk6G6KX7I7js.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
- _chunk47GRLLV2js.dataExportCsvString.call(void 0, customerDbRows(result), customerDbColumnNames(result)),
153
+ _chunk6G6KX7I7js.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 || _chunk47GRLLV2js.shouldEmitJson.call(void 0, );
194
+ const jsonOutput = explicitJsonOutput || _chunk6G6KX7I7js.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
- _chunk47GRLLV2js.printCommandEnvelope.call(void 0,
205
+ _chunk6G6KX7I7js.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
- _chunk47GRLLV2js.printCommandEnvelope.call(void 0,
221
+ _chunk6G6KX7I7js.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: _chunk47GRLLV2js.dataExportCsvString.call(void 0,
231
+ text: _chunk6G6KX7I7js.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 = _chunk47GRLLV2js.markdownTableFromRows.call(void 0,
240
+ const content = _chunk6G6KX7I7js.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
- _chunk47GRLLV2js.printCommandEnvelope.call(void 0,
247
+ _chunk6G6KX7I7js.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
- _chunk47GRLLV2js.printCommandEnvelope.call(void 0,
263
+ _chunk6G6KX7I7js.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
- _chunk47GRLLV2js.printCommandEnvelope.call(void 0,
278
+ _chunk6G6KX7I7js.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 = _chunkJWZIZH2Cjs.planCustomerDbQuery.call(void 0, query);
352
+ const plan = _chunk7VRWERTMjs.planCustomerDbQuery.call(void 0, query);
353
353
  if (options.dryRun) {
354
- _chunk47GRLLV2js.printCommandEnvelope.call(void 0,
354
+ _chunk6G6KX7I7js.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 || _chunk47GRLLV2js.shouldEmitJson.call(void 0, ) }
367
+ { json: options.json || _chunk6G6KX7I7js.shouldEmitJson.call(void 0, ) }
368
368
  );
369
369
  return 0;
370
370
  }
371
- const client = new (0, _chunkJWZIZH2Cjs.DeeplineClient)();
371
+ const client = new (0, _chunk7VRWERTMjs.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 _chunkALJJRZNJjs.CustomerDbQueryOutcomeUnknownError && (options.json || _chunk47GRLLV2js.shouldEmitJson.call(void 0, ))) {
381
- _chunk47GRLLV2js.printCommandEnvelope.call(void 0,
380
+ if (error instanceof _chunkALJJRZNJjs.CustomerDbQueryOutcomeUnknownError && (options.json || _chunk6G6KX7I7js.shouldEmitJson.call(void 0, ))) {
381
+ _chunk6G6KX7I7js.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 = _chunk47GRLLV2js.argsWantJson.call(void 0, args);
430
- const client = new (0, _chunkJWZIZH2Cjs.DeeplineClient)();
429
+ const jsonOutput = _chunk6G6KX7I7js.argsWantJson.call(void 0, args);
430
+ const client = new (0, _chunk7VRWERTMjs.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
- _chunk47GRLLV2js.printCommandEnvelope.call(void 0,
446
+ _chunk6G6KX7I7js.printCommandEnvelope.call(void 0,
447
447
  {
448
448
  command: "db repair",
449
449
  status: result.status,
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  DeeplineClient,
6
6
  planCustomerDbQuery
7
- } from "./chunk-B2V2F3KV.mjs";
7
+ } from "./chunk-LPPAJJJN.mjs";
8
8
  import "./chunk-L2VKAASU.mjs";
9
9
  import "./chunk-FAG4DFUC.mjs";
10
10
  import "./chunk-EIMG75BT.mjs";
@@ -18,8 +18,8 @@ import {
18
18
  printCommandEnvelope,
19
19
  recordRows,
20
20
  shouldEmitJson
21
- } from "./chunk-4Z356NPN.mjs";
22
- import "./chunk-5R7YPB5X.mjs";
21
+ } from "./chunk-XLOXUW5Y.mjs";
22
+ import "./chunk-PJYTV24I.mjs";
23
23
  import {
24
24
  CustomerDbQueryOutcomeUnknownError
25
25
  } from "./chunk-4QF2K7TM.mjs";
@@ -27,7 +27,7 @@ import "./chunk-DLIRSHV6.mjs";
27
27
  import {
28
28
  DeeplineError
29
29
  } from "./chunk-HBL4PM5Q.mjs";
30
- import "./chunk-AJUNUE32.mjs";
30
+ import "./chunk-ZPV7DMAA.mjs";
31
31
  import "./chunk-WZYKRD7T.mjs";
32
32
  import "./chunk-KRD6H754.mjs";
33
33
 
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunk2VKDHJU3js = require('./chunk-2VKDHJU3.js');
3
+ var _chunkZ3DBS4IBjs = require('./chunk-Z3DBS4IB.js');
4
4
 
5
5
 
6
6
  var _chunkPQUUWFXYjs = require('./chunk-PQUUWFXY.js');
7
- require('./chunk-IESQOIOE.js');
7
+ require('./chunk-F2DW7DFE.js');
8
8
 
9
9
 
10
10
 
@@ -20,25 +20,25 @@ require('./chunk-HGFFYVXN.js');
20
20
  require('./chunk-NA4T3B62.js');
21
21
 
22
22
 
23
- var _chunkJWZIZH2Cjs = require('./chunk-JWZIZH2C.js');
23
+ var _chunk7VRWERTMjs = require('./chunk-7VRWERTM.js');
24
24
  require('./chunk-E4CABWXL.js');
25
25
  require('./chunk-JKVRBCZL.js');
26
26
  require('./chunk-KXMNM4AQ.js');
27
27
  require('./chunk-XDVT3GOM.js');
28
- require('./chunk-LTQCEQOZ.js');
29
- require('./chunk-VYMLYV2K.js');
30
- require('./chunk-OZ5ME7BP.js');
31
- require('./chunk-XUD5AOQY.js');
32
- require('./chunk-UMA7425N.js');
33
- require('./chunk-NSIOVSNZ.js');
28
+ require('./chunk-O3KVUHCG.js');
29
+ require('./chunk-ZNDE2BTH.js');
30
+ require('./chunk-EJ6YI46S.js');
31
+ require('./chunk-JRPNCMMN.js');
32
+ require('./chunk-6TFACCXN.js');
33
+ require('./chunk-C4NPWUZY.js');
34
34
 
35
35
 
36
- var _chunk47GRLLV2js = require('./chunk-47GRLLV2.js');
37
- require('./chunk-6TABNDCB.js');
36
+ var _chunk6G6KX7I7js = require('./chunk-6G6KX7I7.js');
37
+ require('./chunk-WDOWAOYB.js');
38
38
  require('./chunk-ALJJRZNJ.js');
39
39
  require('./chunk-XNYIZMNQ.js');
40
40
  require('./chunk-DIAWYWT5.js');
41
- require('./chunk-IYBC6WON.js');
41
+ require('./chunk-L2IUGWV5.js');
42
42
  require('./chunk-OG64RBAC.js');
43
43
  require('./chunk-COGTRVWW.js');
44
44
 
@@ -46,13 +46,13 @@ require('./chunk-COGTRVWW.js');
46
46
  var _fs = require('fs');
47
47
  var _path = require('path');
48
48
  async function describeAnything(name, options, onMissing) {
49
- const client = new (0, _chunkJWZIZH2Cjs.DeeplineClient)();
49
+ const client = new (0, _chunk7VRWERTMjs.DeeplineClient)();
50
50
  const lookups = _chunkKGQNIA37js.describeLookupsFor.call(void 0, client);
51
51
  const outcome = await _chunkKGQNIA37js.describeName.call(void 0, name, options, {
52
52
  ...lookups,
53
53
  // `tools describe` has already fetched the tool for its compatibility check.
54
54
  tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
55
- seedStarterScript: _chunk2VKDHJU3js.seedToolListScript
55
+ seedStarterScript: _chunkZ3DBS4IBjs.seedToolListScript
56
56
  });
57
57
  if (outcome.status === "missing") {
58
58
  if (onMissing) return onMissing();
@@ -79,14 +79,14 @@ function deliver(envelope, lines, { json, out }) {
79
79
  ` : text;
80
80
  _fs.writeFileSync.call(void 0, path, content);
81
81
  const bytes = Buffer.byteLength(content);
82
- _chunk47GRLLV2js.printCommandEnvelope.call(void 0,
82
+ _chunk6G6KX7I7js.printCommandEnvelope.call(void 0,
83
83
  { path, bytes },
84
84
  { json, text: `Wrote ${path} (${bytes} bytes)
85
85
  ` }
86
86
  );
87
87
  return 0;
88
88
  }
89
- _chunk47GRLLV2js.printCommandEnvelope.call(void 0, envelope, { json, text });
89
+ _chunk6G6KX7I7js.printCommandEnvelope.call(void 0, envelope, { json, text });
90
90
  return 0;
91
91
  }
92
92
  function registerDescribeCommand(program) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-HRRVDDFH.mjs";
3
+ } from "./chunk-E7V5CRA2.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
6
  } from "./chunk-YBWAG72P.mjs";
7
- import "./chunk-CA3NM3W4.mjs";
7
+ import "./chunk-RFPP4Q66.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-B2V2F3KV.mjs";
23
+ } from "./chunk-LPPAJJJN.mjs";
24
24
  import "./chunk-L2VKAASU.mjs";
25
25
  import "./chunk-FAG4DFUC.mjs";
26
26
  import "./chunk-EIMG75BT.mjs";
27
27
  import "./chunk-UBKA33KY.mjs";
28
- import "./chunk-B4T7EFBZ.mjs";
29
- import "./chunk-EKVOSR3S.mjs";
30
- import "./chunk-QROZFMGC.mjs";
31
- import "./chunk-3SRJO6H4.mjs";
32
- import "./chunk-3JEMYGIR.mjs";
33
- import "./chunk-2UNTSLTR.mjs";
28
+ import "./chunk-BQQLTSGC.mjs";
29
+ import "./chunk-OKTCLFKM.mjs";
30
+ import "./chunk-JUCEEIEC.mjs";
31
+ import "./chunk-37CPEQBE.mjs";
32
+ import "./chunk-4C7HPD57.mjs";
33
+ import "./chunk-33EM4SMH.mjs";
34
34
  import {
35
35
  printCommandEnvelope
36
- } from "./chunk-4Z356NPN.mjs";
37
- import "./chunk-5R7YPB5X.mjs";
36
+ } from "./chunk-XLOXUW5Y.mjs";
37
+ import "./chunk-PJYTV24I.mjs";
38
38
  import "./chunk-4QF2K7TM.mjs";
39
39
  import "./chunk-DLIRSHV6.mjs";
40
40
  import "./chunk-HBL4PM5Q.mjs";
41
- import "./chunk-AJUNUE32.mjs";
41
+ import "./chunk-ZPV7DMAA.mjs";
42
42
  import "./chunk-WZYKRD7T.mjs";
43
43
  import "./chunk-KRD6H754.mjs";
44
44
 
@@ -1,18 +1,18 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkJWZIZH2Cjs = require('./chunk-JWZIZH2C.js');
3
+ var _chunk7VRWERTMjs = require('./chunk-7VRWERTM.js');
4
4
  require('./chunk-E4CABWXL.js');
5
5
  require('./chunk-JKVRBCZL.js');
6
6
  require('./chunk-KXMNM4AQ.js');
7
7
  require('./chunk-XDVT3GOM.js');
8
8
 
9
9
 
10
- var _chunk47GRLLV2js = require('./chunk-47GRLLV2.js');
11
- require('./chunk-6TABNDCB.js');
10
+ var _chunk6G6KX7I7js = require('./chunk-6G6KX7I7.js');
11
+ require('./chunk-WDOWAOYB.js');
12
12
  require('./chunk-ALJJRZNJ.js');
13
13
  require('./chunk-XNYIZMNQ.js');
14
14
  require('./chunk-DIAWYWT5.js');
15
- require('./chunk-IYBC6WON.js');
15
+ require('./chunk-L2IUGWV5.js');
16
16
  require('./chunk-OG64RBAC.js');
17
17
  require('./chunk-COGTRVWW.js');
18
18
 
@@ -20,10 +20,10 @@ require('./chunk-COGTRVWW.js');
20
20
  function registerExecutionsCommands(program) {
21
21
  const executions = program.command("executions").description("Inspect and recover keyed tool executions.");
22
22
  executions.command("get").description("Retrieve a tool execution by its idempotency key.").requiredOption("--idempotency-key <key>", "Stable execution recovery key").option("--json", "Emit the stable JSON response").action(async (options) => {
23
- const result = await new (0, _chunkJWZIZH2Cjs.DeeplineClient)().executions.getByKey(
23
+ const result = await new (0, _chunk7VRWERTMjs.DeeplineClient)().executions.getByKey(
24
24
  options.idempotencyKey
25
25
  );
26
- _chunk47GRLLV2js.printCommandEnvelope.call(void 0, result, { json: true });
26
+ _chunk6G6KX7I7js.printCommandEnvelope.call(void 0, result, { json: true });
27
27
  });
28
28
  }
29
29
 
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-B2V2F3KV.mjs";
3
+ } from "./chunk-LPPAJJJN.mjs";
4
4
  import "./chunk-L2VKAASU.mjs";
5
5
  import "./chunk-FAG4DFUC.mjs";
6
6
  import "./chunk-EIMG75BT.mjs";
7
7
  import "./chunk-UBKA33KY.mjs";
8
8
  import {
9
9
  printCommandEnvelope
10
- } from "./chunk-4Z356NPN.mjs";
11
- import "./chunk-5R7YPB5X.mjs";
10
+ } from "./chunk-XLOXUW5Y.mjs";
11
+ import "./chunk-PJYTV24I.mjs";
12
12
  import "./chunk-4QF2K7TM.mjs";
13
13
  import "./chunk-DLIRSHV6.mjs";
14
14
  import "./chunk-HBL4PM5Q.mjs";
15
- import "./chunk-AJUNUE32.mjs";
15
+ import "./chunk-ZPV7DMAA.mjs";
16
16
  import "./chunk-WZYKRD7T.mjs";
17
17
  import "./chunk-KRD6H754.mjs";
18
18