deepline 0.3.538 → 0.3.540
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/integration-contracts/billing-entitlements.ts +10 -0
- package/dist/bundling-sources/shared_libs/play-runtime/activity-observation.ts +8 -4
- package/dist/bundling-sources/shared_libs/play-runtime/app-runtime-api.ts +8 -1
- package/dist/bundling-sources/shared_libs/play-runtime/baked-runner-image.ts +66 -4
- package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +2 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-app/index.ts +0 -4
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +14 -5
- package/dist/bundling-sources/shared_libs/play-runtime/runtime-speed-profile.ts +136 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backend.ts +7 -0
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-execution-queries.ts +2 -2
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-pool.ts +20 -7
- package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +30 -11
- package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +1 -1
- package/dist/cli/{auth-KYH7N7RQ.mjs → auth-32TURPHH.mjs} +5 -5
- package/dist/cli/auth-XA3K5LH2.js +43 -0
- package/dist/cli/{billing-4KTUVZ4S.js → billing-6433M4BX.js} +105 -94
- package/dist/cli/{billing-WK346KAI.mjs → billing-NSH3NOHV.mjs} +21 -10
- package/dist/cli/{chunk-KCUQNH4K.js → chunk-2U4VACUA.js} +2 -2
- package/dist/cli/{chunk-6JG3MRTM.mjs → chunk-37VFUQMU.mjs} +2 -2
- package/dist/cli/chunk-3GVIVIER.js +54 -0
- package/dist/cli/{chunk-M3NCXGNN.mjs → chunk-AB6DFHGL.mjs} +2 -2
- package/dist/cli/{chunk-LPTBHNGB.js → chunk-AJVK4XC5.js} +4 -4
- package/dist/cli/{chunk-B2BTBHX2.js → chunk-AOYW62XO.js} +3 -3
- package/dist/cli/{chunk-UE7JHAZ2.mjs → chunk-B6UZUQ2O.mjs} +1 -1
- package/dist/cli/{chunk-JTOV5RUA.mjs → chunk-BD3VAPB4.mjs} +1 -1
- package/dist/cli/{chunk-ESX3H7Q7.js → chunk-BGBRA2S6.js} +22 -22
- package/dist/cli/{chunk-25RGHJQL.js → chunk-BNNGM2E5.js} +15 -15
- package/dist/cli/{chunk-VCHV4LS3.mjs → chunk-BZVVSUE2.mjs} +1 -1
- package/dist/cli/{chunk-YQURGSRB.js → chunk-DV3ESQ4X.js} +1 -1
- package/dist/cli/{chunk-ICTA5ICE.mjs → chunk-DWE2VE5I.mjs} +1 -1
- package/dist/cli/{chunk-34PLG5OE.js → chunk-EXAXDEIF.js} +13 -13
- package/dist/cli/chunk-FANIRW74.mjs +9 -0
- package/dist/cli/{chunk-JPEBKN3K.mjs → chunk-FR3AII3W.mjs} +2 -2
- package/dist/cli/chunk-GWHA4DAC.js +9 -0
- package/dist/cli/{chunk-VIFLWQXS.js → chunk-H6IA6XRE.js} +2 -2
- package/dist/cli/{chunk-JCLRSMUP.js → chunk-HKWJD45V.js} +5 -5
- package/dist/cli/{chunk-7XDJKIM2.mjs → chunk-HLHDCFKL.mjs} +4 -4
- package/dist/cli/{chunk-E7D37PLM.mjs → chunk-IDDKNMFX.mjs} +36 -0
- package/dist/cli/{chunk-35OCRH5C.mjs → chunk-IYQZVEV4.mjs} +5 -5
- package/dist/cli/{chunk-6SLQLWWL.js → chunk-J3TAEPFA.js} +26 -26
- package/dist/cli/{chunk-FJ5KPGCS.mjs → chunk-JGFGWWOF.mjs} +10 -10
- package/dist/cli/{chunk-4NEOGPKD.mjs → chunk-JPU5YLQG.mjs} +1 -1
- package/dist/cli/{chunk-4KZF6OYY.mjs → chunk-KFAJYK2N.mjs} +3 -3
- package/dist/cli/chunk-KN6ELDPL.mjs +54 -0
- package/dist/cli/{chunk-UEZNIPFO.js → chunk-LPMI4CYW.js} +107 -107
- package/dist/cli/{chunk-BBS2BLPV.js → chunk-LXLCQP4A.js} +16 -16
- package/dist/cli/{chunk-MYSPQUAO.js → chunk-M4DB6BBP.js} +44 -44
- package/dist/cli/{chunk-ZDLDCXY3.mjs → chunk-MH22LQKZ.mjs} +2 -2
- package/dist/cli/{chunk-OOLBE6FR.js → chunk-MLDLN6WG.js} +53 -53
- package/dist/cli/{chunk-IMLFB66A.js → chunk-MVIVF4BW.js} +3 -3
- package/dist/cli/{chunk-MNBIGX6O.js → chunk-N6DMKVKO.js} +10 -10
- package/dist/cli/{chunk-TWWYCJJW.mjs → chunk-PJOMRUFP.mjs} +5 -5
- package/dist/cli/{chunk-KNIYEZVV.mjs → chunk-S3ULSGFH.mjs} +2 -2
- package/dist/cli/{chunk-FWE37N2P.mjs → chunk-SGMDRYAD.mjs} +1 -1
- package/dist/cli/{chunk-ZU6JBRV5.mjs → chunk-SINNEITW.mjs} +4 -4
- package/dist/cli/{chunk-ALARRSMZ.mjs → chunk-SXVYFOBG.mjs} +3 -3
- package/dist/cli/{chunk-5VSPRRTI.js → chunk-TNUM4DFA.js} +7 -7
- package/dist/cli/{chunk-T6GPTJ5F.mjs → chunk-TZVW5JH3.mjs} +1 -1
- package/dist/cli/{chunk-N5HSG4OV.js → chunk-UJYX4VLX.js} +5 -5
- package/dist/cli/{chunk-XTYHZEJ2.js → chunk-V4EYJKGJ.js} +36 -0
- package/dist/cli/{chunk-PQKD5DMT.js → chunk-VAOGM5VS.js} +19 -19
- package/dist/cli/{chunk-A6E7TCK2.mjs → chunk-WCM64BRH.mjs} +5 -5
- package/dist/cli/{chunk-P3DP56HB.js → chunk-WDHHQEWQ.js} +41 -41
- package/dist/cli/{chunk-ADLDU2QG.js → chunk-WHYNYL3M.js} +6 -6
- package/dist/cli/{chunk-3I5TU5XE.js → chunk-XIIQNSWA.js} +8 -8
- package/dist/cli/{chunk-YZ2ZPHWR.js → chunk-XL3CEPZA.js} +9 -9
- package/dist/cli/{chunk-CLO562KG.mjs → chunk-XYM3SQZN.mjs} +1 -1
- package/dist/cli/{chunk-IP3XJTWA.mjs → chunk-Y6647AIY.mjs} +2 -2
- package/dist/cli/{chunk-4WQR4DG4.mjs → chunk-Z2OYTXLK.mjs} +1 -1
- package/dist/cli/{chunk-N2BCPZVR.mjs → chunk-ZJFU2COM.mjs} +5 -5
- package/dist/cli/{chunk-O765M4LT.js → chunk-ZTJQKHLM.js} +2 -2
- package/dist/cli/command-docs.js +3 -2
- package/dist/cli/command-docs.mjs +2 -1
- package/dist/cli/concurrent-runs-help-DU5STFGB.mjs +21 -0
- package/dist/cli/concurrent-runs-help-HIPM5BBV.js +21 -0
- package/dist/cli/{csv-LM7FBECI.js → csv-FBNS6SM3.js} +13 -13
- package/dist/cli/{csv-2YKLUKDR.mjs → csv-OJCMBODT.mjs} +4 -4
- package/dist/cli/{db-234UBWJH.mjs → db-43RQRF64.mjs} +6 -6
- package/dist/cli/{db-5PMA4IVW.js → db-XRGJJ2KA.js} +27 -27
- package/dist/cli/{describe-W26LW5O7.mjs → describe-I42Y3PWR.mjs} +17 -17
- package/dist/cli/describe-LWZCGAXU.js +49 -0
- package/dist/cli/describe-core.d.mts +3 -3
- package/dist/cli/describe-core.d.ts +3 -3
- package/dist/cli/{executions-3S736GXX.js → executions-LH46O4PG.js} +8 -8
- package/dist/cli/{executions-GD7GXTJM.mjs → executions-QXGVQHQF.mjs} +6 -6
- package/dist/cli/{feedback-GBV5HJJZ.mjs → feedback-ELFINGTM.mjs} +6 -6
- package/dist/cli/{feedback-BUWTDY4R.js → feedback-ERYIV6MT.js} +14 -14
- package/dist/cli/git-OV2TGYVE.js +25 -0
- package/dist/cli/{git-YXJGTDQL.mjs → git-V2XWB6LN.mjs} +5 -5
- package/dist/cli/index.js +153 -143
- package/dist/cli/index.mjs +53 -43
- package/dist/cli/{legacy-noops-UJM6GBNP.mjs → legacy-noops-ULL2EA37.mjs} +6 -6
- package/dist/cli/{legacy-noops-ZSF64V2U.js → legacy-noops-Y3OKNVWH.js} +9 -9
- package/dist/cli/{monitors-XQ2GNH6D.js → monitors-DNQXCRJZ.js} +100 -100
- package/dist/cli/{monitors-UERUQ6CT.mjs → monitors-L34NROM3.mjs} +7 -7
- package/dist/cli/{org-IF6MPVNR.js → org-JETA62CO.js} +86 -86
- package/dist/cli/{org-CP4VLH6M.mjs → org-L3HTEEXL.mjs} +6 -6
- package/dist/cli/{play-2NHQO5MO.js → play-GTGJRNWI.js} +473 -455
- package/dist/cli/{play-ZWDYYVPI.mjs → play-JHGLSSJP.mjs} +35 -17
- package/dist/cli/{providers-LOPXQN56.js → providers-7VH7PH2Q.js} +9 -9
- package/dist/cli/{providers-2CVIATU4.mjs → providers-IQVHZJ27.mjs} +6 -6
- package/dist/cli/{quickstart-N4WDEQZY.js → quickstart-M25JNU3O.js} +6 -6
- package/dist/cli/{quickstart-KVCFXLID.mjs → quickstart-ZDBC45PM.mjs} +4 -4
- package/dist/cli/{run-BDT5LK3I.js → run-MPZGX3YD.js} +42 -42
- package/dist/cli/{run-RUXHYWLF.mjs → run-NEEWZBTX.mjs} +22 -22
- package/dist/cli/search-HUN2YRQE.js +32 -0
- package/dist/cli/{search-BFUTNPA5.mjs → search-YXAFB4QQ.mjs} +7 -7
- package/dist/cli/{search-output-CTXI2QZU.js → search-output-4PH5HSJC.js} +6 -6
- package/dist/cli/{search-output-WUGH4PZA.mjs → search-output-67BBIXIZ.mjs} +4 -4
- package/dist/cli/{secrets-Z4XQVTC6.mjs → secrets-445FER3C.mjs} +6 -6
- package/dist/cli/{secrets-BZJZYFOU.js → secrets-HLUBDN3H.js} +15 -15
- package/dist/cli/{sessions-VZXR3MQZ.mjs → sessions-CCKXJNWT.mjs} +6 -6
- package/dist/cli/sessions-T2RNWC6B.js +22 -0
- package/dist/cli/{settings-VYEZFR4L.mjs → settings-3XCZGGVF.mjs} +12 -12
- package/dist/cli/{settings-WBYA4JMM.js → settings-WXJIQS5J.js} +85 -85
- package/dist/cli/{setup-FS2RMSS2.js → setup-CKETRFFN.js} +49 -49
- package/dist/cli/{setup-H7KCI4SO.mjs → setup-TOSX6NER.mjs} +9 -9
- package/dist/cli/skills-FXM2RHHO.js +36 -0
- package/dist/cli/{skills-YQNSJUUG.mjs → skills-Q7NLCIJJ.mjs} +7 -7
- package/dist/cli/{tools-ZF6SVEGW.mjs → tools-GY6QMYTZ.mjs} +16 -16
- package/dist/cli/tools-XLVDZTWQ.js +56 -0
- package/dist/cli/{update-RKQNNJM4.mjs → update-A7JRUN4S.mjs} +9 -9
- package/dist/cli/update-AZINHILP.js +34 -0
- package/dist/cli/{views-KN7FEDGT.js → views-GUWC4SNI.js} +21 -21
- package/dist/cli/{views-JHHOTWDU.mjs → views-JG7FDEJR.mjs} +6 -6
- package/dist/cli/{workflow-2WHSKTTV.js → workflow-CXNW7ICH.js} +17 -17
- package/dist/cli/{workflow-AAYLCLWA.mjs → workflow-QZCYSQ5G.mjs} +7 -7
- package/dist/{client-DZTnAv4B.d.ts → client-B1fixtK1.d.ts} +1 -1
- package/dist/{client-D0uDBybG.d.mts → client-CE4QBVbp.d.mts} +1 -1
- package/dist/{client-core-BhWf8Y1b.d.mts → client-core-2BkNBgrx.d.mts} +3 -1
- package/dist/{client-core-og3AP1LL.d.ts → client-core-C-3FVlVq.d.ts} +3 -1
- package/dist/{compiler-manifest-Bes3OVA3.d.mts → compiler-manifest-Cys06iYg.d.mts} +14 -0
- package/dist/{compiler-manifest-Bes3OVA3.d.ts → compiler-manifest-Cys06iYg.d.ts} +14 -0
- package/dist/{errors-Dc5r42ks.d.mts → errors-B6eMjKcr.d.mts} +1 -1
- package/dist/{errors-BJm4lLWc.d.ts → errors-rdOUqcU2.d.ts} +1 -1
- package/dist/{index-DTkiz_Ur.d.mts → index-CZdYO81A.d.mts} +1 -1
- package/dist/{index-BfV7mRPF.d.ts → index-ejWadAL5.d.ts} +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +119 -112
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/bundle-play-file.mjs +1 -1
- package/dist/plays/play-description.d.mts +2 -2
- package/dist/plays/play-description.d.ts +2 -2
- package/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +2 -2
- 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.d.mts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-4WEVLYK4.js +0 -43
- package/dist/cli/describe-C7GOSGYB.js +0 -49
- package/dist/cli/git-YG36MROC.js +0 -25
- package/dist/cli/search-ATDDVADT.js +0 -32
- package/dist/cli/sessions-HNU35AFM.js +0 -22
- package/dist/cli/skills-VPIURCAZ.js +0 -36
- package/dist/cli/tools-273GS5HU.js +0 -56
- package/dist/cli/update-TOD3XY55.js +0 -34
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkXIIQNSWAjs = require('./chunk-XIIQNSWA.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
var _chunkCQDQNZGHjs = require('./chunk-CQDQNZGH.js');
|
|
@@ -11,7 +11,7 @@ var _chunkCQDQNZGHjs = require('./chunk-CQDQNZGH.js');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkVAOGM5VSjs = require('./chunk-VAOGM5VS.js');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
var _chunkBBTKAASQjs = require('./chunk-BBTKAASQ.js');
|
|
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
|
|
|
581
581
|
return raw;
|
|
582
582
|
}
|
|
583
583
|
function parsePlayRunOptions(args, initialInput = null) {
|
|
584
|
-
const selection =
|
|
584
|
+
const selection = _chunkVAOGM5VSjs.parseJsonFields.call(void 0, args, "run");
|
|
585
585
|
args = selection.args;
|
|
586
586
|
const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and deepline.dataset guidance.";
|
|
587
587
|
let filePath = null;
|
|
@@ -593,7 +593,7 @@ function parsePlayRunOptions(args, initialInput = null) {
|
|
|
593
593
|
let revisionSelector = null;
|
|
594
594
|
const watch = !args.includes("--no-wait");
|
|
595
595
|
const dryRun = args.includes("--dry-run");
|
|
596
|
-
let jsonOutput = dryRun ?
|
|
596
|
+
let jsonOutput = dryRun ? _chunkVAOGM5VSjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkVAOGM5VSjs.argsWantJson.call(void 0, args);
|
|
597
597
|
const fullJson = args.includes("--full");
|
|
598
598
|
const force = args.includes("--force") || args.includes("--from-start");
|
|
599
599
|
const forceToolRefresh = args.includes("--force-tool-refresh") || args.includes("--refresh-cache");
|
|
@@ -656,7 +656,7 @@ function parsePlayRunOptions(args, initialInput = null) {
|
|
|
656
656
|
"--log-level requires one of: debug, info, warn, error."
|
|
657
657
|
);
|
|
658
658
|
}
|
|
659
|
-
const parsed =
|
|
659
|
+
const parsed = _chunkXIIQNSWAjs.parseLogLevel.call(void 0, value);
|
|
660
660
|
if (!parsed) {
|
|
661
661
|
throw new Error(
|
|
662
662
|
`Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
|
|
@@ -974,7 +974,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
|
|
|
974
974
|
const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
|
|
975
975
|
(arg) => arg === "--log-level" || arg.startsWith("--log-level=")
|
|
976
976
|
);
|
|
977
|
-
let logLevel = options.logLevel === void 0 ? base.logLevel :
|
|
977
|
+
let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkXIIQNSWAjs.parseLogLevel.call(void 0, options.logLevel);
|
|
978
978
|
if (!logLevel)
|
|
979
979
|
throw new Error("--log-level requires one of: debug, info, warn, error.");
|
|
980
980
|
const debugAlias = options.logs || options.debug === true || inputArgs.some(
|
|
@@ -988,13 +988,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
|
|
|
988
988
|
if (debugAlias || debugMapLatency && logLevel === "info")
|
|
989
989
|
logLevel = "debug";
|
|
990
990
|
const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
|
|
991
|
-
const jsonFields = options.json === void 0 ? base.jsonFields :
|
|
992
|
-
[...fullJson ? ["--full"] : [], ...
|
|
991
|
+
const jsonFields = options.json === void 0 ? base.jsonFields : _chunkVAOGM5VSjs.parseJsonFields.call(void 0,
|
|
992
|
+
[...fullJson ? ["--full"] : [], ..._chunkVAOGM5VSjs.jsonFieldArgs.call(void 0, options.json)],
|
|
993
993
|
"run"
|
|
994
994
|
).fields;
|
|
995
995
|
const watch = options.wait === false ? false : base.watch;
|
|
996
996
|
const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
|
|
997
|
-
const jsonOutput = dryRun || !watch ? explicitJson ||
|
|
997
|
+
const jsonOutput = dryRun || !watch ? explicitJson || _chunkVAOGM5VSjs.argsWantJson.call(void 0, []) : explicitJson;
|
|
998
998
|
const verboseLogs = Boolean(
|
|
999
999
|
debugAlias || logLevel === "debug" || debugMapLatency
|
|
1000
1000
|
);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PlayClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-B6UZUQ2O.mjs";
|
|
4
4
|
import {
|
|
5
5
|
HttpClient,
|
|
6
6
|
resolveConfig
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DWE2VE5I.mjs";
|
|
8
8
|
|
|
9
9
|
// src/plays/local-play-execution.ts
|
|
10
10
|
function importedNodes(graph) {
|
|
@@ -4,21 +4,21 @@ import {
|
|
|
4
4
|
resolveUpdatePlan,
|
|
5
5
|
runAutomaticUpdatePlan,
|
|
6
6
|
shouldRunCliAutoUpdate
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IYQZVEV4.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isCiEnvironment,
|
|
10
10
|
syncSdkSkillsIfNeeded
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-PJOMRUFP.mjs";
|
|
12
12
|
import {
|
|
13
13
|
addJsonNotice,
|
|
14
14
|
isJsonOutputMode
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-37VFUQMU.mjs";
|
|
16
16
|
import {
|
|
17
17
|
resolveApiKeyForBaseUrl
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DWE2VE5I.mjs";
|
|
19
19
|
import {
|
|
20
20
|
SDK_VERSION
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-XYM3SQZN.mjs";
|
|
22
22
|
|
|
23
23
|
// src/cli/compatibility-catalog.ts
|
|
24
24
|
var readers = /* @__PURE__ */ new WeakMap();
|
|
@@ -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; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkVAOGM5VSjs = require('./chunk-VAOGM5VS.js');
|
|
4
4
|
|
|
5
5
|
// src/cli/feedback-preferences.ts
|
|
6
6
|
|
|
@@ -57,7 +57,7 @@ function rejectRestrictedFeedback(options) {
|
|
|
57
57
|
const code = restriction === "off" ? "FEEDBACK_DISABLED" : "FEEDBACK_APPROVAL_REQUIRED";
|
|
58
58
|
const message = restriction === "off" ? 'Feedback is in mode "off". Do not ask the user if they want to send feedback. Use --requested only if they explicitly request it without being prompted.' : "Ask the user if they wish to send feedback. If they agree, rerun the send command with --requested. To change the setting, run deepline settings feedback --help. Agents must get user approval before turning feedback on.";
|
|
59
59
|
if (options.json) {
|
|
60
|
-
|
|
60
|
+
_chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
|
|
61
61
|
{ ok: false, code, exitCode: 2, message },
|
|
62
62
|
{ json: true }
|
|
63
63
|
);
|
package/dist/cli/command-docs.js
CHANGED
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkV4EYJKGJjs = require('./chunk-V4EYJKGJ.js');
|
|
11
|
+
require('./chunk-GWHA4DAC.js');
|
|
11
12
|
require('./chunk-R7J7CJPZ.js');
|
|
12
13
|
require('./chunk-YGCKMI5P.js');
|
|
13
14
|
require('./chunk-COGTRVWW.js');
|
|
@@ -20,4 +21,4 @@ require('./chunk-COGTRVWW.js');
|
|
|
20
21
|
|
|
21
22
|
|
|
22
23
|
|
|
23
|
-
exports.CLI_DOC_SURFACE =
|
|
24
|
+
exports.CLI_DOC_SURFACE = _chunkV4EYJKGJjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkV4EYJKGJjs.COMMAND_DOCS; exports.PLAY_RUNTIME_PRICING_NOTE = _chunkV4EYJKGJjs.PLAY_RUNTIME_PRICING_NOTE; exports.commandDocKey = _chunkV4EYJKGJjs.commandDocKey; exports.helpDetailFromArgv = _chunkV4EYJKGJjs.helpDetailFromArgv; exports.renderActionExplanation = _chunkV4EYJKGJjs.renderActionExplanation; exports.renderCommandExplanation = _chunkV4EYJKGJjs.renderCommandExplanation; exports.renderDocText = _chunkV4EYJKGJjs.renderDocText;
|
|
@@ -7,7 +7,8 @@ import {
|
|
|
7
7
|
renderActionExplanation,
|
|
8
8
|
renderCommandExplanation,
|
|
9
9
|
renderDocText
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-IDDKNMFX.mjs";
|
|
11
|
+
import "./chunk-FANIRW74.mjs";
|
|
11
12
|
import "./chunk-5LUF4LAR.mjs";
|
|
12
13
|
import "./chunk-7I4B6V2S.mjs";
|
|
13
14
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CONCURRENT_RUNS_HELP_COMMANDS,
|
|
3
|
+
concurrentRunsHelpStatus,
|
|
4
|
+
concurrentRunsLine
|
|
5
|
+
} from "./chunk-KN6ELDPL.mjs";
|
|
6
|
+
import "./chunk-SXVYFOBG.mjs";
|
|
7
|
+
import "./chunk-FANIRW74.mjs";
|
|
8
|
+
import "./chunk-37VFUQMU.mjs";
|
|
9
|
+
import "./chunk-DWE2VE5I.mjs";
|
|
10
|
+
import "./chunk-XYM3SQZN.mjs";
|
|
11
|
+
import "./chunk-CQBIO6HW.mjs";
|
|
12
|
+
import "./chunk-DLIRSHV6.mjs";
|
|
13
|
+
import "./chunk-JL2OTMSG.mjs";
|
|
14
|
+
import "./chunk-TZVW5JH3.mjs";
|
|
15
|
+
import "./chunk-WZYKRD7T.mjs";
|
|
16
|
+
import "./chunk-KRD6H754.mjs";
|
|
17
|
+
export {
|
|
18
|
+
CONCURRENT_RUNS_HELP_COMMANDS,
|
|
19
|
+
concurrentRunsHelpStatus,
|
|
20
|
+
concurrentRunsLine
|
|
21
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunk3GVIVIERjs = require('./chunk-3GVIVIER.js');
|
|
6
|
+
require('./chunk-MLDLN6WG.js');
|
|
7
|
+
require('./chunk-GWHA4DAC.js');
|
|
8
|
+
require('./chunk-VAOGM5VS.js');
|
|
9
|
+
require('./chunk-MVIVF4BW.js');
|
|
10
|
+
require('./chunk-AJVK4XC5.js');
|
|
11
|
+
require('./chunk-2GJZLIKW.js');
|
|
12
|
+
require('./chunk-XNYIZMNQ.js');
|
|
13
|
+
require('./chunk-BBTKAASQ.js');
|
|
14
|
+
require('./chunk-DV3ESQ4X.js');
|
|
15
|
+
require('./chunk-OG64RBAC.js');
|
|
16
|
+
require('./chunk-COGTRVWW.js');
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
exports.CONCURRENT_RUNS_HELP_COMMANDS = _chunk3GVIVIERjs.CONCURRENT_RUNS_HELP_COMMANDS; exports.concurrentRunsHelpStatus = _chunk3GVIVIERjs.concurrentRunsHelpStatus; exports.concurrentRunsLine = _chunk3GVIVIERjs.concurrentRunsLine;
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
7
|
+
var _chunkVAOGM5VSjs = require('./chunk-VAOGM5VS.js');
|
|
8
|
+
require('./chunk-MVIVF4BW.js');
|
|
9
|
+
require('./chunk-AJVK4XC5.js');
|
|
10
10
|
require('./chunk-2GJZLIKW.js');
|
|
11
11
|
require('./chunk-XNYIZMNQ.js');
|
|
12
12
|
require('./chunk-BBTKAASQ.js');
|
|
13
|
-
require('./chunk-
|
|
13
|
+
require('./chunk-DV3ESQ4X.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 : _chunkVAOGM5VSjs.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 : _chunkVAOGM5VSjs.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 = _chunkVAOGM5VSjs.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
|
+
_chunkVAOGM5VSjs.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(_chunkVAOGM5VSjs.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
|
+
_chunkVAOGM5VSjs.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
|
+
${_chunkVAOGM5VSjs.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
|
+
_chunkVAOGM5VSjs.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
|
+
_chunkVAOGM5VSjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
|
|
529
529
|
}
|
|
530
530
|
async function handleCsvRender(action, options) {
|
|
531
531
|
const normalized = _nullishCoalesce(action, () => ( "start"));
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
printCommandEnvelope,
|
|
5
5
|
printJson,
|
|
6
6
|
readCsvRows
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-37VFUQMU.mjs";
|
|
8
|
+
import "./chunk-DWE2VE5I.mjs";
|
|
9
|
+
import "./chunk-XYM3SQZN.mjs";
|
|
10
10
|
import "./chunk-CQBIO6HW.mjs";
|
|
11
11
|
import "./chunk-DLIRSHV6.mjs";
|
|
12
12
|
import "./chunk-JL2OTMSG.mjs";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-TZVW5JH3.mjs";
|
|
14
14
|
import "./chunk-WZYKRD7T.mjs";
|
|
15
15
|
import "./chunk-KRD6H754.mjs";
|
|
16
16
|
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-OVDNJAJN.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DeeplineClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AB6DFHGL.mjs";
|
|
7
7
|
import {
|
|
8
8
|
planCustomerDbQuery
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-B6UZUQ2O.mjs";
|
|
10
10
|
import "./chunk-L2VKAASU.mjs";
|
|
11
11
|
import "./chunk-Z2XA6YU4.mjs";
|
|
12
12
|
import "./chunk-PSX3WHIH.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-37VFUQMU.mjs";
|
|
24
|
+
import "./chunk-DWE2VE5I.mjs";
|
|
25
|
+
import "./chunk-XYM3SQZN.mjs";
|
|
26
26
|
import {
|
|
27
27
|
CustomerDbQueryOutcomeUnknownError
|
|
28
28
|
} from "./chunk-CQBIO6HW.mjs";
|
|
@@ -30,7 +30,7 @@ import "./chunk-DLIRSHV6.mjs";
|
|
|
30
30
|
import {
|
|
31
31
|
DeeplineError
|
|
32
32
|
} from "./chunk-JL2OTMSG.mjs";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-TZVW5JH3.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 _chunkUJYX4VLXjs = require('./chunk-UJYX4VLX.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkXIIQNSWAjs = require('./chunk-XIIQNSWA.js');
|
|
10
10
|
require('./chunk-E4CABWXL.js');
|
|
11
11
|
require('./chunk-CQDQNZGH.js');
|
|
12
12
|
require('./chunk-PMH4GLMD.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 _chunkVAOGM5VSjs = require('./chunk-VAOGM5VS.js');
|
|
24
|
+
require('./chunk-MVIVF4BW.js');
|
|
25
|
+
require('./chunk-AJVK4XC5.js');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
var _chunk2GJZLIKWjs = require('./chunk-2GJZLIKW.js');
|
|
@@ -30,7 +30,7 @@ require('./chunk-XNYIZMNQ.js');
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
var _chunkBBTKAASQjs = require('./chunk-BBTKAASQ.js');
|
|
33
|
-
require('./chunk-
|
|
33
|
+
require('./chunk-DV3ESQ4X.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 = _chunkVAOGM5VSjs.dataExportRows.call(void 0, customerDbRows(result));
|
|
57
|
+
const responseColumns = _chunkVAOGM5VSjs.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 _chunkVAOGM5VSjs.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
|
+
_chunkVAOGM5VSjs.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 || _chunkVAOGM5VSjs.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
|
+
_chunkVAOGM5VSjs.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
|
+
_chunkVAOGM5VSjs.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: _chunkVAOGM5VSjs.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 = _chunkVAOGM5VSjs.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
|
+
_chunkVAOGM5VSjs.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
|
+
_chunkVAOGM5VSjs.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
|
+
_chunkVAOGM5VSjs.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 = _chunkXIIQNSWAjs.planCustomerDbQuery.call(void 0, query);
|
|
356
356
|
if (options.dryRun) {
|
|
357
|
-
|
|
357
|
+
_chunkVAOGM5VSjs.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 || _chunkVAOGM5VSjs.shouldEmitJson.call(void 0, ) }
|
|
371
371
|
);
|
|
372
372
|
return 0;
|
|
373
373
|
}
|
|
374
|
-
const client = new (0,
|
|
374
|
+
const client = new (0, _chunkUJYX4VLXjs.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 _chunk2GJZLIKWjs.CustomerDbQueryOutcomeUnknownError && (options.json ||
|
|
384
|
-
|
|
383
|
+
if (error instanceof _chunk2GJZLIKWjs.CustomerDbQueryOutcomeUnknownError && (options.json || _chunkVAOGM5VSjs.shouldEmitJson.call(void 0, ))) {
|
|
384
|
+
_chunkVAOGM5VSjs.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 = _chunkVAOGM5VSjs.argsWantJson.call(void 0, args);
|
|
433
|
+
const client = new (0, _chunkUJYX4VLXjs.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
|
+
_chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
|
|
450
450
|
{
|
|
451
451
|
command: "db repair",
|
|
452
452
|
status: result.status,
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
findNamed,
|
|
4
4
|
nothingNamed,
|
|
5
5
|
registerDescribeCommand
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-WCM64BRH.mjs";
|
|
7
|
+
import "./chunk-JGFGWWOF.mjs";
|
|
8
|
+
import "./chunk-Z2OYTXLK.mjs";
|
|
9
|
+
import "./chunk-HLHDCFKL.mjs";
|
|
10
10
|
import "./chunk-5AEDYVB6.mjs";
|
|
11
11
|
import {
|
|
12
12
|
DEEPLINE_NAMESPACE
|
|
@@ -16,27 +16,27 @@ import "./chunk-7AOFSZJM.mjs";
|
|
|
16
16
|
import "./chunk-OVDNJAJN.mjs";
|
|
17
17
|
import "./chunk-FR2ILQ4G.mjs";
|
|
18
18
|
import "./chunk-FIVKWNMT.mjs";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-AB6DFHGL.mjs";
|
|
20
20
|
import "./chunk-2GEYN3H4.mjs";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-B6UZUQ2O.mjs";
|
|
22
22
|
import "./chunk-L2VKAASU.mjs";
|
|
23
23
|
import "./chunk-Z2XA6YU4.mjs";
|
|
24
24
|
import "./chunk-PSX3WHIH.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-ZJFU2COM.mjs";
|
|
27
|
+
import "./chunk-SGMDRYAD.mjs";
|
|
28
|
+
import "./chunk-IYQZVEV4.mjs";
|
|
29
|
+
import "./chunk-JPU5YLQG.mjs";
|
|
30
|
+
import "./chunk-SINNEITW.mjs";
|
|
31
|
+
import "./chunk-PJOMRUFP.mjs";
|
|
32
|
+
import "./chunk-BD3VAPB4.mjs";
|
|
33
|
+
import "./chunk-37VFUQMU.mjs";
|
|
34
|
+
import "./chunk-DWE2VE5I.mjs";
|
|
35
|
+
import "./chunk-XYM3SQZN.mjs";
|
|
36
36
|
import "./chunk-CQBIO6HW.mjs";
|
|
37
37
|
import "./chunk-DLIRSHV6.mjs";
|
|
38
38
|
import "./chunk-JL2OTMSG.mjs";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-TZVW5JH3.mjs";
|
|
40
40
|
import "./chunk-WZYKRD7T.mjs";
|
|
41
41
|
import "./chunk-5JPKRDFC.mjs";
|
|
42
42
|
import "./chunk-KRD6H754.mjs";
|