vercel 58.5.1 → 58.7.0
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/chunks/{add-HTKUQ3KF.js → add-I7X6NXYD.js} +4 -4
- package/dist/chunks/{add-2KSAN7EK.js → add-KMRFKOPJ.js} +11 -11
- package/dist/chunks/{add-Y3ACMZQ3.js → add-USFLACJX.js} +4 -4
- package/dist/chunks/{build-SOTUMEPT.js → build-GNX3QE6Q.js} +4 -4
- package/dist/chunks/{chunk-WR7JTCGL.js → chunk-3BU2UCGV.js} +1 -1
- package/dist/chunks/{chunk-PGH6RJJF.js → chunk-4XKF7JOF.js} +92 -1377
- package/dist/chunks/{chunk-4ZZI2JPE.js → chunk-5SZ6VX2H.js} +2 -2
- package/dist/chunks/{chunk-TQE7DRGH.js → chunk-62SBYAED.js} +4 -4
- package/dist/chunks/{chunk-LTEFJ3VD.js → chunk-74XVGG52.js} +2 -2
- package/dist/chunks/{chunk-MEOBIY2L.js → chunk-7KUQ7BHI.js} +2 -2
- package/dist/chunks/{chunk-QS5I33VI.js → chunk-7SXWLTXT.js} +2 -2
- package/dist/chunks/{chunk-4PZ2IIZI.js → chunk-BIGFTNW6.js} +1 -1
- package/dist/chunks/{chunk-FQ4R66UG.js → chunk-CDYBV7YA.js} +1 -1
- package/dist/chunks/{chunk-I5F5AE2Q.js → chunk-D6SC2UJH.js} +1 -1
- package/dist/chunks/{chunk-NXLNRLL7.js → chunk-DHTB5D3E.js} +5 -5
- package/dist/chunks/{chunk-ZYCVYZSR.js → chunk-H3KETQAA.js} +1 -1
- package/dist/chunks/chunk-LC5BYUUP.js +1337 -0
- package/dist/chunks/{chunk-GKLT2ZGC.js → chunk-MNZUPMZZ.js} +2 -2
- package/dist/chunks/{chunk-CVZWB2MA.js → chunk-NI4DNP3D.js} +1 -1
- package/dist/chunks/{chunk-IRX26ZL5.js → chunk-NOMQUVGM.js} +2 -2
- package/dist/chunks/{chunk-Z3VYQ7JP.js → chunk-NYKWLQQM.js} +7 -7
- package/dist/chunks/{chunk-LXRK7KPA.js → chunk-NZ6GDMPB.js} +43 -25
- package/dist/chunks/{chunk-ZHDQMUK4.js → chunk-TE5MIANG.js} +2 -2
- package/dist/chunks/{chunk-OQ6UFVGM.js → chunk-TNTJXJSE.js} +1 -1
- package/dist/chunks/{chunk-IKIPDMQT.js → chunk-UAVZOOOL.js} +6 -6
- package/dist/chunks/{chunk-GE5R7SYE.js → chunk-UME4MVFU.js} +1 -1
- package/dist/chunks/{chunk-YFQSZI5Q.js → chunk-YR6M7ZIU.js} +1 -1
- package/dist/chunks/{chunk-7RTO3VPE.js → chunk-ZZZEJXHD.js} +92 -9
- package/dist/chunks/{clear-GLMDDDUR.js → clear-ERVHWAHX.js} +4 -4
- package/dist/chunks/{compile-vercel-config-7JTL7U5E.js → compile-vercel-config-PM5ID4CV.js} +2 -2
- package/dist/chunks/{delete-HE6FCDYS.js → delete-GMVIUCQV.js} +3 -3
- package/dist/chunks/{delete-M3DCAYTX.js → delete-XB24AZGV.js} +4 -4
- package/dist/chunks/{disable-LHOHFHGU.js → disable-JJZZQ4IZ.js} +3 -3
- package/dist/chunks/{discard-D2SI77HA.js → discard-CGAS2MSK.js} +3 -3
- package/dist/chunks/{edit-XCJDQOZR.js → edit-RKUUUBQF.js} +4 -4
- package/dist/chunks/{edit-PSUYL34C.js → edit-TFZDCJTL.js} +5 -5
- package/dist/chunks/{enable-QXXBU3QH.js → enable-UXRVQO6C.js} +3 -3
- package/dist/chunks/{export-CRCAJ72L.js → export-WQE3UU4V.js} +3 -3
- package/dist/chunks/{image-4YES44D3.js → image-HV7N6RTK.js} +3 -3
- package/dist/chunks/import-builders-IEVZ7KYP.js +28 -0
- package/dist/chunks/{inspect-GYUTUSOP.js → inspect-4BXZOMC2.js} +4 -4
- package/dist/chunks/{inspect-JIGB2JK7.js → inspect-DT2PX6LB.js} +4 -4
- package/dist/chunks/{inspect-WUT7EW6R.js → inspect-E3YSH5BV.js} +4 -4
- package/dist/chunks/{inspect-FEW47KAZ.js → inspect-NADJYMSZ.js} +4 -4
- package/dist/chunks/{inspect-CFJWOYWD.js → inspect-VDQEM3E6.js} +5 -5
- package/dist/chunks/{list-ZQOF2B2L.js → list-5PLKF2GL.js} +3 -3
- package/dist/chunks/{list-4N6HI5LH.js → list-ARM4RM22.js} +6 -6
- package/dist/chunks/{list-W4ZLROFI.js → list-RVE2NAC5.js} +5 -5
- package/dist/chunks/{login-FWYKZ642.js → login-VHGNOKBB.js} +4 -4
- package/dist/chunks/{ls-V7E37ERN.js → ls-4QRIPSBC.js} +10 -10
- package/dist/chunks/{ls-DD7RQ7KH.js → ls-IVVP4H24.js} +4 -4
- package/dist/chunks/{ls-7YYHSZIR.js → ls-OTCUUI4L.js} +4 -4
- package/dist/chunks/{ls-VOD4NK6A.js → ls-QBKFZC52.js} +4 -4
- package/dist/chunks/{ls-AV2WYGNW.js → ls-YME2AL47.js} +4 -4
- package/dist/chunks/{open-YEJQVMYZ.js → open-KYVW2GTM.js} +4 -4
- package/dist/chunks/{permissions-OJCRKNGQ.js → permissions-BLHKOJDO.js} +4 -4
- package/dist/chunks/{publish-XDKQYIKH.js → publish-4BKTL25X.js} +3 -3
- package/dist/chunks/{push-Z2EQUVOV.js → push-IJFWOWD7.js} +4 -4
- package/dist/chunks/{query-KEICHLVN.js → query-VIV66DLZ.js} +3 -3
- package/dist/chunks/{reorder-Z6YCND2X.js → reorder-C44IJZNE.js} +3 -3
- package/dist/chunks/{reply-CIWFPTEK.js → reply-M6WBMKBN.js} +5 -5
- package/dist/chunks/{resolve-BYDSKVYN.js → resolve-44ICWDRT.js} +4 -4
- package/dist/chunks/{restore-2KP5DLEC.js → restore-ACDVNSTC.js} +3 -3
- package/dist/chunks/{rm-FRKS6Y2G.js → rm-K2FDC5CL.js} +5 -5
- package/dist/chunks/{rm-RJOWQHQV.js → rm-P2ILGP4I.js} +4 -4
- package/dist/chunks/{rm-TNCPDKEX.js → rm-Q7VXI345.js} +4 -4
- package/dist/chunks/{rm-5Z75EGOZ.js → rm-RO3R3MZT.js} +4 -4
- package/dist/chunks/{rule-inspect-NOSNKD63.js → rule-inspect-JGKJXOUD.js} +10 -10
- package/dist/chunks/{rules-THS42KX4.js → rules-BRTF5HJP.js} +7 -7
- package/dist/chunks/{schema-R54OXIXC.js → schema-T7RNRNKT.js} +2 -2
- package/dist/chunks/{schema-MDLX6ZDL.js → schema-Z3L5ZOEE.js} +2 -2
- package/dist/chunks/{tags-NDPHPWME.js → tags-BPHVFK53.js} +2 -2
- package/dist/chunks/{update-YAN3MGMW.js → update-5KQU4HCK.js} +8 -8
- package/dist/commands/build/index.js +13 -11
- package/dist/commands/deploy/index.js +12 -12
- package/dist/commands/dev/index.js +15 -16
- package/dist/commands/env/index.js +86 -147
- package/dist/commands/link/index.js +7 -7
- package/dist/commands/list/index.js +5 -5
- package/dist/commands-bulk.js +2864 -2122
- package/dist/index.js +8 -8
- package/dist/vc.js +11 -14
- package/dist/version.mjs +1 -1
- package/package.json +11 -5
- package/dist/chunks/{chunk-BUZRVER7.js → chunk-P65EEFTR.js} +3 -3
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
PromptBackError,
|
|
12
12
|
PromptCanceledError,
|
|
13
13
|
getLocalPathConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-UME4MVFU.js";
|
|
15
15
|
import {
|
|
16
16
|
DEFAULT_VERCEL_CONFIG_FILENAME,
|
|
17
17
|
VERCEL_CONFIG_EXTENSIONS,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
useKeypress,
|
|
39
39
|
usePrefix,
|
|
40
40
|
useState
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-NZ6GDMPB.js";
|
|
42
42
|
import {
|
|
43
43
|
require_load_json_file
|
|
44
44
|
} from "./chunk-ECCWJHC6.js";
|
|
@@ -6,12 +6,12 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveAlertsScope
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7SXWLTXT.js";
|
|
10
10
|
import {
|
|
11
11
|
handleValidationError,
|
|
12
12
|
outputError,
|
|
13
13
|
validateAllProjectMutualExclusivity
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-P65EEFTR.js";
|
|
15
15
|
import {
|
|
16
16
|
AGENT_REASON,
|
|
17
17
|
buildCommandWithGlobalFlags,
|
|
@@ -7,14 +7,14 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getUpdateCommandInfo,
|
|
9
9
|
isGlobal
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-H3KETQAA.js";
|
|
11
11
|
import {
|
|
12
12
|
progress
|
|
13
13
|
} from "./chunk-I2XE3GMB.js";
|
|
14
14
|
import {
|
|
15
15
|
getGlobalPathConfig,
|
|
16
16
|
writeToConfigFile
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-MNZUPMZZ.js";
|
|
18
18
|
import {
|
|
19
19
|
validateJsonOutput
|
|
20
20
|
} from "./chunk-XPKWKPWA.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
apiCommand,
|
|
23
23
|
listSubcommand4 as listSubcommand,
|
|
24
24
|
loginCommand
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ZZZEJXHD.js";
|
|
26
26
|
import {
|
|
27
27
|
require_semver
|
|
28
28
|
} from "./chunk-IB5L4LKZ.js";
|
|
@@ -31,11 +31,14 @@ import {
|
|
|
31
31
|
} from "./chunk-ZX2FSPWV.js";
|
|
32
32
|
import {
|
|
33
33
|
login
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-NZ6GDMPB.js";
|
|
35
35
|
import {
|
|
36
36
|
TelemetryClient,
|
|
37
37
|
isNativeBinaryInstall
|
|
38
38
|
} from "./chunk-ECCWJHC6.js";
|
|
39
|
+
import {
|
|
40
|
+
require_ms
|
|
41
|
+
} from "./chunk-GGP5R3FU.js";
|
|
39
42
|
import {
|
|
40
43
|
printError,
|
|
41
44
|
require_strip_ansi
|
|
@@ -53,9 +56,6 @@ import {
|
|
|
53
56
|
import {
|
|
54
57
|
output_manager_default
|
|
55
58
|
} from "./chunk-OX7KI3LF.js";
|
|
56
|
-
import {
|
|
57
|
-
require_ms
|
|
58
|
-
} from "./chunk-GGP5R3FU.js";
|
|
59
59
|
import {
|
|
60
60
|
require_source
|
|
61
61
|
} from "./chunk-S7KYDPEM.js";
|
|
@@ -20,6 +20,9 @@ import {
|
|
|
20
20
|
outputAgentError,
|
|
21
21
|
shouldEmitNonInteractiveCommandError
|
|
22
22
|
} from "./chunk-TJJ562C5.js";
|
|
23
|
+
import {
|
|
24
|
+
require_ms
|
|
25
|
+
} from "./chunk-GGP5R3FU.js";
|
|
23
26
|
import {
|
|
24
27
|
printError,
|
|
25
28
|
require_string_width,
|
|
@@ -77,9 +80,6 @@ import {
|
|
|
77
80
|
require_dist,
|
|
78
81
|
require_escape_string_regexp
|
|
79
82
|
} from "./chunk-OX7KI3LF.js";
|
|
80
|
-
import {
|
|
81
|
-
require_ms
|
|
82
|
-
} from "./chunk-GGP5R3FU.js";
|
|
83
83
|
import {
|
|
84
84
|
require_ansi_styles,
|
|
85
85
|
require_source,
|
|
@@ -38181,7 +38181,7 @@ var require_package = __commonJS({
|
|
|
38181
38181
|
build: "node ../../utils/build.mjs",
|
|
38182
38182
|
test: "vitest run --config ../../vitest.config.mts",
|
|
38183
38183
|
"vitest-run": "vitest -c ./vitest.config.mts",
|
|
38184
|
-
"vitest-unit": "
|
|
38184
|
+
"vitest-unit": "pnpm vitest-run --run tests/unit.",
|
|
38185
38185
|
"vitest-e2e": "glob --absolute 'tests/integration-*.test.ts'",
|
|
38186
38186
|
"type-check": "tsc --noEmit"
|
|
38187
38187
|
},
|
|
@@ -57096,14 +57096,18 @@ var addSubcommand = {
|
|
|
57096
57096
|
{
|
|
57097
57097
|
name: "environment",
|
|
57098
57098
|
required: false
|
|
57099
|
-
},
|
|
57100
|
-
{
|
|
57101
|
-
name: "git-branch",
|
|
57102
|
-
required: false
|
|
57103
57099
|
}
|
|
57104
57100
|
],
|
|
57105
57101
|
options: [
|
|
57106
57102
|
projectOption,
|
|
57103
|
+
{
|
|
57104
|
+
name: "git-branch",
|
|
57105
|
+
description: "Set the Git branch for a Preview Environment Variable",
|
|
57106
|
+
shorthand: null,
|
|
57107
|
+
type: String,
|
|
57108
|
+
argument: "NAME",
|
|
57109
|
+
deprecated: false
|
|
57110
|
+
},
|
|
57107
57111
|
{
|
|
57108
57112
|
name: "sensitive",
|
|
57109
57113
|
description: "Store the value as sensitive for Production or Preview",
|
|
@@ -57133,7 +57137,7 @@ var addSubcommand = {
|
|
|
57133
57137
|
},
|
|
57134
57138
|
{
|
|
57135
57139
|
...yesOption,
|
|
57136
|
-
description: "
|
|
57140
|
+
description: "Accept default choices when adding an Environment Variable"
|
|
57137
57141
|
},
|
|
57138
57142
|
{
|
|
57139
57143
|
name: "guidance",
|
|
@@ -57184,8 +57188,8 @@ var addSubcommand = {
|
|
|
57184
57188
|
{
|
|
57185
57189
|
name: "Add a new Environment Variable for a specific Environment and Git Branch",
|
|
57186
57190
|
value: [
|
|
57187
|
-
`${packageName} env add <name> ${targetPlaceholder} <
|
|
57188
|
-
`${packageName} env add DB_PASS preview feat1`
|
|
57191
|
+
`${packageName} env add <name> ${targetPlaceholder} --git-branch <name>`,
|
|
57192
|
+
`${packageName} env add DB_PASS preview --git-branch feat1`
|
|
57189
57193
|
]
|
|
57190
57194
|
},
|
|
57191
57195
|
{
|
|
@@ -58807,28 +58811,42 @@ import {
|
|
|
58807
58811
|
function createDetectEntrypoint(projectRoot) {
|
|
58808
58812
|
return async ({ workPath, framework }) => {
|
|
58809
58813
|
const absWorkPath = normalizePath2(join6(projectRoot, workPath));
|
|
58814
|
+
let builderName;
|
|
58810
58815
|
if (isPythonFramework(framework)) {
|
|
58811
|
-
|
|
58812
|
-
|
|
58813
|
-
|
|
58814
|
-
|
|
58815
|
-
|
|
58816
|
+
builderName = "@vercel/python";
|
|
58817
|
+
} else if (isNodeBackendFramework(framework)) {
|
|
58818
|
+
builderName = "@vercel/backends";
|
|
58819
|
+
} else if (framework === "go") {
|
|
58820
|
+
builderName = "@vercel/go";
|
|
58821
|
+
} else {
|
|
58822
|
+
return null;
|
|
58816
58823
|
}
|
|
58817
|
-
|
|
58818
|
-
|
|
58819
|
-
|
|
58820
|
-
|
|
58821
|
-
|
|
58824
|
+
const detectEntrypoint = await loadBuilderDetectEntrypoint(
|
|
58825
|
+
builderName,
|
|
58826
|
+
projectRoot
|
|
58827
|
+
);
|
|
58828
|
+
if (!detectEntrypoint) {
|
|
58829
|
+
return null;
|
|
58822
58830
|
}
|
|
58823
|
-
if (
|
|
58824
|
-
const { detectEntrypoint } = await import("@vercel/go");
|
|
58831
|
+
if (builderName === "@vercel/python") {
|
|
58825
58832
|
return detectEntrypoint({
|
|
58826
|
-
workPath: absWorkPath
|
|
58833
|
+
workPath: absWorkPath,
|
|
58834
|
+
framework
|
|
58827
58835
|
});
|
|
58828
58836
|
}
|
|
58829
|
-
return
|
|
58837
|
+
return detectEntrypoint({ workPath: absWorkPath });
|
|
58830
58838
|
};
|
|
58831
58839
|
}
|
|
58840
|
+
async function loadBuilderDetectEntrypoint(name, projectRoot) {
|
|
58841
|
+
const { importBuilders } = await import("./import-builders-IEVZ7KYP.js");
|
|
58842
|
+
const builders = await importBuilders(/* @__PURE__ */ new Set([name]), projectRoot);
|
|
58843
|
+
const loaded = builders.get(name);
|
|
58844
|
+
if (!loaded) {
|
|
58845
|
+
return void 0;
|
|
58846
|
+
}
|
|
58847
|
+
const detect = loaded.builder.detectEntrypoint;
|
|
58848
|
+
return typeof detect === "function" ? detect : void 0;
|
|
58849
|
+
}
|
|
58832
58850
|
|
|
58833
58851
|
// src/util/projects/detect-services.ts
|
|
58834
58852
|
async function isExperimentalServicesEnabled(cwd) {
|
|
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
isJSONObject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MNZUPMZZ.js";
|
|
10
10
|
import {
|
|
11
11
|
getProjectByNameOrId
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NZ6GDMPB.js";
|
|
13
13
|
import {
|
|
14
14
|
AGENT_REASON,
|
|
15
15
|
outputAgentError
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
printIndications,
|
|
16
16
|
require_dist as require_dist2,
|
|
17
17
|
sleep
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-MNZUPMZZ.js";
|
|
19
19
|
import {
|
|
20
20
|
suggestNextCommands
|
|
21
21
|
} from "./chunk-XBN2O34P.js";
|
|
22
22
|
import {
|
|
23
23
|
CommandTimeout
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-ZZZEJXHD.js";
|
|
25
25
|
import {
|
|
26
26
|
showPluginTipIfNeeded
|
|
27
27
|
} from "./chunk-HT2XWSAJ.js";
|
|
@@ -38,7 +38,10 @@ import {
|
|
|
38
38
|
require_dist as require_dist3,
|
|
39
39
|
require_pluralize,
|
|
40
40
|
ua_default
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-NZ6GDMPB.js";
|
|
42
|
+
import {
|
|
43
|
+
require_ms
|
|
44
|
+
} from "./chunk-GGP5R3FU.js";
|
|
42
45
|
import {
|
|
43
46
|
require_strip_ansi,
|
|
44
47
|
responseError
|
|
@@ -76,9 +79,6 @@ import {
|
|
|
76
79
|
require_ansi_escapes,
|
|
77
80
|
require_dist
|
|
78
81
|
} from "./chunk-OX7KI3LF.js";
|
|
79
|
-
import {
|
|
80
|
-
require_ms
|
|
81
|
-
} from "./chunk-GGP5R3FU.js";
|
|
82
82
|
import {
|
|
83
83
|
require_source
|
|
84
84
|
} from "./chunk-S7KYDPEM.js";
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
import {
|
|
32
32
|
buildCommand,
|
|
33
33
|
pullCommand
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-CDYBV7YA.js";
|
|
35
35
|
import {
|
|
36
36
|
envCommand
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-NZ6GDMPB.js";
|
|
38
38
|
import {
|
|
39
39
|
confirmOption,
|
|
40
40
|
deploymentOption,
|
|
@@ -747,6 +747,13 @@ var createSubcommand = {
|
|
|
747
747
|
argument: "PERIOD",
|
|
748
748
|
deprecated: false,
|
|
749
749
|
description: "Expiry for the key: 7d, 30d, 60d, 90d, 1y, or none (default: none)"
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
name: "zdr-exempt",
|
|
753
|
+
shorthand: null,
|
|
754
|
+
type: Boolean,
|
|
755
|
+
deprecated: false,
|
|
756
|
+
description: "Exempt the key from the team's ZDR-only model restriction (team owners only)"
|
|
750
757
|
}
|
|
751
758
|
],
|
|
752
759
|
examples: [
|
|
@@ -761,6 +768,10 @@ var createSubcommand = {
|
|
|
761
768
|
{
|
|
762
769
|
name: "Create a key that expires and alerts on spend",
|
|
763
770
|
value: `${packageName} ai-gateway api-keys create --budget 500 --alert-thresholds 75,100 --expiration 90d`
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
name: "Create a ZDR-exempt key (team owners only)",
|
|
774
|
+
value: `${packageName} ai-gateway api-keys create --name escape-hatch --zdr-exempt --expiration 7d`
|
|
764
775
|
}
|
|
765
776
|
]
|
|
766
777
|
};
|
|
@@ -2277,10 +2288,10 @@ var certsCommand = {
|
|
|
2277
2288
|
var createSubcommand2 = {
|
|
2278
2289
|
name: "create",
|
|
2279
2290
|
aliases: [],
|
|
2280
|
-
description: "Create a new connector",
|
|
2291
|
+
description: "Create a new connector\n\nAccepts a known service (slack, notion, okta) or the URL of an OAuth or MCP server (mcp.notion.com/mcp). Run `create <service> --help` to see how a specific service can be connected to.",
|
|
2281
2292
|
arguments: [
|
|
2282
2293
|
{
|
|
2283
|
-
name: "
|
|
2294
|
+
name: "service",
|
|
2284
2295
|
required: true
|
|
2285
2296
|
}
|
|
2286
2297
|
],
|
|
@@ -2308,6 +2319,34 @@ var createSubcommand2 = {
|
|
|
2308
2319
|
deprecated: false,
|
|
2309
2320
|
description: "Webhook event to receive. Repeatable. Requires --triggers and replaces the provider's default events."
|
|
2310
2321
|
},
|
|
2322
|
+
{
|
|
2323
|
+
name: "connection-method",
|
|
2324
|
+
shorthand: null,
|
|
2325
|
+
type: String,
|
|
2326
|
+
argument: "METHOD",
|
|
2327
|
+
deprecated: false,
|
|
2328
|
+
description: "How to connect to the service (e.g. oauth, mcp, api-key). Run without it to choose interactively; the error lists the valid values for a service."
|
|
2329
|
+
},
|
|
2330
|
+
{
|
|
2331
|
+
name: "target",
|
|
2332
|
+
shorthand: null,
|
|
2333
|
+
type: String,
|
|
2334
|
+
argument: "TARGET",
|
|
2335
|
+
deprecated: false,
|
|
2336
|
+
description: "Which of the service's products to connect to (e.g. api, mcp). Only needed when a service exposes more than one."
|
|
2337
|
+
},
|
|
2338
|
+
{
|
|
2339
|
+
name: "param",
|
|
2340
|
+
shorthand: null,
|
|
2341
|
+
type: [String],
|
|
2342
|
+
argument: "KEY=VALUE",
|
|
2343
|
+
deprecated: false,
|
|
2344
|
+
description: "Value for a connection method template field (e.g. domain=acme.okta.com). Repeatable."
|
|
2345
|
+
},
|
|
2346
|
+
{
|
|
2347
|
+
...yesOption,
|
|
2348
|
+
description: "Skip the single-connection-method confirmation prompt"
|
|
2349
|
+
},
|
|
2311
2350
|
{
|
|
2312
2351
|
name: "data",
|
|
2313
2352
|
shorthand: null,
|
|
@@ -2372,6 +2411,22 @@ var createSubcommand2 = {
|
|
|
2372
2411
|
name: "Create with branding (icon and colors)",
|
|
2373
2412
|
value: `${packageName} connect create slack --name my-bot --icon ./logo.png --background-color '#1A2B3C' --accent-color '#FF0066'`
|
|
2374
2413
|
},
|
|
2414
|
+
{
|
|
2415
|
+
name: "Create with a specific connection method",
|
|
2416
|
+
value: `${packageName} connect create notion --connection-method mcp --name notion-mcp`
|
|
2417
|
+
},
|
|
2418
|
+
{
|
|
2419
|
+
name: "Create with an API key, reading it from a file",
|
|
2420
|
+
value: `${packageName} connect create notion --connection-method api-key --name notion --data @key.json`
|
|
2421
|
+
},
|
|
2422
|
+
{
|
|
2423
|
+
name: "Create from a connection method that needs template values",
|
|
2424
|
+
value: `${packageName} connect create okta --connection-method custom-server --param domain=acme.okta.com --param auth_server_id=default --name okta --data @creds.json`
|
|
2425
|
+
},
|
|
2426
|
+
{
|
|
2427
|
+
name: "Target a specific product of a service",
|
|
2428
|
+
value: `${packageName} connect create notion --target api --connection-method oauth --name notion --data @creds.json`
|
|
2429
|
+
},
|
|
2375
2430
|
{
|
|
2376
2431
|
name: "Create a non-managed connector from explicit data",
|
|
2377
2432
|
value: `${packageName} connect create mcp.linear.app --name linear --data '{"clientId":"abc123"}'`
|
|
@@ -3617,6 +3672,13 @@ var domainsCommand = {
|
|
|
3617
3672
|
};
|
|
3618
3673
|
|
|
3619
3674
|
// src/commands/firewall/command.ts
|
|
3675
|
+
var teamLevelOption = {
|
|
3676
|
+
name: "team-level",
|
|
3677
|
+
shorthand: null,
|
|
3678
|
+
type: Boolean,
|
|
3679
|
+
deprecated: false,
|
|
3680
|
+
description: "Operate on the team-level firewall configuration, which applies to every project in the team. No linked project required. Cannot be combined with --project"
|
|
3681
|
+
};
|
|
3620
3682
|
var overviewSubcommand = {
|
|
3621
3683
|
name: "overview",
|
|
3622
3684
|
aliases: [],
|
|
@@ -3646,6 +3708,7 @@ var diffSubcommand = {
|
|
|
3646
3708
|
arguments: [],
|
|
3647
3709
|
options: [
|
|
3648
3710
|
projectOption,
|
|
3711
|
+
teamLevelOption,
|
|
3649
3712
|
{
|
|
3650
3713
|
name: "json",
|
|
3651
3714
|
shorthand: null,
|
|
@@ -3658,6 +3721,10 @@ var diffSubcommand = {
|
|
|
3658
3721
|
{
|
|
3659
3722
|
name: "Show unpublished changes",
|
|
3660
3723
|
value: `${packageName} firewall diff`
|
|
3724
|
+
},
|
|
3725
|
+
{
|
|
3726
|
+
name: "Show unpublished team-level changes",
|
|
3727
|
+
value: `${packageName} firewall diff --team-level`
|
|
3661
3728
|
}
|
|
3662
3729
|
]
|
|
3663
3730
|
};
|
|
@@ -3666,7 +3733,7 @@ var publishSubcommand = {
|
|
|
3666
3733
|
aliases: [],
|
|
3667
3734
|
description: "Publish all draft firewall changes to production, making them live immediately",
|
|
3668
3735
|
arguments: [],
|
|
3669
|
-
options: [projectOption, yesOption],
|
|
3736
|
+
options: [projectOption, teamLevelOption, yesOption],
|
|
3670
3737
|
examples: [
|
|
3671
3738
|
{
|
|
3672
3739
|
name: "Publish draft changes",
|
|
@@ -3675,6 +3742,10 @@ var publishSubcommand = {
|
|
|
3675
3742
|
{
|
|
3676
3743
|
name: "Publish without confirmation",
|
|
3677
3744
|
value: `${packageName} firewall publish --yes`
|
|
3745
|
+
},
|
|
3746
|
+
{
|
|
3747
|
+
name: "Publish team-level draft changes",
|
|
3748
|
+
value: `${packageName} firewall publish --team-level`
|
|
3678
3749
|
}
|
|
3679
3750
|
]
|
|
3680
3751
|
};
|
|
@@ -3683,7 +3754,7 @@ var discardSubcommand = {
|
|
|
3683
3754
|
aliases: [],
|
|
3684
3755
|
description: "Permanently discard all unpublished draft changes, reverting to the current production configuration",
|
|
3685
3756
|
arguments: [],
|
|
3686
|
-
options: [projectOption, yesOption],
|
|
3757
|
+
options: [projectOption, teamLevelOption, yesOption],
|
|
3687
3758
|
examples: [
|
|
3688
3759
|
{
|
|
3689
3760
|
name: "Discard draft changes",
|
|
@@ -3807,6 +3878,7 @@ var ipBlocksListSubcommand = {
|
|
|
3807
3878
|
arguments: [],
|
|
3808
3879
|
options: [
|
|
3809
3880
|
projectOption,
|
|
3881
|
+
teamLevelOption,
|
|
3810
3882
|
{
|
|
3811
3883
|
name: "json",
|
|
3812
3884
|
shorthand: null,
|
|
@@ -3829,6 +3901,7 @@ var ipBlocksBlockSubcommand = {
|
|
|
3829
3901
|
arguments: [{ name: "ip", required: true }],
|
|
3830
3902
|
options: [
|
|
3831
3903
|
projectOption,
|
|
3904
|
+
teamLevelOption,
|
|
3832
3905
|
{
|
|
3833
3906
|
name: "hostname",
|
|
3834
3907
|
shorthand: null,
|
|
@@ -3867,6 +3940,7 @@ var ipBlocksUnblockSubcommand = {
|
|
|
3867
3940
|
arguments: [{ name: "id-or-ip", required: true }],
|
|
3868
3941
|
options: [
|
|
3869
3942
|
projectOption,
|
|
3943
|
+
teamLevelOption,
|
|
3870
3944
|
{
|
|
3871
3945
|
name: "hostname",
|
|
3872
3946
|
shorthand: null,
|
|
@@ -3924,6 +3998,7 @@ var rulesListSubcommand2 = {
|
|
|
3924
3998
|
arguments: [],
|
|
3925
3999
|
options: [
|
|
3926
4000
|
projectOption,
|
|
4001
|
+
teamLevelOption,
|
|
3927
4002
|
{
|
|
3928
4003
|
name: "expand",
|
|
3929
4004
|
shorthand: "e",
|
|
@@ -3947,6 +4022,10 @@ var rulesListSubcommand2 = {
|
|
|
3947
4022
|
{
|
|
3948
4023
|
name: "List rules with full condition details",
|
|
3949
4024
|
value: `${packageName} firewall rules list --expand`
|
|
4025
|
+
},
|
|
4026
|
+
{
|
|
4027
|
+
name: "List team-level rules",
|
|
4028
|
+
value: `${packageName} firewall rules list --team-level`
|
|
3950
4029
|
}
|
|
3951
4030
|
]
|
|
3952
4031
|
};
|
|
@@ -3957,6 +4036,7 @@ var rulesInspectSubcommand = {
|
|
|
3957
4036
|
arguments: [{ name: "name-or-id", required: true }],
|
|
3958
4037
|
options: [
|
|
3959
4038
|
projectOption,
|
|
4039
|
+
teamLevelOption,
|
|
3960
4040
|
{
|
|
3961
4041
|
name: "json",
|
|
3962
4042
|
shorthand: null,
|
|
@@ -3983,6 +4063,7 @@ var rulesAddSubcommand2 = {
|
|
|
3983
4063
|
arguments: [{ name: "name", required: false }],
|
|
3984
4064
|
options: [
|
|
3985
4065
|
projectOption,
|
|
4066
|
+
teamLevelOption,
|
|
3986
4067
|
{
|
|
3987
4068
|
name: "ai",
|
|
3988
4069
|
shorthand: null,
|
|
@@ -4120,6 +4201,7 @@ var rulesEditSubcommand2 = {
|
|
|
4120
4201
|
arguments: [{ name: "name-or-id", required: true }],
|
|
4121
4202
|
options: [
|
|
4122
4203
|
projectOption,
|
|
4204
|
+
teamLevelOption,
|
|
4123
4205
|
{
|
|
4124
4206
|
name: "ai",
|
|
4125
4207
|
shorthand: null,
|
|
@@ -4269,7 +4351,7 @@ var rulesEnableSubcommand = {
|
|
|
4269
4351
|
aliases: [],
|
|
4270
4352
|
description: "Enable a disabled custom firewall rule. Stages a draft change \u2014 run `publish` to make it live",
|
|
4271
4353
|
arguments: [{ name: "name-or-id", required: true }],
|
|
4272
|
-
options: [projectOption, yesOption],
|
|
4354
|
+
options: [projectOption, teamLevelOption, yesOption],
|
|
4273
4355
|
examples: [
|
|
4274
4356
|
{
|
|
4275
4357
|
name: "Enable a rule",
|
|
@@ -4282,7 +4364,7 @@ var rulesDisableSubcommand = {
|
|
|
4282
4364
|
aliases: [],
|
|
4283
4365
|
description: "Disable a custom firewall rule without removing it. Stages a draft change \u2014 run `publish` to make it live",
|
|
4284
4366
|
arguments: [{ name: "name-or-id", required: true }],
|
|
4285
|
-
options: [projectOption, yesOption],
|
|
4367
|
+
options: [projectOption, teamLevelOption, yesOption],
|
|
4286
4368
|
examples: [
|
|
4287
4369
|
{
|
|
4288
4370
|
name: "Disable a rule",
|
|
@@ -4295,7 +4377,7 @@ var rulesRemoveSubcommand2 = {
|
|
|
4295
4377
|
aliases: ["rm", "delete"],
|
|
4296
4378
|
description: "Remove a custom firewall rule. Stages a draft change \u2014 run `publish` to make it live",
|
|
4297
4379
|
arguments: [{ name: "name-or-id", required: true }],
|
|
4298
|
-
options: [projectOption, yesOption],
|
|
4380
|
+
options: [projectOption, teamLevelOption, yesOption],
|
|
4299
4381
|
examples: [
|
|
4300
4382
|
{
|
|
4301
4383
|
name: "Remove a rule",
|
|
@@ -4310,6 +4392,7 @@ var rulesReorderSubcommand = {
|
|
|
4310
4392
|
arguments: [{ name: "name-or-id", required: true }],
|
|
4311
4393
|
options: [
|
|
4312
4394
|
projectOption,
|
|
4395
|
+
teamLevelOption,
|
|
4313
4396
|
{
|
|
4314
4397
|
name: "position",
|
|
4315
4398
|
shorthand: null,
|
|
@@ -13,21 +13,22 @@ import {
|
|
|
13
13
|
requireVcrRepository,
|
|
14
14
|
resolveVcrScope,
|
|
15
15
|
validateVcrJsonOutput
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DHTB5D3E.js";
|
|
17
17
|
import "./chunk-G75NFPIT.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-P65EEFTR.js";
|
|
19
19
|
import "./chunk-XPKWKPWA.js";
|
|
20
20
|
import {
|
|
21
21
|
permissionsClearSubcommand
|
|
22
22
|
} from "./chunk-J6LK45HT.js";
|
|
23
23
|
import "./chunk-R6IGDGX3.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-NZ6GDMPB.js";
|
|
25
25
|
import "./chunk-ECCWJHC6.js";
|
|
26
26
|
import {
|
|
27
27
|
AGENT_REASON,
|
|
28
28
|
buildCommandWithYes,
|
|
29
29
|
outputAgentError
|
|
30
30
|
} from "./chunk-TJJ562C5.js";
|
|
31
|
+
import "./chunk-GGP5R3FU.js";
|
|
31
32
|
import {
|
|
32
33
|
printError
|
|
33
34
|
} from "./chunk-KBEX5MYS.js";
|
|
@@ -43,7 +44,6 @@ import "./chunk-52QYYTM5.js";
|
|
|
43
44
|
import {
|
|
44
45
|
output_manager_default
|
|
45
46
|
} from "./chunk-OX7KI3LF.js";
|
|
46
|
-
import "./chunk-GGP5R3FU.js";
|
|
47
47
|
import "./chunk-S7KYDPEM.js";
|
|
48
48
|
import "./chunk-TZ2YI2VH.js";
|
|
49
49
|
|
|
@@ -11,16 +11,16 @@ import {
|
|
|
11
11
|
findSourceVercelConfigFile,
|
|
12
12
|
getVercelConfigPath,
|
|
13
13
|
normalizeConfig
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NZ6GDMPB.js";
|
|
15
15
|
import "./chunk-ECCWJHC6.js";
|
|
16
16
|
import "./chunk-TJJ562C5.js";
|
|
17
|
+
import "./chunk-GGP5R3FU.js";
|
|
17
18
|
import "./chunk-KBEX5MYS.js";
|
|
18
19
|
import "./chunk-XLKFJPMT.js";
|
|
19
20
|
import "./chunk-SOFC4MLS.js";
|
|
20
21
|
import "./chunk-P4QNYOFB.js";
|
|
21
22
|
import "./chunk-52QYYTM5.js";
|
|
22
23
|
import "./chunk-OX7KI3LF.js";
|
|
23
|
-
import "./chunk-GGP5R3FU.js";
|
|
24
24
|
import "./chunk-S7KYDPEM.js";
|
|
25
25
|
import "./chunk-TZ2YI2VH.js";
|
|
26
26
|
export {
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
requireProjectContext,
|
|
16
16
|
resolveRoutes,
|
|
17
17
|
withGlobalFlags
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-D6SC2UJH.js";
|
|
19
19
|
import {
|
|
20
20
|
deleteSubcommand
|
|
21
21
|
} from "./chunk-M22O6CYY.js";
|
|
@@ -23,13 +23,14 @@ import {
|
|
|
23
23
|
stamp_default
|
|
24
24
|
} from "./chunk-64IF634X.js";
|
|
25
25
|
import "./chunk-VXYGCOKL.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-NZ6GDMPB.js";
|
|
27
27
|
import "./chunk-ECCWJHC6.js";
|
|
28
28
|
import {
|
|
29
29
|
AGENT_REASON,
|
|
30
30
|
AGENT_STATUS,
|
|
31
31
|
outputAgentError
|
|
32
32
|
} from "./chunk-TJJ562C5.js";
|
|
33
|
+
import "./chunk-GGP5R3FU.js";
|
|
33
34
|
import "./chunk-KBEX5MYS.js";
|
|
34
35
|
import "./chunk-XLKFJPMT.js";
|
|
35
36
|
import "./chunk-SOFC4MLS.js";
|
|
@@ -38,7 +39,6 @@ import "./chunk-52QYYTM5.js";
|
|
|
38
39
|
import {
|
|
39
40
|
output_manager_default
|
|
40
41
|
} from "./chunk-OX7KI3LF.js";
|
|
41
|
-
import "./chunk-GGP5R3FU.js";
|
|
42
42
|
import {
|
|
43
43
|
require_source
|
|
44
44
|
} from "./chunk-S7KYDPEM.js";
|