vercel 59.5.0 → 59.6.2
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-W3FFMTX4.js → add-4GQZ22ZN.js} +11 -11
- package/dist/chunks/{add-MH3WV6PV.js → add-HJSEM4YJ.js} +11 -11
- package/dist/chunks/{add-Z5FM6TFI.js → add-SIGUSM3Y.js} +12 -12
- package/dist/chunks/{build-VYYFBJL7.js → build-XOMJDX4M.js} +11 -11
- package/dist/chunks/{chunk-NSU2BTRS.js → chunk-2O5J3KMT.js} +4 -4
- package/dist/chunks/{chunk-RZ5NP6HN.js → chunk-2YRAWYGE.js} +1 -1
- package/dist/chunks/{chunk-JNU3DTEV.js → chunk-37V5P4VO.js} +9 -9
- package/dist/chunks/{chunk-LLM3ZNXJ.js → chunk-3F5EGINT.js} +2 -2
- package/dist/chunks/{chunk-KQRVZWJU.js → chunk-3T7WSWZH.js} +1 -1
- package/dist/chunks/{chunk-R6IGDGX3.js → chunk-5XECIWME.js} +1 -1
- package/dist/chunks/{chunk-AWSLWAOC.js → chunk-6JPVTPTU.js} +3 -3
- package/dist/chunks/{chunk-M3OSDZPY.js → chunk-6M2KZUED.js} +16 -7
- package/dist/chunks/{chunk-HT2XWSAJ.js → chunk-7AEEQOD4.js} +2 -29
- package/dist/chunks/{chunk-QG4PCM45.js → chunk-7HE63HCR.js} +102 -15
- package/dist/chunks/{chunk-V4YLY44R.js → chunk-7R6M3BHM.js} +2 -2
- package/dist/chunks/{chunk-XBN2O34P.js → chunk-7ST552E3.js} +17 -4
- package/dist/chunks/{chunk-CV4S27SS.js → chunk-ASBP32T6.js} +1 -1
- package/dist/chunks/{chunk-CQJRLNTX.js → chunk-AYLY3ZVL.js} +2 -2
- package/dist/chunks/{chunk-AWCID36T.js → chunk-BMKU5KEL.js} +1 -1
- package/dist/chunks/{chunk-UUVMIXT4.js → chunk-DE7MBNHQ.js} +4 -4
- package/dist/chunks/{chunk-YIHOS3ZF.js → chunk-FRAXI2WT.js} +1 -1
- package/dist/chunks/{chunk-FA3MO56Q.js → chunk-FRZULOVH.js} +5 -5
- package/dist/chunks/{chunk-7XX4ZEOV.js → chunk-FWKSJYDV.js} +1 -1
- package/dist/chunks/{chunk-OHER4DGX.js → chunk-FXD67VN5.js} +25 -9
- package/dist/chunks/{chunk-TIWAL2YU.js → chunk-GISTGGBO.js} +6 -6
- package/dist/chunks/{chunk-CSCSGSQG.js → chunk-GZQQNLF5.js} +5 -5
- package/dist/chunks/{chunk-PIMIKY4X.js → chunk-IJ4X426J.js} +1 -1
- package/dist/chunks/{chunk-TDXNNIZ6.js → chunk-JH4WQRIU.js} +2 -2
- package/dist/chunks/{chunk-TVXCXIRO.js → chunk-L3UXB2CW.js} +1 -1
- package/dist/chunks/{chunk-4JTF6RD7.js → chunk-LXZVOR6F.js} +4 -4
- package/dist/chunks/{chunk-L7CEMAJG.js → chunk-NGGLYKNU.js} +27 -5
- package/dist/chunks/{chunk-VWYNSJXI.js → chunk-NGNN6WF2.js} +8 -8
- package/dist/chunks/{chunk-GGPE5377.js → chunk-O26N2UPI.js} +1 -1
- package/dist/chunks/{chunk-5LX2JDZP.js → chunk-O75LSD3C.js} +1 -1
- package/dist/chunks/{chunk-MRMNMFMD.js → chunk-PRH6KRUT.js} +1 -1
- package/dist/chunks/{chunk-OX7KI3LF.js → chunk-QFAS4OVW.js} +18 -0
- package/dist/chunks/{chunk-PBHBX6UL.js → chunk-R5PULMHT.js} +3 -3
- package/dist/chunks/{chunk-PPUWG2UB.js → chunk-SF3AYAIF.js} +58 -25
- package/dist/chunks/{chunk-TAZ5ZAKG.js → chunk-SWI6F4X3.js} +2 -2
- package/dist/chunks/{chunk-ZKUHCL6O.js → chunk-V3MDDR2X.js} +5 -5
- package/dist/chunks/{chunk-E6LFKMI2.js → chunk-VJ5NAOWB.js} +791 -122
- package/dist/chunks/{chunk-G75NFPIT.js → chunk-WNAKOXGK.js} +1 -1
- package/dist/chunks/{chunk-JJQP3PYM.js → chunk-WZ2S3A2A.js} +5 -5
- package/dist/chunks/{chunk-CYNB6LL4.js → chunk-XNFHNTS2.js} +1 -1
- package/dist/chunks/{chunk-47VQ6H2S.js → chunk-YJKZQEHS.js} +2 -2
- package/dist/chunks/{chunk-GUWPUX2Y.js → chunk-ZNMTDLYH.js} +4 -4
- package/dist/chunks/{chunk-VLPLCJZC.js → chunk-ZSFEACZU.js} +1 -1
- package/dist/chunks/{clear-TNGRDA7D.js → clear-BWT2FJY4.js} +11 -11
- package/dist/chunks/{compile-vercel-config-ERLXKKWW.js → compile-vercel-config-DGM4NISW.js} +7 -7
- package/dist/chunks/{config-H22EE765.js → config-NJAN3RMU.js} +11 -11
- package/dist/chunks/{config-7EDKML5Q.js → config-RSE6Z4LB.js} +9 -9
- package/dist/chunks/{constants-YMCRE6IG.js → constants-WEQVJSYS.js} +1 -1
- package/dist/chunks/{delete-Q4S5F2AI.js → delete-LROBRBAH.js} +9 -9
- package/dist/chunks/{delete-LORYIZHY.js → delete-SSL2PK2F.js} +8 -8
- package/dist/chunks/{disable-HKWCBDJC.js → disable-ASG5JDZR.js} +8 -8
- package/dist/chunks/{discard-UCCRF2JQ.js → discard-PV47B6IL.js} +8 -8
- package/dist/chunks/{edit-AWL35PYQ.js → edit-5ATYIOLX.js} +10 -10
- package/dist/chunks/{edit-6IM6VRBR.js → edit-REI7HXGG.js} +10 -10
- package/dist/chunks/{enable-GN3D3L3V.js → enable-LZXL7XAG.js} +8 -8
- package/dist/chunks/{exec-CNBOV577.js → exec-XH4K34JM.js} +3 -3
- package/dist/chunks/{export-HHRVFALV.js → export-ZAZFQU2E.js} +8 -8
- package/dist/chunks/{image-4DCU4VPP.js → image-QPHN5V7L.js} +6 -6
- package/dist/chunks/{import-builders-DVG3HOTF.js → import-builders-W3YE2V6A.js} +9 -9
- package/dist/chunks/{inspect-TUW67CFZ.js → inspect-BFGK72WY.js} +10 -10
- package/dist/chunks/{inspect-TGOJDKIT.js → inspect-FRXJRM6T.js} +9 -9
- package/dist/chunks/{inspect-B3OWUFLH.js → inspect-RDMC2Z3Q.js} +11 -11
- package/dist/chunks/{inspect-VPME6UC7.js → inspect-SJEZVGPK.js} +11 -11
- package/dist/chunks/{inspect-VLGKNHJW.js → inspect-SSOM3FXS.js} +11 -11
- package/dist/chunks/{list-K552ITMK.js → list-2HTR7Q3J.js} +9 -9
- package/dist/chunks/{list-TK2JO7BK.js → list-PHDUZVMR.js} +8 -8
- package/dist/chunks/{list-2DPKDHRV.js → list-W33GXKDA.js} +10 -10
- package/dist/chunks/{login-HRWEKW5P.js → login-JWAFHVDG.js} +21 -12
- package/dist/chunks/{ls-M5TYGFP5.js → ls-3AN2DZHN.js} +11 -11
- package/dist/chunks/{ls-YIF3KLF3.js → ls-3MH2OCP3.js} +11 -11
- package/dist/chunks/{ls-TM6NTZEB.js → ls-D2POUHI7.js} +9 -9
- package/dist/chunks/{ls-JSV2WZVF.js → ls-KDFU224B.js} +11 -11
- package/dist/chunks/{ls-IOXGXEY4.js → ls-KX2VBOGV.js} +10 -10
- package/dist/chunks/{ls-O2WYF5UL.js → ls-RWKNJQNT.js} +11 -11
- package/dist/chunks/{open-FWAVEWGU.js → open-IEYRB6RL.js} +9 -9
- package/dist/chunks/{permissions-DPFYL47Z.js → permissions-ZWZUMEHR.js} +7 -7
- package/dist/chunks/{publish-63CGFKQR.js → publish-UWZYBDHK.js} +8 -8
- package/dist/chunks/{push-T5ZTBW3P.js → push-IAEQ3FBF.js} +11 -11
- package/dist/chunks/{query-B6O3EMEV.js → query-NNOZYSED.js} +11 -11
- package/dist/chunks/{reorder-ANV4NMKH.js → reorder-TKBM244W.js} +8 -8
- package/dist/chunks/{reply-C73KGOCG.js → reply-FLBSBMTW.js} +10 -10
- package/dist/chunks/{resolve-IHSIVPEE.js → resolve-GJYPMWUE.js} +9 -9
- package/dist/chunks/{restore-GSUNXP2O.js → restore-PNI3TM3U.js} +8 -8
- package/dist/chunks/{rm-4O74PS4Q.js → rm-76CSSSSV.js} +11 -11
- package/dist/chunks/{rm-M7IJC2WZ.js → rm-FN7LTIIL.js} +11 -11
- package/dist/chunks/{rm-YDTK5ESZ.js → rm-FTE33UHE.js} +10 -10
- package/dist/chunks/{rm-RV5SQFQA.js → rm-FXA5DLXQ.js} +11 -13
- package/dist/chunks/{rm-PRINF4OU.js → rm-PGJ4KR6U.js} +11 -11
- package/dist/chunks/{routes-SZI2G4SE.js → routes-2OLIBRYX.js} +3 -3
- package/dist/chunks/{rule-inspect-ZZC53FLP.js → rule-inspect-LJIGPTWS.js} +10 -10
- package/dist/chunks/{rules-SAOSSGFI.js → rules-6BMNO6M5.js} +10 -10
- package/dist/chunks/{schema-23ZFAKDU.js → schema-45SJNY5L.js} +4 -4
- package/dist/chunks/{schema-2Q3QRMRO.js → schema-HATXEQDP.js} +9 -9
- package/dist/chunks/{set-L47ZCZBJ.js → set-C3UQUQ42.js} +9 -9
- package/dist/chunks/{tags-2TWLM77N.js → tags-BTVDROFG.js} +5 -5
- package/dist/chunks/{types-G3PEUIJH.js → types-JGANJ5EQ.js} +3 -3
- package/dist/chunks/{update-SZH2VBD6.js → update-B6PSOHUW.js} +12 -12
- package/dist/commands/build/builder-worker.cjs +281 -0
- package/dist/commands/build/index.js +690 -235
- package/dist/commands/deploy/index.js +103 -31
- package/dist/commands/dev/index.js +669 -140
- package/dist/commands/env/index.js +1167 -542
- package/dist/commands/link/index.js +10 -10
- package/dist/commands/list/index.js +10 -10
- package/dist/commands-bulk.js +1978 -953
- package/dist/index.js +18 -18
- package/dist/version.mjs +1 -1
- package/package.json +47 -47
- package/dist/chunks/chunk-HGRWPPYB.js +0 -18
|
@@ -34,10 +34,10 @@ import {
|
|
|
34
34
|
import {
|
|
35
35
|
buildCommand,
|
|
36
36
|
pullCommand
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-FWKSJYDV.js";
|
|
38
38
|
import {
|
|
39
39
|
envCommand
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-FXD67VN5.js";
|
|
41
41
|
import {
|
|
42
42
|
confirmOption,
|
|
43
43
|
deploymentOption,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
} from "./chunk-Q2DGFCO7.js";
|
|
54
54
|
import {
|
|
55
55
|
output_manager_default
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-QFAS4OVW.js";
|
|
57
57
|
|
|
58
58
|
// src/commands/deploy/command.ts
|
|
59
59
|
var deprecatedArchiveSplitTgz = "split-tgz";
|
|
@@ -1232,7 +1232,7 @@ var modelsSubcommand = {
|
|
|
1232
1232
|
var budgetsSetSubcommand = {
|
|
1233
1233
|
name: "set",
|
|
1234
1234
|
aliases: [],
|
|
1235
|
-
description: "Create or update an AI Gateway budget for a scope (team or
|
|
1235
|
+
description: "Create or update an AI Gateway budget for a scope (team, project <name>, user <email>, or api-key <name>)",
|
|
1236
1236
|
arguments: [
|
|
1237
1237
|
{ name: "scope", required: true },
|
|
1238
1238
|
{ name: "name", required: false }
|
|
@@ -1254,13 +1254,6 @@ var budgetsSetSubcommand = {
|
|
|
1254
1254
|
deprecated: false,
|
|
1255
1255
|
description: "Budget refresh cadence: daily, weekly, monthly, or none (default: monthly)"
|
|
1256
1256
|
},
|
|
1257
|
-
{
|
|
1258
|
-
name: "include-byok",
|
|
1259
|
-
shorthand: null,
|
|
1260
|
-
type: Boolean,
|
|
1261
|
-
deprecated: false,
|
|
1262
|
-
description: "Include BYOK usage in the budget (default: false)"
|
|
1263
|
-
},
|
|
1264
1257
|
formatOption,
|
|
1265
1258
|
jsonOption
|
|
1266
1259
|
],
|
|
@@ -1272,6 +1265,34 @@ var budgetsSetSubcommand = {
|
|
|
1272
1265
|
{
|
|
1273
1266
|
name: "Set a project budget",
|
|
1274
1267
|
value: `${packageName} ai-gateway budgets set project my-project --limit 200`
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
name: "Set a user's budget",
|
|
1271
|
+
value: `${packageName} ai-gateway budgets set user teammate@example.com --limit 100`
|
|
1272
|
+
},
|
|
1273
|
+
{
|
|
1274
|
+
name: "Set an API key's budget",
|
|
1275
|
+
value: `${packageName} ai-gateway budgets set api-key my-key --limit 50`
|
|
1276
|
+
}
|
|
1277
|
+
]
|
|
1278
|
+
};
|
|
1279
|
+
var budgetsInspectSubcommand = {
|
|
1280
|
+
name: "inspect",
|
|
1281
|
+
aliases: [],
|
|
1282
|
+
description: "Show one AI Gateway budget for a scope (team, project <name>, user <email>, or api-key <name>)",
|
|
1283
|
+
arguments: [
|
|
1284
|
+
{ name: "scope", required: true },
|
|
1285
|
+
{ name: "name", required: false }
|
|
1286
|
+
],
|
|
1287
|
+
options: [formatOption, jsonOption],
|
|
1288
|
+
examples: [
|
|
1289
|
+
{
|
|
1290
|
+
name: "Inspect a user's budget",
|
|
1291
|
+
value: `${packageName} ai-gateway budgets inspect user teammate@example.com`
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
name: "Inspect a project budget as JSON",
|
|
1295
|
+
value: `${packageName} ai-gateway budgets inspect project my-project --format json`
|
|
1275
1296
|
}
|
|
1276
1297
|
]
|
|
1277
1298
|
};
|
|
@@ -1291,7 +1312,7 @@ var budgetsListSubcommand = {
|
|
|
1291
1312
|
var budgetsRemoveSubcommand = {
|
|
1292
1313
|
name: "remove",
|
|
1293
1314
|
aliases: ["rm", "delete"],
|
|
1294
|
-
description: "Remove an AI Gateway budget for a scope (team or
|
|
1315
|
+
description: "Remove an AI Gateway budget for a scope (team, project <name>, user <email>, or api-key <name>)",
|
|
1295
1316
|
arguments: [
|
|
1296
1317
|
{ name: "scope", required: true },
|
|
1297
1318
|
{ name: "name", required: false }
|
|
@@ -1305,6 +1326,14 @@ var budgetsRemoveSubcommand = {
|
|
|
1305
1326
|
{
|
|
1306
1327
|
name: "Remove a project budget",
|
|
1307
1328
|
value: `${packageName} ai-gateway budgets rm project my-project`
|
|
1329
|
+
},
|
|
1330
|
+
{
|
|
1331
|
+
name: "Remove a user's budget",
|
|
1332
|
+
value: `${packageName} ai-gateway budgets rm user teammate@example.com`
|
|
1333
|
+
},
|
|
1334
|
+
{
|
|
1335
|
+
name: "Remove an API key's budget",
|
|
1336
|
+
value: `${packageName} ai-gateway budgets rm api-key my-key`
|
|
1308
1337
|
}
|
|
1309
1338
|
]
|
|
1310
1339
|
};
|
|
@@ -1387,7 +1416,7 @@ var budgetsDefaultsListSubcommand = {
|
|
|
1387
1416
|
var budgetsDefaultsSetSubcommand = {
|
|
1388
1417
|
name: "set",
|
|
1389
1418
|
aliases: [],
|
|
1390
|
-
description: "Create or update the AI Gateway budget default for a scope (project
|
|
1419
|
+
description: "Create or update the AI Gateway budget default for a scope (project, api-key, or user), applied to resources of that scope without an explicit budget",
|
|
1391
1420
|
arguments: [{ name: "scope", required: true }],
|
|
1392
1421
|
options: [
|
|
1393
1422
|
{
|
|
@@ -1416,13 +1445,17 @@ var budgetsDefaultsSetSubcommand = {
|
|
|
1416
1445
|
{
|
|
1417
1446
|
name: "Set the per-api-key default",
|
|
1418
1447
|
value: `${packageName} ai-gateway budgets defaults set api-key --limit 50`
|
|
1448
|
+
},
|
|
1449
|
+
{
|
|
1450
|
+
name: "Set the per-member default",
|
|
1451
|
+
value: `${packageName} ai-gateway budgets defaults set user --limit 50`
|
|
1419
1452
|
}
|
|
1420
1453
|
]
|
|
1421
1454
|
};
|
|
1422
1455
|
var budgetsDefaultsRemoveSubcommand = {
|
|
1423
1456
|
name: "remove",
|
|
1424
1457
|
aliases: ["rm", "delete"],
|
|
1425
|
-
description: "Remove the AI Gateway budget default for a scope (project
|
|
1458
|
+
description: "Remove the AI Gateway budget default for a scope (project, api-key, or user)",
|
|
1426
1459
|
arguments: [{ name: "scope", required: true }],
|
|
1427
1460
|
options: [yesOption, formatOption],
|
|
1428
1461
|
examples: [
|
|
@@ -1435,7 +1468,7 @@ var budgetsDefaultsRemoveSubcommand = {
|
|
|
1435
1468
|
var budgetsDefaultsSubcommand = {
|
|
1436
1469
|
name: "defaults",
|
|
1437
1470
|
aliases: [],
|
|
1438
|
-
description: "Manage AI Gateway budget defaults (per-project
|
|
1471
|
+
description: "Manage AI Gateway budget defaults (per-project, per-api-key, and per-member spend limits applied by default)",
|
|
1439
1472
|
arguments: [],
|
|
1440
1473
|
subcommands: [
|
|
1441
1474
|
budgetsDefaultsListSubcommand,
|
|
@@ -1453,6 +1486,7 @@ var budgetsSubcommand = {
|
|
|
1453
1486
|
subcommands: [
|
|
1454
1487
|
budgetsSetSubcommand,
|
|
1455
1488
|
budgetsListSubcommand,
|
|
1489
|
+
budgetsInspectSubcommand,
|
|
1456
1490
|
budgetsRemoveSubcommand,
|
|
1457
1491
|
budgetsDefaultsSubcommand
|
|
1458
1492
|
],
|
|
@@ -9425,8 +9459,52 @@ var updateSubcommand7 = {
|
|
|
9425
9459
|
description: "Reset a setting to automatic detection; repeat for build-command, dev-command, install-command, output-directory, or root-directory",
|
|
9426
9460
|
deprecated: false
|
|
9427
9461
|
},
|
|
9462
|
+
{
|
|
9463
|
+
name: "fluid-compute",
|
|
9464
|
+
shorthand: null,
|
|
9465
|
+
type: String,
|
|
9466
|
+
argument: "on|off",
|
|
9467
|
+
description: "Enable or disable Fluid compute",
|
|
9468
|
+
deprecated: false
|
|
9469
|
+
},
|
|
9470
|
+
{
|
|
9471
|
+
name: "function-cpu",
|
|
9472
|
+
shorthand: null,
|
|
9473
|
+
type: String,
|
|
9474
|
+
argument: "TIER",
|
|
9475
|
+
description: "Set the default function CPU/memory tier: standard_legacy, standard, performance, or performance_xl",
|
|
9476
|
+
deprecated: false
|
|
9477
|
+
},
|
|
9428
9478
|
sandboxRegionOption,
|
|
9429
9479
|
sandboxFailoverRegionsOption,
|
|
9480
|
+
{
|
|
9481
|
+
name: "build-machine",
|
|
9482
|
+
shorthand: null,
|
|
9483
|
+
type: String,
|
|
9484
|
+
argument: "TYPE",
|
|
9485
|
+
description: "Set the build machine type: basic, standard, enhanced, turbo, or elastic",
|
|
9486
|
+
deprecated: false
|
|
9487
|
+
},
|
|
9488
|
+
{
|
|
9489
|
+
name: "elastic-concurrency",
|
|
9490
|
+
shorthand: null,
|
|
9491
|
+
type: String,
|
|
9492
|
+
argument: "on|off",
|
|
9493
|
+
description: "Enable or disable elastic concurrency for builds",
|
|
9494
|
+
deprecated: false
|
|
9495
|
+
},
|
|
9496
|
+
{
|
|
9497
|
+
name: "node-version",
|
|
9498
|
+
shorthand: null,
|
|
9499
|
+
type: String,
|
|
9500
|
+
argument: "VERSION",
|
|
9501
|
+
description: "Set the Node.js version: 24.x, 22.x, 20.x, 18.x, 16.x, 14.x, 12.x, or 10.x",
|
|
9502
|
+
deprecated: false
|
|
9503
|
+
},
|
|
9504
|
+
{
|
|
9505
|
+
...yesOption,
|
|
9506
|
+
description: "Apply settings that do not affect charges without prompting"
|
|
9507
|
+
},
|
|
9430
9508
|
formatOption,
|
|
9431
9509
|
jsonOption
|
|
9432
9510
|
],
|
|
@@ -9447,10 +9525,18 @@ var updateSubcommand7 = {
|
|
|
9447
9525
|
name: "Reset individual settings to automatic detection",
|
|
9448
9526
|
value: `${packageName} project update my-project --auto-detect build-command --auto-detect output-directory`
|
|
9449
9527
|
},
|
|
9528
|
+
{
|
|
9529
|
+
name: "Enable Fluid compute and set the function CPU tier",
|
|
9530
|
+
value: `${packageName} project update my-project --fluid-compute on --function-cpu performance`
|
|
9531
|
+
},
|
|
9450
9532
|
{
|
|
9451
9533
|
name: "Clear the framework preset and return JSON",
|
|
9452
9534
|
value: `${packageName} project update my-project --framework other --json`
|
|
9453
9535
|
},
|
|
9536
|
+
{
|
|
9537
|
+
name: "Update a setting without an interactive prompt",
|
|
9538
|
+
value: `${packageName} project update my-project --framework vite --yes`
|
|
9539
|
+
},
|
|
9454
9540
|
{
|
|
9455
9541
|
name: "Set the sandbox default and failover regions",
|
|
9456
9542
|
value: `${packageName} project update my-project --sandbox-region sfo1 --sandbox-failover-regions cle1,iad1`
|
|
@@ -12247,6 +12333,7 @@ export {
|
|
|
12247
12333
|
modelsEndpointsSubcommand,
|
|
12248
12334
|
modelsSubcommand,
|
|
12249
12335
|
budgetsSetSubcommand,
|
|
12336
|
+
budgetsInspectSubcommand,
|
|
12250
12337
|
budgetsListSubcommand,
|
|
12251
12338
|
budgetsRemoveSubcommand,
|
|
12252
12339
|
leaderboardModelsSubcommand,
|
|
@@ -6,13 +6,13 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
STANDARD_ENVIRONMENTS
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VJ5NAOWB.js";
|
|
10
10
|
import {
|
|
11
11
|
require_lib
|
|
12
12
|
} from "./chunk-Q2DGFCO7.js";
|
|
13
13
|
import {
|
|
14
14
|
output_manager_default
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QFAS4OVW.js";
|
|
16
16
|
import {
|
|
17
17
|
require_source
|
|
18
18
|
} from "./chunk-S7KYDPEM.js";
|
|
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
output_manager_default
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QFAS4OVW.js";
|
|
10
10
|
import {
|
|
11
11
|
require_source
|
|
12
12
|
} from "./chunk-S7KYDPEM.js";
|
|
@@ -14,14 +14,26 @@ import {
|
|
|
14
14
|
__toESM
|
|
15
15
|
} from "./chunk-TZ2YI2VH.js";
|
|
16
16
|
|
|
17
|
+
// src/util/guidance/is-enabled.ts
|
|
18
|
+
function isGuidanceEnabled(client, explicit, defaultValue) {
|
|
19
|
+
if (explicit !== void 0)
|
|
20
|
+
return explicit;
|
|
21
|
+
if (process.env.VERCEL_GUIDANCE_DISABLED)
|
|
22
|
+
return false;
|
|
23
|
+
return client.config.guidance?.enabled ?? defaultValue;
|
|
24
|
+
}
|
|
25
|
+
|
|
17
26
|
// src/util/suggest-next-commands.ts
|
|
18
27
|
var import_chalk = __toESM(require_source(), 1);
|
|
19
28
|
function suggestNextCommands(commands) {
|
|
20
29
|
output_manager_default.print(
|
|
21
30
|
import_chalk.default.dim(
|
|
22
31
|
[
|
|
23
|
-
`
|
|
24
|
-
...commands.
|
|
32
|
+
`Next steps:`,
|
|
33
|
+
...commands.flatMap(({ command, description }) => [
|
|
34
|
+
`- ${description}:`,
|
|
35
|
+
` ${command}`
|
|
36
|
+
])
|
|
25
37
|
].join("\n")
|
|
26
38
|
)
|
|
27
39
|
);
|
|
@@ -29,5 +41,6 @@ function suggestNextCommands(commands) {
|
|
|
29
41
|
}
|
|
30
42
|
|
|
31
43
|
export {
|
|
32
|
-
suggestNextCommands
|
|
44
|
+
suggestNextCommands,
|
|
45
|
+
isGuidanceEnabled
|
|
33
46
|
};
|
|
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
output_manager_default
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QFAS4OVW.js";
|
|
10
10
|
|
|
11
11
|
// src/commands/metrics/output.ts
|
|
12
12
|
function getRollupColumnName(metric, aggregation) {
|
|
@@ -7,13 +7,13 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
parseRetryAfterHeaderAsMillis,
|
|
9
9
|
require_bytes
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BMKU5KEL.js";
|
|
11
11
|
import {
|
|
12
12
|
getCommandName
|
|
13
13
|
} from "./chunk-Q2DGFCO7.js";
|
|
14
14
|
import {
|
|
15
15
|
output_manager_default
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QFAS4OVW.js";
|
|
17
17
|
import {
|
|
18
18
|
require_source
|
|
19
19
|
} from "./chunk-S7KYDPEM.js";
|
|
@@ -6,17 +6,17 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveProjectContext
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VJ5NAOWB.js";
|
|
10
10
|
import {
|
|
11
11
|
AGENT_REASON,
|
|
12
12
|
AGENT_STATUS,
|
|
13
13
|
buildCommandWithYes,
|
|
14
14
|
outputAgentError,
|
|
15
15
|
withGlobalFlags
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-NGGLYKNU.js";
|
|
17
17
|
import {
|
|
18
18
|
printError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-AYLY3ZVL.js";
|
|
20
20
|
import {
|
|
21
21
|
parseArguments
|
|
22
22
|
} from "./chunk-57RHXXXG.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
} from "./chunk-Q2DGFCO7.js";
|
|
29
29
|
import {
|
|
30
30
|
output_manager_default
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-QFAS4OVW.js";
|
|
32
32
|
import {
|
|
33
33
|
require_source
|
|
34
34
|
} from "./chunk-S7KYDPEM.js";
|
|
@@ -7,25 +7,25 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
outputError,
|
|
9
9
|
writeJsonError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3T7WSWZH.js";
|
|
11
11
|
import {
|
|
12
12
|
detectExplicitScope,
|
|
13
13
|
getLinkedProject,
|
|
14
14
|
getScope,
|
|
15
15
|
resolveProjectContext
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VJ5NAOWB.js";
|
|
17
17
|
import {
|
|
18
18
|
printError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-AYLY3ZVL.js";
|
|
20
20
|
import {
|
|
21
21
|
isAPIError
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-BMKU5KEL.js";
|
|
23
23
|
import {
|
|
24
24
|
getCommandName
|
|
25
25
|
} from "./chunk-Q2DGFCO7.js";
|
|
26
26
|
import {
|
|
27
27
|
output_manager_default
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-QFAS4OVW.js";
|
|
29
29
|
|
|
30
30
|
// src/commands/comments/errors.ts
|
|
31
31
|
function handleCommentsParseError(err, subcommandName) {
|
|
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
require_dist
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XNFHNTS2.js";
|
|
10
10
|
import {
|
|
11
11
|
forceOption,
|
|
12
12
|
formatOption,
|
|
@@ -97,25 +97,33 @@ var addSubcommand = {
|
|
|
97
97
|
},
|
|
98
98
|
{
|
|
99
99
|
name: "sensitive",
|
|
100
|
-
description: "Store the value as
|
|
100
|
+
description: "Store the value as a Secret",
|
|
101
101
|
shorthand: null,
|
|
102
102
|
type: Boolean,
|
|
103
103
|
deprecated: false
|
|
104
104
|
},
|
|
105
105
|
{
|
|
106
106
|
name: "no-sensitive",
|
|
107
|
-
description: "Store the value as
|
|
107
|
+
description: "Store the value as Config",
|
|
108
108
|
shorthand: null,
|
|
109
109
|
type: Boolean,
|
|
110
110
|
deprecated: false
|
|
111
111
|
},
|
|
112
|
+
{
|
|
113
|
+
name: "type",
|
|
114
|
+
description: "Set the Environment Variable type (`config` or `secret`)",
|
|
115
|
+
shorthand: null,
|
|
116
|
+
type: String,
|
|
117
|
+
argument: "TYPE",
|
|
118
|
+
deprecated: false
|
|
119
|
+
},
|
|
112
120
|
{
|
|
113
121
|
name: "visibility",
|
|
114
|
-
description: "
|
|
122
|
+
description: "Deprecated alias for `--type`",
|
|
115
123
|
shorthand: null,
|
|
116
124
|
type: String,
|
|
117
125
|
argument: "VISIBILITY",
|
|
118
|
-
deprecated:
|
|
126
|
+
deprecated: true
|
|
119
127
|
},
|
|
120
128
|
{
|
|
121
129
|
...forceOption,
|
|
@@ -169,7 +177,7 @@ var addSubcommand = {
|
|
|
169
177
|
value: `${packageName} env add API_TOKEN --force`
|
|
170
178
|
},
|
|
171
179
|
{
|
|
172
|
-
name: "Add a
|
|
180
|
+
name: "Add a Config Environment Variable that remains readable later",
|
|
173
181
|
value: `${packageName} env add API_TOKEN --no-sensitive`
|
|
174
182
|
},
|
|
175
183
|
{
|
|
@@ -352,18 +360,26 @@ var updateSubcommand = {
|
|
|
352
360
|
projectOption,
|
|
353
361
|
{
|
|
354
362
|
name: "sensitive",
|
|
355
|
-
description: "
|
|
363
|
+
description: "Store the updated value as a Secret",
|
|
356
364
|
shorthand: null,
|
|
357
365
|
type: Boolean,
|
|
358
366
|
deprecated: false
|
|
359
367
|
},
|
|
368
|
+
{
|
|
369
|
+
name: "type",
|
|
370
|
+
description: "Set the Environment Variable type (`config` or `secret`)",
|
|
371
|
+
shorthand: null,
|
|
372
|
+
type: String,
|
|
373
|
+
argument: "TYPE",
|
|
374
|
+
deprecated: false
|
|
375
|
+
},
|
|
360
376
|
{
|
|
361
377
|
name: "visibility",
|
|
362
|
-
description: "
|
|
378
|
+
description: "Deprecated alias for `--type`",
|
|
363
379
|
shorthand: null,
|
|
364
380
|
type: String,
|
|
365
381
|
argument: "VISIBILITY",
|
|
366
|
-
deprecated:
|
|
382
|
+
deprecated: true
|
|
367
383
|
},
|
|
368
384
|
{
|
|
369
385
|
...yesOption,
|
|
@@ -6,19 +6,19 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
loginCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7HE63HCR.js";
|
|
10
10
|
import {
|
|
11
11
|
help
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2YRAWYGE.js";
|
|
13
13
|
import {
|
|
14
14
|
login
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VJ5NAOWB.js";
|
|
16
16
|
import {
|
|
17
17
|
TelemetryClient
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XNFHNTS2.js";
|
|
19
19
|
import {
|
|
20
20
|
printError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-AYLY3ZVL.js";
|
|
22
22
|
import {
|
|
23
23
|
parseArguments
|
|
24
24
|
} from "./chunk-57RHXXXG.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from "./chunk-Q2DGFCO7.js";
|
|
28
28
|
import {
|
|
29
29
|
output_manager_default
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-QFAS4OVW.js";
|
|
31
31
|
import {
|
|
32
32
|
require_source
|
|
33
33
|
} from "./chunk-S7KYDPEM.js";
|
|
@@ -6,21 +6,21 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
isJSONObject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LXZVOR6F.js";
|
|
10
10
|
import {
|
|
11
11
|
getProjectByNameOrId
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VJ5NAOWB.js";
|
|
13
13
|
import {
|
|
14
14
|
AGENT_REASON,
|
|
15
15
|
outputAgentError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-NGGLYKNU.js";
|
|
17
17
|
import {
|
|
18
18
|
ProjectNotFound,
|
|
19
19
|
isAPIError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BMKU5KEL.js";
|
|
21
21
|
import {
|
|
22
22
|
output_manager_default
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-QFAS4OVW.js";
|
|
24
24
|
|
|
25
25
|
// src/commands/alerts/rules/custom-alert-query.ts
|
|
26
26
|
async function resolveCustomAlertProjectName(client, scope, projectId) {
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
VERCEL_DIR,
|
|
9
9
|
VERCEL_DIR_PROJECT,
|
|
10
10
|
require_lib
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VJ5NAOWB.js";
|
|
12
12
|
import {
|
|
13
13
|
require_dist
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QFAS4OVW.js";
|
|
15
15
|
import {
|
|
16
16
|
__toESM
|
|
17
17
|
} from "./chunk-TZ2YI2VH.js";
|
|
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
TelemetryClient
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XNFHNTS2.js";
|
|
10
10
|
|
|
11
11
|
// src/util/telemetry/commands/routes/index.ts
|
|
12
12
|
var RoutesTelemetryClient = class extends TelemetryClient {
|
|
@@ -37,10 +37,10 @@ import {
|
|
|
37
37
|
useKeypress,
|
|
38
38
|
usePrefix,
|
|
39
39
|
useState
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-VJ5NAOWB.js";
|
|
41
41
|
import {
|
|
42
42
|
require_load_json_file
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-XNFHNTS2.js";
|
|
44
44
|
import {
|
|
45
45
|
parseArguments
|
|
46
46
|
} from "./chunk-57RHXXXG.js";
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
import {
|
|
51
51
|
APIError,
|
|
52
52
|
NowError
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-BMKU5KEL.js";
|
|
54
54
|
import {
|
|
55
55
|
pkg_default
|
|
56
56
|
} from "./chunk-P4QNYOFB.js";
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
prependEmoji,
|
|
66
66
|
require_ansi_escapes,
|
|
67
67
|
require_dist
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-QFAS4OVW.js";
|
|
69
69
|
import {
|
|
70
70
|
require_source
|
|
71
71
|
} from "./chunk-S7KYDPEM.js";
|