vercel 51.2.0 → 51.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/dist/chunks/{chunk-7IDNCLTM.js → chunk-3FMFPD7F.js} +1 -1
  2. package/dist/chunks/{chunk-F2ROYUW2.js → chunk-4EGCWWSR.js} +377 -14
  3. package/dist/chunks/{chunk-6DIXPIXB.js → chunk-57RLFBKC.js} +1 -1
  4. package/dist/chunks/{chunk-D7SZ3DXR.js → chunk-5DLMAFQU.js} +1 -1
  5. package/dist/chunks/{chunk-UZIEJEMY.js → chunk-5WHDQH2U.js} +1 -1
  6. package/dist/chunks/{chunk-TBW2XDGN.js → chunk-5YQCJTZI.js} +4 -4
  7. package/dist/chunks/{chunk-V23RAVWV.js → chunk-7S7GE4BN.js} +4 -5
  8. package/dist/chunks/{chunk-TWZWQGBN.js → chunk-E3NE4SKN.js} +3 -0
  9. package/dist/chunks/{chunk-3PEFANXY.js → chunk-EHZKWVK2.js} +3 -3
  10. package/dist/chunks/{chunk-NYO5XRBQ.js → chunk-FSOFFJDV.js} +1 -1
  11. package/dist/chunks/{chunk-WOFF2NEI.js → chunk-G6MVEB4W.js} +2 -2
  12. package/dist/chunks/{chunk-5CRSHCRD.js → chunk-K5XJCQQO.js} +1 -1
  13. package/dist/chunks/{chunk-A5XRYFVO.js → chunk-QQTF2FEY.js} +2 -2
  14. package/dist/chunks/{chunk-65IHMJX4.js → chunk-RK4TKB3D.js} +2 -2
  15. package/dist/chunks/{chunk-YKKQGGLZ.js → chunk-SSOWPEZT.js} +1 -1
  16. package/dist/chunks/{chunk-XHMU7WUB.js → chunk-VTQNSCUG.js} +2 -2
  17. package/dist/chunks/{chunk-XMVSCINT.js → chunk-W5K4YCTI.js} +1 -1
  18. package/dist/chunks/{chunk-K4IC7LFB.js → chunk-W6FW7CCT.js} +3 -3
  19. package/dist/chunks/{chunk-ZL5SYUAG.js → chunk-XAVGWINL.js} +5 -5
  20. package/dist/chunks/{chunk-RQTDTSAX.js → chunk-XRR5HDB3.js} +1 -1
  21. package/dist/chunks/{compile-vercel-config-6FEECIZK.js → compile-vercel-config-2GV46IDP.js} +1 -1
  22. package/dist/chunks/{delete-J2N2QXMP.js → delete-PXMYSQGR.js} +3 -3
  23. package/dist/chunks/{disable-QGYXQKAM.js → disable-2ZQ4OG4A.js} +3 -3
  24. package/dist/chunks/{discard-ZDGJB5US.js → discard-FQZTZ5HK.js} +3 -3
  25. package/dist/chunks/{edit-RJWDA5KJ.js → edit-F3J7Q5SZ.js} +4 -4
  26. package/dist/chunks/{enable-L33HPTXB.js → enable-ZW4W33H5.js} +3 -3
  27. package/dist/chunks/{export-Z5C4BJ2U.js → export-ZZV6ESIW.js} +3 -3
  28. package/dist/chunks/{list-4P2TW77C.js → list-SSIMVNNN.js} +2 -2
  29. package/dist/chunks/{list-HXN64DKX.js → list-VFPV4TUW.js} +2 -2
  30. package/dist/chunks/{publish-TLVHQB2H.js → publish-3K76MNS3.js} +3 -3
  31. package/dist/chunks/{query-SDKQTWN2.js → query-CY7JJSSX.js} +2 -2
  32. package/dist/chunks/{reorder-UHMUFYIW.js → reorder-6L7MENN5.js} +3 -3
  33. package/dist/chunks/{restore-762GO6HU.js → restore-XUYXOJQ2.js} +3 -3
  34. package/dist/chunks/{schema-WBOIQRP4.js → schema-G5FSLZVA.js} +2 -2
  35. package/dist/commands/build/index.js +10 -10
  36. package/dist/commands/deploy/index.js +12 -12
  37. package/dist/commands/dev/index.js +8 -8
  38. package/dist/commands/env/index.js +5 -5
  39. package/dist/commands/link/index.js +7 -7
  40. package/dist/commands/list/index.js +3 -3
  41. package/dist/commands-bulk.js +4291 -1735
  42. package/dist/index.js +20 -10
  43. package/dist/version.mjs +1 -1
  44. package/package.json +18 -18
@@ -11,7 +11,7 @@ import {
11
11
  getTeamById,
12
12
  getUser,
13
13
  getVercelDirectory
14
- } from "./chunk-V23RAVWV.js";
14
+ } from "./chunk-7S7GE4BN.js";
15
15
  import {
16
16
  TeamDeleted
17
17
  } from "./chunk-A4NVECX5.js";
@@ -25,10 +25,10 @@ import {
25
25
  import {
26
26
  buildCommand,
27
27
  pullCommand
28
- } from "./chunk-XMVSCINT.js";
28
+ } from "./chunk-W5K4YCTI.js";
29
29
  import {
30
30
  envCommand
31
- } from "./chunk-V23RAVWV.js";
31
+ } from "./chunk-7S7GE4BN.js";
32
32
  import {
33
33
  confirmOption,
34
34
  forceOption,
@@ -465,6 +465,75 @@ var agentCommand = {
465
465
  ]
466
466
  };
467
467
 
468
+ // src/commands/ai-gateway/command.ts
469
+ var createSubcommand = {
470
+ name: "create",
471
+ aliases: [],
472
+ description: "Create a new AI Gateway API key",
473
+ arguments: [],
474
+ options: [
475
+ {
476
+ name: "name",
477
+ shorthand: null,
478
+ type: String,
479
+ argument: "NAME",
480
+ deprecated: false,
481
+ description: "Human-readable name for the API key"
482
+ },
483
+ {
484
+ name: "budget",
485
+ shorthand: null,
486
+ type: Number,
487
+ argument: "AMOUNT",
488
+ deprecated: false,
489
+ description: "Quota budget amount in dollars (minimum 1)"
490
+ },
491
+ {
492
+ name: "refresh-period",
493
+ shorthand: null,
494
+ type: String,
495
+ argument: "PERIOD",
496
+ deprecated: false,
497
+ description: "Quota refresh cadence: daily, weekly, monthly, or none (default: none)"
498
+ },
499
+ {
500
+ name: "include-byok",
501
+ shorthand: null,
502
+ type: Boolean,
503
+ deprecated: false,
504
+ description: "Include BYOK usage in quota (default: false)"
505
+ }
506
+ ],
507
+ examples: [
508
+ {
509
+ name: "Create an API key with defaults",
510
+ value: `${packageName} ai-gateway api-keys create`
511
+ },
512
+ {
513
+ name: "Create an API key with a budget",
514
+ value: `${packageName} ai-gateway api-keys create --name my-key --budget 500 --refresh-period monthly`
515
+ }
516
+ ]
517
+ };
518
+ var apiKeysSubcommand = {
519
+ name: "api-keys",
520
+ aliases: [],
521
+ description: "Manage AI Gateway API keys",
522
+ arguments: [],
523
+ subcommands: [createSubcommand],
524
+ options: [],
525
+ examples: []
526
+ };
527
+ var aiGatewayCommand = {
528
+ name: "ai-gateway",
529
+ aliases: [],
530
+ description: "Manage AI Gateway resources",
531
+ arguments: [],
532
+ subcommands: [apiKeysSubcommand],
533
+ options: [],
534
+ examples: []
535
+ };
536
+
468
537
  // src/commands/alias/command.ts
469
538
  var setSubcommand = {
470
539
  name: "set",
@@ -2262,11 +2331,11 @@ var rulesAddSubcommand = {
2262
2331
  description: "Rule description (max 256 chars)"
2263
2332
  },
2264
2333
  {
2265
- name: "inactive",
2334
+ name: "disabled",
2266
2335
  shorthand: null,
2267
2336
  type: Boolean,
2268
2337
  deprecated: false,
2269
- description: "Create as inactive (default: active)"
2338
+ description: "Create as disabled (default: enabled)"
2270
2339
  },
2271
2340
  {
2272
2341
  name: "rate-limit-algo",
@@ -2280,14 +2349,14 @@ var rulesAddSubcommand = {
2280
2349
  shorthand: null,
2281
2350
  type: Number,
2282
2351
  deprecated: false,
2283
- description: "Rate limit window in seconds (required for rate_limit)"
2352
+ description: "Rate limit window in seconds, 10-3600 (required for rate_limit)"
2284
2353
  },
2285
2354
  {
2286
2355
  name: "rate-limit-requests",
2287
2356
  shorthand: null,
2288
2357
  type: Number,
2289
2358
  deprecated: false,
2290
- description: "Rate limit max requests per window (required for rate_limit)"
2359
+ description: "Rate limit max requests per window, 1-10000000 (required for rate_limit)"
2291
2360
  },
2292
2361
  {
2293
2362
  name: "rate-limit-keys",
@@ -2342,6 +2411,235 @@ var rulesAddSubcommand = {
2342
2411
  }
2343
2412
  ]
2344
2413
  };
2414
+ var rulesEditSubcommand = {
2415
+ name: "edit",
2416
+ aliases: [],
2417
+ description: "Edit an existing custom firewall rule using AI, an interactive editor, JSON, or command-line flags",
2418
+ arguments: [{ name: "name-or-id", required: true }],
2419
+ options: [
2420
+ {
2421
+ name: "ai",
2422
+ shorthand: null,
2423
+ type: String,
2424
+ deprecated: false,
2425
+ description: "Describe changes using natural language (AI-powered)"
2426
+ },
2427
+ {
2428
+ name: "json",
2429
+ shorthand: null,
2430
+ type: String,
2431
+ deprecated: false,
2432
+ description: "Replace rule with JSON payload"
2433
+ },
2434
+ {
2435
+ name: "condition",
2436
+ shorthand: null,
2437
+ type: [String],
2438
+ deprecated: false,
2439
+ description: `Replace conditions as JSON (repeatable). Example: '{"type":"path","op":"pre","value":"/api"}'. Fields: type, op, value, key (for header/cookie/query), neg (boolean). Use --or between conditions for OR groups.`
2440
+ },
2441
+ {
2442
+ name: "or",
2443
+ shorthand: null,
2444
+ type: Boolean,
2445
+ deprecated: false,
2446
+ description: "Start a new OR condition group"
2447
+ },
2448
+ {
2449
+ name: "name",
2450
+ shorthand: null,
2451
+ type: String,
2452
+ deprecated: false,
2453
+ description: "Rename the rule"
2454
+ },
2455
+ {
2456
+ name: "action",
2457
+ shorthand: null,
2458
+ type: String,
2459
+ deprecated: false,
2460
+ description: "Change action: deny, challenge, log, bypass, rate_limit, redirect"
2461
+ },
2462
+ {
2463
+ name: "duration",
2464
+ shorthand: null,
2465
+ type: String,
2466
+ deprecated: false,
2467
+ description: "Change action duration: 1m, 5m, 15m, 30m, 1h"
2468
+ },
2469
+ {
2470
+ name: "description",
2471
+ shorthand: null,
2472
+ type: String,
2473
+ deprecated: false,
2474
+ description: 'Change description (use "" to clear)'
2475
+ },
2476
+ {
2477
+ name: "enabled",
2478
+ shorthand: null,
2479
+ type: Boolean,
2480
+ deprecated: false,
2481
+ description: "Set rule to enabled"
2482
+ },
2483
+ {
2484
+ name: "disabled",
2485
+ shorthand: null,
2486
+ type: Boolean,
2487
+ deprecated: false,
2488
+ description: "Set rule to disabled"
2489
+ },
2490
+ {
2491
+ name: "rate-limit-algo",
2492
+ shorthand: null,
2493
+ type: String,
2494
+ deprecated: false,
2495
+ description: "Rate limit algorithm: fixed_window, token_bucket"
2496
+ },
2497
+ {
2498
+ name: "rate-limit-window",
2499
+ shorthand: null,
2500
+ type: Number,
2501
+ deprecated: false,
2502
+ description: "Rate limit window in seconds (10-3600)"
2503
+ },
2504
+ {
2505
+ name: "rate-limit-requests",
2506
+ shorthand: null,
2507
+ type: Number,
2508
+ deprecated: false,
2509
+ description: "Rate limit max requests per window (1-10000000)"
2510
+ },
2511
+ {
2512
+ name: "rate-limit-keys",
2513
+ shorthand: null,
2514
+ type: [String],
2515
+ deprecated: false,
2516
+ description: "Rate limit keys (repeatable): ip, ja4, header:name"
2517
+ },
2518
+ {
2519
+ name: "rate-limit-action",
2520
+ shorthand: null,
2521
+ type: String,
2522
+ deprecated: false,
2523
+ description: "Action when rate limit is exceeded: log, deny, challenge, rate_limit (default: rate_limit)"
2524
+ },
2525
+ {
2526
+ name: "redirect-url",
2527
+ shorthand: null,
2528
+ type: String,
2529
+ deprecated: false,
2530
+ description: "Redirect URL or path"
2531
+ },
2532
+ {
2533
+ name: "redirect-permanent",
2534
+ shorthand: null,
2535
+ type: Boolean,
2536
+ deprecated: false,
2537
+ description: "Permanent redirect (301). Default: temporary (307)"
2538
+ },
2539
+ yesOption
2540
+ ],
2541
+ examples: [
2542
+ {
2543
+ name: "Interactive mode",
2544
+ value: `${packageName} firewall rules edit "My Rule"`
2545
+ },
2546
+ {
2547
+ name: "Edit with AI",
2548
+ value: `${packageName} firewall rules edit "My Rule" --ai "Change action to challenge"`
2549
+ },
2550
+ {
2551
+ name: "Change action via flags",
2552
+ value: `${packageName} firewall rules edit "My Rule" --action challenge --duration 5m --yes`
2553
+ },
2554
+ {
2555
+ name: "Replace conditions",
2556
+ value: `${packageName} firewall rules edit "My Rule" --condition '{"type":"path","op":"pre","value":"/new"}' --yes`
2557
+ },
2558
+ {
2559
+ name: "Rename a rule",
2560
+ value: `${packageName} firewall rules edit "My Rule" --name "New Name" --yes`
2561
+ }
2562
+ ]
2563
+ };
2564
+ var rulesEnableSubcommand = {
2565
+ name: "enable",
2566
+ aliases: [],
2567
+ description: "Enable a disabled custom firewall rule",
2568
+ arguments: [{ name: "name-or-id", required: true }],
2569
+ options: [yesOption],
2570
+ examples: [
2571
+ {
2572
+ name: "Enable a rule",
2573
+ value: `${packageName} firewall rules enable "My Rule"`
2574
+ }
2575
+ ]
2576
+ };
2577
+ var rulesDisableSubcommand = {
2578
+ name: "disable",
2579
+ aliases: [],
2580
+ description: "Disable a custom firewall rule without removing it",
2581
+ arguments: [{ name: "name-or-id", required: true }],
2582
+ options: [yesOption],
2583
+ examples: [
2584
+ {
2585
+ name: "Disable a rule",
2586
+ value: `${packageName} firewall rules disable "My Rule"`
2587
+ }
2588
+ ]
2589
+ };
2590
+ var rulesRemoveSubcommand = {
2591
+ name: "remove",
2592
+ aliases: ["rm", "delete"],
2593
+ description: "Remove a custom firewall rule",
2594
+ arguments: [{ name: "name-or-id", required: true }],
2595
+ options: [yesOption],
2596
+ examples: [
2597
+ {
2598
+ name: "Remove a rule",
2599
+ value: `${packageName} firewall rules remove "My Rule" --yes`
2600
+ }
2601
+ ]
2602
+ };
2603
+ var rulesReorderSubcommand = {
2604
+ name: "reorder",
2605
+ aliases: ["move"],
2606
+ description: "Change the priority order of a custom firewall rule",
2607
+ arguments: [{ name: "name-or-id", required: true }],
2608
+ options: [
2609
+ {
2610
+ name: "position",
2611
+ shorthand: null,
2612
+ type: Number,
2613
+ deprecated: false,
2614
+ description: "Target position (1-based)"
2615
+ },
2616
+ {
2617
+ name: "first",
2618
+ shorthand: null,
2619
+ type: Boolean,
2620
+ deprecated: false,
2621
+ description: "Move to first position"
2622
+ },
2623
+ {
2624
+ name: "last",
2625
+ shorthand: null,
2626
+ type: Boolean,
2627
+ deprecated: false,
2628
+ description: "Move to last position"
2629
+ },
2630
+ yesOption
2631
+ ],
2632
+ examples: [
2633
+ {
2634
+ name: "Move to first position",
2635
+ value: `${packageName} firewall rules reorder "My Rule" --first --yes`
2636
+ },
2637
+ {
2638
+ name: "Move to position 3",
2639
+ value: `${packageName} firewall rules reorder "My Rule" --position 3 --yes`
2640
+ }
2641
+ ]
2642
+ };
2345
2643
  var rulesSubcommand = {
2346
2644
  name: "rules",
2347
2645
  aliases: [],
@@ -2350,7 +2648,12 @@ var rulesSubcommand = {
2350
2648
  subcommands: [
2351
2649
  rulesListSubcommand,
2352
2650
  rulesInspectSubcommand,
2353
- rulesAddSubcommand
2651
+ rulesAddSubcommand,
2652
+ rulesEditSubcommand,
2653
+ rulesEnableSubcommand,
2654
+ rulesDisableSubcommand,
2655
+ rulesRemoveSubcommand,
2656
+ rulesReorderSubcommand
2354
2657
  ],
2355
2658
  options: [],
2356
2659
  examples: [
@@ -2365,6 +2668,10 @@ var rulesSubcommand = {
2365
2668
  {
2366
2669
  name: "Create with AI",
2367
2670
  value: `${packageName} firewall rules add --ai "Rate limit /api to 100 requests per minute by IP"`
2671
+ },
2672
+ {
2673
+ name: "Edit with AI",
2674
+ value: `${packageName} firewall rules edit "My Rule" --ai "Change action to challenge"`
2368
2675
  }
2369
2676
  ]
2370
2677
  };
@@ -2559,7 +2866,7 @@ var inspectSubcommand2 = {
2559
2866
  }
2560
2867
  ]
2561
2868
  };
2562
- var createSubcommand = {
2869
+ var createSubcommand2 = {
2563
2870
  name: "create",
2564
2871
  aliases: ["add"],
2565
2872
  description: "Create a new feature flag",
@@ -3056,7 +3363,7 @@ var flagsCommand = {
3056
3363
  subcommands: [
3057
3364
  listSubcommand8,
3058
3365
  inspectSubcommand2,
3059
- createSubcommand,
3366
+ createSubcommand2,
3060
3367
  openSubcommand,
3061
3368
  updateSubcommand2,
3062
3369
  setSubcommand2,
@@ -4907,6 +5214,28 @@ var removeSubcommand10 = {
4907
5214
  options: [],
4908
5215
  examples: []
4909
5216
  };
5217
+ var renameSubcommand = {
5218
+ name: "rename",
5219
+ aliases: [],
5220
+ description: "Rename a project",
5221
+ arguments: [
5222
+ {
5223
+ name: "name",
5224
+ required: true
5225
+ },
5226
+ {
5227
+ name: "new-name",
5228
+ required: true
5229
+ }
5230
+ ],
5231
+ options: [],
5232
+ examples: [
5233
+ {
5234
+ name: "Rename a project",
5235
+ value: `${packageName} project rename my-project my-renamed-project`
5236
+ }
5237
+ ]
5238
+ };
4910
5239
  var tokenSubcommand = {
4911
5240
  name: "token",
4912
5241
  aliases: [],
@@ -5228,6 +5557,7 @@ var projectCommand = {
5228
5557
  protectionSubcommand,
5229
5558
  webAnalyticsSubcommand,
5230
5559
  speedInsightsSubcommand,
5560
+ renameSubcommand,
5231
5561
  removeSubcommand10,
5232
5562
  tokenSubcommand
5233
5563
  ],
@@ -6814,9 +7144,32 @@ var listStoresSubcommand = {
6814
7144
  type: Boolean,
6815
7145
  deprecated: false,
6816
7146
  description: "List all blob stores for the team, not just the ones connected to the current project"
7147
+ },
7148
+ {
7149
+ name: "json",
7150
+ shorthand: null,
7151
+ type: Boolean,
7152
+ deprecated: false,
7153
+ description: "Output results as JSON"
7154
+ },
7155
+ {
7156
+ name: "no-projects",
7157
+ shorthand: null,
7158
+ type: Boolean,
7159
+ deprecated: false,
7160
+ description: "Hide the Projects column (table output only)"
6817
7161
  }
6818
7162
  ],
6819
- examples: []
7163
+ examples: [
7164
+ {
7165
+ name: "List blob stores for the linked project",
7166
+ value: "vercel blob list-stores"
7167
+ },
7168
+ {
7169
+ name: "List all team blob stores as JSON",
7170
+ value: "vercel blob list-stores --all --json"
7171
+ }
7172
+ ]
6820
7173
  };
6821
7174
  var blobCommand = {
6822
7175
  name: "blob",
@@ -6876,7 +7229,7 @@ var getSubcommand3 = {
6876
7229
  options: [formatOption],
6877
7230
  examples: []
6878
7231
  };
6879
- var createSubcommand2 = {
7232
+ var createSubcommand3 = {
6880
7233
  name: "create",
6881
7234
  aliases: ["add"],
6882
7235
  description: "Create a new webhook",
@@ -6937,7 +7290,7 @@ var webhooksCommand = {
6937
7290
  subcommands: [
6938
7291
  listSubcommand16,
6939
7292
  getSubcommand3,
6940
- createSubcommand2,
7293
+ createSubcommand3,
6941
7294
  removeSubcommand13
6942
7295
  ],
6943
7296
  options: [],
@@ -6947,6 +7300,7 @@ var webhooksCommand = {
6947
7300
  // src/commands/index.ts
6948
7301
  var commandsStructs = [
6949
7302
  agentCommand,
7303
+ aiGatewayCommand,
6950
7304
  alertsCommand,
6951
7305
  aliasCommand,
6952
7306
  activityCommand,
@@ -7033,6 +7387,9 @@ var commandNames = Array.from(commands.keys());
7033
7387
 
7034
7388
  export {
7035
7389
  agentCommand,
7390
+ createSubcommand,
7391
+ apiKeysSubcommand,
7392
+ aiGatewayCommand,
7036
7393
  setSubcommand,
7037
7394
  listSubcommand,
7038
7395
  removeSubcommand,
@@ -7106,6 +7463,11 @@ export {
7106
7463
  rulesListSubcommand,
7107
7464
  rulesInspectSubcommand,
7108
7465
  rulesAddSubcommand,
7466
+ rulesEditSubcommand,
7467
+ rulesEnableSubcommand,
7468
+ rulesDisableSubcommand,
7469
+ rulesRemoveSubcommand,
7470
+ rulesReorderSubcommand,
7109
7471
  rulesSubcommand,
7110
7472
  attackModeEnableSubcommand,
7111
7473
  attackModeDisableSubcommand,
@@ -7116,7 +7478,7 @@ export {
7116
7478
  firewallCommand,
7117
7479
  listSubcommand8,
7118
7480
  inspectSubcommand2,
7119
- createSubcommand,
7481
+ createSubcommand2,
7120
7482
  openSubcommand,
7121
7483
  updateSubcommand2,
7122
7484
  setSubcommand2,
@@ -7185,6 +7547,7 @@ export {
7185
7547
  inspectSubcommand3,
7186
7548
  listSubcommand10,
7187
7549
  removeSubcommand10,
7550
+ renameSubcommand,
7188
7551
  tokenSubcommand,
7189
7552
  accessSummarySubcommand,
7190
7553
  membersSubcommand,
@@ -7253,7 +7616,7 @@ export {
7253
7616
  blobCommand,
7254
7617
  listSubcommand16,
7255
7618
  getSubcommand3,
7256
- createSubcommand2,
7619
+ createSubcommand3,
7257
7620
  removeSubcommand13,
7258
7621
  webhooksCommand,
7259
7622
  getCommandAliases,
@@ -8,7 +8,7 @@ import {
8
8
  VERCEL_DIR,
9
9
  VERCEL_DIR_PROJECT,
10
10
  require_lib
11
- } from "./chunk-V23RAVWV.js";
11
+ } from "./chunk-7S7GE4BN.js";
12
12
  import {
13
13
  require_dist
14
14
  } from "./chunk-ZQKJVHXY.js";
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  VERCEL_DIR,
9
9
  isVercelTomlEnabled
10
- } from "./chunk-V23RAVWV.js";
10
+ } from "./chunk-7S7GE4BN.js";
11
11
  import {
12
12
  ConflictingConfigFiles,
13
13
  InvalidLocalConfig,
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  require_end_of_stream,
9
9
  require_once
10
- } from "./chunk-V23RAVWV.js";
10
+ } from "./chunk-7S7GE4BN.js";
11
11
  import {
12
12
  require_signal_exit
13
13
  } from "./chunk-ZQKJVHXY.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-6DIXPIXB.js";
9
+ } from "./chunk-57RLFBKC.js";
10
10
  import {
11
11
  ensureLink
12
- } from "./chunk-65IHMJX4.js";
12
+ } from "./chunk-RK4TKB3D.js";
13
13
  import {
14
14
  pullCommand
15
- } from "./chunk-XMVSCINT.js";
15
+ } from "./chunk-W5K4YCTI.js";
16
16
  import {
17
17
  help
18
18
  } from "./chunk-Y5YCSB6X.js";
@@ -22,7 +22,7 @@ import {
22
22
  envPullCommandLogic,
23
23
  humanizePath,
24
24
  parseTarget
25
- } from "./chunk-V23RAVWV.js";
25
+ } from "./chunk-7S7GE4BN.js";
26
26
  import {
27
27
  TelemetryClient
28
28
  } from "./chunk-U3WLEFHU.js";
@@ -23583,7 +23583,7 @@ var require_resolve2 = __commonJS({
23583
23583
  } = options;
23584
23584
  const type = config.type || "web";
23585
23585
  const rawEntrypoint = config.entrypoint;
23586
- const moduleAttrParsed = typeof rawEntrypoint === "string" && type === "cron" ? parsePyModuleAttrEntrypoint(rawEntrypoint) : null;
23586
+ const moduleAttrParsed = typeof rawEntrypoint === "string" ? parsePyModuleAttrEntrypoint(rawEntrypoint) : null;
23587
23587
  const routingResult = resolveServiceRoutingConfig(name, config);
23588
23588
  if (routingResult.error) {
23589
23589
  throw new Error(routingResult.error.message);
@@ -23732,10 +23732,9 @@ var require_resolve2 = __commonJS({
23732
23732
  continue;
23733
23733
  }
23734
23734
  let resolvedEntrypoint;
23735
- const serviceType = serviceConfig.type || "web";
23736
23735
  if (typeof serviceConfig.entrypoint === "string") {
23737
- const moduleAttr = serviceType === "cron" ? parsePyModuleAttrEntrypoint(serviceConfig.entrypoint) : null;
23738
- const entrypointToResolve = moduleAttr ? moduleAttr.filePath : serviceConfig.entrypoint;
23736
+ const moduleAttr = parsePyModuleAttrEntrypoint(serviceConfig.entrypoint);
23737
+ const entrypointToResolve = moduleAttr?.filePath ?? serviceConfig.entrypoint;
23739
23738
  const resolvedPath = await resolveEntrypointPath({
23740
23739
  fs: fs5,
23741
23740
  serviceName: name,
@@ -38966,7 +38965,7 @@ var require_package = __commonJS({
38966
38965
  "../client/package.json"(exports, module) {
38967
38966
  module.exports = {
38968
38967
  name: "@vercel/client",
38969
- version: "17.3.1",
38968
+ version: "17.3.2",
38970
38969
  main: "dist/index.js",
38971
38970
  typings: "dist/index.d.ts",
38972
38971
  homepage: "https://vercel.com",
@@ -58,6 +58,9 @@ var AGENT_REASON = {
58
58
  MISSING_EVENTS: "missing_events",
59
59
  INVALID_URL: "invalid_url",
60
60
  INVALID_EVENT: "invalid_event",
61
+ // AI Gateway
62
+ INVALID_BUDGET: "invalid_budget",
63
+ INVALID_REFRESH_PERIOD: "invalid_refresh_period",
61
64
  // Redirects
62
65
  REDIRECT_NOT_FOUND: "redirect_not_found",
63
66
  VERSION_NOT_FOUND: "version_not_found",
@@ -6,13 +6,13 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getUpdateCommand
9
- } from "./chunk-YKKQGGLZ.js";
9
+ } from "./chunk-SSOWPEZT.js";
10
10
  import {
11
11
  login
12
- } from "./chunk-K4IC7LFB.js";
12
+ } from "./chunk-W6FW7CCT.js";
13
13
  import {
14
14
  loginCommand
15
- } from "./chunk-F2ROYUW2.js";
15
+ } from "./chunk-4EGCWWSR.js";
16
16
  import {
17
17
  help
18
18
  } from "./chunk-Y5YCSB6X.js";
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  global_path_default
9
- } from "./chunk-V23RAVWV.js";
9
+ } from "./chunk-7S7GE4BN.js";
10
10
  import {
11
11
  output_manager_default
12
12
  } from "./chunk-ZQKJVHXY.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-IB5L4LKZ.js";
10
10
  import {
11
11
  require_execa
12
- } from "./chunk-UZIEJEMY.js";
12
+ } from "./chunk-5WHDQH2U.js";
13
13
  import {
14
14
  VERCEL_DIR,
15
15
  readJSONFile,
@@ -18,7 +18,7 @@ import {
18
18
  require_lib,
19
19
  require_minimatch,
20
20
  require_pluralize
21
- } from "./chunk-V23RAVWV.js";
21
+ } from "./chunk-7S7GE4BN.js";
22
22
  import {
23
23
  CantParseJSONFile,
24
24
  cmd,
@@ -7,7 +7,7 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  formatCondition,
9
9
  formatTransform
10
- } from "./chunk-A5XRYFVO.js";
10
+ } from "./chunk-QQTF2FEY.js";
11
11
  import {
12
12
  output_manager_default
13
13
  } from "./chunk-ZQKJVHXY.js";