deepline 0.3.466 → 0.3.467
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/client-core.ts +41 -2
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/integration-contracts/billing-entitlements.ts +17 -0
- package/dist/bundling-sources/shared_libs/play-runtime/tool-result.ts +325 -44
- package/dist/bundling-sources/shared_libs/plays/field-catalog.ts +15 -0
- package/dist/bundling-sources/shared_libs/plays/tool-result-types.ts +51 -6
- package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +37 -1
- package/dist/cli/{auth-HYIPYSKK.mjs → auth-7H62VDZD.mjs} +5 -5
- package/dist/cli/auth-EXW5E3DI.js +41 -0
- package/dist/cli/{billing-5S6SGBUP.mjs → billing-6TM3ZXDR.mjs} +44 -6
- package/dist/cli/{billing-NG62QGPT.js → billing-N5BNGGYN.js} +115 -77
- package/dist/cli/{chunk-7YDN6AEK.mjs → chunk-3RGWTKK3.mjs} +10 -0
- package/dist/cli/{chunk-A7MWUG5H.js → chunk-3ZGSR6X7.js} +1 -1
- package/dist/cli/{chunk-7IWYO475.js → chunk-42AW4SQR.js} +21 -21
- package/dist/cli/{chunk-7QITO7XO.mjs → chunk-4LTQYDZG.mjs} +4 -4
- package/dist/cli/{chunk-SQFBLBYC.mjs → chunk-5RXKAXFD.mjs} +2 -2
- package/dist/cli/{chunk-WKOWXTDR.mjs → chunk-6UZ4MRWN.mjs} +2 -2
- package/dist/cli/{chunk-RGRSUMN6.js → chunk-7Y53LJLE.js} +5 -5
- package/dist/cli/{chunk-B7BNWOG6.js → chunk-7ZZWOJTM.js} +3 -3
- package/dist/cli/{chunk-EOKUL6XS.js → chunk-AD5BZUAP.js} +5 -5
- package/dist/cli/{chunk-YHPUJI7G.mjs → chunk-AU4BWQTT.mjs} +5 -5
- package/dist/cli/{chunk-IEQPOBTK.mjs → chunk-AUVEQ3JX.mjs} +1 -1
- package/dist/cli/{chunk-QWMXP2IP.mjs → chunk-C4GBOGTW.mjs} +2 -2
- package/dist/cli/{chunk-3DVJ2IPG.js → chunk-C6EGT3LO.js} +183 -173
- package/dist/cli/{chunk-W4XWGNW4.mjs → chunk-CER3XHT3.mjs} +3 -3
- package/dist/cli/{chunk-VSEKVRAP.mjs → chunk-DCDTCG2D.mjs} +2 -2
- package/dist/cli/{chunk-R2SQN2CD.js → chunk-FFOAOQ77.js} +6 -6
- package/dist/cli/{chunk-6R36QIG4.mjs → chunk-FP3DH46P.mjs} +4 -4
- package/dist/cli/{chunk-RCMT6AZ5.mjs → chunk-FQIGRZ52.mjs} +1 -1
- package/dist/cli/{chunk-4QJ63YHC.js → chunk-FRY76AFK.js} +8 -8
- package/dist/cli/{chunk-VVCMP45C.js → chunk-FS55YDCW.js} +3 -3
- package/dist/cli/{chunk-HOFXQYRF.js → chunk-FVA6XLRA.js} +7 -7
- package/dist/cli/{chunk-OGCAGZXO.mjs → chunk-FVYAEBGO.mjs} +23 -2
- package/dist/cli/{chunk-RSXOGXGX.mjs → chunk-G35HNL6P.mjs} +1 -1
- package/dist/cli/{chunk-MTH7WIE3.js → chunk-H3QDLCRT.js} +53 -53
- package/dist/cli/{chunk-HIMV32ZX.js → chunk-HNP5V5BN.js} +23 -2
- package/dist/cli/{chunk-UHAKSLL2.mjs → chunk-HTXQUA3V.mjs} +11 -1
- package/dist/cli/{chunk-QTTYIPFY.mjs → chunk-I3LWDZRN.mjs} +1 -1
- package/dist/cli/{chunk-22BKA2QL.js → chunk-KMYCHMZF.js} +26 -26
- package/dist/cli/{chunk-F6H74EFB.mjs → chunk-KUCUHRLC.mjs} +2 -2
- package/dist/cli/{chunk-LDEJ4NUP.js → chunk-LAMHSZ74.js} +13 -13
- package/dist/cli/{chunk-CMXFOZVG.js → chunk-LKVOV7PX.js} +258 -258
- package/dist/cli/{chunk-OB5NON4G.js → chunk-MGUQGKHE.js} +8 -8
- package/dist/cli/{chunk-JLE5UYZV.mjs → chunk-MRBDFPJ7.mjs} +2 -2
- package/dist/cli/{chunk-JLZKF7EY.js → chunk-NPZBE64X.js} +11 -1
- package/dist/cli/{chunk-NJ6KQLMO.mjs → chunk-NU64F53H.mjs} +11 -11
- package/dist/cli/{chunk-V27TVT7P.mjs → chunk-OSKGEBE7.mjs} +1 -1
- package/dist/cli/{chunk-H5MYPDO2.mjs → chunk-R5ZJICJA.mjs} +1 -1
- package/dist/cli/{chunk-6CYRIFZ3.mjs → chunk-RH6DVPGW.mjs} +2 -2
- package/dist/cli/{chunk-NQH7E3F2.js → chunk-SHGBHP6J.js} +3 -3
- package/dist/cli/{chunk-5EUJKY3G.mjs → chunk-SYLR33PS.mjs} +3 -3
- package/dist/cli/{chunk-L3U44YVO.js → chunk-T5GRG37B.js} +5 -5
- package/dist/cli/{chunk-FWHRCZET.mjs → chunk-TNAXVJEG.mjs} +5 -5
- package/dist/cli/{chunk-6P4OYABU.js → chunk-V6OMS7E2.js} +6 -6
- package/dist/cli/{chunk-QMHBWFU5.mjs → chunk-VGWH3BFC.mjs} +1 -1
- package/dist/cli/{chunk-5BEKJUOK.js → chunk-VOPKDTJT.js} +2 -2
- package/dist/cli/{chunk-ZBWKWMSH.js → chunk-WBYC7AYC.js} +16 -16
- package/dist/cli/{chunk-RRCVAVM7.js → chunk-WGMNXDRZ.js} +2 -2
- package/dist/cli/{chunk-46YQQOTC.mjs → chunk-WISHPL5Q.mjs} +5 -5
- package/dist/cli/{chunk-QZKSG7XZ.js → chunk-WS2BY2ST.js} +36 -36
- package/dist/cli/{chunk-PEUWKPY4.js → chunk-WTVTCSPY.js} +4 -4
- package/dist/cli/{chunk-MUQAKLBP.mjs → chunk-X3RAGNNZ.mjs} +1 -1
- package/dist/cli/{chunk-I2TCWIW2.mjs → chunk-XSX6TJUA.mjs} +1 -1
- package/dist/cli/{chunk-NYNNNOJW.js → chunk-YIJS7ET7.js} +51 -51
- package/dist/cli/{chunk-SWUSDFG2.js → chunk-ZTA4JIAB.js} +9 -9
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-ZGZX2IIP.mjs → csv-435JAJ45.mjs} +4 -4
- package/dist/cli/{csv-AD2DLLLL.js → csv-BPZ4VLR6.js} +13 -13
- package/dist/cli/{db-NBY4LHAY.js → db-EBR2UQK3.js} +27 -27
- package/dist/cli/{db-LUFEKPEK.mjs → db-IEUTNOOC.mjs} +6 -6
- package/dist/cli/describe-EPT52IUE.js +48 -0
- package/dist/cli/{describe-MLXMC47U.mjs → describe-GM233O75.mjs} +20 -20
- package/dist/cli/describe-core.d.mts +3 -3
- package/dist/cli/describe-core.d.ts +3 -3
- package/dist/cli/describe-core.js +4 -4
- package/dist/cli/describe-core.mjs +3 -3
- package/dist/cli/{executions-HDJMKNBR.js → executions-5SWPQTLB.js} +8 -8
- package/dist/cli/{executions-JKVWM3P4.mjs → executions-LDPBVSKZ.mjs} +6 -6
- package/dist/cli/{feedback-7E5Z4ZO5.mjs → feedback-JB7BBF64.mjs} +4 -4
- package/dist/cli/{feedback-VXMP7HDF.js → feedback-YFW5KT36.js} +8 -8
- package/dist/cli/git-7L7LKOKW.js +25 -0
- package/dist/cli/{git-UFMRAGMY.mjs → git-MCGUPO2W.mjs} +5 -5
- package/dist/cli/index.js +139 -139
- package/dist/cli/index.mjs +41 -41
- package/dist/cli/{legacy-noops-BDULCVGD.mjs → legacy-noops-EHNXHQL7.mjs} +5 -5
- package/dist/cli/{legacy-noops-4QKREY4K.js → legacy-noops-LMGSIBWM.js} +8 -8
- package/dist/cli/{monitors-S6TDJYCK.mjs → monitors-355EWLGN.mjs} +7 -7
- package/dist/cli/{monitors-LNNSTELC.js → monitors-VRQ32EAA.js} +91 -91
- package/dist/cli/{org-EEEMWKQ2.mjs → org-MJ6XMAI4.mjs} +51 -10
- package/dist/cli/{org-OWM3IGOK.js → org-W3YZN65W.js} +113 -72
- package/dist/cli/{pages-ZYYMQUDX.mjs → pages-62QNUXV2.mjs} +6 -6
- package/dist/cli/{pages-7JF6AKDI.js → pages-JPK6UVMV.js} +17 -17
- package/dist/cli/{play-5Z3E7KL6.mjs → play-CKBPES6Q.mjs} +18 -18
- package/dist/cli/{play-WLAFXAHR.js → play-WPPJQBBS.js} +305 -305
- package/dist/cli/{providers-TTDFQQU2.js → providers-DH5JJ5HN.js} +9 -9
- package/dist/cli/{providers-JUT7IYD3.mjs → providers-LLPKHVXL.mjs} +6 -6
- package/dist/cli/{quickstart-P4TL4NWJ.mjs → quickstart-K5HVPO2L.mjs} +4 -4
- package/dist/cli/{quickstart-OZYEGICI.js → quickstart-NNEF37EG.js} +6 -6
- package/dist/cli/{run-BYGE4LUB.js → run-N2KY2VNQ.js} +40 -40
- package/dist/cli/{run-CM6OZUBR.mjs → run-SKIZFJ5O.mjs} +25 -25
- package/dist/cli/{search-RZRJ73YL.mjs → search-2WXJ3GID.mjs} +7 -7
- package/dist/cli/search-HO7ARG3H.js +32 -0
- package/dist/cli/{secrets-XLTN3SCL.js → secrets-5YVX7LK7.js} +15 -15
- package/dist/cli/{secrets-DHI6ZMKE.mjs → secrets-6GEQ75OU.mjs} +6 -6
- package/dist/cli/{sessions-MZD5WZBT.mjs → sessions-GOPZ3YRN.mjs} +5 -5
- package/dist/cli/{sessions-6NCQQXVK.js → sessions-H3QES7C2.js} +6 -6
- package/dist/cli/{settings-JJH72W5V.js → settings-62SU5ROV.js} +78 -78
- package/dist/cli/{settings-S6GQ4XFZ.mjs → settings-IP47HYC6.mjs} +11 -11
- package/dist/cli/{setup-ZJ4G54XN.mjs → setup-LCKXUSW5.mjs} +9 -9
- package/dist/cli/{setup-3BIOG6N2.js → setup-YCCU7TU4.js} +44 -44
- package/dist/cli/{skills-FBH4REPB.mjs → skills-3QAQI6X7.mjs} +7 -7
- package/dist/cli/skills-UVAIKQNC.js +31 -0
- package/dist/cli/{tools-J6YGZTD5.mjs → tools-HKD4G6HA.mjs} +18 -18
- package/dist/cli/tools-KAIUUBTD.js +55 -0
- package/dist/cli/{update-6CSRALIQ.mjs → update-2VYSBSDD.mjs} +9 -9
- package/dist/cli/update-Q3AMECAG.js +33 -0
- package/dist/cli/{workflow-3ATSB7HQ.mjs → workflow-EFRGY6JD.mjs} +7 -7
- package/dist/cli/{workflow-2ETKYSJV.js → workflow-MMWGUSGY.js} +17 -17
- package/dist/{client-BClp2yrq.d.ts → client-BOEAXwJj.d.ts} +1 -1
- package/dist/{client-ADFHNtFM.d.mts → client-DL0koOaP.d.mts} +1 -1
- package/dist/{client-core-BFU73Ttw.d.ts → client-core-BX_8khUY.d.ts} +23 -1
- package/dist/{client-core-DWLmmJWo.d.mts → client-core-CowyuxKu.d.mts} +23 -1
- package/dist/{compiler-manifest-Cs17yO-H.d.ts → compiler-manifest-D5dARg3M.d.mts} +64 -10
- package/dist/{compiler-manifest-Cs17yO-H.d.mts → compiler-manifest-D5dARg3M.d.ts} +64 -10
- package/dist/{errors-Dee-QpVS.d.ts → errors-BtHHzWL8.d.ts} +1 -1
- package/dist/{errors-qNfvQuRB.d.mts → errors-BveMVPwA.d.mts} +1 -1
- package/dist/{index-BTqNNXmC.d.mts → index-BboApDGD.d.mts} +1 -1
- package/dist/{index-DXTh1Lxe.d.ts → index-C6sovoYP.d.ts} +1 -1
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +277 -76
- package/dist/index.mjs +239 -38
- package/dist/install-integrity.json +114 -114
- package/dist/plays/bundle-play-file.d.mts +3 -3
- package/dist/plays/bundle-play-file.d.ts +3 -3
- package/dist/plays/play-description.d.mts +2 -2
- package/dist/plays/play-description.d.ts +2 -2
- package/dist/plays/run-request.d.mts +2 -2
- package/dist/plays/run-request.d.ts +2 -2
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.d.mts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-Y3UTWD3W.js +0 -41
- package/dist/cli/describe-Z66CQESH.js +0 -48
- package/dist/cli/git-NNSJKW3V.js +0 -25
- package/dist/cli/search-RIG4LTCS.js +0 -32
- package/dist/cli/skills-ODISCL7S.js +0 -31
- package/dist/cli/tools-IHBHDI4P.js +0 -55
- package/dist/cli/update-5O3HDR5O.js +0 -33
|
@@ -1,7 +1,7 @@
|
|
|
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 _chunkAD5BZUAPjs = require('./chunk-AD5BZUAP.js');
|
|
4
|
+
require('./chunk-C6EGT3LO.js');
|
|
5
5
|
require('./chunk-E4CABWXL.js');
|
|
6
6
|
require('./chunk-JKVRBCZL.js');
|
|
7
7
|
require('./chunk-NMU3VR5U.js');
|
|
@@ -9,21 +9,21 @@ require('./chunk-XDVT3GOM.js');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
13
|
-
require('./chunk-
|
|
14
|
-
require('./chunk-
|
|
12
|
+
var _chunkFVA6XLRAjs = require('./chunk-FVA6XLRA.js');
|
|
13
|
+
require('./chunk-SHGBHP6J.js');
|
|
14
|
+
require('./chunk-WTVTCSPY.js');
|
|
15
15
|
require('./chunk-ALJJRZNJ.js');
|
|
16
16
|
require('./chunk-XNYIZMNQ.js');
|
|
17
17
|
require('./chunk-DIAWYWT5.js');
|
|
18
|
-
require('./chunk-
|
|
18
|
+
require('./chunk-3ZGSR6X7.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, _chunkAD5BZUAPjs.DeeplineClient)();
|
|
25
25
|
const changed = options.changed === true;
|
|
26
|
-
const emitJson = options.json === true ||
|
|
26
|
+
const emitJson = options.json === true || _chunkFVA6XLRAjs.shouldEmitJson.call(void 0, );
|
|
27
27
|
const providers = await client.listProviders({ changed });
|
|
28
28
|
const render = {
|
|
29
29
|
sections: [
|
|
@@ -42,7 +42,7 @@ async function listProviders(options = {}) {
|
|
|
42
42
|
}
|
|
43
43
|
]
|
|
44
44
|
};
|
|
45
|
-
|
|
45
|
+
_chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
|
|
46
46
|
{
|
|
47
47
|
providers,
|
|
48
48
|
count: providers.length,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-KUCUHRLC.mjs";
|
|
4
|
+
import "./chunk-HTXQUA3V.mjs";
|
|
5
5
|
import "./chunk-L2VKAASU.mjs";
|
|
6
6
|
import "./chunk-FAG4DFUC.mjs";
|
|
7
7
|
import "./chunk-S3A4IXBQ.mjs";
|
|
@@ -9,13 +9,13 @@ import "./chunk-UBKA33KY.mjs";
|
|
|
9
9
|
import {
|
|
10
10
|
printCommandEnvelope,
|
|
11
11
|
shouldEmitJson
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-RH6DVPGW.mjs";
|
|
13
|
+
import "./chunk-G35HNL6P.mjs";
|
|
14
|
+
import "./chunk-AUVEQ3JX.mjs";
|
|
15
15
|
import "./chunk-4QF2K7TM.mjs";
|
|
16
16
|
import "./chunk-DLIRSHV6.mjs";
|
|
17
17
|
import "./chunk-HBL4PM5Q.mjs";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-OSKGEBE7.mjs";
|
|
19
19
|
import "./chunk-WZYKRD7T.mjs";
|
|
20
20
|
import "./chunk-KRD6H754.mjs";
|
|
21
21
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
printCommandEnvelope,
|
|
3
3
|
shouldEmitJson
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-RH6DVPGW.mjs";
|
|
5
|
+
import "./chunk-G35HNL6P.mjs";
|
|
6
|
+
import "./chunk-AUVEQ3JX.mjs";
|
|
7
7
|
import "./chunk-4QF2K7TM.mjs";
|
|
8
8
|
import "./chunk-DLIRSHV6.mjs";
|
|
9
9
|
import "./chunk-HBL4PM5Q.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-OSKGEBE7.mjs";
|
|
11
11
|
import "./chunk-WZYKRD7T.mjs";
|
|
12
12
|
import {
|
|
13
13
|
DEEPLINE_GTM_SKILL,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
4
|
+
var _chunkFVA6XLRAjs = require('./chunk-FVA6XLRA.js');
|
|
5
|
+
require('./chunk-SHGBHP6J.js');
|
|
6
|
+
require('./chunk-WTVTCSPY.js');
|
|
7
7
|
require('./chunk-ALJJRZNJ.js');
|
|
8
8
|
require('./chunk-XNYIZMNQ.js');
|
|
9
9
|
require('./chunk-DIAWYWT5.js');
|
|
10
|
-
require('./chunk-
|
|
10
|
+
require('./chunk-3ZGSR6X7.js');
|
|
11
11
|
require('./chunk-OG64RBAC.js');
|
|
12
12
|
|
|
13
13
|
|
|
@@ -17,12 +17,12 @@ require('./chunk-COGTRVWW.js');
|
|
|
17
17
|
|
|
18
18
|
// src/cli/commands/quickstart.ts
|
|
19
19
|
async function handleQuickstart(options) {
|
|
20
|
-
const jsonOutput =
|
|
20
|
+
const jsonOutput = _chunkFVA6XLRAjs.shouldEmitJson.call(void 0, options.json === true);
|
|
21
21
|
const gettingStarted = {
|
|
22
22
|
skill: _chunk6V7KVRR5js.DEEPLINE_GTM_SKILL,
|
|
23
23
|
examples: _chunk6V7KVRR5js.DEEPLINE_GTM_STARTER_PROMPTS
|
|
24
24
|
};
|
|
25
|
-
|
|
25
|
+
_chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
|
|
26
26
|
{
|
|
27
27
|
ok: true,
|
|
28
28
|
status: "deprecated",
|
|
@@ -1,51 +1,51 @@
|
|
|
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
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkLAMHSZ74js = require('./chunk-LAMHSZ74.js');
|
|
5
|
+
require('./chunk-LKVOV7PX.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkZTA4JIABjs = require('./chunk-ZTA4JIAB.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
15
|
-
require('./chunk-
|
|
14
|
+
var _chunkFS55YDCWjs = require('./chunk-FS55YDCW.js');
|
|
15
|
+
require('./chunk-FRY76AFK.js');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
19
|
-
require('./chunk-
|
|
18
|
+
var _chunkT5GRG37Bjs = require('./chunk-T5GRG37B.js');
|
|
19
|
+
require('./chunk-V6OMS7E2.js');
|
|
20
20
|
require('./chunk-IAYSWZDJ.js');
|
|
21
21
|
require('./chunk-AID3OYVJ.js');
|
|
22
22
|
require('./chunk-ZM2YPJQJ.js');
|
|
23
23
|
require('./chunk-VLEVVDWG.js');
|
|
24
24
|
require('./chunk-J33TSWO5.js');
|
|
25
25
|
require('./chunk-HGFFYVXN.js');
|
|
26
|
-
require('./chunk-
|
|
27
|
-
require('./chunk-
|
|
28
|
-
require('./chunk-
|
|
26
|
+
require('./chunk-AD5BZUAP.js');
|
|
27
|
+
require('./chunk-NPZBE64X.js');
|
|
28
|
+
require('./chunk-C6EGT3LO.js');
|
|
29
29
|
require('./chunk-E4CABWXL.js');
|
|
30
30
|
require('./chunk-JKVRBCZL.js');
|
|
31
31
|
require('./chunk-NMU3VR5U.js');
|
|
32
32
|
require('./chunk-XDVT3GOM.js');
|
|
33
|
-
require('./chunk-
|
|
34
|
-
require('./chunk-
|
|
35
|
-
require('./chunk-
|
|
36
|
-
require('./chunk-
|
|
37
|
-
require('./chunk-
|
|
38
|
-
require('./chunk-
|
|
33
|
+
require('./chunk-42AW4SQR.js');
|
|
34
|
+
require('./chunk-WBYC7AYC.js');
|
|
35
|
+
require('./chunk-WGMNXDRZ.js');
|
|
36
|
+
require('./chunk-WS2BY2ST.js');
|
|
37
|
+
require('./chunk-VOPKDTJT.js');
|
|
38
|
+
require('./chunk-H3QDLCRT.js');
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
var
|
|
42
|
-
require('./chunk-
|
|
43
|
-
require('./chunk-
|
|
44
|
-
require('./chunk-
|
|
41
|
+
var _chunk7ZZWOJTMjs = require('./chunk-7ZZWOJTM.js');
|
|
42
|
+
require('./chunk-FVA6XLRA.js');
|
|
43
|
+
require('./chunk-SHGBHP6J.js');
|
|
44
|
+
require('./chunk-WTVTCSPY.js');
|
|
45
45
|
require('./chunk-ALJJRZNJ.js');
|
|
46
46
|
require('./chunk-XNYIZMNQ.js');
|
|
47
47
|
require('./chunk-DIAWYWT5.js');
|
|
48
|
-
require('./chunk-
|
|
48
|
+
require('./chunk-3ZGSR6X7.js');
|
|
49
49
|
require('./chunk-OG64RBAC.js');
|
|
50
50
|
require('./chunk-COGTRVWW.js');
|
|
51
51
|
|
|
@@ -80,7 +80,7 @@ function readInput(options) {
|
|
|
80
80
|
return input;
|
|
81
81
|
}
|
|
82
82
|
function refuse(message, output) {
|
|
83
|
-
|
|
83
|
+
_chunkFS55YDCWjs.writeExecutionOutput.call(void 0,
|
|
84
84
|
{ id: null, status: "failed", error: { message }, ran: false },
|
|
85
85
|
output
|
|
86
86
|
);
|
|
@@ -96,7 +96,7 @@ async function runAnything(name, options) {
|
|
|
96
96
|
logsOut: options.logsOut,
|
|
97
97
|
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)])
|
|
98
98
|
};
|
|
99
|
-
if (!
|
|
99
|
+
if (!_chunkFS55YDCWjs.preflightExecutionOutput.call(void 0, output)) return 2;
|
|
100
100
|
let input;
|
|
101
101
|
let timeoutMs;
|
|
102
102
|
try {
|
|
@@ -114,7 +114,7 @@ async function runAnything(name, options) {
|
|
|
114
114
|
throw new Error("--max-credits takes a number of credits above 0.");
|
|
115
115
|
}
|
|
116
116
|
if (options.timeout !== void 0 && options.timeout !== "0") {
|
|
117
|
-
const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
117
|
+
const { parseToolExecuteTimeout } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-KAIUUBTD.js")));
|
|
118
118
|
timeoutMs = parseToolExecuteTimeout(options.timeout);
|
|
119
119
|
}
|
|
120
120
|
} catch (error) {
|
|
@@ -135,7 +135,7 @@ async function runAnything(name, options) {
|
|
|
135
135
|
if (name !== void 0) {
|
|
136
136
|
return refuse("Use a name or -e, not both.", output);
|
|
137
137
|
}
|
|
138
|
-
const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
138
|
+
const { writeInlinePlay } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-WPPJQBBS.js")));
|
|
139
139
|
let file;
|
|
140
140
|
try {
|
|
141
141
|
file = writeInlinePlay(options.eval);
|
|
@@ -158,23 +158,23 @@ async function runAnything(name, options) {
|
|
|
158
158
|
output
|
|
159
159
|
);
|
|
160
160
|
}
|
|
161
|
-
if (
|
|
161
|
+
if (_chunkZTA4JIABjs.looksLikeFilePath.call(void 0, name)) {
|
|
162
162
|
output.label = `${name} (play file)`;
|
|
163
163
|
return runPlay(name, play);
|
|
164
164
|
}
|
|
165
165
|
let { base, revision } = splitRevision(name);
|
|
166
|
-
let found = await
|
|
166
|
+
let found = await _chunkLAMHSZ74js.findNamed.call(void 0, base, {});
|
|
167
167
|
if (!found.chosen && revision) {
|
|
168
|
-
found = await
|
|
168
|
+
found = await _chunkLAMHSZ74js.findNamed.call(void 0, name, {});
|
|
169
169
|
if (found.chosen)
|
|
170
170
|
({ base, revision } = { base: name, revision: void 0 });
|
|
171
171
|
}
|
|
172
172
|
const { chosen, shadowed } = found;
|
|
173
|
-
if (!chosen) return refuse(
|
|
173
|
+
if (!chosen) return refuse(_chunkLAMHSZ74js.nothingNamed.call(void 0, base), output);
|
|
174
174
|
const { described } = chosen;
|
|
175
175
|
if (described.kind === "custom_play" && shadowed) {
|
|
176
176
|
console.error(
|
|
177
|
-
`Running your workspace play "${base}". It has the same name as a Deepline ${shadowed.described.kind.replace("_", " ")}; run that one with: deepline run ${
|
|
177
|
+
`Running your workspace play "${base}". It has the same name as a Deepline ${shadowed.described.kind.replace("_", " ")}; run that one with: deepline run ${_chunkT5GRG37Bjs.DEEPLINE_NAMESPACE}${base}`
|
|
178
178
|
);
|
|
179
179
|
}
|
|
180
180
|
const { runner } = described;
|
|
@@ -195,7 +195,7 @@ async function runAnything(name, options) {
|
|
|
195
195
|
if (runner.via === "play") {
|
|
196
196
|
return runPlay(runner.reference, { ...play, revision });
|
|
197
197
|
}
|
|
198
|
-
const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-
|
|
198
|
+
const { executeToolForReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./tools-KAIUUBTD.js")));
|
|
199
199
|
return executeToolForReceipt({
|
|
200
200
|
toolId: runner.toolId,
|
|
201
201
|
params: input,
|
|
@@ -209,7 +209,7 @@ function dryRun(described, input, output) {
|
|
|
209
209
|
const missing = described.inputs.filter((field) => field.required && !(field.name in input)).map((field) => field.name);
|
|
210
210
|
const known = new Set(described.inputs.map((field) => field.name));
|
|
211
211
|
const unknown = known.size ? Object.keys(input).filter((key) => !known.has(key)) : [];
|
|
212
|
-
|
|
212
|
+
_chunkFS55YDCWjs.writeExecutionOutput.call(void 0,
|
|
213
213
|
{
|
|
214
214
|
id: null,
|
|
215
215
|
status: "dry_run",
|
|
@@ -226,11 +226,11 @@ function dryRun(described, input, output) {
|
|
|
226
226
|
return missing.length ? 2 : 0;
|
|
227
227
|
}
|
|
228
228
|
async function runPlay(reference, play) {
|
|
229
|
-
const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-
|
|
229
|
+
const { handlePlayRun, writePlayRunReceipt } = await Promise.resolve().then(() => _interopRequireWildcard(require("./play-WPPJQBBS.js")));
|
|
230
230
|
const { output, options, revision } = play;
|
|
231
231
|
if (options.dryRun) {
|
|
232
232
|
return handlePlayRun(
|
|
233
|
-
|
|
233
|
+
_chunkZTA4JIABjs.resolvePlayRunCliOptions.call(void 0, reference, {
|
|
234
234
|
input: JSON.stringify(play.input),
|
|
235
235
|
dryRun: true,
|
|
236
236
|
json: output.receiptJson === true
|
|
@@ -239,11 +239,11 @@ async function runPlay(reference, play) {
|
|
|
239
239
|
}
|
|
240
240
|
let id = null;
|
|
241
241
|
let written = false;
|
|
242
|
-
const progress =
|
|
243
|
-
if (!play.noWait) progress.setLogWriter(
|
|
242
|
+
const progress = _chunk7ZZWOJTMjs.createCliProgress.call(void 0, true);
|
|
243
|
+
if (!play.noWait) progress.setLogWriter(_chunkFS55YDCWjs.openLogDestination.call(void 0, output));
|
|
244
244
|
try {
|
|
245
245
|
const code = await handlePlayRun(
|
|
246
|
-
|
|
246
|
+
_chunkZTA4JIABjs.resolvePlayRunCliOptions.call(void 0, reference, {
|
|
247
247
|
input: JSON.stringify(play.input),
|
|
248
248
|
// The receipt is the only thing on stdout.
|
|
249
249
|
json: true,
|
|
@@ -276,7 +276,7 @@ async function runPlay(reference, play) {
|
|
|
276
276
|
},
|
|
277
277
|
writeStarted: (runId, status) => {
|
|
278
278
|
written = true;
|
|
279
|
-
|
|
279
|
+
_chunkFS55YDCWjs.writeExecutionOutput.call(void 0,
|
|
280
280
|
{
|
|
281
281
|
id: runId,
|
|
282
282
|
status,
|
|
@@ -291,7 +291,7 @@ async function runPlay(reference, play) {
|
|
|
291
291
|
}
|
|
292
292
|
);
|
|
293
293
|
if (!written) {
|
|
294
|
-
|
|
294
|
+
_chunkFS55YDCWjs.writeExecutionOutput.call(void 0,
|
|
295
295
|
{
|
|
296
296
|
id,
|
|
297
297
|
status: "failed",
|
|
@@ -303,7 +303,7 @@ async function runPlay(reference, play) {
|
|
|
303
303
|
return code;
|
|
304
304
|
} catch (error) {
|
|
305
305
|
if (written) throw error;
|
|
306
|
-
|
|
306
|
+
_chunkFS55YDCWjs.writeExecutionOutput.call(void 0,
|
|
307
307
|
{
|
|
308
308
|
id,
|
|
309
309
|
status: "failed",
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
findNamed,
|
|
3
3
|
nothingNamed
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-TNAXVJEG.mjs";
|
|
5
|
+
import "./chunk-NU64F53H.mjs";
|
|
6
6
|
import {
|
|
7
7
|
looksLikeFilePath,
|
|
8
8
|
resolvePlayRunCliOptions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DCDTCG2D.mjs";
|
|
10
10
|
import {
|
|
11
11
|
openLogDestination,
|
|
12
12
|
preflightExecutionOutput,
|
|
13
13
|
writeExecutionOutput
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-VGWH3BFC.mjs";
|
|
15
|
+
import "./chunk-SYLR33PS.mjs";
|
|
16
16
|
import {
|
|
17
17
|
DEEPLINE_NAMESPACE
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-X3RAGNNZ.mjs";
|
|
19
|
+
import "./chunk-XSX6TJUA.mjs";
|
|
20
20
|
import "./chunk-JVHOS3K3.mjs";
|
|
21
21
|
import "./chunk-OVDNJAJN.mjs";
|
|
22
22
|
import "./chunk-LJ5747UC.mjs";
|
|
23
23
|
import "./chunk-F6QV42MC.mjs";
|
|
24
24
|
import "./chunk-FR2ILQ4G.mjs";
|
|
25
25
|
import "./chunk-FIVKWNMT.mjs";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-KUCUHRLC.mjs";
|
|
27
|
+
import "./chunk-3RGWTKK3.mjs";
|
|
28
|
+
import "./chunk-HTXQUA3V.mjs";
|
|
29
29
|
import "./chunk-L2VKAASU.mjs";
|
|
30
30
|
import "./chunk-FAG4DFUC.mjs";
|
|
31
31
|
import "./chunk-S3A4IXBQ.mjs";
|
|
32
32
|
import "./chunk-UBKA33KY.mjs";
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-AU4BWQTT.mjs";
|
|
34
|
+
import "./chunk-WISHPL5Q.mjs";
|
|
35
|
+
import "./chunk-R5ZJICJA.mjs";
|
|
36
|
+
import "./chunk-4LTQYDZG.mjs";
|
|
37
|
+
import "./chunk-FQIGRZ52.mjs";
|
|
38
|
+
import "./chunk-FP3DH46P.mjs";
|
|
39
39
|
import {
|
|
40
40
|
createCliProgress
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-I3LWDZRN.mjs";
|
|
42
|
+
import "./chunk-RH6DVPGW.mjs";
|
|
43
|
+
import "./chunk-G35HNL6P.mjs";
|
|
44
|
+
import "./chunk-AUVEQ3JX.mjs";
|
|
45
45
|
import "./chunk-4QF2K7TM.mjs";
|
|
46
46
|
import "./chunk-DLIRSHV6.mjs";
|
|
47
47
|
import "./chunk-HBL4PM5Q.mjs";
|
|
48
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-OSKGEBE7.mjs";
|
|
49
49
|
import "./chunk-WZYKRD7T.mjs";
|
|
50
50
|
import "./chunk-KRD6H754.mjs";
|
|
51
51
|
|
|
@@ -114,7 +114,7 @@ async function runAnything(name, options) {
|
|
|
114
114
|
throw new Error("--max-credits takes a number of credits above 0.");
|
|
115
115
|
}
|
|
116
116
|
if (options.timeout !== void 0 && options.timeout !== "0") {
|
|
117
|
-
const { parseToolExecuteTimeout } = await import("./tools-
|
|
117
|
+
const { parseToolExecuteTimeout } = await import("./tools-HKD4G6HA.mjs");
|
|
118
118
|
timeoutMs = parseToolExecuteTimeout(options.timeout);
|
|
119
119
|
}
|
|
120
120
|
} catch (error) {
|
|
@@ -135,7 +135,7 @@ async function runAnything(name, options) {
|
|
|
135
135
|
if (name !== void 0) {
|
|
136
136
|
return refuse("Use a name or -e, not both.", output);
|
|
137
137
|
}
|
|
138
|
-
const { writeInlinePlay } = await import("./play-
|
|
138
|
+
const { writeInlinePlay } = await import("./play-CKBPES6Q.mjs");
|
|
139
139
|
let file;
|
|
140
140
|
try {
|
|
141
141
|
file = writeInlinePlay(options.eval);
|
|
@@ -195,7 +195,7 @@ async function runAnything(name, options) {
|
|
|
195
195
|
if (runner.via === "play") {
|
|
196
196
|
return runPlay(runner.reference, { ...play, revision });
|
|
197
197
|
}
|
|
198
|
-
const { executeToolForReceipt } = await import("./tools-
|
|
198
|
+
const { executeToolForReceipt } = await import("./tools-HKD4G6HA.mjs");
|
|
199
199
|
return executeToolForReceipt({
|
|
200
200
|
toolId: runner.toolId,
|
|
201
201
|
params: input,
|
|
@@ -226,7 +226,7 @@ function dryRun(described, input, output) {
|
|
|
226
226
|
return missing.length ? 2 : 0;
|
|
227
227
|
}
|
|
228
228
|
async function runPlay(reference, play) {
|
|
229
|
-
const { handlePlayRun, writePlayRunReceipt } = await import("./play-
|
|
229
|
+
const { handlePlayRun, writePlayRunReceipt } = await import("./play-CKBPES6Q.mjs");
|
|
230
230
|
const { output, options, revision } = play;
|
|
231
231
|
if (options.dryRun) {
|
|
232
232
|
return handlePlayRun(
|
|
@@ -5,21 +5,21 @@ import {
|
|
|
5
5
|
pointAtDescribe,
|
|
6
6
|
registerDeprecatedSearchCommand,
|
|
7
7
|
registerSearchCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SYLR33PS.mjs";
|
|
9
9
|
import "./chunk-LJ5747UC.mjs";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-KUCUHRLC.mjs";
|
|
11
|
+
import "./chunk-HTXQUA3V.mjs";
|
|
12
12
|
import "./chunk-L2VKAASU.mjs";
|
|
13
13
|
import "./chunk-FAG4DFUC.mjs";
|
|
14
14
|
import "./chunk-S3A4IXBQ.mjs";
|
|
15
15
|
import "./chunk-UBKA33KY.mjs";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-RH6DVPGW.mjs";
|
|
17
|
+
import "./chunk-G35HNL6P.mjs";
|
|
18
|
+
import "./chunk-AUVEQ3JX.mjs";
|
|
19
19
|
import "./chunk-4QF2K7TM.mjs";
|
|
20
20
|
import "./chunk-DLIRSHV6.mjs";
|
|
21
21
|
import "./chunk-HBL4PM5Q.mjs";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-OSKGEBE7.mjs";
|
|
23
23
|
import "./chunk-WZYKRD7T.mjs";
|
|
24
24
|
import "./chunk-KRD6H754.mjs";
|
|
25
25
|
export {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunkFRY76AFKjs = require('./chunk-FRY76AFK.js');
|
|
9
|
+
require('./chunk-ZM2YPJQJ.js');
|
|
10
|
+
require('./chunk-AD5BZUAP.js');
|
|
11
|
+
require('./chunk-C6EGT3LO.js');
|
|
12
|
+
require('./chunk-E4CABWXL.js');
|
|
13
|
+
require('./chunk-JKVRBCZL.js');
|
|
14
|
+
require('./chunk-NMU3VR5U.js');
|
|
15
|
+
require('./chunk-XDVT3GOM.js');
|
|
16
|
+
require('./chunk-FVA6XLRA.js');
|
|
17
|
+
require('./chunk-SHGBHP6J.js');
|
|
18
|
+
require('./chunk-WTVTCSPY.js');
|
|
19
|
+
require('./chunk-ALJJRZNJ.js');
|
|
20
|
+
require('./chunk-XNYIZMNQ.js');
|
|
21
|
+
require('./chunk-DIAWYWT5.js');
|
|
22
|
+
require('./chunk-3ZGSR6X7.js');
|
|
23
|
+
require('./chunk-OG64RBAC.js');
|
|
24
|
+
require('./chunk-COGTRVWW.js');
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
exports.SEARCH_TYPES = _chunkFRY76AFKjs.SEARCH_TYPES; exports.appendCsv = _chunkFRY76AFKjs.appendCsv; exports.parseTypes = _chunkFRY76AFKjs.parseTypes; exports.pointAtDescribe = _chunkFRY76AFKjs.pointAtDescribe; exports.registerDeprecatedSearchCommand = _chunkFRY76AFKjs.registerDeprecatedSearchCommand; exports.registerSearchCommand = _chunkFRY76AFKjs.registerSearchCommand;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var _chunkAD5BZUAPjs = require('./chunk-AD5BZUAP.js');
|
|
4
|
+
require('./chunk-C6EGT3LO.js');
|
|
5
5
|
require('./chunk-E4CABWXL.js');
|
|
6
6
|
require('./chunk-JKVRBCZL.js');
|
|
7
7
|
require('./chunk-NMU3VR5U.js');
|
|
@@ -9,13 +9,13 @@ require('./chunk-XDVT3GOM.js');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
13
|
-
require('./chunk-
|
|
14
|
-
require('./chunk-
|
|
12
|
+
var _chunkFVA6XLRAjs = require('./chunk-FVA6XLRA.js');
|
|
13
|
+
require('./chunk-SHGBHP6J.js');
|
|
14
|
+
require('./chunk-WTVTCSPY.js');
|
|
15
15
|
require('./chunk-ALJJRZNJ.js');
|
|
16
16
|
require('./chunk-XNYIZMNQ.js');
|
|
17
17
|
require('./chunk-DIAWYWT5.js');
|
|
18
|
-
require('./chunk-
|
|
18
|
+
require('./chunk-3ZGSR6X7.js');
|
|
19
19
|
require('./chunk-OG64RBAC.js');
|
|
20
20
|
require('./chunk-COGTRVWW.js');
|
|
21
21
|
|
|
@@ -207,9 +207,9 @@ function preventShellHistoryLeak(forbidden) {
|
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
async function handleList(options) {
|
|
210
|
-
const client = new (0,
|
|
210
|
+
const client = new (0, _chunkAD5BZUAPjs.DeeplineClient)();
|
|
211
211
|
const secrets = await client.listSecrets();
|
|
212
|
-
|
|
212
|
+
_chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
|
|
213
213
|
{
|
|
214
214
|
secrets,
|
|
215
215
|
count: secrets.length,
|
|
@@ -227,14 +227,14 @@ async function handleList(options) {
|
|
|
227
227
|
}
|
|
228
228
|
async function handleCheck(nameInput, options) {
|
|
229
229
|
const name = normalizeSecretName(nameInput);
|
|
230
|
-
const client = new (0,
|
|
230
|
+
const client = new (0, _chunkAD5BZUAPjs.DeeplineClient)();
|
|
231
231
|
const playName = options.play === void 0 ? void 0 : normalizePlaySelector(options.play);
|
|
232
232
|
const check = playName !== void 0 ? await client.inspectSecret(name, { playName }) : null;
|
|
233
233
|
const secret = check ? check.secret : await client.checkSecret(name);
|
|
234
234
|
const ok = check ? check.ok : Boolean(secret);
|
|
235
235
|
const quotedPlay = `'${(_nullishCoalesce(options.play, () => ( "PLAY"))).replace(/'/g, `'"'"'`)}'`;
|
|
236
236
|
const scopeHint = check ? _optionalChain([secret, 'optionalAccess', _3 => _3.scope]) === "play" ? check.reason === "disabled" ? `The Play-scoped secret is disabled and no active org fallback is available. Restore it with: deepline secrets set ${name} --scope play --play ${quotedPlay}` : `The active Play-scoped secret takes precedence over the org secret.${ok ? "" : ` Restore it with: deepline secrets set ${name} --scope play --play ${quotedPlay}`}` : `No Play override.${ok ? " The org secret is available." : ` Set or rotate the org secret with: deepline secrets set ${name}`}` : `Metadata only. Verify effective scope and active version with: deepline secrets check ${name} --play <play-name>`;
|
|
237
|
-
|
|
237
|
+
_chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
|
|
238
238
|
{
|
|
239
239
|
ok,
|
|
240
240
|
name,
|
|
@@ -262,7 +262,7 @@ async function handleSet(nameInput, forbidden, options) {
|
|
|
262
262
|
const name = normalizeSecretName(nameInput);
|
|
263
263
|
const { scope, playName } = resolveSecretWriteScope(options);
|
|
264
264
|
const value = await readSecretValueFromOptions(options);
|
|
265
|
-
const { http } =
|
|
265
|
+
const { http } = _chunkFVA6XLRAjs.getAuthedHttpClient.call(void 0, );
|
|
266
266
|
const response = await http.post(
|
|
267
267
|
"/api/v2/secrets",
|
|
268
268
|
{
|
|
@@ -274,7 +274,7 @@ async function handleSet(nameInput, forbidden, options) {
|
|
|
274
274
|
}
|
|
275
275
|
);
|
|
276
276
|
const secret = response.secret;
|
|
277
|
-
|
|
277
|
+
_chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
|
|
278
278
|
{
|
|
279
279
|
ok: true,
|
|
280
280
|
secret,
|
|
@@ -302,7 +302,7 @@ async function handleNote(secretId, noteInput, options) {
|
|
|
302
302
|
}
|
|
303
303
|
const note = options.clear ? "" : noteInput;
|
|
304
304
|
if (options.dryRun) {
|
|
305
|
-
|
|
305
|
+
_chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
|
|
306
306
|
{
|
|
307
307
|
ok: true,
|
|
308
308
|
dryRun: true,
|
|
@@ -323,9 +323,9 @@ async function handleNote(secretId, noteInput, options) {
|
|
|
323
323
|
);
|
|
324
324
|
return;
|
|
325
325
|
}
|
|
326
|
-
const client = new (0,
|
|
326
|
+
const client = new (0, _chunkAD5BZUAPjs.DeeplineClient)();
|
|
327
327
|
const secret = await client.updateSecretNote(secretId, note);
|
|
328
|
-
|
|
328
|
+
_chunkFVA6XLRAjs.printCommandEnvelope.call(void 0,
|
|
329
329
|
{
|
|
330
330
|
ok: true,
|
|
331
331
|
secret,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-KUCUHRLC.mjs";
|
|
4
|
+
import "./chunk-HTXQUA3V.mjs";
|
|
5
5
|
import "./chunk-L2VKAASU.mjs";
|
|
6
6
|
import "./chunk-FAG4DFUC.mjs";
|
|
7
7
|
import "./chunk-S3A4IXBQ.mjs";
|
|
@@ -9,13 +9,13 @@ import "./chunk-UBKA33KY.mjs";
|
|
|
9
9
|
import {
|
|
10
10
|
getAuthedHttpClient,
|
|
11
11
|
printCommandEnvelope
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-RH6DVPGW.mjs";
|
|
13
|
+
import "./chunk-G35HNL6P.mjs";
|
|
14
|
+
import "./chunk-AUVEQ3JX.mjs";
|
|
15
15
|
import "./chunk-4QF2K7TM.mjs";
|
|
16
16
|
import "./chunk-DLIRSHV6.mjs";
|
|
17
17
|
import "./chunk-HBL4PM5Q.mjs";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-OSKGEBE7.mjs";
|
|
19
19
|
import "./chunk-WZYKRD7T.mjs";
|
|
20
20
|
import "./chunk-KRD6H754.mjs";
|
|
21
21
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerSessionSendRenderCommands,
|
|
3
3
|
registerSessionsCommands
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-C4GBOGTW.mjs";
|
|
5
|
+
import "./chunk-RH6DVPGW.mjs";
|
|
6
|
+
import "./chunk-G35HNL6P.mjs";
|
|
7
|
+
import "./chunk-AUVEQ3JX.mjs";
|
|
8
8
|
import "./chunk-4QF2K7TM.mjs";
|
|
9
9
|
import "./chunk-DLIRSHV6.mjs";
|
|
10
10
|
import "./chunk-HBL4PM5Q.mjs";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-OSKGEBE7.mjs";
|
|
12
12
|
import "./chunk-WZYKRD7T.mjs";
|
|
13
13
|
import "./chunk-KRD6H754.mjs";
|
|
14
14
|
export {
|