deepline 0.3.399 → 0.3.400
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/play-runtime/scheduler-backends/worker-resource-metrics.ts +57 -46
- package/dist/cli/{auth-QHVIMKL3.mjs → auth-JL76JRJP.mjs} +4 -4
- package/dist/cli/auth-TNYZVC73.js +40 -0
- package/dist/cli/{billing-O2HRFIPG.js → billing-BPYI4EUH.js} +73 -73
- package/dist/cli/{billing-3V4GX5FX.mjs → billing-C6QEIDES.mjs} +4 -4
- package/dist/cli/{chunk-BX7ZF5Z7.js → chunk-2H37YDDG.js} +8 -8
- package/dist/cli/{chunk-CVTH2VUI.js → chunk-4OPBTEVW.js} +6 -6
- package/dist/cli/{chunk-XUHQWWJW.mjs → chunk-6PRUVCMW.mjs} +1 -1
- package/dist/cli/{chunk-YADFPKH2.js → chunk-6SRV2NM3.js} +65 -65
- package/dist/cli/{chunk-ZPDNT7LJ.mjs → chunk-BENKBQ2J.mjs} +4 -4
- package/dist/cli/{chunk-ZNWNAC7E.mjs → chunk-BRMEK6KG.mjs} +3 -3
- package/dist/cli/{chunk-AVTJXBXL.mjs → chunk-CKIELGYT.mjs} +5 -5
- package/dist/cli/{chunk-VV6EPCDS.mjs → chunk-GCIMQKW4.mjs} +2 -2
- package/dist/cli/{chunk-T523SXCK.mjs → chunk-GMMJMFCQ.mjs} +2 -2
- package/dist/cli/{chunk-PQB2PTMA.mjs → chunk-GYJSZ6J6.mjs} +2 -2
- package/dist/cli/{chunk-Y3MRTY2F.mjs → chunk-H33BWG7S.mjs} +1 -1
- package/dist/cli/{chunk-IB6R2SZJ.js → chunk-H7Q6RK5Y.js} +44 -44
- package/dist/cli/{chunk-BZZX56J2.js → chunk-IDXATBJB.js} +6 -6
- package/dist/cli/{chunk-2S44J5UG.mjs → chunk-III4UASP.mjs} +1 -1
- package/dist/cli/{chunk-GT4NODCJ.js → chunk-JIDNO3FI.js} +1 -1
- package/dist/cli/{chunk-ZKKXQQWL.js → chunk-O4JZTJEP.js} +8 -8
- package/dist/cli/{chunk-CI4Q6UP4.js → chunk-ORQE3XBG.js} +50 -50
- package/dist/cli/{chunk-A3T7YPEP.js → chunk-OVYVMPEC.js} +4 -4
- package/dist/cli/{chunk-EMNKA5WK.js → chunk-PF3N65JD.js} +2 -2
- package/dist/cli/{chunk-EFEMS43P.js → chunk-QUCAOIN7.js} +26 -26
- package/dist/cli/{chunk-XES27RSC.mjs → chunk-QZDHNVKF.mjs} +1 -1
- package/dist/cli/{chunk-HNHFC3PM.js → chunk-USSWEZNP.js} +15 -15
- package/dist/cli/{chunk-DHLYCZWS.mjs → chunk-UYIRTEU6.mjs} +3 -3
- package/dist/cli/{chunk-CCH3ZVR5.mjs → chunk-V3T4CHXI.mjs} +1 -1
- package/dist/cli/{csv-Z5TYV7XE.mjs → csv-FLNTE5CW.mjs} +3 -3
- package/dist/cli/{csv-IDABZWW3.js → csv-NK4QWZNT.js} +12 -12
- package/dist/cli/{db-23MIKNVU.mjs → db-CAGTZIVN.mjs} +4 -4
- package/dist/cli/{db-4KKNX3Y2.js → db-DU7J3CEM.js} +25 -25
- package/dist/cli/{describe-RKZKZ7UR.js → describe-IWQW7OLG.js} +10 -10
- package/dist/cli/{describe-XNGCKRPN.mjs → describe-YJHDN5IE.mjs} +6 -6
- package/dist/cli/{executions-XUKNAELQ.mjs → executions-CDFAK267.mjs} +4 -4
- package/dist/cli/{executions-NTXHTAM6.js → executions-SUKU6I7V.js} +6 -6
- package/dist/cli/{feedback-LWJSTHZ2.mjs → feedback-EQKQZTC4.mjs} +3 -3
- package/dist/cli/{feedback-6INY66DC.js → feedback-SRPRMYAN.js} +7 -7
- package/dist/cli/git-IRCN2ZZY.js +24 -0
- package/dist/cli/{git-CRKOKS7B.mjs → git-M555IN55.mjs} +4 -4
- package/dist/cli/index.js +89 -89
- package/dist/cli/index.mjs +32 -32
- package/dist/cli/{legacy-noops-VVQQ7VUO.mjs → legacy-noops-LRNAWLDN.mjs} +4 -4
- package/dist/cli/{legacy-noops-LPTMKYC7.js → legacy-noops-M4X6PQFZ.js} +7 -7
- package/dist/cli/{monitors-HG6KO4XZ.js → monitors-AOXY55KT.js} +84 -84
- package/dist/cli/{monitors-GI2GTZSG.mjs → monitors-IKRE2U3J.mjs} +4 -4
- package/dist/cli/{org-L3KNS3OS.js → org-HNFRABMG.js} +64 -64
- package/dist/cli/{org-ZYKZP6CE.mjs → org-V5MRHKRO.mjs} +4 -4
- package/dist/cli/{play-537TGXWP.js → play-LSGWSQE2.js} +231 -231
- package/dist/cli/{play-64VPT37H.mjs → play-Z22R7FWE.mjs} +7 -7
- package/dist/cli/{providers-ISRDMPLU.mjs → providers-BJJCETVG.mjs} +4 -4
- package/dist/cli/{providers-6DBPDSLU.js → providers-VYVFZR4J.js} +7 -7
- package/dist/cli/{quickstart-CACETI7N.mjs → quickstart-EFPCKX32.mjs} +3 -3
- package/dist/cli/{quickstart-53Z7F4YI.js → quickstart-UGWUJK67.js} +5 -5
- package/dist/cli/{search-ZUOMRAIV.mjs → search-NVPTBYU3.mjs} +5 -5
- package/dist/cli/search-V3STUCIN.js +30 -0
- package/dist/cli/{secrets-7TPCHJM5.mjs → secrets-4N4LSDKP.mjs} +4 -4
- package/dist/cli/{secrets-TOUFAI3P.js → secrets-ENLLOXON.js} +13 -13
- package/dist/cli/{sessions-D3HZ2E3P.mjs → sessions-7BKKDN5T.mjs} +4 -4
- package/dist/cli/{sessions-7JX2XZSO.js → sessions-PHGZZFBP.js} +5 -5
- package/dist/cli/{settings-IZ7FINUA.js → settings-CV2ZCTVK.js} +74 -74
- package/dist/cli/{settings-LSFSVH3T.mjs → settings-VWEGOBRP.mjs} +7 -7
- package/dist/cli/{setup-FXSH7FIX.js → setup-DEJSO3OM.js} +41 -41
- package/dist/cli/{setup-ZF2VX7J5.mjs → setup-KG5HHXZD.mjs} +6 -6
- package/dist/cli/{skills-I3ILXJPH.mjs → skills-EKFHOC3V.mjs} +4 -4
- package/dist/cli/skills-YEVGRKB6.js +29 -0
- package/dist/cli/{tools-GZHXAZBL.js → tools-4RLOPQJK.js} +7 -7
- package/dist/cli/{tools-LW7Z2BLN.mjs → tools-4YNU6U4J.mjs} +6 -6
- package/dist/cli/update-2RMF5UZD.js +29 -0
- package/dist/cli/{update-BOK3AWHY.mjs → update-DE4SJRNA.mjs} +6 -6
- package/dist/cli/{workflow-5ZBCCWKH.js → workflow-I7QMPLIW.js} +15 -15
- package/dist/cli/{workflow-ZS3FBDO6.mjs → workflow-ODAFYNZA.mjs} +5 -5
- package/dist/index.js +6 -6
- package/dist/index.mjs +3 -3
- package/dist/install-integrity.json +70 -70
- 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/package.json +1 -1
- package/dist/cli/auth-YYB4S5HO.js +0 -40
- package/dist/cli/git-2TH3NROT.js +0 -24
- package/dist/cli/search-GAF5BS6N.js +0 -30
- package/dist/cli/skills-JT6CP6MI.js +0 -29
- package/dist/cli/update-5TD6XRQK.js +0 -29
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
printCommandEnvelope,
|
|
5
5
|
printJson,
|
|
6
6
|
readCsvRows
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-V3T4CHXI.mjs";
|
|
8
|
+
import "./chunk-6PRUVCMW.mjs";
|
|
9
9
|
import "./chunk-YHPYUZZX.mjs";
|
|
10
10
|
import "./chunk-DLIRSHV6.mjs";
|
|
11
11
|
import "./chunk-NXGCO4JB.mjs";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-QZDHNVKF.mjs";
|
|
13
13
|
import "./chunk-WZYKRD7T.mjs";
|
|
14
14
|
import "./chunk-KRD6H754.mjs";
|
|
15
15
|
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
7
|
+
var _chunk4OPBTEVWjs = require('./chunk-4OPBTEVW.js');
|
|
8
|
+
require('./chunk-OVYVMPEC.js');
|
|
9
9
|
require('./chunk-Q2E4E4FJ.js');
|
|
10
10
|
require('./chunk-XNYIZMNQ.js');
|
|
11
11
|
require('./chunk-7P5AA3SN.js');
|
|
12
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-JIDNO3FI.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 :
|
|
130
|
+
return (verbose ? value : _chunk4OPBTEVWjs.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 :
|
|
140
|
+
const display = verbose ? raw : _chunk4OPBTEVWjs.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 =
|
|
160
|
+
const allRows = _chunk4OPBTEVWjs.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
|
-
|
|
173
|
+
_chunk4OPBTEVWjs.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(
|
|
182
|
+
process.stdout.write(_chunk4OPBTEVWjs.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
|
-
|
|
197
|
+
_chunk4OPBTEVWjs.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
|
-
${
|
|
440
|
+
${_chunk4OPBTEVWjs.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
|
-
|
|
491
|
+
_chunk4OPBTEVWjs.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
|
-
|
|
527
|
+
_chunk4OPBTEVWjs.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,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
DeeplineClient,
|
|
6
6
|
planCustomerDbQuery
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-III4UASP.mjs";
|
|
8
8
|
import "./chunk-6IKARAYD.mjs";
|
|
9
9
|
import "./chunk-JI2B4RZP.mjs";
|
|
10
10
|
import "./chunk-EIMG75BT.mjs";
|
|
@@ -18,8 +18,8 @@ import {
|
|
|
18
18
|
printCommandEnvelope,
|
|
19
19
|
recordRows,
|
|
20
20
|
shouldEmitJson
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-V3T4CHXI.mjs";
|
|
22
|
+
import "./chunk-6PRUVCMW.mjs";
|
|
23
23
|
import {
|
|
24
24
|
CustomerDbQueryOutcomeUnknownError
|
|
25
25
|
} from "./chunk-YHPYUZZX.mjs";
|
|
@@ -27,7 +27,7 @@ import "./chunk-DLIRSHV6.mjs";
|
|
|
27
27
|
import {
|
|
28
28
|
DeeplineError
|
|
29
29
|
} from "./chunk-NXGCO4JB.mjs";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-QZDHNVKF.mjs";
|
|
31
31
|
import "./chunk-WZYKRD7T.mjs";
|
|
32
32
|
import "./chunk-KRD6H754.mjs";
|
|
33
33
|
|
|
@@ -4,7 +4,7 @@ var _chunkAID3OYVJjs = require('./chunk-AID3OYVJ.js');
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkIDXATBJBjs = require('./chunk-IDXATBJB.js');
|
|
8
8
|
require('./chunk-S6R3OX7B.js');
|
|
9
9
|
require('./chunk-UHNDVD3P.js');
|
|
10
10
|
require('./chunk-KXMNM4AQ.js');
|
|
@@ -18,8 +18,8 @@ require('./chunk-XDVT3GOM.js');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
22
|
-
require('./chunk-
|
|
21
|
+
var _chunk4OPBTEVWjs = require('./chunk-4OPBTEVW.js');
|
|
22
|
+
require('./chunk-OVYVMPEC.js');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
var _chunkQ2E4E4FJjs = require('./chunk-Q2E4E4FJ.js');
|
|
@@ -27,7 +27,7 @@ require('./chunk-XNYIZMNQ.js');
|
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
|
|
30
|
-
require('./chunk-
|
|
30
|
+
require('./chunk-JIDNO3FI.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 =
|
|
54
|
-
const responseColumns =
|
|
53
|
+
const rows = _chunk4OPBTEVWjs.dataExportRows.call(void 0, customerDbRows(result));
|
|
54
|
+
const responseColumns = _chunk4OPBTEVWjs.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
|
|
100
|
+
return _chunk4OPBTEVWjs.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
|
-
|
|
153
|
+
_chunk4OPBTEVWjs.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 ||
|
|
194
|
+
const jsonOutput = explicitJsonOutput || _chunk4OPBTEVWjs.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
|
-
|
|
205
|
+
_chunk4OPBTEVWjs.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
|
-
|
|
221
|
+
_chunk4OPBTEVWjs.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:
|
|
231
|
+
text: _chunk4OPBTEVWjs.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 =
|
|
240
|
+
const content = _chunk4OPBTEVWjs.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
|
-
|
|
247
|
+
_chunk4OPBTEVWjs.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
|
-
|
|
263
|
+
_chunk4OPBTEVWjs.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
|
-
|
|
278
|
+
_chunk4OPBTEVWjs.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 =
|
|
352
|
+
const plan = _chunkIDXATBJBjs.planCustomerDbQuery.call(void 0, query);
|
|
353
353
|
if (options.dryRun) {
|
|
354
|
-
|
|
354
|
+
_chunk4OPBTEVWjs.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 ||
|
|
367
|
+
{ json: options.json || _chunk4OPBTEVWjs.shouldEmitJson.call(void 0, ) }
|
|
368
368
|
);
|
|
369
369
|
return 0;
|
|
370
370
|
}
|
|
371
|
-
const client = new (0,
|
|
371
|
+
const client = new (0, _chunkIDXATBJBjs.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 _chunkQ2E4E4FJjs.CustomerDbQueryOutcomeUnknownError && (options.json ||
|
|
381
|
-
|
|
380
|
+
if (error instanceof _chunkQ2E4E4FJjs.CustomerDbQueryOutcomeUnknownError && (options.json || _chunk4OPBTEVWjs.shouldEmitJson.call(void 0, ))) {
|
|
381
|
+
_chunk4OPBTEVWjs.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 =
|
|
430
|
-
const client = new (0,
|
|
429
|
+
const jsonOutput = _chunk4OPBTEVWjs.argsWantJson.call(void 0, args);
|
|
430
|
+
const client = new (0, _chunkIDXATBJBjs.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
|
-
|
|
446
|
+
_chunk4OPBTEVWjs.printCommandEnvelope.call(void 0,
|
|
447
447
|
{
|
|
448
448
|
command: "db repair",
|
|
449
449
|
status: result.status,
|
|
@@ -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
|
|
3
|
+
var _chunkH7Q6RK5Yjs = require('./chunk-H7Q6RK5Y.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkZAAKSJASjs = require('./chunk-ZAAKSJAS.js');
|
|
7
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-2H37YDDG.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -20,7 +20,7 @@ require('./chunk-NA4T3B62.js');
|
|
|
20
20
|
require('./chunk-KB4SDX5S.js');
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkIDXATBJBjs = require('./chunk-IDXATBJB.js');
|
|
24
24
|
require('./chunk-S6R3OX7B.js');
|
|
25
25
|
require('./chunk-UHNDVD3P.js');
|
|
26
26
|
require('./chunk-KXMNM4AQ.js');
|
|
@@ -28,12 +28,12 @@ require('./chunk-XDVT3GOM.js');
|
|
|
28
28
|
require('./chunk-QJBJZVG6.js');
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var
|
|
32
|
-
require('./chunk-
|
|
31
|
+
var _chunk4OPBTEVWjs = require('./chunk-4OPBTEVW.js');
|
|
32
|
+
require('./chunk-OVYVMPEC.js');
|
|
33
33
|
require('./chunk-Q2E4E4FJ.js');
|
|
34
34
|
require('./chunk-XNYIZMNQ.js');
|
|
35
35
|
require('./chunk-7P5AA3SN.js');
|
|
36
|
-
require('./chunk-
|
|
36
|
+
require('./chunk-JIDNO3FI.js');
|
|
37
37
|
require('./chunk-OG64RBAC.js');
|
|
38
38
|
require('./chunk-COGTRVWW.js');
|
|
39
39
|
|
|
@@ -41,13 +41,13 @@ require('./chunk-COGTRVWW.js');
|
|
|
41
41
|
var _fs = require('fs');
|
|
42
42
|
var _path = require('path');
|
|
43
43
|
async function describeAnything(name, options, onMissing) {
|
|
44
|
-
const client = new (0,
|
|
44
|
+
const client = new (0, _chunkIDXATBJBjs.DeeplineClient)();
|
|
45
45
|
const lookups = _chunkRFG3MRACjs.describeLookupsFor.call(void 0, client);
|
|
46
46
|
const outcome = await _chunkRFG3MRACjs.describeName.call(void 0, name, options, {
|
|
47
47
|
...lookups,
|
|
48
48
|
// `tools describe` has already fetched the tool for its compatibility check.
|
|
49
49
|
tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
|
|
50
|
-
seedStarterScript:
|
|
50
|
+
seedStarterScript: _chunkH7Q6RK5Yjs.seedToolListScript
|
|
51
51
|
});
|
|
52
52
|
if (outcome.status === "missing") {
|
|
53
53
|
if (onMissing) return onMissing();
|
|
@@ -74,14 +74,14 @@ function deliver(envelope, lines, { json, out }) {
|
|
|
74
74
|
` : text;
|
|
75
75
|
_fs.writeFileSync.call(void 0, path, content);
|
|
76
76
|
const bytes = Buffer.byteLength(content);
|
|
77
|
-
|
|
77
|
+
_chunk4OPBTEVWjs.printCommandEnvelope.call(void 0,
|
|
78
78
|
{ path, bytes },
|
|
79
79
|
{ json, text: `Wrote ${path} (${bytes} bytes)
|
|
80
80
|
` }
|
|
81
81
|
);
|
|
82
82
|
return 0;
|
|
83
83
|
}
|
|
84
|
-
|
|
84
|
+
_chunk4OPBTEVWjs.printCommandEnvelope.call(void 0, envelope, { json, text });
|
|
85
85
|
return 0;
|
|
86
86
|
}
|
|
87
87
|
function registerDescribeCommand(program) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
seedToolListScript
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CKIELGYT.mjs";
|
|
4
4
|
import {
|
|
5
5
|
addDescribeOptions
|
|
6
6
|
} from "./chunk-OSDXE27V.mjs";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-BRMEK6KG.mjs";
|
|
8
8
|
import {
|
|
9
9
|
describeLookupsFor,
|
|
10
10
|
describeName
|
|
@@ -20,7 +20,7 @@ import "./chunk-TXZVVBQZ.mjs";
|
|
|
20
20
|
import "./chunk-3HU47EGZ.mjs";
|
|
21
21
|
import {
|
|
22
22
|
DeeplineClient
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-III4UASP.mjs";
|
|
24
24
|
import "./chunk-6IKARAYD.mjs";
|
|
25
25
|
import "./chunk-JI2B4RZP.mjs";
|
|
26
26
|
import "./chunk-EIMG75BT.mjs";
|
|
@@ -28,12 +28,12 @@ import "./chunk-UBKA33KY.mjs";
|
|
|
28
28
|
import "./chunk-WXLOW623.mjs";
|
|
29
29
|
import {
|
|
30
30
|
printCommandEnvelope
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-V3T4CHXI.mjs";
|
|
32
|
+
import "./chunk-6PRUVCMW.mjs";
|
|
33
33
|
import "./chunk-YHPYUZZX.mjs";
|
|
34
34
|
import "./chunk-DLIRSHV6.mjs";
|
|
35
35
|
import "./chunk-NXGCO4JB.mjs";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-QZDHNVKF.mjs";
|
|
37
37
|
import "./chunk-WZYKRD7T.mjs";
|
|
38
38
|
import "./chunk-KRD6H754.mjs";
|
|
39
39
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-III4UASP.mjs";
|
|
4
4
|
import "./chunk-6IKARAYD.mjs";
|
|
5
5
|
import "./chunk-JI2B4RZP.mjs";
|
|
6
6
|
import "./chunk-EIMG75BT.mjs";
|
|
7
7
|
import "./chunk-UBKA33KY.mjs";
|
|
8
8
|
import {
|
|
9
9
|
printCommandEnvelope
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-V3T4CHXI.mjs";
|
|
11
|
+
import "./chunk-6PRUVCMW.mjs";
|
|
12
12
|
import "./chunk-YHPYUZZX.mjs";
|
|
13
13
|
import "./chunk-DLIRSHV6.mjs";
|
|
14
14
|
import "./chunk-NXGCO4JB.mjs";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-QZDHNVKF.mjs";
|
|
16
16
|
import "./chunk-WZYKRD7T.mjs";
|
|
17
17
|
import "./chunk-KRD6H754.mjs";
|
|
18
18
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkIDXATBJBjs = require('./chunk-IDXATBJB.js');
|
|
4
4
|
require('./chunk-S6R3OX7B.js');
|
|
5
5
|
require('./chunk-UHNDVD3P.js');
|
|
6
6
|
require('./chunk-KXMNM4AQ.js');
|
|
7
7
|
require('./chunk-XDVT3GOM.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
11
|
-
require('./chunk-
|
|
10
|
+
var _chunk4OPBTEVWjs = require('./chunk-4OPBTEVW.js');
|
|
11
|
+
require('./chunk-OVYVMPEC.js');
|
|
12
12
|
require('./chunk-Q2E4E4FJ.js');
|
|
13
13
|
require('./chunk-XNYIZMNQ.js');
|
|
14
14
|
require('./chunk-7P5AA3SN.js');
|
|
15
|
-
require('./chunk-
|
|
15
|
+
require('./chunk-JIDNO3FI.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,
|
|
23
|
+
const result = await new (0, _chunkIDXATBJBjs.DeeplineClient)().executions.getByKey(
|
|
24
24
|
options.idempotencyKey
|
|
25
25
|
);
|
|
26
|
-
|
|
26
|
+
_chunk4OPBTEVWjs.printCommandEnvelope.call(void 0, result, { json: true });
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
collectLocalEnvInfo,
|
|
3
3
|
getAuthedHttpClient,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-V3T4CHXI.mjs";
|
|
6
6
|
import {
|
|
7
7
|
agentSessionIdFromEnvironment
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6PRUVCMW.mjs";
|
|
9
9
|
import "./chunk-YHPYUZZX.mjs";
|
|
10
10
|
import "./chunk-DLIRSHV6.mjs";
|
|
11
11
|
import "./chunk-NXGCO4JB.mjs";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-QZDHNVKF.mjs";
|
|
13
13
|
import "./chunk-WZYKRD7T.mjs";
|
|
14
14
|
import "./chunk-KRD6H754.mjs";
|
|
15
15
|
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk4OPBTEVWjs = require('./chunk-4OPBTEVW.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkOVYVMPECjs = require('./chunk-OVYVMPEC.js');
|
|
9
9
|
require('./chunk-Q2E4E4FJ.js');
|
|
10
10
|
require('./chunk-XNYIZMNQ.js');
|
|
11
11
|
require('./chunk-7P5AA3SN.js');
|
|
12
|
-
require('./chunk-
|
|
12
|
+
require('./chunk-JIDNO3FI.js');
|
|
13
13
|
require('./chunk-OG64RBAC.js');
|
|
14
14
|
require('./chunk-COGTRVWW.js');
|
|
15
15
|
|
|
@@ -18,18 +18,18 @@ var _commander = require('commander');
|
|
|
18
18
|
var _fs = require('fs');
|
|
19
19
|
async function handleFeedback(text, options) {
|
|
20
20
|
const message = resolveFeedbackText(text, options.file);
|
|
21
|
-
const { http } =
|
|
22
|
-
const sessionId =
|
|
21
|
+
const { http } = _chunk4OPBTEVWjs.getAuthedHttpClient.call(void 0, );
|
|
22
|
+
const sessionId = _chunkOVYVMPECjs.agentSessionIdFromEnvironment.call(void 0, );
|
|
23
23
|
const response = await http.post("/api/v2/cli/feedback", {
|
|
24
24
|
text: message,
|
|
25
25
|
requested: options.requested === true,
|
|
26
|
-
environment:
|
|
26
|
+
environment: _chunk4OPBTEVWjs.collectLocalEnvInfo.call(void 0, ),
|
|
27
27
|
...sessionId ? { session_id: sessionId } : {},
|
|
28
28
|
...options.command ? { command: options.command } : {},
|
|
29
29
|
...options.payload ? { payload: options.payload } : {},
|
|
30
30
|
...options.errorOutcome ? { error_outcome: options.errorOutcome } : {}
|
|
31
31
|
});
|
|
32
|
-
|
|
32
|
+
_chunk4OPBTEVWjs.printCommandEnvelope.call(void 0,
|
|
33
33
|
{
|
|
34
34
|
...response,
|
|
35
35
|
render: {
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkQUCAOIN7js = require('./chunk-QUCAOIN7.js');
|
|
9
|
+
require('./chunk-4OPBTEVW.js');
|
|
10
|
+
require('./chunk-OVYVMPEC.js');
|
|
11
|
+
require('./chunk-Q2E4E4FJ.js');
|
|
12
|
+
require('./chunk-XNYIZMNQ.js');
|
|
13
|
+
require('./chunk-7P5AA3SN.js');
|
|
14
|
+
require('./chunk-JIDNO3FI.js');
|
|
15
|
+
require('./chunk-OG64RBAC.js');
|
|
16
|
+
require('./chunk-COGTRVWW.js');
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
exports.handleDeploymentGet = _chunkQUCAOIN7js.handleDeploymentGet; exports.handleDeploymentsList = _chunkQUCAOIN7js.handleDeploymentsList; exports.registerGitCommands = _chunkQUCAOIN7js.registerGitCommands; exports.renderDeployment = _chunkQUCAOIN7js.renderDeployment; exports.renderDeploymentMonitorLines = _chunkQUCAOIN7js.renderDeploymentMonitorLines; exports.renderDeploymentPlayLines = _chunkQUCAOIN7js.renderDeploymentPlayLines;
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
renderDeployment,
|
|
6
6
|
renderDeploymentMonitorLines,
|
|
7
7
|
renderDeploymentPlayLines
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-GCIMQKW4.mjs";
|
|
9
|
+
import "./chunk-V3T4CHXI.mjs";
|
|
10
|
+
import "./chunk-6PRUVCMW.mjs";
|
|
11
11
|
import "./chunk-YHPYUZZX.mjs";
|
|
12
12
|
import "./chunk-DLIRSHV6.mjs";
|
|
13
13
|
import "./chunk-NXGCO4JB.mjs";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-QZDHNVKF.mjs";
|
|
15
15
|
import "./chunk-WZYKRD7T.mjs";
|
|
16
16
|
import "./chunk-KRD6H754.mjs";
|
|
17
17
|
export {
|