deepline 0.3.468 → 0.3.470
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/monitors/http-error-response.ts +0 -5
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-errors.ts +0 -9
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-identity-claims.ts +2 -31
- package/dist/bundling-sources/shared_libs/monitors/provider-monitor-priority-execution.ts +0 -39
- package/dist/bundling-sources/shared_libs/play-runtime/play-runs/admission/postgres-adapter.ts +3 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd.ts +3 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +42 -10
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +17 -8
- package/dist/cli/auth-4DBOZZDX.js +41 -0
- package/dist/cli/{auth-CXQRTOBC.mjs → auth-7J52UEWO.mjs} +5 -5
- package/dist/cli/{billing-JSIPTXM6.js → billing-ASNWVDQG.js} +79 -79
- package/dist/cli/{billing-HDKO5VQI.mjs → billing-ORB3UZ73.mjs} +6 -6
- package/dist/cli/{chunk-NZQPALPW.mjs → chunk-262PYO4I.mjs} +2 -2
- package/dist/cli/{chunk-ERQJLYIS.mjs → chunk-3P4WOCRB.mjs} +5 -5
- package/dist/cli/{chunk-UNLLMHY7.mjs → chunk-3XLJPLXZ.mjs} +1 -1
- package/dist/cli/{chunk-U37BWQZH.js → chunk-44UR3BU2.js} +9 -9
- package/dist/cli/{chunk-RSMFUWCP.js → chunk-4BQQ3Q3J.js} +8 -8
- package/dist/cli/{chunk-YD2KV7RT.js → chunk-57F5VKHV.js} +7 -7
- package/dist/cli/{chunk-TNOTKGZC.mjs → chunk-5ADROBCY.mjs} +2 -2
- package/dist/cli/{chunk-UU4GMU7A.mjs → chunk-6B7XLHIE.mjs} +4 -4
- package/dist/cli/{chunk-ECY6QP3M.js → chunk-6R5UKWRW.js} +16 -16
- package/dist/cli/{chunk-SFWU7IJJ.mjs → chunk-7WILY2XM.mjs} +2 -2
- package/dist/cli/{chunk-OAF5U6SN.js → chunk-A7THVTRN.js} +51 -51
- package/dist/cli/{chunk-LQ2KVMOD.js → chunk-AGIEKE3L.js} +4 -4
- package/dist/cli/{chunk-X4U763KU.mjs → chunk-BWLXHUKH.mjs} +3 -3
- package/dist/cli/{chunk-54SVGPMK.js → chunk-C7EA2VNR.js} +5 -5
- package/dist/cli/{chunk-YI6TIURR.js → chunk-CNQBCLQP.js} +3 -3
- package/dist/cli/{chunk-GCHTTVC7.mjs → chunk-CTDWQYBW.mjs} +2 -2
- package/dist/cli/{chunk-CXYMJSRQ.mjs → chunk-DSOTGAXS.mjs} +1 -1
- package/dist/cli/{chunk-747ZYPXB.js → chunk-EM2E7YIS.js} +53 -53
- package/dist/cli/{chunk-FLH4D33O.js → chunk-ETTUFFBS.js} +36 -36
- package/dist/cli/{chunk-QI2LOENC.js → chunk-F2XK4UN6.js} +3 -3
- package/dist/cli/{chunk-FPFBYOR6.mjs → chunk-F4L7WMLK.mjs} +2 -2
- package/dist/cli/{chunk-AXTZID4V.js → chunk-F6OB5L74.js} +6 -6
- package/dist/cli/{chunk-ZA6UUGOZ.js → chunk-GDFO3ERN.js} +2 -2
- package/dist/cli/{chunk-EOWMLNCV.mjs → chunk-GLSFZYZB.mjs} +1 -1
- package/dist/cli/{chunk-F52TY2QC.js → chunk-KBNAI5BY.js} +21 -21
- package/dist/cli/{chunk-QWJ3V3GI.js → chunk-MXAB4W6E.js} +8 -8
- package/dist/cli/{chunk-VPCS5KOF.js → chunk-N72VIY7R.js} +2 -2
- package/dist/cli/{chunk-37Z2W7OS.js → chunk-NNCDHMCT.js} +26 -26
- package/dist/cli/{chunk-EXXXRDCC.js → chunk-NSAKJQLX.js} +1 -1
- package/dist/cli/{chunk-2NE3LCEA.js → chunk-ORO2GFH4.js} +5 -5
- package/dist/cli/{chunk-WNS5YEZN.mjs → chunk-PJX7BA7T.mjs} +2 -2
- package/dist/cli/{chunk-54CKAYKK.js → chunk-PWXHZPHK.js} +10 -10
- package/dist/cli/{chunk-NOQRM7LV.mjs → chunk-QG7UPPOK.mjs} +2 -2
- package/dist/cli/{chunk-7PBIHKB4.mjs → chunk-QW6HNDS7.mjs} +1 -1
- package/dist/cli/{chunk-QKGHYF7A.mjs → chunk-RVQ333NB.mjs} +1 -1
- package/dist/cli/{chunk-CHD7NMZD.mjs → chunk-SETIOXN4.mjs} +1 -1
- package/dist/cli/{chunk-F3YSH2CY.mjs → chunk-SHB7BUNQ.mjs} +3 -3
- package/dist/cli/{chunk-UA42Q7R3.mjs → chunk-SOME764Z.mjs} +4 -4
- package/dist/cli/{chunk-PZZNEIE3.mjs → chunk-SV3B6KW4.mjs} +5 -5
- package/dist/cli/{chunk-6PN2RUXL.mjs → chunk-SXQZYTUW.mjs} +1 -1
- package/dist/cli/{chunk-DQHMXKDT.js → chunk-VBKN6ISP.js} +93 -93
- package/dist/cli/{chunk-TVDBGEVP.mjs → chunk-VL7OL7YR.mjs} +1 -1
- package/dist/cli/{chunk-ZJRHPVJU.js → chunk-Y4OE46HH.js} +6 -6
- package/dist/cli/{chunk-DDUCF63F.mjs → chunk-YBDQUVDE.mjs} +10 -10
- package/dist/cli/{chunk-Q7NNU6KB.mjs → chunk-YFKOA4HW.mjs} +4 -4
- package/dist/cli/{chunk-5RXVB6UK.js → chunk-YTFCKCII.js} +3 -3
- package/dist/cli/{csv-H2656YID.mjs → csv-D3JPZVUN.mjs} +4 -4
- package/dist/cli/{csv-EIXI4D7F.js → csv-FSXDIWBP.js} +13 -13
- package/dist/cli/{db-CABNKWAS.mjs → db-3UWDQXLF.mjs} +6 -6
- package/dist/cli/{db-7AQJE7CP.js → db-DZQUPWI3.js} +27 -27
- package/dist/cli/describe-2ENX4O3U.js +48 -0
- package/dist/cli/{describe-5RUFO5ZR.mjs → describe-APG2GVFG.mjs} +17 -17
- package/dist/cli/{executions-OHOBXCPD.js → executions-BFAPMPG2.js} +8 -8
- package/dist/cli/{executions-4GUJEBEC.mjs → executions-TDUX3575.mjs} +6 -6
- package/dist/cli/{feedback-JIJWTK2H.js → feedback-2KNPCYTH.js} +8 -8
- package/dist/cli/{feedback-N3CSL3OV.mjs → feedback-BMV7PUDL.mjs} +4 -4
- package/dist/cli/{git-Z5DTMOAQ.mjs → git-KBVONNE5.mjs} +5 -5
- package/dist/cli/git-LUW3GBSD.js +25 -0
- package/dist/cli/index.js +135 -135
- package/dist/cli/index.mjs +40 -40
- package/dist/cli/{legacy-noops-XTLI64KX.mjs → legacy-noops-GZDRRUFE.mjs} +5 -5
- package/dist/cli/{legacy-noops-ZEJRXMTS.js → legacy-noops-LE6LJO7F.js} +8 -8
- package/dist/cli/{monitors-3MDJEWZB.mjs → monitors-CW22L3VL.mjs} +7 -7
- package/dist/cli/{monitors-E3TTJB3S.js → monitors-PGBHMKOU.js} +91 -91
- package/dist/cli/{org-722NMZ4T.js → org-3V2VAH5D.js} +72 -72
- package/dist/cli/{org-AJUXWQ6P.mjs → org-K5C23LAV.mjs} +6 -6
- package/dist/cli/{pages-CPCWTTPD.js → pages-2F73VVWC.js} +17 -17
- package/dist/cli/{pages-Y6AC7PBJ.mjs → pages-7V2C7GWU.mjs} +6 -6
- package/dist/cli/{play-ACQ54HNN.js → play-62KSZGJQ.js} +304 -304
- package/dist/cli/{play-TYHP7UNL.mjs → play-VT7TPJUH.mjs} +17 -17
- package/dist/cli/{providers-UDG7V7WU.js → providers-3SI3QBT3.js} +9 -9
- package/dist/cli/{providers-BSXILLKJ.mjs → providers-LX562YG7.mjs} +6 -6
- package/dist/cli/{quickstart-ZW7VOPFN.js → quickstart-5HA5IFTB.js} +6 -6
- package/dist/cli/{quickstart-66MNFG2G.mjs → quickstart-ADE7FV26.mjs} +4 -4
- package/dist/cli/{run-KPS3O2VA.js → run-4ZV4UDKP.js} +36 -36
- package/dist/cli/{run-JSAI5PRF.mjs → run-OITZJ6QZ.mjs} +22 -22
- package/dist/cli/{search-GQGB3JIE.mjs → search-BI5VZQMD.mjs} +7 -7
- package/dist/cli/search-PXFM3MGW.js +32 -0
- package/dist/cli/{secrets-LGGKGT3A.mjs → secrets-A2R36AZ6.mjs} +6 -6
- package/dist/cli/{secrets-UVQKUCBM.js → secrets-UAKNTMYB.js} +15 -15
- package/dist/cli/{sessions-MPZ42HUS.js → sessions-3JM3OXME.js} +6 -6
- package/dist/cli/{sessions-JYPDKPVA.mjs → sessions-PPOFUFBW.mjs} +5 -5
- package/dist/cli/{settings-E7VTIIRT.js → settings-C4M5HOD4.js} +78 -78
- package/dist/cli/{settings-5UVSGJ72.mjs → settings-PZA6TBOL.mjs} +11 -11
- package/dist/cli/{setup-FM6VKRER.mjs → setup-245XVTBR.mjs} +9 -9
- package/dist/cli/{setup-NQ5BQ3ZY.js → setup-TY2OSI6D.js} +44 -44
- package/dist/cli/skills-UYNRYDDI.js +31 -0
- package/dist/cli/{skills-WOCXEASX.mjs → skills-ZAN23KLR.mjs} +7 -7
- package/dist/cli/{tools-QZRDZS45.mjs → tools-GG4KDQBM.mjs} +16 -16
- package/dist/cli/tools-OBESOBG7.js +55 -0
- package/dist/cli/update-2VMXTKBN.js +33 -0
- package/dist/cli/{update-OW2FEGGG.mjs → update-XKXIL6DU.mjs} +9 -9
- package/dist/cli/{workflow-QRGUHBKL.mjs → workflow-LVQVTFUJ.mjs} +7 -7
- package/dist/cli/{workflow-QJM2ELOS.js → workflow-VN7M3D2U.js} +17 -17
- 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-MDWIVGZQ.js +0 -41
- package/dist/cli/describe-ODBO2AMO.js +0 -48
- package/dist/cli/git-TWNEROIX.js +0 -25
- package/dist/cli/search-JUXEQ5HQ.js +0 -32
- package/dist/cli/skills-OLIMNV35.js +0 -31
- package/dist/cli/tools-IZNJT6RU.js +0 -55
- package/dist/cli/update-4JVVAYI4.js +0 -33
|
@@ -26,7 +26,7 @@ var _chunkNMU3VR5Ujs = require('./chunk-NMU3VR5U.js');
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkAGIEKE3Ljs = require('./chunk-AGIEKE3L.js');
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
var _chunkALJJRZNJjs = require('./chunk-ALJJRZNJ.js');
|
|
@@ -647,7 +647,7 @@ var ToolCalls = class {
|
|
|
647
647
|
idempotencyKey,
|
|
648
648
|
onResponse: (response2) => {
|
|
649
649
|
lastResponse = null;
|
|
650
|
-
atomicToolsSupported = response2.headers.get(
|
|
650
|
+
atomicToolsSupported = response2.headers.get(_chunkAGIEKE3Ljs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
|
|
651
651
|
recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
|
|
652
652
|
if (_optionalChain([options, 'optionalAccess', _30 => _30.onServerTiming])) {
|
|
653
653
|
try {
|
|
@@ -1026,8 +1026,8 @@ function runtimeSelectionHeaders(runtime, env) {
|
|
|
1026
1026
|
}
|
|
1027
1027
|
const receivers = _optionalChain([env, 'access', _52 => _52.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _53 => _53.trim, 'call', _54 => _54()]);
|
|
1028
1028
|
return {
|
|
1029
|
-
[
|
|
1030
|
-
...receivers ? { [
|
|
1029
|
+
[_chunkAGIEKE3Ljs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
|
|
1030
|
+
...receivers ? { [_chunkAGIEKE3Ljs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
|
|
1031
1031
|
};
|
|
1032
1032
|
}
|
|
1033
1033
|
function normalizeTestPolicyOverrides(value, source) {
|
|
@@ -1098,7 +1098,7 @@ var PlayClient = class {
|
|
|
1098
1098
|
return _chunkJKVRBCZLjs.startPlayRun.call(void 0,
|
|
1099
1099
|
this.http,
|
|
1100
1100
|
resolved.request,
|
|
1101
|
-
_optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(
|
|
1101
|
+
_optionalChain([options, 'optionalAccess', _62 => _62.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunkAGIEKE3Ljs.SDK_API_MAJOR) } : headers,
|
|
1102
1102
|
options
|
|
1103
1103
|
);
|
|
1104
1104
|
}
|
|
@@ -3175,7 +3175,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
|
|
|
3175
3175
|
"RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
|
|
3176
3176
|
);
|
|
3177
3177
|
}
|
|
3178
|
-
return { [
|
|
3178
|
+
return { [_chunkAGIEKE3Ljs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
|
|
3179
3179
|
}
|
|
3180
3180
|
function sleep(ms) {
|
|
3181
3181
|
return new Promise((resolve) => setTimeout(resolve, ms));
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
addDescribeOptions,
|
|
3
3
|
recordApiResponse,
|
|
4
4
|
writeExecutionOutput
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SXQZYTUW.mjs";
|
|
6
6
|
import {
|
|
7
7
|
recentSearchRef,
|
|
8
8
|
registerDeprecatedSearchCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SHB7BUNQ.mjs";
|
|
10
10
|
import {
|
|
11
11
|
arrayField,
|
|
12
12
|
formatModelDescription,
|
|
@@ -48,10 +48,10 @@ import {
|
|
|
48
48
|
} from "./chunk-FIVKWNMT.mjs";
|
|
49
49
|
import {
|
|
50
50
|
DeeplineClient
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-CTDWQYBW.mjs";
|
|
52
52
|
import {
|
|
53
53
|
validateExecutionIdempotencyKey
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-QW6HNDS7.mjs";
|
|
55
55
|
import {
|
|
56
56
|
stableStringify
|
|
57
57
|
} from "./chunk-UBKA33KY.mjs";
|
|
@@ -61,18 +61,18 @@ import {
|
|
|
61
61
|
maybeAutoUpdateAndRelaunch,
|
|
62
62
|
registerCompatibilityCatalog,
|
|
63
63
|
runToolExecuteStage
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-3P4WOCRB.mjs";
|
|
65
65
|
import {
|
|
66
66
|
isCliTraceEnabled,
|
|
67
67
|
recordCliTrace,
|
|
68
68
|
resolveCliMaintenancePolicy
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-RVQ333NB.mjs";
|
|
70
70
|
import {
|
|
71
71
|
checkSdkCompatibility,
|
|
72
72
|
enforceSdkCompatibilityResponse,
|
|
73
73
|
flushDeferredSkillsSyncNotices,
|
|
74
74
|
syncSdkSkillsIfNeeded
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-YFKOA4HW.mjs";
|
|
76
76
|
import {
|
|
77
77
|
printCommandEnvelope,
|
|
78
78
|
printCompactJson,
|
|
@@ -80,12 +80,12 @@ import {
|
|
|
80
80
|
printJsonError,
|
|
81
81
|
renderCommandEnvelopeText,
|
|
82
82
|
shouldEmitJson
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-QG7UPPOK.mjs";
|
|
84
84
|
import {
|
|
85
85
|
readSdkSkillsLocalVersion,
|
|
86
86
|
resolveConfig,
|
|
87
87
|
sdkCliStateDirPath
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-VL7OL7YR.mjs";
|
|
89
89
|
import {
|
|
90
90
|
DeeplineError
|
|
91
91
|
} from "./chunk-HBL4PM5Q.mjs";
|
|
@@ -1038,7 +1038,7 @@ Examples:
|
|
|
1038
1038
|
process.exitCode = await narrowView();
|
|
1039
1039
|
return;
|
|
1040
1040
|
}
|
|
1041
|
-
const { describeAnything } = await import("./describe-
|
|
1041
|
+
const { describeAnything } = await import("./describe-APG2GVFG.mjs");
|
|
1042
1042
|
process.exitCode = await describeAnything(
|
|
1043
1043
|
toolId,
|
|
1044
1044
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getActiveCliProgress
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3XLJPLXZ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_SKILL_AGENTS,
|
|
6
6
|
KNOWN_SKILL_AGENTS,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
sdkCliStateDirPath,
|
|
13
13
|
skillsAgentPathSegment,
|
|
14
14
|
writeSdkSkillsLocalVersion
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VL7OL7YR.mjs";
|
|
16
16
|
import {
|
|
17
17
|
SDK_API_CONTRACT,
|
|
18
18
|
SDK_API_MAJOR,
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
agentSessionIdFromEnvironment,
|
|
21
21
|
deploymentProtectionHeaders,
|
|
22
22
|
detectAgentRuntime
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-SETIOXN4.mjs";
|
|
24
24
|
import {
|
|
25
25
|
DeeplineError
|
|
26
26
|
} from "./chunk-HBL4PM5Q.mjs";
|
|
27
27
|
import {
|
|
28
28
|
SDK_RELEASE
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-DSOTGAXS.mjs";
|
|
30
30
|
|
|
31
31
|
// src/compat.ts
|
|
32
32
|
import { randomUUID } from "crypto";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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; } var _class;
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk57F5VKHVjs = require('./chunk-57F5VKHV.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/progress.ts
|
|
6
6
|
var _worker_threads = require('worker_threads');
|
|
@@ -17,7 +17,7 @@ var CliProgress = (_class = class {
|
|
|
17
17
|
|
|
18
18
|
// --json output is one JSON document: progress never renders under it.
|
|
19
19
|
constructor(enabled) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);_class.prototype.__init8.call(this);
|
|
20
|
-
this.enabled = enabled && !
|
|
20
|
+
this.enabled = enabled && !_chunk57F5VKHVjs.isJsonOutputMode.call(void 0, );
|
|
21
21
|
}
|
|
22
22
|
setLogWriter(writer) {
|
|
23
23
|
this.logWriter = writer;
|
|
@@ -49,7 +49,7 @@ var CliProgress = (_class = class {
|
|
|
49
49
|
this.logWriter(line);
|
|
50
50
|
return;
|
|
51
51
|
}
|
|
52
|
-
if (
|
|
52
|
+
if (_chunk57F5VKHVjs.isJsonOutputMode.call(void 0, )) return;
|
|
53
53
|
if (!this.enabled) {
|
|
54
54
|
process.stderr.write(`${line}
|
|
55
55
|
`);
|
|
@@ -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-QG7UPPOK.mjs";
|
|
8
|
+
import "./chunk-VL7OL7YR.mjs";
|
|
9
|
+
import "./chunk-SETIOXN4.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-DSOTGAXS.mjs";
|
|
14
14
|
import "./chunk-WZYKRD7T.mjs";
|
|
15
15
|
import "./chunk-KRD6H754.mjs";
|
|
16
16
|
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
7
|
+
var _chunk57F5VKHVjs = require('./chunk-57F5VKHV.js');
|
|
8
|
+
require('./chunk-CNQBCLQP.js');
|
|
9
|
+
require('./chunk-AGIEKE3L.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-NSAKJQLX.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 : _chunk57F5VKHVjs.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 : _chunk57F5VKHVjs.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 = _chunk57F5VKHVjs.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
|
+
_chunk57F5VKHVjs.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(_chunk57F5VKHVjs.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
|
+
_chunk57F5VKHVjs.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
|
+
${_chunk57F5VKHVjs.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
|
+
_chunk57F5VKHVjs.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
|
+
_chunk57F5VKHVjs.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"));
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-OVDNJAJN.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DeeplineClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CTDWQYBW.mjs";
|
|
7
7
|
import {
|
|
8
8
|
planCustomerDbQuery
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QW6HNDS7.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-QG7UPPOK.mjs";
|
|
24
|
+
import "./chunk-VL7OL7YR.mjs";
|
|
25
|
+
import "./chunk-SETIOXN4.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-DSOTGAXS.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 _chunkORO2GFH4js = require('./chunk-ORO2GFH4.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkY4OE46HHjs = require('./chunk-Y4OE46HH.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 _chunk57F5VKHVjs = require('./chunk-57F5VKHV.js');
|
|
24
|
+
require('./chunk-CNQBCLQP.js');
|
|
25
|
+
require('./chunk-AGIEKE3L.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-NSAKJQLX.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 = _chunk57F5VKHVjs.dataExportRows.call(void 0, customerDbRows(result));
|
|
57
|
+
const responseColumns = _chunk57F5VKHVjs.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 _chunk57F5VKHVjs.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
|
+
_chunk57F5VKHVjs.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 || _chunk57F5VKHVjs.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
|
+
_chunk57F5VKHVjs.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
|
+
_chunk57F5VKHVjs.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: _chunk57F5VKHVjs.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 = _chunk57F5VKHVjs.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
|
+
_chunk57F5VKHVjs.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
|
+
_chunk57F5VKHVjs.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
|
+
_chunk57F5VKHVjs.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 = _chunkY4OE46HHjs.planCustomerDbQuery.call(void 0, query);
|
|
356
356
|
if (options.dryRun) {
|
|
357
|
-
|
|
357
|
+
_chunk57F5VKHVjs.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 || _chunk57F5VKHVjs.shouldEmitJson.call(void 0, ) }
|
|
371
371
|
);
|
|
372
372
|
return 0;
|
|
373
373
|
}
|
|
374
|
-
const client = new (0,
|
|
374
|
+
const client = new (0, _chunkORO2GFH4js.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 || _chunk57F5VKHVjs.shouldEmitJson.call(void 0, ))) {
|
|
384
|
+
_chunk57F5VKHVjs.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 = _chunk57F5VKHVjs.argsWantJson.call(void 0, args);
|
|
433
|
+
const client = new (0, _chunkORO2GFH4js.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
|
+
_chunk57F5VKHVjs.printCommandEnvelope.call(void 0,
|
|
450
450
|
{
|
|
451
451
|
command: "db repair",
|
|
452
452
|
status: result.status,
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkPWXHZPHKjs = require('./chunk-PWXHZPHK.js');
|
|
7
|
+
require('./chunk-VBKN6ISP.js');
|
|
8
|
+
require('./chunk-F2XK4UN6.js');
|
|
9
|
+
require('./chunk-4BQQ3Q3J.js');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
var _chunkT5GRG37Bjs = require('./chunk-T5GRG37B.js');
|
|
13
|
+
require('./chunk-V6OMS7E2.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-ORO2GFH4.js');
|
|
20
|
+
require('./chunk-NPZBE64X.js');
|
|
21
|
+
require('./chunk-Y4OE46HH.js');
|
|
22
|
+
require('./chunk-E4CABWXL.js');
|
|
23
|
+
require('./chunk-JKVRBCZL.js');
|
|
24
|
+
require('./chunk-NMU3VR5U.js');
|
|
25
|
+
require('./chunk-XDVT3GOM.js');
|
|
26
|
+
require('./chunk-KBNAI5BY.js');
|
|
27
|
+
require('./chunk-6R5UKWRW.js');
|
|
28
|
+
require('./chunk-N72VIY7R.js');
|
|
29
|
+
require('./chunk-ETTUFFBS.js');
|
|
30
|
+
require('./chunk-GDFO3ERN.js');
|
|
31
|
+
require('./chunk-EM2E7YIS.js');
|
|
32
|
+
require('./chunk-YTFCKCII.js');
|
|
33
|
+
require('./chunk-57F5VKHV.js');
|
|
34
|
+
require('./chunk-CNQBCLQP.js');
|
|
35
|
+
require('./chunk-AGIEKE3L.js');
|
|
36
|
+
require('./chunk-ALJJRZNJ.js');
|
|
37
|
+
require('./chunk-XNYIZMNQ.js');
|
|
38
|
+
require('./chunk-DIAWYWT5.js');
|
|
39
|
+
require('./chunk-NSAKJQLX.js');
|
|
40
|
+
require('./chunk-OG64RBAC.js');
|
|
41
|
+
require('./chunk-COGTRVWW.js');
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
exports.DEEPLINE_NAMESPACE = _chunkT5GRG37Bjs.DEEPLINE_NAMESPACE; exports.describeAnything = _chunkPWXHZPHKjs.describeAnything; exports.findNamed = _chunkPWXHZPHKjs.findNamed; exports.nothingNamed = _chunkPWXHZPHKjs.nothingNamed; exports.registerDescribeCommand = _chunkPWXHZPHKjs.registerDescribeCommand;
|
|
@@ -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-6B7XLHIE.mjs";
|
|
7
|
+
import "./chunk-YBDQUVDE.mjs";
|
|
8
|
+
import "./chunk-SXQZYTUW.mjs";
|
|
9
|
+
import "./chunk-SHB7BUNQ.mjs";
|
|
10
10
|
import {
|
|
11
11
|
DEEPLINE_NAMESPACE
|
|
12
12
|
} from "./chunk-X3RAGNNZ.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-CTDWQYBW.mjs";
|
|
20
20
|
import "./chunk-3RGWTKK3.mjs";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-QW6HNDS7.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-3P4WOCRB.mjs";
|
|
27
|
+
import "./chunk-SV3B6KW4.mjs";
|
|
28
|
+
import "./chunk-GLSFZYZB.mjs";
|
|
29
|
+
import "./chunk-SOME764Z.mjs";
|
|
30
|
+
import "./chunk-RVQ333NB.mjs";
|
|
31
|
+
import "./chunk-YFKOA4HW.mjs";
|
|
32
|
+
import "./chunk-3XLJPLXZ.mjs";
|
|
33
|
+
import "./chunk-QG7UPPOK.mjs";
|
|
34
|
+
import "./chunk-VL7OL7YR.mjs";
|
|
35
|
+
import "./chunk-SETIOXN4.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-DSOTGAXS.mjs";
|
|
40
40
|
import "./chunk-WZYKRD7T.mjs";
|
|
41
41
|
import "./chunk-KRD6H754.mjs";
|
|
42
42
|
export {
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var _chunkORO2GFH4js = require('./chunk-ORO2GFH4.js');
|
|
4
|
+
require('./chunk-Y4OE46HH.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 _chunk57F5VKHVjs = require('./chunk-57F5VKHV.js');
|
|
12
|
+
require('./chunk-CNQBCLQP.js');
|
|
13
|
+
require('./chunk-AGIEKE3L.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-NSAKJQLX.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, _chunkORO2GFH4js.DeeplineClient)().executions.getByKey(
|
|
26
26
|
options.idempotencyKey
|
|
27
27
|
);
|
|
28
|
-
|
|
28
|
+
_chunk57F5VKHVjs.printCommandEnvelope.call(void 0, result, { json: true });
|
|
29
29
|
});
|
|
30
30
|
}
|
|
31
31
|
|