deepline 0.3.553 → 0.3.554
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/cli/{auth-I3QAU4RV.mjs → auth-HJUNW7T2.mjs} +5 -5
- package/dist/cli/auth-SP6SKZJZ.js +44 -0
- package/dist/cli/{billing-YGFFVAIC.js → billing-4TSA5HEC.js} +102 -102
- package/dist/cli/{billing-3IC54OQQ.mjs → billing-SJYRJAQ2.mjs} +9 -9
- package/dist/cli/{chunk-2B5B5KAW.js → chunk-2HMN5H54.js} +53 -50
- package/dist/cli/{chunk-72V4PDH5.mjs → chunk-2ORPFQUA.mjs} +3 -3
- package/dist/cli/{chunk-BVDKFS2T.js → chunk-2OVHNHCF.js} +2 -2
- package/dist/cli/{chunk-Z7AOIHFE.mjs → chunk-33WRQSQ2.mjs} +4 -0
- package/dist/cli/{chunk-HVI55MTK.js → chunk-3IKGZ4CG.js} +20 -10
- package/dist/cli/{chunk-INEMTYMT.mjs → chunk-3Z4VFCXO.mjs} +7 -7
- package/dist/cli/{chunk-HEBO3XNZ.js → chunk-4DOFGIEJ.js} +12 -12
- package/dist/cli/{chunk-LFOERUQY.mjs → chunk-52Q5KETX.mjs} +1 -1
- package/dist/cli/{chunk-AGLR6QVN.js → chunk-5CYZHOKI.js} +4 -4
- package/dist/cli/{chunk-HSJ6X2AQ.mjs → chunk-62AUAWQV.mjs} +4 -4
- package/dist/cli/{chunk-NDNHYONK.mjs → chunk-62HWJXST.mjs} +2 -2
- package/dist/cli/{chunk-QI5S5HWB.mjs → chunk-6EXOAT6T.mjs} +2 -2
- package/dist/cli/{chunk-Y6SP3JMI.js → chunk-7OWI736E.js} +30 -30
- package/dist/cli/{chunk-DZA7RFGL.mjs → chunk-B6HO2XWH.mjs} +13 -13
- package/dist/cli/{chunk-A7DLBE5K.mjs → chunk-BOZAP2EM.mjs} +10 -7
- package/dist/cli/chunk-BVXIGOBZ.js +32 -0
- package/dist/cli/{chunk-QG6JIWUL.mjs → chunk-D6Z6POKE.mjs} +5 -5
- package/dist/cli/{chunk-4BFTDNHU.mjs → chunk-DSKSFFK2.mjs} +1 -1
- package/dist/cli/{chunk-JLGP5XAJ.js → chunk-DUBXUAAO.js} +5 -5
- package/dist/cli/{chunk-IMX7J4DU.js → chunk-E74KGKFZ.js} +5 -5
- package/dist/cli/{chunk-YUA6HA6D.js → chunk-ECHKAC7M.js} +2 -2
- package/dist/cli/{chunk-IH6GDNKW.js → chunk-EN5NHCCQ.js} +17 -17
- package/dist/cli/{chunk-CAEBJOYU.mjs → chunk-F7CMRKSK.mjs} +1 -1
- package/dist/cli/{chunk-SBH4CKPN.js → chunk-FBAFX43W.js} +10 -10
- package/dist/cli/{chunk-GAVZ4EOD.mjs → chunk-FXQ3JKE3.mjs} +1 -1
- package/dist/cli/{chunk-55F6HNOY.mjs → chunk-GA2M3G3Y.mjs} +4 -4
- package/dist/cli/{chunk-Q6Z6N3A7.js → chunk-GHT2NDL7.js} +9 -9
- package/dist/cli/{chunk-WOCHZCUJ.js → chunk-GRZENGNE.js} +2 -2
- package/dist/cli/{chunk-7O6J6A7P.js → chunk-IVZKMJUK.js} +4 -0
- package/dist/cli/{chunk-SG3LUONJ.mjs → chunk-KVBQY4ST.mjs} +2 -2
- package/dist/cli/{chunk-AGIQDA2T.mjs → chunk-KZHBDMGF.mjs} +2 -2
- package/dist/cli/{chunk-TFEXSHPM.js → chunk-LY5MMXFF.js} +28 -14
- package/dist/cli/{chunk-RTV4RF7N.js → chunk-M7STM3MZ.js} +26 -26
- package/dist/cli/{chunk-7GEMELKI.js → chunk-OPTV7D2V.js} +431 -330
- package/dist/cli/{chunk-CACFJODG.js → chunk-OVEYWO4H.js} +8 -8
- package/dist/cli/{chunk-4HYNMXXF.mjs → chunk-PC2FTUCP.mjs} +2 -2
- package/dist/cli/{chunk-4747TPLV.js → chunk-PQQMPUCZ.js} +3 -3
- package/dist/cli/{chunk-45OAVGU6.mjs → chunk-Q7ACILL2.mjs} +2 -2
- package/dist/cli/{chunk-RMNOZKRI.mjs → chunk-RBBTCYQB.mjs} +3 -3
- package/dist/cli/{chunk-7YRJ5UC4.js → chunk-RTHMGSZX.js} +20 -20
- package/dist/cli/{chunk-OTV2UUKW.mjs → chunk-S6W6SJ6E.mjs} +1 -1
- package/dist/cli/chunk-STXDSVQZ.mjs +32 -0
- package/dist/cli/{chunk-UEVKMZLR.mjs → chunk-TGUQET3O.mjs} +14 -4
- package/dist/cli/{chunk-74RES4DS.js → chunk-TJ6HLN56.js} +5 -5
- package/dist/cli/{chunk-IUOGII7D.js → chunk-TOO3YM5N.js} +6 -6
- package/dist/cli/{chunk-UVQJYV76.mjs → chunk-UBBYHB2B.mjs} +2 -2
- package/dist/cli/{chunk-AGICYWGN.mjs → chunk-UC4BDZKI.mjs} +2 -2
- package/dist/cli/{chunk-6NE3RRRY.js → chunk-UNNOZKRT.js} +1 -1
- package/dist/cli/{chunk-FM7LPUPA.js → chunk-UOT7HPBH.js} +41 -41
- package/dist/cli/{chunk-DP2VH7CO.js → chunk-UYCZFQYQ.js} +11 -11
- package/dist/cli/{chunk-MLABYI4M.js → chunk-VIUUTEHY.js} +3 -3
- package/dist/cli/{chunk-LH5PZKER.mjs → chunk-VLO5NFH2.mjs} +1 -1
- package/dist/cli/{chunk-JJGWHITQ.mjs → chunk-VQ75KX7G.mjs} +2 -2
- package/dist/cli/{chunk-3NTP2OSG.js → chunk-VV4XGZ24.js} +13 -13
- package/dist/cli/{chunk-LRDHPOZW.js → chunk-W6CZDTIR.js} +53 -53
- package/dist/cli/{chunk-7SERLBNR.js → chunk-WL7P32PI.js} +20 -20
- package/dist/cli/{chunk-4SMCFQ23.mjs → chunk-XD3MFTHA.mjs} +1 -1
- package/dist/cli/{chunk-E7WZOX2A.mjs → chunk-XFZX6FNM.mjs} +20 -6
- package/dist/cli/{chunk-DP64MD6U.mjs → chunk-XU6QNM4D.mjs} +1 -1
- package/dist/cli/{chunk-TN4TY6TT.mjs → chunk-YCOGPOUX.mjs} +2 -2
- package/dist/cli/{chunk-XLIHTJVM.js → chunk-YQKCH4R7.js} +20 -20
- package/dist/cli/{chunk-Z6XPSHKM.mjs → chunk-YY55NYAH.mjs} +133 -32
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{concurrent-runs-help-DNV2X5AZ.mjs → concurrent-runs-help-O3Q5IPLF.mjs} +6 -6
- package/dist/cli/concurrent-runs-help-ZFRZWX5V.js +22 -0
- package/dist/cli/{csv-SA6ELJY6.js → csv-4ZQ2RATI.js} +13 -13
- package/dist/cli/{csv-ZXZGHWOM.mjs → csv-Y3BFPEM6.mjs} +4 -4
- package/dist/cli/{db-A54SP6AD.mjs → db-3JYY4JNN.mjs} +7 -7
- package/dist/cli/{db-JHFEIQBU.js → db-VEIFS4M7.js} +29 -29
- package/dist/cli/describe-EVJ4MFVU.mjs +50 -0
- package/dist/cli/describe-FG625QPF.js +50 -0
- package/dist/cli/describe-core.js +5 -5
- package/dist/cli/describe-core.mjs +4 -4
- package/dist/cli/{executions-TLFZRHBJ.js → executions-HPZXOOVX.js} +8 -8
- package/dist/cli/{executions-HL2M2DFU.mjs → executions-PCXZKEHM.mjs} +6 -6
- package/dist/cli/{feedback-QMBTNXVG.mjs → feedback-Y6VKZNY6.mjs} +6 -6
- package/dist/cli/{feedback-5UEX5UZK.js → feedback-ZKFHFVL6.js} +14 -14
- package/dist/cli/git-RUBMALLH.js +26 -0
- package/dist/cli/{git-LKGXVIVC.mjs → git-UMPR2QYC.mjs} +5 -5
- package/dist/cli/index.js +147 -147
- package/dist/cli/index.mjs +46 -46
- package/dist/cli/{integrations-6RUTLMN7.js → integrations-3GQCTRTF.js} +15 -15
- package/dist/cli/{integrations-FGGRVUJ7.mjs → integrations-V3TM6XAB.mjs} +7 -7
- package/dist/cli/{legacy-noops-YIPRMVXZ.mjs → legacy-noops-JZBUD7ZE.mjs} +6 -6
- package/dist/cli/{legacy-noops-J3Z7QRWZ.js → legacy-noops-VYCO7NGW.js} +9 -9
- package/dist/cli/{mcp-6LWFP7RW.js → mcp-4OIWTCE6.js} +24 -24
- package/dist/cli/{mcp-CHDYFO7F.mjs → mcp-PH4KZ76P.mjs} +4 -4
- package/dist/cli/{monitors-STM6A7OU.js → monitors-E2A6VPBY.js} +100 -100
- package/dist/cli/{monitors-UGRY2BXI.mjs → monitors-SSMGIDGX.mjs} +7 -7
- package/dist/cli/{org-3SYOUQCX.mjs → org-SFDKSK5D.mjs} +6 -6
- package/dist/cli/{org-ZOBSNSIB.js → org-WUDZGWBT.js} +121 -121
- package/dist/cli/{outcomes-Z3P2JE67.mjs → outcomes-QT7LQBPK.mjs} +6 -6
- package/dist/cli/{outcomes-H4YYAT5X.js → outcomes-Y7SZTLSL.js} +14 -14
- package/dist/cli/{play-SN5YWLS7.mjs → play-EK7KSFPL.mjs} +21 -21
- package/dist/cli/{play-SM4CW2GS.js → play-GDNHCRRR.js} +372 -372
- package/dist/cli/{providers-WZ4YBR5Y.mjs → providers-FVZLRXAU.mjs} +6 -6
- package/dist/cli/{providers-WZARYMCF.js → providers-ZKOSECLV.js} +9 -9
- package/dist/cli/{quickstart-PS4YHQJ6.js → quickstart-KSDKIXYD.js} +6 -6
- package/dist/cli/{quickstart-2575BNKA.mjs → quickstart-UJZ6PIQV.mjs} +4 -4
- package/dist/cli/{run-ZUHCZOJS.mjs → run-E7MZ7P35.mjs} +30 -28
- package/dist/cli/{run-FLZ6OTM7.js → run-PD2BBG6S.js} +51 -49
- package/dist/cli/search-TKSPTPHA.js +32 -0
- package/dist/cli/{search-HLPPKQEO.mjs → search-VTFUFTOY.mjs} +7 -7
- package/dist/cli/{search-output-RXJLU36B.js → search-output-G2AGDCOY.js} +9 -9
- package/dist/cli/{search-output-PDAXNOGP.mjs → search-output-PFVXQCWA.mjs} +6 -6
- package/dist/cli/{secrets-CGELYQ3H.mjs → secrets-7CIMEMX7.mjs} +6 -6
- package/dist/cli/{secrets-QJNG7G2Y.js → secrets-BCOQ4U7U.js} +15 -15
- package/dist/cli/sessions-4CO556VD.js +23 -0
- package/dist/cli/{sessions-ELMWVR4M.mjs → sessions-IUCQZEF7.mjs} +6 -6
- package/dist/cli/{settings-RR3LZXL7.mjs → settings-KZN62UQK.mjs} +12 -12
- package/dist/cli/{settings-44I44P5F.js → settings-REL4736M.js} +85 -85
- package/dist/cli/{setup-KGWRWH4B.mjs → setup-2P7OG3OU.mjs} +11 -14
- package/dist/cli/{setup-KTEYOCJO.js → setup-2XIVBBCS.js} +51 -54
- package/dist/cli/skills-JYT5DEY6.js +37 -0
- package/dist/cli/{skills-FPRID2I5.mjs → skills-VIGNDJKI.mjs} +7 -7
- package/dist/cli/tools-NTVUQ2TG.js +57 -0
- package/dist/cli/{tools-PI4WMDLY.mjs → tools-W3QT5EJY.mjs} +20 -20
- package/dist/cli/{update-VJOJAZ7B.mjs → update-GZVBVMY3.mjs} +9 -9
- package/dist/cli/update-TWJZPUZM.js +37 -0
- package/dist/cli/{views-OVPSINZO.mjs → views-BOGEH424.mjs} +6 -6
- package/dist/cli/{views-NTUOLNQU.js → views-TOLJNLSV.js} +21 -21
- package/dist/cli/{workflow-2UDYDM6F.js → workflow-ENWFRK5M.js} +17 -17
- package/dist/cli/{workflow-7OEFNXZC.mjs → workflow-VDG2FDQV.mjs} +7 -7
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +122 -122
- 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-MQCN7WGZ.js +0 -44
- package/dist/cli/chunk-AID3OYVJ.js +0 -8
- package/dist/cli/chunk-OVDNJAJN.mjs +0 -8
- package/dist/cli/concurrent-runs-help-CFJH4KXV.js +0 -22
- package/dist/cli/describe-PHQ33AGS.mjs +0 -50
- package/dist/cli/describe-RHJ4XRFI.js +0 -50
- package/dist/cli/git-4JWOOHBG.js +0 -26
- package/dist/cli/search-JJWVHR3N.js +0 -32
- package/dist/cli/sessions-DHTBT2GN.js +0 -23
- package/dist/cli/skills-EPZPEXI2.js +0 -37
- package/dist/cli/tools-IGQQ5TML.js +0 -57
- package/dist/cli/update-4RNCVYGE.js +0 -37
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-6EXOAT6T.mjs";
|
|
4
|
+
import "./chunk-VLO5NFH2.mjs";
|
|
5
5
|
import "./chunk-FZHMNK6F.mjs";
|
|
6
6
|
import "./chunk-5TYLSS4Q.mjs";
|
|
7
7
|
import "./chunk-PSX3WHIH.mjs";
|
|
8
8
|
import {
|
|
9
9
|
printCommandEnvelope,
|
|
10
10
|
shouldEmitJson
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-UC4BDZKI.mjs";
|
|
12
|
+
import "./chunk-52Q5KETX.mjs";
|
|
13
|
+
import "./chunk-S6W6SJ6E.mjs";
|
|
14
14
|
import "./chunk-ASB47RXJ.mjs";
|
|
15
15
|
import "./chunk-DLIRSHV6.mjs";
|
|
16
16
|
import "./chunk-Z3A2S3QM.mjs";
|
|
17
17
|
import "./chunk-2MGZAI54.mjs";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-FXQ3JKE3.mjs";
|
|
19
19
|
import "./chunk-WZYKRD7T.mjs";
|
|
20
20
|
import "./chunk-KRD6H754.mjs";
|
|
21
21
|
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var _chunkDUBXUAAOjs = require('./chunk-DUBXUAAO.js');
|
|
4
|
+
require('./chunk-OVEYWO4H.js');
|
|
5
5
|
require('./chunk-4WAM6TLD.js');
|
|
6
6
|
require('./chunk-MJTVX4QK.js');
|
|
7
7
|
require('./chunk-PMH4GLMD.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
12
|
-
require('./chunk-
|
|
13
|
-
require('./chunk-
|
|
11
|
+
var _chunkYQKCH4R7js = require('./chunk-YQKCH4R7.js');
|
|
12
|
+
require('./chunk-VIUUTEHY.js');
|
|
13
|
+
require('./chunk-5CYZHOKI.js');
|
|
14
14
|
require('./chunk-6VLFQZK6.js');
|
|
15
15
|
require('./chunk-XNYIZMNQ.js');
|
|
16
16
|
require('./chunk-LFQJW4S2.js');
|
|
17
17
|
require('./chunk-CFJFUVX2.js');
|
|
18
|
-
require('./chunk-
|
|
18
|
+
require('./chunk-UNNOZKRT.js');
|
|
19
19
|
require('./chunk-OG64RBAC.js');
|
|
20
20
|
require('./chunk-COGTRVWW.js');
|
|
21
21
|
|
|
22
22
|
// src/cli/commands/providers.ts
|
|
23
23
|
async function listProviders(options = {}) {
|
|
24
|
-
const client = new (0,
|
|
24
|
+
const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
|
|
25
25
|
const changed = options.changed === true;
|
|
26
|
-
const emitJson = options.json === true ||
|
|
26
|
+
const emitJson = options.json === true || _chunkYQKCH4R7js.shouldEmitJson.call(void 0, );
|
|
27
27
|
const providers = await client.listProviders({ changed });
|
|
28
28
|
const render = {
|
|
29
29
|
sections: [
|
|
@@ -43,7 +43,7 @@ async function listProviders(options = {}) {
|
|
|
43
43
|
}
|
|
44
44
|
]
|
|
45
45
|
};
|
|
46
|
-
|
|
46
|
+
_chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
|
|
47
47
|
{
|
|
48
48
|
providers,
|
|
49
49
|
count: providers.length,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
4
|
+
var _chunkYQKCH4R7js = require('./chunk-YQKCH4R7.js');
|
|
5
|
+
require('./chunk-VIUUTEHY.js');
|
|
6
|
+
require('./chunk-5CYZHOKI.js');
|
|
7
7
|
require('./chunk-6VLFQZK6.js');
|
|
8
8
|
require('./chunk-XNYIZMNQ.js');
|
|
9
9
|
require('./chunk-LFQJW4S2.js');
|
|
10
10
|
require('./chunk-CFJFUVX2.js');
|
|
11
|
-
require('./chunk-
|
|
11
|
+
require('./chunk-UNNOZKRT.js');
|
|
12
12
|
require('./chunk-OG64RBAC.js');
|
|
13
13
|
|
|
14
14
|
|
|
@@ -18,12 +18,12 @@ require('./chunk-COGTRVWW.js');
|
|
|
18
18
|
|
|
19
19
|
// src/cli/commands/quickstart.ts
|
|
20
20
|
async function handleQuickstart(options) {
|
|
21
|
-
const jsonOutput =
|
|
21
|
+
const jsonOutput = _chunkYQKCH4R7js.shouldEmitJson.call(void 0, options.json === true);
|
|
22
22
|
const gettingStarted = {
|
|
23
23
|
skill: _chunkRLX5ZFNXjs.DEEPLINE_GTM_SKILL,
|
|
24
24
|
examples: _chunkRLX5ZFNXjs.DEEPLINE_GTM_STARTER_PROMPTS
|
|
25
25
|
};
|
|
26
|
-
|
|
26
|
+
_chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
|
|
27
27
|
{
|
|
28
28
|
ok: true,
|
|
29
29
|
status: "deprecated",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
printCommandEnvelope,
|
|
3
3
|
shouldEmitJson
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-UC4BDZKI.mjs";
|
|
5
|
+
import "./chunk-52Q5KETX.mjs";
|
|
6
|
+
import "./chunk-S6W6SJ6E.mjs";
|
|
7
7
|
import "./chunk-ASB47RXJ.mjs";
|
|
8
8
|
import "./chunk-DLIRSHV6.mjs";
|
|
9
9
|
import "./chunk-Z3A2S3QM.mjs";
|
|
10
10
|
import "./chunk-2MGZAI54.mjs";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-FXQ3JKE3.mjs";
|
|
12
12
|
import "./chunk-WZYKRD7T.mjs";
|
|
13
13
|
import {
|
|
14
14
|
DEEPLINE_GTM_SKILL,
|
|
@@ -1,55 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
looksLikeFilePath,
|
|
3
3
|
resolvePlayRunCliOptions
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VQ75KX7G.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findNamed,
|
|
7
7
|
nothingNamed
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import
|
|
8
|
+
} from "./chunk-3Z4VFCXO.mjs";
|
|
9
|
+
import {
|
|
10
|
+
jsonFileText
|
|
11
|
+
} from "./chunk-YY55NYAH.mjs";
|
|
10
12
|
import {
|
|
11
13
|
ExecutionOutputError,
|
|
12
14
|
openLogDestination,
|
|
13
15
|
preflightExecutionOutput,
|
|
14
16
|
writeExecutionOutput
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-KVBQY4ST.mjs";
|
|
18
|
+
import "./chunk-62HWJXST.mjs";
|
|
19
|
+
import "./chunk-GA2M3G3Y.mjs";
|
|
18
20
|
import "./chunk-5AEDYVB6.mjs";
|
|
19
21
|
import {
|
|
20
22
|
DEEPLINE_NAMESPACE
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-PC2FTUCP.mjs";
|
|
24
|
+
import "./chunk-TGUQET3O.mjs";
|
|
25
|
+
import "./chunk-XFZX6FNM.mjs";
|
|
26
|
+
import "./chunk-STXDSVQZ.mjs";
|
|
25
27
|
import "./chunk-MF7PCM6C.mjs";
|
|
26
28
|
import "./chunk-FR2ILQ4G.mjs";
|
|
27
29
|
import "./chunk-FIVKWNMT.mjs";
|
|
28
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-6EXOAT6T.mjs";
|
|
29
31
|
import "./chunk-2GEYN3H4.mjs";
|
|
30
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-VLO5NFH2.mjs";
|
|
31
33
|
import "./chunk-FZHMNK6F.mjs";
|
|
32
34
|
import "./chunk-5TYLSS4Q.mjs";
|
|
33
35
|
import "./chunk-PSX3WHIH.mjs";
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-B6HO2XWH.mjs";
|
|
37
|
+
import "./chunk-F7CMRKSK.mjs";
|
|
38
|
+
import "./chunk-D6Z6POKE.mjs";
|
|
39
|
+
import "./chunk-XD3MFTHA.mjs";
|
|
40
|
+
import "./chunk-62AUAWQV.mjs";
|
|
41
|
+
import "./chunk-BOZAP2EM.mjs";
|
|
40
42
|
import {
|
|
41
43
|
createCliProgress
|
|
42
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-DSKSFFK2.mjs";
|
|
43
45
|
import {
|
|
44
46
|
errorToJsonPayload
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
47
|
+
} from "./chunk-UC4BDZKI.mjs";
|
|
48
|
+
import "./chunk-52Q5KETX.mjs";
|
|
49
|
+
import "./chunk-S6W6SJ6E.mjs";
|
|
48
50
|
import "./chunk-ASB47RXJ.mjs";
|
|
49
51
|
import "./chunk-DLIRSHV6.mjs";
|
|
50
52
|
import "./chunk-Z3A2S3QM.mjs";
|
|
51
53
|
import "./chunk-2MGZAI54.mjs";
|
|
52
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-FXQ3JKE3.mjs";
|
|
53
55
|
import "./chunk-WZYKRD7T.mjs";
|
|
54
56
|
import "./chunk-5JPKRDFC.mjs";
|
|
55
57
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -70,7 +72,7 @@ function readInput(options) {
|
|
|
70
72
|
}
|
|
71
73
|
const path = options.inputFile ?? (options.input?.startsWith("@") ? options.input.slice(1) : void 0);
|
|
72
74
|
const flag = options.inputFile !== void 0 ? "--input-file" : "--input";
|
|
73
|
-
const text = path === void 0 ? options.input ?? "{}" : readFileSync(path === "-" ? 0 : path
|
|
75
|
+
const text = path === void 0 ? options.input ?? "{}" : jsonFileText(readFileSync(path === "-" ? 0 : path));
|
|
74
76
|
let input;
|
|
75
77
|
try {
|
|
76
78
|
input = JSON.parse(text);
|
|
@@ -119,7 +121,7 @@ async function runAnything(name, options) {
|
|
|
119
121
|
throw new Error("--max-credits takes a number of credits above 0.");
|
|
120
122
|
}
|
|
121
123
|
if (options.timeout !== void 0 && options.timeout !== "0") {
|
|
122
|
-
const { parseToolExecuteTimeout } = await import("./tools-
|
|
124
|
+
const { parseToolExecuteTimeout } = await import("./tools-W3QT5EJY.mjs");
|
|
123
125
|
timeoutMs = parseToolExecuteTimeout(options.timeout);
|
|
124
126
|
}
|
|
125
127
|
} catch (error) {
|
|
@@ -140,7 +142,7 @@ async function runAnything(name, options) {
|
|
|
140
142
|
if (name !== void 0) {
|
|
141
143
|
return refuse("Use a name or -e, not both.", output);
|
|
142
144
|
}
|
|
143
|
-
const { writeInlinePlay } = await import("./play-
|
|
145
|
+
const { writeInlinePlay } = await import("./play-EK7KSFPL.mjs");
|
|
144
146
|
let file;
|
|
145
147
|
try {
|
|
146
148
|
file = writeInlinePlay(options.eval);
|
|
@@ -200,7 +202,7 @@ async function runAnything(name, options) {
|
|
|
200
202
|
if (runner.via === "play") {
|
|
201
203
|
return runPlay(runner.reference, { ...play, revision });
|
|
202
204
|
}
|
|
203
|
-
const { executeToolForReceipt } = await import("./tools-
|
|
205
|
+
const { executeToolForReceipt } = await import("./tools-W3QT5EJY.mjs");
|
|
204
206
|
return executeToolForReceipt({
|
|
205
207
|
toolId: runner.toolId,
|
|
206
208
|
params: input,
|
|
@@ -231,7 +233,7 @@ function dryRun(described, input, output) {
|
|
|
231
233
|
return missing.length ? 2 : 0;
|
|
232
234
|
}
|
|
233
235
|
async function runPlay(reference, play) {
|
|
234
|
-
const { handlePlayRun, writePlayRunReceipt } = await import("./play-
|
|
236
|
+
const { handlePlayRun, writePlayRunReceipt } = await import("./play-EK7KSFPL.mjs");
|
|
235
237
|
const { output, options, revision } = play;
|
|
236
238
|
if (options.dryRun) {
|
|
237
239
|
const dryRunOptions = resolvePlayRunCliOptions(reference, {
|
|
@@ -1,55 +1,57 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } 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 _chunkGHT2NDL7js = require('./chunk-GHT2NDL7.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
require('./chunk-7GEMELKI.js');
|
|
8
|
+
var _chunkRTHMGSZXjs = require('./chunk-RTHMGSZX.js');
|
|
10
9
|
|
|
11
10
|
|
|
11
|
+
var _chunkOPTV7D2Vjs = require('./chunk-OPTV7D2V.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
require('./chunk-
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
var _chunkUYCZFQYQjs = require('./chunk-UYCZFQYQ.js');
|
|
18
|
+
require('./chunk-4DOFGIEJ.js');
|
|
19
|
+
require('./chunk-FBAFX43W.js');
|
|
18
20
|
require('./chunk-D3BCSAN7.js');
|
|
19
21
|
|
|
20
22
|
|
|
21
|
-
var
|
|
22
|
-
require('./chunk-
|
|
23
|
-
require('./chunk-
|
|
24
|
-
require('./chunk-
|
|
23
|
+
var _chunkEN5NHCCQjs = require('./chunk-EN5NHCCQ.js');
|
|
24
|
+
require('./chunk-3IKGZ4CG.js');
|
|
25
|
+
require('./chunk-LY5MMXFF.js');
|
|
26
|
+
require('./chunk-BVXIGOBZ.js');
|
|
25
27
|
require('./chunk-CSPHSNBW.js');
|
|
26
28
|
require('./chunk-J33TSWO5.js');
|
|
27
29
|
require('./chunk-HGFFYVXN.js');
|
|
28
|
-
require('./chunk-
|
|
30
|
+
require('./chunk-DUBXUAAO.js');
|
|
29
31
|
require('./chunk-BLMB4N63.js');
|
|
30
|
-
require('./chunk-
|
|
32
|
+
require('./chunk-OVEYWO4H.js');
|
|
31
33
|
require('./chunk-4WAM6TLD.js');
|
|
32
34
|
require('./chunk-MJTVX4QK.js');
|
|
33
35
|
require('./chunk-PMH4GLMD.js');
|
|
34
|
-
require('./chunk-
|
|
35
|
-
require('./chunk-
|
|
36
|
-
require('./chunk-
|
|
37
|
-
require('./chunk-
|
|
38
|
-
require('./chunk-
|
|
39
|
-
require('./chunk-
|
|
36
|
+
require('./chunk-7OWI736E.js');
|
|
37
|
+
require('./chunk-GRZENGNE.js');
|
|
38
|
+
require('./chunk-WL7P32PI.js');
|
|
39
|
+
require('./chunk-ECHKAC7M.js');
|
|
40
|
+
require('./chunk-UOT7HPBH.js');
|
|
41
|
+
require('./chunk-2HMN5H54.js');
|
|
40
42
|
|
|
41
43
|
|
|
42
|
-
var
|
|
44
|
+
var _chunkPQQMPUCZjs = require('./chunk-PQQMPUCZ.js');
|
|
43
45
|
|
|
44
46
|
|
|
45
|
-
var
|
|
46
|
-
require('./chunk-
|
|
47
|
-
require('./chunk-
|
|
47
|
+
var _chunkYQKCH4R7js = require('./chunk-YQKCH4R7.js');
|
|
48
|
+
require('./chunk-VIUUTEHY.js');
|
|
49
|
+
require('./chunk-5CYZHOKI.js');
|
|
48
50
|
require('./chunk-6VLFQZK6.js');
|
|
49
51
|
require('./chunk-XNYIZMNQ.js');
|
|
50
52
|
require('./chunk-LFQJW4S2.js');
|
|
51
53
|
require('./chunk-CFJFUVX2.js');
|
|
52
|
-
require('./chunk-
|
|
54
|
+
require('./chunk-UNNOZKRT.js');
|
|
53
55
|
require('./chunk-OG64RBAC.js');
|
|
54
56
|
require('./chunk-RLX5ZFNX.js');
|
|
55
57
|
require('./chunk-COGTRVWW.js');
|
|
@@ -70,7 +72,7 @@ function readInput(options) {
|
|
|
70
72
|
}
|
|
71
73
|
const path = _nullishCoalesce(options.inputFile, () => ( (_optionalChain([options, 'access', _ => _.input, 'optionalAccess', _2 => _2.startsWith, 'call', _3 => _3("@")]) ? options.input.slice(1) : void 0)));
|
|
72
74
|
const flag = options.inputFile !== void 0 ? "--input-file" : "--input";
|
|
73
|
-
const text = path === void 0 ? _nullishCoalesce(options.input, () => ( "{}")) : _fs.readFileSync.call(void 0, path === "-" ? 0 : path
|
|
75
|
+
const text = path === void 0 ? _nullishCoalesce(options.input, () => ( "{}")) : _chunkOPTV7D2Vjs.jsonFileText.call(void 0, _fs.readFileSync.call(void 0, path === "-" ? 0 : path));
|
|
74
76
|
let input;
|
|
75
77
|
try {
|
|
76
78
|
input = JSON.parse(text);
|
|
@@ -85,7 +87,7 @@ function readInput(options) {
|
|
|
85
87
|
return input;
|
|
86
88
|
}
|
|
87
89
|
function refuse(message, output) {
|
|
88
|
-
|
|
90
|
+
_chunkUYCZFQYQjs.writeExecutionOutput.call(void 0,
|
|
89
91
|
{ id: null, status: "failed", error: { message }, ran: false },
|
|
90
92
|
output
|
|
91
93
|
);
|
|
@@ -101,7 +103,7 @@ async function runAnything(name, options) {
|
|
|
101
103
|
logsOut: options.logsOut,
|
|
102
104
|
fields: _optionalChain([options, 'access', _7 => _7.fields, 'optionalAccess', _8 => _8.split, 'call', _9 => _9(","), 'access', _10 => _10.map, 'call', _11 => _11((path) => path.trim()), 'access', _12 => _12.filter, 'call', _13 => _13(Boolean)])
|
|
103
105
|
};
|
|
104
|
-
if (!
|
|
106
|
+
if (!_chunkUYCZFQYQjs.preflightExecutionOutput.call(void 0, output)) return 2;
|
|
105
107
|
let input;
|
|
106
108
|
let timeoutMs;
|
|
107
109
|
try {
|
|
@@ -119,7 +121,7 @@ async function runAnything(name, options) {
|
|
|
119
121
|
throw new Error("--max-credits takes a number of credits above 0.");
|
|
120
122
|
}
|
|
121
123
|
if (options.timeout !== void 0 && options.timeout !== "0") {
|
|
122
|
-
const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
124
|
+
const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-NTVUQ2TG.js")));
|
|
123
125
|
timeoutMs = parseToolExecuteTimeout(options.timeout);
|
|
124
126
|
}
|
|
125
127
|
} catch (error) {
|
|
@@ -140,7 +142,7 @@ async function runAnything(name, options) {
|
|
|
140
142
|
if (name !== void 0) {
|
|
141
143
|
return refuse("Use a name or -e, not both.", output);
|
|
142
144
|
}
|
|
143
|
-
const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
145
|
+
const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-GDNHCRRR.js")));
|
|
144
146
|
let file;
|
|
145
147
|
try {
|
|
146
148
|
file = writeInlinePlay(options.eval);
|
|
@@ -163,23 +165,23 @@ async function runAnything(name, options) {
|
|
|
163
165
|
output
|
|
164
166
|
);
|
|
165
167
|
}
|
|
166
|
-
if (
|
|
168
|
+
if (_chunkGHT2NDL7js.looksLikeFilePath.call(void 0, name)) {
|
|
167
169
|
output.label = `${name} (play file)`;
|
|
168
170
|
return runPlay(name, play);
|
|
169
171
|
}
|
|
170
172
|
let { base, revision } = splitRevision(name);
|
|
171
|
-
let found = await
|
|
173
|
+
let found = await _chunkRTHMGSZXjs.findNamed.call(void 0, base, {});
|
|
172
174
|
if (!found.chosen && revision) {
|
|
173
|
-
found = await
|
|
175
|
+
found = await _chunkRTHMGSZXjs.findNamed.call(void 0, name, {});
|
|
174
176
|
if (found.chosen)
|
|
175
177
|
({ base, revision } = { base: name, revision: void 0 });
|
|
176
178
|
}
|
|
177
179
|
const { chosen, shadowed } = found;
|
|
178
|
-
if (!chosen) return refuse(
|
|
180
|
+
if (!chosen) return refuse(_chunkRTHMGSZXjs.nothingNamed.call(void 0, base), output);
|
|
179
181
|
const { described } = chosen;
|
|
180
182
|
if (described.kind === "custom_play" && shadowed) {
|
|
181
183
|
console.error(
|
|
182
|
-
`Running your org play "${base}". It has the same name as a Deepline ${shadowed.described.kind.replace("_", " ")}; run that one with: deepline run ${
|
|
184
|
+
`Running your org play "${base}". It has the same name as a Deepline ${shadowed.described.kind.replace("_", " ")}; run that one with: deepline run ${_chunkEN5NHCCQjs.DEEPLINE_NAMESPACE}${base}`
|
|
183
185
|
);
|
|
184
186
|
}
|
|
185
187
|
const { runner } = described;
|
|
@@ -200,7 +202,7 @@ async function runAnything(name, options) {
|
|
|
200
202
|
if (runner.via === "play") {
|
|
201
203
|
return runPlay(runner.reference, { ...play, revision });
|
|
202
204
|
}
|
|
203
|
-
const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
205
|
+
const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-NTVUQ2TG.js")));
|
|
204
206
|
return executeToolForReceipt({
|
|
205
207
|
toolId: runner.toolId,
|
|
206
208
|
params: input,
|
|
@@ -214,7 +216,7 @@ function dryRun(described, input, output) {
|
|
|
214
216
|
const missing = described.inputs.filter((field) => field.required && !(field.name in input)).map((field) => field.name);
|
|
215
217
|
const known = new Set(described.inputs.map((field) => field.name));
|
|
216
218
|
const unknown = known.size ? Object.keys(input).filter((key) => !known.has(key)) : [];
|
|
217
|
-
|
|
219
|
+
_chunkUYCZFQYQjs.writeExecutionOutput.call(void 0,
|
|
218
220
|
{
|
|
219
221
|
id: null,
|
|
220
222
|
status: "dry_run",
|
|
@@ -231,20 +233,20 @@ function dryRun(described, input, output) {
|
|
|
231
233
|
return missing.length ? 2 : 0;
|
|
232
234
|
}
|
|
233
235
|
async function runPlay(reference, play) {
|
|
234
|
-
const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
236
|
+
const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-GDNHCRRR.js")));
|
|
235
237
|
const { output, options, revision } = play;
|
|
236
238
|
if (options.dryRun) {
|
|
237
|
-
const dryRunOptions =
|
|
239
|
+
const dryRunOptions = _chunkGHT2NDL7js.resolvePlayRunCliOptions.call(void 0, reference, {
|
|
238
240
|
input: JSON.stringify(play.input),
|
|
239
241
|
dryRun: true,
|
|
240
242
|
json: output.receiptJson === true
|
|
241
243
|
});
|
|
242
244
|
if (output.receiptOut === void 0) return handlePlayRun(dryRunOptions);
|
|
243
|
-
const writeDryRunError = (error) =>
|
|
245
|
+
const writeDryRunError = (error) => _chunkUYCZFQYQjs.writeExecutionOutput.call(void 0,
|
|
244
246
|
{
|
|
245
247
|
id: null,
|
|
246
248
|
status: "failed",
|
|
247
|
-
error:
|
|
249
|
+
error: _chunkYQKCH4R7js.errorToJsonPayload.call(void 0, error).error,
|
|
248
250
|
ran: false
|
|
249
251
|
},
|
|
250
252
|
output
|
|
@@ -252,7 +254,7 @@ async function runPlay(reference, play) {
|
|
|
252
254
|
try {
|
|
253
255
|
return await handlePlayRun(dryRunOptions, {
|
|
254
256
|
writeDryRunError,
|
|
255
|
-
writeDryRunPlan: (plan) =>
|
|
257
|
+
writeDryRunPlan: (plan) => _chunkUYCZFQYQjs.writeExecutionOutput.call(void 0,
|
|
256
258
|
{
|
|
257
259
|
id: null,
|
|
258
260
|
status: "dry_run",
|
|
@@ -263,19 +265,19 @@ async function runPlay(reference, play) {
|
|
|
263
265
|
)
|
|
264
266
|
});
|
|
265
267
|
} catch (error) {
|
|
266
|
-
if (error instanceof
|
|
268
|
+
if (error instanceof _chunkUYCZFQYQjs.ExecutionOutputError) throw error;
|
|
267
269
|
writeDryRunError(error);
|
|
268
270
|
return 1;
|
|
269
271
|
}
|
|
270
272
|
}
|
|
271
273
|
let id = null;
|
|
272
274
|
let written = false;
|
|
273
|
-
const progress =
|
|
274
|
-
if (!play.noWait) progress.setLogWriter(
|
|
275
|
+
const progress = _chunkPQQMPUCZjs.createCliProgress.call(void 0, true);
|
|
276
|
+
if (!play.noWait) progress.setLogWriter(_chunkUYCZFQYQjs.openLogDestination.call(void 0, output));
|
|
275
277
|
progress.setQuiet(process.stderr.isTTY !== true);
|
|
276
278
|
try {
|
|
277
279
|
const code = await handlePlayRun(
|
|
278
|
-
|
|
280
|
+
_chunkGHT2NDL7js.resolvePlayRunCliOptions.call(void 0, reference, {
|
|
279
281
|
input: JSON.stringify(play.input),
|
|
280
282
|
// The receipt is the only thing on stdout.
|
|
281
283
|
json: true,
|
|
@@ -308,7 +310,7 @@ async function runPlay(reference, play) {
|
|
|
308
310
|
},
|
|
309
311
|
writeStarted: (runId, status, page) => {
|
|
310
312
|
written = true;
|
|
311
|
-
|
|
313
|
+
_chunkUYCZFQYQjs.writeExecutionOutput.call(void 0,
|
|
312
314
|
{
|
|
313
315
|
id: runId,
|
|
314
316
|
status,
|
|
@@ -324,7 +326,7 @@ async function runPlay(reference, play) {
|
|
|
324
326
|
}
|
|
325
327
|
);
|
|
326
328
|
if (!written) {
|
|
327
|
-
|
|
329
|
+
_chunkUYCZFQYQjs.writeExecutionOutput.call(void 0,
|
|
328
330
|
{
|
|
329
331
|
id,
|
|
330
332
|
status: "failed",
|
|
@@ -336,11 +338,11 @@ async function runPlay(reference, play) {
|
|
|
336
338
|
return code;
|
|
337
339
|
} catch (error) {
|
|
338
340
|
if (written) throw error;
|
|
339
|
-
|
|
341
|
+
_chunkUYCZFQYQjs.writeExecutionOutput.call(void 0,
|
|
340
342
|
{
|
|
341
343
|
id,
|
|
342
344
|
status: "failed",
|
|
343
|
-
error:
|
|
345
|
+
error: _chunkYQKCH4R7js.errorToJsonPayload.call(void 0, error).error,
|
|
344
346
|
...id ? { next: { status: `deepline runs get ${id}` } } : {}
|
|
345
347
|
},
|
|
346
348
|
output
|
|
@@ -366,7 +368,7 @@ function registerRunCommand(program) {
|
|
|
366
368
|
try {
|
|
367
369
|
process.exitCode = await runAnything(name, options);
|
|
368
370
|
} catch (error) {
|
|
369
|
-
if (options.receiptOut === void 0 || !(error instanceof
|
|
371
|
+
if (options.receiptOut === void 0 || !(error instanceof _chunkUYCZFQYQjs.ExecutionOutputError)) {
|
|
370
372
|
throw error;
|
|
371
373
|
}
|
|
372
374
|
process.exitCode = 1;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkFBAFX43Wjs = require('./chunk-FBAFX43W.js');
|
|
9
|
+
require('./chunk-D3BCSAN7.js');
|
|
10
|
+
require('./chunk-DUBXUAAO.js');
|
|
11
|
+
require('./chunk-OVEYWO4H.js');
|
|
12
|
+
require('./chunk-4WAM6TLD.js');
|
|
13
|
+
require('./chunk-MJTVX4QK.js');
|
|
14
|
+
require('./chunk-PMH4GLMD.js');
|
|
15
|
+
require('./chunk-YQKCH4R7.js');
|
|
16
|
+
require('./chunk-VIUUTEHY.js');
|
|
17
|
+
require('./chunk-5CYZHOKI.js');
|
|
18
|
+
require('./chunk-6VLFQZK6.js');
|
|
19
|
+
require('./chunk-XNYIZMNQ.js');
|
|
20
|
+
require('./chunk-LFQJW4S2.js');
|
|
21
|
+
require('./chunk-CFJFUVX2.js');
|
|
22
|
+
require('./chunk-UNNOZKRT.js');
|
|
23
|
+
require('./chunk-OG64RBAC.js');
|
|
24
|
+
require('./chunk-COGTRVWW.js');
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
exports.SEARCH_TYPES = _chunkFBAFX43Wjs.SEARCH_TYPES; exports.appendCsv = _chunkFBAFX43Wjs.appendCsv; exports.parseTypes = _chunkFBAFX43Wjs.parseTypes; exports.pointAtDescribe = _chunkFBAFX43Wjs.pointAtDescribe; exports.registerDeprecatedSearchCommand = _chunkFBAFX43Wjs.registerDeprecatedSearchCommand; exports.registerSearchCommand = _chunkFBAFX43Wjs.registerSearchCommand;
|
|
@@ -5,21 +5,21 @@ import {
|
|
|
5
5
|
pointAtDescribe,
|
|
6
6
|
registerDeprecatedSearchCommand,
|
|
7
7
|
registerSearchCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GA2M3G3Y.mjs";
|
|
9
9
|
import "./chunk-5AEDYVB6.mjs";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-6EXOAT6T.mjs";
|
|
11
|
+
import "./chunk-VLO5NFH2.mjs";
|
|
12
12
|
import "./chunk-FZHMNK6F.mjs";
|
|
13
13
|
import "./chunk-5TYLSS4Q.mjs";
|
|
14
14
|
import "./chunk-PSX3WHIH.mjs";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-UC4BDZKI.mjs";
|
|
16
|
+
import "./chunk-52Q5KETX.mjs";
|
|
17
|
+
import "./chunk-S6W6SJ6E.mjs";
|
|
18
18
|
import "./chunk-ASB47RXJ.mjs";
|
|
19
19
|
import "./chunk-DLIRSHV6.mjs";
|
|
20
20
|
import "./chunk-Z3A2S3QM.mjs";
|
|
21
21
|
import "./chunk-2MGZAI54.mjs";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-FXQ3JKE3.mjs";
|
|
23
23
|
import "./chunk-WZYKRD7T.mjs";
|
|
24
24
|
import "./chunk-KRD6H754.mjs";
|
|
25
25
|
export {
|
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
require('./chunk-
|
|
6
|
+
var _chunkLY5MMXFFjs = require('./chunk-LY5MMXFF.js');
|
|
7
|
+
require('./chunk-BVXIGOBZ.js');
|
|
8
8
|
require('./chunk-PMH4GLMD.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
12
|
-
require('./chunk-
|
|
13
|
-
require('./chunk-
|
|
11
|
+
var _chunkYQKCH4R7js = require('./chunk-YQKCH4R7.js');
|
|
12
|
+
require('./chunk-VIUUTEHY.js');
|
|
13
|
+
require('./chunk-5CYZHOKI.js');
|
|
14
14
|
require('./chunk-6VLFQZK6.js');
|
|
15
15
|
require('./chunk-XNYIZMNQ.js');
|
|
16
16
|
require('./chunk-LFQJW4S2.js');
|
|
17
17
|
require('./chunk-CFJFUVX2.js');
|
|
18
|
-
require('./chunk-
|
|
18
|
+
require('./chunk-UNNOZKRT.js');
|
|
19
19
|
require('./chunk-OG64RBAC.js');
|
|
20
20
|
|
|
21
21
|
|
|
@@ -5835,7 +5835,7 @@ var OPTIONAL_COLUMNS = [
|
|
|
5835
5835
|
];
|
|
5836
5836
|
function renderSearchResults(result, summaryWidth = _chunkD3BCSAN7js.DEFAULT_SUMMARY_WIDTH) {
|
|
5837
5837
|
if (result.results.length === 0)
|
|
5838
|
-
return
|
|
5838
|
+
return _chunkYQKCH4R7js.renderCommandEnvelopeText.call(void 0, result);
|
|
5839
5839
|
const rows = result.results.map((item) => searchRow(item, summaryWidth));
|
|
5840
5840
|
const kinds = new Set(rows.map((row) => row.kind));
|
|
5841
5841
|
const onlyTools = kinds.size === 1 && kinds.has("tool");
|
|
@@ -5866,7 +5866,7 @@ function renderSearchResults(result, summaryWidth = _chunkD3BCSAN7js.DEFAULT_SUM
|
|
|
5866
5866
|
actions: _optionalChain([render, 'optionalAccess', _18 => _18.actions])
|
|
5867
5867
|
};
|
|
5868
5868
|
const followUps = _optionalChain([remaining, 'access', _19 => _19.sections, 'optionalAccess', _20 => _20.length]) || _optionalChain([remaining, 'access', _21 => _21.actions, 'optionalAccess', _22 => _22.length]) ? `
|
|
5869
|
-
${
|
|
5869
|
+
${_chunkYQKCH4R7js.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
|
|
5870
5870
|
const exact = _optionalChain([result, 'access', _23 => _23.exactLookup, 'optionalAccess', _24 => _24.toolId]);
|
|
5871
5871
|
const matched = exact && result.results.find((item) => item.id === exact);
|
|
5872
5872
|
const contract = matched ? [
|
|
@@ -5874,7 +5874,7 @@ ${_chunkXLIHTJVMjs.renderCommandEnvelopeText.call(void 0, { render: remaining })
|
|
|
5874
5874
|
...(_nullishCoalesce(_optionalChain([matched, 'access', _27 => _27.toolUsage, 'optionalAccess', _28 => _28.requiredInputs]), () => ( []))).map(
|
|
5875
5875
|
({ name, meaning }) => ` ${name}${meaning ? ` \u2014 ${meaning}` : ""}`
|
|
5876
5876
|
),
|
|
5877
|
-
...matched.auth ?
|
|
5877
|
+
...matched.auth ? _chunkLY5MMXFFjs.discoveryAuthLines.call(void 0, matched.auth) : [],
|
|
5878
5878
|
...matched.describeCommand ? [matched.describeCommand] : [],
|
|
5879
5879
|
..._optionalChain([matched, 'access', _29 => _29.toolUsage, 'optionalAccess', _30 => _30.example]) ? [matched.toolUsage.example.cli] : []
|
|
5880
5880
|
] : [];
|