deepline 0.3.553 → 0.3.555
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/sdk/src/types.ts +8 -2
- package/dist/cli/auth-MRVTS74X.js +44 -0
- package/dist/cli/{auth-I3QAU4RV.mjs → auth-UFANBJW3.mjs} +5 -5
- package/dist/cli/{billing-YGFFVAIC.js → billing-BGIT2VYM.js} +102 -102
- package/dist/cli/{billing-3IC54OQQ.mjs → billing-S7MCXBND.mjs} +9 -9
- package/dist/cli/{chunk-HVI55MTK.js → chunk-3IKGZ4CG.js} +20 -10
- package/dist/cli/{chunk-LH5PZKER.mjs → chunk-57J3OOCR.mjs} +1 -1
- package/dist/cli/{chunk-55F6HNOY.mjs → chunk-5J6TKML2.mjs} +4 -4
- package/dist/cli/{chunk-LFOERUQY.mjs → chunk-66BQY77L.mjs} +1 -1
- package/dist/cli/{chunk-IMX7J4DU.js → chunk-6F5GNZQH.js} +5 -5
- package/dist/cli/{chunk-AGLR6QVN.js → chunk-6M2SDRWN.js} +4 -4
- package/dist/cli/{chunk-NDNHYONK.mjs → chunk-6R5Y7U52.mjs} +2 -2
- package/dist/cli/{chunk-2B5B5KAW.js → chunk-72VEVAIX.js} +53 -50
- package/dist/cli/{chunk-RMNOZKRI.mjs → chunk-732RWNDP.mjs} +3 -3
- package/dist/cli/{chunk-4BFTDNHU.mjs → chunk-7H753VC5.mjs} +1 -1
- package/dist/cli/{chunk-FM7LPUPA.js → chunk-7LM55DIN.js} +41 -41
- package/dist/cli/{chunk-QG6JIWUL.mjs → chunk-ASDVROA5.mjs} +5 -5
- package/dist/cli/{chunk-INEMTYMT.mjs → chunk-AUY53RLU.mjs} +7 -7
- package/dist/cli/{chunk-MLABYI4M.js → chunk-AYCC5JAS.js} +3 -3
- package/dist/cli/{chunk-Z7AOIHFE.mjs → chunk-BTKVXI3G.mjs} +7 -2
- package/dist/cli/chunk-BVXIGOBZ.js +32 -0
- package/dist/cli/{chunk-4SMCFQ23.mjs → chunk-DFL3UBW2.mjs} +1 -1
- package/dist/cli/{chunk-CACFJODG.js → chunk-DYWOBLYL.js} +8 -8
- package/dist/cli/{chunk-HEBO3XNZ.js → chunk-EG44APVW.js} +12 -12
- package/dist/cli/{chunk-IH6GDNKW.js → chunk-EN5NHCCQ.js} +17 -17
- package/dist/cli/{chunk-72V4PDH5.mjs → chunk-FO3U5YTL.mjs} +3 -3
- package/dist/cli/{chunk-DP64MD6U.mjs → chunk-HQK2NPXE.mjs} +1 -1
- package/dist/cli/{chunk-DZA7RFGL.mjs → chunk-I45RNMNZ.mjs} +13 -13
- package/dist/cli/{chunk-RTV4RF7N.js → chunk-IHWXC7UU.js} +26 -26
- package/dist/cli/{chunk-IUOGII7D.js → chunk-KSUI4YX5.js} +6 -6
- package/dist/cli/{chunk-3NTP2OSG.js → chunk-LU25WURE.js} +13 -13
- package/dist/cli/{chunk-TFEXSHPM.js → chunk-LY5MMXFF.js} +28 -14
- package/dist/cli/{chunk-HSJ6X2AQ.mjs → chunk-M2CW4UZV.mjs} +4 -4
- package/dist/cli/{chunk-LRDHPOZW.js → chunk-M5YBTQQX.js} +53 -53
- package/dist/cli/{chunk-7GEMELKI.js → chunk-MIXPZ4G7.js} +431 -330
- package/dist/cli/{chunk-Q6Z6N3A7.js → chunk-MOJ65E7L.js} +9 -9
- package/dist/cli/{chunk-AGICYWGN.mjs → chunk-N55EUVKV.mjs} +2 -2
- package/dist/cli/{chunk-CAEBJOYU.mjs → chunk-NFWZAQAU.mjs} +1 -1
- package/dist/cli/{chunk-4HYNMXXF.mjs → chunk-PC2FTUCP.mjs} +2 -2
- package/dist/cli/{chunk-GAVZ4EOD.mjs → chunk-PGPPZMXD.mjs} +1 -1
- package/dist/cli/{chunk-DP2VH7CO.js → chunk-QMDG7FKA.js} +14 -12
- package/dist/cli/{chunk-JLGP5XAJ.js → chunk-QZ2C5ARH.js} +5 -5
- package/dist/cli/{chunk-Z6XPSHKM.mjs → chunk-RL7ZI4ZG.mjs} +133 -32
- package/dist/cli/{chunk-TN4TY6TT.mjs → chunk-RO7SIWBG.mjs} +2 -2
- package/dist/cli/{chunk-XLIHTJVM.js → chunk-RWT6N2SU.js} +20 -20
- package/dist/cli/{chunk-BVDKFS2T.js → chunk-S2CNGS7O.js} +2 -2
- package/dist/cli/{chunk-SG3LUONJ.mjs → chunk-S65SZ74B.mjs} +5 -3
- package/dist/cli/{chunk-WOCHZCUJ.js → chunk-SE56PJ46.js} +2 -2
- package/dist/cli/{chunk-7YRJ5UC4.js → chunk-SF2LIUVO.js} +20 -20
- package/dist/cli/chunk-STXDSVQZ.mjs +32 -0
- package/dist/cli/{chunk-6NE3RRRY.js → chunk-T3QSHU6E.js} +1 -1
- package/dist/cli/{chunk-UVQJYV76.mjs → chunk-T4BFNFBL.mjs} +2 -2
- package/dist/cli/{chunk-YUA6HA6D.js → chunk-TFPKGTMD.js} +2 -2
- package/dist/cli/{chunk-UEVKMZLR.mjs → chunk-TGUQET3O.mjs} +14 -4
- package/dist/cli/{chunk-Y6SP3JMI.js → chunk-U6KGXTYS.js} +30 -30
- package/dist/cli/{chunk-QI5S5HWB.mjs → chunk-UUU5WUKM.mjs} +2 -2
- package/dist/cli/{chunk-A7DLBE5K.mjs → chunk-UYYOO7VT.mjs} +10 -7
- package/dist/cli/{chunk-45OAVGU6.mjs → chunk-W6K6WULS.mjs} +2 -2
- package/dist/cli/{chunk-74RES4DS.js → chunk-W7SPSF63.js} +5 -5
- package/dist/cli/{chunk-4747TPLV.js → chunk-WTQGJBHD.js} +3 -3
- package/dist/cli/{chunk-E7WZOX2A.mjs → chunk-XFZX6FNM.mjs} +20 -6
- package/dist/cli/{chunk-OTV2UUKW.mjs → chunk-XIHZUWIG.mjs} +1 -1
- package/dist/cli/{chunk-7O6J6A7P.js → chunk-YI4ADWTN.js} +7 -2
- package/dist/cli/{chunk-7SERLBNR.js → chunk-YXH5Q7OY.js} +20 -20
- package/dist/cli/{chunk-SBH4CKPN.js → chunk-Z2T7XTND.js} +10 -10
- package/dist/cli/{chunk-JJGWHITQ.mjs → chunk-Z3O5GCQM.mjs} +2 -2
- package/dist/cli/{chunk-AGIQDA2T.mjs → chunk-ZU6A4H6P.mjs} +2 -2
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/concurrent-runs-help-CHBVPWYT.js +22 -0
- package/dist/cli/{concurrent-runs-help-DNV2X5AZ.mjs → concurrent-runs-help-I7ZLXZDD.mjs} +6 -6
- package/dist/cli/{csv-ZXZGHWOM.mjs → csv-K7FNSHIM.mjs} +4 -4
- package/dist/cli/{csv-SA6ELJY6.js → csv-Q2Y3KKK2.js} +13 -13
- package/dist/cli/{db-A54SP6AD.mjs → db-74RBHX6G.mjs} +7 -7
- package/dist/cli/{db-JHFEIQBU.js → db-E4XSIQDS.js} +29 -29
- package/dist/cli/describe-TUW35JSY.js +50 -0
- package/dist/cli/describe-UYB6WDHS.mjs +50 -0
- package/dist/cli/describe-core.d.mts +2 -2
- package/dist/cli/describe-core.d.ts +2 -2
- package/dist/cli/describe-core.js +5 -5
- package/dist/cli/describe-core.mjs +4 -4
- package/dist/cli/{executions-HL2M2DFU.mjs → executions-6LKXZRL4.mjs} +6 -6
- package/dist/cli/{executions-TLFZRHBJ.js → executions-LX6HJM72.js} +8 -8
- package/dist/cli/{feedback-5UEX5UZK.js → feedback-7D2JRVOM.js} +14 -14
- package/dist/cli/{feedback-QMBTNXVG.mjs → feedback-B2V64TYZ.mjs} +6 -6
- package/dist/cli/{git-LKGXVIVC.mjs → git-7KNCB2HN.mjs} +5 -5
- package/dist/cli/git-TH4M62KL.js +26 -0
- package/dist/cli/index.js +147 -147
- package/dist/cli/index.mjs +46 -46
- package/dist/cli/{integrations-6RUTLMN7.js → integrations-34UK7XET.js} +15 -15
- package/dist/cli/{integrations-FGGRVUJ7.mjs → integrations-J3RHOSAR.mjs} +7 -7
- package/dist/cli/{legacy-noops-J3Z7QRWZ.js → legacy-noops-HXJ6UMK7.js} +9 -9
- package/dist/cli/{legacy-noops-YIPRMVXZ.mjs → legacy-noops-WQUDES3K.mjs} +6 -6
- package/dist/cli/{mcp-6LWFP7RW.js → mcp-EZENPRPY.js} +24 -24
- package/dist/cli/{mcp-CHDYFO7F.mjs → mcp-JZPAPQYI.mjs} +4 -4
- package/dist/cli/{monitors-UGRY2BXI.mjs → monitors-GF2WEFF6.mjs} +7 -7
- package/dist/cli/{monitors-STM6A7OU.js → monitors-GS2P4OUK.js} +100 -100
- package/dist/cli/{org-ZOBSNSIB.js → org-V56HBHPB.js} +121 -121
- package/dist/cli/{org-3SYOUQCX.mjs → org-WJ2RO7ZE.mjs} +6 -6
- package/dist/cli/{outcomes-H4YYAT5X.js → outcomes-D6KXYKGW.js} +14 -14
- package/dist/cli/{outcomes-Z3P2JE67.mjs → outcomes-WP5WV54Y.mjs} +6 -6
- package/dist/cli/{play-SN5YWLS7.mjs → play-FHHCHNQH.mjs} +36 -24
- package/dist/cli/{play-SM4CW2GS.js → play-PXUVRS4K.js} +387 -375
- package/dist/cli/{providers-WZ4YBR5Y.mjs → providers-HJ77LN3M.mjs} +6 -6
- package/dist/cli/{providers-WZARYMCF.js → providers-TOXIJOY2.js} +9 -9
- package/dist/cli/{quickstart-PS4YHQJ6.js → quickstart-MDXLT5SR.js} +6 -6
- package/dist/cli/{quickstart-2575BNKA.mjs → quickstart-UEQHXEWP.mjs} +4 -4
- package/dist/cli/{run-FLZ6OTM7.js → run-2MXAEH6U.js} +55 -59
- package/dist/cli/{run-ZUHCZOJS.mjs → run-ZZ5ABZL7.mjs} +34 -38
- package/dist/cli/search-6DT2TGOU.js +32 -0
- package/dist/cli/{search-HLPPKQEO.mjs → search-AF4XVWC2.mjs} +7 -7
- package/dist/cli/{search-output-PDAXNOGP.mjs → search-output-3GFQJJGJ.mjs} +6 -6
- package/dist/cli/{search-output-RXJLU36B.js → search-output-LEKJVZSH.js} +9 -9
- package/dist/cli/{secrets-QJNG7G2Y.js → secrets-MR2FNFGD.js} +15 -15
- package/dist/cli/{secrets-CGELYQ3H.mjs → secrets-TLH3FKCT.mjs} +6 -6
- package/dist/cli/sessions-EJYLWV2M.js +23 -0
- package/dist/cli/{sessions-ELMWVR4M.mjs → sessions-LUL5P66K.mjs} +6 -6
- package/dist/cli/{settings-RR3LZXL7.mjs → settings-AWSRUTZR.mjs} +12 -12
- package/dist/cli/{settings-44I44P5F.js → settings-Z2HYUOL7.js} +85 -85
- package/dist/cli/{setup-KTEYOCJO.js → setup-FIMXN4IC.js} +51 -54
- package/dist/cli/{setup-KGWRWH4B.mjs → setup-PFPAJOUI.mjs} +11 -14
- package/dist/cli/skills-232RNG5G.js +37 -0
- package/dist/cli/{skills-FPRID2I5.mjs → skills-5DKSATY5.mjs} +7 -7
- package/dist/cli/{tools-PI4WMDLY.mjs → tools-BDNASCSH.mjs} +20 -20
- package/dist/cli/tools-P7FBJVJA.js +57 -0
- package/dist/cli/{update-VJOJAZ7B.mjs → update-CAFUZ5XT.mjs} +9 -9
- package/dist/cli/update-OC4UB2XE.js +37 -0
- package/dist/cli/{views-OVPSINZO.mjs → views-7PDXZUQA.mjs} +6 -6
- package/dist/cli/{views-NTUOLNQU.js → views-XJOBO6US.js} +21 -21
- package/dist/cli/{workflow-7OEFNXZC.mjs → workflow-2BMUGN7M.mjs} +7 -7
- package/dist/cli/{workflow-2UDYDM6F.js → workflow-KCPLU5R7.js} +17 -17
- package/dist/{client-B8f7RNF8.d.mts → client-1ogYQqUw.d.mts} +1 -1
- package/dist/{client-C5TgXmJQ.d.ts → client-BoayTB7p.d.ts} +1 -1
- package/dist/{client-core-SLLGBTht.d.mts → client-core-Ch8CXaX4.d.mts} +8 -2
- package/dist/{client-core-p0sOxnkl.d.ts → client-core-DySw9x_E.d.ts} +8 -2
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +126 -126
- package/dist/plays/play-description.d.mts +1 -1
- package/dist/plays/play-description.d.ts +1 -1
- package/dist/plays/run-request.d.mts +1 -1
- package/dist/plays/run-request.d.ts +1 -1
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.d.mts +2 -2
- package/dist/server.d.ts +2 -2
- 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-UUU5WUKM.mjs";
|
|
4
|
+
import "./chunk-57J3OOCR.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-N55EUVKV.mjs";
|
|
12
|
+
import "./chunk-66BQY77L.mjs";
|
|
13
|
+
import "./chunk-XIHZUWIG.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-PGPPZMXD.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 _chunkQZ2C5ARHjs = require('./chunk-QZ2C5ARH.js');
|
|
4
|
+
require('./chunk-DYWOBLYL.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 _chunkRWT6N2SUjs = require('./chunk-RWT6N2SU.js');
|
|
12
|
+
require('./chunk-AYCC5JAS.js');
|
|
13
|
+
require('./chunk-6M2SDRWN.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-T3QSHU6E.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, _chunkQZ2C5ARHjs.DeeplineClient)();
|
|
25
25
|
const changed = options.changed === true;
|
|
26
|
-
const emitJson = options.json === true ||
|
|
26
|
+
const emitJson = options.json === true || _chunkRWT6N2SUjs.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
|
+
_chunkRWT6N2SUjs.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 _chunkRWT6N2SUjs = require('./chunk-RWT6N2SU.js');
|
|
5
|
+
require('./chunk-AYCC5JAS.js');
|
|
6
|
+
require('./chunk-6M2SDRWN.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-T3QSHU6E.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 = _chunkRWT6N2SUjs.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
|
+
_chunkRWT6N2SUjs.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-N55EUVKV.mjs";
|
|
5
|
+
import "./chunk-66BQY77L.mjs";
|
|
6
|
+
import "./chunk-XIHZUWIG.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-PGPPZMXD.mjs";
|
|
12
12
|
import "./chunk-WZYKRD7T.mjs";
|
|
13
13
|
import {
|
|
14
14
|
DEEPLINE_GTM_SKILL,
|
|
@@ -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 _chunkMOJ65E7Ljs = require('./chunk-MOJ65E7L.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
require('./chunk-7GEMELKI.js');
|
|
8
|
+
var _chunkSF2LIUVOjs = require('./chunk-SF2LIUVO.js');
|
|
10
9
|
|
|
11
10
|
|
|
11
|
+
var _chunkMIXPZ4G7js = require('./chunk-MIXPZ4G7.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
require('./chunk-
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
var _chunkQMDG7FKAjs = require('./chunk-QMDG7FKA.js');
|
|
18
|
+
require('./chunk-EG44APVW.js');
|
|
19
|
+
require('./chunk-Z2T7XTND.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-QZ2C5ARH.js');
|
|
29
31
|
require('./chunk-BLMB4N63.js');
|
|
30
|
-
require('./chunk-
|
|
32
|
+
require('./chunk-DYWOBLYL.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-U6KGXTYS.js');
|
|
37
|
+
require('./chunk-SE56PJ46.js');
|
|
38
|
+
require('./chunk-YXH5Q7OY.js');
|
|
39
|
+
require('./chunk-TFPKGTMD.js');
|
|
40
|
+
require('./chunk-7LM55DIN.js');
|
|
41
|
+
require('./chunk-72VEVAIX.js');
|
|
40
42
|
|
|
41
43
|
|
|
42
|
-
var
|
|
44
|
+
var _chunkWTQGJBHDjs = require('./chunk-WTQGJBHD.js');
|
|
43
45
|
|
|
44
46
|
|
|
45
|
-
var
|
|
46
|
-
require('./chunk-
|
|
47
|
-
require('./chunk-
|
|
47
|
+
var _chunkRWT6N2SUjs = require('./chunk-RWT6N2SU.js');
|
|
48
|
+
require('./chunk-AYCC5JAS.js');
|
|
49
|
+
require('./chunk-6M2SDRWN.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-T3QSHU6E.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, () => ( "{}")) : _chunkMIXPZ4G7js.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
|
+
_chunkQMDG7FKAjs.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 (!_chunkQMDG7FKAjs.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-P7FBJVJA.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-PXUVRS4K.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 (_chunkMOJ65E7Ljs.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 _chunkSF2LIUVOjs.findNamed.call(void 0, base, {});
|
|
172
174
|
if (!found.chosen && revision) {
|
|
173
|
-
found = await
|
|
175
|
+
found = await _chunkSF2LIUVOjs.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(_chunkSF2LIUVOjs.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-P7FBJVJA.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
|
+
_chunkQMDG7FKAjs.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-PXUVRS4K.js")));
|
|
235
237
|
const { output, options, revision } = play;
|
|
236
238
|
if (options.dryRun) {
|
|
237
|
-
const dryRunOptions =
|
|
239
|
+
const dryRunOptions = _chunkMOJ65E7Ljs.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) => _chunkQMDG7FKAjs.writeExecutionOutput.call(void 0,
|
|
244
246
|
{
|
|
245
247
|
id: null,
|
|
246
248
|
status: "failed",
|
|
247
|
-
error:
|
|
249
|
+
error: _chunkRWT6N2SUjs.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) => _chunkQMDG7FKAjs.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 _chunkQMDG7FKAjs.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 = _chunkWTQGJBHDjs.createCliProgress.call(void 0, true);
|
|
276
|
+
if (!play.noWait) progress.setLogWriter(_chunkQMDG7FKAjs.openLogDestination.call(void 0, output));
|
|
275
277
|
progress.setQuiet(process.stderr.isTTY !== true);
|
|
276
278
|
try {
|
|
277
279
|
const code = await handlePlayRun(
|
|
278
|
-
|
|
280
|
+
_chunkMOJ65E7Ljs.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,
|
|
@@ -294,21 +296,15 @@ async function runPlay(reference, play) {
|
|
|
294
296
|
writeResult: async (client, status) => {
|
|
295
297
|
id = status.runId;
|
|
296
298
|
written = true;
|
|
297
|
-
const full =
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
}) : status;
|
|
299
|
+
const full = ["completed", "failed", "cancelled"].includes(
|
|
300
|
+
status.status
|
|
301
|
+
) ? await client.getPlayStatus(status.runId, { full: true }) : status;
|
|
301
302
|
const final = full.status === status.status ? full : status;
|
|
302
|
-
await writePlayRunReceipt(
|
|
303
|
-
client,
|
|
304
|
-
// The full read skips billing; keep the cost the run reported.
|
|
305
|
-
{ ...final, billing: _nullishCoalesce(final.billing, () => ( status.billing)) },
|
|
306
|
-
output
|
|
307
|
-
);
|
|
303
|
+
await writePlayRunReceipt(client, final, output);
|
|
308
304
|
},
|
|
309
305
|
writeStarted: (runId, status, page) => {
|
|
310
306
|
written = true;
|
|
311
|
-
|
|
307
|
+
_chunkQMDG7FKAjs.writeExecutionOutput.call(void 0,
|
|
312
308
|
{
|
|
313
309
|
id: runId,
|
|
314
310
|
status,
|
|
@@ -324,7 +320,7 @@ async function runPlay(reference, play) {
|
|
|
324
320
|
}
|
|
325
321
|
);
|
|
326
322
|
if (!written) {
|
|
327
|
-
|
|
323
|
+
_chunkQMDG7FKAjs.writeExecutionOutput.call(void 0,
|
|
328
324
|
{
|
|
329
325
|
id,
|
|
330
326
|
status: "failed",
|
|
@@ -336,11 +332,11 @@ async function runPlay(reference, play) {
|
|
|
336
332
|
return code;
|
|
337
333
|
} catch (error) {
|
|
338
334
|
if (written) throw error;
|
|
339
|
-
|
|
335
|
+
_chunkQMDG7FKAjs.writeExecutionOutput.call(void 0,
|
|
340
336
|
{
|
|
341
337
|
id,
|
|
342
338
|
status: "failed",
|
|
343
|
-
error:
|
|
339
|
+
error: _chunkRWT6N2SUjs.errorToJsonPayload.call(void 0, error).error,
|
|
344
340
|
...id ? { next: { status: `deepline runs get ${id}` } } : {}
|
|
345
341
|
},
|
|
346
342
|
output
|
|
@@ -366,7 +362,7 @@ function registerRunCommand(program) {
|
|
|
366
362
|
try {
|
|
367
363
|
process.exitCode = await runAnything(name, options);
|
|
368
364
|
} catch (error) {
|
|
369
|
-
if (options.receiptOut === void 0 || !(error instanceof
|
|
365
|
+
if (options.receiptOut === void 0 || !(error instanceof _chunkQMDG7FKAjs.ExecutionOutputError)) {
|
|
370
366
|
throw error;
|
|
371
367
|
}
|
|
372
368
|
process.exitCode = 1;
|
|
@@ -1,55 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
looksLikeFilePath,
|
|
3
3
|
resolvePlayRunCliOptions
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Z3O5GCQM.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findNamed,
|
|
7
7
|
nothingNamed
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import
|
|
8
|
+
} from "./chunk-AUY53RLU.mjs";
|
|
9
|
+
import {
|
|
10
|
+
jsonFileText
|
|
11
|
+
} from "./chunk-RL7ZI4ZG.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-S65SZ74B.mjs";
|
|
18
|
+
import "./chunk-6R5Y7U52.mjs";
|
|
19
|
+
import "./chunk-5J6TKML2.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-UUU5WUKM.mjs";
|
|
29
31
|
import "./chunk-2GEYN3H4.mjs";
|
|
30
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-57J3OOCR.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-I45RNMNZ.mjs";
|
|
37
|
+
import "./chunk-NFWZAQAU.mjs";
|
|
38
|
+
import "./chunk-ASDVROA5.mjs";
|
|
39
|
+
import "./chunk-DFL3UBW2.mjs";
|
|
40
|
+
import "./chunk-M2CW4UZV.mjs";
|
|
41
|
+
import "./chunk-UYYOO7VT.mjs";
|
|
40
42
|
import {
|
|
41
43
|
createCliProgress
|
|
42
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-7H753VC5.mjs";
|
|
43
45
|
import {
|
|
44
46
|
errorToJsonPayload
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
47
|
+
} from "./chunk-N55EUVKV.mjs";
|
|
48
|
+
import "./chunk-66BQY77L.mjs";
|
|
49
|
+
import "./chunk-XIHZUWIG.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-PGPPZMXD.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-BDNASCSH.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-FHHCHNQH.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-BDNASCSH.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-FHHCHNQH.mjs");
|
|
235
237
|
const { output, options, revision } = play;
|
|
236
238
|
if (options.dryRun) {
|
|
237
239
|
const dryRunOptions = resolvePlayRunCliOptions(reference, {
|
|
@@ -294,17 +296,11 @@ async function runPlay(reference, play) {
|
|
|
294
296
|
writeResult: async (client, status) => {
|
|
295
297
|
id = status.runId;
|
|
296
298
|
written = true;
|
|
297
|
-
const full =
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
}) : status;
|
|
299
|
+
const full = ["completed", "failed", "cancelled"].includes(
|
|
300
|
+
status.status
|
|
301
|
+
) ? await client.getPlayStatus(status.runId, { full: true }) : status;
|
|
301
302
|
const final = full.status === status.status ? full : status;
|
|
302
|
-
await writePlayRunReceipt(
|
|
303
|
-
client,
|
|
304
|
-
// The full read skips billing; keep the cost the run reported.
|
|
305
|
-
{ ...final, billing: final.billing ?? status.billing },
|
|
306
|
-
output
|
|
307
|
-
);
|
|
303
|
+
await writePlayRunReceipt(client, final, output);
|
|
308
304
|
},
|
|
309
305
|
writeStarted: (runId, status, page) => {
|
|
310
306
|
written = true;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkZ2T7XTNDjs = require('./chunk-Z2T7XTND.js');
|
|
9
|
+
require('./chunk-D3BCSAN7.js');
|
|
10
|
+
require('./chunk-QZ2C5ARH.js');
|
|
11
|
+
require('./chunk-DYWOBLYL.js');
|
|
12
|
+
require('./chunk-4WAM6TLD.js');
|
|
13
|
+
require('./chunk-MJTVX4QK.js');
|
|
14
|
+
require('./chunk-PMH4GLMD.js');
|
|
15
|
+
require('./chunk-RWT6N2SU.js');
|
|
16
|
+
require('./chunk-AYCC5JAS.js');
|
|
17
|
+
require('./chunk-6M2SDRWN.js');
|
|
18
|
+
require('./chunk-6VLFQZK6.js');
|
|
19
|
+
require('./chunk-XNYIZMNQ.js');
|
|
20
|
+
require('./chunk-LFQJW4S2.js');
|
|
21
|
+
require('./chunk-CFJFUVX2.js');
|
|
22
|
+
require('./chunk-T3QSHU6E.js');
|
|
23
|
+
require('./chunk-OG64RBAC.js');
|
|
24
|
+
require('./chunk-COGTRVWW.js');
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
exports.SEARCH_TYPES = _chunkZ2T7XTNDjs.SEARCH_TYPES; exports.appendCsv = _chunkZ2T7XTNDjs.appendCsv; exports.parseTypes = _chunkZ2T7XTNDjs.parseTypes; exports.pointAtDescribe = _chunkZ2T7XTNDjs.pointAtDescribe; exports.registerDeprecatedSearchCommand = _chunkZ2T7XTNDjs.registerDeprecatedSearchCommand; exports.registerSearchCommand = _chunkZ2T7XTNDjs.registerSearchCommand;
|
|
@@ -5,21 +5,21 @@ import {
|
|
|
5
5
|
pointAtDescribe,
|
|
6
6
|
registerDeprecatedSearchCommand,
|
|
7
7
|
registerSearchCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5J6TKML2.mjs";
|
|
9
9
|
import "./chunk-5AEDYVB6.mjs";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-UUU5WUKM.mjs";
|
|
11
|
+
import "./chunk-57J3OOCR.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-N55EUVKV.mjs";
|
|
16
|
+
import "./chunk-66BQY77L.mjs";
|
|
17
|
+
import "./chunk-XIHZUWIG.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-PGPPZMXD.mjs";
|
|
23
23
|
import "./chunk-WZYKRD7T.mjs";
|
|
24
24
|
import "./chunk-KRD6H754.mjs";
|
|
25
25
|
export {
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
} from "./chunk-5AEDYVB6.mjs";
|
|
4
4
|
import {
|
|
5
5
|
discoveryAuthLines
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-XFZX6FNM.mjs";
|
|
7
|
+
import "./chunk-STXDSVQZ.mjs";
|
|
8
8
|
import "./chunk-PSX3WHIH.mjs";
|
|
9
9
|
import {
|
|
10
10
|
renderCommandEnvelopeText
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-N55EUVKV.mjs";
|
|
12
|
+
import "./chunk-66BQY77L.mjs";
|
|
13
|
+
import "./chunk-XIHZUWIG.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-PGPPZMXD.mjs";
|
|
19
19
|
import "./chunk-WZYKRD7T.mjs";
|
|
20
20
|
import {
|
|
21
21
|
__commonJS,
|