vercel 59.12.0 → 59.13.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 (103) hide show
  1. package/dist/chunks/{add-RTXDASSS.js → add-7OX6PBFD.js} +3 -3
  2. package/dist/chunks/{add-XGO6LHMD.js → add-7RYUFBZ3.js} +10 -10
  3. package/dist/chunks/{add-OO3JGLZW.js → add-FX5WWUXU.js} +3 -3
  4. package/dist/chunks/{build-JINV2UD4.js → build-Q3TR46K4.js} +3 -3
  5. package/dist/chunks/{chunk-3BB2HOO2.js → chunk-2GXA4NGG.js} +2 -2
  6. package/dist/chunks/{chunk-AV747POV.js → chunk-2QFYCMKN.js} +5 -5
  7. package/dist/chunks/{chunk-X6TGUHFD.js → chunk-3FIEWWMM.js} +3 -3
  8. package/dist/chunks/{chunk-YRESLJCW.js → chunk-5JDX6XOS.js} +8 -8
  9. package/dist/chunks/{chunk-WPBCUXMZ.js → chunk-5ORMFNXL.js} +80 -19
  10. package/dist/chunks/{chunk-PP5GKSIX.js → chunk-66LPM47Z.js} +4 -4
  11. package/dist/chunks/{chunk-ABSZNJQO.js → chunk-76CB3CF2.js} +1 -1
  12. package/dist/chunks/{chunk-MADFAH3O.js → chunk-7F5RNOTP.js} +2 -2
  13. package/dist/chunks/{chunk-VJSREJVM.js → chunk-7NRNFV77.js} +1 -1
  14. package/dist/chunks/{chunk-2NIDTSQJ.js → chunk-DQ23J2KG.js} +1 -1
  15. package/dist/chunks/{chunk-QB2UHSUB.js → chunk-EEV2LKFC.js} +1 -1
  16. package/dist/chunks/{chunk-3F25W3GA.js → chunk-EIBH6FCR.js} +3 -3
  17. package/dist/chunks/{chunk-QIUK4Z7Q.js → chunk-F4S6Q4OY.js} +1 -1
  18. package/dist/chunks/{chunk-KAF4WFF3.js → chunk-GQRG7VFK.js} +2 -2
  19. package/dist/chunks/{chunk-RNK3LXLR.js → chunk-IK6PC2JA.js} +4 -4
  20. package/dist/chunks/{chunk-WSZ5E4WH.js → chunk-IUC3TR3S.js} +1 -1
  21. package/dist/chunks/{chunk-KNO327AW.js → chunk-JIK2FUMT.js} +1 -1
  22. package/dist/chunks/{chunk-MDGPZHSM.js → chunk-KU2WCB6G.js} +3 -3
  23. package/dist/chunks/{chunk-EOLGLGXJ.js → chunk-KXTXGYG7.js} +2 -2
  24. package/dist/chunks/{chunk-YPMFZRTN.js → chunk-L4H3DP65.js} +1 -1
  25. package/dist/chunks/{chunk-E47NARDE.js → chunk-LE5V7G2U.js} +2 -2
  26. package/dist/chunks/{chunk-HR2MP4XF.js → chunk-LVCCV2YJ.js} +4 -4
  27. package/dist/chunks/{chunk-32XSMM3W.js → chunk-MUGF3SGQ.js} +1 -1
  28. package/dist/chunks/{chunk-WT6C2ALC.js → chunk-N6HP5BLI.js} +2 -0
  29. package/dist/chunks/{chunk-JOXNBQ7W.js → chunk-NSGRICJ2.js} +1 -1
  30. package/dist/chunks/{chunk-LDV2R4P4.js → chunk-QRFRS2JH.js} +1 -1
  31. package/dist/chunks/{chunk-UA55I7M6.js → chunk-QSJ6Q5QP.js} +3 -3
  32. package/dist/chunks/{chunk-L6B6BRHH.js → chunk-S3HYE6ZE.js} +2 -2
  33. package/dist/chunks/{chunk-CZ5QQRXD.js → chunk-SPRQ4IBQ.js} +3 -3
  34. package/dist/chunks/{chunk-OJHDGHOB.js → chunk-T3NB7VQG.js} +6 -6
  35. package/dist/chunks/{chunk-ELZ6WQQA.js → chunk-TLPHZ7M4.js} +2 -2
  36. package/dist/chunks/{chunk-TDGK45FB.js → chunk-TOXZAP5I.js} +1 -1
  37. package/dist/chunks/{chunk-NDY3JDOU.js → chunk-U4ZLWJQD.js} +4 -4
  38. package/dist/chunks/{chunk-SWO66HE2.js → chunk-UXKNSAP2.js} +1 -1
  39. package/dist/chunks/{chunk-WT2Y7FRD.js → chunk-XEVKGAVI.js} +6 -6
  40. package/dist/chunks/{chunk-UJPVHLL5.js → chunk-Z6YZMXVN.js} +4 -4
  41. package/dist/chunks/{clear-GQTDYSKJ.js → clear-GIAFWC5X.js} +3 -3
  42. package/dist/chunks/{compile-vercel-config-URVMKDVW.js → compile-vercel-config-QJGEQKK4.js} +2 -2
  43. package/dist/chunks/{config-OAXY4J6P.js → config-AOA2HS4R.js} +3 -3
  44. package/dist/chunks/{config-MSVQR5T6.js → config-HYBSW733.js} +4 -4
  45. package/dist/chunks/{delete-57QO64HD.js → delete-BBFI75A2.js} +5 -5
  46. package/dist/chunks/{delete-XN6ESD7C.js → delete-DJ7RI2NX.js} +5 -5
  47. package/dist/chunks/{detect-services-UPY4LTBZ.js → detect-services-Q2DVXVMH.js} +6 -6
  48. package/dist/chunks/{disable-BYI46V7B.js → disable-P7X2V5LS.js} +5 -5
  49. package/dist/chunks/{discard-IIQL44ZZ.js → discard-JNQBH4XU.js} +5 -5
  50. package/dist/chunks/{edit-JTW7XZH7.js → edit-AXQEMBQC.js} +5 -5
  51. package/dist/chunks/{edit-BRNS3OR4.js → edit-BO3GXEKA.js} +6 -6
  52. package/dist/chunks/{enable-CH5FSQMR.js → enable-NC4BN7EQ.js} +5 -5
  53. package/dist/chunks/{export-6WHQOWKM.js → export-HQ42UNYD.js} +5 -5
  54. package/dist/chunks/{image-ZSLYATWG.js → image-UM4FQYOA.js} +3 -3
  55. package/dist/chunks/{import-builders-FNMYJZGG.js → import-builders-F6SWNCHK.js} +4 -4
  56. package/dist/chunks/{inspect-7WQXZWET.js → inspect-EXEA57MP.js} +3 -3
  57. package/dist/chunks/{inspect-4RDZSYWU.js → inspect-H3M3XJNB.js} +3 -3
  58. package/dist/chunks/{inspect-Z2MBTTB7.js → inspect-MTNQOLNM.js} +3 -3
  59. package/dist/chunks/{inspect-XJ7BYLZ5.js → inspect-PYFF2K4X.js} +3 -3
  60. package/dist/chunks/{inspect-CGXTNMMO.js → inspect-XF324IQ2.js} +6 -6
  61. package/dist/chunks/{list-KS22Y57L.js → list-4JHZJUBS.js} +2 -2
  62. package/dist/chunks/{list-65LW6OTM.js → list-YEN54SGY.js} +6 -6
  63. package/dist/chunks/{list-7W3PHRB6.js → list-ZKD2O4D2.js} +3 -3
  64. package/dist/chunks/{login-NXULVQZ2.js → login-56KGZQI2.js} +3 -3
  65. package/dist/chunks/{ls-DZYN3SNS.js → ls-ELYVF6EU.js} +3 -3
  66. package/dist/chunks/{ls-5GKS5QRW.js → ls-HZEMZY2R.js} +3 -3
  67. package/dist/chunks/{ls-35EOVEIQ.js → ls-IJW74NG3.js} +3 -3
  68. package/dist/chunks/{ls-I2PWG7YN.js → ls-OAGYLILX.js} +3 -3
  69. package/dist/chunks/{ls-HVQOGBGV.js → ls-QNTHMTIH.js} +6 -6
  70. package/dist/chunks/{ls-ADYFYYIW.js → ls-WW5UFH5B.js} +10 -10
  71. package/dist/chunks/{open-H34HXJHP.js → open-D2E5TEKN.js} +5 -5
  72. package/dist/chunks/{permissions-ZPPEPKVE.js → permissions-CFUXWXSK.js} +4 -4
  73. package/dist/chunks/{publish-NRMKXHAU.js → publish-BP4IUYNM.js} +5 -5
  74. package/dist/chunks/{pull-WUT3XTZX.js → pull-DL72B6RW.js} +7 -7
  75. package/dist/chunks/{push-WFNCEA5J.js → push-6YCS4YQW.js} +3 -3
  76. package/dist/chunks/{query-2FQM3F7N.js → query-7N3YB4LE.js} +2 -2
  77. package/dist/chunks/{reorder-GYCT7L3C.js → reorder-YJN36TPT.js} +5 -5
  78. package/dist/chunks/{reply-RFEXNYZ7.js → reply-3U3O7LNG.js} +5 -5
  79. package/dist/chunks/{resolve-ZFGT7W6Z.js → resolve-TT75WCWT.js} +5 -5
  80. package/dist/chunks/{restore-JAXPMYL5.js → restore-6UF6W23A.js} +5 -5
  81. package/dist/chunks/{rm-CLKQN5E4.js → rm-3QIDFPVA.js} +10 -10
  82. package/dist/chunks/{rm-JPV5V2SH.js → rm-6MJ7ZPXQ.js} +3 -3
  83. package/dist/chunks/{rm-UQJ4CZJH.js → rm-JZRS2NBH.js} +3 -3
  84. package/dist/chunks/{rm-ZUQ4U454.js → rm-KI4W2HYP.js} +6 -6
  85. package/dist/chunks/{rm-N7SGFQOA.js → rm-QCQXVB54.js} +3 -3
  86. package/dist/chunks/{rule-inspect-HI3YY7OY.js → rule-inspect-PX73J52Q.js} +10 -10
  87. package/dist/chunks/{rules-DA3Q64M4.js → rules-Q334NBUC.js} +7 -7
  88. package/dist/chunks/{schema-UYYFV3JB.js → schema-GRTOHAZO.js} +9 -9
  89. package/dist/chunks/{schema-R3C4CXJ6.js → schema-YV3XYL3A.js} +2 -2
  90. package/dist/chunks/{set-TOJPGW4J.js → set-J3AQKL6V.js} +6 -6
  91. package/dist/chunks/{setup-and-link-DRYXQOH4.js → setup-and-link-R5N7WJ46.js} +15 -15
  92. package/dist/chunks/{tags-TNLVFNVI.js → tags-2VLJ4VIH.js} +2 -2
  93. package/dist/chunks/{update-X6JB3NPI.js → update-VMS45VF2.js} +10 -10
  94. package/dist/commands/build/index.js +15 -15
  95. package/dist/commands/deploy/index.js +15 -15
  96. package/dist/commands/dev/index.js +20 -20
  97. package/dist/commands/env/index.js +8 -8
  98. package/dist/commands/link/index.js +8 -8
  99. package/dist/commands/list/index.js +2 -2
  100. package/dist/commands-bulk.js +2908 -713
  101. package/dist/index.js +13 -13
  102. package/dist/version.mjs +1 -1
  103. package/package.json +11 -11
@@ -9,7 +9,7 @@ import {
9
9
  handleVcrApiError,
10
10
  resolveVcrScope,
11
11
  validateVcrJsonOutput
12
- } from "./chunk-EOLGLGXJ.js";
12
+ } from "./chunk-KXTXGYG7.js";
13
13
  import "./chunk-TO7QZGYK.js";
14
14
  import {
15
15
  outputError
@@ -28,7 +28,7 @@ import "./chunk-GGP5R3FU.js";
28
28
  import {
29
29
  AGENT_REASON
30
30
  } from "./chunk-VUS2JQB2.js";
31
- import "./chunk-ABSZNJQO.js";
31
+ import "./chunk-76CB3CF2.js";
32
32
  import "./chunk-XNIZGCN5.js";
33
33
  import {
34
34
  printError
@@ -36,7 +36,7 @@ import {
36
36
  import {
37
37
  parseArguments
38
38
  } from "./chunk-57RHXXXG.js";
39
- import "./chunk-MADFAH3O.js";
39
+ import "./chunk-7F5RNOTP.js";
40
40
  import "./chunk-G5FBSUL4.js";
41
41
  import {
42
42
  buildCommandWithGlobalFlags,
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  printRuleMutationReceipt
9
- } from "./chunk-2NIDTSQJ.js";
9
+ } from "./chunk-DQ23J2KG.js";
10
10
  import "./chunk-GDOUDU6O.js";
11
11
  import {
12
12
  emitRulesArgParseError,
@@ -17,16 +17,16 @@ import {
17
17
  resolveRulesProject,
18
18
  resolveRulesTeam,
19
19
  rulesCollectionPath
20
- } from "./chunk-HR2MP4XF.js";
21
- import "./chunk-3BB2HOO2.js";
20
+ } from "./chunk-LVCCV2YJ.js";
21
+ import "./chunk-2GXA4NGG.js";
22
22
  import "./chunk-GZLPFESR.js";
23
23
  import "./chunk-A3NYPUKZ.js";
24
24
  import "./chunk-KFWQ3EFH.js";
25
25
  import "./chunk-FGDKMNEN.js";
26
26
  import "./chunk-PRWJUY5U.js";
27
- import "./chunk-WT2Y7FRD.js";
27
+ import "./chunk-XEVKGAVI.js";
28
28
  import "./chunk-AINIBIP4.js";
29
- import "./chunk-QB2UHSUB.js";
29
+ import "./chunk-EEV2LKFC.js";
30
30
  import "./chunk-ND5CF2H3.js";
31
31
  import {
32
32
  validateJsonOutput
@@ -35,17 +35,17 @@ import "./chunk-V4RMJKQP.js";
35
35
  import {
36
36
  rulesAddSubcommand
37
37
  } from "./chunk-EDMW7SBH.js";
38
- import "./chunk-WT6C2ALC.js";
38
+ import "./chunk-N6HP5BLI.js";
39
39
  import "./chunk-P7VSBDR4.js";
40
- import "./chunk-YPMFZRTN.js";
40
+ import "./chunk-L4H3DP65.js";
41
41
  import "./chunk-ZDU2NODC.js";
42
42
  import "./chunk-PEC3CQSK.js";
43
43
  import "./chunk-GGP5R3FU.js";
44
44
  import "./chunk-VUS2JQB2.js";
45
- import "./chunk-KAF4WFF3.js";
45
+ import "./chunk-GQRG7VFK.js";
46
46
  import "./chunk-HRXRELD3.js";
47
47
  import "./chunk-B5XLQKHI.js";
48
- import "./chunk-ABSZNJQO.js";
48
+ import "./chunk-76CB3CF2.js";
49
49
  import "./chunk-XNIZGCN5.js";
50
50
  import "./chunk-NW34PW6V.js";
51
51
  import {
@@ -54,7 +54,7 @@ import {
54
54
  import {
55
55
  parseArguments
56
56
  } from "./chunk-57RHXXXG.js";
57
- import "./chunk-MADFAH3O.js";
57
+ import "./chunk-7F5RNOTP.js";
58
58
  import "./chunk-G5FBSUL4.js";
59
59
  import "./chunk-26CU4Q3C.js";
60
60
  import "./chunk-XPJLPUKO.js";
@@ -17,7 +17,7 @@ import {
17
17
  emitVcrArgParseError,
18
18
  resolveVcrScope,
19
19
  validateVcrJsonOutput
20
- } from "./chunk-EOLGLGXJ.js";
20
+ } from "./chunk-KXTXGYG7.js";
21
21
  import "./chunk-TO7QZGYK.js";
22
22
  import {
23
23
  outputError
@@ -33,7 +33,7 @@ import "./chunk-GGP5R3FU.js";
33
33
  import {
34
34
  AGENT_REASON
35
35
  } from "./chunk-VUS2JQB2.js";
36
- import "./chunk-ABSZNJQO.js";
36
+ import "./chunk-76CB3CF2.js";
37
37
  import "./chunk-XNIZGCN5.js";
38
38
  import {
39
39
  printError
@@ -41,7 +41,7 @@ import {
41
41
  import {
42
42
  parseArguments
43
43
  } from "./chunk-57RHXXXG.js";
44
- import "./chunk-MADFAH3O.js";
44
+ import "./chunk-7F5RNOTP.js";
45
45
  import "./chunk-G5FBSUL4.js";
46
46
  import {
47
47
  buildCommandWithGlobalFlags,
@@ -23,7 +23,7 @@ import {
23
23
  runEngine,
24
24
  splitPassthrough,
25
25
  validateVcrChoice
26
- } from "./chunk-EOLGLGXJ.js";
26
+ } from "./chunk-KXTXGYG7.js";
27
27
  import "./chunk-TO7QZGYK.js";
28
28
  import {
29
29
  outputError
@@ -42,7 +42,7 @@ import "./chunk-GGP5R3FU.js";
42
42
  import {
43
43
  AGENT_REASON
44
44
  } from "./chunk-VUS2JQB2.js";
45
- import "./chunk-ABSZNJQO.js";
45
+ import "./chunk-76CB3CF2.js";
46
46
  import "./chunk-XNIZGCN5.js";
47
47
  import {
48
48
  printError
@@ -50,7 +50,7 @@ import {
50
50
  import {
51
51
  parseArguments
52
52
  } from "./chunk-57RHXXXG.js";
53
- import "./chunk-MADFAH3O.js";
53
+ import "./chunk-7F5RNOTP.js";
54
54
  import "./chunk-G5FBSUL4.js";
55
55
  import {
56
56
  buildCommandWithGlobalFlags,
@@ -12,11 +12,11 @@ import {
12
12
  } from "./chunk-VUS2JQB2.js";
13
13
  import {
14
14
  getScope
15
- } from "./chunk-ABSZNJQO.js";
15
+ } from "./chunk-76CB3CF2.js";
16
16
  import {
17
17
  getLinkedProject,
18
18
  getProjectByNameOrId
19
- } from "./chunk-MADFAH3O.js";
19
+ } from "./chunk-7F5RNOTP.js";
20
20
  import {
21
21
  buildCommandWithGlobalFlags,
22
22
  outputAgentError
@@ -7,14 +7,14 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  getUpdateCommandInfo,
9
9
  isGlobal
10
- } from "./chunk-SWO66HE2.js";
10
+ } from "./chunk-UXKNSAP2.js";
11
11
  import {
12
12
  progress,
13
13
  require_ci_info
14
- } from "./chunk-E47NARDE.js";
14
+ } from "./chunk-LE5V7G2U.js";
15
15
  import {
16
16
  writeToConfigFile
17
- } from "./chunk-WT2Y7FRD.js";
17
+ } from "./chunk-XEVKGAVI.js";
18
18
  import {
19
19
  getGlobalPathConfig
20
20
  } from "./chunk-AINIBIP4.js";
@@ -24,7 +24,7 @@ import {
24
24
  import {
25
25
  apiCommand,
26
26
  listSubcommand4 as listSubcommand
27
- } from "./chunk-WPBCUXMZ.js";
27
+ } from "./chunk-5ORMFNXL.js";
28
28
  import {
29
29
  require_semver
30
30
  } from "./chunk-IB5L4LKZ.js";
@@ -33,7 +33,7 @@ import {
33
33
  require_mkdirp,
34
34
  require_pump,
35
35
  require_tar_stream
36
- } from "./chunk-WT6C2ALC.js";
36
+ } from "./chunk-N6HP5BLI.js";
37
37
  import {
38
38
  require_ms
39
39
  } from "./chunk-GGP5R3FU.js";
@@ -6,13 +6,13 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  printProjectNotFoundError
9
- } from "./chunk-ELZ6WQQA.js";
9
+ } from "./chunk-TLPHZ7M4.js";
10
10
  import {
11
11
  detectExplicitScope
12
- } from "./chunk-ABSZNJQO.js";
12
+ } from "./chunk-76CB3CF2.js";
13
13
  import {
14
14
  getLinkedProject
15
- } from "./chunk-MADFAH3O.js";
15
+ } from "./chunk-7F5RNOTP.js";
16
16
  import {
17
17
  omitGlobalFlagsFromArgs
18
18
  } from "./chunk-26CU4Q3C.js";
@@ -8,36 +8,36 @@ import {
8
8
  createDetectEntrypoint,
9
9
  getServicesConfigWriteBlocker,
10
10
  writeServicesConfig
11
- } from "./chunk-UJPVHLL5.js";
11
+ } from "./chunk-Z6YZMXVN.js";
12
12
  import {
13
13
  detectProjects
14
14
  } from "./chunk-RVBZ64EQ.js";
15
15
  import {
16
16
  validateRootDirectory
17
- } from "./chunk-WSZ5E4WH.js";
17
+ } from "./chunk-IUC3TR3S.js";
18
18
  import {
19
19
  getLocalPathConfig
20
- } from "./chunk-QB2UHSUB.js";
20
+ } from "./chunk-EEV2LKFC.js";
21
21
  import {
22
22
  isPromptBackError,
23
23
  isPromptCanceledError
24
24
  } from "./chunk-V4RMJKQP.js";
25
25
  import {
26
26
  require_dist as require_dist2
27
- } from "./chunk-VJSREJVM.js";
27
+ } from "./chunk-7NRNFV77.js";
28
28
  import {
29
29
  require_dist2 as require_dist
30
30
  } from "./chunk-332LMJLZ.js";
31
31
  import {
32
32
  readJSONFile
33
- } from "./chunk-32XSMM3W.js";
33
+ } from "./chunk-MUGF3SGQ.js";
34
34
  import {
35
35
  compileVercelConfig,
36
36
  findSourceVercelConfigFile
37
- } from "./chunk-YPMFZRTN.js";
37
+ } from "./chunk-L4H3DP65.js";
38
38
  import {
39
39
  pull
40
- } from "./chunk-RNK3LXLR.js";
40
+ } from "./chunk-IK6PC2JA.js";
41
41
  import {
42
42
  require_frameworks
43
43
  } from "./chunk-FRVG4OW3.js";
@@ -74,7 +74,7 @@ import {
74
74
  resolveGitRemote,
75
75
  selectAndParseRemoteUrl,
76
76
  selectOrg
77
- } from "./chunk-MADFAH3O.js";
77
+ } from "./chunk-7F5RNOTP.js";
78
78
  import {
79
79
  CantParseJSONFile,
80
80
  ProjectNotFound,
@@ -733,8 +733,16 @@ var createSubcommand = {
733
733
  shorthand: null,
734
734
  type: Number,
735
735
  argument: "AMOUNT",
736
+ deprecated: true,
737
+ description: "DEPRECATED: Use --limit instead"
738
+ },
739
+ {
740
+ name: "limit",
741
+ shorthand: null,
742
+ type: Number,
743
+ argument: "AMOUNT",
736
744
  deprecated: false,
737
- description: "Quota budget amount in dollars (minimum 1)"
745
+ description: "Quota budget limit in dollars (minimum 1)"
738
746
  },
739
747
  {
740
748
  name: "refresh-period",
@@ -789,11 +797,11 @@ var createSubcommand = {
789
797
  },
790
798
  {
791
799
  name: "Create an API key with a budget",
792
- value: `${packageName} ai-gateway api-keys create --name my-key --budget 500 --refresh-period monthly`
800
+ value: `${packageName} ai-gateway api-keys create --name my-key --limit 500 --refresh-period monthly`
793
801
  },
794
802
  {
795
803
  name: "Create a key that expires and alerts on spend",
796
- value: `${packageName} ai-gateway api-keys create --budget 500 --alert-thresholds 75,100 --expiration 90d`
804
+ value: `${packageName} ai-gateway api-keys create --limit 500 --alert-thresholds 75,100 --expiration 90d`
797
805
  },
798
806
  {
799
807
  name: "Create a ZDR-exempt key (team owners only)",
@@ -1025,7 +1033,7 @@ var rulesSubcommand = {
1025
1033
  var setupSubcommand = {
1026
1034
  name: "setup",
1027
1035
  aliases: [],
1028
- description: "Connect local coding agents (Claude Code, Codex, OpenCode, Pi) to the AI Gateway",
1036
+ description: "Connect local coding agents to the AI Gateway",
1029
1037
  arguments: [],
1030
1038
  options: [
1031
1039
  {
@@ -1034,7 +1042,7 @@ var setupSubcommand = {
1034
1042
  type: [String],
1035
1043
  argument: "NAME",
1036
1044
  deprecated: false,
1037
- description: "Coding agent to configure, repeatable (claude-code, codex, opencode, pi)"
1045
+ description: "Coding agent to configure, repeatable; omit to pick from the detected agents"
1038
1046
  },
1039
1047
  {
1040
1048
  name: "all",
@@ -1162,27 +1170,27 @@ var setupSubcommand = {
1162
1170
  examples: [
1163
1171
  {
1164
1172
  name: "Connect all detected coding agents (creates a key)",
1165
- value: `${packageName} ai-gateway coding-agents setup`
1173
+ value: `${packageName} ai-gateway setup`
1166
1174
  },
1167
1175
  {
1168
1176
  name: "Emit a prompt to hand to a coding agent instead of writing files",
1169
- value: `${packageName} ai-gateway coding-agents setup --apply prompt --yes`
1177
+ value: `${packageName} ai-gateway setup --apply prompt --yes`
1170
1178
  },
1171
1179
  {
1172
1180
  name: "Connect specific agents with a budgeted key",
1173
- value: `${packageName} ai-gateway coding-agents setup --agent claude-code --budget 500 --refresh-period monthly`
1181
+ value: `${packageName} ai-gateway setup --agent claude-code --budget 500 --refresh-period monthly`
1174
1182
  },
1175
1183
  {
1176
1184
  name: "Rotate the key on an already-configured setup",
1177
- value: `${packageName} ai-gateway coding-agents setup --reconfigure`
1185
+ value: `${packageName} ai-gateway setup --reconfigure`
1178
1186
  },
1179
1187
  {
1180
1188
  name: "Reuse an existing key and preview changes only",
1181
- value: `${packageName} ai-gateway coding-agents setup --key <key> --dry-run`
1189
+ value: `${packageName} ai-gateway setup --key <key> --dry-run`
1182
1190
  },
1183
1191
  {
1184
1192
  name: "Point an agent at a different gateway base URL",
1185
- value: `${packageName} ai-gateway coding-agents setup --agent codex --base-url https://preview.ai-gateway.vercel.sh/v1`
1193
+ value: `${packageName} ai-gateway setup --agent codex --base-url https://preview.ai-gateway.vercel.sh/v1`
1186
1194
  }
1187
1195
  ]
1188
1196
  };
@@ -1230,10 +1238,17 @@ var modelsSubcommand = {
1230
1238
  options: [],
1231
1239
  examples: []
1232
1240
  };
1241
+ var budgetDefaultOption = {
1242
+ name: "default",
1243
+ shorthand: null,
1244
+ type: Boolean,
1245
+ deprecated: false,
1246
+ description: "Target the default budget for the scope, applied to resources of that scope without their own budget"
1247
+ };
1233
1248
  var budgetsSetSubcommand = {
1234
1249
  name: "set",
1235
1250
  aliases: [],
1236
- description: "Create or update an AI Gateway budget for a scope (team, project <name>, user <email>, or api-key <name>)",
1251
+ description: "Create or update an AI Gateway budget for a scope (team, project <name>, user <email>, or api-key <name>), or the default budget for a scope with --default",
1237
1252
  arguments: [
1238
1253
  { name: "scope", required: true },
1239
1254
  { name: "name", required: false }
@@ -1255,6 +1270,7 @@ var budgetsSetSubcommand = {
1255
1270
  deprecated: false,
1256
1271
  description: "Budget refresh cadence: daily, weekly, monthly, or none (default: monthly)"
1257
1272
  },
1273
+ budgetDefaultOption,
1258
1274
  formatOption,
1259
1275
  jsonOption
1260
1276
  ],
@@ -1274,18 +1290,22 @@ var budgetsSetSubcommand = {
1274
1290
  {
1275
1291
  name: "Set an API key's budget",
1276
1292
  value: `${packageName} ai-gateway budgets set api-key my-key --limit 50`
1293
+ },
1294
+ {
1295
+ name: "Set the default budget for team members without their own",
1296
+ value: `${packageName} ai-gateway budgets set user --default --limit 50 --refresh-period monthly`
1277
1297
  }
1278
1298
  ]
1279
1299
  };
1280
1300
  var budgetsInspectSubcommand = {
1281
1301
  name: "inspect",
1282
1302
  aliases: [],
1283
- description: "Show one AI Gateway budget for a scope (team, project <name>, user <email>, or api-key <name>)",
1303
+ description: "Show one AI Gateway budget for a scope (team, project <name>, user <email>, or api-key <name>), or the default budget for a scope with --default",
1284
1304
  arguments: [
1285
1305
  { name: "scope", required: true },
1286
1306
  { name: "name", required: false }
1287
1307
  ],
1288
- options: [formatOption, jsonOption],
1308
+ options: [budgetDefaultOption, formatOption, jsonOption],
1289
1309
  examples: [
1290
1310
  {
1291
1311
  name: "Inspect a user's budget",
@@ -1294,6 +1314,10 @@ var budgetsInspectSubcommand = {
1294
1314
  {
1295
1315
  name: "Inspect a project budget as JSON",
1296
1316
  value: `${packageName} ai-gateway budgets inspect project my-project --format json`
1317
+ },
1318
+ {
1319
+ name: "Inspect the per-member default budget",
1320
+ value: `${packageName} ai-gateway budgets inspect user --default`
1297
1321
  }
1298
1322
  ]
1299
1323
  };
@@ -1302,23 +1326,49 @@ var budgetsListSubcommand = {
1302
1326
  aliases: ["ls"],
1303
1327
  description: "List AI Gateway budgets",
1304
1328
  arguments: [],
1305
- options: [formatOption, jsonOption],
1329
+ options: [
1330
+ {
1331
+ name: "scope-type",
1332
+ shorthand: null,
1333
+ type: String,
1334
+ argument: "SCOPE",
1335
+ deprecated: false,
1336
+ description: "Only list budgets for one scope: team, project, user, or api-key"
1337
+ },
1338
+ {
1339
+ name: "defaults",
1340
+ shorthand: null,
1341
+ type: Boolean,
1342
+ deprecated: false,
1343
+ description: "List the team's default budgets instead of individual budgets"
1344
+ },
1345
+ formatOption,
1346
+ jsonOption
1347
+ ],
1306
1348
  examples: [
1307
1349
  {
1308
1350
  name: "List budgets",
1309
1351
  value: `${packageName} ai-gateway budgets ls`
1352
+ },
1353
+ {
1354
+ name: "List user budgets",
1355
+ value: `${packageName} ai-gateway budgets ls --scope-type user`
1356
+ },
1357
+ {
1358
+ name: "List the default budgets",
1359
+ value: `${packageName} ai-gateway budgets ls --defaults`
1310
1360
  }
1311
1361
  ]
1312
1362
  };
1313
1363
  var budgetsRemoveSubcommand = {
1314
1364
  name: "remove",
1315
1365
  aliases: ["rm", "delete"],
1316
- description: "Remove an AI Gateway budget for a scope (team, project <name>, user <email>, or api-key <name>)",
1366
+ description: "Remove an AI Gateway budget for a scope (team, project <name>, user <email>, or api-key <name>), or the default budget for a scope with --default",
1317
1367
  arguments: [
1318
1368
  { name: "scope", required: true },
1319
1369
  { name: "name", required: false }
1320
1370
  ],
1321
- options: [yesOption, formatOption, jsonOption],
1371
+ options: [yesOption, budgetDefaultOption, formatOption, jsonOption],
1322
1372
  examples: [
1323
1373
  {
1324
1374
  name: "Remove the team budget",
@@ -1335,6 +1385,10 @@ var budgetsRemoveSubcommand = {
1335
1385
  {
1336
1386
  name: "Remove an API key's budget",
1337
1387
  value: `${packageName} ai-gateway budgets rm api-key my-key`
1388
+ },
1389
+ {
1390
+ name: "Remove the default budget for API keys",
1391
+ value: `${packageName} ai-gateway budgets rm api-key --default`
1338
1392
  }
1339
1393
  ]
1340
1394
  };
@@ -1469,6 +1523,9 @@ var budgetsDefaultsRemoveSubcommand = {
1469
1523
  var budgetsDefaultsSubcommand = {
1470
1524
  name: "defaults",
1471
1525
  aliases: [],
1526
+ // Deprecated: kept routable, hidden from help. `--default` on budgets
1527
+ // set|inspect|remove and `budgets ls --defaults` replace it.
1528
+ hidden: true,
1472
1529
  description: "Manage AI Gateway budget defaults (per-project, per-api-key, and per-member spend limits applied by default)",
1473
1530
  arguments: [],
1474
1531
  subcommands: [
@@ -1562,7 +1619,7 @@ var aiGatewayCommand = {
1562
1619
  apiKeysSubcommand,
1563
1620
  budgetsSubcommand,
1564
1621
  rulesSubcommand,
1565
- codingAgentsSubcommand,
1622
+ setupSubcommand,
1566
1623
  modelsSubcommand,
1567
1624
  leaderboardSubcommand
1568
1625
  ],
@@ -9683,7 +9740,7 @@ var inspectSubcommand8 = {
9683
9740
  required: false
9684
9741
  }
9685
9742
  ],
9686
- options: [yesOption],
9743
+ options: [yesOption, formatOption, jsonOption],
9687
9744
  examples: [
9688
9745
  {
9689
9746
  name: "Inspect the linked project from the current directory",
@@ -9692,6 +9749,10 @@ var inspectSubcommand8 = {
9692
9749
  {
9693
9750
  name: 'Inspect the project named "my-project"',
9694
9751
  value: `${packageName} project inspect my-project`
9752
+ },
9753
+ {
9754
+ name: "Inspect a project as JSON",
9755
+ value: `${packageName} project inspect my-project --format json`
9695
9756
  }
9696
9757
  ]
9697
9758
  };
@@ -6,15 +6,15 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  printProjectNotFoundError
9
- } from "./chunk-ELZ6WQQA.js";
9
+ } from "./chunk-TLPHZ7M4.js";
10
10
  import {
11
11
  detectExplicitScope
12
- } from "./chunk-ABSZNJQO.js";
12
+ } from "./chunk-76CB3CF2.js";
13
13
  import {
14
14
  getLinkedProject,
15
15
  param,
16
16
  resolveProjectCwd
17
- } from "./chunk-MADFAH3O.js";
17
+ } from "./chunk-7F5RNOTP.js";
18
18
  import {
19
19
  buildCommandWithYes,
20
20
  outputActionRequired
@@ -91,7 +91,7 @@ async function ensureLink(commandName, client, cwd, opts = {}) {
91
91
  );
92
92
  return 1;
93
93
  }
94
- const { default: setupAndLink } = await import("./setup-and-link-DRYXQOH4.js");
94
+ const { default: setupAndLink } = await import("./setup-and-link-R5N7WJ46.js");
95
95
  link = await setupAndLink(client, cwd, opts);
96
96
  if (link.status === "not_linked") {
97
97
  return 0;
@@ -14,7 +14,7 @@ import {
14
14
  getTeamByIdOrSlug,
15
15
  getUser,
16
16
  getVercelDirectory
17
- } from "./chunk-MADFAH3O.js";
17
+ } from "./chunk-7F5RNOTP.js";
18
18
  import {
19
19
  InvalidToken,
20
20
  TeamDeleted
@@ -13476,7 +13476,7 @@ async function resolveProjectCwd(cwd) {
13476
13476
  const projectRoot = await findProjectRoot(cwd);
13477
13477
  if (!projectRoot || projectRoot === cwd)
13478
13478
  return cwd;
13479
- const { isExperimentalServicesEnabled, tryDetectServices } = await import("./detect-services-UPY4LTBZ.js");
13479
+ const { isExperimentalServicesEnabled, tryDetectServices } = await import("./detect-services-Q2DVXVMH.js");
13480
13480
  const isServicesEnabled = await isExperimentalServicesEnabled(projectRoot);
13481
13481
  if (!isServicesEnabled) {
13482
13482
  return cwd;
@@ -13946,7 +13946,7 @@ async function linkFolderToProject(client, path, projectLink, projectName, orgSl
13946
13946
  try {
13947
13947
  client.cwd = path;
13948
13948
  const args = autoConfirm ? ["--yes"] : [];
13949
- const { default: pull } = await import("./pull-WUT3XTZX.js");
13949
+ const { default: pull } = await import("./pull-DL72B6RW.js");
13950
13950
  const exitCode = await pull(client, args, "vercel-cli:link");
13951
13951
  if (exitCode !== 0) {
13952
13952
  output_manager_default.error(
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-332LMJLZ.js";
11
11
  import {
12
12
  require_dist
13
- } from "./chunk-WT6C2ALC.js";
13
+ } from "./chunk-N6HP5BLI.js";
14
14
  import {
15
15
  __commonJS,
16
16
  __toESM
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-ND5CF2H3.js";
18
18
  import {
19
19
  printAlignedLabel
20
- } from "./chunk-MADFAH3O.js";
20
+ } from "./chunk-7F5RNOTP.js";
21
21
  import {
22
22
  buildCommandWithGlobalFlags,
23
23
  quoteArg
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-57RHXXXG.js";
10
10
  import {
11
11
  VERCEL_DIR
12
- } from "./chunk-MADFAH3O.js";
12
+ } from "./chunk-7F5RNOTP.js";
13
13
  import {
14
14
  ConflictingConfigFiles,
15
15
  DeprecatedNowJson,
@@ -6,20 +6,20 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  MISSING_BOTH_MESSAGE
9
- } from "./chunk-QIUK4Z7Q.js";
9
+ } from "./chunk-F4S6Q4OY.js";
10
10
  import {
11
11
  RULE_ENVIRONMENTS
12
12
  } from "./chunk-GY5I4AYD.js";
13
13
  import {
14
14
  resolveProjectContext
15
- } from "./chunk-X6TGUHFD.js";
15
+ } from "./chunk-3FIEWWMM.js";
16
16
  import {
17
17
  AGENT_REASON,
18
18
  AGENT_STATUS
19
19
  } from "./chunk-VUS2JQB2.js";
20
20
  import {
21
21
  detectExplicitScope
22
- } from "./chunk-ABSZNJQO.js";
22
+ } from "./chunk-76CB3CF2.js";
23
23
  import {
24
24
  printError
25
25
  } from "./chunk-3VM7HWF6.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-VUS2JQB2.js";
10
10
  import {
11
11
  getProjectByNameOrId
12
- } from "./chunk-MADFAH3O.js";
12
+ } from "./chunk-7F5RNOTP.js";
13
13
  import {
14
14
  ProjectNotFound
15
15
  } from "./chunk-CV5YC2EN.js";
@@ -13,7 +13,7 @@ import {
13
13
  isOAuthError,
14
14
  processDeviceAuthorizationResponse,
15
15
  processTokenResponse
16
- } from "./chunk-ABSZNJQO.js";
16
+ } from "./chunk-76CB3CF2.js";
17
17
  import {
18
18
  printError
19
19
  } from "./chunk-3VM7HWF6.js";
@@ -21,7 +21,7 @@ import {
21
21
  getTeams,
22
22
  getUser,
23
23
  humanizePath
24
- } from "./chunk-MADFAH3O.js";
24
+ } from "./chunk-7F5RNOTP.js";
25
25
  import {
26
26
  getCommandName
27
27
  } from "./chunk-Q2DGFCO7.js";