deepline 0.3.573 → 0.3.574
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/config.ts +19 -0
- package/dist/bundling-sources/sdk/src/play.ts +7 -4
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/sdk/src/types.ts +8 -0
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-launch-transport.ts +43 -7
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +56 -20
- package/dist/cli/agents-6WN5LYUP.mjs +833 -0
- package/dist/cli/agents-7ZZSF4FS.js +833 -0
- package/dist/cli/{auth-XX3HLRQ2.mjs → auth-I2QVO677.mjs} +5 -5
- package/dist/cli/auth-UKPV5U2B.js +44 -0
- package/dist/cli/{billing-6TY2HMC6.js → billing-44QFBUWA.js} +106 -106
- package/dist/cli/{billing-QASEPOBL.mjs → billing-YPH4GEWU.mjs} +10 -10
- package/dist/cli/{chunk-GWPXWKQR.js → chunk-2QYU57RG.js} +15 -7
- package/dist/cli/{chunk-OPD6XUIG.js → chunk-2RPRSTHD.js} +5 -5
- package/dist/cli/{chunk-DSE45YP4.mjs → chunk-2TMAKJBT.mjs} +2 -2
- package/dist/cli/{chunk-PW3PADXI.mjs → chunk-4T2U72SP.mjs} +1 -1
- package/dist/cli/{chunk-JAW75RAO.js → chunk-5E2PAGF5.js} +27 -20
- package/dist/cli/{chunk-X3BGF6UU.js → chunk-6B5EZOI3.js} +10 -10
- package/dist/cli/{chunk-UBTEDSIK.js → chunk-6GZIT3TH.js} +20 -20
- package/dist/cli/{chunk-N5VL6BHF.mjs → chunk-7334X74C.mjs} +2 -2
- package/dist/cli/{chunk-TNCJ2J76.js → chunk-7GQU46SZ.js} +26 -26
- package/dist/cli/{chunk-KQZBN7TB.js → chunk-7UR57HPJ.js} +1 -1
- package/dist/cli/{chunk-6ASDTHEN.js → chunk-AFPGYZBH.js} +21 -17
- package/dist/cli/{chunk-QFDT35HF.mjs → chunk-B2XLIQPH.mjs} +3 -3
- package/dist/cli/{chunk-DIZI5YGW.js → chunk-BUBOZKH2.js} +2 -2
- package/dist/cli/{chunk-Z6KWSBOX.js → chunk-D6ZVRKJ2.js} +41 -41
- package/dist/cli/{chunk-CY3BUFMG.js → chunk-DG56RWI2.js} +2 -2
- package/dist/cli/{chunk-TJSKDOXN.js → chunk-DOZIWA66.js} +7 -7
- package/dist/cli/{chunk-LPYUGPTF.mjs → chunk-DX646HO7.mjs} +4 -4
- package/dist/cli/{chunk-YKHXWO7N.js → chunk-ECLCRE5P.js} +3 -3
- package/dist/cli/{chunk-OG3YWDYA.js → chunk-G2HW2SAP.js} +13 -13
- package/dist/cli/{chunk-QDQOXHXQ.mjs → chunk-G7OR3GVD.mjs} +5 -5
- package/dist/cli/{chunk-ROSPYLDN.mjs → chunk-GMQZFWQU.mjs} +17 -10
- package/dist/cli/{chunk-UZLTBBAG.js → chunk-H7PVSG3L.js} +15 -15
- package/dist/cli/{chunk-WQEGXOUT.js → chunk-I62ZBEKH.js} +48 -48
- package/dist/cli/{chunk-5NEJOCOK.mjs → chunk-IA2LTIWO.mjs} +2 -2
- package/dist/cli/{chunk-DLWVJ66I.js → chunk-IB225ZK4.js} +4 -4
- package/dist/cli/{chunk-FUVVTHXE.js → chunk-ID3LGPOE.js} +23 -23
- package/dist/cli/{chunk-LHPYCJNL.js → chunk-IXYVHTRZ.js} +19 -6
- package/dist/cli/{chunk-64MOX3SN.mjs → chunk-JCO226JM.mjs} +111 -2
- package/dist/cli/{chunk-JCVAVHDP.mjs → chunk-JY7RKJ65.mjs} +21 -16
- package/dist/cli/{chunk-N6KF6X3D.js → chunk-KSHZY52O.js} +114 -5
- package/dist/cli/{chunk-BM4GE67C.mjs → chunk-L2NXB4WG.mjs} +19 -6
- package/dist/cli/{chunk-4K6UVILG.mjs → chunk-LCAXLGAY.mjs} +2 -2
- package/dist/cli/{chunk-XWO4J34B.js → chunk-LJLM4BUL.js} +6 -6
- package/dist/cli/{chunk-T2QI52F2.mjs → chunk-LLSCFLFU.mjs} +1 -1
- package/dist/cli/{chunk-C52RRBYB.mjs → chunk-MAMGREBW.mjs} +1 -1
- package/dist/cli/{chunk-NUH56LTU.mjs → chunk-MGF3MK27.mjs} +5 -5
- package/dist/cli/{chunk-FXLVMWWA.js → chunk-N6I3BB2O.js} +280 -275
- package/dist/cli/{chunk-UNTBQY64.js → chunk-NDDGFX4X.js} +11 -11
- package/dist/cli/{chunk-NJTTRJ32.mjs → chunk-NRVEVKXR.mjs} +2 -2
- package/dist/cli/{chunk-IXCGWJJZ.mjs → chunk-OH6WOID2.mjs} +2 -2
- package/dist/cli/{chunk-WSXRJ2RZ.mjs → chunk-OIZUFRTE.mjs} +3 -3
- package/dist/cli/{chunk-2USXCXPZ.js → chunk-PP5RMEQQ.js} +5 -5
- package/dist/cli/{chunk-ANSHNREL.mjs → chunk-PW6NKI2A.mjs} +3 -3
- package/dist/cli/{chunk-ENHQBPR5.mjs → chunk-Q3A53SWK.mjs} +4 -3
- package/dist/cli/{chunk-XLN4Z654.mjs → chunk-QPSBV4FD.mjs} +2 -2
- package/dist/cli/{chunk-4LWBURSS.mjs → chunk-S22FSNNC.mjs} +1 -1
- package/dist/cli/{chunk-KART6FR6.js → chunk-SLXCVPN7.js} +2 -2
- package/dist/cli/{chunk-MQOJ7SP4.mjs → chunk-SRUNYWQ2.mjs} +9 -1
- package/dist/cli/{chunk-XVFRNNL2.js → chunk-UXIUAIL2.js} +53 -53
- package/dist/cli/{chunk-M2UJWUWX.mjs → chunk-VGIDPJXM.mjs} +3 -3
- package/dist/cli/{chunk-IZK2BLBW.js → chunk-VLUBEMWM.js} +20 -20
- package/dist/cli/{chunk-N3VZTISZ.js → chunk-VYSUJMB5.js} +8 -8
- package/dist/cli/{chunk-6JTJP3WO.mjs → chunk-W6UCS3O6.mjs} +5 -5
- package/dist/cli/{chunk-XAIXTB74.mjs → chunk-X7RKCAMX.mjs} +4 -4
- package/dist/cli/{chunk-TBLP7HDL.js → chunk-XMBTAPHR.js} +10 -9
- package/dist/cli/{chunk-ESKNCTFI.mjs → chunk-XVBEEGI4.mjs} +1 -1
- package/dist/cli/{chunk-5MCC4D25.mjs → chunk-YR4REP4D.mjs} +1 -1
- package/dist/cli/{chunk-KQLIG4YR.js → chunk-Z3XFXFRT.js} +9 -9
- package/dist/cli/{chunk-ENLJ67CZ.mjs → chunk-ZFXDD7VM.mjs} +1 -1
- package/dist/cli/{chunk-HUJMFETO.mjs → chunk-ZTCP5BHH.mjs} +7 -3
- package/dist/cli/command-docs.js +3 -3
- package/dist/cli/command-docs.mjs +2 -2
- package/dist/cli/concurrent-runs-help-BFVCUJF4.js +22 -0
- package/dist/cli/{concurrent-runs-help-IILHMHBX.mjs → concurrent-runs-help-ROQM6UB3.mjs} +7 -7
- package/dist/cli/{csv-OSJQVDAS.js → csv-FWGSY4GE.js} +13 -13
- package/dist/cli/{csv-VGYW2PQZ.mjs → csv-R7GV33BC.mjs} +4 -4
- package/dist/cli/{db-2IMS6K2F.js → db-OCH35YJG.js} +27 -27
- package/dist/cli/{db-3IQYT3WD.mjs → db-UWXA4RRV.mjs} +6 -6
- package/dist/cli/describe-6OI5K2SH.js +50 -0
- package/dist/cli/{describe-IGJ4CHUC.mjs → describe-QI4HMUGE.mjs} +21 -21
- package/dist/cli/describe-core.d.mts +4 -2
- package/dist/cli/describe-core.d.ts +4 -2
- package/dist/cli/describe-core.js +4 -4
- package/dist/cli/describe-core.mjs +3 -3
- package/dist/cli/{executions-VOJN4NPF.js → executions-7CFGC24E.js} +8 -8
- package/dist/cli/{executions-6F3PLVCR.mjs → executions-YF3KMZZN.mjs} +6 -6
- package/dist/cli/{feedback-BP5G27DT.mjs → feedback-DWIWBS7O.mjs} +6 -6
- package/dist/cli/{feedback-5N7GKSMC.js → feedback-YCZHHSBS.js} +14 -14
- package/dist/cli/git-TGLNZRS3.js +26 -0
- package/dist/cli/{git-FHNCP7QA.mjs → git-XCGMQQOD.mjs} +5 -5
- package/dist/cli/index.js +152 -148
- package/dist/cli/index.mjs +51 -47
- package/dist/cli/{integrations-KKCEEWDU.mjs → integrations-5ABAJBSW.mjs} +7 -7
- package/dist/cli/{integrations-JZV55BZT.js → integrations-IEZA3TGK.js} +29 -29
- package/dist/cli/{legacy-noops-OVOHF47E.js → legacy-noops-KNFLJ5P2.js} +9 -9
- package/dist/cli/{legacy-noops-YOPWDLRG.mjs → legacy-noops-OZMY73Y3.mjs} +6 -6
- package/dist/cli/{mcp-F2XGBA6W.js → mcp-NLQAO7KP.js} +24 -24
- package/dist/cli/{mcp-SJAXFYTI.mjs → mcp-WSPFKQPZ.mjs} +4 -4
- package/dist/cli/{monitors-RQRNQRYB.js → monitors-BJYOB4S3.js} +100 -100
- package/dist/cli/{monitors-PFH3FQLD.mjs → monitors-LPKFFTOX.mjs} +7 -7
- package/dist/cli/{org-PZC6SUZD.mjs → org-RYPMUYUW.mjs} +6 -6
- package/dist/cli/{org-WPOEKMTG.js → org-WIVHI4WT.js} +121 -121
- package/dist/cli/{outcomes-ZS7XD3KQ.mjs → outcomes-FADJYC4I.mjs} +9 -7
- package/dist/cli/{outcomes-EXOCNHOC.js → outcomes-QKX7IE3O.js} +17 -15
- package/dist/cli/{play-UKSRFVIU.mjs → play-4ZKK5Q7U.mjs} +88 -33
- package/dist/cli/{play-JS2TEEE7.js → play-ID73J3NP.js} +393 -338
- package/dist/cli/{providers-U6IODPMJ.mjs → providers-LURYBSNO.mjs} +6 -6
- package/dist/cli/{providers-3U4MWBLU.js → providers-WCCGYGW6.js} +9 -9
- package/dist/cli/{quickstart-G5QN5CUE.mjs → quickstart-KCCSEE5J.mjs} +4 -4
- package/dist/cli/{quickstart-SHBAEDX6.js → quickstart-LVPOU25V.js} +6 -6
- package/dist/cli/{run-SZRKNLUT.js → run-2QMJRCVA.js} +48 -48
- package/dist/cli/{run-3ZOJ6V7C.mjs → run-XXK7DDUF.mjs} +26 -26
- package/dist/cli/search-AQSAXA6D.js +32 -0
- package/dist/cli/{search-2VX5WNMJ.mjs → search-ZYAWW3CK.mjs} +7 -7
- package/dist/cli/{search-output-U5N2O6IA.mjs → search-output-N45AIOB4.mjs} +9 -6
- package/dist/cli/{search-output-WGDHYYHX.js → search-output-YNXAZSKT.js} +12 -9
- package/dist/cli/{secrets-SQKP5ILO.mjs → secrets-7Q3AOUAS.mjs} +6 -6
- package/dist/cli/{secrets-UITJOGVQ.js → secrets-MHT27L2M.js} +15 -15
- package/dist/cli/{sessions-LSXO2OKX.mjs → sessions-6QKOM7M3.mjs} +6 -6
- package/dist/cli/sessions-RGD7L4LC.js +23 -0
- package/dist/cli/{settings-YGYRDPOK.mjs → settings-NPVIDENI.mjs} +12 -12
- package/dist/cli/{settings-VZI675JG.js → settings-OP7Q6YX6.js} +85 -85
- package/dist/cli/{setup-GXGXRWKN.mjs → setup-OOT3EIMF.mjs} +9 -9
- package/dist/cli/{setup-OJ33NOWK.js → setup-RT6GHL3W.js} +49 -49
- package/dist/cli/skills-ERAA734H.js +37 -0
- package/dist/cli/{skills-3VDYIFAX.mjs → skills-TEXI4CLZ.mjs} +7 -7
- package/dist/cli/tools-D5SZSIIH.js +57 -0
- package/dist/cli/{tools-3TKEGDBP.mjs → tools-G5L36M3X.mjs} +19 -19
- package/dist/cli/update-WZ6527EF.js +37 -0
- package/dist/cli/{update-K6A4QXTC.mjs → update-YNKQTE4D.mjs} +9 -9
- package/dist/cli/{views-2PPIVWDK.mjs → views-IQFMUMLU.mjs} +6 -6
- package/dist/cli/{views-SGGO77XS.js → views-OVQ5AQAU.js} +21 -21
- package/dist/cli/{workflow-YSFOOTPB.js → workflow-RCBYXIFZ.js} +17 -17
- package/dist/cli/{workflow-JTG6QEFO.mjs → workflow-Y5IFMI7N.mjs} +7 -7
- package/dist/{client-DCnExziW.d.ts → client-BrdMPFCM.d.ts} +1 -1
- package/dist/{client-ClJlqkKt.d.mts → client-CF-bsrtI.d.mts} +1 -1
- package/dist/{client-core-DAOPQnGD.d.mts → client-core-DM1ZedOG.d.mts} +8 -0
- package/dist/{client-core-BKq5ZNAl.d.ts → client-core-rMoUWSYM.d.ts} +8 -0
- 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 +128 -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-DGR7ZQJL.js +0 -44
- package/dist/cli/concurrent-runs-help-HEIDXAM2.js +0 -22
- package/dist/cli/describe-LBU4I6SU.js +0 -50
- package/dist/cli/git-JUSPUUOH.js +0 -26
- package/dist/cli/search-TAFMLK4K.js +0 -32
- package/dist/cli/sessions-RA6FBIHJ.js +0 -23
- package/dist/cli/skills-J5QVWKLQ.js +0 -37
- package/dist/cli/tools-3PQXQGXL.js +0 -57
- package/dist/cli/update-CA3DZ75E.js +0 -37
- /package/dist/cli/{chunk-2RIKOPIM.mjs → chunk-HECXJBED.mjs} +0 -0
- /package/dist/cli/{chunk-H4ALLC2X.js → chunk-TJCENACZ.js} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-LCAXLGAY.mjs";
|
|
4
|
+
import "./chunk-4T2U72SP.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-2TMAKJBT.mjs";
|
|
12
|
+
import "./chunk-SRUNYWQ2.mjs";
|
|
13
|
+
import "./chunk-ZFXDD7VM.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-XVBEEGI4.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 _chunk2RPRSTHDjs = require('./chunk-2RPRSTHD.js');
|
|
4
|
+
require('./chunk-VYSUJMB5.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 _chunkVLUBEMWMjs = require('./chunk-VLUBEMWM.js');
|
|
12
|
+
require('./chunk-2QYU57RG.js');
|
|
13
|
+
require('./chunk-IB225ZK4.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-7UR57HPJ.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, _chunk2RPRSTHDjs.DeeplineClient)();
|
|
25
25
|
const changed = options.changed === true;
|
|
26
|
-
const emitJson = options.json === true ||
|
|
26
|
+
const emitJson = options.json === true || _chunkVLUBEMWMjs.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
|
+
_chunkVLUBEMWMjs.printCommandEnvelope.call(void 0,
|
|
47
47
|
{
|
|
48
48
|
providers,
|
|
49
49
|
count: providers.length,
|
|
@@ -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-2TMAKJBT.mjs";
|
|
5
|
+
import "./chunk-SRUNYWQ2.mjs";
|
|
6
|
+
import "./chunk-ZFXDD7VM.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-XVBEEGI4.mjs";
|
|
12
12
|
import "./chunk-WZYKRD7T.mjs";
|
|
13
13
|
import {
|
|
14
14
|
DEEPLINE_GTM_SKILL,
|
|
@@ -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 _chunkVLUBEMWMjs = require('./chunk-VLUBEMWM.js');
|
|
5
|
+
require('./chunk-2QYU57RG.js');
|
|
6
|
+
require('./chunk-IB225ZK4.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-7UR57HPJ.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 = _chunkVLUBEMWMjs.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
|
+
_chunkVLUBEMWMjs.printCommandEnvelope.call(void 0,
|
|
27
27
|
{
|
|
28
28
|
ok: true,
|
|
29
29
|
status: "deprecated",
|
|
@@ -1,57 +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 _chunkZ3XFXFRTjs = require('./chunk-Z3XFXFRT.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunk5E2PAGF5js = require('./chunk-5E2PAGF5.js');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkN6I3BB2Ojs = require('./chunk-N6I3BB2O.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
18
|
-
require('./chunk-
|
|
19
|
-
require('./chunk-
|
|
17
|
+
var _chunkNDDGFX4Xjs = require('./chunk-NDDGFX4X.js');
|
|
18
|
+
require('./chunk-H7PVSG3L.js');
|
|
19
|
+
require('./chunk-6B5EZOI3.js');
|
|
20
20
|
require('./chunk-D3BCSAN7.js');
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
24
|
-
require('./chunk-
|
|
25
|
-
require('./chunk-
|
|
23
|
+
var _chunkAFPGYZBHjs = require('./chunk-AFPGYZBH.js');
|
|
24
|
+
require('./chunk-XMBTAPHR.js');
|
|
25
|
+
require('./chunk-IXYVHTRZ.js');
|
|
26
26
|
require('./chunk-BVXIGOBZ.js');
|
|
27
27
|
require('./chunk-CSPHSNBW.js');
|
|
28
28
|
require('./chunk-J33TSWO5.js');
|
|
29
29
|
require('./chunk-HGFFYVXN.js');
|
|
30
|
-
require('./chunk-
|
|
30
|
+
require('./chunk-2RPRSTHD.js');
|
|
31
31
|
require('./chunk-BLMB4N63.js');
|
|
32
|
-
require('./chunk-
|
|
32
|
+
require('./chunk-VYSUJMB5.js');
|
|
33
33
|
require('./chunk-4WAM6TLD.js');
|
|
34
34
|
require('./chunk-MJTVX4QK.js');
|
|
35
35
|
require('./chunk-PMH4GLMD.js');
|
|
36
|
-
require('./chunk-
|
|
37
|
-
require('./chunk-
|
|
38
|
-
require('./chunk-
|
|
39
|
-
require('./chunk-
|
|
40
|
-
require('./chunk-
|
|
41
|
-
require('./chunk-
|
|
36
|
+
require('./chunk-ID3LGPOE.js');
|
|
37
|
+
require('./chunk-SLXCVPN7.js');
|
|
38
|
+
require('./chunk-6GZIT3TH.js');
|
|
39
|
+
require('./chunk-DG56RWI2.js');
|
|
40
|
+
require('./chunk-D6ZVRKJ2.js');
|
|
41
|
+
require('./chunk-I62ZBEKH.js');
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
var
|
|
44
|
+
var _chunkECLCRE5Pjs = require('./chunk-ECLCRE5P.js');
|
|
45
45
|
|
|
46
46
|
|
|
47
|
-
var
|
|
48
|
-
require('./chunk-
|
|
49
|
-
require('./chunk-
|
|
47
|
+
var _chunkVLUBEMWMjs = require('./chunk-VLUBEMWM.js');
|
|
48
|
+
require('./chunk-2QYU57RG.js');
|
|
49
|
+
require('./chunk-IB225ZK4.js');
|
|
50
50
|
require('./chunk-6VLFQZK6.js');
|
|
51
51
|
require('./chunk-XNYIZMNQ.js');
|
|
52
52
|
require('./chunk-LFQJW4S2.js');
|
|
53
53
|
require('./chunk-CFJFUVX2.js');
|
|
54
|
-
require('./chunk-
|
|
54
|
+
require('./chunk-7UR57HPJ.js');
|
|
55
55
|
require('./chunk-OG64RBAC.js');
|
|
56
56
|
require('./chunk-RLX5ZFNX.js');
|
|
57
57
|
require('./chunk-COGTRVWW.js');
|
|
@@ -72,7 +72,7 @@ function readInput(options) {
|
|
|
72
72
|
}
|
|
73
73
|
const path = _nullishCoalesce(options.inputFile, () => ( (_optionalChain([options, 'access', _ => _.input, 'optionalAccess', _2 => _2.startsWith, 'call', _3 => _3("@")]) ? options.input.slice(1) : void 0)));
|
|
74
74
|
const flag = options.inputFile !== void 0 ? "--input-file" : "--input";
|
|
75
|
-
const text = path === void 0 ? _nullishCoalesce(options.input, () => ( "{}")) :
|
|
75
|
+
const text = path === void 0 ? _nullishCoalesce(options.input, () => ( "{}")) : _chunkN6I3BB2Ojs.jsonFileText.call(void 0, _fs.readFileSync.call(void 0, path === "-" ? 0 : path));
|
|
76
76
|
let input;
|
|
77
77
|
try {
|
|
78
78
|
input = JSON.parse(text);
|
|
@@ -87,7 +87,7 @@ function readInput(options) {
|
|
|
87
87
|
return input;
|
|
88
88
|
}
|
|
89
89
|
function refuse(message, output) {
|
|
90
|
-
|
|
90
|
+
_chunkNDDGFX4Xjs.writeExecutionOutput.call(void 0,
|
|
91
91
|
{ id: null, status: "failed", error: { message }, ran: false },
|
|
92
92
|
output
|
|
93
93
|
);
|
|
@@ -103,7 +103,7 @@ async function runAnything(name, options) {
|
|
|
103
103
|
logsOut: options.logsOut,
|
|
104
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)])
|
|
105
105
|
};
|
|
106
|
-
if (!
|
|
106
|
+
if (!_chunkNDDGFX4Xjs.preflightExecutionOutput.call(void 0, output)) return 2;
|
|
107
107
|
let input;
|
|
108
108
|
let timeoutMs;
|
|
109
109
|
try {
|
|
@@ -121,7 +121,7 @@ async function runAnything(name, options) {
|
|
|
121
121
|
throw new Error("--max-credits takes a number of credits above 0.");
|
|
122
122
|
}
|
|
123
123
|
if (options.timeout !== void 0 && options.timeout !== "0") {
|
|
124
|
-
const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
124
|
+
const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-D5SZSIIH.js")));
|
|
125
125
|
timeoutMs = parseToolExecuteTimeout(options.timeout);
|
|
126
126
|
}
|
|
127
127
|
} catch (error) {
|
|
@@ -142,7 +142,7 @@ async function runAnything(name, options) {
|
|
|
142
142
|
if (name !== void 0) {
|
|
143
143
|
return refuse("Use a name or -e, not both.", output);
|
|
144
144
|
}
|
|
145
|
-
const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
145
|
+
const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-ID73J3NP.js")));
|
|
146
146
|
let file;
|
|
147
147
|
try {
|
|
148
148
|
file = writeInlinePlay(options.eval);
|
|
@@ -165,23 +165,23 @@ async function runAnything(name, options) {
|
|
|
165
165
|
output
|
|
166
166
|
);
|
|
167
167
|
}
|
|
168
|
-
if (
|
|
168
|
+
if (_chunkZ3XFXFRTjs.looksLikeFilePath.call(void 0, name)) {
|
|
169
169
|
output.label = `${name} (play file)`;
|
|
170
170
|
return runPlay(name, play);
|
|
171
171
|
}
|
|
172
172
|
let { base, revision } = splitRevision(name);
|
|
173
|
-
let found = await
|
|
173
|
+
let found = await _chunk5E2PAGF5js.findNamed.call(void 0, base, {});
|
|
174
174
|
if (!found.chosen && revision) {
|
|
175
|
-
found = await
|
|
175
|
+
found = await _chunk5E2PAGF5js.findNamed.call(void 0, name, {});
|
|
176
176
|
if (found.chosen)
|
|
177
177
|
({ base, revision } = { base: name, revision: void 0 });
|
|
178
178
|
}
|
|
179
179
|
const { chosen, shadowed } = found;
|
|
180
|
-
if (!chosen) return refuse(
|
|
180
|
+
if (!chosen) return refuse(_chunk5E2PAGF5js.nothingNamed.call(void 0, base), output);
|
|
181
181
|
const { described } = chosen;
|
|
182
182
|
if (described.kind === "custom_play" && shadowed) {
|
|
183
183
|
console.error(
|
|
184
|
-
`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 ${_chunkAFPGYZBHjs.DEEPLINE_NAMESPACE}${base}`
|
|
185
185
|
);
|
|
186
186
|
}
|
|
187
187
|
const { runner } = described;
|
|
@@ -202,7 +202,7 @@ async function runAnything(name, options) {
|
|
|
202
202
|
if (runner.via === "play") {
|
|
203
203
|
return runPlay(runner.reference, { ...play, revision });
|
|
204
204
|
}
|
|
205
|
-
const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
205
|
+
const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-D5SZSIIH.js")));
|
|
206
206
|
return executeToolForReceipt({
|
|
207
207
|
toolId: runner.toolId,
|
|
208
208
|
params: input,
|
|
@@ -216,7 +216,7 @@ function dryRun(described, input, output) {
|
|
|
216
216
|
const missing = described.inputs.filter((field) => field.required && !(field.name in input)).map((field) => field.name);
|
|
217
217
|
const known = new Set(described.inputs.map((field) => field.name));
|
|
218
218
|
const unknown = known.size ? Object.keys(input).filter((key) => !known.has(key)) : [];
|
|
219
|
-
|
|
219
|
+
_chunkNDDGFX4Xjs.writeExecutionOutput.call(void 0,
|
|
220
220
|
{
|
|
221
221
|
id: null,
|
|
222
222
|
status: "dry_run",
|
|
@@ -233,20 +233,20 @@ function dryRun(described, input, output) {
|
|
|
233
233
|
return missing.length ? 2 : 0;
|
|
234
234
|
}
|
|
235
235
|
async function runPlay(reference, play) {
|
|
236
|
-
const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
236
|
+
const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-ID73J3NP.js")));
|
|
237
237
|
const { output, options, revision } = play;
|
|
238
238
|
if (options.dryRun) {
|
|
239
|
-
const dryRunOptions =
|
|
239
|
+
const dryRunOptions = _chunkZ3XFXFRTjs.resolvePlayRunCliOptions.call(void 0, reference, {
|
|
240
240
|
input: JSON.stringify(play.input),
|
|
241
241
|
dryRun: true,
|
|
242
242
|
json: output.receiptJson === true
|
|
243
243
|
});
|
|
244
244
|
if (output.receiptOut === void 0) return handlePlayRun(dryRunOptions);
|
|
245
|
-
const writeDryRunError = (error) =>
|
|
245
|
+
const writeDryRunError = (error) => _chunkNDDGFX4Xjs.writeExecutionOutput.call(void 0,
|
|
246
246
|
{
|
|
247
247
|
id: null,
|
|
248
248
|
status: "failed",
|
|
249
|
-
error:
|
|
249
|
+
error: _chunkVLUBEMWMjs.errorToJsonPayload.call(void 0, error).error,
|
|
250
250
|
ran: false
|
|
251
251
|
},
|
|
252
252
|
output
|
|
@@ -254,7 +254,7 @@ async function runPlay(reference, play) {
|
|
|
254
254
|
try {
|
|
255
255
|
return await handlePlayRun(dryRunOptions, {
|
|
256
256
|
writeDryRunError,
|
|
257
|
-
writeDryRunPlan: (plan) =>
|
|
257
|
+
writeDryRunPlan: (plan) => _chunkNDDGFX4Xjs.writeExecutionOutput.call(void 0,
|
|
258
258
|
{
|
|
259
259
|
id: null,
|
|
260
260
|
status: "dry_run",
|
|
@@ -265,19 +265,19 @@ async function runPlay(reference, play) {
|
|
|
265
265
|
)
|
|
266
266
|
});
|
|
267
267
|
} catch (error) {
|
|
268
|
-
if (error instanceof
|
|
268
|
+
if (error instanceof _chunkNDDGFX4Xjs.ExecutionOutputError) throw error;
|
|
269
269
|
writeDryRunError(error);
|
|
270
270
|
return 1;
|
|
271
271
|
}
|
|
272
272
|
}
|
|
273
273
|
let id = null;
|
|
274
274
|
let written = false;
|
|
275
|
-
const progress =
|
|
276
|
-
if (!play.noWait) progress.setLogWriter(
|
|
275
|
+
const progress = _chunkECLCRE5Pjs.createCliProgress.call(void 0, true);
|
|
276
|
+
if (!play.noWait) progress.setLogWriter(_chunkNDDGFX4Xjs.openLogDestination.call(void 0, output));
|
|
277
277
|
progress.setQuiet(process.stderr.isTTY !== true);
|
|
278
278
|
try {
|
|
279
279
|
const code = await handlePlayRun(
|
|
280
|
-
|
|
280
|
+
_chunkZ3XFXFRTjs.resolvePlayRunCliOptions.call(void 0, reference, {
|
|
281
281
|
input: JSON.stringify(play.input),
|
|
282
282
|
// The receipt is the only thing on stdout.
|
|
283
283
|
json: true,
|
|
@@ -304,7 +304,7 @@ async function runPlay(reference, play) {
|
|
|
304
304
|
},
|
|
305
305
|
writeStarted: (runId, status, page) => {
|
|
306
306
|
written = true;
|
|
307
|
-
|
|
307
|
+
_chunkNDDGFX4Xjs.writeExecutionOutput.call(void 0,
|
|
308
308
|
{
|
|
309
309
|
id: runId,
|
|
310
310
|
status,
|
|
@@ -320,7 +320,7 @@ async function runPlay(reference, play) {
|
|
|
320
320
|
}
|
|
321
321
|
);
|
|
322
322
|
if (!written) {
|
|
323
|
-
|
|
323
|
+
_chunkNDDGFX4Xjs.writeExecutionOutput.call(void 0,
|
|
324
324
|
{
|
|
325
325
|
id,
|
|
326
326
|
status: "failed",
|
|
@@ -332,11 +332,11 @@ async function runPlay(reference, play) {
|
|
|
332
332
|
return code;
|
|
333
333
|
} catch (error) {
|
|
334
334
|
if (written) throw error;
|
|
335
|
-
|
|
335
|
+
_chunkNDDGFX4Xjs.writeExecutionOutput.call(void 0,
|
|
336
336
|
{
|
|
337
337
|
id,
|
|
338
338
|
status: "failed",
|
|
339
|
-
error:
|
|
339
|
+
error: _chunkVLUBEMWMjs.errorToJsonPayload.call(void 0, error).error,
|
|
340
340
|
...id ? { next: { status: `deepline runs get ${id}` } } : {}
|
|
341
341
|
},
|
|
342
342
|
output
|
|
@@ -362,7 +362,7 @@ function registerRunCommand(program) {
|
|
|
362
362
|
try {
|
|
363
363
|
process.exitCode = await runAnything(name, options);
|
|
364
364
|
} catch (error) {
|
|
365
|
-
if (options.receiptOut === void 0 || !(error instanceof
|
|
365
|
+
if (options.receiptOut === void 0 || !(error instanceof _chunkNDDGFX4Xjs.ExecutionOutputError)) {
|
|
366
366
|
throw error;
|
|
367
367
|
}
|
|
368
368
|
process.exitCode = 1;
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
looksLikeFilePath,
|
|
3
3
|
resolvePlayRunCliOptions
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NRVEVKXR.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findNamed,
|
|
7
7
|
nothingNamed
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-GMQZFWQU.mjs";
|
|
9
9
|
import {
|
|
10
10
|
jsonFileText
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JY7RKJ65.mjs";
|
|
12
12
|
import {
|
|
13
13
|
ExecutionOutputError,
|
|
14
14
|
openLogDestination,
|
|
15
15
|
preflightExecutionOutput,
|
|
16
16
|
writeExecutionOutput
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-IA2LTIWO.mjs";
|
|
18
|
+
import "./chunk-VGIDPJXM.mjs";
|
|
19
|
+
import "./chunk-X7RKCAMX.mjs";
|
|
20
20
|
import "./chunk-5AEDYVB6.mjs";
|
|
21
21
|
import {
|
|
22
22
|
DEEPLINE_NAMESPACE
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-ZTCP5BHH.mjs";
|
|
24
|
+
import "./chunk-Q3A53SWK.mjs";
|
|
25
|
+
import "./chunk-L2NXB4WG.mjs";
|
|
26
26
|
import "./chunk-STXDSVQZ.mjs";
|
|
27
27
|
import "./chunk-MF7PCM6C.mjs";
|
|
28
28
|
import "./chunk-FR2ILQ4G.mjs";
|
|
29
29
|
import "./chunk-FIVKWNMT.mjs";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-LCAXLGAY.mjs";
|
|
31
31
|
import "./chunk-2GEYN3H4.mjs";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-4T2U72SP.mjs";
|
|
33
33
|
import "./chunk-FZHMNK6F.mjs";
|
|
34
34
|
import "./chunk-5TYLSS4Q.mjs";
|
|
35
35
|
import "./chunk-PSX3WHIH.mjs";
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-G7OR3GVD.mjs";
|
|
37
|
+
import "./chunk-S22FSNNC.mjs";
|
|
38
|
+
import "./chunk-W6UCS3O6.mjs";
|
|
39
|
+
import "./chunk-MAMGREBW.mjs";
|
|
40
|
+
import "./chunk-DX646HO7.mjs";
|
|
41
|
+
import "./chunk-MGF3MK27.mjs";
|
|
42
42
|
import {
|
|
43
43
|
createCliProgress
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-YR4REP4D.mjs";
|
|
45
45
|
import {
|
|
46
46
|
errorToJsonPayload
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
47
|
+
} from "./chunk-2TMAKJBT.mjs";
|
|
48
|
+
import "./chunk-SRUNYWQ2.mjs";
|
|
49
|
+
import "./chunk-ZFXDD7VM.mjs";
|
|
50
50
|
import "./chunk-ASB47RXJ.mjs";
|
|
51
51
|
import "./chunk-DLIRSHV6.mjs";
|
|
52
52
|
import "./chunk-Z3A2S3QM.mjs";
|
|
53
53
|
import "./chunk-2MGZAI54.mjs";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-XVBEEGI4.mjs";
|
|
55
55
|
import "./chunk-WZYKRD7T.mjs";
|
|
56
56
|
import "./chunk-5JPKRDFC.mjs";
|
|
57
57
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -121,7 +121,7 @@ async function runAnything(name, options) {
|
|
|
121
121
|
throw new Error("--max-credits takes a number of credits above 0.");
|
|
122
122
|
}
|
|
123
123
|
if (options.timeout !== void 0 && options.timeout !== "0") {
|
|
124
|
-
const { parseToolExecuteTimeout } = await import("./tools-
|
|
124
|
+
const { parseToolExecuteTimeout } = await import("./tools-G5L36M3X.mjs");
|
|
125
125
|
timeoutMs = parseToolExecuteTimeout(options.timeout);
|
|
126
126
|
}
|
|
127
127
|
} catch (error) {
|
|
@@ -142,7 +142,7 @@ async function runAnything(name, options) {
|
|
|
142
142
|
if (name !== void 0) {
|
|
143
143
|
return refuse("Use a name or -e, not both.", output);
|
|
144
144
|
}
|
|
145
|
-
const { writeInlinePlay } = await import("./play-
|
|
145
|
+
const { writeInlinePlay } = await import("./play-4ZKK5Q7U.mjs");
|
|
146
146
|
let file;
|
|
147
147
|
try {
|
|
148
148
|
file = writeInlinePlay(options.eval);
|
|
@@ -202,7 +202,7 @@ async function runAnything(name, options) {
|
|
|
202
202
|
if (runner.via === "play") {
|
|
203
203
|
return runPlay(runner.reference, { ...play, revision });
|
|
204
204
|
}
|
|
205
|
-
const { executeToolForReceipt } = await import("./tools-
|
|
205
|
+
const { executeToolForReceipt } = await import("./tools-G5L36M3X.mjs");
|
|
206
206
|
return executeToolForReceipt({
|
|
207
207
|
toolId: runner.toolId,
|
|
208
208
|
params: input,
|
|
@@ -233,7 +233,7 @@ function dryRun(described, input, output) {
|
|
|
233
233
|
return missing.length ? 2 : 0;
|
|
234
234
|
}
|
|
235
235
|
async function runPlay(reference, play) {
|
|
236
|
-
const { handlePlayRun, writePlayRunReceipt } = await import("./play-
|
|
236
|
+
const { handlePlayRun, writePlayRunReceipt } = await import("./play-4ZKK5Q7U.mjs");
|
|
237
237
|
const { output, options, revision } = play;
|
|
238
238
|
if (options.dryRun) {
|
|
239
239
|
const dryRunOptions = resolvePlayRunCliOptions(reference, {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunk6B5EZOI3js = require('./chunk-6B5EZOI3.js');
|
|
9
|
+
require('./chunk-D3BCSAN7.js');
|
|
10
|
+
require('./chunk-2RPRSTHD.js');
|
|
11
|
+
require('./chunk-VYSUJMB5.js');
|
|
12
|
+
require('./chunk-4WAM6TLD.js');
|
|
13
|
+
require('./chunk-MJTVX4QK.js');
|
|
14
|
+
require('./chunk-PMH4GLMD.js');
|
|
15
|
+
require('./chunk-VLUBEMWM.js');
|
|
16
|
+
require('./chunk-2QYU57RG.js');
|
|
17
|
+
require('./chunk-IB225ZK4.js');
|
|
18
|
+
require('./chunk-6VLFQZK6.js');
|
|
19
|
+
require('./chunk-XNYIZMNQ.js');
|
|
20
|
+
require('./chunk-LFQJW4S2.js');
|
|
21
|
+
require('./chunk-CFJFUVX2.js');
|
|
22
|
+
require('./chunk-7UR57HPJ.js');
|
|
23
|
+
require('./chunk-OG64RBAC.js');
|
|
24
|
+
require('./chunk-COGTRVWW.js');
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
exports.SEARCH_TYPES = _chunk6B5EZOI3js.SEARCH_TYPES; exports.appendCsv = _chunk6B5EZOI3js.appendCsv; exports.parseTypes = _chunk6B5EZOI3js.parseTypes; exports.pointAtDescribe = _chunk6B5EZOI3js.pointAtDescribe; exports.registerDeprecatedSearchCommand = _chunk6B5EZOI3js.registerDeprecatedSearchCommand; exports.registerSearchCommand = _chunk6B5EZOI3js.registerSearchCommand;
|
|
@@ -5,21 +5,21 @@ import {
|
|
|
5
5
|
pointAtDescribe,
|
|
6
6
|
registerDeprecatedSearchCommand,
|
|
7
7
|
registerSearchCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-X7RKCAMX.mjs";
|
|
9
9
|
import "./chunk-5AEDYVB6.mjs";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-LCAXLGAY.mjs";
|
|
11
|
+
import "./chunk-4T2U72SP.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-2TMAKJBT.mjs";
|
|
16
|
+
import "./chunk-SRUNYWQ2.mjs";
|
|
17
|
+
import "./chunk-ZFXDD7VM.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-XVBEEGI4.mjs";
|
|
23
23
|
import "./chunk-WZYKRD7T.mjs";
|
|
24
24
|
import "./chunk-KRD6H754.mjs";
|
|
25
25
|
export {
|
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
} from "./chunk-5AEDYVB6.mjs";
|
|
7
7
|
import {
|
|
8
8
|
discoveryAuthLines
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-L2NXB4WG.mjs";
|
|
10
10
|
import "./chunk-STXDSVQZ.mjs";
|
|
11
11
|
import "./chunk-PSX3WHIH.mjs";
|
|
12
12
|
import {
|
|
13
13
|
renderCommandEnvelopeText
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-2TMAKJBT.mjs";
|
|
15
|
+
import "./chunk-SRUNYWQ2.mjs";
|
|
16
|
+
import "./chunk-ZFXDD7VM.mjs";
|
|
17
17
|
import "./chunk-ASB47RXJ.mjs";
|
|
18
18
|
import "./chunk-DLIRSHV6.mjs";
|
|
19
19
|
import "./chunk-Z3A2S3QM.mjs";
|
|
20
20
|
import "./chunk-2MGZAI54.mjs";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-XVBEEGI4.mjs";
|
|
22
22
|
import "./chunk-WZYKRD7T.mjs";
|
|
23
23
|
import "./chunk-KRD6H754.mjs";
|
|
24
24
|
|
|
@@ -27,10 +27,13 @@ function clipSummary(value, width) {
|
|
|
27
27
|
const characters = Array.from(value.replace(/\s+/gu, " ").trim());
|
|
28
28
|
return characters.length <= width ? characters.join("") : `${characters.slice(0, width - 1).join("")}\u2026`;
|
|
29
29
|
}
|
|
30
|
+
function runsOnOwnKey(item) {
|
|
31
|
+
return item.billingSource === "own_provider_credentials" || item.billingSource === "free" && item.billingSourceLabel === "your key";
|
|
32
|
+
}
|
|
30
33
|
function toolPrice(item) {
|
|
31
34
|
const pricing = item.pricing;
|
|
32
35
|
if (!pricing) return item.kind === "tool" ? "unknown" : "\u2014";
|
|
33
|
-
if (item
|
|
36
|
+
if (runsOnOwnKey(item)) return "0 (your key)";
|
|
34
37
|
if (pricing.benefit?.status === "included")
|
|
35
38
|
return typeof pricing.benefit.remaining === "number" ? `0 (${pricing.benefit.remaining.toLocaleString("en-US")} free left)*` : "0 (included)*";
|
|
36
39
|
if (pricing.benefit?.status === "unavailable")
|