vercel 54.21.1 → 56.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/dist/chunks/{add-UMB55BRR.js → add-MD247HM7.js} +6 -6
  2. package/dist/chunks/{add-NKDLTZ3B.js → add-YN76XNHI.js} +6 -6
  3. package/dist/chunks/{chunk-MLY3KGVY.js → chunk-2BZVY6SF.js} +4 -4
  4. package/dist/chunks/{chunk-TLKTTWDA.js → chunk-36OUS2KE.js} +1 -1
  5. package/dist/chunks/{chunk-43I5EAPY.js → chunk-3JOLICSO.js} +1 -1
  6. package/dist/chunks/{chunk-3EMRC44D.js → chunk-5OT26JZN.js} +32 -0
  7. package/dist/chunks/{chunk-TRQJQXKD.js → chunk-75HDPY6N.js} +82 -19
  8. package/dist/chunks/chunk-7PZWVZN6.js +105 -0
  9. package/dist/chunks/{chunk-DKE73NGN.js → chunk-C6E2RJS7.js} +29 -2
  10. package/dist/chunks/{chunk-2QBF3ZL3.js → chunk-CB3I3QIT.js} +3 -4
  11. package/dist/chunks/{chunk-I3HGCZ4E.js → chunk-CMJMYVQM.js} +1 -0
  12. package/dist/chunks/{chunk-IMTOXXTF.js → chunk-DO3V6PZD.js} +6 -4
  13. package/dist/chunks/{chunk-QKR7GNAK.js → chunk-DREO3DFB.js} +6 -6
  14. package/dist/chunks/{chunk-GAJ2ESDD.js → chunk-FN36GZDS.js} +100 -36
  15. package/dist/chunks/{chunk-4UZF3U4N.js → chunk-HA7C7SDO.js} +2 -0
  16. package/dist/chunks/{chunk-QH7WYDEP.js → chunk-IC4YEIGW.js} +7 -0
  17. package/dist/chunks/{chunk-H3KWN2KA.js → chunk-JHZG2MPW.js} +4 -4
  18. package/dist/chunks/{chunk-QMZO4CEP.js → chunk-KODCUW77.js} +353 -403
  19. package/dist/chunks/{chunk-RO5JIUOI.js → chunk-KSJ4FNUG.js} +3 -3
  20. package/dist/chunks/{chunk-KNSDQCVQ.js → chunk-MBH4DFF7.js} +51 -9
  21. package/dist/chunks/{chunk-MV65GD4L.js → chunk-N4VWB5RV.js} +1 -1
  22. package/dist/chunks/{chunk-AUYY7RD3.js → chunk-NZ73KKYG.js} +550 -191
  23. package/dist/chunks/{chunk-ADTCIFMD.js → chunk-ORKY33ZK.js} +69 -16
  24. package/dist/chunks/{chunk-XMJAKLQQ.js → chunk-T7EIXPC5.js} +1 -1
  25. package/dist/chunks/{chunk-I4NRKN2Z.js → chunk-THMFJODG.js} +480 -277
  26. package/dist/chunks/{chunk-2ZXLLEEZ.js → chunk-TNDFVAZV.js} +4 -4
  27. package/dist/chunks/{chunk-OVE2GAHC.js → chunk-VPDJOK2C.js} +3 -3
  28. package/dist/chunks/{chunk-HMFUXSD7.js → chunk-VSD5BID5.js} +1 -1
  29. package/dist/chunks/{chunk-ZZIAWRCX.js → chunk-W346YNDN.js} +18 -0
  30. package/dist/chunks/chunk-WGGABYO5.js +31 -0
  31. package/dist/chunks/{chunk-XCL7I6W5.js → chunk-ZHDXN5V3.js} +3 -3
  32. package/dist/chunks/{compile-vercel-config-OKONVGZI.js → compile-vercel-config-65QWHKPO.js} +2 -2
  33. package/dist/chunks/{delete-L7TN5GNZ.js → delete-NPEJGNTV.js} +5 -5
  34. package/dist/chunks/{disable-7NVU4H2N.js → disable-RH3MH7PH.js} +5 -5
  35. package/dist/chunks/{discard-SJ2TDPS2.js → discard-IJBFO24S.js} +5 -5
  36. package/dist/chunks/{edit-SW4MF4Q3.js → edit-GMLOKGHO.js} +6 -6
  37. package/dist/chunks/{enable-FOKEO6J2.js → enable-QCTL7ISO.js} +5 -5
  38. package/dist/chunks/{exec-UKMIYIF6.js → exec-G4AUF3KG.js} +4 -90
  39. package/dist/chunks/{export-3DSHT2FD.js → export-6ERWU54A.js} +9 -8
  40. package/dist/chunks/{image-T6I7BZSC.js → image-XUMTOUQS.js} +5 -5
  41. package/dist/chunks/{inspect-RV444SBC.js → inspect-7UPFOAJO.js} +5 -5
  42. package/dist/chunks/{inspect-EP24WN4I.js → inspect-F6LEST4Y.js} +10 -10
  43. package/dist/chunks/{inspect-2MY25CMN.js → inspect-OKOUOOWW.js} +10 -10
  44. package/dist/chunks/{inspect-DJ7OGHBK.js → inspect-ZS4U24NA.js} +9 -9
  45. package/dist/chunks/{list-CCG2NVLL.js → list-BTMO3CXU.js} +5 -5
  46. package/dist/chunks/{list-OMJ7EDKA.js → list-ZK7Q3UHB.js} +3 -3
  47. package/dist/chunks/login-POFRYQZ6.js +247 -0
  48. package/dist/chunks/{ls-VXZGEJJD.js → ls-D5Z4IWMU.js} +6 -6
  49. package/dist/chunks/{ls-VCTHIVI7.js → ls-EXRMNZUT.js} +9 -9
  50. package/dist/chunks/{ls-33Z3R2KY.js → ls-JGNNPYUA.js} +9 -9
  51. package/dist/chunks/{ls-5KN5FKAQ.js → ls-Z2TCQW5W.js} +9 -9
  52. package/dist/chunks/{publish-RZ2DIYRU.js → publish-ED2XVYSE.js} +5 -5
  53. package/dist/chunks/{query-2MIBB7C5.js → query-6XMBJTPX.js} +3 -3
  54. package/dist/chunks/{reorder-FEZIPHNW.js → reorder-7B6HZCOZ.js} +5 -5
  55. package/dist/chunks/{restore-JHH6CW2S.js → restore-47ZDRYQT.js} +5 -5
  56. package/dist/chunks/{rm-EKPVQYGH.js → rm-4IY6QGHF.js} +6 -6
  57. package/dist/chunks/{rm-3KAXICHP.js → rm-AA7WYBZ5.js} +5 -5
  58. package/dist/chunks/{rm-ULQHII4K.js → rm-NGTPTPZK.js} +6 -6
  59. package/dist/chunks/{rule-inspect-FOZOCOUO.js → rule-inspect-FNX6P4LZ.js} +6 -6
  60. package/dist/chunks/{rules-RJD4S7JA.js → rules-MMCCBGQJ.js} +10 -10
  61. package/dist/chunks/{schema-CDXFJU72.js → schema-JSK7S7HL.js} +3 -3
  62. package/dist/chunks/{tags-BLBAPEWV.js → tags-KNCSBTIH.js} +4 -4
  63. package/dist/chunks/{update-2NW6NKG6.js → update-JEFLJ3TH.js} +6 -6
  64. package/dist/commands/build/index.js +47 -16
  65. package/dist/commands/deploy/index.js +24 -46
  66. package/dist/commands/dev/index.js +202 -59
  67. package/dist/commands/env/index.js +10 -20
  68. package/dist/commands/link/index.js +33 -16
  69. package/dist/commands/list/index.js +26 -11
  70. package/dist/commands-bulk.js +13722 -10599
  71. package/dist/index.js +14 -24
  72. package/dist/version.mjs +1 -1
  73. package/package.json +24 -23
  74. package/dist/chunks/chunk-Y4JJYHUG.js +0 -16
@@ -6,13 +6,13 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  vcrCommand
9
- } from "./chunk-3EMRC44D.js";
9
+ } from "./chunk-5OT26JZN.js";
10
10
  import {
11
11
  metricsCommand
12
12
  } from "./chunk-JJWESW5Y.js";
13
13
  import {
14
14
  routesCommand
15
- } from "./chunk-QKR7GNAK.js";
15
+ } from "./chunk-DREO3DFB.js";
16
16
  import {
17
17
  activityCommand
18
18
  } from "./chunk-5AJNUXWP.js";
@@ -24,14 +24,14 @@ import {
24
24
  } from "./chunk-IDMKFYEA.js";
25
25
  import {
26
26
  listCommand
27
- } from "./chunk-4UZF3U4N.js";
27
+ } from "./chunk-HA7C7SDO.js";
28
28
  import {
29
29
  buildCommand,
30
30
  pullCommand
31
- } from "./chunk-43I5EAPY.js";
31
+ } from "./chunk-3JOLICSO.js";
32
32
  import {
33
33
  envCommand
34
- } from "./chunk-I4NRKN2Z.js";
34
+ } from "./chunk-THMFJODG.js";
35
35
  import {
36
36
  confirmOption,
37
37
  deploymentOption,
@@ -913,12 +913,194 @@ var rulesSubcommand = {
913
913
  options: [],
914
914
  examples: []
915
915
  };
916
+ var setupSubcommand = {
917
+ name: "setup",
918
+ aliases: [],
919
+ description: "Connect local coding agents (Claude Code, Codex, OpenCode, Pi) to the AI Gateway",
920
+ arguments: [],
921
+ options: [
922
+ {
923
+ name: "agent",
924
+ shorthand: null,
925
+ type: [String],
926
+ argument: "NAME",
927
+ deprecated: false,
928
+ description: "Coding agent to configure, repeatable (claude-code, codex, opencode, pi)"
929
+ },
930
+ {
931
+ name: "all",
932
+ shorthand: null,
933
+ type: Boolean,
934
+ deprecated: false,
935
+ description: "Configure every supported coding agent"
936
+ },
937
+ {
938
+ name: "key",
939
+ shorthand: null,
940
+ type: String,
941
+ argument: "KEY",
942
+ deprecated: false,
943
+ description: "Use an existing AI Gateway API key instead of creating one"
944
+ },
945
+ {
946
+ name: "budget",
947
+ shorthand: null,
948
+ type: Number,
949
+ argument: "AMOUNT",
950
+ deprecated: false,
951
+ description: "Quota budget in dollars for a newly created key (minimum 1)"
952
+ },
953
+ {
954
+ name: "refresh-period",
955
+ shorthand: null,
956
+ type: String,
957
+ argument: "PERIOD",
958
+ deprecated: false,
959
+ description: "Quota refresh cadence for a new key: daily, weekly, monthly, or none"
960
+ },
961
+ {
962
+ name: "include-byok",
963
+ shorthand: null,
964
+ type: Boolean,
965
+ deprecated: false,
966
+ description: "Include BYOK usage in the new key quota"
967
+ },
968
+ {
969
+ name: "expiration",
970
+ shorthand: null,
971
+ type: String,
972
+ argument: "PERIOD",
973
+ deprecated: false,
974
+ description: "Expiry for a new key: 7d, 30d, 60d, 90d, 1y, or none (default: none)"
975
+ },
976
+ {
977
+ name: "name",
978
+ shorthand: null,
979
+ type: String,
980
+ argument: "NAME",
981
+ deprecated: false,
982
+ description: "Name for a newly created API key"
983
+ },
984
+ {
985
+ name: "reconfigure",
986
+ shorthand: null,
987
+ type: Boolean,
988
+ deprecated: false,
989
+ description: "Re-run even if already configured, to rotate the key or switch team"
990
+ },
991
+ {
992
+ name: "dry-run",
993
+ shorthand: null,
994
+ type: Boolean,
995
+ deprecated: false,
996
+ description: "Show what would change without writing any files"
997
+ },
998
+ {
999
+ name: "no-backup",
1000
+ shorthand: null,
1001
+ type: Boolean,
1002
+ deprecated: false,
1003
+ description: "Do not write .bak backups of changed files"
1004
+ },
1005
+ {
1006
+ name: "no-keychain",
1007
+ shorthand: null,
1008
+ type: Boolean,
1009
+ deprecated: false,
1010
+ description: "Always write the key into config files instead of the macOS Keychain"
1011
+ },
1012
+ {
1013
+ name: "agent-config",
1014
+ shorthand: null,
1015
+ type: [String],
1016
+ argument: "AGENT=PATH",
1017
+ deprecated: false,
1018
+ description: "Override an agent's config file path, e.g. claude-code=/path/settings.json (repeatable)"
1019
+ },
1020
+ {
1021
+ name: "shell-rc",
1022
+ shorthand: null,
1023
+ type: String,
1024
+ argument: "PATH",
1025
+ deprecated: false,
1026
+ description: "Shell rc file to write the env exports into"
1027
+ },
1028
+ yesOption
1029
+ ],
1030
+ examples: [
1031
+ {
1032
+ name: "Connect all detected coding agents (creates a key)",
1033
+ value: `${packageName} ai-gateway coding-agents setup`
1034
+ },
1035
+ {
1036
+ name: "Connect specific agents with a budgeted key",
1037
+ value: `${packageName} ai-gateway coding-agents setup --agent claude-code --budget 500 --refresh-period monthly`
1038
+ },
1039
+ {
1040
+ name: "Rotate the key on an already-configured setup",
1041
+ value: `${packageName} ai-gateway coding-agents setup --reconfigure`
1042
+ },
1043
+ {
1044
+ name: "Reuse an existing key and preview changes only",
1045
+ value: `${packageName} ai-gateway coding-agents setup --key <key> --dry-run`
1046
+ }
1047
+ ]
1048
+ };
1049
+ var codingAgentsSubcommand = {
1050
+ name: "coding-agents",
1051
+ aliases: [],
1052
+ description: "Connect local coding agents to the AI Gateway",
1053
+ arguments: [],
1054
+ subcommands: [setupSubcommand],
1055
+ options: [],
1056
+ examples: []
1057
+ };
1058
+ var modelsListSubcommand = {
1059
+ name: "list",
1060
+ aliases: ["ls"],
1061
+ description: "List AI Gateway models",
1062
+ arguments: [],
1063
+ options: [formatOption],
1064
+ examples: [
1065
+ {
1066
+ name: "List available models",
1067
+ value: `${packageName} ai-gateway models ls`
1068
+ }
1069
+ ]
1070
+ };
1071
+ var modelsEndpointsSubcommand = {
1072
+ name: "endpoints",
1073
+ aliases: [],
1074
+ description: "List provider endpoints for an AI Gateway model",
1075
+ arguments: [{ name: "model", required: true }],
1076
+ options: [formatOption],
1077
+ examples: [
1078
+ {
1079
+ name: "List provider endpoints for a model",
1080
+ value: `${packageName} ai-gateway models endpoints anthropic/claude-opus-4.8`
1081
+ }
1082
+ ]
1083
+ };
1084
+ var modelsSubcommand = {
1085
+ name: "models",
1086
+ aliases: [],
1087
+ description: "Manage AI Gateway models",
1088
+ arguments: [],
1089
+ subcommands: [modelsListSubcommand, modelsEndpointsSubcommand],
1090
+ options: [],
1091
+ examples: []
1092
+ };
916
1093
  var aiGatewayCommand = {
917
1094
  name: "ai-gateway",
918
1095
  aliases: [],
919
1096
  description: "Manage AI Gateway resources",
920
1097
  arguments: [],
921
- subcommands: [apiKeysSubcommand, rulesSubcommand],
1098
+ subcommands: [
1099
+ apiKeysSubcommand,
1100
+ rulesSubcommand,
1101
+ codingAgentsSubcommand,
1102
+ modelsSubcommand
1103
+ ],
922
1104
  options: [],
923
1105
  examples: []
924
1106
  };
@@ -4635,6 +4817,304 @@ var rolloutSubcommand = {
4635
4817
  }
4636
4818
  ]
4637
4819
  };
4820
+ var ruleConditionDescription = `Rule condition as ENTITY.ATTRIBUTE:OPERATOR:VALUE or segment:OPERATOR:SEGMENT. Repeatable; semicolon-separated conditions are also supported. ${segmentRuleOperatorDescription}`;
4821
+ var ruleOutcomeOptions = [
4822
+ {
4823
+ name: "variant",
4824
+ shorthand: "v",
4825
+ type: String,
4826
+ deprecated: false,
4827
+ description: "Variant ID or value to serve when the rule matches",
4828
+ argument: "VARIANT"
4829
+ },
4830
+ {
4831
+ name: "by",
4832
+ shorthand: null,
4833
+ type: String,
4834
+ deprecated: false,
4835
+ description: "Entity attribute used for split or rollout bucketing, in the form entity.attribute",
4836
+ argument: "ENTITY.ATTRIBUTE"
4837
+ },
4838
+ {
4839
+ name: "weight",
4840
+ shorthand: "w",
4841
+ type: [String],
4842
+ deprecated: false,
4843
+ description: "Split weight ratio as VARIANT=WEIGHT. Repeat for each variant.",
4844
+ argument: "VARIANT=WEIGHT"
4845
+ },
4846
+ {
4847
+ name: "default-variant",
4848
+ shorthand: null,
4849
+ type: String,
4850
+ deprecated: false,
4851
+ description: "Fallback variant for split or rollout outcomes when the bucketing attribute is unavailable",
4852
+ argument: "VARIANT"
4853
+ },
4854
+ {
4855
+ name: "from-variant",
4856
+ shorthand: null,
4857
+ type: String,
4858
+ deprecated: false,
4859
+ description: "Variant to roll away from for rollout outcomes",
4860
+ argument: "VARIANT"
4861
+ },
4862
+ {
4863
+ name: "to-variant",
4864
+ shorthand: null,
4865
+ type: String,
4866
+ deprecated: false,
4867
+ description: "Variant to roll towards for rollout outcomes",
4868
+ argument: "VARIANT"
4869
+ },
4870
+ {
4871
+ name: "stage",
4872
+ shorthand: "s",
4873
+ type: [String],
4874
+ deprecated: false,
4875
+ description: "Add a rollout stage as PERCENTAGE,DURATION. Can be specified multiple times.",
4876
+ argument: "PERCENTAGE,DURATION"
4877
+ },
4878
+ {
4879
+ name: "start",
4880
+ shorthand: null,
4881
+ type: String,
4882
+ deprecated: false,
4883
+ description: 'When the rollout should start: "now", a relative time like "1h", or an ISO 8601 datetime',
4884
+ argument: "TIME"
4885
+ }
4886
+ ];
4887
+ var ruleMessageOption = {
4888
+ name: "message",
4889
+ shorthand: null,
4890
+ type: String,
4891
+ deprecated: false,
4892
+ description: "Optional revision message for the update",
4893
+ argument: "TEXT"
4894
+ };
4895
+ var rulesListSubcommand3 = {
4896
+ name: "list",
4897
+ aliases: ["ls"],
4898
+ description: "List conditional rules for a feature flag environment",
4899
+ arguments: [
4900
+ {
4901
+ name: "flag",
4902
+ required: true
4903
+ }
4904
+ ],
4905
+ options: [
4906
+ {
4907
+ name: "environment",
4908
+ shorthand: "e",
4909
+ type: String,
4910
+ deprecated: false,
4911
+ description: "The environment to list rules for (production, preview, or development)",
4912
+ argument: "ENV"
4913
+ },
4914
+ {
4915
+ name: "json",
4916
+ shorthand: null,
4917
+ type: Boolean,
4918
+ deprecated: false,
4919
+ description: "Output in JSON format"
4920
+ }
4921
+ ],
4922
+ examples: [
4923
+ {
4924
+ name: "List production rules for a flag",
4925
+ value: `${packageName} flags rules ls my-feature --environment production`
4926
+ },
4927
+ {
4928
+ name: "List rules as JSON",
4929
+ value: `${packageName} flags rules ls my-feature -e production --json`
4930
+ }
4931
+ ]
4932
+ };
4933
+ var rulesAddSubcommand3 = {
4934
+ name: "add",
4935
+ aliases: [],
4936
+ description: "Add a conditional rule to a feature flag environment",
4937
+ arguments: [
4938
+ {
4939
+ name: "flag",
4940
+ required: true
4941
+ }
4942
+ ],
4943
+ options: [
4944
+ {
4945
+ name: "environment",
4946
+ shorthand: "e",
4947
+ type: String,
4948
+ deprecated: false,
4949
+ description: "The environment to add the rule to (production, preview, or development)",
4950
+ argument: "ENV"
4951
+ },
4952
+ {
4953
+ name: "condition",
4954
+ shorthand: "c",
4955
+ type: [String],
4956
+ deprecated: false,
4957
+ description: ruleConditionDescription,
4958
+ argument: "CONDITION"
4959
+ },
4960
+ ...ruleOutcomeOptions,
4961
+ {
4962
+ name: "position",
4963
+ shorthand: "p",
4964
+ type: Number,
4965
+ deprecated: false,
4966
+ description: "1-based position for the new rule (defaults to last)",
4967
+ argument: "N"
4968
+ },
4969
+ ruleMessageOption
4970
+ ],
4971
+ examples: [
4972
+ {
4973
+ name: "Add a variant rule",
4974
+ value: `${packageName} flags rules add my-feature --environment production --condition user.plan:eq:pro --variant on`
4975
+ },
4976
+ {
4977
+ name: "Add a segment rule",
4978
+ value: `${packageName} flags rules add my-feature -e production --condition segment:eq:seg_beta123 --variant on`
4979
+ },
4980
+ {
4981
+ name: "Add a split rule at the top",
4982
+ value: `${packageName} flags rules add my-feature -e production --condition user.plan:eq:pro --by user.userId --weight off=90 --weight on=10 --position 1`
4983
+ }
4984
+ ]
4985
+ };
4986
+ var rulesUpdateSubcommand = {
4987
+ name: "update",
4988
+ aliases: [],
4989
+ description: "Update a conditional rule in a feature flag environment",
4990
+ arguments: [
4991
+ {
4992
+ name: "flag",
4993
+ required: true
4994
+ },
4995
+ {
4996
+ name: "rule",
4997
+ required: true
4998
+ }
4999
+ ],
5000
+ options: [
5001
+ {
5002
+ name: "environment",
5003
+ shorthand: "e",
5004
+ type: String,
5005
+ deprecated: false,
5006
+ description: "The environment containing the rule (production, preview, or development)",
5007
+ argument: "ENV"
5008
+ },
5009
+ {
5010
+ name: "condition",
5011
+ shorthand: "c",
5012
+ type: [String],
5013
+ deprecated: false,
5014
+ description: "Replace rule conditions. " + ruleConditionDescription,
5015
+ argument: "CONDITION"
5016
+ },
5017
+ ...ruleOutcomeOptions,
5018
+ ruleMessageOption
5019
+ ],
5020
+ examples: [
5021
+ {
5022
+ name: "Replace rule conditions",
5023
+ value: `${packageName} flags rules update my-feature rule_123 --environment production --condition user.plan:eq:enterprise`
5024
+ },
5025
+ {
5026
+ name: "Update a rule outcome",
5027
+ value: `${packageName} flags rules update my-feature rule_123 -e production --variant off`
5028
+ }
5029
+ ]
5030
+ };
5031
+ var rulesRemoveSubcommand3 = {
5032
+ name: "remove",
5033
+ aliases: ["rm"],
5034
+ description: "Remove a conditional rule from a feature flag environment",
5035
+ arguments: [
5036
+ {
5037
+ name: "flag",
5038
+ required: true
5039
+ },
5040
+ {
5041
+ name: "rule",
5042
+ required: true
5043
+ }
5044
+ ],
5045
+ options: [
5046
+ {
5047
+ name: "environment",
5048
+ shorthand: "e",
5049
+ type: String,
5050
+ deprecated: false,
5051
+ description: "The environment containing the rule (production, preview, or development)",
5052
+ argument: "ENV"
5053
+ },
5054
+ ruleMessageOption
5055
+ ],
5056
+ examples: [
5057
+ {
5058
+ name: "Remove a rule",
5059
+ value: `${packageName} flags rules rm my-feature rule_123 --environment production`
5060
+ }
5061
+ ]
5062
+ };
5063
+ var rulesMoveSubcommand = {
5064
+ name: "move",
5065
+ aliases: [],
5066
+ description: "Move a conditional rule within a feature flag environment",
5067
+ arguments: [
5068
+ {
5069
+ name: "flag",
5070
+ required: true
5071
+ },
5072
+ {
5073
+ name: "rule",
5074
+ required: true
5075
+ }
5076
+ ],
5077
+ options: [
5078
+ {
5079
+ name: "environment",
5080
+ shorthand: "e",
5081
+ type: String,
5082
+ deprecated: false,
5083
+ description: "The environment containing the rule (production, preview, or development)",
5084
+ argument: "ENV"
5085
+ },
5086
+ {
5087
+ name: "position",
5088
+ shorthand: "p",
5089
+ type: Number,
5090
+ deprecated: false,
5091
+ description: "1-based destination position for the rule",
5092
+ argument: "N"
5093
+ },
5094
+ ruleMessageOption
5095
+ ],
5096
+ examples: [
5097
+ {
5098
+ name: "Move a rule to the top",
5099
+ value: `${packageName} flags rules move my-feature rule_123 --environment production --position 1`
5100
+ }
5101
+ ]
5102
+ };
5103
+ var rulesSubcommand3 = {
5104
+ name: "rules",
5105
+ aliases: [],
5106
+ description: "Manage conditional rules for feature flags",
5107
+ arguments: [],
5108
+ subcommands: [
5109
+ rulesListSubcommand3,
5110
+ rulesAddSubcommand3,
5111
+ rulesUpdateSubcommand,
5112
+ rulesRemoveSubcommand3,
5113
+ rulesMoveSubcommand
5114
+ ],
5115
+ options: [],
5116
+ examples: []
5117
+ };
4638
5118
  var removeSubcommand8 = {
4639
5119
  name: "remove",
4640
5120
  aliases: ["rm"],
@@ -5221,6 +5701,7 @@ var flagsCommand = {
5221
5701
  archiveSubcommand,
5222
5702
  disableSubcommand,
5223
5703
  enableSubcommand,
5704
+ rulesSubcommand3,
5224
5705
  segmentsSubcommand,
5225
5706
  sdkKeysSubcommand,
5226
5707
  prepareSubcommand,
@@ -5729,6 +6210,35 @@ var claimSubcommand = {
5729
6210
  }
5730
6211
  ]
5731
6212
  };
6213
+ var inspectSubcommand4 = {
6214
+ name: "inspect",
6215
+ aliases: ["status"],
6216
+ description: "Show live details and status for a marketplace integration resource, fetched fresh from the provider",
6217
+ arguments: [
6218
+ {
6219
+ name: "resource",
6220
+ required: true
6221
+ }
6222
+ ],
6223
+ options: [formatOption],
6224
+ examples: [
6225
+ {
6226
+ name: "Show live details and status for a resource",
6227
+ value: [
6228
+ `${packageName} integration resource inspect <resource>`,
6229
+ `${packageName} integration resource inspect my-acme-resource`
6230
+ ]
6231
+ },
6232
+ {
6233
+ name: "Show live status for a resource (alias)",
6234
+ value: `${packageName} integration resource status my-acme-resource`
6235
+ },
6236
+ {
6237
+ name: "Output as JSON",
6238
+ value: `${packageName} integration resource inspect my-acme-resource --format=json`
6239
+ }
6240
+ ]
6241
+ };
5732
6242
  var integrationResourceCommand = {
5733
6243
  name: "integration-resource",
5734
6244
  aliases: ["ir"],
@@ -5740,7 +6250,8 @@ var integrationResourceCommand = {
5740
6250
  createThresholdSubcommand,
5741
6251
  disconnectSubcommand2,
5742
6252
  removeSubcommand9,
5743
- claimSubcommand
6253
+ claimSubcommand,
6254
+ inspectSubcommand4
5744
6255
  ],
5745
6256
  examples: []
5746
6257
  };
@@ -6331,7 +6842,8 @@ var resourceSubcommand = {
6331
6842
  createThresholdSubcommand,
6332
6843
  disconnectSubcommand2,
6333
6844
  removeSubcommand9,
6334
- claimSubcommand
6845
+ claimSubcommand,
6846
+ inspectSubcommand4
6335
6847
  ],
6336
6848
  examples: [
6337
6849
  {
@@ -6913,166 +7425,6 @@ var microfrontendsCommand = {
6913
7425
  examples: []
6914
7426
  };
6915
7427
 
6916
- // src/commands/oauth-apps/command.ts
6917
- var listRequestsSubcommand = {
6918
- name: "list-requests",
6919
- aliases: ["requests"],
6920
- description: "List pending Vercel App (OAuth) installation requests for the team",
6921
- arguments: [],
6922
- options: [formatOption],
6923
- examples: [
6924
- {
6925
- name: "List pending installation requests",
6926
- value: `${packageName} oauth-apps list-requests`
6927
- },
6928
- {
6929
- name: "JSON output",
6930
- value: `${packageName} oauth-apps list-requests --format json`
6931
- }
6932
- ]
6933
- };
6934
- var registerSubcommand = {
6935
- name: "register",
6936
- aliases: ["create"],
6937
- description: "Register a new Vercel App (OAuth) for the current team (issues a client id)",
6938
- arguments: [],
6939
- options: [
6940
- {
6941
- name: "name",
6942
- shorthand: null,
6943
- type: String,
6944
- argument: "NAME",
6945
- deprecated: false,
6946
- description: "Display name of the app (required)"
6947
- },
6948
- {
6949
- name: "slug",
6950
- shorthand: null,
6951
- type: String,
6952
- argument: "SLUG",
6953
- deprecated: false,
6954
- description: "URL-safe unique identifier (required)"
6955
- },
6956
- {
6957
- name: "redirect-uri",
6958
- shorthand: null,
6959
- type: [String],
6960
- argument: "URL",
6961
- deprecated: false,
6962
- description: "Allowed OAuth redirect URI (repeatable)"
6963
- },
6964
- {
6965
- name: "description",
6966
- shorthand: null,
6967
- type: String,
6968
- argument: "TEXT",
6969
- deprecated: false,
6970
- description: "Optional description shown to users"
6971
- },
6972
- formatOption
6973
- ],
6974
- examples: [
6975
- {
6976
- name: "Register with redirect URIs",
6977
- value: `${packageName} oauth-apps register --name "My App" --slug my-app --redirect-uri https://app.example.com/oauth/callback`
6978
- },
6979
- {
6980
- name: "JSON output (includes clientId)",
6981
- value: `${packageName} oauth-apps register --name "My App" --slug my-app --format json`
6982
- }
6983
- ]
6984
- };
6985
- var dismissSubcommand = {
6986
- name: "dismiss",
6987
- aliases: [],
6988
- description: "Dismiss a pending app installation request by client ID",
6989
- arguments: [
6990
- {
6991
- name: "appId",
6992
- required: true
6993
- }
6994
- ],
6995
- options: [formatOption, yesOption],
6996
- examples: [
6997
- {
6998
- name: "Dismiss a request",
6999
- value: `${packageName} oauth-apps dismiss cl_abc123 --yes`
7000
- }
7001
- ]
7002
- };
7003
- var installSubcommand = {
7004
- name: "install",
7005
- aliases: ["add"],
7006
- description: "Install a Vercel App to the team using its OAuth client ID",
7007
- arguments: [],
7008
- options: [
7009
- {
7010
- name: "client-id",
7011
- shorthand: null,
7012
- type: String,
7013
- argument: "ID",
7014
- deprecated: false,
7015
- description: "OAuth client ID of the Vercel App (required)"
7016
- },
7017
- {
7018
- name: "permission",
7019
- shorthand: null,
7020
- type: [String],
7021
- argument: "SCOPE",
7022
- deprecated: false,
7023
- description: "Permission to grant (repeatable). Example: --permission read:project"
7024
- },
7025
- {
7026
- name: "projects",
7027
- shorthand: null,
7028
- type: String,
7029
- argument: "IDS",
7030
- deprecated: false,
7031
- description: "Comma-separated project IDs, or * for all projects (optional)"
7032
- },
7033
- formatOption
7034
- ],
7035
- examples: [
7036
- {
7037
- name: "Install with permissions",
7038
- value: `${packageName} oauth-apps install --client-id cl_abc --permission read:project --permission read:deployment`
7039
- }
7040
- ]
7041
- };
7042
- var removeSubcommand11 = {
7043
- name: "remove",
7044
- aliases: ["rm", "uninstall"],
7045
- description: "Uninstall a Vercel App from the team",
7046
- arguments: [
7047
- {
7048
- name: "installationId",
7049
- required: true
7050
- }
7051
- ],
7052
- options: [formatOption, yesOption],
7053
- examples: [
7054
- {
7055
- name: "Uninstall",
7056
- value: `${packageName} oauth-apps remove inst_abc123 --yes`
7057
- }
7058
- ]
7059
- };
7060
- var oauthAppsCommand = {
7061
- name: "oauth-apps",
7062
- aliases: [],
7063
- description: "Register Vercel Apps (OAuth) and manage team installations",
7064
- arguments: [],
7065
- subcommands: [
7066
- listRequestsSubcommand,
7067
- registerSubcommand,
7068
- dismissSubcommand,
7069
- installSubcommand,
7070
- removeSubcommand11
7071
- ],
7072
- options: [],
7073
- examples: []
7074
- };
7075
-
7076
7428
  // src/commands/open/command.ts
7077
7429
  var openCommand = {
7078
7430
  name: "open",
@@ -7200,7 +7552,7 @@ var checksSubcommand = {
7200
7552
  }
7201
7553
  ]
7202
7554
  };
7203
- var inspectSubcommand4 = {
7555
+ var inspectSubcommand5 = {
7204
7556
  name: "inspect",
7205
7557
  aliases: [],
7206
7558
  description: "Displays information related to a project",
@@ -7230,6 +7582,7 @@ var listSubcommand13 = {
7230
7582
  arguments: [],
7231
7583
  options: [
7232
7584
  nextOption,
7585
+ limitOption,
7233
7586
  formatOption,
7234
7587
  jsonOption,
7235
7588
  {
@@ -7263,7 +7616,7 @@ var listSubcommand13 = {
7263
7616
  }
7264
7617
  ]
7265
7618
  };
7266
- var removeSubcommand12 = {
7619
+ var removeSubcommand11 = {
7267
7620
  name: "remove",
7268
7621
  aliases: ["rm"],
7269
7622
  description: "Delete a project",
@@ -7700,7 +8053,7 @@ var projectCommand = {
7700
8053
  addSubcommand8,
7701
8054
  accessSummarySubcommand,
7702
8055
  checksSubcommand,
7703
- inspectSubcommand4,
8056
+ inspectSubcommand5,
7704
8057
  listSubcommand13,
7705
8058
  membersSubcommand,
7706
8059
  accessGroupsSubcommand,
@@ -7709,7 +8062,7 @@ var projectCommand = {
7709
8062
  speedInsightsSubcommand,
7710
8063
  updateSubcommand5,
7711
8064
  renameSubcommand,
7712
- removeSubcommand12,
8065
+ removeSubcommand11,
7713
8066
  tokenSubcommand2
7714
8067
  ],
7715
8068
  options: [],
@@ -8013,7 +8366,7 @@ var uploadSubcommand = {
8013
8366
  }
8014
8367
  ]
8015
8368
  };
8016
- var removeSubcommand13 = {
8369
+ var removeSubcommand12 = {
8017
8370
  name: "remove",
8018
8371
  aliases: ["rm"],
8019
8372
  description: "Remove a redirect",
@@ -8092,7 +8445,7 @@ var redirectsCommand = {
8092
8445
  listVersionsSubcommand,
8093
8446
  addSubcommand9,
8094
8447
  uploadSubcommand,
8095
- removeSubcommand13,
8448
+ removeSubcommand12,
8096
8449
  promoteSubcommand,
8097
8450
  restoreSubcommand
8098
8451
  ],
@@ -8569,6 +8922,7 @@ var listSubcommand16 = {
8569
8922
  arguments: [],
8570
8923
  options: [
8571
8924
  nextOption,
8925
+ limitOption,
8572
8926
  formatOption,
8573
8927
  { name: "since", shorthand: null, type: String, deprecated: true },
8574
8928
  { name: "until", shorthand: null, type: String, deprecated: true },
@@ -8645,7 +8999,7 @@ var membersSubcommand2 = {
8645
8999
  aliases: ["member"],
8646
9000
  description: "List members for the currently scoped team",
8647
9001
  arguments: [],
8648
- options: [nextOption, formatOption],
9002
+ options: [nextOption, limitOption, formatOption],
8649
9003
  examples: [
8650
9004
  {
8651
9005
  name: "List team members",
@@ -8727,7 +9081,7 @@ var addSubcommand11 = {
8727
9081
  }
8728
9082
  ]
8729
9083
  };
8730
- var removeSubcommand14 = {
9084
+ var removeSubcommand13 = {
8731
9085
  name: "remove",
8732
9086
  aliases: ["rm", "delete"],
8733
9087
  description: "Delete a personal authentication token by ID",
@@ -8750,7 +9104,7 @@ var tokensCommand = {
8750
9104
  aliases: [],
8751
9105
  description: "Manage your personal Vercel authentication tokens",
8752
9106
  arguments: [],
8753
- subcommands: [addSubcommand11, listSubcommand17, removeSubcommand14],
9107
+ subcommands: [addSubcommand11, listSubcommand17, removeSubcommand13],
8754
9108
  options: [],
8755
9109
  examples: []
8756
9110
  };
@@ -9710,7 +10064,7 @@ var createSubcommand6 = {
9710
10064
  }
9711
10065
  ]
9712
10066
  };
9713
- var removeSubcommand15 = {
10067
+ var removeSubcommand14 = {
9714
10068
  name: "remove",
9715
10069
  aliases: ["rm", "delete"],
9716
10070
  description: "Remove a webhook",
@@ -9737,7 +10091,7 @@ var webhooksCommand = {
9737
10091
  listSubcommand19,
9738
10092
  getSubcommand4,
9739
10093
  createSubcommand6,
9740
- removeSubcommand15
10094
+ removeSubcommand14
9741
10095
  ],
9742
10096
  options: [],
9743
10097
  examples: []
@@ -9784,7 +10138,6 @@ var commandsStructs = [
9784
10138
  logsCommand,
9785
10139
  mcpCommand,
9786
10140
  microfrontendsCommand,
9787
- oauthAppsCommand,
9788
10141
  openCommand,
9789
10142
  projectCommand,
9790
10143
  promoteCommand,
@@ -9848,6 +10201,11 @@ export {
9848
10201
  rulesEditSubcommand,
9849
10202
  rulesRemoveSubcommand,
9850
10203
  rulesSubcommand,
10204
+ setupSubcommand,
10205
+ codingAgentsSubcommand,
10206
+ modelsListSubcommand,
10207
+ modelsEndpointsSubcommand,
10208
+ modelsSubcommand,
9851
10209
  aiGatewayCommand,
9852
10210
  setSubcommand,
9853
10211
  listSubcommand2,
@@ -9964,6 +10322,12 @@ export {
9964
10322
  setSubcommand2,
9965
10323
  splitSubcommand,
9966
10324
  rolloutSubcommand,
10325
+ rulesListSubcommand3,
10326
+ rulesAddSubcommand3,
10327
+ rulesUpdateSubcommand,
10328
+ rulesRemoveSubcommand3,
10329
+ rulesMoveSubcommand,
10330
+ rulesSubcommand3,
9967
10331
  removeSubcommand8,
9968
10332
  archiveSubcommand,
9969
10333
  disableSubcommand,
@@ -9996,6 +10360,7 @@ export {
9996
10360
  connectSubcommand2,
9997
10361
  createThresholdSubcommand,
9998
10362
  claimSubcommand,
10363
+ inspectSubcommand4,
9999
10364
  integrationResourceCommand,
10000
10365
  addSubcommand7 as addSubcommand6,
10001
10366
  acceptTermsSubcommand,
@@ -10025,20 +10390,14 @@ export {
10025
10390
  pullSubcommand,
10026
10391
  inspectGroupSubcommand,
10027
10392
  microfrontendsCommand,
10028
- listRequestsSubcommand,
10029
- registerSubcommand,
10030
- dismissSubcommand,
10031
- installSubcommand,
10032
- removeSubcommand11,
10033
- oauthAppsCommand,
10034
10393
  openCommand,
10035
10394
  addSubcommand8,
10036
10395
  checksAddFlags,
10037
10396
  checksRemoveFlags,
10038
10397
  checksSubcommand,
10039
- inspectSubcommand4,
10398
+ inspectSubcommand5,
10040
10399
  listSubcommand13,
10041
- removeSubcommand12,
10400
+ removeSubcommand11,
10042
10401
  renameSubcommand,
10043
10402
  updateSubcommand5,
10044
10403
  tokenSubcommand2,
@@ -10056,7 +10415,7 @@ export {
10056
10415
  listVersionsSubcommand,
10057
10416
  addSubcommand9,
10058
10417
  uploadSubcommand,
10059
- removeSubcommand13,
10418
+ removeSubcommand12,
10060
10419
  promoteSubcommand,
10061
10420
  restoreSubcommand,
10062
10421
  redirectsCommand,
@@ -10083,7 +10442,7 @@ export {
10083
10442
  teamsCommand,
10084
10443
  listSubcommand17,
10085
10444
  addSubcommand11,
10086
- removeSubcommand14,
10445
+ removeSubcommand13,
10087
10446
  tokensCommand,
10088
10447
  statusSubcommand4,
10089
10448
  enableSubcommand3,
@@ -10112,7 +10471,7 @@ export {
10112
10471
  listSubcommand19,
10113
10472
  getSubcommand4,
10114
10473
  createSubcommand6,
10115
- removeSubcommand15,
10474
+ removeSubcommand14,
10116
10475
  webhooksCommand,
10117
10476
  getCommandAliases,
10118
10477
  commands,