deepline 0.3.321 → 0.3.323
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/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +0 -18
- package/dist/cli/{auth-OXD3QIJW.mjs → auth-4TYSEEPE.mjs} +4 -4
- package/dist/cli/auth-KWPQ4JVV.js +31 -0
- package/dist/cli/{billing-6YZHF6FJ.js → billing-HYX3OWXB.js} +70 -70
- package/dist/cli/{billing-XT3T2V6Z.mjs → billing-QDER3JLM.mjs} +4 -4
- package/dist/cli/{chunk-MMIICHOJ.mjs → chunk-2HYJDTQT.mjs} +2 -2
- package/dist/cli/{chunk-4QF3GTLM.mjs → chunk-3I4KDUKY.mjs} +3 -3
- package/dist/cli/{chunk-P5BBV56E.mjs → chunk-3OTHDXTV.mjs} +1 -1
- package/dist/cli/{chunk-LXVHOTPH.mjs → chunk-BC3E7GEW.mjs} +5 -5
- package/dist/cli/{chunk-23LWIJU5.js → chunk-BEG62AQW.js} +1 -1
- package/dist/cli/{chunk-SIU6LJAM.mjs → chunk-CXJND6CJ.mjs} +2 -2
- package/dist/cli/{chunk-GNXG6BQI.js → chunk-EWFKMQFO.js} +50 -50
- package/dist/cli/{chunk-7V6BVNXM.mjs → chunk-FGD2M25K.mjs} +1 -1
- package/dist/cli/{chunk-PVSES2RR.js → chunk-FNKBVKQX.js} +15 -15
- package/dist/cli/{chunk-WRS3ZBVF.js → chunk-GUPKB4UE.js} +2 -2
- package/dist/cli/{chunk-Q7I47LE7.mjs → chunk-HJN5KR42.mjs} +1 -1
- package/dist/cli/{chunk-FBJSFMZM.js → chunk-HSZD4VBE.js} +4 -4
- package/dist/cli/{chunk-KN5AMK2N.js → chunk-HUQVA5MR.js} +48 -48
- package/dist/cli/{chunk-KZ4S6URN.js → chunk-I7TAO4XH.js} +6 -6
- package/dist/cli/{chunk-TFNUR4VK.mjs → chunk-JGTV5QNG.mjs} +6 -6
- package/dist/cli/{chunk-ZEO3FTS5.js → chunk-KLIHE4X5.js} +6 -6
- package/dist/cli/{chunk-KLY2SA5G.js → chunk-LXUY7LRE.js} +60 -60
- package/dist/cli/{chunk-57VCSLVP.js → chunk-M2WAAIM4.js} +6 -6
- package/dist/cli/{chunk-VF3SOXGE.js → chunk-OQPG3ND3.js} +26 -26
- package/dist/cli/{chunk-QVH4OR5R.mjs → chunk-UE55ECMI.mjs} +1 -1
- package/dist/cli/{chunk-PVHEPQR6.js → chunk-UMUH2FVZ.js} +6 -6
- package/dist/cli/{chunk-SLAJLTYQ.mjs → chunk-VN433ENM.mjs} +2 -2
- package/dist/cli/{chunk-T6BFDDO7.mjs → chunk-W2V624T6.mjs} +1 -1
- package/dist/cli/{chunk-N7FB2EYO.js → chunk-WOG5IKUF.js} +220 -220
- package/dist/cli/{chunk-GCKI434X.mjs → chunk-YY6EASRE.mjs} +4 -4
- package/dist/cli/{chunk-Y2O2LTUU.mjs → chunk-ZF6WOSMW.mjs} +1 -1
- package/dist/cli/{client-GEADN6HT.mjs → client-CEX7EHUM.mjs} +3 -3
- package/dist/cli/client-YMQ2QFV7.js +20 -0
- package/dist/cli/{csv-72X7YZWZ.js → csv-GBPRJ6YU.js} +12 -12
- package/dist/cli/{csv-47ALCDUF.mjs → csv-LR5KWOIK.mjs} +3 -3
- package/dist/cli/{db-LOC34Z5E.mjs → db-4BMCUU34.mjs} +4 -4
- package/dist/cli/{db-22ZO4JUX.js → db-VFKXAHQA.js} +20 -20
- package/dist/cli/{describe-TWBIOBVP.js → describe-BYWGWALB.js} +15 -15
- package/dist/cli/{describe-4W6RA7DZ.mjs → describe-VTLU5KX5.mjs} +8 -8
- package/dist/cli/{executions-7RGT2PNM.js → executions-DU7I6YEU.js} +6 -6
- package/dist/cli/{executions-MVY4577L.mjs → executions-NGREVSY6.mjs} +4 -4
- package/dist/cli/{feedback-IFQH4TNG.mjs → feedback-GUY2CCGF.mjs} +3 -3
- package/dist/cli/{feedback-TQMC2VPS.js → feedback-PHPAWVHC.js} +6 -6
- package/dist/cli/{git-F7G4NWNH.mjs → git-22YV3DFJ.mjs} +4 -4
- package/dist/cli/git-W5NEI2BP.js +23 -0
- package/dist/cli/index.js +75 -75
- package/dist/cli/index.mjs +31 -31
- package/dist/cli/{legacy-noops-T6TPBUI7.js → legacy-noops-V72GCF5R.js} +7 -7
- package/dist/cli/{legacy-noops-DNGJQ2LB.mjs → legacy-noops-YEQDVI6U.mjs} +4 -4
- package/dist/cli/{monitors-7ZCIBU3A.js → monitors-MVJBQDQG.js} +85 -85
- package/dist/cli/{monitors-6LOEYFPU.mjs → monitors-QOCAMBRV.mjs} +4 -4
- package/dist/cli/{org-QNOMTNYG.mjs → org-A53XV2UQ.mjs} +4 -4
- package/dist/cli/{org-IY5J5UV2.js → org-DMIOMJK6.js} +60 -60
- package/dist/cli/{play-DYYJFFCL.mjs → play-73L74CUW.mjs} +7 -7
- package/dist/cli/play-NBFCGFVC.js +152 -0
- package/dist/cli/{providers-Y54CW33F.mjs → providers-6LDD5X5G.mjs} +4 -4
- package/dist/cli/{providers-MLRLAH37.js → providers-PEOAZYM6.js} +7 -7
- package/dist/cli/{quickstart-EIWX6I5X.js → quickstart-33IPDK2I.js} +5 -5
- package/dist/cli/{quickstart-K2FFBJEQ.mjs → quickstart-PXMC66UG.mjs} +3 -3
- package/dist/cli/{search-2YJQBUPV.mjs → search-FJEJDKPA.mjs} +5 -5
- package/dist/cli/search-FPUK2H6Y.js +26 -0
- package/dist/cli/{secrets-5MY6G5EO.js → secrets-3SCAG3T7.js} +13 -13
- package/dist/cli/{secrets-BBPVDWHE.mjs → secrets-Q3ZWHE5S.mjs} +4 -4
- package/dist/cli/{sessions-LYULGDRK.js → sessions-QJB4LSNZ.js} +5 -5
- package/dist/cli/{sessions-SKSMKVXC.mjs → sessions-RY3SCVN7.mjs} +4 -4
- package/dist/cli/{settings-HTAZHDQ3.js → settings-DLAE6POM.js} +74 -74
- package/dist/cli/{settings-CIV5JY2A.mjs → settings-VTYJKMI6.mjs} +7 -7
- package/dist/cli/{setup-EWRGRIO2.js → setup-LM2VWSFE.js} +41 -41
- package/dist/cli/{setup-UJDC3MCT.mjs → setup-UYQ4V4GP.mjs} +6 -6
- package/dist/cli/{skills-C7YBNTJW.mjs → skills-2OKHLQF7.mjs} +4 -4
- package/dist/cli/skills-5NH6JX5H.js +28 -0
- package/dist/cli/{tools-LHIQZLYY.mjs → tools-F5RYANCG.mjs} +6 -6
- package/dist/cli/tools-ZPGDY3I2.js +38 -0
- package/dist/cli/{update-G5SWXA67.mjs → update-5FDHGSNE.mjs} +6 -6
- package/dist/cli/update-W5KBXMKC.js +28 -0
- package/dist/cli/{workflow-7HKDO6QM.js → workflow-EQMKPCUV.js} +15 -15
- package/dist/cli/{workflow-TJOJJJT5.mjs → workflow-TWQH53ZO.mjs} +5 -5
- package/dist/index.js +6 -6
- package/dist/index.mjs +3 -3
- package/dist/install-integrity.json +74 -74
- 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/viewer/viewer.js +20 -3
- package/package.json +1 -1
- package/dist/cli/auth-AF2MEC7K.js +0 -31
- package/dist/cli/client-LXTQ44XR.js +0 -20
- package/dist/cli/git-ADCE7DM6.js +0 -23
- package/dist/cli/play-EMBNMGQ6.js +0 -152
- package/dist/cli/search-7EADPPFV.js +0 -26
- package/dist/cli/skills-6BXDE3J6.js +0 -28
- package/dist/cli/tools-VYQ34FFN.js +0 -38
- package/dist/cli/update-4RZHBEJL.js +0 -28
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
npmSupportsAllowScripts,
|
|
3
3
|
readNpmVersion
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HJN5KR42.mjs";
|
|
5
5
|
import {
|
|
6
6
|
resolveShellSpawn,
|
|
7
7
|
runSkillsCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-2HYJDTQT.mjs";
|
|
9
9
|
import {
|
|
10
10
|
printCommandEnvelope
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3OTHDXTV.mjs";
|
|
12
12
|
import {
|
|
13
13
|
autoDetectBaseUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-W2V624T6.mjs";
|
|
15
15
|
|
|
16
16
|
// src/cli/commands/update.ts
|
|
17
17
|
import { spawn, spawnSync } from "child_process";
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
MONITOR_JOB_PHASES,
|
|
4
4
|
MONITOR_JOB_RECONCILIATION_STATES,
|
|
5
5
|
MONITOR_JOB_STATES
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FGD2M25K.mjs";
|
|
7
7
|
import "./chunk-CBVIJSHF.mjs";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-W2V624T6.mjs";
|
|
9
9
|
import "./chunk-DLIRSHV6.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-UE55ECMI.mjs";
|
|
11
11
|
import "./chunk-6IKARAYD.mjs";
|
|
12
12
|
import "./chunk-NXGCO4JB.mjs";
|
|
13
13
|
import "./chunk-WZYKRD7T.mjs";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkUMUH2FVZjs = require('./chunk-UMUH2FVZ.js');
|
|
7
|
+
require('./chunk-LA46MMTL.js');
|
|
8
|
+
require('./chunk-HSZD4VBE.js');
|
|
9
|
+
require('./chunk-XNYIZMNQ.js');
|
|
10
|
+
require('./chunk-BEG62AQW.js');
|
|
11
|
+
require('./chunk-S6R3OX7B.js');
|
|
12
|
+
require('./chunk-7P5AA3SN.js');
|
|
13
|
+
require('./chunk-OG64RBAC.js');
|
|
14
|
+
require('./chunk-COGTRVWW.js');
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
exports.DeeplineClient = _chunkUMUH2FVZjs.DeeplineClient; exports.MONITOR_JOB_PHASES = _chunkUMUH2FVZjs.MONITOR_JOB_PHASES; exports.MONITOR_JOB_RECONCILIATION_STATES = _chunkUMUH2FVZjs.MONITOR_JOB_RECONCILIATION_STATES; exports.MONITOR_JOB_STATES = _chunkUMUH2FVZjs.MONITOR_JOB_STATES;
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
7
|
+
var _chunkM2WAAIM4js = require('./chunk-M2WAAIM4.js');
|
|
8
|
+
require('./chunk-HSZD4VBE.js');
|
|
9
9
|
require('./chunk-XNYIZMNQ.js');
|
|
10
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-BEG62AQW.js');
|
|
11
11
|
require('./chunk-7P5AA3SN.js');
|
|
12
12
|
require('./chunk-OG64RBAC.js');
|
|
13
13
|
require('./chunk-COGTRVWW.js');
|
|
@@ -126,7 +126,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
|
|
|
126
126
|
column.length,
|
|
127
127
|
...rows.map((row) => {
|
|
128
128
|
const value = _nullishCoalesce(row[column], () => ( ""));
|
|
129
|
-
return (verbose ? value :
|
|
129
|
+
return (verbose ? value : _chunkM2WAAIM4js.clip.call(void 0, value, 42)).length;
|
|
130
130
|
})
|
|
131
131
|
)
|
|
132
132
|
])
|
|
@@ -136,7 +136,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
|
|
|
136
136
|
const body = rows.map(
|
|
137
137
|
(row) => columns.map((column) => {
|
|
138
138
|
const raw = _nullishCoalesce(row[column], () => ( ""));
|
|
139
|
-
const display = verbose ? raw :
|
|
139
|
+
const display = verbose ? raw : _chunkM2WAAIM4js.clip.call(void 0, raw, 42);
|
|
140
140
|
return display.padEnd(widths[column]);
|
|
141
141
|
}).join(" | ")
|
|
142
142
|
);
|
|
@@ -156,7 +156,7 @@ async function handleCsvShow(path, options, command) {
|
|
|
156
156
|
{ exitCode: 2 }
|
|
157
157
|
);
|
|
158
158
|
}
|
|
159
|
-
const allRows =
|
|
159
|
+
const allRows = _chunkM2WAAIM4js.readCsvRows.call(void 0, csvPath);
|
|
160
160
|
const [rowStart, rowEnd] = parseRowRange(options.rows);
|
|
161
161
|
const rows = options.summary && options.rows === void 0 ? allRows : selectRows(allRows, rowStart, rowEnd);
|
|
162
162
|
const { rows: selected, columns } = selectColumns(
|
|
@@ -169,7 +169,7 @@ async function handleCsvShow(path, options, command) {
|
|
|
169
169
|
if (options.summary) {
|
|
170
170
|
const summaries = summarizeColumns(selected, columns);
|
|
171
171
|
if (format === "json") {
|
|
172
|
-
|
|
172
|
+
_chunkM2WAAIM4js.printJson.call(void 0, {
|
|
173
173
|
rows: summaries,
|
|
174
174
|
total_rows: selected.length,
|
|
175
175
|
source_total_rows: allRows.length
|
|
@@ -178,7 +178,7 @@ async function handleCsvShow(path, options, command) {
|
|
|
178
178
|
}
|
|
179
179
|
const displayRows = summaryDisplayRows(summaries);
|
|
180
180
|
if (format === "csv") {
|
|
181
|
-
process.stdout.write(
|
|
181
|
+
process.stdout.write(_chunkM2WAAIM4js.csvStringFromRows.call(void 0, displayRows));
|
|
182
182
|
return;
|
|
183
183
|
}
|
|
184
184
|
process.stdout.write(
|
|
@@ -193,7 +193,7 @@ async function handleCsvShow(path, options, command) {
|
|
|
193
193
|
return;
|
|
194
194
|
}
|
|
195
195
|
if (format === "json") {
|
|
196
|
-
|
|
196
|
+
_chunkM2WAAIM4js.printJson.call(void 0, {
|
|
197
197
|
rows: selected.map((row, index) => ({ __row: rowStart + index, ...row }))
|
|
198
198
|
});
|
|
199
199
|
return;
|
|
@@ -436,7 +436,7 @@ async function handleCsvRenderStart(options) {
|
|
|
436
436
|
if (log) {
|
|
437
437
|
detail = `
|
|
438
438
|
CSV render log:
|
|
439
|
-
${
|
|
439
|
+
${_chunkM2WAAIM4js.clip.call(void 0, log, 2e3)}`;
|
|
440
440
|
}
|
|
441
441
|
} catch (e7) {
|
|
442
442
|
}
|
|
@@ -487,7 +487,7 @@ async function handleCsvRenderStatus(options) {
|
|
|
487
487
|
if (payload.pid) lines.push(`Render PID: ${payload.pid}`);
|
|
488
488
|
if (payload.url) lines.push(`Render URL: ${payload.url}`);
|
|
489
489
|
lines.push(`Render Health: ${payload.health_status}`);
|
|
490
|
-
|
|
490
|
+
_chunkM2WAAIM4js.printCommandEnvelope.call(void 0, payload, {
|
|
491
491
|
json: options.json,
|
|
492
492
|
text: `${lines.join("\n")}
|
|
493
493
|
`
|
|
@@ -523,7 +523,7 @@ async function handleCsvRenderStop(options) {
|
|
|
523
523
|
};
|
|
524
524
|
const text = stopped.length > 0 ? `Stopped CSV render process(es): ${stopped.join(" ")}
|
|
525
525
|
` : "No running CSV render process found.\n";
|
|
526
|
-
|
|
526
|
+
_chunkM2WAAIM4js.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
|
|
527
527
|
}
|
|
528
528
|
async function handleCsvRender(action, options) {
|
|
529
529
|
const normalized = _nullishCoalesce(action, () => ( "start"));
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
printCommandEnvelope,
|
|
5
5
|
printJson,
|
|
6
6
|
readCsvRows
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-3OTHDXTV.mjs";
|
|
8
|
+
import "./chunk-W2V624T6.mjs";
|
|
9
9
|
import "./chunk-DLIRSHV6.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-UE55ECMI.mjs";
|
|
11
11
|
import "./chunk-NXGCO4JB.mjs";
|
|
12
12
|
import "./chunk-WZYKRD7T.mjs";
|
|
13
13
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FGD2M25K.mjs";
|
|
4
4
|
import "./chunk-CBVIJSHF.mjs";
|
|
5
5
|
import {
|
|
6
6
|
argsWantJson,
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
markdownTableFromRows,
|
|
11
11
|
printCommandEnvelope,
|
|
12
12
|
recordRows
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-3OTHDXTV.mjs";
|
|
14
|
+
import "./chunk-W2V624T6.mjs";
|
|
15
15
|
import "./chunk-DLIRSHV6.mjs";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-UE55ECMI.mjs";
|
|
17
17
|
import "./chunk-6IKARAYD.mjs";
|
|
18
18
|
import {
|
|
19
19
|
DeeplineError
|
|
@@ -1,6 +1,6 @@
|
|
|
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
|
-
var
|
|
3
|
+
var _chunkUMUH2FVZjs = require('./chunk-UMUH2FVZ.js');
|
|
4
4
|
require('./chunk-LA46MMTL.js');
|
|
5
5
|
|
|
6
6
|
|
|
@@ -10,10 +10,10 @@ require('./chunk-LA46MMTL.js');
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
14
|
-
require('./chunk-
|
|
13
|
+
var _chunkM2WAAIM4js = require('./chunk-M2WAAIM4.js');
|
|
14
|
+
require('./chunk-HSZD4VBE.js');
|
|
15
15
|
require('./chunk-XNYIZMNQ.js');
|
|
16
|
-
require('./chunk-
|
|
16
|
+
require('./chunk-BEG62AQW.js');
|
|
17
17
|
require('./chunk-S6R3OX7B.js');
|
|
18
18
|
|
|
19
19
|
|
|
@@ -48,8 +48,8 @@ function formatCell(value) {
|
|
|
48
48
|
return text.length > 80 ? `${text.slice(0, 77)}...` : text;
|
|
49
49
|
}
|
|
50
50
|
function tableLines(result) {
|
|
51
|
-
const rows =
|
|
52
|
-
const responseColumns =
|
|
51
|
+
const rows = _chunkM2WAAIM4js.dataExportRows.call(void 0, customerDbRows(result));
|
|
52
|
+
const responseColumns = _chunkM2WAAIM4js.dataExportColumns.call(void 0,
|
|
53
53
|
rows,
|
|
54
54
|
customerDbColumnNames(result)
|
|
55
55
|
);
|
|
@@ -95,7 +95,7 @@ function tableLines(result) {
|
|
|
95
95
|
return lines;
|
|
96
96
|
}
|
|
97
97
|
function customerDbRows(result) {
|
|
98
|
-
return
|
|
98
|
+
return _chunkM2WAAIM4js.recordRows.call(void 0, result.rows);
|
|
99
99
|
}
|
|
100
100
|
function customerDbColumnNames(result) {
|
|
101
101
|
return result.columns.map((column) => column.name).filter(Boolean);
|
|
@@ -180,7 +180,7 @@ function writeCustomerDbCsv(result, outPath) {
|
|
|
180
180
|
const resolved = _path.resolve.call(void 0, outPath);
|
|
181
181
|
_fs.writeFileSync.call(void 0,
|
|
182
182
|
resolved,
|
|
183
|
-
|
|
183
|
+
_chunkM2WAAIM4js.dataExportCsvString.call(void 0, customerDbRows(result), customerDbColumnNames(result)),
|
|
184
184
|
"utf-8"
|
|
185
185
|
);
|
|
186
186
|
return resolved;
|
|
@@ -244,9 +244,9 @@ async function handleDbQuery(args) {
|
|
|
244
244
|
console.error("--out requires a path.");
|
|
245
245
|
return 1;
|
|
246
246
|
}
|
|
247
|
-
const jsonOutput =
|
|
247
|
+
const jsonOutput = _chunkM2WAAIM4js.argsWantJson.call(void 0, args);
|
|
248
248
|
const explicitJsonOutput = args.includes("--json");
|
|
249
|
-
const client = new (0,
|
|
249
|
+
const client = new (0, _chunkUMUH2FVZjs.DeeplineClient)();
|
|
250
250
|
let result;
|
|
251
251
|
try {
|
|
252
252
|
result = await client.db.query({ sql, maxRows });
|
|
@@ -263,7 +263,7 @@ async function handleDbQuery(args) {
|
|
|
263
263
|
if (format === "csv") {
|
|
264
264
|
if (outPath) {
|
|
265
265
|
const exportedPath = writeCustomerDbCsv(result, outPath);
|
|
266
|
-
|
|
266
|
+
_chunkM2WAAIM4js.printCommandEnvelope.call(void 0,
|
|
267
267
|
dbQueryExportEnvelope({
|
|
268
268
|
result,
|
|
269
269
|
format,
|
|
@@ -278,7 +278,7 @@ async function handleDbQuery(args) {
|
|
|
278
278
|
);
|
|
279
279
|
return 0;
|
|
280
280
|
}
|
|
281
|
-
|
|
281
|
+
_chunkM2WAAIM4js.printCommandEnvelope.call(void 0,
|
|
282
282
|
dbQueryExportEnvelope({
|
|
283
283
|
result,
|
|
284
284
|
format,
|
|
@@ -287,7 +287,7 @@ async function handleDbQuery(args) {
|
|
|
287
287
|
}),
|
|
288
288
|
{
|
|
289
289
|
json: explicitJsonOutput,
|
|
290
|
-
text:
|
|
290
|
+
text: _chunkM2WAAIM4js.dataExportCsvString.call(void 0,
|
|
291
291
|
customerDbRows(result),
|
|
292
292
|
customerDbColumnNames(result)
|
|
293
293
|
)
|
|
@@ -296,14 +296,14 @@ async function handleDbQuery(args) {
|
|
|
296
296
|
return 0;
|
|
297
297
|
}
|
|
298
298
|
if (format === "markdown") {
|
|
299
|
-
const content =
|
|
299
|
+
const content = _chunkM2WAAIM4js.markdownTableFromRows.call(void 0,
|
|
300
300
|
customerDbRows(result),
|
|
301
301
|
customerDbColumnNames(result)
|
|
302
302
|
);
|
|
303
303
|
if (outPath) {
|
|
304
304
|
const exportedPath = _path.resolve.call(void 0, outPath);
|
|
305
305
|
_fs.writeFileSync.call(void 0, exportedPath, content, "utf-8");
|
|
306
|
-
|
|
306
|
+
_chunkM2WAAIM4js.printCommandEnvelope.call(void 0,
|
|
307
307
|
dbQueryExportEnvelope({
|
|
308
308
|
result,
|
|
309
309
|
format,
|
|
@@ -318,7 +318,7 @@ async function handleDbQuery(args) {
|
|
|
318
318
|
);
|
|
319
319
|
return 0;
|
|
320
320
|
}
|
|
321
|
-
|
|
321
|
+
_chunkM2WAAIM4js.printCommandEnvelope.call(void 0,
|
|
322
322
|
dbQueryExportEnvelope({
|
|
323
323
|
result,
|
|
324
324
|
format,
|
|
@@ -332,7 +332,7 @@ async function handleDbQuery(args) {
|
|
|
332
332
|
);
|
|
333
333
|
return 0;
|
|
334
334
|
}
|
|
335
|
-
|
|
335
|
+
_chunkM2WAAIM4js.printCommandEnvelope.call(void 0,
|
|
336
336
|
{
|
|
337
337
|
...result,
|
|
338
338
|
next: { toolEquivalent: toolCommand },
|
|
@@ -350,8 +350,8 @@ async function handleDbQuery(args) {
|
|
|
350
350
|
async function handleDbRepair(args) {
|
|
351
351
|
const providerIndex = args.indexOf("--provider");
|
|
352
352
|
const provider = providerIndex >= 0 ? _optionalChain([args, 'access', _12 => _12[providerIndex + 1], 'optionalAccess', _13 => _13.trim, 'call', _14 => _14()]) : void 0;
|
|
353
|
-
const jsonOutput =
|
|
354
|
-
const client = new (0,
|
|
353
|
+
const jsonOutput = _chunkM2WAAIM4js.argsWantJson.call(void 0, args);
|
|
354
|
+
const client = new (0, _chunkUMUH2FVZjs.DeeplineClient)();
|
|
355
355
|
let result;
|
|
356
356
|
try {
|
|
357
357
|
result = await client.repairIngestionStorage(
|
|
@@ -367,7 +367,7 @@ async function handleDbRepair(args) {
|
|
|
367
367
|
console.error(errorMessage(error));
|
|
368
368
|
return 1;
|
|
369
369
|
}
|
|
370
|
-
|
|
370
|
+
_chunkM2WAAIM4js.printCommandEnvelope.call(void 0,
|
|
371
371
|
{
|
|
372
372
|
command: "db repair",
|
|
373
373
|
status: result.status,
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkEWFKMQFOjs = require('./chunk-EWFKMQFO.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkWOG5IKUFjs = require('./chunk-WOG5IKUF.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -15,23 +15,23 @@ var _chunkN7FB2EYOjs = require('./chunk-N7FB2EYO.js');
|
|
|
15
15
|
|
|
16
16
|
var _chunkXNL3SEMCjs = require('./chunk-XNL3SEMC.js');
|
|
17
17
|
require('./chunk-5JLQPVNX.js');
|
|
18
|
-
require('./chunk-
|
|
19
|
-
require('./chunk-
|
|
18
|
+
require('./chunk-I7TAO4XH.js');
|
|
19
|
+
require('./chunk-OQPG3ND3.js');
|
|
20
20
|
require('./chunk-NXDRDJ4K.js');
|
|
21
21
|
require('./chunk-SDK3ZA2C.js');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkUMUH2FVZjs = require('./chunk-UMUH2FVZ.js');
|
|
25
25
|
require('./chunk-LA46MMTL.js');
|
|
26
26
|
require('./chunk-QJBJZVG6.js');
|
|
27
27
|
require('./chunk-AYHLUHE5.js');
|
|
28
28
|
require('./chunk-WJYPBHTE.js');
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
32
|
-
require('./chunk-
|
|
31
|
+
var _chunkM2WAAIM4js = require('./chunk-M2WAAIM4.js');
|
|
32
|
+
require('./chunk-HSZD4VBE.js');
|
|
33
33
|
require('./chunk-XNYIZMNQ.js');
|
|
34
|
-
require('./chunk-
|
|
34
|
+
require('./chunk-BEG62AQW.js');
|
|
35
35
|
require('./chunk-XSEMQ4II.js');
|
|
36
36
|
require('./chunk-3KC45UVF.js');
|
|
37
37
|
require('./chunk-2HKPAZVJ.js');
|
|
@@ -64,11 +64,11 @@ async function found(lookup) {
|
|
|
64
64
|
async function describeAnything(name, options, onMissing) {
|
|
65
65
|
const maintainedOnly = options.prebuilt === true || options.tool === true;
|
|
66
66
|
const wants = (filter) => (!options.kinds || options.kinds.includes(filter)) && !(maintainedOnly && filter === "custom");
|
|
67
|
-
const client = new (0,
|
|
67
|
+
const client = new (0, _chunkUMUH2FVZjs.DeeplineClient)();
|
|
68
68
|
const play = async (reference) => {
|
|
69
69
|
const record2 = await client.describePlay(reference);
|
|
70
70
|
return {
|
|
71
|
-
described:
|
|
71
|
+
described: _chunkWOG5IKUFjs.describedPlay.call(void 0, record2),
|
|
72
72
|
record: { ...record2 },
|
|
73
73
|
schemas: {
|
|
74
74
|
inputSchema: _nullishCoalesce(record2.inputSchema, () => ( null)),
|
|
@@ -79,9 +79,9 @@ async function describeAnything(name, options, onMissing) {
|
|
|
79
79
|
const tool = async () => {
|
|
80
80
|
const record2 = await _asyncNullishCoalesce(options.fetchedTool, async () => ( await client.getTool(name)));
|
|
81
81
|
return {
|
|
82
|
-
described:
|
|
83
|
-
record:
|
|
84
|
-
schemas:
|
|
82
|
+
described: _chunkEWFKMQFOjs.describedTool.call(void 0, record2, name),
|
|
83
|
+
record: _chunkEWFKMQFOjs.toolMetadataJsonForDescribe.call(void 0, record2, name),
|
|
84
|
+
schemas: _chunkEWFKMQFOjs.publicToolSchemas.call(void 0, record2)
|
|
85
85
|
};
|
|
86
86
|
};
|
|
87
87
|
const sources = name.includes("/") ? [{ kinds: ["prebuilts", "custom"], find: () => play(name) }] : [
|
|
@@ -166,14 +166,14 @@ async function describeAnything(name, options, onMissing) {
|
|
|
166
166
|
` : text;
|
|
167
167
|
_fs.writeFileSync.call(void 0, path, content);
|
|
168
168
|
const bytes = Buffer.byteLength(content);
|
|
169
|
-
|
|
169
|
+
_chunkM2WAAIM4js.printCommandEnvelope.call(void 0,
|
|
170
170
|
{ path, bytes },
|
|
171
171
|
{ json, text: `Wrote ${path} (${bytes} bytes)
|
|
172
172
|
` }
|
|
173
173
|
);
|
|
174
174
|
return 0;
|
|
175
175
|
}
|
|
176
|
-
|
|
176
|
+
_chunkM2WAAIM4js.printCommandEnvelope.call(void 0, envelope, { json, text });
|
|
177
177
|
return 0;
|
|
178
178
|
}
|
|
179
179
|
function registerDescribeCommand(program) {
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
describedTool,
|
|
3
3
|
publicToolSchemas,
|
|
4
4
|
toolMetadataJsonForDescribe
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BC3E7GEW.mjs";
|
|
6
6
|
import {
|
|
7
7
|
describedPlay
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JGTV5QNG.mjs";
|
|
9
9
|
import {
|
|
10
10
|
SCHEMA_LINE_LIMIT,
|
|
11
11
|
addDescribeOptions,
|
|
@@ -15,23 +15,23 @@ import {
|
|
|
15
15
|
topLevelField
|
|
16
16
|
} from "./chunk-76VKBPOC.mjs";
|
|
17
17
|
import "./chunk-EDWJY6T4.mjs";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-3I4KDUKY.mjs";
|
|
19
|
+
import "./chunk-CXJND6CJ.mjs";
|
|
20
20
|
import "./chunk-MIMASXO4.mjs";
|
|
21
21
|
import "./chunk-OWJZUE3Y.mjs";
|
|
22
22
|
import {
|
|
23
23
|
DeeplineClient
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-FGD2M25K.mjs";
|
|
25
25
|
import "./chunk-CBVIJSHF.mjs";
|
|
26
26
|
import "./chunk-WXLOW623.mjs";
|
|
27
27
|
import "./chunk-UFS752TU.mjs";
|
|
28
28
|
import "./chunk-GAMFK2ZP.mjs";
|
|
29
29
|
import {
|
|
30
30
|
printCommandEnvelope
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-3OTHDXTV.mjs";
|
|
32
|
+
import "./chunk-W2V624T6.mjs";
|
|
33
33
|
import "./chunk-DLIRSHV6.mjs";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-UE55ECMI.mjs";
|
|
35
35
|
import "./chunk-7PZFGB7L.mjs";
|
|
36
36
|
import "./chunk-H7HIDGZ7.mjs";
|
|
37
37
|
import "./chunk-KP7W5NO6.mjs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkUMUH2FVZjs = require('./chunk-UMUH2FVZ.js');
|
|
4
4
|
require('./chunk-LA46MMTL.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
7
|
+
var _chunkM2WAAIM4js = require('./chunk-M2WAAIM4.js');
|
|
8
|
+
require('./chunk-HSZD4VBE.js');
|
|
9
9
|
require('./chunk-XNYIZMNQ.js');
|
|
10
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-BEG62AQW.js');
|
|
11
11
|
require('./chunk-S6R3OX7B.js');
|
|
12
12
|
require('./chunk-7P5AA3SN.js');
|
|
13
13
|
require('./chunk-OG64RBAC.js');
|
|
@@ -17,10 +17,10 @@ require('./chunk-COGTRVWW.js');
|
|
|
17
17
|
function registerExecutionsCommands(program) {
|
|
18
18
|
const executions = program.command("executions").description("Inspect and recover keyed tool executions.");
|
|
19
19
|
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) => {
|
|
20
|
-
const result = await new (0,
|
|
20
|
+
const result = await new (0, _chunkUMUH2FVZjs.DeeplineClient)().executions.getByKey(
|
|
21
21
|
options.idempotencyKey
|
|
22
22
|
);
|
|
23
|
-
|
|
23
|
+
_chunkM2WAAIM4js.printCommandEnvelope.call(void 0, result, { json: true });
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FGD2M25K.mjs";
|
|
4
4
|
import "./chunk-CBVIJSHF.mjs";
|
|
5
5
|
import {
|
|
6
6
|
printCommandEnvelope
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-3OTHDXTV.mjs";
|
|
8
|
+
import "./chunk-W2V624T6.mjs";
|
|
9
9
|
import "./chunk-DLIRSHV6.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-UE55ECMI.mjs";
|
|
11
11
|
import "./chunk-6IKARAYD.mjs";
|
|
12
12
|
import "./chunk-NXGCO4JB.mjs";
|
|
13
13
|
import "./chunk-WZYKRD7T.mjs";
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
collectLocalEnvInfo,
|
|
3
3
|
getAuthedHttpClient,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-3OTHDXTV.mjs";
|
|
6
|
+
import "./chunk-W2V624T6.mjs";
|
|
7
7
|
import "./chunk-DLIRSHV6.mjs";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-UE55ECMI.mjs";
|
|
9
9
|
import "./chunk-NXGCO4JB.mjs";
|
|
10
10
|
import "./chunk-WZYKRD7T.mjs";
|
|
11
11
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
5
|
+
var _chunkM2WAAIM4js = require('./chunk-M2WAAIM4.js');
|
|
6
|
+
require('./chunk-HSZD4VBE.js');
|
|
7
7
|
require('./chunk-XNYIZMNQ.js');
|
|
8
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-BEG62AQW.js');
|
|
9
9
|
require('./chunk-7P5AA3SN.js');
|
|
10
10
|
require('./chunk-OG64RBAC.js');
|
|
11
11
|
require('./chunk-COGTRVWW.js');
|
|
@@ -15,16 +15,16 @@ var _commander = require('commander');
|
|
|
15
15
|
var _fs = require('fs');
|
|
16
16
|
async function handleFeedback(text, options) {
|
|
17
17
|
const message = resolveFeedbackText(text, options.file);
|
|
18
|
-
const { http } =
|
|
18
|
+
const { http } = _chunkM2WAAIM4js.getAuthedHttpClient.call(void 0, );
|
|
19
19
|
const response = await http.post("/api/v2/cli/feedback", {
|
|
20
20
|
text: message,
|
|
21
21
|
requested: options.requested === true,
|
|
22
|
-
environment:
|
|
22
|
+
environment: _chunkM2WAAIM4js.collectLocalEnvInfo.call(void 0, ),
|
|
23
23
|
...options.command ? { command: options.command } : {},
|
|
24
24
|
...options.payload ? { payload: options.payload } : {},
|
|
25
25
|
...options.errorOutcome ? { error_outcome: options.errorOutcome } : {}
|
|
26
26
|
});
|
|
27
|
-
|
|
27
|
+
_chunkM2WAAIM4js.printCommandEnvelope.call(void 0,
|
|
28
28
|
{
|
|
29
29
|
...response,
|
|
30
30
|
render: {
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
renderDeployment,
|
|
6
6
|
renderDeploymentMonitorLines,
|
|
7
7
|
renderDeploymentPlayLines
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-CXJND6CJ.mjs";
|
|
9
|
+
import "./chunk-3OTHDXTV.mjs";
|
|
10
|
+
import "./chunk-W2V624T6.mjs";
|
|
11
11
|
import "./chunk-DLIRSHV6.mjs";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-UE55ECMI.mjs";
|
|
13
13
|
import "./chunk-NXGCO4JB.mjs";
|
|
14
14
|
import "./chunk-WZYKRD7T.mjs";
|
|
15
15
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkOQPG3ND3js = require('./chunk-OQPG3ND3.js');
|
|
9
|
+
require('./chunk-M2WAAIM4.js');
|
|
10
|
+
require('./chunk-HSZD4VBE.js');
|
|
11
|
+
require('./chunk-XNYIZMNQ.js');
|
|
12
|
+
require('./chunk-BEG62AQW.js');
|
|
13
|
+
require('./chunk-7P5AA3SN.js');
|
|
14
|
+
require('./chunk-OG64RBAC.js');
|
|
15
|
+
require('./chunk-COGTRVWW.js');
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
exports.handleDeploymentGet = _chunkOQPG3ND3js.handleDeploymentGet; exports.handleDeploymentsList = _chunkOQPG3ND3js.handleDeploymentsList; exports.registerGitCommands = _chunkOQPG3ND3js.registerGitCommands; exports.renderDeployment = _chunkOQPG3ND3js.renderDeployment; exports.renderDeploymentMonitorLines = _chunkOQPG3ND3js.renderDeploymentMonitorLines; exports.renderDeploymentPlayLines = _chunkOQPG3ND3js.renderDeploymentPlayLines;
|