vercel 59.11.7 → 59.13.1
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-WU2QYHYL.js → add-7OX6PBFD.js} +3 -3
- package/dist/chunks/add-7RYUFBZ3.js +221 -0
- package/dist/chunks/{add-KSJQYR5C.js → add-FX5WWUXU.js} +3 -3
- package/dist/chunks/{build-F3J6FLPD.js → build-Q3TR46K4.js} +3 -3
- package/dist/chunks/{chunk-N4QHMXOO.js → chunk-2GXA4NGG.js} +3 -2
- package/dist/chunks/{chunk-CNDPIHY5.js → chunk-2QFYCMKN.js} +24 -19
- package/dist/chunks/{chunk-7KROIXQM.js → chunk-3FIEWWMM.js} +3 -3
- package/dist/chunks/{chunk-OIH6FP5Y.js → chunk-4TUMNBEE.js} +2 -2
- package/dist/chunks/{chunk-FVT74RZ5.js → chunk-5JDX6XOS.js} +11 -11
- package/dist/chunks/{chunk-WL6QYSGD.js → chunk-5ORMFNXL.js} +586 -41
- package/dist/chunks/{chunk-C762AAVU.js → chunk-66LPM47Z.js} +4 -4
- package/dist/chunks/{chunk-4IVSM24H.js → chunk-76CB3CF2.js} +1 -1
- package/dist/chunks/{chunk-2TSBB22D.js → chunk-7F5RNOTP.js} +2 -2
- package/dist/chunks/{chunk-UARGTFCT.js → chunk-7NRNFV77.js} +1 -1
- package/dist/chunks/chunk-DQ23J2KG.js +305 -0
- package/dist/chunks/{chunk-XM3LOQIX.js → chunk-EDMW7SBH.js} +76 -92
- package/dist/chunks/{chunk-Z7JWYFOY.js → chunk-EEV2LKFC.js} +1 -1
- package/dist/chunks/{chunk-DSTNNQVV.js → chunk-EIBH6FCR.js} +3 -3
- package/dist/chunks/chunk-F4S6Q4OY.js +79 -0
- package/dist/chunks/chunk-GDOUDU6O.js +74 -0
- package/dist/chunks/{chunk-DBYHS3CK.js → chunk-GQRG7VFK.js} +2 -2
- package/dist/chunks/{chunk-GCVXKRR5.js → chunk-HD4DR3DA.js} +1 -0
- package/dist/chunks/{chunk-DWIC7MRV.js → chunk-HKHXKSXQ.js} +1 -1
- package/dist/chunks/{chunk-ZBEECGFD.js → chunk-HM24ZWQL.js} +1 -1
- package/dist/chunks/{chunk-GHKJAK5V.js → chunk-IK6PC2JA.js} +4 -4
- package/dist/chunks/{chunk-A5JZS6ZN.js → chunk-IUC3TR3S.js} +1 -1
- package/dist/chunks/{chunk-VYC45Q4Z.js → chunk-JIK2FUMT.js} +1 -1
- package/dist/chunks/{chunk-TGNEG57M.js → chunk-KU2WCB6G.js} +110 -14
- package/dist/chunks/{chunk-FVNJTRCE.js → chunk-KXTXGYG7.js} +2 -2
- package/dist/chunks/{chunk-QOPTXV4G.js → chunk-L4H3DP65.js} +1 -1
- package/dist/chunks/{chunk-FL4JLNT2.js → chunk-LE5V7G2U.js} +2 -2
- package/dist/chunks/chunk-LVCCV2YJ.js +324 -0
- package/dist/chunks/{chunk-SHFNEZVI.js → chunk-MUGF3SGQ.js} +1 -1
- package/dist/chunks/{chunk-G3PXSXIB.js → chunk-N6HP5BLI.js} +5 -3
- package/dist/chunks/{chunk-EZQDYIVB.js → chunk-NSGRICJ2.js} +1 -1
- package/dist/chunks/{chunk-KJBZ5ZST.js → chunk-PIMIVJYK.js} +1 -0
- package/dist/chunks/{chunk-X7DBBZQD.js → chunk-QRFRS2JH.js} +1 -1
- package/dist/chunks/{chunk-PFM75KY3.js → chunk-QSJ6Q5QP.js} +3 -3
- package/dist/chunks/{chunk-XD4DCYMX.js → chunk-S3HYE6ZE.js} +2 -2
- package/dist/chunks/{chunk-QHS645AZ.js → chunk-SPRQ4IBQ.js} +3 -3
- package/dist/chunks/{chunk-NSOYO6JQ.js → chunk-T3NB7VQG.js} +6 -6
- package/dist/chunks/{chunk-PJXMXMCO.js → chunk-TLPHZ7M4.js} +2 -2
- package/dist/chunks/{chunk-EPOLDWRA.js → chunk-TOXZAP5I.js} +1 -1
- package/dist/chunks/{chunk-XIFATBH5.js → chunk-U4ZLWJQD.js} +4 -4
- package/dist/chunks/{chunk-CEDN47PH.js → chunk-UXKNSAP2.js} +1 -1
- package/dist/chunks/{chunk-GUU4Z2AQ.js → chunk-XEVKGAVI.js} +6 -6
- package/dist/chunks/{chunk-VT3Z7HF6.js → chunk-Z6YZMXVN.js} +4 -4
- package/dist/chunks/{clear-XUQO4ZTK.js → clear-GIAFWC5X.js} +3 -3
- package/dist/chunks/{compile-vercel-config-D3ARNHTN.js → compile-vercel-config-QJGEQKK4.js} +2 -2
- package/dist/chunks/{config-MEDLXUVM.js → config-AOA2HS4R.js} +3 -3
- package/dist/chunks/{config-37OAE7QJ.js → config-HYBSW733.js} +7 -7
- package/dist/chunks/config-validator.mjs +1 -1
- package/dist/chunks/{delete-VSWDZ2SW.js → delete-BBFI75A2.js} +5 -5
- package/dist/chunks/{delete-3N3YZZOF.js → delete-DJ7RI2NX.js} +5 -5
- package/dist/chunks/{detect-services-TESZCQWG.js → detect-services-Q2DVXVMH.js} +6 -6
- package/dist/chunks/{disable-A4FLFMC7.js → disable-P7X2V5LS.js} +5 -5
- package/dist/chunks/{discard-CHGFULBZ.js → discard-JNQBH4XU.js} +5 -5
- package/dist/chunks/{edit-JZ63AJYQ.js → edit-AXQEMBQC.js} +5 -5
- package/dist/chunks/{edit-MHSYAPDR.js → edit-BO3GXEKA.js} +6 -6
- package/dist/chunks/{enable-KD46SEC5.js → enable-NC4BN7EQ.js} +5 -5
- package/dist/chunks/{export-42QZLBSN.js → export-HQ42UNYD.js} +5 -5
- package/dist/chunks/{image-GP4H73A2.js → image-UM4FQYOA.js} +3 -3
- package/dist/chunks/{import-builders-6TBLMPL2.js → import-builders-F6SWNCHK.js} +4 -4
- package/dist/chunks/{inspect-MUVK6MMT.js → inspect-EXEA57MP.js} +3 -3
- package/dist/chunks/{inspect-5FMWMY3C.js → inspect-H3M3XJNB.js} +10 -10
- package/dist/chunks/{inspect-QFXAOUL4.js → inspect-MTNQOLNM.js} +3 -3
- package/dist/chunks/{inspect-RNTSYM6O.js → inspect-PYFF2K4X.js} +3 -3
- package/dist/chunks/{inspect-Q3DWW7MC.js → inspect-XF324IQ2.js} +9 -9
- package/dist/chunks/{list-JRNWLSO5.js → list-4JHZJUBS.js} +2 -2
- package/dist/chunks/{list-IHHIPXEC.js → list-YEN54SGY.js} +6 -6
- package/dist/chunks/{list-XHD5DLEX.js → list-ZKD2O4D2.js} +7 -7
- package/dist/chunks/{login-PCT6KFWY.js → login-56KGZQI2.js} +3 -3
- package/dist/chunks/{ls-SVOHC3XW.js → ls-ELYVF6EU.js} +4 -4
- package/dist/chunks/{ls-PQZ2RIDX.js → ls-HZEMZY2R.js} +4 -4
- package/dist/chunks/{ls-TGHCCARZ.js → ls-IJW74NG3.js} +4 -4
- package/dist/chunks/{ls-GPEHEFCF.js → ls-OAGYLILX.js} +4 -4
- package/dist/chunks/{ls-VRIH5WA3.js → ls-QNTHMTIH.js} +7 -7
- package/dist/chunks/ls-WW5UFH5B.js +204 -0
- package/dist/chunks/{open-E7DEKYDU.js → open-D2E5TEKN.js} +5 -5
- package/dist/chunks/{permissions-JKOONWVL.js → permissions-CFUXWXSK.js} +4 -4
- package/dist/chunks/{publish-EDDELDE5.js → publish-BP4IUYNM.js} +5 -5
- package/dist/chunks/{pull-646WEVDE.js → pull-DL72B6RW.js} +7 -7
- package/dist/chunks/{push-LTNW5OVD.js → push-6YCS4YQW.js} +3 -3
- package/dist/chunks/{query-LU4N6KPO.js → query-7N3YB4LE.js} +7 -7
- package/dist/chunks/{reorder-22PKJMZP.js → reorder-YJN36TPT.js} +5 -5
- package/dist/chunks/{reply-SF2EZMVZ.js → reply-3U3O7LNG.js} +5 -5
- package/dist/chunks/{resolve-ZCZGXTOT.js → resolve-TT75WCWT.js} +5 -5
- package/dist/chunks/{restore-VJAWZXB4.js → restore-6UF6W23A.js} +5 -5
- package/dist/chunks/rm-3QIDFPVA.js +162 -0
- package/dist/chunks/{rm-WNPGTUBH.js → rm-6MJ7ZPXQ.js} +3 -3
- package/dist/chunks/{rm-KVEAJPRE.js → rm-JZRS2NBH.js} +3 -3
- package/dist/chunks/{rm-OSZ5FZUM.js → rm-KI4W2HYP.js} +7 -7
- package/dist/chunks/{rm-KN2QFCKO.js → rm-QCQXVB54.js} +3 -3
- package/dist/chunks/rule-inspect-PX73J52Q.js +123 -0
- package/dist/chunks/{rules-65LKAQ35.js → rules-Q334NBUC.js} +7 -7
- package/dist/chunks/schema-GRTOHAZO.js +381 -0
- package/dist/chunks/{schema-NXCW4M75.js → schema-YV3XYL3A.js} +6 -6
- package/dist/chunks/{set-FYJVKMPV.js → set-J3AQKL6V.js} +7 -7
- package/dist/chunks/{setup-and-link-KXPZE32P.js → setup-and-link-R5N7WJ46.js} +16 -16
- package/dist/chunks/{tags-ANIRP5E3.js → tags-2VLJ4VIH.js} +2 -2
- package/dist/chunks/update-VMS45VF2.js +224 -0
- package/dist/chunks/vlt-builder-importer-USCFHWPL.js +322 -0
- package/dist/commands/build/index.js +19 -19
- package/dist/commands/deploy/index.js +19 -19
- package/dist/commands/dev/index.js +25 -25
- package/dist/commands/env/index.js +12 -12
- package/dist/commands/link/index.js +12 -12
- package/dist/commands/list/index.js +5 -5
- package/dist/commands-bulk.js +11343 -4386
- package/dist/help.js +1 -1
- package/dist/index.js +28 -18
- package/dist/runtime-assets/node-preloads/next-dev-websocket.cjs +6 -0
- package/dist/version.mjs +1 -1
- package/package.json +52 -48
- package/dist/chunks/add-PERLOALD.js +0 -233
- package/dist/chunks/chunk-5GGUB4EO.js +0 -31
- package/dist/chunks/chunk-ARU7VBKR.js +0 -144
- package/dist/chunks/chunk-KEKR7OCB.js +0 -140
- package/dist/chunks/chunk-MXLA3VQS.js +0 -20
- package/dist/chunks/chunk-QKX7WKIN.js +0 -98
- package/dist/chunks/ls-PF7F4PP4.js +0 -197
- package/dist/chunks/rm-W722Q2AO.js +0 -173
- package/dist/chunks/rule-inspect-25Z6SNX3.js +0 -285
- package/dist/chunks/schema-7D6IGJEJ.js +0 -429
- package/dist/chunks/update-UT6CTKVG.js +0 -246
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-7Q45OKWR.js";
|
|
13
13
|
import {
|
|
14
14
|
metricsCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4TUMNBEE.js";
|
|
16
16
|
import {
|
|
17
17
|
routesCommand
|
|
18
18
|
} from "./chunk-POOO7W47.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-SLPSPYVR.js";
|
|
22
22
|
import {
|
|
23
23
|
alertsCommand
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-HKHXKSXQ.js";
|
|
25
25
|
import {
|
|
26
26
|
activityCommand
|
|
27
27
|
} from "./chunk-4KD5BYHB.js";
|
|
@@ -39,6 +39,7 @@ import {
|
|
|
39
39
|
envCommand
|
|
40
40
|
} from "./chunk-XUAWTW4W.js";
|
|
41
41
|
import {
|
|
42
|
+
allOption,
|
|
42
43
|
confirmOption,
|
|
43
44
|
deploymentOption,
|
|
44
45
|
forceOption,
|
|
@@ -732,8 +733,16 @@ var createSubcommand = {
|
|
|
732
733
|
shorthand: null,
|
|
733
734
|
type: Number,
|
|
734
735
|
argument: "AMOUNT",
|
|
736
|
+
deprecated: true,
|
|
737
|
+
description: "DEPRECATED: Use --limit instead"
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
name: "limit",
|
|
741
|
+
shorthand: null,
|
|
742
|
+
type: Number,
|
|
743
|
+
argument: "AMOUNT",
|
|
735
744
|
deprecated: false,
|
|
736
|
-
description: "Quota budget
|
|
745
|
+
description: "Quota budget limit in dollars (minimum 1)"
|
|
737
746
|
},
|
|
738
747
|
{
|
|
739
748
|
name: "refresh-period",
|
|
@@ -788,11 +797,11 @@ var createSubcommand = {
|
|
|
788
797
|
},
|
|
789
798
|
{
|
|
790
799
|
name: "Create an API key with a budget",
|
|
791
|
-
value: `${packageName} ai-gateway api-keys create --name my-key --
|
|
800
|
+
value: `${packageName} ai-gateway api-keys create --name my-key --limit 500 --refresh-period monthly`
|
|
792
801
|
},
|
|
793
802
|
{
|
|
794
803
|
name: "Create a key that expires and alerts on spend",
|
|
795
|
-
value: `${packageName} ai-gateway api-keys create --
|
|
804
|
+
value: `${packageName} ai-gateway api-keys create --limit 500 --alert-thresholds 75,100 --expiration 90d`
|
|
796
805
|
},
|
|
797
806
|
{
|
|
798
807
|
name: "Create a ZDR-exempt key (team owners only)",
|
|
@@ -1024,7 +1033,7 @@ var rulesSubcommand = {
|
|
|
1024
1033
|
var setupSubcommand = {
|
|
1025
1034
|
name: "setup",
|
|
1026
1035
|
aliases: [],
|
|
1027
|
-
description: "Connect local coding agents
|
|
1036
|
+
description: "Connect local coding agents to the AI Gateway",
|
|
1028
1037
|
arguments: [],
|
|
1029
1038
|
options: [
|
|
1030
1039
|
{
|
|
@@ -1033,7 +1042,7 @@ var setupSubcommand = {
|
|
|
1033
1042
|
type: [String],
|
|
1034
1043
|
argument: "NAME",
|
|
1035
1044
|
deprecated: false,
|
|
1036
|
-
description: "Coding agent to configure, repeatable
|
|
1045
|
+
description: "Coding agent to configure, repeatable; omit to pick from the detected agents"
|
|
1037
1046
|
},
|
|
1038
1047
|
{
|
|
1039
1048
|
name: "all",
|
|
@@ -1161,27 +1170,27 @@ var setupSubcommand = {
|
|
|
1161
1170
|
examples: [
|
|
1162
1171
|
{
|
|
1163
1172
|
name: "Connect all detected coding agents (creates a key)",
|
|
1164
|
-
value: `${packageName} ai-gateway
|
|
1173
|
+
value: `${packageName} ai-gateway setup`
|
|
1165
1174
|
},
|
|
1166
1175
|
{
|
|
1167
1176
|
name: "Emit a prompt to hand to a coding agent instead of writing files",
|
|
1168
|
-
value: `${packageName} ai-gateway
|
|
1177
|
+
value: `${packageName} ai-gateway setup --apply prompt --yes`
|
|
1169
1178
|
},
|
|
1170
1179
|
{
|
|
1171
1180
|
name: "Connect specific agents with a budgeted key",
|
|
1172
|
-
value: `${packageName} ai-gateway
|
|
1181
|
+
value: `${packageName} ai-gateway setup --agent claude-code --budget 500 --refresh-period monthly`
|
|
1173
1182
|
},
|
|
1174
1183
|
{
|
|
1175
1184
|
name: "Rotate the key on an already-configured setup",
|
|
1176
|
-
value: `${packageName} ai-gateway
|
|
1185
|
+
value: `${packageName} ai-gateway setup --reconfigure`
|
|
1177
1186
|
},
|
|
1178
1187
|
{
|
|
1179
1188
|
name: "Reuse an existing key and preview changes only",
|
|
1180
|
-
value: `${packageName} ai-gateway
|
|
1189
|
+
value: `${packageName} ai-gateway setup --key <key> --dry-run`
|
|
1181
1190
|
},
|
|
1182
1191
|
{
|
|
1183
1192
|
name: "Point an agent at a different gateway base URL",
|
|
1184
|
-
value: `${packageName} ai-gateway
|
|
1193
|
+
value: `${packageName} ai-gateway setup --agent codex --base-url https://preview.ai-gateway.vercel.sh/v1`
|
|
1185
1194
|
}
|
|
1186
1195
|
]
|
|
1187
1196
|
};
|
|
@@ -1229,10 +1238,17 @@ var modelsSubcommand = {
|
|
|
1229
1238
|
options: [],
|
|
1230
1239
|
examples: []
|
|
1231
1240
|
};
|
|
1241
|
+
var budgetDefaultOption = {
|
|
1242
|
+
name: "default",
|
|
1243
|
+
shorthand: null,
|
|
1244
|
+
type: Boolean,
|
|
1245
|
+
deprecated: false,
|
|
1246
|
+
description: "Target the default budget for the scope, applied to resources of that scope without their own budget"
|
|
1247
|
+
};
|
|
1232
1248
|
var budgetsSetSubcommand = {
|
|
1233
1249
|
name: "set",
|
|
1234
1250
|
aliases: [],
|
|
1235
|
-
description: "Create or update an AI Gateway budget for a scope (team, project <name>, user <email>, or api-key <name>)",
|
|
1251
|
+
description: "Create or update an AI Gateway budget for a scope (team, project <name>, user <email>, or api-key <name>), or the default budget for a scope with --default",
|
|
1236
1252
|
arguments: [
|
|
1237
1253
|
{ name: "scope", required: true },
|
|
1238
1254
|
{ name: "name", required: false }
|
|
@@ -1254,6 +1270,7 @@ var budgetsSetSubcommand = {
|
|
|
1254
1270
|
deprecated: false,
|
|
1255
1271
|
description: "Budget refresh cadence: daily, weekly, monthly, or none (default: monthly)"
|
|
1256
1272
|
},
|
|
1273
|
+
budgetDefaultOption,
|
|
1257
1274
|
formatOption,
|
|
1258
1275
|
jsonOption
|
|
1259
1276
|
],
|
|
@@ -1273,18 +1290,22 @@ var budgetsSetSubcommand = {
|
|
|
1273
1290
|
{
|
|
1274
1291
|
name: "Set an API key's budget",
|
|
1275
1292
|
value: `${packageName} ai-gateway budgets set api-key my-key --limit 50`
|
|
1293
|
+
},
|
|
1294
|
+
{
|
|
1295
|
+
name: "Set the default budget for team members without their own",
|
|
1296
|
+
value: `${packageName} ai-gateway budgets set user --default --limit 50 --refresh-period monthly`
|
|
1276
1297
|
}
|
|
1277
1298
|
]
|
|
1278
1299
|
};
|
|
1279
1300
|
var budgetsInspectSubcommand = {
|
|
1280
1301
|
name: "inspect",
|
|
1281
1302
|
aliases: [],
|
|
1282
|
-
description: "Show one AI Gateway budget for a scope (team, project <name>, user <email>, or api-key <name>)",
|
|
1303
|
+
description: "Show one AI Gateway budget for a scope (team, project <name>, user <email>, or api-key <name>), or the default budget for a scope with --default",
|
|
1283
1304
|
arguments: [
|
|
1284
1305
|
{ name: "scope", required: true },
|
|
1285
1306
|
{ name: "name", required: false }
|
|
1286
1307
|
],
|
|
1287
|
-
options: [formatOption, jsonOption],
|
|
1308
|
+
options: [budgetDefaultOption, formatOption, jsonOption],
|
|
1288
1309
|
examples: [
|
|
1289
1310
|
{
|
|
1290
1311
|
name: "Inspect a user's budget",
|
|
@@ -1293,6 +1314,10 @@ var budgetsInspectSubcommand = {
|
|
|
1293
1314
|
{
|
|
1294
1315
|
name: "Inspect a project budget as JSON",
|
|
1295
1316
|
value: `${packageName} ai-gateway budgets inspect project my-project --format json`
|
|
1317
|
+
},
|
|
1318
|
+
{
|
|
1319
|
+
name: "Inspect the per-member default budget",
|
|
1320
|
+
value: `${packageName} ai-gateway budgets inspect user --default`
|
|
1296
1321
|
}
|
|
1297
1322
|
]
|
|
1298
1323
|
};
|
|
@@ -1301,23 +1326,49 @@ var budgetsListSubcommand = {
|
|
|
1301
1326
|
aliases: ["ls"],
|
|
1302
1327
|
description: "List AI Gateway budgets",
|
|
1303
1328
|
arguments: [],
|
|
1304
|
-
options: [
|
|
1329
|
+
options: [
|
|
1330
|
+
{
|
|
1331
|
+
name: "scope-type",
|
|
1332
|
+
shorthand: null,
|
|
1333
|
+
type: String,
|
|
1334
|
+
argument: "SCOPE",
|
|
1335
|
+
deprecated: false,
|
|
1336
|
+
description: "Only list budgets for one scope: team, project, user, or api-key"
|
|
1337
|
+
},
|
|
1338
|
+
{
|
|
1339
|
+
name: "defaults",
|
|
1340
|
+
shorthand: null,
|
|
1341
|
+
type: Boolean,
|
|
1342
|
+
deprecated: false,
|
|
1343
|
+
description: "List the team's default budgets instead of individual budgets"
|
|
1344
|
+
},
|
|
1345
|
+
formatOption,
|
|
1346
|
+
jsonOption
|
|
1347
|
+
],
|
|
1305
1348
|
examples: [
|
|
1306
1349
|
{
|
|
1307
1350
|
name: "List budgets",
|
|
1308
1351
|
value: `${packageName} ai-gateway budgets ls`
|
|
1352
|
+
},
|
|
1353
|
+
{
|
|
1354
|
+
name: "List user budgets",
|
|
1355
|
+
value: `${packageName} ai-gateway budgets ls --scope-type user`
|
|
1356
|
+
},
|
|
1357
|
+
{
|
|
1358
|
+
name: "List the default budgets",
|
|
1359
|
+
value: `${packageName} ai-gateway budgets ls --defaults`
|
|
1309
1360
|
}
|
|
1310
1361
|
]
|
|
1311
1362
|
};
|
|
1312
1363
|
var budgetsRemoveSubcommand = {
|
|
1313
1364
|
name: "remove",
|
|
1314
1365
|
aliases: ["rm", "delete"],
|
|
1315
|
-
description: "Remove an AI Gateway budget for a scope (team, project <name>, user <email>, or api-key <name>)",
|
|
1366
|
+
description: "Remove an AI Gateway budget for a scope (team, project <name>, user <email>, or api-key <name>), or the default budget for a scope with --default",
|
|
1316
1367
|
arguments: [
|
|
1317
1368
|
{ name: "scope", required: true },
|
|
1318
1369
|
{ name: "name", required: false }
|
|
1319
1370
|
],
|
|
1320
|
-
options: [yesOption, formatOption, jsonOption],
|
|
1371
|
+
options: [yesOption, budgetDefaultOption, formatOption, jsonOption],
|
|
1321
1372
|
examples: [
|
|
1322
1373
|
{
|
|
1323
1374
|
name: "Remove the team budget",
|
|
@@ -1334,6 +1385,10 @@ var budgetsRemoveSubcommand = {
|
|
|
1334
1385
|
{
|
|
1335
1386
|
name: "Remove an API key's budget",
|
|
1336
1387
|
value: `${packageName} ai-gateway budgets rm api-key my-key`
|
|
1388
|
+
},
|
|
1389
|
+
{
|
|
1390
|
+
name: "Remove the default budget for API keys",
|
|
1391
|
+
value: `${packageName} ai-gateway budgets rm api-key --default`
|
|
1337
1392
|
}
|
|
1338
1393
|
]
|
|
1339
1394
|
};
|
|
@@ -1468,6 +1523,9 @@ var budgetsDefaultsRemoveSubcommand = {
|
|
|
1468
1523
|
var budgetsDefaultsSubcommand = {
|
|
1469
1524
|
name: "defaults",
|
|
1470
1525
|
aliases: [],
|
|
1526
|
+
// Deprecated: kept routable, hidden from help. `--default` on budgets
|
|
1527
|
+
// set|inspect|remove and `budgets ls --defaults` replace it.
|
|
1528
|
+
hidden: true,
|
|
1471
1529
|
description: "Manage AI Gateway budget defaults (per-project, per-api-key, and per-member spend limits applied by default)",
|
|
1472
1530
|
arguments: [],
|
|
1473
1531
|
subcommands: [
|
|
@@ -1561,7 +1619,7 @@ var aiGatewayCommand = {
|
|
|
1561
1619
|
apiKeysSubcommand,
|
|
1562
1620
|
budgetsSubcommand,
|
|
1563
1621
|
rulesSubcommand,
|
|
1564
|
-
|
|
1622
|
+
setupSubcommand,
|
|
1565
1623
|
modelsSubcommand,
|
|
1566
1624
|
leaderboardSubcommand
|
|
1567
1625
|
],
|
|
@@ -4124,7 +4182,7 @@ var teamLevelOption = {
|
|
|
4124
4182
|
var overviewSubcommand = {
|
|
4125
4183
|
name: "overview",
|
|
4126
4184
|
aliases: [],
|
|
4127
|
-
description: "Show
|
|
4185
|
+
description: "Show your project's firewall configuration with the last day of activity: traffic by action, the busiest rules, and alerts raised in the same window",
|
|
4128
4186
|
arguments: [],
|
|
4129
4187
|
options: [
|
|
4130
4188
|
projectOption,
|
|
@@ -4138,8 +4196,34 @@ var overviewSubcommand = {
|
|
|
4138
4196
|
],
|
|
4139
4197
|
examples: [
|
|
4140
4198
|
{
|
|
4141
|
-
name: "Show firewall
|
|
4199
|
+
name: "Show firewall configuration and recent activity",
|
|
4142
4200
|
value: `${packageName} firewall overview`
|
|
4201
|
+
},
|
|
4202
|
+
{
|
|
4203
|
+
name: "Report the same data as JSON",
|
|
4204
|
+
value: `${packageName} firewall overview --json`
|
|
4205
|
+
}
|
|
4206
|
+
]
|
|
4207
|
+
};
|
|
4208
|
+
var statusSubcommand = {
|
|
4209
|
+
name: "status",
|
|
4210
|
+
aliases: [],
|
|
4211
|
+
description: "Show firewall configuration in execution order, including managed rulesets and bypass paths",
|
|
4212
|
+
arguments: [],
|
|
4213
|
+
options: [
|
|
4214
|
+
projectOption,
|
|
4215
|
+
{
|
|
4216
|
+
name: "json",
|
|
4217
|
+
shorthand: null,
|
|
4218
|
+
type: Boolean,
|
|
4219
|
+
deprecated: false,
|
|
4220
|
+
description: "Output as JSON"
|
|
4221
|
+
}
|
|
4222
|
+
],
|
|
4223
|
+
examples: [
|
|
4224
|
+
{
|
|
4225
|
+
name: "Show firewall status",
|
|
4226
|
+
value: `${packageName} firewall status`
|
|
4143
4227
|
}
|
|
4144
4228
|
]
|
|
4145
4229
|
};
|
|
@@ -5005,6 +5089,204 @@ var systemMitigationsSubcommand = {
|
|
|
5005
5089
|
}
|
|
5006
5090
|
]
|
|
5007
5091
|
};
|
|
5092
|
+
var jsonOutputOption = {
|
|
5093
|
+
name: "json",
|
|
5094
|
+
shorthand: null,
|
|
5095
|
+
type: Boolean,
|
|
5096
|
+
deprecated: false,
|
|
5097
|
+
description: "Output as JSON"
|
|
5098
|
+
};
|
|
5099
|
+
var alertsListSubcommand = {
|
|
5100
|
+
name: "list",
|
|
5101
|
+
aliases: ["ls"],
|
|
5102
|
+
description: "List active and resolved firewall alerts for the linked project",
|
|
5103
|
+
arguments: [],
|
|
5104
|
+
options: [
|
|
5105
|
+
projectOption,
|
|
5106
|
+
jsonOutputOption,
|
|
5107
|
+
{
|
|
5108
|
+
name: "since",
|
|
5109
|
+
shorthand: null,
|
|
5110
|
+
type: String,
|
|
5111
|
+
argument: "TIME",
|
|
5112
|
+
deprecated: false,
|
|
5113
|
+
description: "Start of the window: relative (24h, 7d) or ISO date (default: 24h ago)"
|
|
5114
|
+
},
|
|
5115
|
+
{
|
|
5116
|
+
name: "until",
|
|
5117
|
+
shorthand: null,
|
|
5118
|
+
type: String,
|
|
5119
|
+
argument: "TIME",
|
|
5120
|
+
deprecated: false,
|
|
5121
|
+
description: "End of the window (default: now)"
|
|
5122
|
+
}
|
|
5123
|
+
],
|
|
5124
|
+
examples: [
|
|
5125
|
+
{
|
|
5126
|
+
name: "List alerts from the last day",
|
|
5127
|
+
value: `${packageName} firewall alerts list`
|
|
5128
|
+
},
|
|
5129
|
+
{
|
|
5130
|
+
name: "List alerts from the last week",
|
|
5131
|
+
value: `${packageName} firewall alerts list --since 7d`
|
|
5132
|
+
}
|
|
5133
|
+
]
|
|
5134
|
+
};
|
|
5135
|
+
var alertsInspectSubcommand = {
|
|
5136
|
+
name: "inspect",
|
|
5137
|
+
aliases: [],
|
|
5138
|
+
description: "Show one firewall alert: window, request rate, denied IPs, and top hosts",
|
|
5139
|
+
arguments: [{ name: "alertid", required: true }],
|
|
5140
|
+
options: [projectOption, jsonOutputOption],
|
|
5141
|
+
examples: [
|
|
5142
|
+
{
|
|
5143
|
+
name: "Inspect an alert",
|
|
5144
|
+
value: `${packageName} firewall alerts inspect al_abc123`
|
|
5145
|
+
}
|
|
5146
|
+
]
|
|
5147
|
+
};
|
|
5148
|
+
var alertsSubcommand = {
|
|
5149
|
+
name: "alerts",
|
|
5150
|
+
aliases: [],
|
|
5151
|
+
description: "List and inspect firewall alerts, including DDoS mitigation episodes",
|
|
5152
|
+
arguments: [],
|
|
5153
|
+
subcommands: [alertsListSubcommand, alertsInspectSubcommand],
|
|
5154
|
+
options: [],
|
|
5155
|
+
examples: [
|
|
5156
|
+
{
|
|
5157
|
+
name: "List alerts",
|
|
5158
|
+
value: `${packageName} firewall alerts list`
|
|
5159
|
+
},
|
|
5160
|
+
{
|
|
5161
|
+
name: "Inspect an alert",
|
|
5162
|
+
value: `${packageName} firewall alerts inspect al_abc123`
|
|
5163
|
+
}
|
|
5164
|
+
]
|
|
5165
|
+
};
|
|
5166
|
+
var persistentActionsListSubcommand = {
|
|
5167
|
+
name: "list",
|
|
5168
|
+
aliases: ["ls"],
|
|
5169
|
+
description: "List persistent firewall actions for the linked project (default: last hour)",
|
|
5170
|
+
arguments: [],
|
|
5171
|
+
options: [
|
|
5172
|
+
projectOption,
|
|
5173
|
+
jsonOutputOption,
|
|
5174
|
+
{
|
|
5175
|
+
name: "since",
|
|
5176
|
+
shorthand: null,
|
|
5177
|
+
type: String,
|
|
5178
|
+
argument: "TIME",
|
|
5179
|
+
deprecated: false,
|
|
5180
|
+
description: "Start of the window: relative (1h, 6h) or ISO date (default: 1h ago)"
|
|
5181
|
+
},
|
|
5182
|
+
{
|
|
5183
|
+
name: "until",
|
|
5184
|
+
shorthand: null,
|
|
5185
|
+
type: String,
|
|
5186
|
+
argument: "TIME",
|
|
5187
|
+
deprecated: false,
|
|
5188
|
+
description: "End of the window (default: now)"
|
|
5189
|
+
},
|
|
5190
|
+
{
|
|
5191
|
+
name: "limit",
|
|
5192
|
+
shorthand: null,
|
|
5193
|
+
type: Number,
|
|
5194
|
+
argument: "NUMBER",
|
|
5195
|
+
deprecated: false,
|
|
5196
|
+
description: "Number of actions to show (default: 10)"
|
|
5197
|
+
}
|
|
5198
|
+
],
|
|
5199
|
+
examples: [
|
|
5200
|
+
{
|
|
5201
|
+
name: "List persistent actions from the last hour",
|
|
5202
|
+
value: `${packageName} firewall persistent-actions list`
|
|
5203
|
+
},
|
|
5204
|
+
{
|
|
5205
|
+
name: "List persistent actions from the last six hours",
|
|
5206
|
+
value: `${packageName} firewall persistent-actions list --since 6h`
|
|
5207
|
+
}
|
|
5208
|
+
]
|
|
5209
|
+
};
|
|
5210
|
+
var persistentActionsInspectSubcommand = {
|
|
5211
|
+
name: "inspect",
|
|
5212
|
+
aliases: [],
|
|
5213
|
+
description: "Show one persistent firewall action: window and requests by action",
|
|
5214
|
+
arguments: [{ name: "ip", required: true }],
|
|
5215
|
+
options: [
|
|
5216
|
+
projectOption,
|
|
5217
|
+
jsonOutputOption,
|
|
5218
|
+
{
|
|
5219
|
+
name: "host",
|
|
5220
|
+
shorthand: null,
|
|
5221
|
+
type: String,
|
|
5222
|
+
argument: "HOSTNAME",
|
|
5223
|
+
deprecated: false,
|
|
5224
|
+
description: "Narrow to a hostname"
|
|
5225
|
+
},
|
|
5226
|
+
{
|
|
5227
|
+
name: "action",
|
|
5228
|
+
shorthand: null,
|
|
5229
|
+
type: String,
|
|
5230
|
+
argument: "ACTION",
|
|
5231
|
+
deprecated: false,
|
|
5232
|
+
description: "Narrow to an action (challenge, deny, log, \u2026)"
|
|
5233
|
+
},
|
|
5234
|
+
{
|
|
5235
|
+
name: "since",
|
|
5236
|
+
shorthand: null,
|
|
5237
|
+
type: String,
|
|
5238
|
+
argument: "TIME",
|
|
5239
|
+
deprecated: false,
|
|
5240
|
+
description: "Start of the window: relative (1h, 6h) or ISO date (default: 1h ago)"
|
|
5241
|
+
},
|
|
5242
|
+
{
|
|
5243
|
+
name: "until",
|
|
5244
|
+
shorthand: null,
|
|
5245
|
+
type: String,
|
|
5246
|
+
argument: "TIME",
|
|
5247
|
+
deprecated: false,
|
|
5248
|
+
description: "End of the window (default: now)"
|
|
5249
|
+
},
|
|
5250
|
+
{
|
|
5251
|
+
name: "paths",
|
|
5252
|
+
shorthand: null,
|
|
5253
|
+
type: Boolean,
|
|
5254
|
+
deprecated: false,
|
|
5255
|
+
description: "Include the top request paths"
|
|
5256
|
+
}
|
|
5257
|
+
],
|
|
5258
|
+
examples: [
|
|
5259
|
+
{
|
|
5260
|
+
name: "Inspect a persistent action by IP",
|
|
5261
|
+
value: `${packageName} firewall persistent-actions inspect 51.158.168.18 --host vercel.com --action challenge`
|
|
5262
|
+
},
|
|
5263
|
+
{
|
|
5264
|
+
name: "Include the paths the client requested",
|
|
5265
|
+
value: `${packageName} firewall persistent-actions inspect 51.158.168.18 --paths`
|
|
5266
|
+
}
|
|
5267
|
+
]
|
|
5268
|
+
};
|
|
5269
|
+
var persistentActionsSubcommand = {
|
|
5270
|
+
name: "persistent-actions",
|
|
5271
|
+
aliases: [],
|
|
5272
|
+
description: "List and inspect persistent firewall actions taken against specific clients",
|
|
5273
|
+
arguments: [],
|
|
5274
|
+
subcommands: [
|
|
5275
|
+
persistentActionsListSubcommand,
|
|
5276
|
+
persistentActionsInspectSubcommand
|
|
5277
|
+
],
|
|
5278
|
+
options: [],
|
|
5279
|
+
examples: [
|
|
5280
|
+
{
|
|
5281
|
+
name: "List persistent actions",
|
|
5282
|
+
value: `${packageName} firewall persistent-actions list`
|
|
5283
|
+
},
|
|
5284
|
+
{
|
|
5285
|
+
name: "Inspect a persistent action",
|
|
5286
|
+
value: `${packageName} firewall persistent-actions inspect 51.158.168.18 --host vercel.com --action challenge`
|
|
5287
|
+
}
|
|
5288
|
+
]
|
|
5289
|
+
};
|
|
5008
5290
|
var firewallCommand = {
|
|
5009
5291
|
name: "firewall",
|
|
5010
5292
|
aliases: [],
|
|
@@ -5012,6 +5294,7 @@ var firewallCommand = {
|
|
|
5012
5294
|
arguments: [],
|
|
5013
5295
|
subcommands: [
|
|
5014
5296
|
overviewSubcommand,
|
|
5297
|
+
statusSubcommand,
|
|
5015
5298
|
diffSubcommand,
|
|
5016
5299
|
publishSubcommand,
|
|
5017
5300
|
discardSubcommand,
|
|
@@ -5019,10 +5302,20 @@ var firewallCommand = {
|
|
|
5019
5302
|
rulesSubcommand2,
|
|
5020
5303
|
systemBypassSubcommand,
|
|
5021
5304
|
attackModeSubcommand,
|
|
5022
|
-
systemMitigationsSubcommand
|
|
5305
|
+
systemMitigationsSubcommand,
|
|
5306
|
+
alertsSubcommand,
|
|
5307
|
+
persistentActionsSubcommand
|
|
5023
5308
|
],
|
|
5024
5309
|
options: [],
|
|
5025
5310
|
examples: [
|
|
5311
|
+
{
|
|
5312
|
+
name: "List firewall alerts",
|
|
5313
|
+
value: `${packageName} firewall alerts list`
|
|
5314
|
+
},
|
|
5315
|
+
{
|
|
5316
|
+
name: "List persistent firewall actions",
|
|
5317
|
+
value: `${packageName} firewall persistent-actions list`
|
|
5318
|
+
},
|
|
5026
5319
|
{
|
|
5027
5320
|
name: "Show firewall overview",
|
|
5028
5321
|
value: `${packageName} firewall overview`
|
|
@@ -7159,7 +7452,7 @@ var globalConfigCommand = {
|
|
|
7159
7452
|
};
|
|
7160
7453
|
|
|
7161
7454
|
// src/commands/guidance/command.ts
|
|
7162
|
-
var
|
|
7455
|
+
var statusSubcommand2 = {
|
|
7163
7456
|
name: "status",
|
|
7164
7457
|
aliases: [],
|
|
7165
7458
|
description: "Shows whether guidance messages are enabled or disabled",
|
|
@@ -7188,7 +7481,7 @@ var guidanceCommand = {
|
|
|
7188
7481
|
aliases: [],
|
|
7189
7482
|
description: "Allows you to enable or disable guidance messages",
|
|
7190
7483
|
arguments: [],
|
|
7191
|
-
subcommands: [enableSubcommand2, disableSubcommand2,
|
|
7484
|
+
subcommands: [enableSubcommand2, disableSubcommand2, statusSubcommand2],
|
|
7192
7485
|
options: [],
|
|
7193
7486
|
examples: []
|
|
7194
7487
|
};
|
|
@@ -9447,7 +9740,7 @@ var inspectSubcommand8 = {
|
|
|
9447
9740
|
required: false
|
|
9448
9741
|
}
|
|
9449
9742
|
],
|
|
9450
|
-
options: [yesOption],
|
|
9743
|
+
options: [yesOption, formatOption, jsonOption],
|
|
9451
9744
|
examples: [
|
|
9452
9745
|
{
|
|
9453
9746
|
name: "Inspect the linked project from the current directory",
|
|
@@ -9456,6 +9749,10 @@ var inspectSubcommand8 = {
|
|
|
9456
9749
|
{
|
|
9457
9750
|
name: 'Inspect the project named "my-project"',
|
|
9458
9751
|
value: `${packageName} project inspect my-project`
|
|
9752
|
+
},
|
|
9753
|
+
{
|
|
9754
|
+
name: "Inspect a project as JSON",
|
|
9755
|
+
value: `${packageName} project inspect my-project --format json`
|
|
9459
9756
|
}
|
|
9460
9757
|
]
|
|
9461
9758
|
};
|
|
@@ -10214,7 +10511,7 @@ var timeoutOption = {
|
|
|
10214
10511
|
type: String,
|
|
10215
10512
|
deprecated: false
|
|
10216
10513
|
};
|
|
10217
|
-
var
|
|
10514
|
+
var statusSubcommand3 = {
|
|
10218
10515
|
name: "status",
|
|
10219
10516
|
aliases: [],
|
|
10220
10517
|
description: "Show the status of any current pending promotions",
|
|
@@ -10252,7 +10549,7 @@ var promoteCommand = {
|
|
|
10252
10549
|
required: true
|
|
10253
10550
|
}
|
|
10254
10551
|
],
|
|
10255
|
-
subcommands: [
|
|
10552
|
+
subcommands: [statusSubcommand3],
|
|
10256
10553
|
options: [
|
|
10257
10554
|
timeoutOption,
|
|
10258
10555
|
{
|
|
@@ -10662,7 +10959,7 @@ var timeoutOption2 = {
|
|
|
10662
10959
|
type: String,
|
|
10663
10960
|
deprecated: false
|
|
10664
10961
|
};
|
|
10665
|
-
var
|
|
10962
|
+
var statusSubcommand4 = {
|
|
10666
10963
|
name: "status",
|
|
10667
10964
|
aliases: [],
|
|
10668
10965
|
description: "Show the status of any current pending rollbacks",
|
|
@@ -10694,7 +10991,7 @@ var rollbackCommand = {
|
|
|
10694
10991
|
required: true
|
|
10695
10992
|
}
|
|
10696
10993
|
],
|
|
10697
|
-
subcommands: [
|
|
10994
|
+
subcommands: [statusSubcommand4],
|
|
10698
10995
|
options: [timeoutOption2, yesOption],
|
|
10699
10996
|
examples: [
|
|
10700
10997
|
{
|
|
@@ -11049,6 +11346,241 @@ var skillsCommand = {
|
|
|
11049
11346
|
]
|
|
11050
11347
|
};
|
|
11051
11348
|
|
|
11349
|
+
// src/commands/storage/command.ts
|
|
11350
|
+
var environmentOption3 = {
|
|
11351
|
+
name: "environment",
|
|
11352
|
+
shorthand: "e",
|
|
11353
|
+
type: [String],
|
|
11354
|
+
argument: "ENV",
|
|
11355
|
+
deprecated: false,
|
|
11356
|
+
description: "Environment to target (repeatable: production, preview, development). Defaults to all three."
|
|
11357
|
+
};
|
|
11358
|
+
var authOption = {
|
|
11359
|
+
name: "auth",
|
|
11360
|
+
shorthand: null,
|
|
11361
|
+
type: String,
|
|
11362
|
+
argument: "MODE",
|
|
11363
|
+
deprecated: false,
|
|
11364
|
+
description: "Credential mode: `oidc` (default) or `token`. `token` writes long-lived credentials and requires --add-rw-token."
|
|
11365
|
+
};
|
|
11366
|
+
var updateEnvironmentOption = {
|
|
11367
|
+
...environmentOption3,
|
|
11368
|
+
description: "Environment to target (repeatable: production, preview, development). Defaults to the environments the connection already covers."
|
|
11369
|
+
};
|
|
11370
|
+
var updateAuthOption = {
|
|
11371
|
+
...authOption,
|
|
11372
|
+
description: "Credential mode: `oidc` or `token`. Defaults to the mode the connection already uses, so unrelated updates never rotate credentials. `token` requires --add-rw-token."
|
|
11373
|
+
};
|
|
11374
|
+
var addRwTokenOption = {
|
|
11375
|
+
name: "add-rw-token",
|
|
11376
|
+
shorthand: null,
|
|
11377
|
+
type: Boolean,
|
|
11378
|
+
deprecated: false,
|
|
11379
|
+
description: "Explicitly write the static read-write token env var. Required for --auth token, and additive on top of --auth oidc."
|
|
11380
|
+
};
|
|
11381
|
+
var prefixOption = {
|
|
11382
|
+
name: "prefix",
|
|
11383
|
+
shorthand: null,
|
|
11384
|
+
type: String,
|
|
11385
|
+
argument: "PREFIX",
|
|
11386
|
+
deprecated: false,
|
|
11387
|
+
description: "Prefix for the generated environment variable names (e.g. --prefix UPLOADS writes UPLOADS_STORE_ID)"
|
|
11388
|
+
};
|
|
11389
|
+
var dryRunOption = {
|
|
11390
|
+
name: "dry-run",
|
|
11391
|
+
shorthand: null,
|
|
11392
|
+
type: Boolean,
|
|
11393
|
+
deprecated: false,
|
|
11394
|
+
description: "Print the environment variable changes and exit without applying them"
|
|
11395
|
+
};
|
|
11396
|
+
var connectSubcommand3 = {
|
|
11397
|
+
name: "connect",
|
|
11398
|
+
aliases: [],
|
|
11399
|
+
description: "Connect a storage resource (Blob, Marketplace, or 1P) to a project",
|
|
11400
|
+
arguments: [
|
|
11401
|
+
{
|
|
11402
|
+
name: "store",
|
|
11403
|
+
required: true
|
|
11404
|
+
}
|
|
11405
|
+
],
|
|
11406
|
+
options: [
|
|
11407
|
+
projectOption,
|
|
11408
|
+
environmentOption3,
|
|
11409
|
+
authOption,
|
|
11410
|
+
addRwTokenOption,
|
|
11411
|
+
prefixOption,
|
|
11412
|
+
dryRunOption,
|
|
11413
|
+
{
|
|
11414
|
+
...yesOption,
|
|
11415
|
+
description: "Skip the confirmation prompt when connecting a resource"
|
|
11416
|
+
},
|
|
11417
|
+
formatOption,
|
|
11418
|
+
jsonOption
|
|
11419
|
+
],
|
|
11420
|
+
examples: [
|
|
11421
|
+
{
|
|
11422
|
+
name: "Connect a store to the linked project in every environment",
|
|
11423
|
+
value: [
|
|
11424
|
+
`${packageName} storage connect <store>`,
|
|
11425
|
+
`${packageName} storage connect my-blob-store`
|
|
11426
|
+
]
|
|
11427
|
+
},
|
|
11428
|
+
{
|
|
11429
|
+
name: "Connect to a specific project and environments",
|
|
11430
|
+
value: `${packageName} storage connect my-blob-store --project my-app --environment production --environment preview`
|
|
11431
|
+
},
|
|
11432
|
+
{
|
|
11433
|
+
name: "Preview the exact environment variable changes without applying them",
|
|
11434
|
+
value: [
|
|
11435
|
+
`${packageName} storage connect my-blob-store --dry-run`,
|
|
11436
|
+
`${packageName} storage connect my-blob-store --dry-run --json`
|
|
11437
|
+
]
|
|
11438
|
+
},
|
|
11439
|
+
{
|
|
11440
|
+
name: "Opt in to the static read-write token alongside OIDC",
|
|
11441
|
+
value: `${packageName} storage connect my-blob-store --add-rw-token --yes`
|
|
11442
|
+
},
|
|
11443
|
+
{
|
|
11444
|
+
name: "Use only static credentials (requires the explicit opt-in)",
|
|
11445
|
+
value: `${packageName} storage connect my-blob-store --auth token --add-rw-token --yes`
|
|
11446
|
+
}
|
|
11447
|
+
]
|
|
11448
|
+
};
|
|
11449
|
+
var statusSubcommand5 = {
|
|
11450
|
+
name: "status",
|
|
11451
|
+
aliases: [],
|
|
11452
|
+
description: "Show storage connections, their environments, credential mode, and environment variables",
|
|
11453
|
+
arguments: [
|
|
11454
|
+
{
|
|
11455
|
+
name: "store",
|
|
11456
|
+
required: false
|
|
11457
|
+
}
|
|
11458
|
+
],
|
|
11459
|
+
options: [
|
|
11460
|
+
projectOption,
|
|
11461
|
+
{
|
|
11462
|
+
...allOption,
|
|
11463
|
+
description: "Show every storage resource in the current scope"
|
|
11464
|
+
},
|
|
11465
|
+
formatOption,
|
|
11466
|
+
jsonOption
|
|
11467
|
+
],
|
|
11468
|
+
examples: [
|
|
11469
|
+
{
|
|
11470
|
+
name: "Show the storage connections of the linked project",
|
|
11471
|
+
value: `${packageName} storage status`
|
|
11472
|
+
},
|
|
11473
|
+
{
|
|
11474
|
+
name: "Show every project connected to one store",
|
|
11475
|
+
value: `${packageName} storage status my-blob-store`
|
|
11476
|
+
},
|
|
11477
|
+
{
|
|
11478
|
+
name: "Show every storage resource in the current scope as JSON",
|
|
11479
|
+
value: `${packageName} storage status --all --json`
|
|
11480
|
+
}
|
|
11481
|
+
]
|
|
11482
|
+
};
|
|
11483
|
+
var updateSubcommand8 = {
|
|
11484
|
+
name: "update",
|
|
11485
|
+
aliases: [],
|
|
11486
|
+
description: "Update an existing storage connection (environments, prefix, or credential mode)",
|
|
11487
|
+
arguments: [
|
|
11488
|
+
{
|
|
11489
|
+
name: "store",
|
|
11490
|
+
required: true
|
|
11491
|
+
}
|
|
11492
|
+
],
|
|
11493
|
+
options: [
|
|
11494
|
+
projectOption,
|
|
11495
|
+
updateEnvironmentOption,
|
|
11496
|
+
updateAuthOption,
|
|
11497
|
+
addRwTokenOption,
|
|
11498
|
+
prefixOption,
|
|
11499
|
+
dryRunOption,
|
|
11500
|
+
{
|
|
11501
|
+
...yesOption,
|
|
11502
|
+
description: "Skip the confirmation prompt when updating a connection"
|
|
11503
|
+
},
|
|
11504
|
+
formatOption,
|
|
11505
|
+
jsonOption
|
|
11506
|
+
],
|
|
11507
|
+
examples: [
|
|
11508
|
+
{
|
|
11509
|
+
name: "Move an existing connection to OIDC credentials",
|
|
11510
|
+
value: `${packageName} storage update my-blob-store --auth oidc --yes`
|
|
11511
|
+
},
|
|
11512
|
+
{
|
|
11513
|
+
name: "Change the environments of a connection",
|
|
11514
|
+
value: `${packageName} storage update my-blob-store --environment production --yes`
|
|
11515
|
+
},
|
|
11516
|
+
{
|
|
11517
|
+
name: "Preview the environment variable changes without applying them",
|
|
11518
|
+
value: `${packageName} storage update my-blob-store --auth oidc --dry-run`
|
|
11519
|
+
}
|
|
11520
|
+
]
|
|
11521
|
+
};
|
|
11522
|
+
var disconnectSubcommand3 = {
|
|
11523
|
+
name: "disconnect",
|
|
11524
|
+
aliases: [],
|
|
11525
|
+
description: "Disconnect a storage resource from a project. Removes its environment variables, so it always requires interactive confirmation.",
|
|
11526
|
+
arguments: [
|
|
11527
|
+
{
|
|
11528
|
+
name: "store",
|
|
11529
|
+
required: true
|
|
11530
|
+
}
|
|
11531
|
+
],
|
|
11532
|
+
options: [
|
|
11533
|
+
projectOption,
|
|
11534
|
+
{
|
|
11535
|
+
...allOption,
|
|
11536
|
+
description: "Disconnect every project from the specified resource"
|
|
11537
|
+
},
|
|
11538
|
+
dryRunOption,
|
|
11539
|
+
formatOption,
|
|
11540
|
+
jsonOption
|
|
11541
|
+
],
|
|
11542
|
+
examples: [
|
|
11543
|
+
{
|
|
11544
|
+
name: "Disconnect a store from the linked project (always asks for confirmation)",
|
|
11545
|
+
value: `${packageName} storage disconnect my-blob-store`
|
|
11546
|
+
},
|
|
11547
|
+
{
|
|
11548
|
+
name: "Disconnect a store from every project",
|
|
11549
|
+
value: `${packageName} storage disconnect my-blob-store --all`
|
|
11550
|
+
},
|
|
11551
|
+
{
|
|
11552
|
+
name: "Preview the environment variables that would be removed",
|
|
11553
|
+
value: [
|
|
11554
|
+
`${packageName} storage disconnect my-blob-store --dry-run`,
|
|
11555
|
+
`${packageName} storage disconnect my-blob-store --dry-run --json`
|
|
11556
|
+
]
|
|
11557
|
+
}
|
|
11558
|
+
]
|
|
11559
|
+
};
|
|
11560
|
+
var storageCommand = {
|
|
11561
|
+
name: "storage",
|
|
11562
|
+
aliases: [],
|
|
11563
|
+
description: "Connect and manage storage resources (Blob, Marketplace, and 1P) for your Projects",
|
|
11564
|
+
options: [],
|
|
11565
|
+
arguments: [],
|
|
11566
|
+
subcommands: [
|
|
11567
|
+
connectSubcommand3,
|
|
11568
|
+
statusSubcommand5,
|
|
11569
|
+
updateSubcommand8,
|
|
11570
|
+
disconnectSubcommand3
|
|
11571
|
+
],
|
|
11572
|
+
examples: [
|
|
11573
|
+
{
|
|
11574
|
+
name: "Connect a store to the linked project",
|
|
11575
|
+
value: `${packageName} storage connect my-blob-store --yes`
|
|
11576
|
+
},
|
|
11577
|
+
{
|
|
11578
|
+
name: "Inspect what is connected today",
|
|
11579
|
+
value: `${packageName} storage status`
|
|
11580
|
+
}
|
|
11581
|
+
]
|
|
11582
|
+
};
|
|
11583
|
+
|
|
11052
11584
|
// src/commands/target/command.ts
|
|
11053
11585
|
var listSubcommand17 = {
|
|
11054
11586
|
name: "list",
|
|
@@ -11342,7 +11874,7 @@ var tokensCommand = {
|
|
|
11342
11874
|
};
|
|
11343
11875
|
|
|
11344
11876
|
// src/commands/telemetry/command.ts
|
|
11345
|
-
var
|
|
11877
|
+
var statusSubcommand6 = {
|
|
11346
11878
|
name: "status",
|
|
11347
11879
|
aliases: [],
|
|
11348
11880
|
description: "Shows whether telemetry collection is enabled or disabled",
|
|
@@ -11383,7 +11915,7 @@ var telemetryCommand = {
|
|
|
11383
11915
|
subcommands: [
|
|
11384
11916
|
enableSubcommand3,
|
|
11385
11917
|
disableSubcommand3,
|
|
11386
|
-
|
|
11918
|
+
statusSubcommand6,
|
|
11387
11919
|
flushSubcommand
|
|
11388
11920
|
],
|
|
11389
11921
|
options: [],
|
|
@@ -11568,7 +12100,7 @@ var useSubcommand = {
|
|
|
11568
12100
|
}
|
|
11569
12101
|
]
|
|
11570
12102
|
};
|
|
11571
|
-
var
|
|
12103
|
+
var updateSubcommand9 = {
|
|
11572
12104
|
name: "update",
|
|
11573
12105
|
aliases: ["upgrade"],
|
|
11574
12106
|
description: "Updates the Vercel CLI to the latest version",
|
|
@@ -11607,7 +12139,7 @@ var versionCommand = {
|
|
|
11607
12139
|
listSubcommand20,
|
|
11608
12140
|
installedSubcommand,
|
|
11609
12141
|
useSubcommand,
|
|
11610
|
-
|
|
12142
|
+
updateSubcommand9,
|
|
11611
12143
|
autoupdateSubcommand
|
|
11612
12144
|
],
|
|
11613
12145
|
options: [],
|
|
@@ -11668,7 +12200,7 @@ var accessOption = {
|
|
|
11668
12200
|
argument: "String",
|
|
11669
12201
|
choices: ["public", "private"]
|
|
11670
12202
|
};
|
|
11671
|
-
var
|
|
12203
|
+
var environmentOption4 = {
|
|
11672
12204
|
name: "environment",
|
|
11673
12205
|
shorthand: "e",
|
|
11674
12206
|
type: [String],
|
|
@@ -12176,7 +12708,7 @@ var createStoreSubcommand = {
|
|
|
12176
12708
|
argument: "STRING"
|
|
12177
12709
|
},
|
|
12178
12710
|
yesOption,
|
|
12179
|
-
|
|
12711
|
+
environmentOption4
|
|
12180
12712
|
],
|
|
12181
12713
|
examples: [
|
|
12182
12714
|
{
|
|
@@ -12468,6 +13000,7 @@ var commandsStructs = [
|
|
|
12468
13000
|
sandboxCommand,
|
|
12469
13001
|
securityCommand,
|
|
12470
13002
|
skillsCommand,
|
|
13003
|
+
storageCommand,
|
|
12471
13004
|
targetCommand,
|
|
12472
13005
|
teamsCommand,
|
|
12473
13006
|
tokensCommand,
|
|
@@ -12620,6 +13153,7 @@ export {
|
|
|
12620
13153
|
verifySubcommand,
|
|
12621
13154
|
domainsCommand,
|
|
12622
13155
|
overviewSubcommand,
|
|
13156
|
+
statusSubcommand,
|
|
12623
13157
|
diffSubcommand,
|
|
12624
13158
|
publishSubcommand,
|
|
12625
13159
|
discardSubcommand,
|
|
@@ -12646,6 +13180,12 @@ export {
|
|
|
12646
13180
|
systemMitigationsPauseSubcommand,
|
|
12647
13181
|
systemMitigationsResumeSubcommand,
|
|
12648
13182
|
systemMitigationsSubcommand,
|
|
13183
|
+
alertsListSubcommand,
|
|
13184
|
+
alertsInspectSubcommand,
|
|
13185
|
+
alertsSubcommand,
|
|
13186
|
+
persistentActionsListSubcommand,
|
|
13187
|
+
persistentActionsInspectSubcommand,
|
|
13188
|
+
persistentActionsSubcommand,
|
|
12649
13189
|
firewallCommand,
|
|
12650
13190
|
isTimestampAttributeType,
|
|
12651
13191
|
isBucketingAttribute,
|
|
@@ -12706,7 +13246,7 @@ export {
|
|
|
12706
13246
|
tokensSubcommand,
|
|
12707
13247
|
backupsSubcommand,
|
|
12708
13248
|
globalConfigCommand,
|
|
12709
|
-
|
|
13249
|
+
statusSubcommand2,
|
|
12710
13250
|
enableSubcommand2,
|
|
12711
13251
|
disableSubcommand2,
|
|
12712
13252
|
guidanceCommand,
|
|
@@ -12791,7 +13331,7 @@ export {
|
|
|
12791
13331
|
speedInsightsSubcommand,
|
|
12792
13332
|
observabilitySubcommand,
|
|
12793
13333
|
projectCommand,
|
|
12794
|
-
|
|
13334
|
+
statusSubcommand3,
|
|
12795
13335
|
promoteCommand,
|
|
12796
13336
|
redeployCommand,
|
|
12797
13337
|
listSubcommand16,
|
|
@@ -12803,7 +13343,7 @@ export {
|
|
|
12803
13343
|
restoreSubcommand,
|
|
12804
13344
|
redirectsCommand,
|
|
12805
13345
|
removeCommand,
|
|
12806
|
-
|
|
13346
|
+
statusSubcommand4,
|
|
12807
13347
|
rollbackCommand,
|
|
12808
13348
|
configureSubcommand,
|
|
12809
13349
|
startSubcommand,
|
|
@@ -12815,6 +13355,11 @@ export {
|
|
|
12815
13355
|
checkSubcommand2,
|
|
12816
13356
|
securityCommand,
|
|
12817
13357
|
skillsCommand,
|
|
13358
|
+
connectSubcommand3,
|
|
13359
|
+
statusSubcommand5,
|
|
13360
|
+
updateSubcommand8,
|
|
13361
|
+
disconnectSubcommand3,
|
|
13362
|
+
storageCommand,
|
|
12818
13363
|
listSubcommand17,
|
|
12819
13364
|
targetCommand,
|
|
12820
13365
|
requestSubcommand,
|
|
@@ -12829,7 +13374,7 @@ export {
|
|
|
12829
13374
|
addSubcommand12,
|
|
12830
13375
|
removeSubcommand15,
|
|
12831
13376
|
tokensCommand,
|
|
12832
|
-
|
|
13377
|
+
statusSubcommand6,
|
|
12833
13378
|
enableSubcommand3,
|
|
12834
13379
|
flushSubcommand,
|
|
12835
13380
|
disableSubcommand3,
|
|
@@ -12839,7 +13384,7 @@ export {
|
|
|
12839
13384
|
listSubcommand20,
|
|
12840
13385
|
installedSubcommand,
|
|
12841
13386
|
useSubcommand,
|
|
12842
|
-
|
|
13387
|
+
updateSubcommand9,
|
|
12843
13388
|
autoupdateSubcommand,
|
|
12844
13389
|
versionCommand,
|
|
12845
13390
|
whoamiCommand,
|