deepline 0.3.303 → 0.3.305
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/app-runtime-api.ts +31 -1
- package/dist/bundling-sources/shared_libs/play-runtime/execute-server-timing.ts +30 -0
- package/dist/bundling-sources/shared_libs/play-runtime/resource-governor.ts +144 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres-pool.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +52 -25
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-event-search.ts +10 -0
- package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +13 -0
- package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +69 -0
- package/dist/bundling-sources/shared_libs/product-notifications/default-policy.ts +26 -1
- package/dist/bundling-sources/shared_libs/product-notifications/events.ts +9 -1
- package/dist/cli/auth-WRUUITRZ.js +31 -0
- package/dist/cli/{auth-337SVWQD.mjs → auth-XMYFUM5L.mjs} +4 -4
- package/dist/cli/{billing-CVQURTWQ.js → billing-NDUDRJ7T.js} +70 -70
- package/dist/cli/{billing-SVGYQSJI.mjs → billing-RXT6NYAU.mjs} +4 -4
- package/dist/cli/{chunk-XXQYOQWO.mjs → chunk-445RPDOQ.mjs} +2 -2
- package/dist/cli/{chunk-PUKK7SZX.mjs → chunk-44GHROVJ.mjs} +1 -1
- package/dist/cli/{chunk-GQUI3NYN.js → chunk-5UZQ75HD.js} +57 -57
- package/dist/cli/{chunk-JWUOPLAR.mjs → chunk-6C4SD4U3.mjs} +1 -1
- package/dist/cli/{chunk-LGGR7CGZ.mjs → chunk-AEMR2R5H.mjs} +4 -4
- package/dist/cli/{chunk-HIXYNASX.js → chunk-B7PAZBJX.js} +4 -4
- package/dist/cli/{chunk-EAIGGEV5.js → chunk-COMHSM6F.js} +6 -6
- package/dist/cli/{chunk-OOQ4IRP4.js → chunk-DNSTXIU4.js} +1 -1
- package/dist/cli/{chunk-JGEFX6FQ.js → chunk-DY72E7K2.js} +6 -6
- package/dist/cli/{chunk-5NEXN4MZ.js → chunk-E4YSOJ2H.js} +2 -2
- package/dist/cli/{chunk-YZLPXH7G.mjs → chunk-HELHRPU6.mjs} +2 -2
- package/dist/cli/{chunk-NFWFUCGM.js → chunk-KNHD6J3X.js} +6 -6
- package/dist/cli/{chunk-MTICVDNY.mjs → chunk-KNK42P4M.mjs} +1 -1
- package/dist/cli/{chunk-WJGRIDWQ.js → chunk-LUBEGHJC.js} +15 -15
- package/dist/cli/{chunk-BVJSAJKV.mjs → chunk-LYPASDJJ.mjs} +1 -1
- package/dist/cli/{chunk-XKW6HTWO.mjs → chunk-QFSISXKO.mjs} +1 -1
- package/dist/cli/{chunk-IVT2CZPM.mjs → chunk-S3HPQWZ3.mjs} +1 -1
- package/dist/cli/{chunk-4LRG6AJZ.mjs → chunk-SCX2AZFY.mjs} +2 -2
- package/dist/cli/{chunk-DH6LEJWD.mjs → chunk-TGOAQTY3.mjs} +3 -3
- package/dist/cli/{chunk-RY6WID7C.js → chunk-UWDFJXBQ.js} +26 -26
- package/dist/cli/{chunk-P2KELOST.js → chunk-XZD3NYOL.js} +48 -48
- package/dist/cli/{chunk-4D5YQETI.js → chunk-ZQOFBLJN.js} +6 -6
- package/dist/cli/client-KBAPBERE.js +20 -0
- package/dist/cli/{client-AMSHGQFH.mjs → client-WOHHEX5X.mjs} +3 -3
- package/dist/cli/{csv-F4RPWI4E.mjs → csv-WNPLDGFR.mjs} +3 -3
- package/dist/cli/{csv-B2OKPMNX.js → csv-WZ5BOOT7.js} +12 -12
- package/dist/cli/{db-AJYYK5HH.js → db-GBK4QSIU.js} +20 -20
- package/dist/cli/{db-QP4WNVSS.mjs → db-GCQJHGME.mjs} +4 -4
- package/dist/cli/{executions-4LHEJCCY.js → executions-BAS6T2BN.js} +6 -6
- package/dist/cli/{executions-NY7HYAEH.mjs → executions-MSB6FRNL.mjs} +4 -4
- package/dist/cli/{feedback-CXXJJARR.js → feedback-UHOHIOPV.js} +6 -6
- package/dist/cli/{feedback-SJYHLVYY.mjs → feedback-VREMIXAX.mjs} +3 -3
- package/dist/cli/git-6QYO4FQH.js +23 -0
- package/dist/cli/{git-DUODO3NL.mjs → git-GQKD556H.mjs} +4 -4
- package/dist/cli/index.js +73 -73
- package/dist/cli/index.mjs +30 -30
- package/dist/cli/{legacy-noops-3UYJVVNW.js → legacy-noops-PIL4KNVA.js} +7 -7
- package/dist/cli/{legacy-noops-IUDXZFYO.mjs → legacy-noops-RI2ROZ6U.mjs} +4 -4
- package/dist/cli/{monitors-PDWE6BGA.mjs → monitors-QHLEULAZ.mjs} +4 -4
- package/dist/cli/{monitors-IEEVACOD.js → monitors-UVQLZDIO.js} +85 -85
- package/dist/cli/{org-VSPO2YF3.mjs → org-BYWI4VI3.mjs} +4 -4
- package/dist/cli/{org-NUFEZRY7.js → org-KXJJZOSK.js} +60 -60
- package/dist/cli/{play-MXYK2BRE.js → play-3XR54PQY.js} +200 -200
- package/dist/cli/{play-KMHPJVWH.mjs → play-WF7AJJ7J.mjs} +6 -6
- package/dist/cli/{providers-YE5YRIML.js → providers-4FYRPS4E.js} +7 -7
- package/dist/cli/{providers-7ENB4EYV.mjs → providers-FG67H5N5.mjs} +4 -4
- package/dist/cli/{quickstart-KXCU2MZ2.js → quickstart-3YCFHVKY.js} +5 -5
- package/dist/cli/{quickstart-GFOOHX2U.mjs → quickstart-IBWIR4LX.mjs} +3 -3
- package/dist/cli/{search-R426JJQW.js → search-6PQ4QBMC.js} +6 -6
- package/dist/cli/{search-KESXCJDL.mjs → search-OZRXENTS.mjs} +5 -5
- package/dist/cli/{secrets-BRB5SIXG.js → secrets-2JW5HCHH.js} +13 -13
- package/dist/cli/{secrets-HDR522GC.mjs → secrets-S3GIROJA.mjs} +4 -4
- package/dist/cli/{sessions-VOOSWVLS.mjs → sessions-6HNVWH3C.mjs} +4 -4
- package/dist/cli/{sessions-IK3OSQC6.js → sessions-AQQ6WHMK.js} +5 -5
- package/dist/cli/{settings-BZKDIHTX.mjs → settings-6FINI54L.mjs} +7 -7
- package/dist/cli/{settings-OPGEFGXL.js → settings-HSHA2FO5.js} +74 -74
- package/dist/cli/{setup-TP2VWSCU.js → setup-O7FZ5EUD.js} +41 -41
- package/dist/cli/{setup-RVPS7AJJ.mjs → setup-XHIBSXCC.mjs} +6 -6
- package/dist/cli/skills-3ASRSEF2.js +28 -0
- package/dist/cli/{skills-7BDD2F4V.mjs → skills-ZFIIWR5G.mjs} +4 -4
- package/dist/cli/{tools-46ILS57M.js → tools-4B4NLVOJ.js} +50 -50
- package/dist/cli/{tools-XLGGDBM3.mjs → tools-WURPIECI.mjs} +5 -5
- package/dist/cli/{update-2JEM7WUF.mjs → update-2THOPAUS.mjs} +6 -6
- package/dist/cli/update-7ZPTMO6H.js +28 -0
- package/dist/cli/{workflow-SSTGMXOQ.mjs → workflow-S2G453ZX.mjs} +5 -5
- package/dist/cli/{workflow-ZKGPY7T4.js → workflow-XS5JSKED.js} +15 -15
- package/dist/{client-DjJfoW8r.d.ts → client-5Nsl0O0v.d.ts} +85 -0
- package/dist/{client-Me88eH3z.d.mts → client-BT11xxG8.d.mts} +85 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -6
- package/dist/index.mjs +3 -3
- package/dist/install-integrity.json +71 -70
- package/dist/plays/run-request.d.mts +1 -1
- package/dist/plays/run-request.d.ts +1 -1
- 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-4ME3NANJ.js +0 -31
- package/dist/cli/client-WN33QCMV.js +0 -20
- package/dist/cli/git-K7YPSXLC.js +0 -23
- package/dist/cli/skills-TK2CIWVS.js +0 -28
- package/dist/cli/update-3JOCQWNF.js +0 -28
|
@@ -1,7 +1,7 @@
|
|
|
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 _chunkCOMHSM6Fjs = require('./chunk-COMHSM6F.js');
|
|
5
5
|
|
|
6
6
|
// src/cli/commands/sessions.ts
|
|
7
7
|
|
|
@@ -420,7 +420,7 @@ function buildSessionUploadContent(raw) {
|
|
|
420
420
|
return { encodedContent: encoded, needsChunking: true };
|
|
421
421
|
}
|
|
422
422
|
async function uploadPayload(path, payload) {
|
|
423
|
-
const { http } =
|
|
423
|
+
const { http } = _chunkCOMHSM6Fjs.getAuthedHttpClient.call(void 0, );
|
|
424
424
|
return await http.post(path, payload);
|
|
425
425
|
}
|
|
426
426
|
async function uploadChunkedSessions(sessions, options) {
|
|
@@ -452,7 +452,7 @@ async function uploadChunkedSessions(sessions, options) {
|
|
|
452
452
|
environments: sessions.map(() => detectShellContext()),
|
|
453
453
|
...options.rating ? { rating: options.rating } : {}
|
|
454
454
|
});
|
|
455
|
-
|
|
455
|
+
_chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
|
|
456
456
|
{
|
|
457
457
|
...response,
|
|
458
458
|
ok: true,
|
|
@@ -481,7 +481,7 @@ async function handleSessionsSend(options) {
|
|
|
481
481
|
filename: _path.basename.call(void 0, filePath),
|
|
482
482
|
...rating ? { rating } : {}
|
|
483
483
|
});
|
|
484
|
-
|
|
484
|
+
_chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
|
|
485
485
|
{
|
|
486
486
|
...response2,
|
|
487
487
|
ok: true,
|
|
@@ -530,7 +530,7 @@ async function handleSessionsSend(options) {
|
|
|
530
530
|
environment: detectShellContext(),
|
|
531
531
|
...rating ? { rating } : {}
|
|
532
532
|
});
|
|
533
|
-
|
|
533
|
+
_chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
|
|
534
534
|
{
|
|
535
535
|
...response,
|
|
536
536
|
ok: true,
|
|
@@ -635,7 +635,7 @@ ${refreshMeta}
|
|
|
635
635
|
</body>
|
|
636
636
|
</html>`;
|
|
637
637
|
_fs.writeFileSync.call(void 0, outputPath, html, "utf8");
|
|
638
|
-
|
|
638
|
+
_chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
|
|
639
639
|
{
|
|
640
640
|
ok: true,
|
|
641
641
|
file: outputPath,
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkKNHD6J3Xjs = require('./chunk-KNHD6J3X.js');
|
|
7
|
+
require('./chunk-LA46MMTL.js');
|
|
8
|
+
require('./chunk-B7PAZBJX.js');
|
|
9
|
+
require('./chunk-XNYIZMNQ.js');
|
|
10
|
+
require('./chunk-DNSTXIU4.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 = _chunkKNHD6J3Xjs.DeeplineClient; exports.MONITOR_JOB_PHASES = _chunkKNHD6J3Xjs.MONITOR_JOB_PHASES; exports.MONITOR_JOB_RECONCILIATION_STATES = _chunkKNHD6J3Xjs.MONITOR_JOB_RECONCILIATION_STATES; exports.MONITOR_JOB_STATES = _chunkKNHD6J3Xjs.MONITOR_JOB_STATES;
|
|
@@ -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-S3HPQWZ3.mjs";
|
|
7
7
|
import "./chunk-CBVIJSHF.mjs";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-6C4SD4U3.mjs";
|
|
9
9
|
import "./chunk-DLIRSHV6.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-KNK42P4M.mjs";
|
|
11
11
|
import "./chunk-6IKARAYD.mjs";
|
|
12
12
|
import "./chunk-NXGCO4JB.mjs";
|
|
13
13
|
import "./chunk-WZYKRD7T.mjs";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
printCommandEnvelope,
|
|
5
5
|
printJson,
|
|
6
6
|
readCsvRows
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-QFSISXKO.mjs";
|
|
8
|
+
import "./chunk-6C4SD4U3.mjs";
|
|
9
9
|
import "./chunk-DLIRSHV6.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-KNK42P4M.mjs";
|
|
11
11
|
import "./chunk-NXGCO4JB.mjs";
|
|
12
12
|
import "./chunk-WZYKRD7T.mjs";
|
|
13
13
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
7
|
+
var _chunkCOMHSM6Fjs = require('./chunk-COMHSM6F.js');
|
|
8
|
+
require('./chunk-B7PAZBJX.js');
|
|
9
9
|
require('./chunk-XNYIZMNQ.js');
|
|
10
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-DNSTXIU4.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 : _chunkCOMHSM6Fjs.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 : _chunkCOMHSM6Fjs.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 = _chunkCOMHSM6Fjs.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
|
+
_chunkCOMHSM6Fjs.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(_chunkCOMHSM6Fjs.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
|
+
_chunkCOMHSM6Fjs.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
|
+
${_chunkCOMHSM6Fjs.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
|
+
_chunkCOMHSM6Fjs.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
|
+
_chunkCOMHSM6Fjs.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"));
|
|
@@ -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 _chunkKNHD6J3Xjs = require('./chunk-KNHD6J3X.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 _chunkCOMHSM6Fjs = require('./chunk-COMHSM6F.js');
|
|
14
|
+
require('./chunk-B7PAZBJX.js');
|
|
15
15
|
require('./chunk-XNYIZMNQ.js');
|
|
16
|
-
require('./chunk-
|
|
16
|
+
require('./chunk-DNSTXIU4.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 = _chunkCOMHSM6Fjs.dataExportRows.call(void 0, customerDbRows(result));
|
|
52
|
+
const responseColumns = _chunkCOMHSM6Fjs.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 _chunkCOMHSM6Fjs.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
|
+
_chunkCOMHSM6Fjs.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 = _chunkCOMHSM6Fjs.argsWantJson.call(void 0, args);
|
|
248
248
|
const explicitJsonOutput = args.includes("--json");
|
|
249
|
-
const client = new (0,
|
|
249
|
+
const client = new (0, _chunkKNHD6J3Xjs.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
|
+
_chunkCOMHSM6Fjs.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
|
+
_chunkCOMHSM6Fjs.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: _chunkCOMHSM6Fjs.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 = _chunkCOMHSM6Fjs.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
|
+
_chunkCOMHSM6Fjs.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
|
+
_chunkCOMHSM6Fjs.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
|
+
_chunkCOMHSM6Fjs.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 = _chunkCOMHSM6Fjs.argsWantJson.call(void 0, args);
|
|
354
|
+
const client = new (0, _chunkKNHD6J3Xjs.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
|
+
_chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
|
|
371
371
|
{
|
|
372
372
|
command: "db repair",
|
|
373
373
|
status: result.status,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-S3HPQWZ3.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-QFSISXKO.mjs";
|
|
14
|
+
import "./chunk-6C4SD4U3.mjs";
|
|
15
15
|
import "./chunk-DLIRSHV6.mjs";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-KNK42P4M.mjs";
|
|
17
17
|
import "./chunk-6IKARAYD.mjs";
|
|
18
18
|
import {
|
|
19
19
|
DeeplineError
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkKNHD6J3Xjs = require('./chunk-KNHD6J3X.js');
|
|
4
4
|
require('./chunk-LA46MMTL.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
7
|
+
var _chunkCOMHSM6Fjs = require('./chunk-COMHSM6F.js');
|
|
8
|
+
require('./chunk-B7PAZBJX.js');
|
|
9
9
|
require('./chunk-XNYIZMNQ.js');
|
|
10
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-DNSTXIU4.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, _chunkKNHD6J3Xjs.DeeplineClient)().executions.getByKey(
|
|
21
21
|
options.idempotencyKey
|
|
22
22
|
);
|
|
23
|
-
|
|
23
|
+
_chunkCOMHSM6Fjs.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-S3HPQWZ3.mjs";
|
|
4
4
|
import "./chunk-CBVIJSHF.mjs";
|
|
5
5
|
import {
|
|
6
6
|
printCommandEnvelope
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-QFSISXKO.mjs";
|
|
8
|
+
import "./chunk-6C4SD4U3.mjs";
|
|
9
9
|
import "./chunk-DLIRSHV6.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-KNK42P4M.mjs";
|
|
11
11
|
import "./chunk-6IKARAYD.mjs";
|
|
12
12
|
import "./chunk-NXGCO4JB.mjs";
|
|
13
13
|
import "./chunk-WZYKRD7T.mjs";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
5
|
+
var _chunkCOMHSM6Fjs = require('./chunk-COMHSM6F.js');
|
|
6
|
+
require('./chunk-B7PAZBJX.js');
|
|
7
7
|
require('./chunk-XNYIZMNQ.js');
|
|
8
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-DNSTXIU4.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 } = _chunkCOMHSM6Fjs.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: _chunkCOMHSM6Fjs.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
|
+
_chunkCOMHSM6Fjs.printCommandEnvelope.call(void 0,
|
|
28
28
|
{
|
|
29
29
|
...response,
|
|
30
30
|
render: {
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
collectLocalEnvInfo,
|
|
3
3
|
getAuthedHttpClient,
|
|
4
4
|
printCommandEnvelope
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-QFSISXKO.mjs";
|
|
6
|
+
import "./chunk-6C4SD4U3.mjs";
|
|
7
7
|
import "./chunk-DLIRSHV6.mjs";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-KNK42P4M.mjs";
|
|
9
9
|
import "./chunk-NXGCO4JB.mjs";
|
|
10
10
|
import "./chunk-WZYKRD7T.mjs";
|
|
11
11
|
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 _chunkUWDFJXBQjs = require('./chunk-UWDFJXBQ.js');
|
|
9
|
+
require('./chunk-COMHSM6F.js');
|
|
10
|
+
require('./chunk-B7PAZBJX.js');
|
|
11
|
+
require('./chunk-XNYIZMNQ.js');
|
|
12
|
+
require('./chunk-DNSTXIU4.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 = _chunkUWDFJXBQjs.handleDeploymentGet; exports.handleDeploymentsList = _chunkUWDFJXBQjs.handleDeploymentsList; exports.registerGitCommands = _chunkUWDFJXBQjs.registerGitCommands; exports.renderDeployment = _chunkUWDFJXBQjs.renderDeployment; exports.renderDeploymentMonitorLines = _chunkUWDFJXBQjs.renderDeploymentMonitorLines; exports.renderDeploymentPlayLines = _chunkUWDFJXBQjs.renderDeploymentPlayLines;
|
|
@@ -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-HELHRPU6.mjs";
|
|
9
|
+
import "./chunk-QFSISXKO.mjs";
|
|
10
|
+
import "./chunk-6C4SD4U3.mjs";
|
|
11
11
|
import "./chunk-DLIRSHV6.mjs";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-KNK42P4M.mjs";
|
|
13
13
|
import "./chunk-NXGCO4JB.mjs";
|
|
14
14
|
import "./chunk-WZYKRD7T.mjs";
|
|
15
15
|
import "./chunk-KRD6H754.mjs";
|