vercel 54.21.0 → 55.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 (84) hide show
  1. package/dist/chunks/{add-KZSG7SVG.js → add-BQGGX36J.js} +8 -8
  2. package/dist/chunks/{add-UDJ45UVF.js → add-YRFK663I.js} +7 -7
  3. package/dist/chunks/{chunk-OGJB2GHI.js → chunk-22GUZ5KG.js} +1 -1
  4. package/dist/chunks/{chunk-DDS5Z2MB.js → chunk-2QBF3ZL3.js} +1 -0
  5. package/dist/chunks/{chunk-KGPSD6TA.js → chunk-2XTV2FM7.js} +100 -36
  6. package/dist/chunks/{chunk-ULKM3ZD4.js → chunk-4RGSUV5C.js} +2 -2
  7. package/dist/chunks/{chunk-UJ5UEAMC.js → chunk-5AJNUXWP.js} +1 -1
  8. package/dist/chunks/{chunk-KXGWAWRV.js → chunk-5OT26JZN.js} +35 -3
  9. package/dist/chunks/{chunk-JAUGUJR3.js → chunk-6CRRXESK.js} +1 -1
  10. package/dist/chunks/{chunk-RY3AVR6E.js → chunk-7C7MMT4J.js} +1 -1
  11. package/dist/chunks/chunk-7PZWVZN6.js +105 -0
  12. package/dist/chunks/{chunk-D2M77YVC.js → chunk-7S3QUMIG.js} +2 -2
  13. package/dist/chunks/{chunk-TYXSXFVM.js → chunk-A5QK4X3Z.js} +6 -6
  14. package/dist/chunks/{chunk-6SVPJXCO.js → chunk-AA3E7OLF.js} +30 -3
  15. package/dist/chunks/{chunk-VFXF4O4X.js → chunk-AW6V5LOC.js} +3 -3
  16. package/dist/chunks/{chunk-I3HGCZ4E.js → chunk-CMJMYVQM.js} +1 -0
  17. package/dist/chunks/{chunk-SCQAJO6E.js → chunk-D43MOSMZ.js} +425 -22
  18. package/dist/chunks/{chunk-EJ6GQI6F.js → chunk-EHTPDXTS.js} +1 -0
  19. package/dist/chunks/{chunk-JIX2UI23.js → chunk-EJV2KFOF.js} +3 -3
  20. package/dist/chunks/{chunk-FCYCUCLI.js → chunk-EUARKVCA.js} +83 -20
  21. package/dist/chunks/{chunk-HAZXLIKZ.js → chunk-GVZKC6PS.js} +1 -1
  22. package/dist/chunks/{chunk-FNRZFHFO.js → chunk-HA7C7SDO.js} +3 -1
  23. package/dist/chunks/{chunk-KS5FONWU.js → chunk-HOYOJUQZ.js} +70 -17
  24. package/dist/chunks/{chunk-DFEUWDGM.js → chunk-IDMKFYEA.js} +1 -1
  25. package/dist/chunks/{chunk-S2N7BLSM.js → chunk-IIUE7CDZ.js} +2 -2
  26. package/dist/chunks/{chunk-MAJWH2PD.js → chunk-JJWESW5Y.js} +1 -1
  27. package/dist/chunks/{chunk-DBA4N3OZ.js → chunk-LHY5EFII.js} +2 -2
  28. package/dist/chunks/{chunk-BEETD7P4.js → chunk-MGUQN3V3.js} +3 -3
  29. package/dist/chunks/{chunk-LVR7QUSG.js → chunk-OCEM4YAQ.js} +1 -1
  30. package/dist/chunks/{chunk-UDIFOPZL.js → chunk-OKWMOW2F.js} +354 -404
  31. package/dist/chunks/{chunk-VKBYAWTL.js → chunk-QEEGXNFK.js} +1 -1
  32. package/dist/chunks/{chunk-EFUR47FZ.js → chunk-QKR7GNAK.js} +1 -1
  33. package/dist/chunks/{chunk-YSIZGIDP.js → chunk-QY63UKTP.js} +2 -2
  34. package/dist/chunks/{chunk-AUECDTMX.js → chunk-RLJA2KI7.js} +1 -1
  35. package/dist/chunks/{chunk-DJ4JEVDI.js → chunk-SENGDDFO.js} +1 -1
  36. package/dist/chunks/{chunk-VDTSYCXY.js → chunk-VTA3KZUX.js} +3 -3
  37. package/dist/chunks/chunk-WGGABYO5.js +31 -0
  38. package/dist/chunks/{chunk-6W7I5IOO.js → chunk-X36ADWA5.js} +51 -9
  39. package/dist/chunks/{chunk-IR674PKY.js → chunk-XHC5YRFY.js} +451 -274
  40. package/dist/chunks/{chunk-BLWPQEED.js → chunk-ZQEZYHPJ.js} +8 -6
  41. package/dist/chunks/{compile-vercel-config-DY63NSZV.js → compile-vercel-config-3RYUGKGU.js} +3 -3
  42. package/dist/chunks/{delete-WVLC7FLA.js → delete-UQKVMHVV.js} +5 -5
  43. package/dist/chunks/{disable-VLYKCAM5.js → disable-GUK4VHQY.js} +5 -5
  44. package/dist/chunks/{discard-GGNJLKTH.js → discard-DTI36R2T.js} +5 -5
  45. package/dist/chunks/{edit-ZU5K7DM3.js → edit-ED4LM54G.js} +6 -6
  46. package/dist/chunks/{enable-G3MUGP3W.js → enable-RAWDG7GZ.js} +5 -5
  47. package/dist/chunks/{exec-UKMIYIF6.js → exec-G4AUF3KG.js} +4 -90
  48. package/dist/chunks/{export-QHSB2FON.js → export-U6OBSYVP.js} +5 -5
  49. package/dist/chunks/{image-CWHCW3N5.js → image-LIJI6QJY.js} +4 -4
  50. package/dist/chunks/{inspect-OVAC6PJK.js → inspect-25D5G5FX.js} +11 -11
  51. package/dist/chunks/{inspect-W6RHYESL.js → inspect-3SEYQNWT.js} +11 -11
  52. package/dist/chunks/{inspect-QJSREPM3.js → inspect-7LGTAPH3.js} +7 -7
  53. package/dist/chunks/{inspect-HFCKYQQ3.js → inspect-IQD2ULLP.js} +11 -11
  54. package/dist/chunks/{list-2XYQW3YA.js → list-2IJHE2AC.js} +8 -8
  55. package/dist/chunks/{list-R37YS5CX.js → list-I25HBKWF.js} +5 -5
  56. package/dist/chunks/login-N4DIZZWE.js +247 -0
  57. package/dist/chunks/{ls-HKVAT223.js → ls-2VXZPNMR.js} +12 -12
  58. package/dist/chunks/{ls-X7Y37IPT.js → ls-HN3SUOPA.js} +7 -7
  59. package/dist/chunks/{ls-7JNUKRV2.js → ls-S7YPR3OS.js} +11 -11
  60. package/dist/chunks/{ls-JJXUYZU7.js → ls-TFOKQKY3.js} +11 -11
  61. package/dist/chunks/{publish-MYVZ4UTW.js → publish-ZTGB4XE2.js} +5 -5
  62. package/dist/chunks/{query-ZH2YJPAC.js → query-2UK5BV4B.js} +6 -6
  63. package/dist/chunks/{reorder-VY53EYZJ.js → reorder-FM755TJK.js} +5 -5
  64. package/dist/chunks/{restore-F2AEG3WO.js → restore-NXQJMPMT.js} +5 -5
  65. package/dist/chunks/{rm-T6Z6WZZN.js → rm-III6VASE.js} +8 -8
  66. package/dist/chunks/{rm-VUL4FHMX.js → rm-MPC5DPOS.js} +7 -7
  67. package/dist/chunks/{rm-IDSOMXQR.js → rm-XJMPAJNP.js} +6 -6
  68. package/dist/chunks/{rule-inspect-ELB7P5YA.js → rule-inspect-BJGXMAO5.js} +7 -7
  69. package/dist/chunks/{rules-XR6U5U7F.js → rules-FSNWMWJH.js} +9 -9
  70. package/dist/chunks/{schema-WKPB25ZF.js → schema-NR6DGYCB.js} +7 -7
  71. package/dist/chunks/{tags-NSWTVGHE.js → tags-RVHMONZN.js} +3 -3
  72. package/dist/chunks/{types-EQD5UZOH.js → types-2TPA6J4G.js} +3 -3
  73. package/dist/chunks/{update-H4Q24DK4.js → update-55OM2454.js} +7 -7
  74. package/dist/commands/build/index.js +51 -13
  75. package/dist/commands/deploy/index.js +33 -55
  76. package/dist/commands/dev/index.js +205 -62
  77. package/dist/commands/env/index.js +19 -19
  78. package/dist/commands/link/index.js +42 -25
  79. package/dist/commands/list/index.js +29 -14
  80. package/dist/commands-bulk.js +3869 -2022
  81. package/dist/index.js +24 -24
  82. package/dist/version.mjs +1 -1
  83. package/package.json +21 -21
  84. package/dist/chunks/chunk-Y4JJYHUG.js +0 -16
@@ -6,32 +6,32 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  vcrCommand
9
- } from "./chunk-KXGWAWRV.js";
9
+ } from "./chunk-5OT26JZN.js";
10
10
  import {
11
11
  metricsCommand
12
- } from "./chunk-MAJWH2PD.js";
12
+ } from "./chunk-JJWESW5Y.js";
13
13
  import {
14
14
  routesCommand
15
- } from "./chunk-EFUR47FZ.js";
15
+ } from "./chunk-QKR7GNAK.js";
16
16
  import {
17
17
  activityCommand
18
- } from "./chunk-UJ5UEAMC.js";
18
+ } from "./chunk-5AJNUXWP.js";
19
19
  import {
20
20
  alertsCommand
21
- } from "./chunk-D2M77YVC.js";
21
+ } from "./chunk-7S3QUMIG.js";
22
22
  import {
23
23
  devCommand
24
- } from "./chunk-DFEUWDGM.js";
24
+ } from "./chunk-IDMKFYEA.js";
25
25
  import {
26
26
  listCommand
27
- } from "./chunk-FNRZFHFO.js";
27
+ } from "./chunk-HA7C7SDO.js";
28
28
  import {
29
29
  buildCommand,
30
30
  pullCommand
31
- } from "./chunk-S2N7BLSM.js";
31
+ } from "./chunk-IIUE7CDZ.js";
32
32
  import {
33
33
  envCommand
34
- } from "./chunk-IR674PKY.js";
34
+ } from "./chunk-XHC5YRFY.js";
35
35
  import {
36
36
  confirmOption,
37
37
  deploymentOption,
@@ -43,7 +43,7 @@ import {
43
43
  projectOption,
44
44
  protectionBypassOption,
45
45
  yesOption
46
- } from "./chunk-EJ6GQI6F.js";
46
+ } from "./chunk-EHTPDXTS.js";
47
47
  import {
48
48
  packageName
49
49
  } from "./chunk-P6AK7SVK.js";
@@ -913,12 +913,47 @@ var rulesSubcommand = {
913
913
  options: [],
914
914
  examples: []
915
915
  };
916
+ var modelsListSubcommand = {
917
+ name: "list",
918
+ aliases: ["ls"],
919
+ description: "List AI Gateway models",
920
+ arguments: [],
921
+ options: [formatOption],
922
+ examples: [
923
+ {
924
+ name: "List available models",
925
+ value: `${packageName} ai-gateway models ls`
926
+ }
927
+ ]
928
+ };
929
+ var modelsEndpointsSubcommand = {
930
+ name: "endpoints",
931
+ aliases: [],
932
+ description: "List provider endpoints for an AI Gateway model",
933
+ arguments: [{ name: "model", required: true }],
934
+ options: [formatOption],
935
+ examples: [
936
+ {
937
+ name: "List provider endpoints for a model",
938
+ value: `${packageName} ai-gateway models endpoints anthropic/claude-opus-4.8`
939
+ }
940
+ ]
941
+ };
942
+ var modelsSubcommand = {
943
+ name: "models",
944
+ aliases: [],
945
+ description: "Manage AI Gateway models",
946
+ arguments: [],
947
+ subcommands: [modelsListSubcommand, modelsEndpointsSubcommand],
948
+ options: [],
949
+ examples: []
950
+ };
916
951
  var aiGatewayCommand = {
917
952
  name: "ai-gateway",
918
953
  aliases: [],
919
954
  description: "Manage AI Gateway resources",
920
955
  arguments: [],
921
- subcommands: [apiKeysSubcommand, rulesSubcommand],
956
+ subcommands: [apiKeysSubcommand, rulesSubcommand, modelsSubcommand],
922
957
  options: [],
923
958
  examples: []
924
959
  };
@@ -1414,6 +1449,7 @@ var purgeSubcommand = {
1414
1449
  arguments: [],
1415
1450
  options: [
1416
1451
  yesOption,
1452
+ projectOption,
1417
1453
  {
1418
1454
  name: "type",
1419
1455
  description: "Type of cache to purge",
@@ -1445,6 +1481,7 @@ var invalidateSubcommand = {
1445
1481
  arguments: [],
1446
1482
  options: [
1447
1483
  yesOption,
1484
+ projectOption,
1448
1485
  {
1449
1486
  name: "tag",
1450
1487
  description: "Tags to invalidate (comma-separated)",
@@ -1484,6 +1521,7 @@ var dangerouslyDeleteSubcommand = {
1484
1521
  arguments: [],
1485
1522
  options: [
1486
1523
  yesOption,
1524
+ projectOption,
1487
1525
  {
1488
1526
  name: "tag",
1489
1527
  description: "Tags to delete (comma-separated)",
@@ -2351,7 +2389,7 @@ var listSubcommand6 = {
2351
2389
  description: "List all cron jobs for a project",
2352
2390
  default: true,
2353
2391
  arguments: [],
2354
- options: [formatOption],
2392
+ options: [formatOption, projectOption],
2355
2393
  examples: [
2356
2394
  {
2357
2395
  name: "List all cron jobs",
@@ -2373,7 +2411,7 @@ var runSubcommand = {
2373
2411
  required: false
2374
2412
  }
2375
2413
  ],
2376
- options: [],
2414
+ options: [projectOption],
2377
2415
  examples: [
2378
2416
  {
2379
2417
  name: "Trigger a specific cron job",
@@ -4180,6 +4218,7 @@ var listSubcommand11 = {
4180
4218
  default: true,
4181
4219
  arguments: [],
4182
4220
  options: [
4221
+ projectOption,
4183
4222
  {
4184
4223
  name: "state",
4185
4224
  shorthand: "s",
@@ -4273,7 +4312,7 @@ var inspectSubcommand3 = {
4273
4312
  required: true
4274
4313
  }
4275
4314
  ],
4276
- options: [],
4315
+ options: [projectOption],
4277
4316
  examples: [
4278
4317
  {
4279
4318
  name: "Show details of a feature flag",
@@ -4292,6 +4331,7 @@ var createSubcommand4 = {
4292
4331
  }
4293
4332
  ],
4294
4333
  options: [
4334
+ projectOption,
4295
4335
  {
4296
4336
  name: "kind",
4297
4337
  shorthand: "k",
@@ -4346,7 +4386,7 @@ var openSubcommand2 = {
4346
4386
  required: false
4347
4387
  }
4348
4388
  ],
4349
- options: [],
4389
+ options: [projectOption],
4350
4390
  examples: [
4351
4391
  {
4352
4392
  name: "Open the project feature flags dashboard",
@@ -4369,6 +4409,7 @@ var updateSubcommand3 = {
4369
4409
  }
4370
4410
  ],
4371
4411
  options: [
4412
+ projectOption,
4372
4413
  {
4373
4414
  name: "variant",
4374
4415
  shorthand: "v",
@@ -4428,6 +4469,7 @@ var setSubcommand2 = {
4428
4469
  }
4429
4470
  ],
4430
4471
  options: [
4472
+ projectOption,
4431
4473
  {
4432
4474
  name: "environment",
4433
4475
  shorthand: "e",
@@ -4479,6 +4521,7 @@ var splitSubcommand = {
4479
4521
  }
4480
4522
  ],
4481
4523
  options: [
4524
+ projectOption,
4482
4525
  {
4483
4526
  name: "environment",
4484
4527
  shorthand: "e",
@@ -4546,6 +4589,7 @@ var rolloutSubcommand = {
4546
4589
  }
4547
4590
  ],
4548
4591
  options: [
4592
+ projectOption,
4549
4593
  {
4550
4594
  name: "environment",
4551
4595
  shorthand: "e",
@@ -4626,6 +4670,304 @@ var rolloutSubcommand = {
4626
4670
  }
4627
4671
  ]
4628
4672
  };
4673
+ var ruleConditionDescription = `Rule condition as ENTITY.ATTRIBUTE:OPERATOR:VALUE or segment:OPERATOR:SEGMENT. Repeatable; semicolon-separated conditions are also supported. ${segmentRuleOperatorDescription}`;
4674
+ var ruleOutcomeOptions = [
4675
+ {
4676
+ name: "variant",
4677
+ shorthand: "v",
4678
+ type: String,
4679
+ deprecated: false,
4680
+ description: "Variant ID or value to serve when the rule matches",
4681
+ argument: "VARIANT"
4682
+ },
4683
+ {
4684
+ name: "by",
4685
+ shorthand: null,
4686
+ type: String,
4687
+ deprecated: false,
4688
+ description: "Entity attribute used for split or rollout bucketing, in the form entity.attribute",
4689
+ argument: "ENTITY.ATTRIBUTE"
4690
+ },
4691
+ {
4692
+ name: "weight",
4693
+ shorthand: "w",
4694
+ type: [String],
4695
+ deprecated: false,
4696
+ description: "Split weight ratio as VARIANT=WEIGHT. Repeat for each variant.",
4697
+ argument: "VARIANT=WEIGHT"
4698
+ },
4699
+ {
4700
+ name: "default-variant",
4701
+ shorthand: null,
4702
+ type: String,
4703
+ deprecated: false,
4704
+ description: "Fallback variant for split or rollout outcomes when the bucketing attribute is unavailable",
4705
+ argument: "VARIANT"
4706
+ },
4707
+ {
4708
+ name: "from-variant",
4709
+ shorthand: null,
4710
+ type: String,
4711
+ deprecated: false,
4712
+ description: "Variant to roll away from for rollout outcomes",
4713
+ argument: "VARIANT"
4714
+ },
4715
+ {
4716
+ name: "to-variant",
4717
+ shorthand: null,
4718
+ type: String,
4719
+ deprecated: false,
4720
+ description: "Variant to roll towards for rollout outcomes",
4721
+ argument: "VARIANT"
4722
+ },
4723
+ {
4724
+ name: "stage",
4725
+ shorthand: "s",
4726
+ type: [String],
4727
+ deprecated: false,
4728
+ description: "Add a rollout stage as PERCENTAGE,DURATION. Can be specified multiple times.",
4729
+ argument: "PERCENTAGE,DURATION"
4730
+ },
4731
+ {
4732
+ name: "start",
4733
+ shorthand: null,
4734
+ type: String,
4735
+ deprecated: false,
4736
+ description: 'When the rollout should start: "now", a relative time like "1h", or an ISO 8601 datetime',
4737
+ argument: "TIME"
4738
+ }
4739
+ ];
4740
+ var ruleMessageOption = {
4741
+ name: "message",
4742
+ shorthand: null,
4743
+ type: String,
4744
+ deprecated: false,
4745
+ description: "Optional revision message for the update",
4746
+ argument: "TEXT"
4747
+ };
4748
+ var rulesListSubcommand3 = {
4749
+ name: "list",
4750
+ aliases: ["ls"],
4751
+ description: "List conditional rules for a feature flag environment",
4752
+ arguments: [
4753
+ {
4754
+ name: "flag",
4755
+ required: true
4756
+ }
4757
+ ],
4758
+ options: [
4759
+ {
4760
+ name: "environment",
4761
+ shorthand: "e",
4762
+ type: String,
4763
+ deprecated: false,
4764
+ description: "The environment to list rules for (production, preview, or development)",
4765
+ argument: "ENV"
4766
+ },
4767
+ {
4768
+ name: "json",
4769
+ shorthand: null,
4770
+ type: Boolean,
4771
+ deprecated: false,
4772
+ description: "Output in JSON format"
4773
+ }
4774
+ ],
4775
+ examples: [
4776
+ {
4777
+ name: "List production rules for a flag",
4778
+ value: `${packageName} flags rules ls my-feature --environment production`
4779
+ },
4780
+ {
4781
+ name: "List rules as JSON",
4782
+ value: `${packageName} flags rules ls my-feature -e production --json`
4783
+ }
4784
+ ]
4785
+ };
4786
+ var rulesAddSubcommand3 = {
4787
+ name: "add",
4788
+ aliases: [],
4789
+ description: "Add a conditional rule to a feature flag environment",
4790
+ arguments: [
4791
+ {
4792
+ name: "flag",
4793
+ required: true
4794
+ }
4795
+ ],
4796
+ options: [
4797
+ {
4798
+ name: "environment",
4799
+ shorthand: "e",
4800
+ type: String,
4801
+ deprecated: false,
4802
+ description: "The environment to add the rule to (production, preview, or development)",
4803
+ argument: "ENV"
4804
+ },
4805
+ {
4806
+ name: "condition",
4807
+ shorthand: "c",
4808
+ type: [String],
4809
+ deprecated: false,
4810
+ description: ruleConditionDescription,
4811
+ argument: "CONDITION"
4812
+ },
4813
+ ...ruleOutcomeOptions,
4814
+ {
4815
+ name: "position",
4816
+ shorthand: "p",
4817
+ type: Number,
4818
+ deprecated: false,
4819
+ description: "1-based position for the new rule (defaults to last)",
4820
+ argument: "N"
4821
+ },
4822
+ ruleMessageOption
4823
+ ],
4824
+ examples: [
4825
+ {
4826
+ name: "Add a variant rule",
4827
+ value: `${packageName} flags rules add my-feature --environment production --condition user.plan:eq:pro --variant on`
4828
+ },
4829
+ {
4830
+ name: "Add a segment rule",
4831
+ value: `${packageName} flags rules add my-feature -e production --condition segment:eq:seg_beta123 --variant on`
4832
+ },
4833
+ {
4834
+ name: "Add a split rule at the top",
4835
+ 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`
4836
+ }
4837
+ ]
4838
+ };
4839
+ var rulesUpdateSubcommand = {
4840
+ name: "update",
4841
+ aliases: [],
4842
+ description: "Update a conditional rule in a feature flag environment",
4843
+ arguments: [
4844
+ {
4845
+ name: "flag",
4846
+ required: true
4847
+ },
4848
+ {
4849
+ name: "rule",
4850
+ required: true
4851
+ }
4852
+ ],
4853
+ options: [
4854
+ {
4855
+ name: "environment",
4856
+ shorthand: "e",
4857
+ type: String,
4858
+ deprecated: false,
4859
+ description: "The environment containing the rule (production, preview, or development)",
4860
+ argument: "ENV"
4861
+ },
4862
+ {
4863
+ name: "condition",
4864
+ shorthand: "c",
4865
+ type: [String],
4866
+ deprecated: false,
4867
+ description: "Replace rule conditions. " + ruleConditionDescription,
4868
+ argument: "CONDITION"
4869
+ },
4870
+ ...ruleOutcomeOptions,
4871
+ ruleMessageOption
4872
+ ],
4873
+ examples: [
4874
+ {
4875
+ name: "Replace rule conditions",
4876
+ value: `${packageName} flags rules update my-feature rule_123 --environment production --condition user.plan:eq:enterprise`
4877
+ },
4878
+ {
4879
+ name: "Update a rule outcome",
4880
+ value: `${packageName} flags rules update my-feature rule_123 -e production --variant off`
4881
+ }
4882
+ ]
4883
+ };
4884
+ var rulesRemoveSubcommand3 = {
4885
+ name: "remove",
4886
+ aliases: ["rm"],
4887
+ description: "Remove a conditional rule from a feature flag environment",
4888
+ arguments: [
4889
+ {
4890
+ name: "flag",
4891
+ required: true
4892
+ },
4893
+ {
4894
+ name: "rule",
4895
+ required: true
4896
+ }
4897
+ ],
4898
+ options: [
4899
+ {
4900
+ name: "environment",
4901
+ shorthand: "e",
4902
+ type: String,
4903
+ deprecated: false,
4904
+ description: "The environment containing the rule (production, preview, or development)",
4905
+ argument: "ENV"
4906
+ },
4907
+ ruleMessageOption
4908
+ ],
4909
+ examples: [
4910
+ {
4911
+ name: "Remove a rule",
4912
+ value: `${packageName} flags rules rm my-feature rule_123 --environment production`
4913
+ }
4914
+ ]
4915
+ };
4916
+ var rulesMoveSubcommand = {
4917
+ name: "move",
4918
+ aliases: [],
4919
+ description: "Move a conditional rule within a feature flag environment",
4920
+ arguments: [
4921
+ {
4922
+ name: "flag",
4923
+ required: true
4924
+ },
4925
+ {
4926
+ name: "rule",
4927
+ required: true
4928
+ }
4929
+ ],
4930
+ options: [
4931
+ {
4932
+ name: "environment",
4933
+ shorthand: "e",
4934
+ type: String,
4935
+ deprecated: false,
4936
+ description: "The environment containing the rule (production, preview, or development)",
4937
+ argument: "ENV"
4938
+ },
4939
+ {
4940
+ name: "position",
4941
+ shorthand: "p",
4942
+ type: Number,
4943
+ deprecated: false,
4944
+ description: "1-based destination position for the rule",
4945
+ argument: "N"
4946
+ },
4947
+ ruleMessageOption
4948
+ ],
4949
+ examples: [
4950
+ {
4951
+ name: "Move a rule to the top",
4952
+ value: `${packageName} flags rules move my-feature rule_123 --environment production --position 1`
4953
+ }
4954
+ ]
4955
+ };
4956
+ var rulesSubcommand3 = {
4957
+ name: "rules",
4958
+ aliases: [],
4959
+ description: "Manage conditional rules for feature flags",
4960
+ arguments: [],
4961
+ subcommands: [
4962
+ rulesListSubcommand3,
4963
+ rulesAddSubcommand3,
4964
+ rulesUpdateSubcommand,
4965
+ rulesRemoveSubcommand3,
4966
+ rulesMoveSubcommand
4967
+ ],
4968
+ options: [],
4969
+ examples: []
4970
+ };
4629
4971
  var removeSubcommand8 = {
4630
4972
  name: "remove",
4631
4973
  aliases: ["rm"],
@@ -4637,6 +4979,7 @@ var removeSubcommand8 = {
4637
4979
  }
4638
4980
  ],
4639
4981
  options: [
4982
+ projectOption,
4640
4983
  {
4641
4984
  ...yesOption,
4642
4985
  description: "Skip the confirmation prompt when deleting a flag"
@@ -4664,6 +5007,7 @@ var archiveSubcommand = {
4664
5007
  }
4665
5008
  ],
4666
5009
  options: [
5010
+ projectOption,
4667
5011
  {
4668
5012
  ...yesOption,
4669
5013
  description: "Skip the confirmation prompt when archiving a flag"
@@ -4691,6 +5035,7 @@ var disableSubcommand = {
4691
5035
  }
4692
5036
  ],
4693
5037
  options: [
5038
+ projectOption,
4694
5039
  {
4695
5040
  name: "environment",
4696
5041
  shorthand: "e",
@@ -4742,6 +5087,7 @@ var enableSubcommand = {
4742
5087
  }
4743
5088
  ],
4744
5089
  options: [
5090
+ projectOption,
4745
5091
  {
4746
5092
  name: "environment",
4747
5093
  shorthand: "e",
@@ -4776,6 +5122,7 @@ var segmentsListSubcommand = {
4776
5122
  description: "List all feature flag segments for the current project",
4777
5123
  arguments: [],
4778
5124
  options: [
5125
+ projectOption,
4779
5126
  {
4780
5127
  name: "json",
4781
5128
  shorthand: null,
@@ -4806,6 +5153,7 @@ var segmentsInspectSubcommand = {
4806
5153
  }
4807
5154
  ],
4808
5155
  options: [
5156
+ projectOption,
4809
5157
  {
4810
5158
  name: "json",
4811
5159
  shorthand: null,
@@ -4836,6 +5184,7 @@ var segmentsCreateSubcommand = {
4836
5184
  }
4837
5185
  ],
4838
5186
  options: [
5187
+ projectOption,
4839
5188
  {
4840
5189
  name: "label",
4841
5190
  shorthand: "l",
@@ -4910,6 +5259,7 @@ var segmentsUpdateSubcommand = {
4910
5259
  }
4911
5260
  ],
4912
5261
  options: [
5262
+ projectOption,
4913
5263
  {
4914
5264
  name: "label",
4915
5265
  shorthand: "l",
@@ -4992,6 +5342,7 @@ var segmentsRemoveSubcommand = {
4992
5342
  }
4993
5343
  ],
4994
5344
  options: [
5345
+ projectOption,
4995
5346
  {
4996
5347
  ...yesOption,
4997
5348
  description: "Skip the confirmation prompt when deleting a segment"
@@ -5029,6 +5380,7 @@ var sdkKeysListSubcommand = {
5029
5380
  description: "List all SDK keys for the current project",
5030
5381
  arguments: [],
5031
5382
  options: [
5383
+ projectOption,
5032
5384
  {
5033
5385
  name: "json",
5034
5386
  shorthand: null,
@@ -5054,6 +5406,7 @@ var sdkKeysAddSubcommand = {
5054
5406
  description: "Create a new SDK key",
5055
5407
  arguments: [],
5056
5408
  options: [
5409
+ projectOption,
5057
5410
  {
5058
5411
  name: "type",
5059
5412
  // No shorthand: `-t` is already used globally for `--token`
@@ -5102,6 +5455,7 @@ var sdkKeysRemoveSubcommand = {
5102
5455
  }
5103
5456
  ],
5104
5457
  options: [
5458
+ projectOption,
5105
5459
  {
5106
5460
  ...yesOption,
5107
5461
  description: "Skip the confirmation prompt when deleting an SDK key"
@@ -5200,6 +5554,7 @@ var flagsCommand = {
5200
5554
  archiveSubcommand,
5201
5555
  disableSubcommand,
5202
5556
  enableSubcommand,
5557
+ rulesSubcommand3,
5203
5558
  segmentsSubcommand,
5204
5559
  sdkKeysSubcommand,
5205
5560
  prepareSubcommand,
@@ -5708,6 +6063,35 @@ var claimSubcommand = {
5708
6063
  }
5709
6064
  ]
5710
6065
  };
6066
+ var inspectSubcommand4 = {
6067
+ name: "inspect",
6068
+ aliases: ["status"],
6069
+ description: "Show live details and status for a marketplace integration resource, fetched fresh from the provider",
6070
+ arguments: [
6071
+ {
6072
+ name: "resource",
6073
+ required: true
6074
+ }
6075
+ ],
6076
+ options: [formatOption],
6077
+ examples: [
6078
+ {
6079
+ name: "Show live details and status for a resource",
6080
+ value: [
6081
+ `${packageName} integration resource inspect <resource>`,
6082
+ `${packageName} integration resource inspect my-acme-resource`
6083
+ ]
6084
+ },
6085
+ {
6086
+ name: "Show live status for a resource (alias)",
6087
+ value: `${packageName} integration resource status my-acme-resource`
6088
+ },
6089
+ {
6090
+ name: "Output as JSON",
6091
+ value: `${packageName} integration resource inspect my-acme-resource --format=json`
6092
+ }
6093
+ ]
6094
+ };
5711
6095
  var integrationResourceCommand = {
5712
6096
  name: "integration-resource",
5713
6097
  aliases: ["ir"],
@@ -5719,7 +6103,8 @@ var integrationResourceCommand = {
5719
6103
  createThresholdSubcommand,
5720
6104
  disconnectSubcommand2,
5721
6105
  removeSubcommand9,
5722
- claimSubcommand
6106
+ claimSubcommand,
6107
+ inspectSubcommand4
5723
6108
  ],
5724
6109
  examples: []
5725
6110
  };
@@ -6310,7 +6695,8 @@ var resourceSubcommand = {
6310
6695
  createThresholdSubcommand,
6311
6696
  disconnectSubcommand2,
6312
6697
  removeSubcommand9,
6313
- claimSubcommand
6698
+ claimSubcommand,
6699
+ inspectSubcommand4
6314
6700
  ],
6315
6701
  examples: [
6316
6702
  {
@@ -7179,7 +7565,7 @@ var checksSubcommand = {
7179
7565
  }
7180
7566
  ]
7181
7567
  };
7182
- var inspectSubcommand4 = {
7568
+ var inspectSubcommand5 = {
7183
7569
  name: "inspect",
7184
7570
  aliases: [],
7185
7571
  description: "Displays information related to a project",
@@ -7209,6 +7595,7 @@ var listSubcommand13 = {
7209
7595
  arguments: [],
7210
7596
  options: [
7211
7597
  nextOption,
7598
+ limitOption,
7212
7599
  formatOption,
7213
7600
  jsonOption,
7214
7601
  {
@@ -7679,7 +8066,7 @@ var projectCommand = {
7679
8066
  addSubcommand8,
7680
8067
  accessSummarySubcommand,
7681
8068
  checksSubcommand,
7682
- inspectSubcommand4,
8069
+ inspectSubcommand5,
7683
8070
  listSubcommand13,
7684
8071
  membersSubcommand,
7685
8072
  accessGroupsSubcommand,
@@ -8197,6 +8584,7 @@ var configureSubcommand = {
8197
8584
  }
8198
8585
  ],
8199
8586
  options: [
8587
+ projectOption,
8200
8588
  {
8201
8589
  name: "cfg",
8202
8590
  shorthand: null,
@@ -8264,6 +8652,7 @@ var startSubcommand = {
8264
8652
  description: "The deploymentId or URL to target for the rolling release",
8265
8653
  required: true
8266
8654
  },
8655
+ projectOption,
8267
8656
  yesOption
8268
8657
  ]
8269
8658
  };
@@ -8279,6 +8668,7 @@ var approveSubcommand = {
8279
8668
  }
8280
8669
  ],
8281
8670
  options: [
8671
+ projectOption,
8282
8672
  {
8283
8673
  name: "dpl",
8284
8674
  shorthand: null,
@@ -8307,6 +8697,7 @@ var abortSubcommand = {
8307
8697
  }
8308
8698
  ],
8309
8699
  options: [
8700
+ projectOption,
8310
8701
  {
8311
8702
  name: "dpl",
8312
8703
  shorthand: null,
@@ -8328,6 +8719,7 @@ var completeSubcommand = {
8328
8719
  }
8329
8720
  ],
8330
8721
  options: [
8722
+ projectOption,
8331
8723
  {
8332
8724
  name: "dpl",
8333
8725
  shorthand: null,
@@ -8348,7 +8740,7 @@ var fetchSubcommand = {
8348
8740
  value: `${packageName} rolling-release fetch`
8349
8741
  }
8350
8742
  ],
8351
- options: []
8743
+ options: [projectOption]
8352
8744
  };
8353
8745
  var rollingReleaseCommand = {
8354
8746
  name: "rolling-release",
@@ -8543,6 +8935,7 @@ var listSubcommand16 = {
8543
8935
  arguments: [],
8544
8936
  options: [
8545
8937
  nextOption,
8938
+ limitOption,
8546
8939
  formatOption,
8547
8940
  { name: "since", shorthand: null, type: String, deprecated: true },
8548
8941
  { name: "until", shorthand: null, type: String, deprecated: true },
@@ -8619,7 +9012,7 @@ var membersSubcommand2 = {
8619
9012
  aliases: ["member"],
8620
9013
  description: "List members for the currently scoped team",
8621
9014
  arguments: [],
8622
- options: [nextOption, formatOption],
9015
+ options: [nextOption, limitOption, formatOption],
8623
9016
  examples: [
8624
9017
  {
8625
9018
  name: "List team members",
@@ -9822,6 +10215,9 @@ export {
9822
10215
  rulesEditSubcommand,
9823
10216
  rulesRemoveSubcommand,
9824
10217
  rulesSubcommand,
10218
+ modelsListSubcommand,
10219
+ modelsEndpointsSubcommand,
10220
+ modelsSubcommand,
9825
10221
  aiGatewayCommand,
9826
10222
  setSubcommand,
9827
10223
  listSubcommand2,
@@ -9938,6 +10334,12 @@ export {
9938
10334
  setSubcommand2,
9939
10335
  splitSubcommand,
9940
10336
  rolloutSubcommand,
10337
+ rulesListSubcommand3,
10338
+ rulesAddSubcommand3,
10339
+ rulesUpdateSubcommand,
10340
+ rulesRemoveSubcommand3,
10341
+ rulesMoveSubcommand,
10342
+ rulesSubcommand3,
9941
10343
  removeSubcommand8,
9942
10344
  archiveSubcommand,
9943
10345
  disableSubcommand,
@@ -9970,6 +10372,7 @@ export {
9970
10372
  connectSubcommand2,
9971
10373
  createThresholdSubcommand,
9972
10374
  claimSubcommand,
10375
+ inspectSubcommand4,
9973
10376
  integrationResourceCommand,
9974
10377
  addSubcommand7 as addSubcommand6,
9975
10378
  acceptTermsSubcommand,
@@ -10010,7 +10413,7 @@ export {
10010
10413
  checksAddFlags,
10011
10414
  checksRemoveFlags,
10012
10415
  checksSubcommand,
10013
- inspectSubcommand4,
10416
+ inspectSubcommand5,
10014
10417
  listSubcommand13,
10015
10418
  removeSubcommand12,
10016
10419
  renameSubcommand,