deepline 0.3.563 → 0.3.564
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/plays/extension-bridge.ts +8 -0
- package/dist/cli/auth-645UXOAZ.js +44 -0
- package/dist/cli/{auth-3YES4ACM.mjs → auth-PXZ7JZUT.mjs} +5 -5
- package/dist/cli/{billing-NZ2NCOQS.mjs → billing-AMYFMDZL.mjs} +8 -8
- package/dist/cli/{billing-L2GDKBXK.js → billing-OY2ZN5XJ.js} +99 -99
- package/dist/cli/{chunk-RP2LCS7G.mjs → chunk-2ISK6CUL.mjs} +11 -11
- package/dist/cli/{chunk-H2N324LF.mjs → chunk-2PMHEUED.mjs} +3 -3
- package/dist/cli/{chunk-ERT4ZMZT.js → chunk-2SKEXMFV.js} +5 -5
- package/dist/cli/{chunk-T2RNEBV7.js → chunk-4JQ6MHE7.js} +4 -4
- package/dist/cli/{chunk-GVRVZQBY.mjs → chunk-4NNNJLAZ.mjs} +2 -2
- package/dist/cli/{chunk-DA24O3ZV.js → chunk-4SV43Z64.js} +3 -3
- package/dist/cli/{chunk-L5QJRMFJ.mjs → chunk-56P2BEVI.mjs} +2 -2
- package/dist/cli/{chunk-2MAP42AM.mjs → chunk-655PNNU7.mjs} +1 -1
- package/dist/cli/{chunk-6LPMQPSQ.mjs → chunk-7DU4VODD.mjs} +2 -2
- package/dist/cli/{chunk-IICHFEFE.js → chunk-7NSHH3NB.js} +5 -5
- package/dist/cli/{chunk-OZC6SSOB.js → chunk-BRQVKZWJ.js} +7 -7
- package/dist/cli/{chunk-O3NLECXL.mjs → chunk-CXN574UU.mjs} +1 -1
- package/dist/cli/{chunk-NCGDBNNF.mjs → chunk-DHZOC2QX.mjs} +2 -2
- package/dist/cli/{chunk-ZX3UZCWC.mjs → chunk-DTTMFSNG.mjs} +1 -1
- package/dist/cli/{chunk-L5O7MWRZ.mjs → chunk-DYTTZHYX.mjs} +5 -5
- package/dist/cli/{chunk-QGIHGITM.js → chunk-GWTFA5GD.js} +3 -3
- package/dist/cli/{chunk-6U7CIG3C.mjs → chunk-HEWVHSNN.mjs} +4 -4
- package/dist/cli/{chunk-4MPLA5RD.js → chunk-HGGIWRA5.js} +48 -48
- package/dist/cli/{chunk-SJ2LY4V5.js → chunk-HPXN5QZZ.js} +20 -20
- package/dist/cli/{chunk-4KHRPJOW.js → chunk-HXZSXPT2.js} +53 -53
- package/dist/cli/{chunk-FCRBXLIJ.js → chunk-I2GVGCMM.js} +12 -12
- package/dist/cli/{chunk-QGNITJYC.js → chunk-I4XWKMGR.js} +15 -15
- package/dist/cli/{chunk-LIO7CPM3.js → chunk-IW3N7ARM.js} +8 -8
- package/dist/cli/{chunk-6UHRBEDV.mjs → chunk-JVSHMUGE.mjs} +3 -3
- package/dist/cli/{chunk-TX5PQ7KP.js → chunk-KBGP4CS5.js} +10 -10
- package/dist/cli/{chunk-NS56OQUQ.js → chunk-KR76WIOX.js} +1 -1
- package/dist/cli/{chunk-BP2XRVBA.mjs → chunk-MY45K7SA.mjs} +5 -5
- package/dist/cli/{chunk-JVXHVEWX.mjs → chunk-OCLHNDVN.mjs} +5 -5
- package/dist/cli/{chunk-K5FNC4VL.mjs → chunk-QHBYLHOG.mjs} +2 -2
- package/dist/cli/{chunk-XWGWVLQQ.mjs → chunk-QQTZ6KG4.mjs} +4 -4
- package/dist/cli/{chunk-VYY6HNOC.js → chunk-R5555CB5.js} +2 -2
- package/dist/cli/{chunk-G5CY6KI2.js → chunk-RBTOZO5M.js} +41 -41
- package/dist/cli/{chunk-YDXFVE4V.mjs → chunk-RK5EKJAT.mjs} +1 -1
- package/dist/cli/{chunk-2UW5A57I.js → chunk-RKG2E2JF.js} +9 -9
- package/dist/cli/{chunk-XY5DE4TK.mjs → chunk-RW6PFYT5.mjs} +5 -5
- package/dist/cli/{chunk-AYNDNXBJ.mjs → chunk-TK6YKQ45.mjs} +1 -1
- package/dist/cli/{chunk-XDZZCRUG.mjs → chunk-TVF7XVPN.mjs} +1 -1
- package/dist/cli/{chunk-XTSQ3ZV5.mjs → chunk-UWX4TTJU.mjs} +2 -2
- package/dist/cli/{chunk-MGOCWY7J.js → chunk-V2GHSOQB.js} +100 -100
- package/dist/cli/{chunk-DVWFK676.js → chunk-V2SNCH5X.js} +6 -6
- package/dist/cli/{chunk-V4KKZGLT.js → chunk-WDXXHTIF.js} +23 -23
- package/dist/cli/{chunk-U77PK5R3.js → chunk-WSEMXB7X.js} +20 -20
- package/dist/cli/{chunk-POGS26GF.mjs → chunk-WXB7PU3O.mjs} +1 -1
- package/dist/cli/{chunk-DFCBNTVQ.mjs → chunk-XP6ALUAZ.mjs} +2 -2
- package/dist/cli/{chunk-K77ANXGU.js → chunk-XVYU3J2J.js} +13 -13
- package/dist/cli/{chunk-NTRTFEI4.js → chunk-XWDCKDUP.js} +26 -26
- package/dist/cli/{chunk-H3UIWEXF.js → chunk-Y2FZJRRM.js} +2 -2
- package/dist/cli/{chunk-UUEVGLGO.mjs → chunk-YIDXJD5L.mjs} +1 -1
- package/dist/cli/{chunk-QOLFZD6Q.js → chunk-YMQOTCLU.js} +2 -2
- package/dist/cli/{chunk-HST5XA3B.mjs → chunk-ZJ23RI3B.mjs} +2 -2
- package/dist/cli/{chunk-UMJWODG7.mjs → chunk-ZOITMXVO.mjs} +1 -1
- package/dist/cli/{chunk-CH7OVBBJ.js → chunk-ZZW5A4HZ.js} +5 -5
- package/dist/cli/{concurrent-runs-help-VEZX3RK4.mjs → concurrent-runs-help-5GPKNDAY.mjs} +6 -6
- package/dist/cli/concurrent-runs-help-QKZXIMSW.js +22 -0
- package/dist/cli/{csv-RJBNLD23.mjs → csv-ARPN6J6K.mjs} +4 -4
- package/dist/cli/{csv-W5C4JCYL.js → csv-X3FHV56H.js} +13 -13
- package/dist/cli/{db-VVGP2KCM.mjs → db-2HWSS3MA.mjs} +6 -6
- package/dist/cli/{db-GYCRUH4V.js → db-WINZJRWC.js} +27 -27
- package/dist/cli/{describe-HZW272Y6.mjs → describe-333JCD22.mjs} +18 -18
- package/dist/cli/describe-6TJYCPFQ.js +50 -0
- package/dist/cli/{executions-N4ZA4ZD5.mjs → executions-JYYXIRE6.mjs} +6 -6
- package/dist/cli/{executions-D37NX6CD.js → executions-UHZHVQLO.js} +8 -8
- package/dist/cli/{feedback-W6CY6UBA.js → feedback-6G4SDI7M.js} +14 -14
- package/dist/cli/{feedback-4PB4ACBV.mjs → feedback-KNGQ4VMG.mjs} +6 -6
- package/dist/cli/{git-WHIEYIVM.mjs → git-DREIWOYN.mjs} +5 -5
- package/dist/cli/git-TQNP4MAD.js +26 -0
- package/dist/cli/index.js +143 -143
- package/dist/cli/index.mjs +45 -45
- package/dist/cli/{integrations-ASNRHKLO.mjs → integrations-UY3T3ZHA.mjs} +7 -7
- package/dist/cli/{integrations-HXY5DR6D.js → integrations-V6EO6JAM.js} +20 -20
- package/dist/cli/{legacy-noops-PJNDUOWG.js → legacy-noops-7LZ2HNLB.js} +9 -9
- package/dist/cli/{legacy-noops-YYX2W2WX.mjs → legacy-noops-FSL5Y4TO.mjs} +6 -6
- package/dist/cli/{mcp-APKPI24N.js → mcp-TAVIRUQC.js} +24 -24
- package/dist/cli/{mcp-T32DPP4D.mjs → mcp-WDJV3OCV.mjs} +4 -4
- package/dist/cli/{monitors-BY4DJFCF.js → monitors-HGT2RVR5.js} +100 -100
- package/dist/cli/{monitors-DTJD3IUI.mjs → monitors-L5FSJSVD.mjs} +7 -7
- package/dist/cli/{org-2GMHKAQK.js → org-4LNYSIEM.js} +121 -121
- package/dist/cli/{org-GQYIJBKO.mjs → org-J5DJCLTU.mjs} +6 -6
- package/dist/cli/{outcomes-4XY4F57P.js → outcomes-4QO264GU.js} +14 -14
- package/dist/cli/{outcomes-3ASEQLIF.mjs → outcomes-5DZ5EZ5Q.mjs} +6 -6
- package/dist/cli/{play-2LDJMIG2.js → play-FZY7NZAM.js} +324 -324
- package/dist/cli/{play-EX7PB6CI.mjs → play-SETNQCBB.mjs} +19 -19
- package/dist/cli/{providers-IDIFP5PU.js → providers-754HLYAW.js} +9 -9
- package/dist/cli/{providers-GAERKWYW.mjs → providers-PIS6IQVA.mjs} +6 -6
- package/dist/cli/{quickstart-7NL5YAJF.js → quickstart-2TIUCHQF.js} +6 -6
- package/dist/cli/{quickstart-E2GCIGR4.mjs → quickstart-5P4NYWZK.mjs} +4 -4
- package/dist/cli/{run-3CEY5JF3.js → run-OQNK7G3I.js} +44 -44
- package/dist/cli/{run-2EPOAEJ5.mjs → run-WAN4VZMS.mjs} +23 -23
- package/dist/cli/{search-TYRKGVKB.mjs → search-PTX7IMBB.mjs} +7 -7
- package/dist/cli/search-VXKJDQA5.js +32 -0
- package/dist/cli/{search-output-FRRT574G.js → search-output-AXVUC3TF.js} +6 -6
- package/dist/cli/{search-output-O7FYSGYQ.mjs → search-output-N44NPUN6.mjs} +4 -4
- package/dist/cli/{secrets-5W2ZF2JB.js → secrets-32WRPZB2.js} +15 -15
- package/dist/cli/{secrets-5YL7RU2B.mjs → secrets-ZODIPUMI.mjs} +6 -6
- package/dist/cli/{sessions-VWENSY3G.mjs → sessions-JRIS3JMT.mjs} +6 -6
- package/dist/cli/sessions-MW3SUF7R.js +23 -0
- package/dist/cli/{settings-W6FCYDJC.mjs → settings-OI3OHCD5.mjs} +12 -12
- package/dist/cli/{settings-JQOMJTOC.js → settings-YIZUG6T3.js} +85 -85
- package/dist/cli/{setup-3JUQWZTS.mjs → setup-4QQ33WUA.mjs} +9 -9
- package/dist/cli/{setup-DJIVQUBT.js → setup-AF3I4UPE.js} +49 -49
- package/dist/cli/skills-ECMGSQM4.js +37 -0
- package/dist/cli/{skills-7JTWCFL3.mjs → skills-EITRSX56.mjs} +7 -7
- package/dist/cli/{tools-DRR3KDV2.mjs → tools-CMOLGIDR.mjs} +17 -17
- package/dist/cli/tools-QTTCIEQM.js +57 -0
- package/dist/cli/update-N3YQGALD.js +37 -0
- package/dist/cli/{update-KL43AZPW.mjs → update-PGEARBAI.mjs} +9 -9
- package/dist/cli/{views-FFTXTJ7U.mjs → views-2H77STII.mjs} +6 -6
- package/dist/cli/{views-HX4GM53H.js → views-KFLXOZ5N.js} +21 -21
- package/dist/cli/{workflow-R2K6CH2X.js → workflow-HCEMVZAZ.js} +17 -17
- package/dist/cli/{workflow-QO7BRZLM.mjs → workflow-XWMAYWVX.mjs} +7 -7
- package/dist/index.js +9 -9
- package/dist/index.mjs +6 -6
- package/dist/install-integrity.json +112 -112
- package/dist/release.d.mts +1 -1
- package/dist/release.d.ts +1 -1
- package/dist/release.js +2 -2
- package/dist/release.mjs +1 -1
- package/dist/server.js +5 -5
- package/dist/server.mjs +3 -3
- package/package.json +1 -1
- package/dist/cli/auth-UC22BJN2.js +0 -44
- package/dist/cli/concurrent-runs-help-NMNGH7QN.js +0 -22
- package/dist/cli/describe-HJ564FPP.js +0 -50
- package/dist/cli/git-LMRN2YR5.js +0 -26
- package/dist/cli/search-ILJXFKNF.js +0 -32
- package/dist/cli/sessions-YMXBFVB3.js +0 -23
- package/dist/cli/skills-T36PD3IA.js +0 -37
- package/dist/cli/tools-X53FZHIC.js +0 -57
- package/dist/cli/update-BISEE3LC.js +0 -37
package/dist/cli/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
usesInlinePlayAdmission
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZJ23RI3B.mjs";
|
|
5
5
|
import {
|
|
6
6
|
feedbackSendRestriction
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YIDXJD5L.mjs";
|
|
8
8
|
import {
|
|
9
9
|
beginToolExecuteCommand,
|
|
10
10
|
compatibilityCatalog,
|
|
@@ -13,17 +13,17 @@ import {
|
|
|
13
13
|
maybeAutoUpdateAndRelaunch,
|
|
14
14
|
runDeferredAutoUpdate,
|
|
15
15
|
runToolExecuteStage
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DYTTZHYX.mjs";
|
|
17
17
|
import {
|
|
18
18
|
isCliTraceEnabled,
|
|
19
19
|
parseCliMaintenancePolicy,
|
|
20
20
|
recordCliTrace,
|
|
21
21
|
resolveCliMaintenancePolicy,
|
|
22
22
|
traceCliSpan
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-DTTMFSNG.mjs";
|
|
24
|
+
import "./chunk-OCLHNDVN.mjs";
|
|
25
|
+
import "./chunk-WXB7PU3O.mjs";
|
|
26
|
+
import "./chunk-HEWVHSNN.mjs";
|
|
27
27
|
import {
|
|
28
28
|
SDK_COMPATIBILITY_FAST_DEADLINE_MS,
|
|
29
29
|
SKILLS_AUTO_SYNC_COMMAND,
|
|
@@ -35,10 +35,10 @@ import {
|
|
|
35
35
|
readFreshCleanCompatibility,
|
|
36
36
|
readTrustedCleanCompatibility,
|
|
37
37
|
syncSdkSkillsIfNeeded
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-MY45K7SA.mjs";
|
|
39
39
|
import {
|
|
40
40
|
createCliProgress
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-CXN574UU.mjs";
|
|
42
42
|
import {
|
|
43
43
|
commandDocKey,
|
|
44
44
|
helpDetailFromArgv,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
sanitizeCommand,
|
|
66
66
|
shouldEmitJson,
|
|
67
67
|
takeSilentJsonFailureMessage
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-4NNNJLAZ.mjs";
|
|
69
69
|
import {
|
|
70
70
|
HttpClient,
|
|
71
71
|
autoDetectBaseUrl,
|
|
@@ -73,19 +73,19 @@ import {
|
|
|
73
73
|
resolveApiKeyForBaseUrl,
|
|
74
74
|
resolveBaseUrlOnly,
|
|
75
75
|
resolveConfig
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-ZOITMXVO.mjs";
|
|
77
77
|
import {
|
|
78
78
|
SDK_VERSION,
|
|
79
79
|
agentSessionIdFromEnvironment,
|
|
80
80
|
connectionFailureMessage
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-TVF7XVPN.mjs";
|
|
82
82
|
import {
|
|
83
83
|
AuthError
|
|
84
84
|
} from "./chunk-ASB47RXJ.mjs";
|
|
85
85
|
import "./chunk-DLIRSHV6.mjs";
|
|
86
86
|
import "./chunk-Z3A2S3QM.mjs";
|
|
87
87
|
import "./chunk-2MGZAI54.mjs";
|
|
88
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-TK6YKQ45.mjs";
|
|
89
89
|
import "./chunk-WZYKRD7T.mjs";
|
|
90
90
|
import "./chunk-5JPKRDFC.mjs";
|
|
91
91
|
import "./chunk-KRD6H754.mjs";
|
|
@@ -166,68 +166,68 @@ import { Command as Command2 } from "commander";
|
|
|
166
166
|
var COMMAND_GROUPS = [
|
|
167
167
|
{
|
|
168
168
|
names: ["auth"],
|
|
169
|
-
load: async () => (await import("./auth-
|
|
169
|
+
load: async () => (await import("./auth-PXZ7JZUT.mjs")).registerAuthCommands
|
|
170
170
|
},
|
|
171
171
|
{
|
|
172
172
|
names: ["providers"],
|
|
173
|
-
load: async () => (await import("./providers-
|
|
173
|
+
load: async () => (await import("./providers-PIS6IQVA.mjs")).registerProviderCommands
|
|
174
174
|
},
|
|
175
175
|
{
|
|
176
176
|
names: ["integrations"],
|
|
177
|
-
load: async () => (await import("./integrations-
|
|
177
|
+
load: async () => (await import("./integrations-UY3T3ZHA.mjs")).registerIntegrationsCommands
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
180
|
names: ["search"],
|
|
181
|
-
load: async () => (await import("./search-
|
|
181
|
+
load: async () => (await import("./search-PTX7IMBB.mjs")).registerSearchCommand
|
|
182
182
|
},
|
|
183
183
|
{
|
|
184
184
|
names: ["describe"],
|
|
185
|
-
load: async () => (await import("./describe-
|
|
185
|
+
load: async () => (await import("./describe-333JCD22.mjs")).registerDescribeCommand
|
|
186
186
|
},
|
|
187
187
|
{
|
|
188
188
|
names: ["run"],
|
|
189
|
-
load: async () => (await import("./run-
|
|
189
|
+
load: async () => (await import("./run-WAN4VZMS.mjs")).registerRunCommand
|
|
190
190
|
},
|
|
191
191
|
{
|
|
192
192
|
names: ["tools"],
|
|
193
|
-
load: async () => (await import("./tools-
|
|
193
|
+
load: async () => (await import("./tools-CMOLGIDR.mjs")).registerToolsCommands
|
|
194
194
|
},
|
|
195
195
|
{
|
|
196
196
|
names: ["executions"],
|
|
197
|
-
load: async () => (await import("./executions-
|
|
197
|
+
load: async () => (await import("./executions-JYYXIRE6.mjs")).registerExecutionsCommands
|
|
198
198
|
},
|
|
199
199
|
{
|
|
200
200
|
names: ["plays", "runs"],
|
|
201
|
-
load: async () => (await import("./play-
|
|
201
|
+
load: async () => (await import("./play-SETNQCBB.mjs")).registerPlayCommands
|
|
202
202
|
},
|
|
203
203
|
{
|
|
204
204
|
names: ["sessions"],
|
|
205
|
-
load: async () => (await import("./sessions-
|
|
205
|
+
load: async () => (await import("./sessions-JRIS3JMT.mjs")).registerSessionsCommands
|
|
206
206
|
},
|
|
207
207
|
{
|
|
208
208
|
names: ["workflows"],
|
|
209
|
-
load: async () => (await import("./workflow-
|
|
209
|
+
load: async () => (await import("./workflow-XWMAYWVX.mjs")).registerWorkflowCommands
|
|
210
210
|
},
|
|
211
211
|
{
|
|
212
212
|
names: ["outcomes"],
|
|
213
|
-
load: async () => (await import("./outcomes-
|
|
213
|
+
load: async () => (await import("./outcomes-5DZ5EZ5Q.mjs")).registerOutcomesCommands
|
|
214
214
|
},
|
|
215
215
|
{
|
|
216
216
|
names: ["views"],
|
|
217
|
-
load: async () => (await import("./views-
|
|
217
|
+
load: async () => (await import("./views-2H77STII.mjs")).registerViewsCommands
|
|
218
218
|
},
|
|
219
219
|
{
|
|
220
220
|
names: ["secrets"],
|
|
221
|
-
load: async () => (await import("./secrets-
|
|
221
|
+
load: async () => (await import("./secrets-ZODIPUMI.mjs")).registerSecretsCommands
|
|
222
222
|
},
|
|
223
223
|
{
|
|
224
224
|
names: ["mcp"],
|
|
225
|
-
load: async () => (await import("./mcp-
|
|
225
|
+
load: async () => (await import("./mcp-WDJV3OCV.mjs")).registerMcpCommands
|
|
226
226
|
},
|
|
227
227
|
{
|
|
228
228
|
names: ["settings", "notifications"],
|
|
229
229
|
load: async () => {
|
|
230
|
-
const commands = await import("./settings-
|
|
230
|
+
const commands = await import("./settings-OI3OHCD5.mjs");
|
|
231
231
|
return (p) => {
|
|
232
232
|
commands.registerSettingsCommands(p);
|
|
233
233
|
commands.registerNotificationCommands(p);
|
|
@@ -236,51 +236,51 @@ var COMMAND_GROUPS = [
|
|
|
236
236
|
},
|
|
237
237
|
{
|
|
238
238
|
names: ["billing"],
|
|
239
|
-
load: async () => (await import("./billing-
|
|
239
|
+
load: async () => (await import("./billing-AMYFMDZL.mjs")).registerBillingCommands
|
|
240
240
|
},
|
|
241
241
|
{
|
|
242
242
|
names: ["monitors"],
|
|
243
|
-
load: async () => (await import("./monitors-
|
|
243
|
+
load: async () => (await import("./monitors-L5FSJSVD.mjs")).registerMonitorsCommands
|
|
244
244
|
},
|
|
245
245
|
{
|
|
246
246
|
names: ["org"],
|
|
247
|
-
load: async () => (await import("./org-
|
|
247
|
+
load: async () => (await import("./org-J5DJCLTU.mjs")).registerOrgCommands
|
|
248
248
|
},
|
|
249
249
|
{
|
|
250
250
|
names: ["git", "projects", "deployments"],
|
|
251
|
-
load: async () => (await import("./git-
|
|
251
|
+
load: async () => (await import("./git-DREIWOYN.mjs")).registerGitCommands
|
|
252
252
|
},
|
|
253
253
|
{
|
|
254
254
|
names: ["csv"],
|
|
255
|
-
load: async () => (await import("./csv-
|
|
255
|
+
load: async () => (await import("./csv-ARPN6J6K.mjs")).registerCsvCommands
|
|
256
256
|
},
|
|
257
257
|
{
|
|
258
258
|
names: ["db"],
|
|
259
|
-
load: async () => (await import("./db-
|
|
259
|
+
load: async () => (await import("./db-2HWSS3MA.mjs")).registerDbCommands
|
|
260
260
|
},
|
|
261
261
|
{
|
|
262
262
|
names: ["feedback"],
|
|
263
|
-
load: async () => (await import("./feedback-
|
|
263
|
+
load: async () => (await import("./feedback-KNGQ4VMG.mjs")).registerFeedbackCommands
|
|
264
264
|
},
|
|
265
265
|
{
|
|
266
266
|
names: ["enrich", "session", "backend"],
|
|
267
|
-
load: async () => (await import("./legacy-noops-
|
|
267
|
+
load: async () => (await import("./legacy-noops-FSL5Y4TO.mjs")).registerDeprecatedCommands
|
|
268
268
|
},
|
|
269
269
|
{
|
|
270
270
|
names: ["update"],
|
|
271
|
-
load: async () => (await import("./update-
|
|
271
|
+
load: async () => (await import("./update-PGEARBAI.mjs")).registerUpdateCommand
|
|
272
272
|
},
|
|
273
273
|
{
|
|
274
274
|
names: ["skills", "skills-auto-sync"],
|
|
275
|
-
load: async () => (await import("./skills-
|
|
275
|
+
load: async () => (await import("./skills-EITRSX56.mjs")).registerSkillsCommand
|
|
276
276
|
},
|
|
277
277
|
{
|
|
278
278
|
names: ["setup", "doctor"],
|
|
279
|
-
load: async () => (await import("./setup-
|
|
279
|
+
load: async () => (await import("./setup-4QQ33WUA.mjs")).registerSetupCommands
|
|
280
280
|
},
|
|
281
281
|
{
|
|
282
282
|
names: ["quickstart"],
|
|
283
|
-
load: async () => (await import("./quickstart-
|
|
283
|
+
load: async () => (await import("./quickstart-5P4NYWZK.mjs")).registerQuickstartCommands
|
|
284
284
|
}
|
|
285
285
|
];
|
|
286
286
|
async function registerDeeplineCommandGroups(program, requestedCommand) {
|
|
@@ -648,7 +648,7 @@ async function runPlayRunnerHealthCheck() {
|
|
|
648
648
|
});
|
|
649
649
|
let exitCode = 1;
|
|
650
650
|
try {
|
|
651
|
-
const { handlePlayRun } = await import("./play-
|
|
651
|
+
const { handlePlayRun } = await import("./play-SETNQCBB.mjs");
|
|
652
652
|
exitCode = await handlePlayRun([
|
|
653
653
|
file,
|
|
654
654
|
"--input",
|
|
@@ -1123,7 +1123,7 @@ Examples:
|
|
|
1123
1123
|
return;
|
|
1124
1124
|
}
|
|
1125
1125
|
try {
|
|
1126
|
-
const { httpJson, readStatusBanner, statusBannerLine } = await import("./auth-
|
|
1126
|
+
const { httpJson, readStatusBanner, statusBannerLine } = await import("./auth-PXZ7JZUT.mjs");
|
|
1127
1127
|
const baseUrl = resolveBaseUrlOnly();
|
|
1128
1128
|
const [{ status, data }, banner] = await Promise.all([
|
|
1129
1129
|
httpJson("GET", `${baseUrl}/api/v2/health`, null),
|
|
@@ -1211,13 +1211,13 @@ Examples:
|
|
|
1211
1211
|
const helpArgs = process.argv.slice(2);
|
|
1212
1212
|
const helpPositionals = helpArgs.filter((arg) => !arg.startsWith("-"));
|
|
1213
1213
|
if (helpPositionals.length === 0 ? helpArgs.includes("--help") || helpArgs.includes("-h") : helpPositionals.length === 1 && helpPositionals[0] === "help") {
|
|
1214
|
-
const { authStatusLine } = await import("./auth-
|
|
1214
|
+
const { authStatusLine } = await import("./auth-PXZ7JZUT.mjs");
|
|
1215
1215
|
rootHelpStatus = `Version: ${SDK_VERSION}
|
|
1216
1216
|
${await authStatusLine()}
|
|
1217
1217
|
`;
|
|
1218
1218
|
}
|
|
1219
1219
|
if ((helpArgs.includes("--help") || helpArgs.includes("-h")) && helpPositionals.length >= 2) {
|
|
1220
|
-
const { CONCURRENT_RUNS_HELP_COMMANDS, concurrentRunsHelpStatus: read } = await import("./concurrent-runs-help-
|
|
1220
|
+
const { CONCURRENT_RUNS_HELP_COMMANDS, concurrentRunsHelpStatus: read } = await import("./concurrent-runs-help-5GPKNDAY.mjs");
|
|
1221
1221
|
if (CONCURRENT_RUNS_HELP_COMMANDS.has(helpPositionals.slice(0, 2).join(" "))) {
|
|
1222
1222
|
await ensureTransport();
|
|
1223
1223
|
concurrentRunsHelpStatus = await read();
|
|
@@ -3,25 +3,25 @@ import {
|
|
|
3
3
|
registerIntegrationBalanceCommand,
|
|
4
4
|
registerIntegrationConnectCommand,
|
|
5
5
|
registerWorkspaceConnectionListCommand
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-56P2BEVI.mjs";
|
|
7
7
|
import {
|
|
8
8
|
DeeplineClient
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UWX4TTJU.mjs";
|
|
10
10
|
import {
|
|
11
11
|
AD_ACCOUNT_DISCOVERY_PROVIDERS,
|
|
12
12
|
planAdAccountDiscovery
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-RK5EKJAT.mjs";
|
|
14
14
|
import "./chunk-FZHMNK6F.mjs";
|
|
15
15
|
import "./chunk-5TYLSS4Q.mjs";
|
|
16
16
|
import "./chunk-PSX3WHIH.mjs";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-4NNNJLAZ.mjs";
|
|
18
|
+
import "./chunk-ZOITMXVO.mjs";
|
|
19
|
+
import "./chunk-TVF7XVPN.mjs";
|
|
20
20
|
import "./chunk-ASB47RXJ.mjs";
|
|
21
21
|
import "./chunk-DLIRSHV6.mjs";
|
|
22
22
|
import "./chunk-Z3A2S3QM.mjs";
|
|
23
23
|
import "./chunk-2MGZAI54.mjs";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-TK6YKQ45.mjs";
|
|
25
25
|
import "./chunk-WZYKRD7T.mjs";
|
|
26
26
|
import "./chunk-KRD6H754.mjs";
|
|
27
27
|
|
|
@@ -3,25 +3,25 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkI2GVGCMMjs = require('./chunk-I2GVGCMM.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk7NSHH3NBjs = require('./chunk-7NSHH3NB.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkIW3N7ARMjs = require('./chunk-IW3N7ARM.js');
|
|
14
14
|
require('./chunk-4WAM6TLD.js');
|
|
15
15
|
require('./chunk-MJTVX4QK.js');
|
|
16
16
|
require('./chunk-PMH4GLMD.js');
|
|
17
|
-
require('./chunk-
|
|
18
|
-
require('./chunk-
|
|
19
|
-
require('./chunk-
|
|
17
|
+
require('./chunk-WSEMXB7X.js');
|
|
18
|
+
require('./chunk-4SV43Z64.js');
|
|
19
|
+
require('./chunk-4JQ6MHE7.js');
|
|
20
20
|
require('./chunk-6VLFQZK6.js');
|
|
21
21
|
require('./chunk-XNYIZMNQ.js');
|
|
22
22
|
require('./chunk-LFQJW4S2.js');
|
|
23
23
|
require('./chunk-CFJFUVX2.js');
|
|
24
|
-
require('./chunk-
|
|
24
|
+
require('./chunk-KR76WIOX.js');
|
|
25
25
|
require('./chunk-OG64RBAC.js');
|
|
26
26
|
require('./chunk-COGTRVWW.js');
|
|
27
27
|
|
|
@@ -29,30 +29,30 @@ require('./chunk-COGTRVWW.js');
|
|
|
29
29
|
var _commander = require('commander');
|
|
30
30
|
function printChangeResult(result, json) {
|
|
31
31
|
const text = "action" in result ? Object.entries(result).map(([key, value]) => `${key}: ${String(value)}`).join("\n") : "url" in result && result.url ? result.url : `Org authorization ${_nullishCoalesce(result.status, () => ( "updated"))}.`;
|
|
32
|
-
|
|
32
|
+
_chunkI2GVGCMMjs.printIntegrationResult.call(void 0, result, json, [text]);
|
|
33
33
|
if ("status" in result && result.status === "validation_failed")
|
|
34
34
|
process.exitCode = 7;
|
|
35
35
|
}
|
|
36
36
|
function registerIntegrationsCommands(program) {
|
|
37
37
|
const integrations = program.command("integrations").description("Connect providers and manage named org authorizations.");
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
_chunkI2GVGCMMjs.registerWorkspaceConnectionListCommand.call(void 0, integrations, "list");
|
|
39
|
+
_chunkI2GVGCMMjs.registerIntegrationBalanceCommand.call(void 0, integrations);
|
|
40
|
+
_chunkI2GVGCMMjs.registerIntegrationConnectCommand.call(void 0, integrations, true);
|
|
41
41
|
integrations.command("discover-ad-accounts").description("Discover and save Google Ads or LinkedIn ad accounts.").addArgument(
|
|
42
42
|
new (0, _commander.Argument)("<provider>", "Connected ads provider").choices([
|
|
43
|
-
...
|
|
43
|
+
..._chunkIW3N7ARMjs.AD_ACCOUNT_DISCOVERY_PROVIDERS
|
|
44
44
|
])
|
|
45
45
|
).option("--dry-run", "Print the request without contacting the provider").option("--json", "Print the discovery result as JSON").action(
|
|
46
46
|
async (provider, options) => {
|
|
47
47
|
if (options.dryRun) {
|
|
48
|
-
const request =
|
|
49
|
-
|
|
48
|
+
const request = _chunkIW3N7ARMjs.planAdAccountDiscovery.call(void 0, provider);
|
|
49
|
+
_chunkI2GVGCMMjs.printIntegrationResult.call(void 0, request, options.json, [
|
|
50
50
|
`Would discover and save accounts in the selected workspace using ${request.method} ${request.path}.`
|
|
51
51
|
]);
|
|
52
52
|
return;
|
|
53
53
|
}
|
|
54
|
-
const result = await new (0,
|
|
55
|
-
|
|
54
|
+
const result = await new (0, _chunk7NSHH3NBjs.DeeplineClient)().integrations.discoverAdAccounts(provider);
|
|
55
|
+
_chunkI2GVGCMMjs.printIntegrationResult.call(void 0, result, options.json, [
|
|
56
56
|
result.accounts.length ? `Ad accounts in the selected workspace (${result.accounts.length})` : "No accessible ad accounts found.",
|
|
57
57
|
...result.accounts.map((account) => {
|
|
58
58
|
const name = "descriptiveName" in account ? account.descriptiveName : account.name;
|
|
@@ -68,8 +68,8 @@ function registerIntegrationsCommands(program) {
|
|
|
68
68
|
}
|
|
69
69
|
);
|
|
70
70
|
integrations.command("get <name>").description("Show a named org authorization, including granted scopes.").option("--provider <provider>", "Disambiguate the provider for this name").option("--json", "Print the authorization record as JSON").action(async (name, options) => {
|
|
71
|
-
const row = await new (0,
|
|
72
|
-
|
|
71
|
+
const row = await new (0, _chunk7NSHH3NBjs.DeeplineClient)().integrations.get(name, options);
|
|
72
|
+
_chunkI2GVGCMMjs.printIntegrationResult.call(void 0, row, options.json, [
|
|
73
73
|
`${row.name} ${row.provider} ${row.status}`,
|
|
74
74
|
row.label,
|
|
75
75
|
...(_nullishCoalesce(row.scopes, () => ( []))).map((scope) => `Scope: ${scope}`)
|
|
@@ -98,7 +98,7 @@ function registerIntegrationsCommands(program) {
|
|
|
98
98
|
if (action === "reconnect")
|
|
99
99
|
command.option("--list-calendars", "Verify calendar listing permission");
|
|
100
100
|
command.action(async (name, options) => {
|
|
101
|
-
const result = await new (0,
|
|
101
|
+
const result = await new (0, _chunk7NSHH3NBjs.DeeplineClient)().integrations[action](
|
|
102
102
|
name,
|
|
103
103
|
options
|
|
104
104
|
);
|
|
@@ -116,7 +116,7 @@ function registerIntegrationsCommands(program) {
|
|
|
116
116
|
"Verify Calendar availability and event booking permissions"
|
|
117
117
|
).option("--list-calendars", "Verify calendar listing permission").action(
|
|
118
118
|
async (domain, options) => {
|
|
119
|
-
const result = await new (0,
|
|
119
|
+
const result = await new (0, _chunk7NSHH3NBjs.DeeplineClient)().integrations.verify(
|
|
120
120
|
domain,
|
|
121
121
|
options
|
|
122
122
|
);
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkXVYU3J2Jjs = require('./chunk-XVYU3J2J.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunk3XX5TEA4js = require('./chunk-3XX5TEA4.js');
|
|
7
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-YMQOTCLU.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
11
|
-
require('./chunk-
|
|
12
|
-
require('./chunk-
|
|
10
|
+
var _chunkWSEMXB7Xjs = require('./chunk-WSEMXB7X.js');
|
|
11
|
+
require('./chunk-4SV43Z64.js');
|
|
12
|
+
require('./chunk-4JQ6MHE7.js');
|
|
13
13
|
require('./chunk-6VLFQZK6.js');
|
|
14
14
|
require('./chunk-XNYIZMNQ.js');
|
|
15
15
|
require('./chunk-LFQJW4S2.js');
|
|
16
16
|
require('./chunk-CFJFUVX2.js');
|
|
17
|
-
require('./chunk-
|
|
17
|
+
require('./chunk-KR76WIOX.js');
|
|
18
18
|
require('./chunk-OG64RBAC.js');
|
|
19
19
|
require('./chunk-COGTRVWW.js');
|
|
20
20
|
|
|
@@ -55,7 +55,7 @@ function deprecatedCommandEnvelope(input) {
|
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
function printDeprecatedCommand(input) {
|
|
58
|
-
|
|
58
|
+
_chunkWSEMXB7Xjs.printCommandEnvelope.call(void 0, deprecatedCommandEnvelope(input), {
|
|
59
59
|
json: input.options.json
|
|
60
60
|
});
|
|
61
61
|
process.exitCode = 2;
|
|
@@ -75,7 +75,7 @@ function registerDeprecatedCommands(program) {
|
|
|
75
75
|
program.command("enrich", { hidden: true }).description("Deprecated CSV enrichment command.").allowUnknownOption(true).allowExcessArguments(true).option("--json", "Emit JSON output").argument("[args...]").addHelpText("after", `
|
|
76
76
|
${_chunk3XX5TEA4js.ENRICH_COMMAND_DEPRECATION_MESSAGE}
|
|
77
77
|
`).action((_args, options) => {
|
|
78
|
-
|
|
78
|
+
_chunkWSEMXB7Xjs.printCommandEnvelope.call(void 0,
|
|
79
79
|
{
|
|
80
80
|
ok: false,
|
|
81
81
|
command: "deepline enrich",
|
|
@@ -118,7 +118,7 @@ Examples:
|
|
|
118
118
|
options
|
|
119
119
|
});
|
|
120
120
|
});
|
|
121
|
-
|
|
121
|
+
_chunkXVYU3J2Jjs.registerSessionSendRenderCommands.call(void 0, session, "session");
|
|
122
122
|
for (const subcommand of SESSION_SUBCOMMANDS) {
|
|
123
123
|
addDeprecatedSubcommand(
|
|
124
124
|
session,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerSessionSendRenderCommands
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JVSHMUGE.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ENRICH_COMMAND_DEPRECATION_MESSAGE
|
|
6
6
|
} from "./chunk-ITOFSXIU.mjs";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-YIDXJD5L.mjs";
|
|
8
8
|
import {
|
|
9
9
|
printCommandEnvelope
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-4NNNJLAZ.mjs";
|
|
11
|
+
import "./chunk-ZOITMXVO.mjs";
|
|
12
|
+
import "./chunk-TVF7XVPN.mjs";
|
|
13
13
|
import "./chunk-ASB47RXJ.mjs";
|
|
14
14
|
import "./chunk-DLIRSHV6.mjs";
|
|
15
15
|
import "./chunk-Z3A2S3QM.mjs";
|
|
16
16
|
import "./chunk-2MGZAI54.mjs";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-TK6YKQ45.mjs";
|
|
18
18
|
import "./chunk-WZYKRD7T.mjs";
|
|
19
19
|
import "./chunk-KRD6H754.mjs";
|
|
20
20
|
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkWSEMXB7Xjs = require('./chunk-WSEMXB7X.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
require('./chunk-
|
|
8
|
+
var _chunk4SV43Z64js = require('./chunk-4SV43Z64.js');
|
|
9
|
+
require('./chunk-4JQ6MHE7.js');
|
|
10
10
|
require('./chunk-6VLFQZK6.js');
|
|
11
11
|
require('./chunk-XNYIZMNQ.js');
|
|
12
12
|
require('./chunk-LFQJW4S2.js');
|
|
13
13
|
require('./chunk-CFJFUVX2.js');
|
|
14
|
-
require('./chunk-
|
|
14
|
+
require('./chunk-KR76WIOX.js');
|
|
15
15
|
require('./chunk-OG64RBAC.js');
|
|
16
16
|
require('./chunk-COGTRVWW.js');
|
|
17
17
|
|
|
@@ -114,7 +114,7 @@ async function handleConnect(name, url, forbidden, options) {
|
|
|
114
114
|
throw new Error("OAuth connections do not take headers.");
|
|
115
115
|
}
|
|
116
116
|
const scope = _nullishCoalesce(parseScope(options.scope), () => ( "user"));
|
|
117
|
-
const { http } =
|
|
117
|
+
const { http } = _chunkWSEMXB7Xjs.getAuthedHttpClient.call(void 0, );
|
|
118
118
|
const response = await http.post("/api/v2/mcp-connections", {
|
|
119
119
|
name,
|
|
120
120
|
url,
|
|
@@ -137,7 +137,7 @@ async function handleConnect(name, url, forbidden, options) {
|
|
|
137
137
|
return;
|
|
138
138
|
}
|
|
139
139
|
const scopeFlag = scopeFlagFor(connection.scope, overrides.length > 0);
|
|
140
|
-
|
|
140
|
+
_chunkWSEMXB7Xjs.printCommandEnvelope.call(void 0,
|
|
141
141
|
{
|
|
142
142
|
connection,
|
|
143
143
|
overrides,
|
|
@@ -165,8 +165,8 @@ function scopeFlagFor(scope, collides) {
|
|
|
165
165
|
return collides ? ` --scope ${scope}` : "";
|
|
166
166
|
}
|
|
167
167
|
function printAuthorization(slug, authorizationUrl, connection, options, notes = []) {
|
|
168
|
-
const opened = options.open !== false && !options.json ?
|
|
169
|
-
|
|
168
|
+
const opened = options.open !== false && !options.json ? _chunkWSEMXB7Xjs.openInBrowser.call(void 0, authorizationUrl) === "opened" : false;
|
|
169
|
+
_chunkWSEMXB7Xjs.printCommandEnvelope.call(void 0,
|
|
170
170
|
{
|
|
171
171
|
...connection ? { connection } : {},
|
|
172
172
|
authorization_url: authorizationUrl,
|
|
@@ -190,7 +190,7 @@ function printAuthorization(slug, authorizationUrl, connection, options, notes =
|
|
|
190
190
|
);
|
|
191
191
|
}
|
|
192
192
|
async function handleReauth(slug, options) {
|
|
193
|
-
const { http } =
|
|
193
|
+
const { http } = _chunkWSEMXB7Xjs.getAuthedHttpClient.call(void 0, );
|
|
194
194
|
const { authorization_url } = await http.post(
|
|
195
195
|
base(slug, options, "/oauth"),
|
|
196
196
|
{}
|
|
@@ -198,11 +198,11 @@ async function handleReauth(slug, options) {
|
|
|
198
198
|
printAuthorization(slug, authorization_url, void 0, options);
|
|
199
199
|
}
|
|
200
200
|
async function handleList(options) {
|
|
201
|
-
const { http } =
|
|
201
|
+
const { http } = _chunkWSEMXB7Xjs.getAuthedHttpClient.call(void 0, );
|
|
202
202
|
const { connections } = await http.get(
|
|
203
203
|
"/api/v2/mcp-connections"
|
|
204
204
|
);
|
|
205
|
-
|
|
205
|
+
_chunkWSEMXB7Xjs.printCommandEnvelope.call(void 0,
|
|
206
206
|
{
|
|
207
207
|
connections,
|
|
208
208
|
count: connections.length,
|
|
@@ -221,11 +221,11 @@ async function handleList(options) {
|
|
|
221
221
|
);
|
|
222
222
|
}
|
|
223
223
|
async function handleServers(options) {
|
|
224
|
-
const { http } =
|
|
224
|
+
const { http } = _chunkWSEMXB7Xjs.getAuthedHttpClient.call(void 0, );
|
|
225
225
|
const { servers } = await http.get(
|
|
226
226
|
"/api/v2/mcp-connections/servers"
|
|
227
227
|
);
|
|
228
|
-
|
|
228
|
+
_chunkWSEMXB7Xjs.printCommandEnvelope.call(void 0,
|
|
229
229
|
{
|
|
230
230
|
servers,
|
|
231
231
|
render: {
|
|
@@ -243,7 +243,7 @@ async function handleServers(options) {
|
|
|
243
243
|
);
|
|
244
244
|
}
|
|
245
245
|
async function handleTools(slug, options) {
|
|
246
|
-
const { http } =
|
|
246
|
+
const { http } = _chunkWSEMXB7Xjs.getAuthedHttpClient.call(void 0, );
|
|
247
247
|
const query = new URLSearchParams();
|
|
248
248
|
if (options.cursor) query.set("cursor", options.cursor);
|
|
249
249
|
if (options.limit) query.set("limit", options.limit);
|
|
@@ -251,7 +251,7 @@ async function handleTools(slug, options) {
|
|
|
251
251
|
if (scope) query.set("scope", scope);
|
|
252
252
|
const suffix = query.size > 0 ? `?${query.toString()}` : "";
|
|
253
253
|
const page = await http.get(`/api/v2/mcp-connections/${encodeURIComponent(slug)}/tools${suffix}`);
|
|
254
|
-
|
|
254
|
+
_chunkWSEMXB7Xjs.printCommandEnvelope.call(void 0,
|
|
255
255
|
{
|
|
256
256
|
connection: page.connection,
|
|
257
257
|
tools: page.tools,
|
|
@@ -275,7 +275,7 @@ async function handleTools(slug, options) {
|
|
|
275
275
|
}
|
|
276
276
|
async function handleSetEnabled(slug, tools, enabled, options) {
|
|
277
277
|
if (tools.length === 0) throw new Error("Name at least one tool.");
|
|
278
|
-
const { http } =
|
|
278
|
+
const { http } = _chunkWSEMXB7Xjs.getAuthedHttpClient.call(void 0, );
|
|
279
279
|
const result = await http.patch(
|
|
280
280
|
base(slug, options, "/tools"),
|
|
281
281
|
{
|
|
@@ -283,7 +283,7 @@ async function handleSetEnabled(slug, tools, enabled, options) {
|
|
|
283
283
|
enabled
|
|
284
284
|
}
|
|
285
285
|
);
|
|
286
|
-
|
|
286
|
+
_chunkWSEMXB7Xjs.printCommandEnvelope.call(void 0,
|
|
287
287
|
{
|
|
288
288
|
updated: result.updated,
|
|
289
289
|
enabled,
|
|
@@ -300,9 +300,9 @@ async function handleSetEnabled(slug, tools, enabled, options) {
|
|
|
300
300
|
);
|
|
301
301
|
}
|
|
302
302
|
async function handleRefresh(slug, options) {
|
|
303
|
-
const { http } =
|
|
303
|
+
const { http } = _chunkWSEMXB7Xjs.getAuthedHttpClient.call(void 0, );
|
|
304
304
|
const result = await http.post(base(slug, options, "/refresh"), {});
|
|
305
|
-
|
|
305
|
+
_chunkWSEMXB7Xjs.printCommandEnvelope.call(void 0,
|
|
306
306
|
{
|
|
307
307
|
...result,
|
|
308
308
|
render: {
|
|
@@ -332,12 +332,12 @@ async function handleSetHeaders(slug, forbidden, options) {
|
|
|
332
332
|
"Pass headers with --header-env Name=ENV_VAR or --headers-stdin."
|
|
333
333
|
);
|
|
334
334
|
}
|
|
335
|
-
const { http } =
|
|
335
|
+
const { http } = _chunkWSEMXB7Xjs.getAuthedHttpClient.call(void 0, );
|
|
336
336
|
const { connection } = await http.put(
|
|
337
337
|
base(slug, options, "/headers"),
|
|
338
338
|
{ headers }
|
|
339
339
|
);
|
|
340
|
-
|
|
340
|
+
_chunkWSEMXB7Xjs.printCommandEnvelope.call(void 0,
|
|
341
341
|
{
|
|
342
342
|
connection,
|
|
343
343
|
render: {
|
|
@@ -350,12 +350,12 @@ async function handleSetHeaders(slug, forbidden, options) {
|
|
|
350
350
|
);
|
|
351
351
|
}
|
|
352
352
|
async function handleRemove(slug, options) {
|
|
353
|
-
const { http } =
|
|
353
|
+
const { http } = _chunkWSEMXB7Xjs.getAuthedHttpClient.call(void 0, );
|
|
354
354
|
const result = await http.delete(
|
|
355
355
|
base(slug, options)
|
|
356
356
|
);
|
|
357
357
|
const removed = _optionalChain([result, 'optionalAccess', _ => _.scope]) ? `Removed the ${SCOPE_LABELS[result.scope]} connection ${slug}.` : `Removed ${slug}.`;
|
|
358
|
-
|
|
358
|
+
_chunkWSEMXB7Xjs.printCommandEnvelope.call(void 0,
|
|
359
359
|
{
|
|
360
360
|
deleted: slug,
|
|
361
361
|
..._optionalChain([result, 'optionalAccess', _2 => _2.scope]) ? { scope: result.scope } : {},
|
|
@@ -368,7 +368,7 @@ async function handleRemove(slug, options) {
|
|
|
368
368
|
}
|
|
369
369
|
var MCP_CONNECTIONS_FEATURE = "mcp-connections";
|
|
370
370
|
function registerMcpCommands(program) {
|
|
371
|
-
const mcp = program.command("mcp", { hidden: !
|
|
371
|
+
const mcp = program.command("mcp", { hidden: !_chunk4SV43Z64js.cliFeatureEnabled.call(void 0, MCP_CONNECTIONS_FEATURE) }).description(
|
|
372
372
|
"Connect remote MCP servers for yourself, your workspace or your org, and call their tools."
|
|
373
373
|
).addHelpText(
|
|
374
374
|
"after",
|