vercel 59.1.4 → 59.4.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-PP3PJPJV.js → add-73X2SKBH.js} +5 -5
- package/dist/chunks/{add-CUGPQYFW.js → add-FQMB3XPM.js} +5 -5
- package/dist/chunks/{add-PRG4KKYH.js → add-QJ3WT4FW.js} +8 -8
- package/dist/chunks/{build-T22GMLY6.js → build-YUYCLCXD.js} +5 -5
- package/dist/chunks/{chunk-LNVZ3T7X.js → chunk-2PX6N4FE.js} +5 -5
- package/dist/chunks/{chunk-BCZFZETZ.js → chunk-BLYBHFIE.js} +5 -5
- package/dist/chunks/{chunk-57G6HBJ4.js → chunk-CHEZBD7H.js} +3 -3
- package/dist/chunks/{chunk-NM43FFV6.js → chunk-CV4S27SS.js} +0 -1
- package/dist/chunks/{chunk-ECCWJHC6.js → chunk-CYNB6LL4.js} +43 -36
- package/dist/chunks/{chunk-5DVMXOFT.js → chunk-DDIZGOCK.js} +32 -30
- package/dist/chunks/{chunk-4JKZ7SRX.js → chunk-EB5NBVTV.js} +4 -4
- package/dist/chunks/{chunk-M34ZRNDQ.js → chunk-EB7NJKPL.js} +2 -2
- package/dist/chunks/{chunk-CSJBZKC5.js → chunk-EG5BSAXD.js} +69 -57
- package/dist/chunks/{chunk-ZUVJISHS.js → chunk-HJVTLJHO.js} +2 -2
- package/dist/chunks/{chunk-VE545BR3.js → chunk-HMJVUXE6.js} +13555 -13747
- package/dist/chunks/{chunk-SOKQBFF7.js → chunk-HURL5EBN.js} +549 -62
- package/dist/chunks/{chunk-43DD2KNM.js → chunk-J5Y2QGGU.js} +1362 -938
- package/dist/chunks/{chunk-QCVKGY2A.js → chunk-KAYSW4CJ.js} +35 -12
- package/dist/chunks/{chunk-P65EEFTR.js → chunk-KQRVZWJU.js} +1 -0
- package/dist/chunks/{chunk-4HI7G6KG.js → chunk-KSZ4MNHO.js} +1 -1
- package/dist/chunks/{chunk-DOAYLTBJ.js → chunk-LKTQR5JE.js} +1 -1
- package/dist/chunks/{chunk-JYEO6OJS.js → chunk-MWYQ24FO.js} +4 -3
- package/dist/chunks/{chunk-SQGMTRZD.js → chunk-NP6BQPCN.js} +642 -462
- package/dist/chunks/{chunk-DAWJOQF6.js → chunk-O5DLWLT7.js} +2 -2
- package/dist/chunks/{chunk-IKKUCZE7.js → chunk-PD4DYNSB.js} +3 -3
- package/dist/chunks/{chunk-3BU2UCGV.js → chunk-PIMIKY4X.js} +1 -1
- package/dist/chunks/{chunk-QD5NX7RG.js → chunk-RI7KKKII.js} +1 -1
- package/dist/chunks/{chunk-QQ6PH4RY.js → chunk-STPH4Y62.js} +10 -0
- package/dist/chunks/{chunk-TJLBCLEX.js → chunk-TH2XUVDP.js} +11 -1
- package/dist/chunks/{chunk-P2QZZ6MR.js → chunk-TVXCXIRO.js} +1 -1
- package/dist/chunks/{chunk-KTLFN5FV.js → chunk-UV2ZMFVG.js} +1 -1
- package/dist/chunks/{chunk-XZLI27ES.js → chunk-VCE6QKFE.js} +3 -3
- package/dist/chunks/{chunk-DOMLWKKZ.js → chunk-X6O6XJEA.js} +17 -20
- package/dist/chunks/{chunk-SJQEGGH7.js → chunk-XI6NJLI4.js} +1 -1
- package/dist/chunks/{chunk-7NQLRE5V.js → chunk-Y3J4VU2H.js} +1 -1
- package/dist/chunks/{chunk-DEB45ND4.js → chunk-Y42SPI2H.js} +2 -2
- package/dist/chunks/{chunk-TM3F7PLR.js → chunk-ZFWNMVNR.js} +3 -3
- package/dist/chunks/{clear-Z4IKUIN7.js → clear-USQM5VW5.js} +5 -5
- package/dist/chunks/{compile-vercel-config-PSVXFAZW.js → compile-vercel-config-2JNYMI6W.js} +3 -3
- package/dist/chunks/{config-M5GMZ2X5.js → config-VTRIDLY4.js} +5 -5
- package/dist/chunks/{delete-P4XIBY7T.js → delete-ILLSBCVQ.js} +5 -5
- package/dist/chunks/{delete-5GRRDJSF.js → delete-VTPHK3EB.js} +4 -4
- package/dist/chunks/{disable-NT5NYVO7.js → disable-VTOMO64V.js} +4 -4
- package/dist/chunks/{discard-TBNIEAJZ.js → discard-ZIOZ34ZI.js} +4 -4
- package/dist/chunks/{edit-DJ6MT6HA.js → edit-E3AMR4KM.js} +6 -6
- package/dist/chunks/{edit-UF3D2CCH.js → edit-JMZ5XWVW.js} +6 -6
- package/dist/chunks/{enable-JTQBQMBO.js → enable-A4PMZ7QZ.js} +4 -4
- package/dist/chunks/{export-OKMRGRVM.js → export-Y6AJ3WRZ.js} +4 -4
- package/dist/chunks/{image-ARUJH4H5.js → image-26BKPAUB.js} +4 -4
- package/dist/chunks/{import-builders-3NTMZM64.js → import-builders-3H7J2SEK.js} +10 -9
- package/dist/chunks/{inspect-RI4K77NG.js → inspect-7DGKYHKW.js} +6 -6
- package/dist/chunks/{inspect-PTXIBSYW.js → inspect-GJFVAZIJ.js} +5 -5
- package/dist/chunks/{inspect-CHFKZKKP.js → inspect-N3E2PO6K.js} +5 -5
- package/dist/chunks/{inspect-5NETOGAI.js → inspect-OEY4DJRI.js} +5 -5
- package/dist/chunks/{inspect-UXP2HDES.js → inspect-ZW5N6O5P.js} +5 -5
- package/dist/chunks/{list-DYCZA2VX.js → list-2VTCNQEB.js} +4 -4
- package/dist/chunks/{list-G7LGVDAJ.js → list-DTJBW7OQ.js} +6 -6
- package/dist/chunks/{list-ADI55WKW.js → list-MIQ5D6PM.js} +5 -5
- package/dist/chunks/{login-YCSIQG6B.js → login-L34UHAU5.js} +5 -5
- package/dist/chunks/{ls-VIOMDUGW.js → ls-NCPQY4FV.js} +5 -5
- package/dist/chunks/{ls-2TKUIUK4.js → ls-OBUDC4SB.js} +5 -5
- package/dist/chunks/{ls-PQFDGOJL.js → ls-OKO4IHWB.js} +6 -6
- package/dist/chunks/{ls-RZVTIP5U.js → ls-SXJFBLUT.js} +5 -5
- package/dist/chunks/{ls-EOMIQLRH.js → ls-VDYUFSSC.js} +5 -5
- package/dist/chunks/{open-JYPWOXQD.js → open-V5JDGXUP.js} +5 -5
- package/dist/chunks/{permissions-SGJWGEVD.js → permissions-6CPRPPBY.js} +5 -5
- package/dist/chunks/{publish-ZUQHJAXL.js → publish-R27DPHFO.js} +4 -4
- package/dist/chunks/{push-XMVKG5A5.js → push-VLVTBS42.js} +5 -5
- package/dist/chunks/{query-ZLJZEGZB.js → query-IVVRYMJN.js} +218 -81
- package/dist/chunks/{reorder-NVHDWMRU.js → reorder-LJ2RBZM2.js} +4 -4
- package/dist/chunks/{reply-PUUPUQ3V.js → reply-USAISZYC.js} +6 -6
- package/dist/chunks/{resolve-5U2LJVE6.js → resolve-CRCJYVS5.js} +5 -5
- package/dist/chunks/{restore-OXIUY2UI.js → restore-6PBPEAMU.js} +4 -4
- package/dist/chunks/{rm-Z2KYJ7XT.js → rm-EOD7RDSO.js} +5 -5
- package/dist/chunks/{rm-BZNKJRXU.js → rm-HHELZB7R.js} +5 -5
- package/dist/chunks/{rm-3IOCBNPE.js → rm-KGOEOWVK.js} +6 -6
- package/dist/chunks/{rm-OUI4ZB5R.js → rm-TWU3JR6Z.js} +5 -5
- package/dist/chunks/{routes-JP2CNQ5J.js → routes-SZI2G4SE.js} +2 -2
- package/dist/chunks/{rule-inspect-ZBJJCDQV.js → rule-inspect-WFTVRK6B.js} +6 -6
- package/dist/chunks/{rules-HEGAXXUN.js → rules-AQYTFJI6.js} +8 -8
- package/dist/chunks/{schema-ZYIJYA2E.js → schema-LUVFYPWN.js} +1 -1
- package/dist/chunks/{schema-7GVL3BNP.js → schema-ZCDCJC7E.js} +22 -12
- package/dist/chunks/{tags-3SCWCMNQ.js → tags-RCNRFX7U.js} +3 -3
- package/dist/chunks/{update-YR2GCCJN.js → update-I7QGAOYF.js} +8 -8
- package/dist/commands/build/index.js +3099 -2519
- package/dist/commands/deploy/index.js +12 -12
- package/dist/commands/dev/index.js +85 -39
- package/dist/commands/env/index.js +149 -226
- package/dist/commands/link/index.js +7 -7
- package/dist/commands/list/index.js +5 -5
- package/dist/commands-bulk.js +4904 -2237
- package/dist/help.js +1 -1
- package/dist/index.js +27 -15
- package/dist/runtime-assets/node-preloads/next-dev-websocket.cjs +5 -1
- package/dist/version.mjs +1 -1
- package/package.json +54 -51
|
@@ -37,10 +37,10 @@ import {
|
|
|
37
37
|
useKeypress,
|
|
38
38
|
usePrefix,
|
|
39
39
|
useState
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-HMJVUXE6.js";
|
|
41
41
|
import {
|
|
42
42
|
require_load_json_file
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-CYNB6LL4.js";
|
|
44
44
|
import {
|
|
45
45
|
require_strip_ansi
|
|
46
46
|
} from "./chunk-VAFU7DXZ.js";
|
|
@@ -6,14 +6,14 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
isJSONObject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-O5DLWLT7.js";
|
|
10
10
|
import {
|
|
11
11
|
getProjectByNameOrId
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-HMJVUXE6.js";
|
|
13
13
|
import {
|
|
14
14
|
AGENT_REASON,
|
|
15
15
|
outputAgentError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-TH2XUVDP.js";
|
|
17
17
|
import {
|
|
18
18
|
ProjectNotFound,
|
|
19
19
|
isAPIError
|
|
@@ -62,6 +62,7 @@ var help = () => `
|
|
|
62
62
|
blob [cmd] Manages your Blob stores and files
|
|
63
63
|
buy [cmd] Purchase Vercel products for your team
|
|
64
64
|
certs [cmd] Manages your SSL certificates
|
|
65
|
+
changelog [cmd] Show the latest Vercel product updates
|
|
65
66
|
connect [cmd] Manage connectors [beta]
|
|
66
67
|
contract Show contract information for billing periods
|
|
67
68
|
cron | crons [cmd] Manage cron jobs for a project [beta]
|
|
@@ -101,6 +102,7 @@ var help = () => `
|
|
|
101
102
|
|
|
102
103
|
-h, --help Output usage information
|
|
103
104
|
-v, --version Output the version number
|
|
105
|
+
--changelog Show the 5 latest Vercel product updates
|
|
104
106
|
--cwd Current working directory
|
|
105
107
|
-A ${import_chalk.default.bold.underline("FILE")}, --local-config=${import_chalk.default.bold.underline(
|
|
106
108
|
"FILE"
|
|
@@ -135,6 +137,14 @@ var help = () => `
|
|
|
135
137
|
)}
|
|
136
138
|
|
|
137
139
|
${import_chalk.default.cyan(`$ ${packageName} help list`)}
|
|
140
|
+
|
|
141
|
+
${import_chalk.default.gray("\u2013")} Show the 5 latest Vercel product updates
|
|
142
|
+
|
|
143
|
+
${import_chalk.default.cyan(`$ ${packageName} --changelog`)}
|
|
144
|
+
|
|
145
|
+
${import_chalk.default.gray("\u2013")} Search Vercel product updates
|
|
146
|
+
|
|
147
|
+
${import_chalk.default.cyan(`$ ${packageName} changelog search "AI SDK"`)}
|
|
138
148
|
`;
|
|
139
149
|
|
|
140
150
|
export {
|
|
@@ -390,12 +390,18 @@ function buildNextStepsForProjectSubcommands(client, variant) {
|
|
|
390
390
|
} : variant === "web-analytics" ? {
|
|
391
391
|
template: "project web-analytics <name>",
|
|
392
392
|
when: "Enable Web Analytics by project name (replace <name>)"
|
|
393
|
+
} : variant === "observability" ? {
|
|
394
|
+
template: "project observability enable <name>",
|
|
395
|
+
when: "Enable Observability Plus by project name (replace <name>)"
|
|
393
396
|
} : variant === "checks" ? {
|
|
394
397
|
template: "project checks add <name>",
|
|
395
398
|
when: "Create a deployment check by project name (replace <name>)"
|
|
396
399
|
} : variant === "inspect" ? {
|
|
397
400
|
template: "project inspect <name>",
|
|
398
401
|
when: "Inspect a project by name (replace <name>)"
|
|
402
|
+
} : variant === "resume" ? {
|
|
403
|
+
template: "project resume <name>",
|
|
404
|
+
when: "Resume production traffic by project name (replace <name>)"
|
|
399
405
|
} : {
|
|
400
406
|
template: "project members <name>",
|
|
401
407
|
when: "List members by project name (replace <name>)"
|
|
@@ -556,6 +562,7 @@ var AGENT_REASON = {
|
|
|
556
562
|
MISSING_ARGUMENTS: "missing_arguments",
|
|
557
563
|
INVALID_ARGUMENTS: "invalid_arguments",
|
|
558
564
|
CONFIRMATION_REQUIRED: "confirmation_required",
|
|
565
|
+
INTERACTIVE_CONFIRMATION_REQUIRED: "interactive_confirmation_required",
|
|
559
566
|
LOGIN_REQUIRED: "login_required",
|
|
560
567
|
PROJECT_SETTINGS_REQUIRED: "project_settings_required",
|
|
561
568
|
NOT_LINKED: "not_linked",
|
|
@@ -642,7 +649,10 @@ var AGENT_REASON = {
|
|
|
642
649
|
REDIRECT_NOT_FOUND: "redirect_not_found",
|
|
643
650
|
VERSION_NOT_FOUND: "version_not_found",
|
|
644
651
|
VERSION_ALREADY_LIVE: "version_already_live",
|
|
645
|
-
VERSION_IS_STAGING: "version_is_staging"
|
|
652
|
+
VERSION_IS_STAGING: "version_is_staging",
|
|
653
|
+
PLAN_UPGRADE_REQUIRED: "plan_upgrade_required",
|
|
654
|
+
NOT_TEAM_MEMBER: "not_team_member",
|
|
655
|
+
INVALID_ROLE_COMBINATION: "invalid_role_combination"
|
|
646
656
|
};
|
|
647
657
|
var AGENT_ACTION = {
|
|
648
658
|
MISSING_ARGUMENTS: "missing_arguments",
|
|
@@ -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-CYNB6LL4.js";
|
|
10
10
|
|
|
11
11
|
// src/util/telemetry/commands/routes/index.ts
|
|
12
12
|
var RoutesTelemetryClient = class extends TelemetryClient {
|
|
@@ -6,17 +6,17 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
outputError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KQRVZWJU.js";
|
|
10
10
|
import {
|
|
11
11
|
getLinkedProject,
|
|
12
12
|
getProjectByNameOrId,
|
|
13
13
|
getScope
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HMJVUXE6.js";
|
|
15
15
|
import {
|
|
16
16
|
AGENT_REASON,
|
|
17
17
|
buildCommandWithGlobalFlags,
|
|
18
18
|
outputAgentError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-TH2XUVDP.js";
|
|
20
20
|
import {
|
|
21
21
|
ProjectNotFound,
|
|
22
22
|
isAPIError
|
|
@@ -7,14 +7,14 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getUpdateCommandInfo,
|
|
9
9
|
isGlobal
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-EB7NJKPL.js";
|
|
11
11
|
import {
|
|
12
12
|
progress,
|
|
13
13
|
require_ci_info
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EB5NBVTV.js";
|
|
15
15
|
import {
|
|
16
16
|
writeToConfigFile
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-O5DLWLT7.js";
|
|
18
18
|
import {
|
|
19
19
|
getGlobalPathConfig
|
|
20
20
|
} from "./chunk-JKQWQA2T.js";
|
|
@@ -24,23 +24,24 @@ import {
|
|
|
24
24
|
import {
|
|
25
25
|
apiCommand,
|
|
26
26
|
listSubcommand4 as listSubcommand
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-HURL5EBN.js";
|
|
28
28
|
import {
|
|
29
29
|
require_semver
|
|
30
30
|
} from "./chunk-IB5L4LKZ.js";
|
|
31
31
|
import {
|
|
32
32
|
help
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-XI6NJLI4.js";
|
|
34
34
|
import {
|
|
35
35
|
require_chownr,
|
|
36
36
|
require_mkdirp,
|
|
37
37
|
require_pump,
|
|
38
38
|
require_tar_stream
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-HMJVUXE6.js";
|
|
40
40
|
import {
|
|
41
41
|
TelemetryClient,
|
|
42
|
+
getInstallRoot,
|
|
42
43
|
isNativeBinaryInstall
|
|
43
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-CYNB6LL4.js";
|
|
44
45
|
import {
|
|
45
46
|
require_ms
|
|
46
47
|
} from "./chunk-GGP5R3FU.js";
|
|
@@ -2804,7 +2805,7 @@ function renderUpgradeProgress(current, total, phase) {
|
|
|
2804
2805
|
);
|
|
2805
2806
|
}
|
|
2806
2807
|
function execFileStdout(command, args) {
|
|
2807
|
-
return new Promise((
|
|
2808
|
+
return new Promise((resolve3, reject) => {
|
|
2808
2809
|
execFile(
|
|
2809
2810
|
command,
|
|
2810
2811
|
args,
|
|
@@ -2814,7 +2815,7 @@ function execFileStdout(command, args) {
|
|
|
2814
2815
|
reject(error);
|
|
2815
2816
|
return;
|
|
2816
2817
|
}
|
|
2817
|
-
|
|
2818
|
+
resolve3(stdout.toString());
|
|
2818
2819
|
}
|
|
2819
2820
|
);
|
|
2820
2821
|
});
|
|
@@ -2882,7 +2883,7 @@ async function executeUpgrade(targetVersion) {
|
|
|
2882
2883
|
}
|
|
2883
2884
|
output_manager_default.debug(`Executing: ${updateCommand} (cwd: ${cwd})`);
|
|
2884
2885
|
renderUpgradeProgress(targetVersion ? 1 : 2, totalSteps, "Installing\u2026");
|
|
2885
|
-
return new Promise((
|
|
2886
|
+
return new Promise((resolve3) => {
|
|
2886
2887
|
const stdout = [];
|
|
2887
2888
|
const stderr = [];
|
|
2888
2889
|
const upgradeProcess = spawn(command, args, {
|
|
@@ -2902,7 +2903,7 @@ async function executeUpgrade(targetVersion) {
|
|
|
2902
2903
|
output_manager_default.stopSpinner();
|
|
2903
2904
|
output_manager_default.error(`Failed to execute upgrade command: ${err.message}`);
|
|
2904
2905
|
output_manager_default.log(`You can try running the command manually: ${updateCommand}`);
|
|
2905
|
-
|
|
2906
|
+
resolve3(1);
|
|
2906
2907
|
});
|
|
2907
2908
|
upgradeProcess.on("close", (code) => {
|
|
2908
2909
|
if (code !== 0) {
|
|
@@ -2919,7 +2920,7 @@ async function executeUpgrade(targetVersion) {
|
|
|
2919
2920
|
output_manager_default.log(
|
|
2920
2921
|
`You can try running the command manually: ${updateCommand}`
|
|
2921
2922
|
);
|
|
2922
|
-
|
|
2923
|
+
resolve3(code ?? 1);
|
|
2923
2924
|
return;
|
|
2924
2925
|
}
|
|
2925
2926
|
renderUpgradeProgress(totalSteps, totalSteps);
|
|
@@ -2928,11 +2929,11 @@ async function executeUpgrade(targetVersion) {
|
|
|
2928
2929
|
output_manager_default.success(
|
|
2929
2930
|
`Vercel CLI has been upgraded to v${resolvedTargetVersion} successfully!`
|
|
2930
2931
|
);
|
|
2931
|
-
|
|
2932
|
+
resolve3(0);
|
|
2932
2933
|
return;
|
|
2933
2934
|
}
|
|
2934
2935
|
output_manager_default.success("Vercel CLI has been upgraded successfully!");
|
|
2935
|
-
|
|
2936
|
+
resolve3(0);
|
|
2936
2937
|
});
|
|
2937
2938
|
});
|
|
2938
2939
|
}
|
|
@@ -2946,8 +2947,8 @@ var import_semver2 = __toESM(require_semver(), 1);
|
|
|
2946
2947
|
import { createGunzip } from "zlib";
|
|
2947
2948
|
import { createHash as createHash2 } from "crypto";
|
|
2948
2949
|
import { createWriteStream } from "fs";
|
|
2949
|
-
import {
|
|
2950
|
-
import { join as join2,
|
|
2950
|
+
import { tmpdir as tmpdir2 } from "os";
|
|
2951
|
+
import { join as join2, sep } from "path";
|
|
2951
2952
|
import { pipeline } from "stream/promises";
|
|
2952
2953
|
import {
|
|
2953
2954
|
chmod,
|
|
@@ -2984,10 +2985,6 @@ var SUPPORTED_PLATFORMS = /* @__PURE__ */ new Set([
|
|
|
2984
2985
|
"linux-arm64",
|
|
2985
2986
|
"linux-x64"
|
|
2986
2987
|
]);
|
|
2987
|
-
function getInstallRoot() {
|
|
2988
|
-
const root = process.env.VERCEL_INSTALL_DIR;
|
|
2989
|
-
return root ? resolve3(root) : join2(homedir(), ".vercel");
|
|
2990
|
-
}
|
|
2991
2988
|
function platformTarget() {
|
|
2992
2989
|
return `${process.platform}-${process.arch}`;
|
|
2993
2990
|
}
|
|
@@ -7,14 +7,14 @@ const __dirname = __dirname_(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
login,
|
|
9
9
|
require_ci_info
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-EB5NBVTV.js";
|
|
11
11
|
import {
|
|
12
12
|
getGlobalPathConfig
|
|
13
13
|
} from "./chunk-JKQWQA2T.js";
|
|
14
14
|
import {
|
|
15
15
|
humanizePath,
|
|
16
16
|
param
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HMJVUXE6.js";
|
|
18
18
|
import {
|
|
19
19
|
printError
|
|
20
20
|
} from "./chunk-VAFU7DXZ.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-G75NFPIT.js";
|
|
10
10
|
import {
|
|
11
11
|
outputError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KQRVZWJU.js";
|
|
13
13
|
import {
|
|
14
14
|
validateJsonOutput
|
|
15
15
|
} from "./chunk-KXDWXXJH.js";
|
|
@@ -20,12 +20,12 @@ import {
|
|
|
20
20
|
getLinkedProject,
|
|
21
21
|
getProjectByNameOrId,
|
|
22
22
|
getScope
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-HMJVUXE6.js";
|
|
24
24
|
import {
|
|
25
25
|
AGENT_REASON,
|
|
26
26
|
buildCommandWithGlobalFlags,
|
|
27
27
|
outputAgentError
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-TH2XUVDP.js";
|
|
29
29
|
import {
|
|
30
30
|
require_ms
|
|
31
31
|
} from "./chunk-GGP5R3FU.js";
|
|
@@ -13,21 +13,21 @@ import {
|
|
|
13
13
|
requireVcrRepository,
|
|
14
14
|
resolveVcrScope,
|
|
15
15
|
validateVcrJsonOutput
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZFWNMVNR.js";
|
|
17
17
|
import "./chunk-G75NFPIT.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-KQRVZWJU.js";
|
|
19
19
|
import "./chunk-KXDWXXJH.js";
|
|
20
20
|
import {
|
|
21
21
|
permissionsClearSubcommand
|
|
22
22
|
} from "./chunk-GFCTRJI5.js";
|
|
23
23
|
import "./chunk-R6IGDGX3.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-HMJVUXE6.js";
|
|
25
|
+
import "./chunk-CYNB6LL4.js";
|
|
26
26
|
import {
|
|
27
27
|
AGENT_REASON,
|
|
28
28
|
buildCommandWithYes,
|
|
29
29
|
outputAgentError
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-TH2XUVDP.js";
|
|
31
31
|
import "./chunk-GGP5R3FU.js";
|
|
32
32
|
import {
|
|
33
33
|
printError
|
|
@@ -11,9 +11,9 @@ import {
|
|
|
11
11
|
findSourceVercelConfigFile,
|
|
12
12
|
getVercelConfigPath,
|
|
13
13
|
normalizeConfig
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-HMJVUXE6.js";
|
|
15
|
+
import "./chunk-CYNB6LL4.js";
|
|
16
|
+
import "./chunk-TH2XUVDP.js";
|
|
17
17
|
import "./chunk-GGP5R3FU.js";
|
|
18
18
|
import "./chunk-VAFU7DXZ.js";
|
|
19
19
|
import "./chunk-XLKFJPMT.js";
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
resolveVcrScope,
|
|
15
15
|
validateVcrChoice,
|
|
16
16
|
validateVcrJsonOutput
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ZFWNMVNR.js";
|
|
18
18
|
import "./chunk-G75NFPIT.js";
|
|
19
19
|
import {
|
|
20
20
|
outputError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KQRVZWJU.js";
|
|
22
22
|
import "./chunk-KXDWXXJH.js";
|
|
23
23
|
import {
|
|
24
24
|
configSubcommand
|
|
@@ -27,13 +27,13 @@ import "./chunk-WC7IINFV.js";
|
|
|
27
27
|
import "./chunk-RIB4S2IB.js";
|
|
28
28
|
import "./chunk-GFCTRJI5.js";
|
|
29
29
|
import "./chunk-R6IGDGX3.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-HMJVUXE6.js";
|
|
31
|
+
import "./chunk-CYNB6LL4.js";
|
|
32
32
|
import {
|
|
33
33
|
AGENT_REASON,
|
|
34
34
|
buildCommandWithGlobalFlags,
|
|
35
35
|
outputAgentError
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-TH2XUVDP.js";
|
|
37
37
|
import "./chunk-GGP5R3FU.js";
|
|
38
38
|
import {
|
|
39
39
|
printError
|
|
@@ -13,22 +13,22 @@ import {
|
|
|
13
13
|
resolveCommentsScope,
|
|
14
14
|
threadNotFoundMessage,
|
|
15
15
|
toApiErrorParts
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DDIZGOCK.js";
|
|
17
17
|
import {
|
|
18
18
|
canPrompt
|
|
19
19
|
} from "./chunk-2473DUBR.js";
|
|
20
20
|
import {
|
|
21
21
|
outputError
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-KQRVZWJU.js";
|
|
23
23
|
import {
|
|
24
24
|
validateJsonOutput
|
|
25
25
|
} from "./chunk-KXDWXXJH.js";
|
|
26
26
|
import {
|
|
27
27
|
deleteSubcommand
|
|
28
28
|
} from "./chunk-GMWRTZVZ.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-HMJVUXE6.js";
|
|
30
|
+
import "./chunk-CYNB6LL4.js";
|
|
31
|
+
import "./chunk-TH2XUVDP.js";
|
|
32
32
|
import "./chunk-GGP5R3FU.js";
|
|
33
33
|
import "./chunk-VAFU7DXZ.js";
|
|
34
34
|
import {
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
requireProjectContext,
|
|
16
16
|
resolveRoutes,
|
|
17
17
|
withGlobalFlags
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HJVTLJHO.js";
|
|
19
19
|
import {
|
|
20
20
|
deleteSubcommand
|
|
21
21
|
} from "./chunk-M22O6CYY.js";
|
|
@@ -23,13 +23,13 @@ import {
|
|
|
23
23
|
stamp_default
|
|
24
24
|
} from "./chunk-64IF634X.js";
|
|
25
25
|
import "./chunk-VXYGCOKL.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-HMJVUXE6.js";
|
|
27
|
+
import "./chunk-CYNB6LL4.js";
|
|
28
28
|
import {
|
|
29
29
|
AGENT_REASON,
|
|
30
30
|
AGENT_STATUS,
|
|
31
31
|
outputAgentError
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-TH2XUVDP.js";
|
|
33
33
|
import "./chunk-GGP5R3FU.js";
|
|
34
34
|
import "./chunk-VAFU7DXZ.js";
|
|
35
35
|
import "./chunk-XLKFJPMT.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
requireProjectContext,
|
|
18
18
|
resolveRoute,
|
|
19
19
|
withGlobalFlags
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-HJVTLJHO.js";
|
|
21
21
|
import {
|
|
22
22
|
disableSubcommand
|
|
23
23
|
} from "./chunk-M22O6CYY.js";
|
|
@@ -25,11 +25,11 @@ import {
|
|
|
25
25
|
stamp_default
|
|
26
26
|
} from "./chunk-64IF634X.js";
|
|
27
27
|
import "./chunk-VXYGCOKL.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-HMJVUXE6.js";
|
|
29
|
+
import "./chunk-CYNB6LL4.js";
|
|
30
30
|
import {
|
|
31
31
|
outputAgentError
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-TH2XUVDP.js";
|
|
33
33
|
import "./chunk-GGP5R3FU.js";
|
|
34
34
|
import "./chunk-VAFU7DXZ.js";
|
|
35
35
|
import "./chunk-XLKFJPMT.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
printDiffSummary,
|
|
18
18
|
requireProjectContext,
|
|
19
19
|
withGlobalFlags
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-HJVTLJHO.js";
|
|
21
21
|
import {
|
|
22
22
|
discardSubcommand
|
|
23
23
|
} from "./chunk-M22O6CYY.js";
|
|
@@ -25,11 +25,11 @@ import {
|
|
|
25
25
|
stamp_default
|
|
26
26
|
} from "./chunk-64IF634X.js";
|
|
27
27
|
import "./chunk-VXYGCOKL.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-HMJVUXE6.js";
|
|
29
|
+
import "./chunk-CYNB6LL4.js";
|
|
30
30
|
import {
|
|
31
31
|
outputAgentError
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-TH2XUVDP.js";
|
|
33
33
|
import "./chunk-GGP5R3FU.js";
|
|
34
34
|
import "./chunk-VAFU7DXZ.js";
|
|
35
35
|
import "./chunk-XLKFJPMT.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
printRouteConfig,
|
|
20
20
|
routingRuleToCurrentRoute,
|
|
21
21
|
runInteractiveEditLoop
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-UV2ZMFVG.js";
|
|
23
23
|
import {
|
|
24
24
|
getRouteVersions
|
|
25
25
|
} from "./chunk-AHU7WNL2.js";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
resolveRoute,
|
|
32
32
|
shellQuoteRouteIdentifierForSuggestion,
|
|
33
33
|
withGlobalFlags
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-HJVTLJHO.js";
|
|
35
35
|
import {
|
|
36
36
|
editSubcommand
|
|
37
37
|
} from "./chunk-M22O6CYY.js";
|
|
@@ -39,11 +39,11 @@ import {
|
|
|
39
39
|
stamp_default
|
|
40
40
|
} from "./chunk-64IF634X.js";
|
|
41
41
|
import "./chunk-VXYGCOKL.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-HMJVUXE6.js";
|
|
43
|
+
import "./chunk-CYNB6LL4.js";
|
|
44
44
|
import {
|
|
45
45
|
outputAgentError
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-TH2XUVDP.js";
|
|
47
47
|
import "./chunk-GGP5R3FU.js";
|
|
48
48
|
import "./chunk-VAFU7DXZ.js";
|
|
49
49
|
import "./chunk-XLKFJPMT.js";
|
|
@@ -78,7 +78,7 @@ async function edit(client, argv) {
|
|
|
78
78
|
const { args, flags } = parsed;
|
|
79
79
|
const skipConfirmation = flags["--yes"];
|
|
80
80
|
const identifier = args[0];
|
|
81
|
-
const { RoutesEditTelemetryClient } = await import("./routes-
|
|
81
|
+
const { RoutesEditTelemetryClient } = await import("./routes-SZI2G4SE.js");
|
|
82
82
|
const telemetry = new RoutesEditTelemetryClient({
|
|
83
83
|
opts: { store: client.telemetryEventStore }
|
|
84
84
|
});
|
|
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveMessageContent
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PIMIKY4X.js";
|
|
10
10
|
import {
|
|
11
11
|
parseThreadArg
|
|
12
12
|
} from "./chunk-E336ZXPP.js";
|
|
@@ -16,20 +16,20 @@ import {
|
|
|
16
16
|
threadNotFoundMessage,
|
|
17
17
|
toApiErrorParts,
|
|
18
18
|
updateMessage
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-DDIZGOCK.js";
|
|
20
20
|
import "./chunk-2473DUBR.js";
|
|
21
21
|
import {
|
|
22
22
|
outputError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-KQRVZWJU.js";
|
|
24
24
|
import {
|
|
25
25
|
validateJsonOutput
|
|
26
26
|
} from "./chunk-KXDWXXJH.js";
|
|
27
27
|
import {
|
|
28
28
|
editSubcommand
|
|
29
29
|
} from "./chunk-GMWRTZVZ.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-HMJVUXE6.js";
|
|
31
|
+
import "./chunk-CYNB6LL4.js";
|
|
32
|
+
import "./chunk-TH2XUVDP.js";
|
|
33
33
|
import "./chunk-GGP5R3FU.js";
|
|
34
34
|
import "./chunk-VAFU7DXZ.js";
|
|
35
35
|
import {
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
requireProjectContext,
|
|
18
18
|
resolveRoute,
|
|
19
19
|
withGlobalFlags
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-HJVTLJHO.js";
|
|
21
21
|
import {
|
|
22
22
|
enableSubcommand
|
|
23
23
|
} from "./chunk-M22O6CYY.js";
|
|
@@ -25,11 +25,11 @@ import {
|
|
|
25
25
|
stamp_default
|
|
26
26
|
} from "./chunk-64IF634X.js";
|
|
27
27
|
import "./chunk-VXYGCOKL.js";
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-HMJVUXE6.js";
|
|
29
|
+
import "./chunk-CYNB6LL4.js";
|
|
30
30
|
import {
|
|
31
31
|
outputAgentError
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-TH2XUVDP.js";
|
|
33
33
|
import "./chunk-GGP5R3FU.js";
|
|
34
34
|
import "./chunk-VAFU7DXZ.js";
|
|
35
35
|
import "./chunk-XLKFJPMT.js";
|
|
@@ -9,15 +9,15 @@ import {
|
|
|
9
9
|
parseSubcommandArgs,
|
|
10
10
|
requireProjectContext,
|
|
11
11
|
withGlobalFlags
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-HJVTLJHO.js";
|
|
13
13
|
import {
|
|
14
14
|
exportSubcommand
|
|
15
15
|
} from "./chunk-M22O6CYY.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-HMJVUXE6.js";
|
|
17
|
+
import "./chunk-CYNB6LL4.js";
|
|
18
18
|
import {
|
|
19
19
|
outputAgentError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TH2XUVDP.js";
|
|
21
21
|
import "./chunk-GGP5R3FU.js";
|
|
22
22
|
import "./chunk-VAFU7DXZ.js";
|
|
23
23
|
import "./chunk-XLKFJPMT.js";
|