deepline 0.3.464 → 0.3.466
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.
- package/dist/bundling-sources/sdk/src/client-core.ts +2 -1
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/context.ts +130 -57
- package/dist/cli/{auth-GMSI6QWR.mjs → auth-HYIPYSKK.mjs} +5 -5
- package/dist/cli/auth-Y3UTWD3W.js +41 -0
- package/dist/cli/{billing-6G2RFLM7.mjs → billing-5S6SGBUP.mjs} +6 -6
- package/dist/cli/{billing-MGH36CNP.js → billing-NG62QGPT.js} +77 -77
- package/dist/cli/{chunk-ZQERHPZA.js → chunk-22BKA2QL.js} +26 -26
- package/dist/cli/{chunk-BMUDQMYE.js → chunk-3DVJ2IPG.js} +7 -7
- package/dist/cli/{chunk-MQNBOSQP.mjs → chunk-46YQQOTC.mjs} +5 -5
- package/dist/cli/{chunk-WLIFUH6W.js → chunk-4QJ63YHC.js} +8 -8
- package/dist/cli/{chunk-K3BARC72.js → chunk-5BEKJUOK.js} +2 -2
- package/dist/cli/{chunk-HGUHBLX5.mjs → chunk-5EUJKY3G.mjs} +3 -3
- package/dist/cli/{chunk-6A7OH2PV.mjs → chunk-6CYRIFZ3.mjs} +2 -2
- package/dist/cli/{chunk-6KDOO7IM.mjs → chunk-6R36QIG4.mjs} +4 -4
- package/dist/cli/{chunk-FEWZT4RV.js → chunk-7IWYO475.js} +21 -21
- package/dist/cli/{chunk-OA7IIOLW.mjs → chunk-7QITO7XO.mjs} +4 -4
- package/dist/cli/{chunk-4XNXFHG6.js → chunk-A7MWUG5H.js} +1 -1
- package/dist/cli/{chunk-ACZLDP7L.js → chunk-B7BNWOG6.js} +3 -3
- package/dist/cli/{chunk-VZX4P5FT.js → chunk-CMXFOZVG.js} +93 -93
- package/dist/cli/{chunk-ZIMCLWEW.js → chunk-EOKUL6XS.js} +5 -5
- package/dist/cli/{chunk-44BEFU62.mjs → chunk-F6H74EFB.mjs} +2 -2
- package/dist/cli/{chunk-RFOQRCMW.mjs → chunk-FWHRCZET.mjs} +4 -4
- package/dist/cli/{chunk-VYDOPASG.mjs → chunk-H5MYPDO2.mjs} +1 -1
- package/dist/cli/{chunk-O4ZMADW4.js → chunk-HOFXQYRF.js} +7 -7
- package/dist/cli/{chunk-MP3O4ISC.mjs → chunk-IEQPOBTK.mjs} +1 -1
- package/dist/cli/{chunk-O4AOYLZE.mjs → chunk-JLE5UYZV.mjs} +2 -2
- package/dist/cli/{chunk-TU3M7UXJ.js → chunk-LDEJ4NUP.js} +10 -10
- package/dist/cli/{chunk-EQNJUG3N.js → chunk-MTH7WIE3.js} +53 -53
- package/dist/cli/{chunk-XMDBN2K7.mjs → chunk-NJ6KQLMO.mjs} +10 -10
- package/dist/cli/{chunk-GVJVBBGV.js → chunk-NQH7E3F2.js} +3 -3
- package/dist/cli/{chunk-E4QJKJH6.js → chunk-NYNNNOJW.js} +51 -51
- package/dist/cli/{chunk-FVAB2JRO.js → chunk-OB5NON4G.js} +8 -8
- package/dist/cli/{chunk-NI3QFUK7.js → chunk-PEUWKPY4.js} +4 -4
- package/dist/cli/{chunk-TMVBBGSK.mjs → chunk-QMHBWFU5.mjs} +1 -1
- package/dist/cli/{chunk-DO3FSI4C.mjs → chunk-QTTYIPFY.mjs} +1 -1
- package/dist/cli/{chunk-UM363DQF.mjs → chunk-QWMXP2IP.mjs} +2 -2
- package/dist/cli/{chunk-3AIMFE3Z.js → chunk-QZKSG7XZ.js} +36 -36
- package/dist/cli/{chunk-5XIGEYYK.js → chunk-R2SQN2CD.js} +6 -6
- package/dist/cli/{chunk-PPQL5F4P.mjs → chunk-RCMT6AZ5.mjs} +1 -1
- package/dist/cli/{chunk-2RFTOESC.js → chunk-RGRSUMN6.js} +5 -5
- package/dist/cli/{chunk-X3XJ6ZSJ.js → chunk-RRCVAVM7.js} +2 -2
- package/dist/cli/{chunk-5CKIO7KA.mjs → chunk-RSXOGXGX.mjs} +1 -1
- package/dist/cli/{chunk-6E2KNNTD.mjs → chunk-SQFBLBYC.mjs} +2 -2
- package/dist/cli/{chunk-UOAHDEAI.js → chunk-SWUSDFG2.js} +9 -9
- package/dist/cli/{chunk-VQHEMZ33.mjs → chunk-UHAKSLL2.mjs} +2 -2
- package/dist/cli/{chunk-J327QVQV.mjs → chunk-V27TVT7P.mjs} +1 -1
- package/dist/cli/{chunk-6COF5LIE.mjs → chunk-VSEKVRAP.mjs} +2 -2
- package/dist/cli/{chunk-ZAB6KCZW.js → chunk-VVCMP45C.js} +3 -3
- package/dist/cli/{chunk-CUZVOPPY.mjs → chunk-W4XWGNW4.mjs} +3 -3
- package/dist/cli/{chunk-M4QVY6RW.mjs → chunk-WKOWXTDR.mjs} +2 -2
- package/dist/cli/{chunk-3MKRAI6R.mjs → chunk-YHPUJI7G.mjs} +5 -5
- package/dist/cli/{chunk-K4DVRQTY.js → chunk-ZBWKWMSH.js} +16 -16
- package/dist/cli/{csv-W2JPV57R.js → csv-AD2DLLLL.js} +13 -13
- package/dist/cli/{csv-4ZVMBOCK.mjs → csv-ZGZX2IIP.mjs} +4 -4
- package/dist/cli/{db-TVK6BLRB.mjs → db-LUFEKPEK.mjs} +6 -6
- package/dist/cli/{db-6YNFDHEW.js → db-NBY4LHAY.js} +27 -27
- package/dist/cli/{describe-JFN4ECPO.mjs → describe-MLXMC47U.mjs} +17 -17
- package/dist/cli/describe-Z66CQESH.js +48 -0
- package/dist/cli/{executions-J4CAN7RB.js → executions-HDJMKNBR.js} +8 -8
- package/dist/cli/{executions-2FK4FFKE.mjs → executions-JKVWM3P4.mjs} +6 -6
- package/dist/cli/{feedback-EYRRLA2P.mjs → feedback-7E5Z4ZO5.mjs} +4 -4
- package/dist/cli/{feedback-NOO4OM4U.js → feedback-VXMP7HDF.js} +8 -8
- package/dist/cli/git-NNSJKW3V.js +25 -0
- package/dist/cli/{git-D3Q4JKBC.mjs → git-UFMRAGMY.mjs} +5 -5
- package/dist/cli/index.js +135 -135
- package/dist/cli/index.mjs +40 -40
- package/dist/cli/{legacy-noops-5ZGRKSN3.js → legacy-noops-4QKREY4K.js} +8 -8
- package/dist/cli/{legacy-noops-SUFJWBLZ.mjs → legacy-noops-BDULCVGD.mjs} +5 -5
- package/dist/cli/{monitors-3QFJZA6Z.js → monitors-LNNSTELC.js} +91 -91
- package/dist/cli/{monitors-IRDIIR6J.mjs → monitors-S6TDJYCK.mjs} +7 -7
- package/dist/cli/{org-2VA2FSMG.mjs → org-EEEMWKQ2.mjs} +6 -6
- package/dist/cli/{org-275OJJ7W.js → org-OWM3IGOK.js} +68 -68
- package/dist/cli/{pages-SPRBOZRA.js → pages-7JF6AKDI.js} +17 -17
- package/dist/cli/{pages-WCUEBFYU.mjs → pages-ZYYMQUDX.mjs} +6 -6
- package/dist/cli/{play-7UL5H6QU.mjs → play-5Z3E7KL6.mjs} +17 -17
- package/dist/cli/{play-NMHUWBET.js → play-WLAFXAHR.js} +304 -304
- package/dist/cli/{providers-WSCKV557.mjs → providers-JUT7IYD3.mjs} +6 -6
- package/dist/cli/{providers-72LUJEAT.js → providers-TTDFQQU2.js} +9 -9
- package/dist/cli/{quickstart-XSUUAE2Y.js → quickstart-OZYEGICI.js} +6 -6
- package/dist/cli/{quickstart-K4LAKJKJ.mjs → quickstart-P4TL4NWJ.mjs} +4 -4
- package/dist/cli/{run-MLV2CLW7.js → run-BYGE4LUB.js} +36 -36
- package/dist/cli/{run-R2MOXXHH.mjs → run-CM6OZUBR.mjs} +22 -22
- package/dist/cli/search-RIG4LTCS.js +32 -0
- package/dist/cli/{search-WHJZNWKE.mjs → search-RZRJ73YL.mjs} +7 -7
- package/dist/cli/{secrets-YGVOFLI5.mjs → secrets-DHI6ZMKE.mjs} +6 -6
- package/dist/cli/{secrets-7PXFBOFY.js → secrets-XLTN3SCL.js} +15 -15
- package/dist/cli/{sessions-ASXXZI42.js → sessions-6NCQQXVK.js} +6 -6
- package/dist/cli/{sessions-G7I54W4L.mjs → sessions-MZD5WZBT.mjs} +5 -5
- package/dist/cli/{settings-RTEBMDPC.js → settings-JJH72W5V.js} +78 -78
- package/dist/cli/{settings-4GFO6JYO.mjs → settings-S6GQ4XFZ.mjs} +11 -11
- package/dist/cli/{setup-A6V2MJK7.js → setup-3BIOG6N2.js} +44 -44
- package/dist/cli/{setup-4RJGKSDC.mjs → setup-ZJ4G54XN.mjs} +9 -9
- package/dist/cli/{skills-432W6EGS.mjs → skills-FBH4REPB.mjs} +7 -7
- package/dist/cli/skills-ODISCL7S.js +31 -0
- package/dist/cli/tools-IHBHDI4P.js +55 -0
- package/dist/cli/{tools-SABREK3C.mjs → tools-J6YGZTD5.mjs} +16 -16
- package/dist/cli/update-5O3HDR5O.js +33 -0
- package/dist/cli/{update-F7NO5RDW.mjs → update-6CSRALIQ.mjs} +9 -9
- package/dist/cli/{workflow-TF6YDWTM.js → workflow-2ETKYSJV.js} +17 -17
- package/dist/cli/{workflow-F4N7CFUX.mjs → workflow-3ATSB7HQ.mjs} +7 -7
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +96 -96
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-P4E7M3AV.js +0 -41
- package/dist/cli/describe-APW5TWBT.js +0 -48
- package/dist/cli/git-FPF6DT43.js +0 -25
- package/dist/cli/search-AYFUV6YV.js +0 -32
- package/dist/cli/skills-GOQECD7H.js +0 -31
- package/dist/cli/tools-JXYN7WOE.js +0 -55
- package/dist/cli/update-BSB4TJER.js +0 -33
|
@@ -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
|
|
4
|
+
var _chunkRRCVAVM7js = require('./chunk-RRCVAVM7.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkQZKSG7XZjs = require('./chunk-QZKSG7XZ.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkMTH7WIE3js = require('./chunk-MTH7WIE3.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkHOFXQYRFjs = require('./chunk-HOFXQYRF.js');
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkNQH7E3F2js = require('./chunk-NQH7E3F2.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 =
|
|
498
|
+
const plan = _chunkMTH7WIE3js.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 ?
|
|
560
|
-
const npmGlobalInstallFlags =
|
|
559
|
+
const npmVersion = options.npmVersion === void 0 ? _chunkRRCVAVM7js.readNpmVersion.call(void 0, env) : options.npmVersion;
|
|
560
|
+
const npmGlobalInstallFlags = _chunkRRCVAVM7js.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()]) ||
|
|
570
|
+
_optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkNQH7E3F2js.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 =
|
|
819
|
+
const plan = _chunkMTH7WIE3js.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, () => (
|
|
1202
|
+
const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkNQH7E3F2js.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
|
|
1209
|
+
const exitCode = await _chunkQZKSG7XZjs.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
|
-
|
|
1280
|
+
_chunkHOFXQYRFjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
|
|
1281
1281
|
return 0;
|
|
1282
1282
|
}
|
|
1283
1283
|
if (options.printCommand) {
|
|
1284
|
-
|
|
1284
|
+
_chunkHOFXQYRFjs.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
|
-
|
|
1297
|
+
_chunkHOFXQYRFjs.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
|
-
|
|
1327
|
+
_chunkHOFXQYRFjs.printCommandEnvelope.call(void 0,
|
|
1328
1328
|
{
|
|
1329
1329
|
ok: true,
|
|
1330
1330
|
pinnedVersion
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
7
|
+
var _chunkHOFXQYRFjs = require('./chunk-HOFXQYRF.js');
|
|
8
|
+
require('./chunk-NQH7E3F2.js');
|
|
9
|
+
require('./chunk-PEUWKPY4.js');
|
|
10
10
|
require('./chunk-ALJJRZNJ.js');
|
|
11
11
|
require('./chunk-XNYIZMNQ.js');
|
|
12
12
|
require('./chunk-DIAWYWT5.js');
|
|
13
|
-
require('./chunk-
|
|
13
|
+
require('./chunk-A7MWUG5H.js');
|
|
14
14
|
require('./chunk-OG64RBAC.js');
|
|
15
15
|
require('./chunk-COGTRVWW.js');
|
|
16
16
|
|
|
@@ -128,7 +128,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
|
|
|
128
128
|
column.length,
|
|
129
129
|
...rows.map((row) => {
|
|
130
130
|
const value = _nullishCoalesce(row[column], () => ( ""));
|
|
131
|
-
return (verbose ? value :
|
|
131
|
+
return (verbose ? value : _chunkHOFXQYRFjs.clip.call(void 0, value, 42)).length;
|
|
132
132
|
})
|
|
133
133
|
)
|
|
134
134
|
])
|
|
@@ -138,7 +138,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
|
|
|
138
138
|
const body = rows.map(
|
|
139
139
|
(row) => columns.map((column) => {
|
|
140
140
|
const raw = _nullishCoalesce(row[column], () => ( ""));
|
|
141
|
-
const display = verbose ? raw :
|
|
141
|
+
const display = verbose ? raw : _chunkHOFXQYRFjs.clip.call(void 0, raw, 42);
|
|
142
142
|
return display.padEnd(widths[column]);
|
|
143
143
|
}).join(" | ")
|
|
144
144
|
);
|
|
@@ -158,7 +158,7 @@ async function handleCsvShow(path, options, command) {
|
|
|
158
158
|
{ exitCode: 2 }
|
|
159
159
|
);
|
|
160
160
|
}
|
|
161
|
-
const allRows =
|
|
161
|
+
const allRows = _chunkHOFXQYRFjs.readCsvRows.call(void 0, csvPath);
|
|
162
162
|
const [rowStart, rowEnd] = parseRowRange(options.rows);
|
|
163
163
|
const rows = options.summary && options.rows === void 0 ? allRows : selectRows(allRows, rowStart, rowEnd);
|
|
164
164
|
const { rows: selected, columns } = selectColumns(
|
|
@@ -171,7 +171,7 @@ async function handleCsvShow(path, options, command) {
|
|
|
171
171
|
if (options.summary) {
|
|
172
172
|
const summaries = summarizeColumns(selected, columns);
|
|
173
173
|
if (format === "json") {
|
|
174
|
-
|
|
174
|
+
_chunkHOFXQYRFjs.printJson.call(void 0, {
|
|
175
175
|
rows: summaries,
|
|
176
176
|
total_rows: selected.length,
|
|
177
177
|
source_total_rows: allRows.length
|
|
@@ -180,7 +180,7 @@ async function handleCsvShow(path, options, command) {
|
|
|
180
180
|
}
|
|
181
181
|
const displayRows = summaryDisplayRows(summaries);
|
|
182
182
|
if (format === "csv") {
|
|
183
|
-
process.stdout.write(
|
|
183
|
+
process.stdout.write(_chunkHOFXQYRFjs.csvStringFromRows.call(void 0, displayRows));
|
|
184
184
|
return;
|
|
185
185
|
}
|
|
186
186
|
process.stdout.write(
|
|
@@ -195,7 +195,7 @@ async function handleCsvShow(path, options, command) {
|
|
|
195
195
|
return;
|
|
196
196
|
}
|
|
197
197
|
if (format === "json") {
|
|
198
|
-
|
|
198
|
+
_chunkHOFXQYRFjs.printJson.call(void 0, {
|
|
199
199
|
rows: selected.map((row, index) => ({ __row: rowStart + index, ...row }))
|
|
200
200
|
});
|
|
201
201
|
return;
|
|
@@ -438,7 +438,7 @@ async function handleCsvRenderStart(options) {
|
|
|
438
438
|
if (log) {
|
|
439
439
|
detail = `
|
|
440
440
|
CSV render log:
|
|
441
|
-
${
|
|
441
|
+
${_chunkHOFXQYRFjs.clip.call(void 0, log, 2e3)}`;
|
|
442
442
|
}
|
|
443
443
|
} catch (e7) {
|
|
444
444
|
}
|
|
@@ -489,7 +489,7 @@ async function handleCsvRenderStatus(options) {
|
|
|
489
489
|
if (payload.pid) lines.push(`Render PID: ${payload.pid}`);
|
|
490
490
|
if (payload.url) lines.push(`Render URL: ${payload.url}`);
|
|
491
491
|
lines.push(`Render Health: ${payload.health_status}`);
|
|
492
|
-
|
|
492
|
+
_chunkHOFXQYRFjs.printCommandEnvelope.call(void 0, payload, {
|
|
493
493
|
json: options.json,
|
|
494
494
|
text: `${lines.join("\n")}
|
|
495
495
|
`
|
|
@@ -525,7 +525,7 @@ async function handleCsvRenderStop(options) {
|
|
|
525
525
|
};
|
|
526
526
|
const text = stopped.length > 0 ? `Stopped CSV render process(es): ${stopped.join(" ")}
|
|
527
527
|
` : "No running CSV render process found.\n";
|
|
528
|
-
|
|
528
|
+
_chunkHOFXQYRFjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
|
|
529
529
|
}
|
|
530
530
|
async function handleCsvRender(action, options) {
|
|
531
531
|
const normalized = _nullishCoalesce(action, () => ( "start"));
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
printCommandEnvelope,
|
|
5
5
|
printJson,
|
|
6
6
|
readCsvRows
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-6CYRIFZ3.mjs";
|
|
8
|
+
import "./chunk-RSXOGXGX.mjs";
|
|
9
|
+
import "./chunk-IEQPOBTK.mjs";
|
|
10
10
|
import "./chunk-4QF2K7TM.mjs";
|
|
11
11
|
import "./chunk-DLIRSHV6.mjs";
|
|
12
12
|
import "./chunk-HBL4PM5Q.mjs";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-V27TVT7P.mjs";
|
|
14
14
|
import "./chunk-WZYKRD7T.mjs";
|
|
15
15
|
import "./chunk-KRD6H754.mjs";
|
|
16
16
|
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-OVDNJAJN.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DeeplineClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-F6H74EFB.mjs";
|
|
7
7
|
import {
|
|
8
8
|
planCustomerDbQuery
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UHAKSLL2.mjs";
|
|
10
10
|
import "./chunk-L2VKAASU.mjs";
|
|
11
11
|
import "./chunk-FAG4DFUC.mjs";
|
|
12
12
|
import "./chunk-S3A4IXBQ.mjs";
|
|
@@ -20,9 +20,9 @@ import {
|
|
|
20
20
|
printCommandEnvelope,
|
|
21
21
|
recordRows,
|
|
22
22
|
shouldEmitJson
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-6CYRIFZ3.mjs";
|
|
24
|
+
import "./chunk-RSXOGXGX.mjs";
|
|
25
|
+
import "./chunk-IEQPOBTK.mjs";
|
|
26
26
|
import {
|
|
27
27
|
CustomerDbQueryOutcomeUnknownError
|
|
28
28
|
} from "./chunk-4QF2K7TM.mjs";
|
|
@@ -30,7 +30,7 @@ import "./chunk-DLIRSHV6.mjs";
|
|
|
30
30
|
import {
|
|
31
31
|
DeeplineError
|
|
32
32
|
} from "./chunk-HBL4PM5Q.mjs";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-V27TVT7P.mjs";
|
|
34
34
|
import "./chunk-WZYKRD7T.mjs";
|
|
35
35
|
import "./chunk-KRD6H754.mjs";
|
|
36
36
|
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
var _chunkAID3OYVJjs = require('./chunk-AID3OYVJ.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkEOKUL6XSjs = require('./chunk-EOKUL6XS.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk3DVJ2IPGjs = require('./chunk-3DVJ2IPG.js');
|
|
10
10
|
require('./chunk-E4CABWXL.js');
|
|
11
11
|
require('./chunk-JKVRBCZL.js');
|
|
12
12
|
require('./chunk-NMU3VR5U.js');
|
|
@@ -20,9 +20,9 @@ require('./chunk-XDVT3GOM.js');
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
24
|
-
require('./chunk-
|
|
25
|
-
require('./chunk-
|
|
23
|
+
var _chunkHOFXQYRFjs = require('./chunk-HOFXQYRF.js');
|
|
24
|
+
require('./chunk-NQH7E3F2.js');
|
|
25
|
+
require('./chunk-PEUWKPY4.js');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
|
|
@@ -30,7 +30,7 @@ require('./chunk-XNYIZMNQ.js');
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
var _chunkDIAWYWT5js = require('./chunk-DIAWYWT5.js');
|
|
33
|
-
require('./chunk-
|
|
33
|
+
require('./chunk-A7MWUG5H.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 =
|
|
57
|
-
const responseColumns =
|
|
56
|
+
const rows = _chunkHOFXQYRFjs.dataExportRows.call(void 0, customerDbRows(result));
|
|
57
|
+
const responseColumns = _chunkHOFXQYRFjs.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
|
|
103
|
+
return _chunkHOFXQYRFjs.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
|
-
|
|
156
|
+
_chunkHOFXQYRFjs.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 ||
|
|
197
|
+
const jsonOutput = explicitJsonOutput || _chunkHOFXQYRFjs.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
|
-
|
|
208
|
+
_chunkHOFXQYRFjs.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
|
-
|
|
224
|
+
_chunkHOFXQYRFjs.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:
|
|
234
|
+
text: _chunkHOFXQYRFjs.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 =
|
|
243
|
+
const content = _chunkHOFXQYRFjs.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
|
-
|
|
250
|
+
_chunkHOFXQYRFjs.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
|
-
|
|
266
|
+
_chunkHOFXQYRFjs.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
|
-
|
|
281
|
+
_chunkHOFXQYRFjs.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 =
|
|
355
|
+
const plan = _chunk3DVJ2IPGjs.planCustomerDbQuery.call(void 0, query);
|
|
356
356
|
if (options.dryRun) {
|
|
357
|
-
|
|
357
|
+
_chunkHOFXQYRFjs.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 ||
|
|
370
|
+
{ json: options.json || _chunkHOFXQYRFjs.shouldEmitJson.call(void 0, ) }
|
|
371
371
|
);
|
|
372
372
|
return 0;
|
|
373
373
|
}
|
|
374
|
-
const client = new (0,
|
|
374
|
+
const client = new (0, _chunkEOKUL6XSjs.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 _chunkALJJRZNJjs.CustomerDbQueryOutcomeUnknownError && (options.json ||
|
|
384
|
-
|
|
383
|
+
if (error instanceof _chunkALJJRZNJjs.CustomerDbQueryOutcomeUnknownError && (options.json || _chunkHOFXQYRFjs.shouldEmitJson.call(void 0, ))) {
|
|
384
|
+
_chunkHOFXQYRFjs.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 =
|
|
433
|
-
const client = new (0,
|
|
432
|
+
const jsonOutput = _chunkHOFXQYRFjs.argsWantJson.call(void 0, args);
|
|
433
|
+
const client = new (0, _chunkEOKUL6XSjs.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
|
-
|
|
449
|
+
_chunkHOFXQYRFjs.printCommandEnvelope.call(void 0,
|
|
450
450
|
{
|
|
451
451
|
command: "db repair",
|
|
452
452
|
status: result.status,
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
findNamed,
|
|
4
4
|
nothingNamed,
|
|
5
5
|
registerDescribeCommand
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-FWHRCZET.mjs";
|
|
7
|
+
import "./chunk-NJ6KQLMO.mjs";
|
|
8
|
+
import "./chunk-QMHBWFU5.mjs";
|
|
9
|
+
import "./chunk-5EUJKY3G.mjs";
|
|
10
10
|
import {
|
|
11
11
|
DEEPLINE_NAMESPACE
|
|
12
12
|
} from "./chunk-MUQAKLBP.mjs";
|
|
@@ -16,27 +16,27 @@ import "./chunk-OVDNJAJN.mjs";
|
|
|
16
16
|
import "./chunk-LJ5747UC.mjs";
|
|
17
17
|
import "./chunk-FR2ILQ4G.mjs";
|
|
18
18
|
import "./chunk-FIVKWNMT.mjs";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-F6H74EFB.mjs";
|
|
20
20
|
import "./chunk-7YDN6AEK.mjs";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-UHAKSLL2.mjs";
|
|
22
22
|
import "./chunk-L2VKAASU.mjs";
|
|
23
23
|
import "./chunk-FAG4DFUC.mjs";
|
|
24
24
|
import "./chunk-S3A4IXBQ.mjs";
|
|
25
25
|
import "./chunk-UBKA33KY.mjs";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-YHPUJI7G.mjs";
|
|
27
|
+
import "./chunk-46YQQOTC.mjs";
|
|
28
|
+
import "./chunk-H5MYPDO2.mjs";
|
|
29
|
+
import "./chunk-7QITO7XO.mjs";
|
|
30
|
+
import "./chunk-RCMT6AZ5.mjs";
|
|
31
|
+
import "./chunk-6R36QIG4.mjs";
|
|
32
|
+
import "./chunk-QTTYIPFY.mjs";
|
|
33
|
+
import "./chunk-6CYRIFZ3.mjs";
|
|
34
|
+
import "./chunk-RSXOGXGX.mjs";
|
|
35
|
+
import "./chunk-IEQPOBTK.mjs";
|
|
36
36
|
import "./chunk-4QF2K7TM.mjs";
|
|
37
37
|
import "./chunk-DLIRSHV6.mjs";
|
|
38
38
|
import "./chunk-HBL4PM5Q.mjs";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-V27TVT7P.mjs";
|
|
40
40
|
import "./chunk-WZYKRD7T.mjs";
|
|
41
41
|
import "./chunk-KRD6H754.mjs";
|
|
42
42
|
export {
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkLDEJ4NUPjs = require('./chunk-LDEJ4NUP.js');
|
|
7
|
+
require('./chunk-CMXFOZVG.js');
|
|
8
|
+
require('./chunk-VVCMP45C.js');
|
|
9
|
+
require('./chunk-4QJ63YHC.js');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _chunkL3U44YVOjs = require('./chunk-L3U44YVO.js');
|
|
13
|
+
require('./chunk-6P4OYABU.js');
|
|
14
|
+
require('./chunk-IAYSWZDJ.js');
|
|
15
|
+
require('./chunk-AID3OYVJ.js');
|
|
16
|
+
require('./chunk-ZM2YPJQJ.js');
|
|
17
|
+
require('./chunk-J33TSWO5.js');
|
|
18
|
+
require('./chunk-HGFFYVXN.js');
|
|
19
|
+
require('./chunk-EOKUL6XS.js');
|
|
20
|
+
require('./chunk-JLZKF7EY.js');
|
|
21
|
+
require('./chunk-3DVJ2IPG.js');
|
|
22
|
+
require('./chunk-E4CABWXL.js');
|
|
23
|
+
require('./chunk-JKVRBCZL.js');
|
|
24
|
+
require('./chunk-NMU3VR5U.js');
|
|
25
|
+
require('./chunk-XDVT3GOM.js');
|
|
26
|
+
require('./chunk-7IWYO475.js');
|
|
27
|
+
require('./chunk-ZBWKWMSH.js');
|
|
28
|
+
require('./chunk-RRCVAVM7.js');
|
|
29
|
+
require('./chunk-QZKSG7XZ.js');
|
|
30
|
+
require('./chunk-5BEKJUOK.js');
|
|
31
|
+
require('./chunk-MTH7WIE3.js');
|
|
32
|
+
require('./chunk-B7BNWOG6.js');
|
|
33
|
+
require('./chunk-HOFXQYRF.js');
|
|
34
|
+
require('./chunk-NQH7E3F2.js');
|
|
35
|
+
require('./chunk-PEUWKPY4.js');
|
|
36
|
+
require('./chunk-ALJJRZNJ.js');
|
|
37
|
+
require('./chunk-XNYIZMNQ.js');
|
|
38
|
+
require('./chunk-DIAWYWT5.js');
|
|
39
|
+
require('./chunk-A7MWUG5H.js');
|
|
40
|
+
require('./chunk-OG64RBAC.js');
|
|
41
|
+
require('./chunk-COGTRVWW.js');
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
exports.DEEPLINE_NAMESPACE = _chunkL3U44YVOjs.DEEPLINE_NAMESPACE; exports.describeAnything = _chunkLDEJ4NUPjs.describeAnything; exports.findNamed = _chunkLDEJ4NUPjs.findNamed; exports.nothingNamed = _chunkLDEJ4NUPjs.nothingNamed; exports.registerDescribeCommand = _chunkLDEJ4NUPjs.registerDescribeCommand;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var _chunkEOKUL6XSjs = require('./chunk-EOKUL6XS.js');
|
|
4
|
+
require('./chunk-3DVJ2IPG.js');
|
|
5
5
|
require('./chunk-E4CABWXL.js');
|
|
6
6
|
require('./chunk-JKVRBCZL.js');
|
|
7
7
|
require('./chunk-NMU3VR5U.js');
|
|
8
8
|
require('./chunk-XDVT3GOM.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
12
|
-
require('./chunk-
|
|
13
|
-
require('./chunk-
|
|
11
|
+
var _chunkHOFXQYRFjs = require('./chunk-HOFXQYRF.js');
|
|
12
|
+
require('./chunk-NQH7E3F2.js');
|
|
13
|
+
require('./chunk-PEUWKPY4.js');
|
|
14
14
|
require('./chunk-ALJJRZNJ.js');
|
|
15
15
|
require('./chunk-XNYIZMNQ.js');
|
|
16
16
|
require('./chunk-DIAWYWT5.js');
|
|
17
|
-
require('./chunk-
|
|
17
|
+
require('./chunk-A7MWUG5H.js');
|
|
18
18
|
require('./chunk-OG64RBAC.js');
|
|
19
19
|
require('./chunk-COGTRVWW.js');
|
|
20
20
|
|
|
@@ -22,10 +22,10 @@ require('./chunk-COGTRVWW.js');
|
|
|
22
22
|
function registerExecutionsCommands(program) {
|
|
23
23
|
const executions = program.command("executions").description("Inspect and recover keyed tool executions.");
|
|
24
24
|
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) => {
|
|
25
|
-
const result = await new (0,
|
|
25
|
+
const result = await new (0, _chunkEOKUL6XSjs.DeeplineClient)().executions.getByKey(
|
|
26
26
|
options.idempotencyKey
|
|
27
27
|
);
|
|
28
|
-
|
|
28
|
+
_chunkHOFXQYRFjs.printCommandEnvelope.call(void 0, result, { json: true });
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-F6H74EFB.mjs";
|
|
4
|
+
import "./chunk-UHAKSLL2.mjs";
|
|
5
5
|
import "./chunk-L2VKAASU.mjs";
|
|
6
6
|
import "./chunk-FAG4DFUC.mjs";
|
|
7
7
|
import "./chunk-S3A4IXBQ.mjs";
|
|
8
8
|
import "./chunk-UBKA33KY.mjs";
|
|
9
9
|
import {
|
|
10
10
|
printCommandEnvelope
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-6CYRIFZ3.mjs";
|
|
12
|
+
import "./chunk-RSXOGXGX.mjs";
|
|
13
|
+
import "./chunk-IEQPOBTK.mjs";
|
|
14
14
|
import "./chunk-4QF2K7TM.mjs";
|
|
15
15
|
import "./chunk-DLIRSHV6.mjs";
|
|
16
16
|
import "./chunk-HBL4PM5Q.mjs";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-V27TVT7P.mjs";
|
|
18
18
|
import "./chunk-WZYKRD7T.mjs";
|
|
19
19
|
import "./chunk-KRD6H754.mjs";
|
|
20
20
|
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
collectLocalEnvInfo,
|
|
3
3
|
getAuthedHttpClient,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-6CYRIFZ3.mjs";
|
|
6
|
+
import "./chunk-RSXOGXGX.mjs";
|
|
7
7
|
import {
|
|
8
8
|
agentSessionIdFromEnvironment
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IEQPOBTK.mjs";
|
|
10
10
|
import "./chunk-4QF2K7TM.mjs";
|
|
11
11
|
import "./chunk-DLIRSHV6.mjs";
|
|
12
12
|
import "./chunk-HBL4PM5Q.mjs";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-V27TVT7P.mjs";
|
|
14
14
|
import "./chunk-WZYKRD7T.mjs";
|
|
15
15
|
import "./chunk-KRD6H754.mjs";
|
|
16
16
|
|