deepline 0.3.456 → 0.3.458
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.ts +0 -23
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona.ts +1 -1
- package/dist/cli/auth-4CBIXFOR.js +40 -0
- package/dist/cli/{auth-OBWRDCK3.mjs → auth-APD43NYT.mjs} +4 -4
- package/dist/cli/{billing-ZR4OHVLA.mjs → billing-QW4K272E.mjs} +4 -4
- package/dist/cli/{billing-XDDTD7C3.js → billing-TI4YOWAJ.js} +73 -73
- package/dist/cli/{chunk-OQEIP4HF.js → chunk-2A63IJ2J.js} +6 -6
- package/dist/cli/{chunk-YMV3AULG.mjs → chunk-4TWDW7PI.mjs} +5 -5
- package/dist/cli/{chunk-HZODG765.mjs → chunk-5KO62ZXQ.mjs} +4 -4
- package/dist/cli/{chunk-76GTVFFG.js → chunk-6FLTFNAY.js} +8 -8
- package/dist/cli/{chunk-IQ5OW2WC.mjs → chunk-6UJJZWT2.mjs} +3 -3
- package/dist/cli/{chunk-BQWHXKXO.js → chunk-7M6C4STX.js} +16 -16
- package/dist/cli/{chunk-AGWG2PVB.mjs → chunk-7MZQ64FI.mjs} +1 -1
- package/dist/cli/{chunk-SOUPX3YJ.js → chunk-AA2DMXBN.js} +50 -50
- package/dist/cli/{chunk-WEHXHC7N.js → chunk-AJQUFGTJ.js} +1 -1
- package/dist/cli/{chunk-SHWMFFKX.js → chunk-CF2GXP2O.js} +2 -2
- package/dist/cli/{chunk-S3D7OY6D.js → chunk-DHERSOIG.js} +4 -4
- package/dist/cli/{chunk-ZCXFZSVH.mjs → chunk-ECS3KXM7.mjs} +1 -1
- package/dist/cli/{chunk-SAO7KYJE.js → chunk-ECVZUWRR.js} +2 -2
- package/dist/cli/{chunk-ZODPS5JW.mjs → chunk-EMIR3EXE.mjs} +1 -12
- package/dist/cli/{chunk-XRNBDUYR.mjs → chunk-EO7WQN5X.mjs} +8 -8
- package/dist/cli/{chunk-GQVMERZ7.mjs → chunk-GFGBHE43.mjs} +2 -2
- package/dist/cli/{chunk-W64S7C55.mjs → chunk-HJ5WE6S5.mjs} +1 -1
- package/dist/cli/{chunk-KFCXTVDW.js → chunk-JIDT3SCM.js} +20 -20
- package/dist/cli/{chunk-PPF557JY.js → chunk-K6IHE6R5.js} +8 -8
- package/dist/cli/{chunk-VVYM2F7X.js → chunk-L27PA5GT.js} +10 -21
- package/dist/cli/{chunk-K5TWU5I6.js → chunk-LJDJ5GPR.js} +51 -51
- package/dist/cli/{chunk-WXCYW6PA.mjs → chunk-LZUXLXL3.mjs} +3 -3
- package/dist/cli/{chunk-NXJEDRPH.mjs → chunk-MNEN3RYE.mjs} +2 -2
- package/dist/cli/{chunk-XVGEAB44.js → chunk-NDODDIEC.js} +35 -35
- package/dist/cli/{chunk-AQFHU3DW.js → chunk-NMJ4D2WO.js} +0 -21
- package/dist/cli/{chunk-QLB5T7IS.js → chunk-NXVHTBBS.js} +26 -26
- package/dist/cli/{chunk-APPPIUEW.mjs → chunk-OTN6GV74.mjs} +1 -1
- package/dist/cli/{chunk-77Z5BO7D.mjs → chunk-R2GLGLDR.mjs} +0 -21
- package/dist/cli/{chunk-M7FF76WO.mjs → chunk-U5O5TZC2.mjs} +1 -1
- package/dist/cli/{chunk-4EMVWEUJ.mjs → chunk-V6BEYE35.mjs} +2 -2
- package/dist/cli/{chunk-P5MB2PXV.mjs → chunk-VYLWKTDQ.mjs} +3 -3
- package/dist/cli/{chunk-CJTOZLFI.js → chunk-W3OAT72T.js} +6 -6
- package/dist/cli/{chunk-U4JZWJ52.mjs → chunk-X3ZRKA3V.mjs} +1 -1
- package/dist/cli/{chunk-4X5H47H5.js → chunk-XBVZ35XJ.js} +81 -81
- package/dist/cli/{chunk-J2KWJKTM.js → chunk-XI6AZJPO.js} +3 -3
- package/dist/cli/{chunk-7PW2K3AT.mjs → chunk-ZLL345RP.mjs} +2 -2
- package/dist/cli/command-docs.js +2 -2
- package/dist/cli/command-docs.mjs +1 -1
- package/dist/cli/{csv-B35BFYGT.js → csv-NIKB3RQX.js} +12 -12
- package/dist/cli/{csv-P2ATJQUY.mjs → csv-VOX5XXBB.mjs} +3 -3
- package/dist/cli/{db-PSITREEX.mjs → db-GETE5AIV.mjs} +4 -4
- package/dist/cli/{db-ELEZFHG7.js → db-ZH2NUZ3F.js} +25 -25
- package/dist/cli/{describe-AXWFWCWZ.js → describe-JZ6QOTPY.js} +17 -17
- package/dist/cli/{describe-E2ZFRC5Z.mjs → describe-LWGEU6IE.mjs} +13 -13
- package/dist/cli/describe-core.d.mts +1 -1
- package/dist/cli/describe-core.d.ts +1 -1
- package/dist/cli/{executions-GWYPVJYE.js → executions-CEVMJ4QY.js} +6 -6
- package/dist/cli/{executions-BZTPNWW2.mjs → executions-DUMCTK4E.mjs} +4 -4
- package/dist/cli/{feedback-F3RKOHZN.mjs → feedback-UEYC3V3O.mjs} +3 -3
- package/dist/cli/{feedback-UCW6EFOR.js → feedback-VI4N44TJ.js} +7 -7
- package/dist/cli/{git-LGQMBBO3.mjs → git-BOMW65V5.mjs} +4 -4
- package/dist/cli/git-QISWQQM3.js +24 -0
- package/dist/cli/index.js +136 -136
- package/dist/cli/index.mjs +38 -38
- package/dist/cli/{legacy-noops-4TVFFILL.mjs → legacy-noops-33X26VLN.mjs} +4 -4
- package/dist/cli/{legacy-noops-SRH3BPNV.js → legacy-noops-SWPSUKTD.js} +7 -7
- package/dist/cli/{monitors-WBST3XUH.mjs → monitors-465GCZ73.mjs} +5 -5
- package/dist/cli/{monitors-6NHXI3EW.js → monitors-6HMDLDKU.js} +89 -89
- package/dist/cli/{org-DSDNRGDV.mjs → org-CAAOHGTM.mjs} +4 -4
- package/dist/cli/{org-5EFVZUB2.js → org-JFQ4QBHQ.js} +66 -66
- package/dist/cli/{play-EKOV2T5N.mjs → play-NJP6HIQD.mjs} +11 -11
- package/dist/cli/{play-RMWBABCH.js → play-UKD4KR4K.js} +284 -284
- package/dist/cli/{providers-AWNJWZWD.mjs → providers-UVHTTSKV.mjs} +4 -46
- package/dist/cli/{providers-Y4EYH7IZ.js → providers-YTRBZARB.js} +8 -50
- package/dist/cli/{quickstart-JQ3W6LWQ.js → quickstart-3GXVHJRL.js} +5 -5
- package/dist/cli/{quickstart-CPW66MBY.mjs → quickstart-CB3TQ5L2.mjs} +3 -3
- package/dist/cli/{search-VP4Y6MQU.mjs → search-NXA6526R.mjs} +5 -5
- package/dist/cli/search-YM4ATHTV.js +30 -0
- package/dist/cli/{secrets-CPMHM5HU.js → secrets-E3Y6YDKR.js} +13 -13
- package/dist/cli/{secrets-2VEENFF4.mjs → secrets-JFJK2X2N.mjs} +4 -4
- package/dist/cli/{sessions-INDUUZ3K.mjs → sessions-HAZJLQQL.mjs} +4 -4
- package/dist/cli/{sessions-ALPCLDJI.js → sessions-NKLP6TVY.js} +5 -5
- package/dist/cli/{settings-3YBZZPAM.mjs → settings-BSD4DW4O.mjs} +10 -10
- package/dist/cli/{settings-5PO4C33K.js → settings-D4LEZOEW.js} +77 -77
- package/dist/cli/{setup-RK2MUVXO.js → setup-KMZ4EFDK.js} +43 -43
- package/dist/cli/{setup-7SOJ4INF.mjs → setup-QO64H6YO.mjs} +8 -8
- package/dist/cli/skills-T5VTI2LZ.js +30 -0
- package/dist/cli/{skills-5PR5RTOX.mjs → skills-YLAH2YNN.mjs} +6 -6
- package/dist/cli/{tools-OSJJUP36.mjs → tools-KGQ76YQE.mjs} +13 -13
- package/dist/cli/tools-M574OF4H.js +45 -0
- package/dist/cli/{update-TDCMXJ62.mjs → update-JXUSVBH7.mjs} +8 -8
- package/dist/cli/update-WNG5DNNO.js +32 -0
- package/dist/cli/{workflow-6O24O6LT.mjs → workflow-NYWZWN5Z.mjs} +5 -5
- package/dist/cli/{workflow-6DKCCQYA.js → workflow-YTXY76FN.js} +15 -15
- package/dist/{client-BX2EVlPo.d.mts → client-BbU5_j7n.d.mts} +0 -14
- package/dist/{client-CRz2laoR.d.ts → client-CYqG23K1.d.ts} +0 -14
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -6
- package/dist/index.mjs +3 -3
- package/dist/install-integrity.json +84 -84
- 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/package.json +1 -1
- package/dist/cli/auth-X5H25CM4.js +0 -40
- package/dist/cli/git-HEKGLILK.js +0 -24
- package/dist/cli/search-PJXI2GJR.js +0 -30
- package/dist/cli/skills-J3243JQE.js +0 -30
- package/dist/cli/tools-V2B44RFH.js +0 -45
- package/dist/cli/update-CKIL2SWB.js +0 -32
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EMIR3EXE.mjs";
|
|
4
4
|
import "./chunk-L2VKAASU.mjs";
|
|
5
5
|
import "./chunk-FAG4DFUC.mjs";
|
|
6
6
|
import "./chunk-EIMG75BT.mjs";
|
|
@@ -8,12 +8,12 @@ import "./chunk-UBKA33KY.mjs";
|
|
|
8
8
|
import {
|
|
9
9
|
printCommandEnvelope,
|
|
10
10
|
shouldEmitJson
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-7MZQ64FI.mjs";
|
|
12
|
+
import "./chunk-U5O5TZC2.mjs";
|
|
13
13
|
import "./chunk-4QF2K7TM.mjs";
|
|
14
14
|
import "./chunk-DLIRSHV6.mjs";
|
|
15
15
|
import "./chunk-HBL4PM5Q.mjs";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-ECS3KXM7.mjs";
|
|
17
17
|
import "./chunk-WZYKRD7T.mjs";
|
|
18
18
|
import "./chunk-KRD6H754.mjs";
|
|
19
19
|
|
|
@@ -70,48 +70,6 @@ Examples:
|
|
|
70
70
|
deepline providers list --changed
|
|
71
71
|
`
|
|
72
72
|
);
|
|
73
|
-
providers.command("connect").description("Start OAuth authorization for a provider.").argument("<provider>", "Provider ID").option("--scopes <scopes>", "Space-separated OAuth scopes").option("--json", "Emit JSON output").action(
|
|
74
|
-
async (provider, options) => {
|
|
75
|
-
const result = await new DeeplineClient().connectIntegration(
|
|
76
|
-
provider,
|
|
77
|
-
options.scopes?.split(/\s+/).filter(Boolean)
|
|
78
|
-
);
|
|
79
|
-
printCommandEnvelope(
|
|
80
|
-
{
|
|
81
|
-
...result,
|
|
82
|
-
render: {
|
|
83
|
-
sections: [
|
|
84
|
-
{
|
|
85
|
-
title: "Complete authorization",
|
|
86
|
-
lines: [result.redirect_url]
|
|
87
|
-
}
|
|
88
|
-
]
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
{ json: options.json === true || shouldEmitJson() }
|
|
92
|
-
);
|
|
93
|
-
}
|
|
94
|
-
);
|
|
95
|
-
providers.command("test").description("Test a connected OAuth account.").argument("<provider>", "Provider ID").option("--json", "Emit JSON output").action(async (provider, options) => {
|
|
96
|
-
const result = await new DeeplineClient().testIntegration(provider);
|
|
97
|
-
printCommandEnvelope(
|
|
98
|
-
{
|
|
99
|
-
...result,
|
|
100
|
-
render: {
|
|
101
|
-
sections: [
|
|
102
|
-
{
|
|
103
|
-
title: provider,
|
|
104
|
-
lines: [
|
|
105
|
-
`Connection: ${result.status}`,
|
|
106
|
-
"Provider API probe succeeded."
|
|
107
|
-
]
|
|
108
|
-
}
|
|
109
|
-
]
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
{ json: options.json === true || shouldEmitJson() }
|
|
113
|
-
);
|
|
114
|
-
});
|
|
115
73
|
providers.command("list").description("List discoverable providers and their available tool counts.").addHelpText(
|
|
116
74
|
"after",
|
|
117
75
|
`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
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
|
|
3
|
+
var _chunkL27PA5GTjs = require('./chunk-L27PA5GT.js');
|
|
4
4
|
require('./chunk-E4CABWXL.js');
|
|
5
5
|
require('./chunk-JKVRBCZL.js');
|
|
6
6
|
require('./chunk-KXMNM4AQ.js');
|
|
@@ -8,20 +8,20 @@ require('./chunk-XDVT3GOM.js');
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
12
|
-
require('./chunk-
|
|
11
|
+
var _chunk2A63IJ2Jjs = require('./chunk-2A63IJ2J.js');
|
|
12
|
+
require('./chunk-DHERSOIG.js');
|
|
13
13
|
require('./chunk-ALJJRZNJ.js');
|
|
14
14
|
require('./chunk-XNYIZMNQ.js');
|
|
15
15
|
require('./chunk-DIAWYWT5.js');
|
|
16
|
-
require('./chunk-
|
|
16
|
+
require('./chunk-AJQUFGTJ.js');
|
|
17
17
|
require('./chunk-OG64RBAC.js');
|
|
18
18
|
require('./chunk-COGTRVWW.js');
|
|
19
19
|
|
|
20
20
|
// src/cli/commands/providers.ts
|
|
21
21
|
async function listProviders(options = {}) {
|
|
22
|
-
const client = new (0,
|
|
22
|
+
const client = new (0, _chunkL27PA5GTjs.DeeplineClient)();
|
|
23
23
|
const changed = options.changed === true;
|
|
24
|
-
const emitJson = options.json === true ||
|
|
24
|
+
const emitJson = options.json === true || _chunk2A63IJ2Jjs.shouldEmitJson.call(void 0, );
|
|
25
25
|
const providers = await client.listProviders({ changed });
|
|
26
26
|
const render = {
|
|
27
27
|
sections: [
|
|
@@ -40,7 +40,7 @@ async function listProviders(options = {}) {
|
|
|
40
40
|
}
|
|
41
41
|
]
|
|
42
42
|
};
|
|
43
|
-
|
|
43
|
+
_chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0,
|
|
44
44
|
{
|
|
45
45
|
providers,
|
|
46
46
|
count: providers.length,
|
|
@@ -70,48 +70,6 @@ Examples:
|
|
|
70
70
|
deepline providers list --changed
|
|
71
71
|
`
|
|
72
72
|
);
|
|
73
|
-
providers.command("connect").description("Start OAuth authorization for a provider.").argument("<provider>", "Provider ID").option("--scopes <scopes>", "Space-separated OAuth scopes").option("--json", "Emit JSON output").action(
|
|
74
|
-
async (provider, options) => {
|
|
75
|
-
const result = await new (0, _chunkVVYM2F7Xjs.DeeplineClient)().connectIntegration(
|
|
76
|
-
provider,
|
|
77
|
-
_optionalChain([options, 'access', _ => _.scopes, 'optionalAccess', _2 => _2.split, 'call', _3 => _3(/\s+/), 'access', _4 => _4.filter, 'call', _5 => _5(Boolean)])
|
|
78
|
-
);
|
|
79
|
-
_chunkOQEIP4HFjs.printCommandEnvelope.call(void 0,
|
|
80
|
-
{
|
|
81
|
-
...result,
|
|
82
|
-
render: {
|
|
83
|
-
sections: [
|
|
84
|
-
{
|
|
85
|
-
title: "Complete authorization",
|
|
86
|
-
lines: [result.redirect_url]
|
|
87
|
-
}
|
|
88
|
-
]
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
{ json: options.json === true || _chunkOQEIP4HFjs.shouldEmitJson.call(void 0, ) }
|
|
92
|
-
);
|
|
93
|
-
}
|
|
94
|
-
);
|
|
95
|
-
providers.command("test").description("Test a connected OAuth account.").argument("<provider>", "Provider ID").option("--json", "Emit JSON output").action(async (provider, options) => {
|
|
96
|
-
const result = await new (0, _chunkVVYM2F7Xjs.DeeplineClient)().testIntegration(provider);
|
|
97
|
-
_chunkOQEIP4HFjs.printCommandEnvelope.call(void 0,
|
|
98
|
-
{
|
|
99
|
-
...result,
|
|
100
|
-
render: {
|
|
101
|
-
sections: [
|
|
102
|
-
{
|
|
103
|
-
title: provider,
|
|
104
|
-
lines: [
|
|
105
|
-
`Connection: ${result.status}`,
|
|
106
|
-
"Provider API probe succeeded."
|
|
107
|
-
]
|
|
108
|
-
}
|
|
109
|
-
]
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
{ json: options.json === true || _chunkOQEIP4HFjs.shouldEmitJson.call(void 0, ) }
|
|
113
|
-
);
|
|
114
|
-
});
|
|
115
73
|
providers.command("list").description("List discoverable providers and their available tool counts.").addHelpText(
|
|
116
74
|
"after",
|
|
117
75
|
`
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunk2A63IJ2Jjs = require('./chunk-2A63IJ2J.js');
|
|
5
|
+
require('./chunk-DHERSOIG.js');
|
|
6
6
|
require('./chunk-ALJJRZNJ.js');
|
|
7
7
|
require('./chunk-XNYIZMNQ.js');
|
|
8
8
|
require('./chunk-DIAWYWT5.js');
|
|
9
|
-
require('./chunk-
|
|
9
|
+
require('./chunk-AJQUFGTJ.js');
|
|
10
10
|
require('./chunk-OG64RBAC.js');
|
|
11
11
|
|
|
12
12
|
|
|
@@ -16,12 +16,12 @@ require('./chunk-COGTRVWW.js');
|
|
|
16
16
|
|
|
17
17
|
// src/cli/commands/quickstart.ts
|
|
18
18
|
async function handleQuickstart(options) {
|
|
19
|
-
const jsonOutput =
|
|
19
|
+
const jsonOutput = _chunk2A63IJ2Jjs.shouldEmitJson.call(void 0, options.json === true);
|
|
20
20
|
const gettingStarted = {
|
|
21
21
|
skill: _chunkEBU7LQ64js.DEEPLINE_GTM_SKILL,
|
|
22
22
|
examples: _chunkEBU7LQ64js.DEEPLINE_GTM_STARTER_PROMPTS
|
|
23
23
|
};
|
|
24
|
-
|
|
24
|
+
_chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0,
|
|
25
25
|
{
|
|
26
26
|
ok: true,
|
|
27
27
|
status: "deprecated",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
printCommandEnvelope,
|
|
3
3
|
shouldEmitJson
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-7MZQ64FI.mjs";
|
|
5
|
+
import "./chunk-U5O5TZC2.mjs";
|
|
6
6
|
import "./chunk-4QF2K7TM.mjs";
|
|
7
7
|
import "./chunk-DLIRSHV6.mjs";
|
|
8
8
|
import "./chunk-HBL4PM5Q.mjs";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-ECS3KXM7.mjs";
|
|
10
10
|
import "./chunk-WZYKRD7T.mjs";
|
|
11
11
|
import {
|
|
12
12
|
DEEPLINE_GTM_SKILL,
|
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
pointAtDescribe,
|
|
6
6
|
registerDeprecatedSearchCommand,
|
|
7
7
|
registerSearchCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LZUXLXL3.mjs";
|
|
9
9
|
import "./chunk-LJ5747UC.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-EMIR3EXE.mjs";
|
|
11
11
|
import "./chunk-L2VKAASU.mjs";
|
|
12
12
|
import "./chunk-FAG4DFUC.mjs";
|
|
13
13
|
import "./chunk-EIMG75BT.mjs";
|
|
14
14
|
import "./chunk-UBKA33KY.mjs";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-7MZQ64FI.mjs";
|
|
16
|
+
import "./chunk-U5O5TZC2.mjs";
|
|
17
17
|
import "./chunk-4QF2K7TM.mjs";
|
|
18
18
|
import "./chunk-DLIRSHV6.mjs";
|
|
19
19
|
import "./chunk-HBL4PM5Q.mjs";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-ECS3KXM7.mjs";
|
|
21
21
|
import "./chunk-WZYKRD7T.mjs";
|
|
22
22
|
import "./chunk-KRD6H754.mjs";
|
|
23
23
|
export {
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _chunk6FLTFNAYjs = require('./chunk-6FLTFNAY.js');
|
|
9
|
+
require('./chunk-ZM2YPJQJ.js');
|
|
10
|
+
require('./chunk-L27PA5GT.js');
|
|
11
|
+
require('./chunk-E4CABWXL.js');
|
|
12
|
+
require('./chunk-JKVRBCZL.js');
|
|
13
|
+
require('./chunk-KXMNM4AQ.js');
|
|
14
|
+
require('./chunk-XDVT3GOM.js');
|
|
15
|
+
require('./chunk-2A63IJ2J.js');
|
|
16
|
+
require('./chunk-DHERSOIG.js');
|
|
17
|
+
require('./chunk-ALJJRZNJ.js');
|
|
18
|
+
require('./chunk-XNYIZMNQ.js');
|
|
19
|
+
require('./chunk-DIAWYWT5.js');
|
|
20
|
+
require('./chunk-AJQUFGTJ.js');
|
|
21
|
+
require('./chunk-OG64RBAC.js');
|
|
22
|
+
require('./chunk-COGTRVWW.js');
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
exports.SEARCH_TYPES = _chunk6FLTFNAYjs.SEARCH_TYPES; exports.appendCsv = _chunk6FLTFNAYjs.appendCsv; exports.parseTypes = _chunk6FLTFNAYjs.parseTypes; exports.pointAtDescribe = _chunk6FLTFNAYjs.pointAtDescribe; exports.registerDeprecatedSearchCommand = _chunk6FLTFNAYjs.registerDeprecatedSearchCommand; exports.registerSearchCommand = _chunk6FLTFNAYjs.registerSearchCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
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
|
|
3
|
+
var _chunkL27PA5GTjs = require('./chunk-L27PA5GT.js');
|
|
4
4
|
require('./chunk-E4CABWXL.js');
|
|
5
5
|
require('./chunk-JKVRBCZL.js');
|
|
6
6
|
require('./chunk-KXMNM4AQ.js');
|
|
@@ -8,12 +8,12 @@ require('./chunk-XDVT3GOM.js');
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
12
|
-
require('./chunk-
|
|
11
|
+
var _chunk2A63IJ2Jjs = require('./chunk-2A63IJ2J.js');
|
|
12
|
+
require('./chunk-DHERSOIG.js');
|
|
13
13
|
require('./chunk-ALJJRZNJ.js');
|
|
14
14
|
require('./chunk-XNYIZMNQ.js');
|
|
15
15
|
require('./chunk-DIAWYWT5.js');
|
|
16
|
-
require('./chunk-
|
|
16
|
+
require('./chunk-AJQUFGTJ.js');
|
|
17
17
|
require('./chunk-OG64RBAC.js');
|
|
18
18
|
require('./chunk-COGTRVWW.js');
|
|
19
19
|
|
|
@@ -205,9 +205,9 @@ function preventShellHistoryLeak(forbidden) {
|
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
207
|
async function handleList(options) {
|
|
208
|
-
const client = new (0,
|
|
208
|
+
const client = new (0, _chunkL27PA5GTjs.DeeplineClient)();
|
|
209
209
|
const secrets = await client.listSecrets();
|
|
210
|
-
|
|
210
|
+
_chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0,
|
|
211
211
|
{
|
|
212
212
|
secrets,
|
|
213
213
|
count: secrets.length,
|
|
@@ -225,14 +225,14 @@ async function handleList(options) {
|
|
|
225
225
|
}
|
|
226
226
|
async function handleCheck(nameInput, options) {
|
|
227
227
|
const name = normalizeSecretName(nameInput);
|
|
228
|
-
const client = new (0,
|
|
228
|
+
const client = new (0, _chunkL27PA5GTjs.DeeplineClient)();
|
|
229
229
|
const playName = options.play === void 0 ? void 0 : normalizePlaySelector(options.play);
|
|
230
230
|
const check = playName !== void 0 ? await client.inspectSecret(name, { playName }) : null;
|
|
231
231
|
const secret = check ? check.secret : await client.checkSecret(name);
|
|
232
232
|
const ok = check ? check.ok : Boolean(secret);
|
|
233
233
|
const quotedPlay = `'${(_nullishCoalesce(options.play, () => ( "PLAY"))).replace(/'/g, `'"'"'`)}'`;
|
|
234
234
|
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>`;
|
|
235
|
-
|
|
235
|
+
_chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0,
|
|
236
236
|
{
|
|
237
237
|
ok,
|
|
238
238
|
name,
|
|
@@ -260,7 +260,7 @@ async function handleSet(nameInput, forbidden, options) {
|
|
|
260
260
|
const name = normalizeSecretName(nameInput);
|
|
261
261
|
const { scope, playName } = resolveSecretWriteScope(options);
|
|
262
262
|
const value = await readSecretValueFromOptions(options);
|
|
263
|
-
const { http } =
|
|
263
|
+
const { http } = _chunk2A63IJ2Jjs.getAuthedHttpClient.call(void 0, );
|
|
264
264
|
const response = await http.post(
|
|
265
265
|
"/api/v2/secrets",
|
|
266
266
|
{
|
|
@@ -272,7 +272,7 @@ async function handleSet(nameInput, forbidden, options) {
|
|
|
272
272
|
}
|
|
273
273
|
);
|
|
274
274
|
const secret = response.secret;
|
|
275
|
-
|
|
275
|
+
_chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0,
|
|
276
276
|
{
|
|
277
277
|
ok: true,
|
|
278
278
|
secret,
|
|
@@ -300,7 +300,7 @@ async function handleNote(secretId, noteInput, options) {
|
|
|
300
300
|
}
|
|
301
301
|
const note = options.clear ? "" : noteInput;
|
|
302
302
|
if (options.dryRun) {
|
|
303
|
-
|
|
303
|
+
_chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0,
|
|
304
304
|
{
|
|
305
305
|
ok: true,
|
|
306
306
|
dryRun: true,
|
|
@@ -321,9 +321,9 @@ async function handleNote(secretId, noteInput, options) {
|
|
|
321
321
|
);
|
|
322
322
|
return;
|
|
323
323
|
}
|
|
324
|
-
const client = new (0,
|
|
324
|
+
const client = new (0, _chunkL27PA5GTjs.DeeplineClient)();
|
|
325
325
|
const secret = await client.updateSecretNote(secretId, note);
|
|
326
|
-
|
|
326
|
+
_chunk2A63IJ2Jjs.printCommandEnvelope.call(void 0,
|
|
327
327
|
{
|
|
328
328
|
ok: true,
|
|
329
329
|
secret,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DeeplineClient
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EMIR3EXE.mjs";
|
|
4
4
|
import "./chunk-L2VKAASU.mjs";
|
|
5
5
|
import "./chunk-FAG4DFUC.mjs";
|
|
6
6
|
import "./chunk-EIMG75BT.mjs";
|
|
@@ -8,12 +8,12 @@ import "./chunk-UBKA33KY.mjs";
|
|
|
8
8
|
import {
|
|
9
9
|
getAuthedHttpClient,
|
|
10
10
|
printCommandEnvelope
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-7MZQ64FI.mjs";
|
|
12
|
+
import "./chunk-U5O5TZC2.mjs";
|
|
13
13
|
import "./chunk-4QF2K7TM.mjs";
|
|
14
14
|
import "./chunk-DLIRSHV6.mjs";
|
|
15
15
|
import "./chunk-HBL4PM5Q.mjs";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-ECS3KXM7.mjs";
|
|
17
17
|
import "./chunk-WZYKRD7T.mjs";
|
|
18
18
|
import "./chunk-KRD6H754.mjs";
|
|
19
19
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerSessionSendRenderCommands,
|
|
3
3
|
registerSessionsCommands
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-MNEN3RYE.mjs";
|
|
5
|
+
import "./chunk-7MZQ64FI.mjs";
|
|
6
|
+
import "./chunk-U5O5TZC2.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-ECS3KXM7.mjs";
|
|
11
11
|
import "./chunk-WZYKRD7T.mjs";
|
|
12
12
|
import "./chunk-KRD6H754.mjs";
|
|
13
13
|
export {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
4
|
+
var _chunkK6IHE6R5js = require('./chunk-K6IHE6R5.js');
|
|
5
|
+
require('./chunk-2A63IJ2J.js');
|
|
6
|
+
require('./chunk-DHERSOIG.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-AJQUFGTJ.js');
|
|
11
11
|
require('./chunk-OG64RBAC.js');
|
|
12
12
|
require('./chunk-COGTRVWW.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
exports.registerSessionSendRenderCommands =
|
|
16
|
+
exports.registerSessionSendRenderCommands = _chunkK6IHE6R5js.registerSessionSendRenderCommands; exports.registerSessionsCommands = _chunkK6IHE6R5js.registerSessionsCommands;
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
DeeplineClient,
|
|
3
3
|
PRODUCT_NOTIFICATION_EVENT_CATALOG,
|
|
4
4
|
resolveLegacySlackNotification
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EMIR3EXE.mjs";
|
|
6
6
|
import "./chunk-L2VKAASU.mjs";
|
|
7
7
|
import "./chunk-FAG4DFUC.mjs";
|
|
8
8
|
import "./chunk-EIMG75BT.mjs";
|
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
readCliUpdatePreferences,
|
|
12
12
|
runUpdateCommand,
|
|
13
13
|
setCliAutoUpdateEnabled
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-4TWDW7PI.mjs";
|
|
15
|
+
import "./chunk-OTN6GV74.mjs";
|
|
16
|
+
import "./chunk-6UJJZWT2.mjs";
|
|
17
|
+
import "./chunk-VYLWKTDQ.mjs";
|
|
18
|
+
import "./chunk-X3ZRKA3V.mjs";
|
|
19
19
|
import {
|
|
20
20
|
openInBrowser,
|
|
21
21
|
printCommandEnvelope
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-7MZQ64FI.mjs";
|
|
23
|
+
import "./chunk-U5O5TZC2.mjs";
|
|
24
24
|
import "./chunk-4QF2K7TM.mjs";
|
|
25
25
|
import "./chunk-DLIRSHV6.mjs";
|
|
26
26
|
import "./chunk-HBL4PM5Q.mjs";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-ECS3KXM7.mjs";
|
|
28
28
|
import "./chunk-WZYKRD7T.mjs";
|
|
29
29
|
import "./chunk-KRD6H754.mjs";
|
|
30
30
|
|
|
@@ -187,7 +187,7 @@ Workflow:
|
|
|
187
187
|
5. deepline settings notifications subscriptions list
|
|
188
188
|
|
|
189
189
|
Slack is the delivery integration. This command group only manages product
|
|
190
|
-
notifications
|
|
190
|
+
notifications; there is no general integrations CLI.
|
|
191
191
|
`
|
|
192
192
|
);
|
|
193
193
|
notifications.command("get").description("Show destination, subscriptions, and DLQ health.").option("--json", "Emit JSON output").action(printSettings);
|