vercel 54.14.0 → 54.14.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.
Files changed (74) hide show
  1. package/dist/chunks/{add-PVEKZBHH.js → add-PKT6ULVJ.js} +9 -9
  2. package/dist/chunks/{chunk-Y76J3TGD.js → chunk-2HN6DLIY.js} +1 -1
  3. package/dist/chunks/{chunk-FPRA7U2P.js → chunk-2XEEOHHH.js} +1 -1
  4. package/dist/chunks/{chunk-TH555JND.js → chunk-2ZSXQQXI.js} +15 -42
  5. package/dist/chunks/{chunk-6D6CSOSK.js → chunk-372SHB43.js} +86 -62
  6. package/dist/chunks/{chunk-4KAFHBYE.js → chunk-3BR246Y6.js} +1 -1
  7. package/dist/chunks/{chunk-V2WFM23D.js → chunk-4BFK3C7V.js} +2 -2
  8. package/dist/chunks/{chunk-FMN3NXRC.js → chunk-56AJHIQC.js} +1 -1
  9. package/dist/chunks/chunk-64IF634X.js +18 -0
  10. package/dist/chunks/{chunk-VNUNCNPE.js → chunk-AWD3IGXU.js} +3 -3
  11. package/dist/chunks/{chunk-5SYDEK2N.js → chunk-D7MGZH35.js} +1 -1
  12. package/dist/chunks/{chunk-IQQJHYW4.js → chunk-DPS62LHL.js} +2 -2
  13. package/dist/chunks/{chunk-RWJORLQP.js → chunk-FEYVO2US.js} +59 -17
  14. package/dist/chunks/{chunk-ABOX5TXU.js → chunk-FLW73SZ3.js} +3 -3
  15. package/dist/chunks/{chunk-Z7KOKD2G.js → chunk-G3NXHUFT.js} +1 -1
  16. package/dist/chunks/{chunk-CO5D46AG.js → chunk-GGP5R3FU.js} +18 -38
  17. package/dist/chunks/{chunk-J5273CSE.js → chunk-HIYWSGI7.js} +19 -10
  18. package/dist/chunks/{chunk-WFRHKZFI.js → chunk-IB56QKCM.js} +1 -1
  19. package/dist/chunks/{chunk-ZTPOJE63.js → chunk-IJJOI63T.js} +1 -1
  20. package/dist/chunks/{chunk-DAASB6YQ.js → chunk-ILJH44MK.js} +23 -3
  21. package/dist/chunks/{chunk-V4GROAUJ.js → chunk-IPWWE7PB.js} +4 -7
  22. package/dist/chunks/{chunk-G7QWUIGS.js → chunk-J7BMPRCU.js} +3 -3
  23. package/dist/chunks/{chunk-7OZWGXPA.js → chunk-JISJDGJF.js} +2 -2
  24. package/dist/chunks/{chunk-5UCWXYNH.js → chunk-LQR3CHMH.js} +88 -46
  25. package/dist/chunks/{chunk-4NDOMD3E.js → chunk-LYCSVJIX.js} +1 -1
  26. package/dist/chunks/{chunk-6IQZVQV6.js → chunk-MYWLF3BZ.js} +18 -0
  27. package/dist/chunks/{chunk-6K3WJDFA.js → chunk-O4V7CMVO.js} +10 -10
  28. package/dist/chunks/{chunk-KJ5O7JQQ.js → chunk-O7RJHL34.js} +81 -86
  29. package/dist/chunks/{chunk-C3VH3X5Y.js → chunk-OHIZ4SVU.js} +4 -4
  30. package/dist/chunks/{chunk-JFWE5ORG.js → chunk-P4KQ3FJ4.js} +1 -0
  31. package/dist/chunks/{chunk-PV533MBH.js → chunk-PMUUPCDL.js} +1 -1
  32. package/dist/chunks/{chunk-OEM7RB3X.js → chunk-SDZ5ICZL.js} +2 -2
  33. package/dist/chunks/{chunk-NGRSQRSN.js → chunk-SGPBULVT.js} +1 -1
  34. package/dist/chunks/{chunk-RM4XGGZO.js → chunk-TSENBD7C.js} +2 -2
  35. package/dist/chunks/{chunk-O4C4A7HM.js → chunk-VKRW77HH.js} +1 -1
  36. package/dist/chunks/chunk-VXYGCOKL.js +28 -0
  37. package/dist/chunks/{chunk-7CJZCFLW.js → chunk-YLGMXYFG.js} +2 -2
  38. package/dist/chunks/{chunk-B6C7NMT3.js → chunk-Z2MBXYZZ.js} +1 -1
  39. package/dist/chunks/{chunk-S4VHXL2Y.js → chunk-Z3X747P6.js} +1 -1
  40. package/dist/chunks/{compile-vercel-config-MD37D2F7.js → compile-vercel-config-3LV7J3IZ.js} +4 -4
  41. package/dist/chunks/{delete-6EMDCXSA.js → delete-GFW6Y6TZ.js} +10 -8
  42. package/dist/chunks/{disable-FLJ27NHG.js → disable-PGRAS2ZL.js} +10 -8
  43. package/dist/chunks/{discard-KEIII6RM.js → discard-S6N5Q4G5.js} +10 -8
  44. package/dist/chunks/{edit-DOL2ZJPG.js → edit-TICKX4ZV.js} +12 -10
  45. package/dist/chunks/{enable-PZWZIETT.js → enable-L3BYWN6S.js} +10 -8
  46. package/dist/chunks/{export-2PFHAELC.js → export-NXS33U5T.js} +6 -6
  47. package/dist/chunks/{inspect-WPWOZJ2K.js → inspect-OOI5JN3Y.js} +9 -9
  48. package/dist/chunks/{list-4R5DCLTB.js → list-6EHRL2D4.js} +7 -7
  49. package/dist/chunks/{list-ZT7QK2H7.js → list-77WL6463.js} +11 -11
  50. package/dist/chunks/{ls-4JTXQXMQ.js → ls-PBSOEXFG.js} +9 -9
  51. package/dist/chunks/{publish-JV4J3SOA.js → publish-CU2THVYW.js} +10 -8
  52. package/dist/chunks/{query-N22EYSZZ.js → query-HEATRYAK.js} +99 -43
  53. package/dist/chunks/{reorder-TG53BKW4.js → reorder-IQVKSM3H.js} +10 -8
  54. package/dist/chunks/{restore-U7O4VESA.js → restore-RDEOBGAS.js} +10 -8
  55. package/dist/chunks/{rm-XA4LYZXI.js → rm-MCSGTU4J.js} +9 -9
  56. package/dist/chunks/{routes-EAMQVFU2.js → routes-YEU33SON.js} +2 -2
  57. package/dist/chunks/{rule-inspect-HC745CYT.js → rule-inspect-3YK2XSL3.js} +9 -9
  58. package/dist/chunks/{rules-RMN72YHN.js → rules-F4MRDDHM.js} +6 -6
  59. package/dist/chunks/{schema-CZVKUXM6.js → schema-65C5EBJ7.js} +9 -9
  60. package/dist/chunks/{stamp-ENIXDCRO.js → stamp-AA7R3MZS.js} +3 -1
  61. package/dist/chunks/{types-P6JKZFEY.js → types-3R7HKP57.js} +3 -3
  62. package/dist/chunks/{update-PU3WLIA7.js → update-XB4WSRGY.js} +9 -9
  63. package/dist/commands/build/index.js +18 -16
  64. package/dist/commands/deploy/index.js +30 -171
  65. package/dist/commands/dev/index.js +187 -133
  66. package/dist/commands/dev/next-dev-websocket-shim-preload.cjs +190 -0
  67. package/dist/commands/env/index.js +162 -101
  68. package/dist/commands/link/index.js +19 -19
  69. package/dist/commands/list/index.js +13 -11
  70. package/dist/commands-bulk.js +258 -104
  71. package/dist/help.js +1 -1
  72. package/dist/index.js +27 -27
  73. package/dist/version.mjs +1 -1
  74. package/package.json +11 -11
@@ -6,39 +6,41 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  metricsCommand
9
- } from "./chunk-DAASB6YQ.js";
9
+ } from "./chunk-ILJH44MK.js";
10
10
  import {
11
11
  routesCommand
12
- } from "./chunk-WFRHKZFI.js";
12
+ } from "./chunk-IB56QKCM.js";
13
13
  import {
14
14
  alertsCommand
15
- } from "./chunk-IQQJHYW4.js";
15
+ } from "./chunk-DPS62LHL.js";
16
16
  import {
17
17
  devCommand
18
- } from "./chunk-O4C4A7HM.js";
18
+ } from "./chunk-VKRW77HH.js";
19
19
  import {
20
20
  activityCommand
21
- } from "./chunk-FMN3NXRC.js";
21
+ } from "./chunk-56AJHIQC.js";
22
22
  import {
23
23
  listCommand
24
- } from "./chunk-ZTPOJE63.js";
24
+ } from "./chunk-IJJOI63T.js";
25
25
  import {
26
26
  buildCommand,
27
27
  pullCommand
28
- } from "./chunk-OEM7RB3X.js";
28
+ } from "./chunk-SDZ5ICZL.js";
29
29
  import {
30
30
  envCommand
31
- } from "./chunk-5UCWXYNH.js";
31
+ } from "./chunk-LQR3CHMH.js";
32
32
  import {
33
33
  confirmOption,
34
+ deploymentOption,
34
35
  forceOption,
35
36
  formatOption,
36
37
  jsonOption,
37
38
  limitOption,
38
39
  nextOption,
39
40
  projectOption,
41
+ protectionBypassOption,
40
42
  yesOption
41
- } from "./chunk-6IQZVQV6.js";
43
+ } from "./chunk-MYWLF3BZ.js";
42
44
  import {
43
45
  packageName
44
46
  } from "./chunk-LN6B7ZI3.js";
@@ -66,13 +68,6 @@ var initSubcommand = {
66
68
  deprecated: false,
67
69
  description: 'Retain build cache when using "--force"'
68
70
  },
69
- {
70
- name: "public",
71
- shorthand: "p",
72
- type: Boolean,
73
- deprecated: false,
74
- description: "Deployment is public (`/_src`) is exposed)"
75
- },
76
71
  {
77
72
  name: "env",
78
73
  shorthand: "e",
@@ -142,21 +137,7 @@ var initSubcommand = {
142
137
  formatOption,
143
138
  jsonOption,
144
139
  confirmOption,
145
- projectOption,
146
- {
147
- name: "functions-beta",
148
- shorthand: null,
149
- type: Boolean,
150
- deprecated: false
151
- // No description — keeps it hidden from --help output
152
- },
153
- {
154
- name: "no-functions-beta",
155
- shorthand: null,
156
- type: Boolean,
157
- deprecated: false
158
- // No description — keeps it hidden from --help output
159
- }
140
+ projectOption
160
141
  ],
161
142
  examples: [
162
143
  {
@@ -231,13 +212,6 @@ var deployCommand = {
231
212
  deprecated: false,
232
213
  description: 'Retain build cache when using "--force"'
233
214
  },
234
- {
235
- name: "public",
236
- shorthand: "p",
237
- type: Boolean,
238
- deprecated: false,
239
- description: "Deployment is public (`/_src`) is exposed)"
240
- },
241
215
  {
242
216
  name: "env",
243
217
  shorthand: "e",
@@ -354,21 +328,7 @@ var deployCommand = {
354
328
  formatOption,
355
329
  jsonOption,
356
330
  confirmOption,
357
- projectOption,
358
- {
359
- name: "functions-beta",
360
- shorthand: null,
361
- type: Boolean,
362
- deprecated: false
363
- // No description — keeps it hidden from --help output
364
- },
365
- {
366
- name: "no-functions-beta",
367
- shorthand: null,
368
- type: Boolean,
369
- deprecated: false
370
- // No description — keeps it hidden from --help output
371
- }
331
+ projectOption
372
332
  ],
373
333
  examples: [
374
334
  {
@@ -398,12 +358,12 @@ var deployCommand = {
398
358
  var addSubcommand = {
399
359
  name: "add",
400
360
  aliases: [],
401
- description: "Add additional Vercel Projects to an existing repository link. Requires an existing repo.json (created by `link --repo`).",
361
+ description: "Add projects to an existing repository link created by link --repo",
402
362
  arguments: [],
403
363
  options: [
404
364
  {
405
365
  ...yesOption,
406
- description: "Skip questions when adding projects using default scope and settings"
366
+ description: "Skip questions when adding projects with default team and settings"
407
367
  }
408
368
  ],
409
369
  examples: [
@@ -416,13 +376,13 @@ var addSubcommand = {
416
376
  var linkCommand = {
417
377
  name: "link",
418
378
  aliases: [],
419
- description: "Link a local directory to a Vercel Project.",
379
+ description: "Link a local directory to a Vercel project",
420
380
  arguments: [],
421
381
  subcommands: [addSubcommand],
422
382
  options: [
423
383
  {
424
384
  name: "repo",
425
- description: "Link multiple projects based on Git repository (alpha)",
385
+ description: "Link multiple projects from the Git repository (alpha)",
426
386
  shorthand: "r",
427
387
  type: Boolean,
428
388
  deprecated: false
@@ -430,11 +390,11 @@ var linkCommand = {
430
390
  {
431
391
  ...projectOption,
432
392
  shorthand: "p",
433
- description: "Project name or ID to link to (required for non-interactive)"
393
+ description: "Set the project name or ID to link; required for non-interactive existing-project links"
434
394
  },
435
395
  {
436
396
  name: "team",
437
- description: "Scope: team ID or slug (use with --project for non-interactive)",
397
+ description: "Set the team ID or slug; use with --project for non-interactive links",
438
398
  shorthand: null,
439
399
  argument: "TEAM_ID_OR_SLUG",
440
400
  type: String,
@@ -442,13 +402,13 @@ var linkCommand = {
442
402
  },
443
403
  {
444
404
  ...yesOption,
445
- description: "Skip questions when setting up new project using default scope and settings"
405
+ description: "Skip questions when setting up with default team and settings"
446
406
  },
447
407
  confirmOption
448
408
  ],
449
409
  examples: [
450
410
  {
451
- name: "Link current directory to a Vercel Project",
411
+ name: "Link current directory to a Vercel project",
452
412
  value: `${packageName} link`
453
413
  },
454
414
  {
@@ -456,15 +416,15 @@ var linkCommand = {
456
416
  value: `${packageName} link --yes`
457
417
  },
458
418
  {
459
- name: "Non-interactive: link to an existing project (CI/agents)",
419
+ name: "Link to an existing project in CI or agent mode",
460
420
  value: `${packageName} link --yes --team <team-id> --project <project-name-or-id>`
461
421
  },
462
422
  {
463
- name: "Link a specific directory to a Vercel Project",
423
+ name: "Link a specific directory to a Vercel project",
464
424
  value: `${packageName} link --cwd /path/to/project`
465
425
  },
466
426
  {
467
- name: "Link to the current Git repository, allowing for multiple Vercel Projects to be linked simultaneously (useful for monorepos)",
427
+ name: "Link multiple projects from the current Git repository",
468
428
  value: `${packageName} link --repo`
469
429
  },
470
430
  {
@@ -1100,9 +1060,10 @@ var creditsSubcommand = {
1100
1060
  }
1101
1061
  ]
1102
1062
  };
1103
- var SUPPORTED_ADDON_ALIASES = ["siem"];
1063
+ var SUPPORTED_ADDON_ALIASES = ["siem", "customEnvironment"];
1104
1064
  var ADDON_LABELS = {
1105
- siem: "SIEM"
1065
+ siem: "SIEM",
1066
+ customEnvironment: "Custom Environments"
1106
1067
  };
1107
1068
  var addonSubcommand = {
1108
1069
  name: "addon",
@@ -1130,6 +1091,10 @@ var addonSubcommand = {
1130
1091
  {
1131
1092
  name: "Purchase 1 unit of the SIEM addon",
1132
1093
  value: `${packageName} buy addon siem 1`
1094
+ },
1095
+ {
1096
+ name: "Purchase 1 unit of the Custom Environments addon",
1097
+ value: `${packageName} buy addon customEnvironment 1`
1133
1098
  }
1134
1099
  ]
1135
1100
  };
@@ -1210,6 +1175,10 @@ var buyCommand = {
1210
1175
  name: "Purchase the SIEM addon",
1211
1176
  value: `${packageName} buy addon siem 1`
1212
1177
  },
1178
+ {
1179
+ name: "Purchase the Custom Environments addon",
1180
+ value: `${packageName} buy addon customEnvironment 1`
1181
+ },
1213
1182
  {
1214
1183
  name: "Upgrade to Pro",
1215
1184
  value: `${packageName} buy pro`
@@ -2226,22 +2195,8 @@ var curlCommand = {
2226
2195
  ...yesOption,
2227
2196
  description: "Skip confirmation when linking is required (e.g. in non-interactive mode)"
2228
2197
  },
2229
- {
2230
- name: "deployment",
2231
- shorthand: null,
2232
- type: String,
2233
- deprecated: false,
2234
- description: "The deployment ID or URL to target",
2235
- argument: "ID|URL"
2236
- },
2237
- {
2238
- name: "protection-bypass",
2239
- shorthand: null,
2240
- type: String,
2241
- deprecated: false,
2242
- description: "Protection bypass secret for accessing protected deployments",
2243
- argument: "SECRET"
2244
- },
2198
+ deploymentOption,
2199
+ protectionBypassOption,
2245
2200
  {
2246
2201
  name: "trace",
2247
2202
  shorthand: null,
@@ -8114,12 +8069,47 @@ var getSubcommand2 = {
8114
8069
  }
8115
8070
  ]
8116
8071
  };
8072
+ var createSubcommand5 = {
8073
+ name: "create",
8074
+ aliases: [],
8075
+ description: "Capture a session trace for a request (alias for `vercel curl --trace`).",
8076
+ arguments: [{ name: "path", required: true }],
8077
+ options: [
8078
+ deploymentOption,
8079
+ protectionBypassOption,
8080
+ {
8081
+ name: "json",
8082
+ shorthand: null,
8083
+ type: Boolean,
8084
+ deprecated: false,
8085
+ description: "Emit { response, requestId } as JSON on stdout"
8086
+ },
8087
+ {
8088
+ ...yesOption,
8089
+ description: "Skip the production confirmation prompt (e.g. in non-interactive mode)"
8090
+ }
8091
+ ],
8092
+ examples: [
8093
+ {
8094
+ name: "Capture a session trace for a request",
8095
+ value: `${packageName} traces create /api/hello`
8096
+ },
8097
+ {
8098
+ name: "Target a specific deployment",
8099
+ value: `${packageName} traces create /api/status --deployment https://your-project-abc123.vercel.app`
8100
+ },
8101
+ {
8102
+ name: "Pass curl flags after the separator",
8103
+ value: `${packageName} traces create /api/test -- --request POST --data '{"name": "John"}'`
8104
+ }
8105
+ ]
8106
+ };
8117
8107
  var tracesCommand = {
8118
8108
  name: "traces",
8119
8109
  aliases: [],
8120
8110
  description: "Fetch traces captured for a Vercel project.",
8121
8111
  arguments: [{ name: "requestId", required: false }],
8122
- subcommands: [getSubcommand2],
8112
+ subcommands: [getSubcommand2, createSubcommand5],
8123
8113
  options: [],
8124
8114
  examples: [
8125
8115
  {
@@ -8129,6 +8119,10 @@ var tracesCommand = {
8129
8119
  {
8130
8120
  name: "Print the raw trace JSON",
8131
8121
  value: `${packageName} traces get req_1234567890 --json`
8122
+ },
8123
+ {
8124
+ name: "Capture a session trace for a request",
8125
+ value: `${packageName} traces create /api/hello`
8132
8126
  }
8133
8127
  ]
8134
8128
  };
@@ -8682,7 +8676,7 @@ var getSubcommand4 = {
8682
8676
  options: [formatOption],
8683
8677
  examples: []
8684
8678
  };
8685
- var createSubcommand5 = {
8679
+ var createSubcommand6 = {
8686
8680
  name: "create",
8687
8681
  aliases: ["add"],
8688
8682
  description: "Create a new webhook",
@@ -8743,7 +8737,7 @@ var webhooksCommand = {
8743
8737
  subcommands: [
8744
8738
  listSubcommand18,
8745
8739
  getSubcommand4,
8746
- createSubcommand5,
8740
+ createSubcommand6,
8747
8741
  removeSubcommand15
8748
8742
  ],
8749
8743
  options: [],
@@ -9079,6 +9073,7 @@ export {
9079
9073
  disableSubcommand3,
9080
9074
  telemetryCommand,
9081
9075
  getSubcommand2,
9076
+ createSubcommand5,
9082
9077
  tracesCommand,
9083
9078
  upgradeCommand,
9084
9079
  usageCommand,
@@ -9096,7 +9091,7 @@ export {
9096
9091
  blobCommand,
9097
9092
  listSubcommand18,
9098
9093
  getSubcommand4,
9099
- createSubcommand5,
9094
+ createSubcommand6,
9100
9095
  removeSubcommand15,
9101
9096
  webhooksCommand,
9102
9097
  getCommandAliases,
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-V5P25P7F.js";
10
10
  import {
11
11
  getLocalPathConfig
12
- } from "./chunk-V2WFM23D.js";
12
+ } from "./chunk-4BFK3C7V.js";
13
13
  import {
14
14
  DEFAULT_VERCEL_CONFIG_FILENAME,
15
15
  VERCEL_CONFIG_EXTENSIONS,
@@ -36,17 +36,17 @@ import {
36
36
  useKeypress,
37
37
  usePrefix,
38
38
  useState
39
- } from "./chunk-5UCWXYNH.js";
39
+ } from "./chunk-LQR3CHMH.js";
40
40
  import {
41
41
  require_load_json_file
42
- } from "./chunk-J5273CSE.js";
42
+ } from "./chunk-HIYWSGI7.js";
43
43
  import {
44
44
  require_lib as require_lib2
45
45
  } from "./chunk-N2T234LO.js";
46
46
  import {
47
47
  parseArguments,
48
48
  require_strip_ansi
49
- } from "./chunk-6IQZVQV6.js";
49
+ } from "./chunk-MYWLF3BZ.js";
50
50
  import {
51
51
  APIError,
52
52
  NowError
@@ -82,6 +82,7 @@ var help = () => `
82
82
  target [cmd] Manage custom environments for your Project
83
83
  teams Manages your teams
84
84
  telemetry [cmd] Enable or disable telemetry collection
85
+ traces [cmd] Fetch and capture traces for your project's deployment
85
86
  upgrade Upgrade the Vercel CLI to the latest version
86
87
  usage Show billing usage for the current billing period
87
88
  webhooks [cmd] Manages webhooks [beta]
@@ -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-J5273CSE.js";
9
+ } from "./chunk-HIYWSGI7.js";
10
10
 
11
11
  // src/util/telemetry/commands/routes/index.ts
12
12
  var RoutesTelemetryClient = class extends TelemetryClient {
@@ -6,11 +6,11 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getEnvTargetPlaceholder
9
- } from "./chunk-5UCWXYNH.js";
9
+ } from "./chunk-LQR3CHMH.js";
10
10
  import {
11
11
  projectOption,
12
12
  yesOption
13
- } from "./chunk-6IQZVQV6.js";
13
+ } from "./chunk-MYWLF3BZ.js";
14
14
  import {
15
15
  packageName
16
16
  } from "./chunk-LN6B7ZI3.js";
@@ -8,7 +8,7 @@ import {
8
8
  formatOption,
9
9
  projectOption,
10
10
  yesOption
11
- } from "./chunk-6IQZVQV6.js";
11
+ } from "./chunk-MYWLF3BZ.js";
12
12
  import {
13
13
  packageName
14
14
  } from "./chunk-LN6B7ZI3.js";
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  table
9
- } from "./chunk-4NDOMD3E.js";
9
+ } from "./chunk-LYCSVJIX.js";
10
10
  import {
11
11
  require_strip_ansi
12
- } from "./chunk-6IQZVQV6.js";
12
+ } from "./chunk-MYWLF3BZ.js";
13
13
  import {
14
14
  require_source
15
15
  } from "./chunk-S7KYDPEM.js";
@@ -8,7 +8,7 @@ import {
8
8
  confirmOption,
9
9
  projectOption,
10
10
  yesOption
11
- } from "./chunk-6IQZVQV6.js";
11
+ } from "./chunk-MYWLF3BZ.js";
12
12
  import {
13
13
  packageName
14
14
  } from "./chunk-LN6B7ZI3.js";
@@ -0,0 +1,28 @@
1
+ import { createRequire as __createRequire } from 'node:module';
2
+ import { fileURLToPath as __fileURLToPath } from 'node:url';
3
+ import { dirname as __dirname_ } from 'node:path';
4
+ const require = __createRequire(import.meta.url);
5
+ const __filename = __fileURLToPath(import.meta.url);
6
+ const __dirname = __dirname_(__filename);
7
+ import {
8
+ require_ms
9
+ } from "./chunk-GGP5R3FU.js";
10
+ import {
11
+ require_source
12
+ } from "./chunk-S7KYDPEM.js";
13
+ import {
14
+ __toESM
15
+ } from "./chunk-TZ2YI2VH.js";
16
+
17
+ // src/util/output/elapsed.ts
18
+ var import_ms = __toESM(require_ms(), 1);
19
+ var import_chalk = __toESM(require_source(), 1);
20
+ function elapsed(time, ago = false) {
21
+ return import_chalk.default.gray(
22
+ `[${time < 1e3 ? `${time}ms` : (0, import_ms.default)(time)}${ago ? " ago" : ""}]`
23
+ );
24
+ }
25
+
26
+ export {
27
+ elapsed
28
+ };
@@ -7,12 +7,12 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  printProjectNotFoundError,
9
9
  setupAndLink
10
- } from "./chunk-6D6CSOSK.js";
10
+ } from "./chunk-372SHB43.js";
11
11
  import {
12
12
  getLinkedProject,
13
13
  param,
14
14
  resolveProjectCwd
15
- } from "./chunk-5UCWXYNH.js";
15
+ } from "./chunk-LQR3CHMH.js";
16
16
  import {
17
17
  buildCommandWithYes,
18
18
  outputActionRequired
@@ -13,7 +13,7 @@ import {
13
13
 
14
14
  // src/commands/metrics/output.ts
15
15
  function getRollupColumnName(metric, aggregation) {
16
- return `${metric.replace(/\./g, "_")}_${aggregation}`;
16
+ return `${metric}_${aggregation}`.replace(/[./]/g, "_");
17
17
  }
18
18
  function formatQueryJson(query, response) {
19
19
  return JSON.stringify(
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  formatCondition,
9
9
  formatTransform
10
- } from "./chunk-G7QWUIGS.js";
10
+ } from "./chunk-J7BMPRCU.js";
11
11
  import {
12
12
  output_manager_default
13
13
  } from "./chunk-Z5SBJH6L.js";
@@ -11,12 +11,12 @@ import {
11
11
  findSourceVercelConfigFile,
12
12
  getVercelConfigPath,
13
13
  normalizeConfig
14
- } from "./chunk-5UCWXYNH.js";
15
- import "./chunk-J5273CSE.js";
14
+ } from "./chunk-LQR3CHMH.js";
15
+ import "./chunk-HIYWSGI7.js";
16
16
  import "./chunk-NHGCQRK5.js";
17
- import "./chunk-CO5D46AG.js";
18
17
  import "./chunk-N2T234LO.js";
19
- import "./chunk-6IQZVQV6.js";
18
+ import "./chunk-GGP5R3FU.js";
19
+ import "./chunk-MYWLF3BZ.js";
20
20
  import "./chunk-LN6B7ZI3.js";
21
21
  import "./chunk-P4QNYOFB.js";
22
22
  import "./chunk-Z5SBJH6L.js";
@@ -15,24 +15,26 @@ import {
15
15
  parseSubcommandArgs,
16
16
  resolveRoutes,
17
17
  withGlobalFlags
18
- } from "./chunk-G7QWUIGS.js";
18
+ } from "./chunk-J7BMPRCU.js";
19
19
  import {
20
20
  deleteSubcommand
21
- } from "./chunk-WFRHKZFI.js";
21
+ } from "./chunk-IB56QKCM.js";
22
+ import {
23
+ stamp_default
24
+ } from "./chunk-64IF634X.js";
25
+ import "./chunk-VXYGCOKL.js";
22
26
  import {
23
27
  AGENT_REASON,
24
28
  AGENT_STATUS
25
29
  } from "./chunk-LJ5WXXG6.js";
26
- import "./chunk-5UCWXYNH.js";
27
- import "./chunk-J5273CSE.js";
30
+ import "./chunk-LQR3CHMH.js";
31
+ import "./chunk-HIYWSGI7.js";
28
32
  import {
29
33
  outputAgentError
30
34
  } from "./chunk-NHGCQRK5.js";
31
- import {
32
- stamp_default
33
- } from "./chunk-CO5D46AG.js";
34
35
  import "./chunk-N2T234LO.js";
35
- import "./chunk-6IQZVQV6.js";
36
+ import "./chunk-GGP5R3FU.js";
37
+ import "./chunk-MYWLF3BZ.js";
36
38
  import {
37
39
  getCommandName
38
40
  } from "./chunk-LN6B7ZI3.js";
@@ -17,21 +17,23 @@ import {
17
17
  parseSubcommandArgs,
18
18
  resolveRoute,
19
19
  withGlobalFlags
20
- } from "./chunk-G7QWUIGS.js";
20
+ } from "./chunk-J7BMPRCU.js";
21
21
  import {
22
22
  disableSubcommand
23
- } from "./chunk-WFRHKZFI.js";
23
+ } from "./chunk-IB56QKCM.js";
24
+ import {
25
+ stamp_default
26
+ } from "./chunk-64IF634X.js";
27
+ import "./chunk-VXYGCOKL.js";
24
28
  import "./chunk-LJ5WXXG6.js";
25
- import "./chunk-5UCWXYNH.js";
26
- import "./chunk-J5273CSE.js";
29
+ import "./chunk-LQR3CHMH.js";
30
+ import "./chunk-HIYWSGI7.js";
27
31
  import {
28
32
  outputAgentError
29
33
  } from "./chunk-NHGCQRK5.js";
30
- import {
31
- stamp_default
32
- } from "./chunk-CO5D46AG.js";
33
34
  import "./chunk-N2T234LO.js";
34
- import "./chunk-6IQZVQV6.js";
35
+ import "./chunk-GGP5R3FU.js";
36
+ import "./chunk-MYWLF3BZ.js";
35
37
  import {
36
38
  getCommandName
37
39
  } from "./chunk-LN6B7ZI3.js";
@@ -17,21 +17,23 @@ import {
17
17
  parseSubcommandArgs,
18
18
  printDiffSummary,
19
19
  withGlobalFlags
20
- } from "./chunk-G7QWUIGS.js";
20
+ } from "./chunk-J7BMPRCU.js";
21
21
  import {
22
22
  discardSubcommand
23
- } from "./chunk-WFRHKZFI.js";
23
+ } from "./chunk-IB56QKCM.js";
24
+ import {
25
+ stamp_default
26
+ } from "./chunk-64IF634X.js";
27
+ import "./chunk-VXYGCOKL.js";
24
28
  import "./chunk-LJ5WXXG6.js";
25
- import "./chunk-5UCWXYNH.js";
26
- import "./chunk-J5273CSE.js";
29
+ import "./chunk-LQR3CHMH.js";
30
+ import "./chunk-HIYWSGI7.js";
27
31
  import {
28
32
  outputAgentError
29
33
  } from "./chunk-NHGCQRK5.js";
30
- import {
31
- stamp_default
32
- } from "./chunk-CO5D46AG.js";
33
34
  import "./chunk-N2T234LO.js";
34
- import "./chunk-6IQZVQV6.js";
35
+ import "./chunk-GGP5R3FU.js";
36
+ import "./chunk-MYWLF3BZ.js";
35
37
  import {
36
38
  getCommandName
37
39
  } from "./chunk-LN6B7ZI3.js";
@@ -19,7 +19,7 @@ import {
19
19
  printRouteConfig,
20
20
  routingRuleToCurrentRoute,
21
21
  runInteractiveEditLoop
22
- } from "./chunk-S4VHXL2Y.js";
22
+ } from "./chunk-Z3X747P6.js";
23
23
  import {
24
24
  getRouteVersions
25
25
  } from "./chunk-AHU7WNL2.js";
@@ -31,21 +31,23 @@ import {
31
31
  resolveRoute,
32
32
  shellQuoteRouteIdentifierForSuggestion,
33
33
  withGlobalFlags
34
- } from "./chunk-G7QWUIGS.js";
34
+ } from "./chunk-J7BMPRCU.js";
35
35
  import {
36
36
  editSubcommand
37
- } from "./chunk-WFRHKZFI.js";
37
+ } from "./chunk-IB56QKCM.js";
38
+ import {
39
+ stamp_default
40
+ } from "./chunk-64IF634X.js";
41
+ import "./chunk-VXYGCOKL.js";
38
42
  import "./chunk-LJ5WXXG6.js";
39
- import "./chunk-5UCWXYNH.js";
40
- import "./chunk-J5273CSE.js";
43
+ import "./chunk-LQR3CHMH.js";
44
+ import "./chunk-HIYWSGI7.js";
41
45
  import {
42
46
  outputAgentError
43
47
  } from "./chunk-NHGCQRK5.js";
44
- import {
45
- stamp_default
46
- } from "./chunk-CO5D46AG.js";
47
48
  import "./chunk-N2T234LO.js";
48
- import "./chunk-6IQZVQV6.js";
49
+ import "./chunk-GGP5R3FU.js";
50
+ import "./chunk-MYWLF3BZ.js";
49
51
  import {
50
52
  getCommandName
51
53
  } from "./chunk-LN6B7ZI3.js";
@@ -74,7 +76,7 @@ async function edit(client, argv) {
74
76
  const { args, flags } = parsed;
75
77
  const skipConfirmation = flags["--yes"];
76
78
  const identifier = args[0];
77
- const { RoutesEditTelemetryClient } = await import("./routes-EAMQVFU2.js");
79
+ const { RoutesEditTelemetryClient } = await import("./routes-YEU33SON.js");
78
80
  const telemetry = new RoutesEditTelemetryClient({
79
81
  opts: { store: client.telemetryEventStore }
80
82
  });