vercel 50.32.2 → 50.32.4
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/{chunk-2NPVSUA5.js → chunk-726BBT6X.js} +5 -5
- package/dist/chunks/{chunk-D4EB4RQH.js → chunk-B4D43URU.js} +1 -1
- package/dist/chunks/{chunk-MHB67DKL.js → chunk-CJ3LGMHG.js} +3 -3
- package/dist/chunks/{chunk-F7Q6GMBZ.js → chunk-DGG3YKA2.js} +1 -1
- package/dist/chunks/{chunk-3BCRZT46.js → chunk-DLPKFSED.js} +1 -1
- package/dist/chunks/{chunk-7C2ITY27.js → chunk-FN5JTVSC.js} +1 -1
- package/dist/chunks/{chunk-6DJMYUDD.js → chunk-GOAQV2VE.js} +4 -4
- package/dist/chunks/{chunk-4X6AR5OT.js → chunk-IUO3OCIL.js} +2 -2
- package/dist/chunks/{chunk-6TUTMN4G.js → chunk-JIS3P4GY.js} +1 -1
- package/dist/chunks/{chunk-QZ3VE5AG.js → chunk-JJPR65ND.js} +18 -2
- package/dist/chunks/{chunk-M5O5PZPC.js → chunk-MM7YCFM3.js} +3 -3
- package/dist/chunks/{chunk-QEEF7TLY.js → chunk-MWSH3KUM.js} +1 -1
- package/dist/chunks/{chunk-5KMQD57B.js → chunk-QE7MP4UA.js} +2 -2
- package/dist/chunks/{chunk-DFZ6DRAH.js → chunk-QFEHHCRR.js} +2 -2
- package/dist/chunks/{chunk-QNEHY3TU.js → chunk-QZIKP33H.js} +4 -3
- package/dist/chunks/{chunk-OJOIUL2M.js → chunk-RWEQMZL5.js} +1 -1
- package/dist/chunks/{chunk-W3QZF2OP.js → chunk-UA5FZ6JU.js} +4 -4
- package/dist/chunks/{chunk-6LQRDWWM.js → chunk-UEK3GLQ7.js} +1 -1
- package/dist/chunks/{chunk-Y3EHOMJ3.js → chunk-UPP3OQY4.js} +1 -1
- package/dist/chunks/{chunk-YFME4WRZ.js → chunk-V4JMKCAH.js} +26 -3
- package/dist/chunks/{chunk-HP3P6UCH.js → chunk-ZYNFSRAX.js} +1 -1
- package/dist/chunks/{compile-vercel-config-2EQ3PGNN.js → compile-vercel-config-Y46UPA2U.js} +2 -2
- package/dist/chunks/{delete-L4SGPLEE.js → delete-J5ADUHWR.js} +2 -2
- package/dist/chunks/{disable-2S4SRY2K.js → disable-AUQVE5WI.js} +2 -2
- package/dist/chunks/{discard-SLGLC2O6.js → discard-J6FHJHAT.js} +2 -2
- package/dist/chunks/{edit-PIVHSVJM.js → edit-QGYKZKNK.js} +3 -3
- package/dist/chunks/{enable-ODCDW3C4.js → enable-4KTNNFAZ.js} +2 -2
- package/dist/chunks/{export-XJPLZKLD.js → export-V5CIEQ4R.js} +2 -2
- package/dist/chunks/{list-XK6C3LMO.js → list-AYKXWEOF.js} +2 -2
- package/dist/chunks/{list-LYY7UZSK.js → list-FO2Q2HUT.js} +12 -10
- package/dist/chunks/{publish-27UEOVSP.js → publish-BFTR6HYM.js} +2 -2
- package/dist/chunks/{query-BW5SKMTW.js → query-NUSRDWR6.js} +2 -2
- package/dist/chunks/{reorder-ZNOIWILW.js → reorder-SED4PLZ3.js} +2 -2
- package/dist/chunks/{restore-RSTAUWEJ.js → restore-2GSI3QYL.js} +2 -2
- package/dist/commands/build/index.js +12 -12
- package/dist/commands/deploy/index.js +13 -13
- package/dist/commands/dev/index.js +11 -11
- package/dist/commands/env/index.js +6 -6
- package/dist/commands/link/index.js +7 -7
- package/dist/commands/list/index.js +3 -3
- package/dist/commands-bulk.js +526 -148
- package/dist/index.js +12 -12
- package/dist/version.mjs +1 -1
- package/package.json +11 -11
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
require_dist as require_dist2,
|
|
11
11
|
sleep,
|
|
12
12
|
ua_default
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UA5FZ6JU.js";
|
|
14
14
|
import {
|
|
15
15
|
suggestNextCommands
|
|
16
16
|
} from "./chunk-XR53KVJD.js";
|
|
@@ -20,20 +20,20 @@ import {
|
|
|
20
20
|
} from "./chunk-2IQTNMUG.js";
|
|
21
21
|
import {
|
|
22
22
|
getScope
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-DGG3YKA2.js";
|
|
24
24
|
import {
|
|
25
25
|
CommandTimeout
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-JJPR65ND.js";
|
|
27
27
|
import {
|
|
28
28
|
require_dist as require_dist3
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-IUO3OCIL.js";
|
|
30
30
|
import {
|
|
31
31
|
require_lib
|
|
32
32
|
} from "./chunk-QXRJ52T4.js";
|
|
33
33
|
import {
|
|
34
34
|
getProjectByNameOrId,
|
|
35
35
|
param
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-QZIKP33H.js";
|
|
37
37
|
import {
|
|
38
38
|
stamp_default
|
|
39
39
|
} from "./chunk-SOTR4CXR.js";
|
|
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getLocalPathConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZYNFSRAX.js";
|
|
10
10
|
import {
|
|
11
11
|
compileVercelConfig
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UEK3GLQ7.js";
|
|
13
13
|
import {
|
|
14
14
|
VERCEL_DIR_PROJECT,
|
|
15
15
|
VERCEL_DIR_README,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
selectAndParseRemoteUrl,
|
|
32
32
|
selectOrg,
|
|
33
33
|
tryDetectServices
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-QZIKP33H.js";
|
|
35
35
|
import {
|
|
36
36
|
table
|
|
37
37
|
} from "./chunk-LWBSOTJP.js";
|
|
@@ -6,13 +6,13 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
writeProjectSettings
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JIS3P4GY.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureLink
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QE7MP4UA.js";
|
|
13
13
|
import {
|
|
14
14
|
pullCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MWSH3KUM.js";
|
|
16
16
|
import {
|
|
17
17
|
help
|
|
18
18
|
} from "./chunk-DOBFJJLK.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
envPullCommandLogic,
|
|
23
23
|
humanizePath,
|
|
24
24
|
parseTarget
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-QZIKP33H.js";
|
|
26
26
|
import {
|
|
27
27
|
TelemetryClient
|
|
28
28
|
} from "./chunk-XB2KZC2B.js";
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
} from "./chunk-QXRJ52T4.js";
|
|
10
10
|
import {
|
|
11
11
|
require_end_of_stream
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UPP3OQY4.js";
|
|
13
13
|
import {
|
|
14
14
|
require_graceful_fs,
|
|
15
15
|
require_inherits,
|
|
16
16
|
require_minimatch,
|
|
17
17
|
require_once
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-QZIKP33H.js";
|
|
19
19
|
import {
|
|
20
20
|
require_ms
|
|
21
21
|
} from "./chunk-GGP5R3FU.js";
|
|
@@ -25,10 +25,10 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
buildCommand,
|
|
27
27
|
pullCommand
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-MWSH3KUM.js";
|
|
29
29
|
import {
|
|
30
30
|
envCommand
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-QZIKP33H.js";
|
|
32
32
|
import {
|
|
33
33
|
confirmOption,
|
|
34
34
|
forceOption,
|
|
@@ -3260,6 +3260,14 @@ var mcpCommand = {
|
|
|
3260
3260
|
shorthand: null,
|
|
3261
3261
|
type: Boolean,
|
|
3262
3262
|
deprecated: false
|
|
3263
|
+
},
|
|
3264
|
+
{
|
|
3265
|
+
name: "clients",
|
|
3266
|
+
description: "Comma-separated list of MCP clients to set up. In interactive mode, skips the client picker when set. Required in non-interactive mode. Options: Claude Code, Claude.ai and Claude for desktop, Cursor, VS Code with Copilot",
|
|
3267
|
+
shorthand: null,
|
|
3268
|
+
type: String,
|
|
3269
|
+
argument: "CLIENTS",
|
|
3270
|
+
deprecated: false
|
|
3263
3271
|
}
|
|
3264
3272
|
],
|
|
3265
3273
|
examples: [
|
|
@@ -3270,6 +3278,10 @@ var mcpCommand = {
|
|
|
3270
3278
|
{
|
|
3271
3279
|
name: "Set up project-specific MCP access",
|
|
3272
3280
|
value: `${packageName} mcp --project`
|
|
3281
|
+
},
|
|
3282
|
+
{
|
|
3283
|
+
name: "Non-interactive: set up Cursor and VS Code",
|
|
3284
|
+
value: `${packageName} mcp --clients "Cursor,VS Code with Copilot"`
|
|
3273
3285
|
}
|
|
3274
3286
|
]
|
|
3275
3287
|
};
|
|
@@ -4009,6 +4021,10 @@ var startSubcommand = {
|
|
|
4009
4021
|
{
|
|
4010
4022
|
name: "Start a rolling release using URL",
|
|
4011
4023
|
value: `${packageName} rr start --dpl=https://example.vercel.app`
|
|
4024
|
+
},
|
|
4025
|
+
{
|
|
4026
|
+
name: "Non-interactive (e.g. preview deployment): use --yes to promote",
|
|
4027
|
+
value: `${packageName} rr start --dpl=dpl_123 --yes`
|
|
4012
4028
|
}
|
|
4013
4029
|
],
|
|
4014
4030
|
options: [
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
} from "./chunk-IB5L4LKZ.js";
|
|
10
10
|
import {
|
|
11
11
|
require_dist as require_dist2
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IUO3OCIL.js";
|
|
13
13
|
import {
|
|
14
14
|
require_execa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QFEHHCRR.js";
|
|
16
16
|
import {
|
|
17
17
|
VERCEL_DIR,
|
|
18
18
|
readJSONFile,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
require_dist2 as require_dist4,
|
|
22
22
|
require_lib,
|
|
23
23
|
require_minimatch2 as require_minimatch
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-QZIKP33H.js";
|
|
25
25
|
import {
|
|
26
26
|
require_pluralize
|
|
27
27
|
} from "./chunk-7EHTK7LP.js";
|
|
@@ -6,14 +6,14 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
setupAndLink
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CJ3LGMHG.js";
|
|
10
10
|
import {
|
|
11
11
|
buildCommandWithYes,
|
|
12
12
|
getLinkedProject,
|
|
13
13
|
outputActionRequired,
|
|
14
14
|
param,
|
|
15
15
|
resolveProjectCwd
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QZIKP33H.js";
|
|
17
17
|
import {
|
|
18
18
|
getCommandName,
|
|
19
19
|
getCommandNamePlain
|
|
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
require_end_of_stream
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UPP3OQY4.js";
|
|
10
10
|
import {
|
|
11
11
|
require_once
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QZIKP33H.js";
|
|
13
13
|
import {
|
|
14
14
|
require_signal_exit
|
|
15
15
|
} from "./chunk-FDJURQMQ.js";
|
|
@@ -12130,7 +12130,6 @@ var require_frameworks = __commonJS({
|
|
|
12130
12130
|
{
|
|
12131
12131
|
name: "Go",
|
|
12132
12132
|
slug: "go",
|
|
12133
|
-
experimental: true,
|
|
12134
12133
|
runtimeFramework: true,
|
|
12135
12134
|
logo: "https://api-frameworks.vercel.sh/framework-logos/go.svg",
|
|
12136
12135
|
tagline: "An open-source programming language supported by Google.",
|
|
@@ -37464,14 +37463,16 @@ function outputActionRequired(client, payload, exitCode = 1) {
|
|
|
37464
37463
|
if (!enriched.hint && enriched.next?.length) {
|
|
37465
37464
|
enriched.hint = "Run one of the commands in next[] to complete without prompting.";
|
|
37466
37465
|
}
|
|
37467
|
-
|
|
37466
|
+
client.stdout.write(`${JSON.stringify(enriched, null, 2)}
|
|
37467
|
+
`);
|
|
37468
37468
|
process.exit(exitCode);
|
|
37469
37469
|
}
|
|
37470
37470
|
function outputAgentError(client, payload, exitCode = 1) {
|
|
37471
37471
|
if (!client.nonInteractive) {
|
|
37472
37472
|
return;
|
|
37473
37473
|
}
|
|
37474
|
-
|
|
37474
|
+
client.stdout.write(`${JSON.stringify(payload, null, 2)}
|
|
37475
|
+
`);
|
|
37475
37476
|
process.exit(exitCode);
|
|
37476
37477
|
}
|
|
37477
37478
|
|
|
@@ -9,17 +9,17 @@ import {
|
|
|
9
9
|
} from "./chunk-V5P25P7F.js";
|
|
10
10
|
import {
|
|
11
11
|
require_dist as require_dist2
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IUO3OCIL.js";
|
|
13
13
|
import {
|
|
14
14
|
require_lib as require_lib2
|
|
15
15
|
} from "./chunk-QXRJ52T4.js";
|
|
16
16
|
import {
|
|
17
17
|
getLocalPathConfig
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ZYNFSRAX.js";
|
|
19
19
|
import {
|
|
20
20
|
DEFAULT_VERCEL_CONFIG_FILENAME,
|
|
21
21
|
VERCEL_CONFIG_EXTENSIONS
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-UEK3GLQ7.js";
|
|
23
23
|
import {
|
|
24
24
|
VERCEL_DIR,
|
|
25
25
|
createPrompt,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
useKeypress,
|
|
42
42
|
usePrefix,
|
|
43
43
|
useState
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-QZIKP33H.js";
|
|
45
45
|
import {
|
|
46
46
|
APIError,
|
|
47
47
|
NowError,
|
|
@@ -6,21 +6,25 @@ const __filename = __fileURLToPath(import.meta.url);
|
|
|
6
6
|
const __dirname = __dirname_(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getUpdateCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DLPKFSED.js";
|
|
10
10
|
import {
|
|
11
11
|
login
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UA5FZ6JU.js";
|
|
13
13
|
import {
|
|
14
14
|
loginCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JJPR65ND.js";
|
|
16
16
|
import {
|
|
17
17
|
help
|
|
18
18
|
} from "./chunk-DOBFJJLK.js";
|
|
19
|
+
import {
|
|
20
|
+
outputActionRequired
|
|
21
|
+
} from "./chunk-QZIKP33H.js";
|
|
19
22
|
import {
|
|
20
23
|
TelemetryClient
|
|
21
24
|
} from "./chunk-XB2KZC2B.js";
|
|
22
25
|
import {
|
|
23
26
|
getFlagsSpecification,
|
|
27
|
+
packageName,
|
|
24
28
|
parseArguments,
|
|
25
29
|
printError,
|
|
26
30
|
require_strip_ansi
|
|
@@ -235,6 +239,25 @@ async function login2(client, options) {
|
|
|
235
239
|
);
|
|
236
240
|
}
|
|
237
241
|
}
|
|
242
|
+
if (client.nonInteractive && options.shouldParseArgs && parsedArgs && parsedArgs.args.slice(1).length === 0) {
|
|
243
|
+
const loginCmd = `${packageName} login`;
|
|
244
|
+
const message = `You must run the following command to log in: \`${loginCmd}\`. Run it without --non-interactive to complete sign-in in your browser.`;
|
|
245
|
+
output_manager_default.print(`${message}
|
|
246
|
+
`);
|
|
247
|
+
outputActionRequired(
|
|
248
|
+
client,
|
|
249
|
+
{
|
|
250
|
+
status: "action_required",
|
|
251
|
+
reason: "login_required",
|
|
252
|
+
action: "login_required",
|
|
253
|
+
message,
|
|
254
|
+
hint: `Run this command to log in: ${loginCmd}`,
|
|
255
|
+
verification_uri: "https://vercel.com/login",
|
|
256
|
+
next: [{ command: loginCmd, when: "to log in" }]
|
|
257
|
+
},
|
|
258
|
+
1
|
|
259
|
+
);
|
|
260
|
+
}
|
|
238
261
|
telemetry.trackState("started");
|
|
239
262
|
return await login(client, telemetry);
|
|
240
263
|
}
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
findSourceVercelConfigFile,
|
|
12
12
|
getVercelConfigPath,
|
|
13
13
|
normalizeConfig
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-UEK3GLQ7.js";
|
|
15
|
+
import "./chunk-QZIKP33H.js";
|
|
16
16
|
import "./chunk-XB2KZC2B.js";
|
|
17
17
|
import "./chunk-SOTR4CXR.js";
|
|
18
18
|
import "./chunk-7EHTK7LP.js";
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
offerAutoPromote,
|
|
15
15
|
parseSubcommandArgs,
|
|
16
16
|
resolveRoutes
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RWEQMZL5.js";
|
|
18
18
|
import {
|
|
19
19
|
deleteSubcommand
|
|
20
20
|
} from "./chunk-U6XOC6E4.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-QZIKP33H.js";
|
|
22
22
|
import "./chunk-XB2KZC2B.js";
|
|
23
23
|
import {
|
|
24
24
|
stamp_default
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
offerAutoPromote,
|
|
17
17
|
parseSubcommandArgs,
|
|
18
18
|
resolveRoute
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RWEQMZL5.js";
|
|
20
20
|
import {
|
|
21
21
|
disableSubcommand
|
|
22
22
|
} from "./chunk-U6XOC6E4.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-QZIKP33H.js";
|
|
24
24
|
import "./chunk-XB2KZC2B.js";
|
|
25
25
|
import {
|
|
26
26
|
stamp_default
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
getRoutes,
|
|
17
17
|
parseSubcommandArgs,
|
|
18
18
|
printDiffSummary
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RWEQMZL5.js";
|
|
20
20
|
import {
|
|
21
21
|
discardSubcommand
|
|
22
22
|
} from "./chunk-U6XOC6E4.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-QZIKP33H.js";
|
|
24
24
|
import "./chunk-XB2KZC2B.js";
|
|
25
25
|
import {
|
|
26
26
|
stamp_default
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
printRouteConfig,
|
|
20
20
|
routingRuleToCurrentRoute,
|
|
21
21
|
runInteractiveEditLoop
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-FN5JTVSC.js";
|
|
23
23
|
import {
|
|
24
24
|
getRouteVersions
|
|
25
25
|
} from "./chunk-AHU7WNL2.js";
|
|
@@ -29,11 +29,11 @@ import {
|
|
|
29
29
|
offerAutoPromote,
|
|
30
30
|
parseSubcommandArgs,
|
|
31
31
|
resolveRoute
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-RWEQMZL5.js";
|
|
33
33
|
import {
|
|
34
34
|
editSubcommand
|
|
35
35
|
} from "./chunk-U6XOC6E4.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-QZIKP33H.js";
|
|
37
37
|
import "./chunk-XB2KZC2B.js";
|
|
38
38
|
import {
|
|
39
39
|
stamp_default
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
offerAutoPromote,
|
|
17
17
|
parseSubcommandArgs,
|
|
18
18
|
resolveRoute
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RWEQMZL5.js";
|
|
20
20
|
import {
|
|
21
21
|
enableSubcommand
|
|
22
22
|
} from "./chunk-U6XOC6E4.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-QZIKP33H.js";
|
|
24
24
|
import "./chunk-XB2KZC2B.js";
|
|
25
25
|
import {
|
|
26
26
|
stamp_default
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
ensureProjectLink,
|
|
9
9
|
getRoutes,
|
|
10
10
|
parseSubcommandArgs
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-RWEQMZL5.js";
|
|
12
12
|
import {
|
|
13
13
|
exportSubcommand
|
|
14
14
|
} from "./chunk-U6XOC6E4.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-QZIKP33H.js";
|
|
16
16
|
import "./chunk-XB2KZC2B.js";
|
|
17
17
|
import "./chunk-SOTR4CXR.js";
|
|
18
18
|
import "./chunk-7EHTK7LP.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-IE7MNZ56.js";
|
|
16
16
|
import {
|
|
17
17
|
getScope
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DGG3YKA2.js";
|
|
19
19
|
import {
|
|
20
20
|
validateJsonOutput
|
|
21
21
|
} from "./chunk-XPKWKPWA.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
getLinkedProject,
|
|
27
27
|
getProjectByNameOrId
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-QZIKP33H.js";
|
|
29
29
|
import "./chunk-XB2KZC2B.js";
|
|
30
30
|
import "./chunk-SOTR4CXR.js";
|
|
31
31
|
import {
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-EOZFDJSY.js";
|
|
19
19
|
import {
|
|
20
20
|
getScope
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-DGG3YKA2.js";
|
|
22
22
|
import {
|
|
23
23
|
validateJsonOutput
|
|
24
24
|
} from "./chunk-XPKWKPWA.js";
|
|
@@ -28,13 +28,11 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
getLinkedProject,
|
|
30
30
|
getProjectByNameOrId
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-QZIKP33H.js";
|
|
32
32
|
import "./chunk-XB2KZC2B.js";
|
|
33
33
|
import "./chunk-SOTR4CXR.js";
|
|
34
34
|
import "./chunk-7EHTK7LP.js";
|
|
35
|
-
import
|
|
36
|
-
require_ms
|
|
37
|
-
} from "./chunk-GGP5R3FU.js";
|
|
35
|
+
import "./chunk-GGP5R3FU.js";
|
|
38
36
|
import {
|
|
39
37
|
ProjectNotFound,
|
|
40
38
|
getCommandName,
|
|
@@ -55,7 +53,6 @@ import {
|
|
|
55
53
|
} from "./chunk-TZ2YI2VH.js";
|
|
56
54
|
|
|
57
55
|
// src/commands/activity/list.ts
|
|
58
|
-
var import_ms = __toESM(require_ms(), 1);
|
|
59
56
|
var import_chalk = __toESM(require_source(), 1);
|
|
60
57
|
function validateNext(next) {
|
|
61
58
|
if (next === void 0) {
|
|
@@ -116,12 +113,15 @@ function formatActor(event) {
|
|
|
116
113
|
}
|
|
117
114
|
return event.principalId || "-";
|
|
118
115
|
}
|
|
119
|
-
function
|
|
116
|
+
function formatTimestamp(createdAt) {
|
|
120
117
|
if (!Number.isFinite(createdAt) || createdAt <= 0) {
|
|
121
118
|
return "-";
|
|
122
119
|
}
|
|
123
|
-
const
|
|
124
|
-
|
|
120
|
+
const date = new Date(createdAt);
|
|
121
|
+
if (Number.isNaN(date.getTime())) {
|
|
122
|
+
return "-";
|
|
123
|
+
}
|
|
124
|
+
return date.toISOString();
|
|
125
125
|
}
|
|
126
126
|
function formatEventText(text) {
|
|
127
127
|
return text.replace(/\s+/g, " ").trim();
|
|
@@ -132,7 +132,9 @@ function printExpandedEvents(events) {
|
|
|
132
132
|
lines.push(import_chalk.default.bold(formatEventText(event.text)));
|
|
133
133
|
lines.push(` ${import_chalk.default.cyan("Type:")} ${event.type ?? "-"}`);
|
|
134
134
|
lines.push(` ${import_chalk.default.cyan("Actor:")} ${formatActor(event)}`);
|
|
135
|
-
lines.push(
|
|
135
|
+
lines.push(
|
|
136
|
+
` ${import_chalk.default.cyan("Timestamp:")} ${formatTimestamp(event.createdAt)}`
|
|
137
|
+
);
|
|
136
138
|
lines.push(` ${import_chalk.default.cyan("ID:")} ${event.id}`);
|
|
137
139
|
lines.push("");
|
|
138
140
|
});
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
getRoutes,
|
|
17
17
|
parseSubcommandArgs,
|
|
18
18
|
printDiffSummary
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RWEQMZL5.js";
|
|
20
20
|
import {
|
|
21
21
|
publishSubcommand
|
|
22
22
|
} from "./chunk-U6XOC6E4.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-QZIKP33H.js";
|
|
24
24
|
import "./chunk-XB2KZC2B.js";
|
|
25
25
|
import {
|
|
26
26
|
stamp_default
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-A3NYPUKZ.js";
|
|
27
27
|
import {
|
|
28
28
|
getScope
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-DGG3YKA2.js";
|
|
30
30
|
import {
|
|
31
31
|
validateJsonOutput
|
|
32
32
|
} from "./chunk-XPKWKPWA.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
} from "./chunk-2DLBVZWU.js";
|
|
36
36
|
import {
|
|
37
37
|
getLinkedProject
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-QZIKP33H.js";
|
|
39
39
|
import "./chunk-XB2KZC2B.js";
|
|
40
40
|
import "./chunk-SOTR4CXR.js";
|
|
41
41
|
import {
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
parsePosition,
|
|
15
15
|
parseSubcommandArgs,
|
|
16
16
|
resolveRoute
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RWEQMZL5.js";
|
|
18
18
|
import {
|
|
19
19
|
reorderSubcommand
|
|
20
20
|
} from "./chunk-U6XOC6E4.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-QZIKP33H.js";
|
|
22
22
|
import "./chunk-XB2KZC2B.js";
|
|
23
23
|
import {
|
|
24
24
|
stamp_default
|