vercel 59.13.1 → 59.14.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 (104) hide show
  1. package/dist/chunks/{add-7RYUFBZ3.js → add-EQZRT4XL.js} +10 -10
  2. package/dist/chunks/{add-FX5WWUXU.js → add-KMDROZC3.js} +4 -4
  3. package/dist/chunks/{add-7OX6PBFD.js → add-QPJ3XMBV.js} +4 -4
  4. package/dist/chunks/{build-Q3TR46K4.js → build-W4HPTAOB.js} +4 -4
  5. package/dist/chunks/{chunk-5JDX6XOS.js → chunk-2LCFOK66.js} +7 -7
  6. package/dist/chunks/{chunk-2GXA4NGG.js → chunk-4WG2MYCI.js} +3 -3
  7. package/dist/chunks/{chunk-DQ23J2KG.js → chunk-5EIV6LPQ.js} +1 -1
  8. package/dist/chunks/{chunk-L4H3DP65.js → chunk-653QRQAD.js} +1 -1
  9. package/dist/chunks/{chunk-TLPHZ7M4.js → chunk-67CRVWDF.js} +3 -3
  10. package/dist/chunks/{chunk-JIK2FUMT.js → chunk-75VENWDN.js} +1 -1
  11. package/dist/chunks/{chunk-7F5RNOTP.js → chunk-AJ5HUOWB.js} +2 -2
  12. package/dist/chunks/{chunk-MUGF3SGQ.js → chunk-AQ6P3IGG.js} +1 -1
  13. package/dist/chunks/{chunk-LVCCV2YJ.js → chunk-B5NH7SLK.js} +5 -5
  14. package/dist/chunks/{chunk-F4S6Q4OY.js → chunk-CAHP7UGE.js} +2 -2
  15. package/dist/chunks/{chunk-5ORMFNXL.js → chunk-CFDDM4TX.js} +205 -0
  16. package/dist/chunks/{chunk-QSJ6Q5QP.js → chunk-CXFY6A6W.js} +3 -3
  17. package/dist/chunks/{chunk-UXKNSAP2.js → chunk-D5SMZXVO.js} +1 -1
  18. package/dist/chunks/{chunk-KU2WCB6G.js → chunk-EWBCSDTM.js} +3 -3
  19. package/dist/chunks/{chunk-T3NB7VQG.js → chunk-F2QLCXCF.js} +5 -5
  20. package/dist/chunks/{chunk-IK6PC2JA.js → chunk-FVF4UHDM.js} +4 -4
  21. package/dist/chunks/{chunk-O26N2UPI.js → chunk-GGPE5377.js} +1 -1
  22. package/dist/chunks/{chunk-EEV2LKFC.js → chunk-J7JKZM4T.js} +1 -1
  23. package/dist/chunks/{chunk-66LPM47Z.js → chunk-JC2O346E.js} +4 -4
  24. package/dist/chunks/{chunk-GQRG7VFK.js → chunk-JZXJZX7O.js} +2 -2
  25. package/dist/chunks/{chunk-TOXZAP5I.js → chunk-LERVNZTD.js} +1 -1
  26. package/dist/chunks/{chunk-QRFRS2JH.js → chunk-LYAAQDNS.js} +1 -1
  27. package/dist/chunks/{chunk-S3HYE6ZE.js → chunk-M5I6INNF.js} +2 -2
  28. package/dist/chunks/{chunk-EIBH6FCR.js → chunk-OCIZ6ZYA.js} +4 -4
  29. package/dist/chunks/{chunk-U4ZLWJQD.js → chunk-ORQZKIIB.js} +4 -4
  30. package/dist/chunks/{chunk-KXTXGYG7.js → chunk-RBF2NPUP.js} +3 -3
  31. package/dist/chunks/{chunk-SPRQ4IBQ.js → chunk-RDTRWLWB.js} +1 -1
  32. package/dist/chunks/{chunk-VUS2JQB2.js → chunk-RNSMTWA6.js} +1 -0
  33. package/dist/chunks/{chunk-3FIEWWMM.js → chunk-RTJASENB.js} +3 -3
  34. package/dist/chunks/{chunk-76CB3CF2.js → chunk-SM3F3PYJ.js} +1 -1
  35. package/dist/chunks/{chunk-2QFYCMKN.js → chunk-TSBUHSN7.js} +4 -4
  36. package/dist/chunks/{chunk-NSGRICJ2.js → chunk-TSFWMUCY.js} +2 -2
  37. package/dist/chunks/{chunk-LE5V7G2U.js → chunk-UNKHOYMF.js} +2 -2
  38. package/dist/chunks/{chunk-XEVKGAVI.js → chunk-UOVWUSLG.js} +5 -5
  39. package/dist/chunks/{chunk-IUC3TR3S.js → chunk-VGKSIKCC.js} +1 -1
  40. package/dist/chunks/{chunk-Z6YZMXVN.js → chunk-W7FGI2GZ.js} +3 -3
  41. package/dist/chunks/{clear-GIAFWC5X.js → clear-4IACMLFU.js} +4 -4
  42. package/dist/chunks/{compile-vercel-config-QJGEQKK4.js → compile-vercel-config-PQQ3OCLV.js} +2 -2
  43. package/dist/chunks/{config-AOA2HS4R.js → config-BQQKMQBP.js} +4 -4
  44. package/dist/chunks/{config-HYBSW733.js → config-OCPNHXQL.js} +4 -4
  45. package/dist/chunks/{constants-WEQVJSYS.js → constants-YMCRE6IG.js} +1 -1
  46. package/dist/chunks/{delete-DJ7RI2NX.js → delete-HRKIYPCO.js} +6 -6
  47. package/dist/chunks/{delete-BBFI75A2.js → delete-P2UL3KTU.js} +6 -6
  48. package/dist/chunks/{detect-services-Q2DVXVMH.js → detect-services-U7QGT7VO.js} +4 -4
  49. package/dist/chunks/{disable-P7X2V5LS.js → disable-3NYMICQ3.js} +6 -6
  50. package/dist/chunks/{discard-JNQBH4XU.js → discard-RNVEJUK3.js} +6 -6
  51. package/dist/chunks/{edit-AXQEMBQC.js → edit-63S2RQHR.js} +6 -6
  52. package/dist/chunks/{edit-BO3GXEKA.js → edit-CTENFZ7H.js} +7 -7
  53. package/dist/chunks/{enable-NC4BN7EQ.js → enable-WILWXAHV.js} +6 -6
  54. package/dist/chunks/{export-HQ42UNYD.js → export-YHGV3EPK.js} +6 -6
  55. package/dist/chunks/{image-UM4FQYOA.js → image-MWKS2YMB.js} +4 -4
  56. package/dist/chunks/{import-builders-F6SWNCHK.js → import-builders-H55X5VYD.js} +4 -4
  57. package/dist/chunks/{inspect-H3M3XJNB.js → inspect-JTJMK6TO.js} +4 -4
  58. package/dist/chunks/{inspect-XF324IQ2.js → inspect-KBIPLMGR.js} +7 -7
  59. package/dist/chunks/{inspect-PYFF2K4X.js → inspect-OP26FDBY.js} +4 -4
  60. package/dist/chunks/{inspect-MTNQOLNM.js → inspect-SW4UMWTB.js} +4 -4
  61. package/dist/chunks/{inspect-EXEA57MP.js → inspect-WPLZPVBO.js} +4 -4
  62. package/dist/chunks/{list-YEN54SGY.js → list-HE7DWAWH.js} +7 -7
  63. package/dist/chunks/{list-ZKD2O4D2.js → list-OUG7WCT7.js} +4 -4
  64. package/dist/chunks/{list-4JHZJUBS.js → list-QUSEURJZ.js} +2 -2
  65. package/dist/chunks/{login-56KGZQI2.js → login-MIIQJVF3.js} +4 -4
  66. package/dist/chunks/{ls-QNTHMTIH.js → ls-24N3DUK4.js} +7 -7
  67. package/dist/chunks/{ls-IJW74NG3.js → ls-3Y7KEFKT.js} +4 -4
  68. package/dist/chunks/{ls-HZEMZY2R.js → ls-75F5HIJ5.js} +4 -4
  69. package/dist/chunks/{ls-WW5UFH5B.js → ls-REN6X2X5.js} +10 -10
  70. package/dist/chunks/{ls-ELYVF6EU.js → ls-W4STUDXK.js} +4 -4
  71. package/dist/chunks/{ls-OAGYLILX.js → ls-Z4CTSD6C.js} +4 -4
  72. package/dist/chunks/{open-D2E5TEKN.js → open-ARMCLPBK.js} +6 -6
  73. package/dist/chunks/{permissions-CFUXWXSK.js → permissions-JKI67F62.js} +5 -5
  74. package/dist/chunks/{publish-BP4IUYNM.js → publish-SMSQ7OX2.js} +6 -6
  75. package/dist/chunks/{pull-DL72B6RW.js → pull-4QZJZELD.js} +8 -8
  76. package/dist/chunks/{push-6YCS4YQW.js → push-T6IYQY2J.js} +4 -4
  77. package/dist/chunks/{query-7N3YB4LE.js → query-CP3JK5LW.js} +2 -2
  78. package/dist/chunks/{reorder-YJN36TPT.js → reorder-RAWKFGLV.js} +6 -6
  79. package/dist/chunks/{reply-3U3O7LNG.js → reply-235UHUD4.js} +6 -6
  80. package/dist/chunks/{resolve-TT75WCWT.js → resolve-5KCLN7QV.js} +6 -6
  81. package/dist/chunks/{restore-6UF6W23A.js → restore-D24WAUAN.js} +6 -6
  82. package/dist/chunks/{rm-3QIDFPVA.js → rm-DBQDXSOC.js} +10 -10
  83. package/dist/chunks/{rm-6MJ7ZPXQ.js → rm-G5INO77R.js} +4 -4
  84. package/dist/chunks/{rm-QCQXVB54.js → rm-NLKSEKZ5.js} +4 -4
  85. package/dist/chunks/{rm-KI4W2HYP.js → rm-QV76CJA4.js} +7 -7
  86. package/dist/chunks/{rm-JZRS2NBH.js → rm-TZ4PDDUK.js} +4 -4
  87. package/dist/chunks/{rule-inspect-PX73J52Q.js → rule-inspect-76MC7I2D.js} +10 -10
  88. package/dist/chunks/{rules-Q334NBUC.js → rules-IDUXVTPG.js} +8 -8
  89. package/dist/chunks/{schema-YV3XYL3A.js → schema-AV6BHGKY.js} +2 -2
  90. package/dist/chunks/{schema-GRTOHAZO.js → schema-QJVQTNB4.js} +9 -9
  91. package/dist/chunks/{set-J3AQKL6V.js → set-L5NFQSCF.js} +7 -7
  92. package/dist/chunks/{setup-and-link-R5N7WJ46.js → setup-and-link-USSVDKCM.js} +14 -14
  93. package/dist/chunks/{tags-2VLJ4VIH.js → tags-2NLUU4EC.js} +3 -3
  94. package/dist/chunks/{update-VMS45VF2.js → update-WGLBB65M.js} +10 -10
  95. package/dist/commands/build/index.js +29 -22
  96. package/dist/commands/deploy/index.js +15 -15
  97. package/dist/commands/dev/index.js +19 -19
  98. package/dist/commands/env/index.js +9 -9
  99. package/dist/commands/link/index.js +9 -9
  100. package/dist/commands/list/index.js +2 -2
  101. package/dist/commands-bulk.js +2051 -1000
  102. package/dist/index.js +14 -14
  103. package/dist/version.mjs +1 -1
  104. package/package.json +14 -14
@@ -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-DQ23J2KG.js";
9
+ } from "./chunk-5EIV6LPQ.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-LVCCV2YJ.js";
21
- import "./chunk-2GXA4NGG.js";
20
+ } from "./chunk-B5NH7SLK.js";
21
+ import "./chunk-4WG2MYCI.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-XEVKGAVI.js";
27
+ import "./chunk-UOVWUSLG.js";
28
28
  import "./chunk-AINIBIP4.js";
29
- import "./chunk-EEV2LKFC.js";
29
+ import "./chunk-J7JKZM4T.js";
30
30
  import "./chunk-ND5CF2H3.js";
31
31
  import {
32
32
  validateJsonOutput
@@ -37,15 +37,15 @@ import {
37
37
  } from "./chunk-EDMW7SBH.js";
38
38
  import "./chunk-N6HP5BLI.js";
39
39
  import "./chunk-P7VSBDR4.js";
40
- import "./chunk-L4H3DP65.js";
40
+ import "./chunk-653QRQAD.js";
41
41
  import "./chunk-ZDU2NODC.js";
42
42
  import "./chunk-PEC3CQSK.js";
43
43
  import "./chunk-GGP5R3FU.js";
44
- import "./chunk-VUS2JQB2.js";
45
- import "./chunk-GQRG7VFK.js";
44
+ import "./chunk-RNSMTWA6.js";
45
+ import "./chunk-JZXJZX7O.js";
46
46
  import "./chunk-HRXRELD3.js";
47
47
  import "./chunk-B5XLQKHI.js";
48
- import "./chunk-76CB3CF2.js";
48
+ import "./chunk-SM3F3PYJ.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-7F5RNOTP.js";
57
+ import "./chunk-AJ5HUOWB.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-KXTXGYG7.js";
20
+ } from "./chunk-RBF2NPUP.js";
21
21
  import "./chunk-TO7QZGYK.js";
22
22
  import {
23
23
  outputError
@@ -32,8 +32,8 @@ import "./chunk-PEC3CQSK.js";
32
32
  import "./chunk-GGP5R3FU.js";
33
33
  import {
34
34
  AGENT_REASON
35
- } from "./chunk-VUS2JQB2.js";
36
- import "./chunk-76CB3CF2.js";
35
+ } from "./chunk-RNSMTWA6.js";
36
+ import "./chunk-SM3F3PYJ.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-7F5RNOTP.js";
44
+ import "./chunk-AJ5HUOWB.js";
45
45
  import "./chunk-G5FBSUL4.js";
46
46
  import {
47
47
  buildCommandWithGlobalFlags,
@@ -9,7 +9,7 @@ import {
9
9
  handleVcrApiError,
10
10
  resolveVcrScope,
11
11
  validateVcrJsonOutput
12
- } from "./chunk-KXTXGYG7.js";
12
+ } from "./chunk-RBF2NPUP.js";
13
13
  import "./chunk-TO7QZGYK.js";
14
14
  import {
15
15
  outputError
@@ -27,8 +27,8 @@ import "./chunk-PEC3CQSK.js";
27
27
  import "./chunk-GGP5R3FU.js";
28
28
  import {
29
29
  AGENT_REASON
30
- } from "./chunk-VUS2JQB2.js";
31
- import "./chunk-76CB3CF2.js";
30
+ } from "./chunk-RNSMTWA6.js";
31
+ import "./chunk-SM3F3PYJ.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-7F5RNOTP.js";
39
+ import "./chunk-AJ5HUOWB.js";
40
40
  import "./chunk-G5FBSUL4.js";
41
41
  import {
42
42
  buildCommandWithGlobalFlags,
@@ -23,7 +23,7 @@ import {
23
23
  runEngine,
24
24
  splitPassthrough,
25
25
  validateVcrChoice
26
- } from "./chunk-KXTXGYG7.js";
26
+ } from "./chunk-RBF2NPUP.js";
27
27
  import "./chunk-TO7QZGYK.js";
28
28
  import {
29
29
  outputError
@@ -41,8 +41,8 @@ import "./chunk-PEC3CQSK.js";
41
41
  import "./chunk-GGP5R3FU.js";
42
42
  import {
43
43
  AGENT_REASON
44
- } from "./chunk-VUS2JQB2.js";
45
- import "./chunk-76CB3CF2.js";
44
+ } from "./chunk-RNSMTWA6.js";
45
+ import "./chunk-SM3F3PYJ.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-7F5RNOTP.js";
53
+ import "./chunk-AJ5HUOWB.js";
54
54
  import "./chunk-G5FBSUL4.js";
55
55
  import {
56
56
  buildCommandWithGlobalFlags,
@@ -8,16 +8,16 @@ import {
8
8
  createDetectEntrypoint,
9
9
  getServicesConfigWriteBlocker,
10
10
  writeServicesConfig
11
- } from "./chunk-Z6YZMXVN.js";
11
+ } from "./chunk-W7FGI2GZ.js";
12
12
  import {
13
13
  detectProjects
14
14
  } from "./chunk-RVBZ64EQ.js";
15
15
  import {
16
16
  validateRootDirectory
17
- } from "./chunk-IUC3TR3S.js";
17
+ } from "./chunk-VGKSIKCC.js";
18
18
  import {
19
19
  getLocalPathConfig
20
- } from "./chunk-EEV2LKFC.js";
20
+ } from "./chunk-J7JKZM4T.js";
21
21
  import {
22
22
  isPromptBackError,
23
23
  isPromptCanceledError
@@ -30,14 +30,14 @@ import {
30
30
  } from "./chunk-332LMJLZ.js";
31
31
  import {
32
32
  readJSONFile
33
- } from "./chunk-MUGF3SGQ.js";
33
+ } from "./chunk-AQ6P3IGG.js";
34
34
  import {
35
35
  compileVercelConfig,
36
36
  findSourceVercelConfigFile
37
- } from "./chunk-L4H3DP65.js";
37
+ } from "./chunk-653QRQAD.js";
38
38
  import {
39
39
  pull
40
- } from "./chunk-IK6PC2JA.js";
40
+ } from "./chunk-FVF4UHDM.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-7F5RNOTP.js";
77
+ } from "./chunk-AJ5HUOWB.js";
78
78
  import {
79
79
  CantParseJSONFile,
80
80
  ProjectNotFound,
@@ -9,14 +9,14 @@ import {
9
9
  } from "./chunk-KFWQ3EFH.js";
10
10
  import {
11
11
  AGENT_REASON
12
- } from "./chunk-VUS2JQB2.js";
12
+ } from "./chunk-RNSMTWA6.js";
13
13
  import {
14
14
  getScope
15
- } from "./chunk-76CB3CF2.js";
15
+ } from "./chunk-SM3F3PYJ.js";
16
16
  import {
17
17
  getLinkedProject,
18
18
  getProjectByNameOrId
19
- } from "./chunk-7F5RNOTP.js";
19
+ } from "./chunk-AJ5HUOWB.js";
20
20
  import {
21
21
  buildCommandWithGlobalFlags,
22
22
  outputAgentError
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-ND5CF2H3.js";
18
18
  import {
19
19
  printAlignedLabel
20
- } from "./chunk-7F5RNOTP.js";
20
+ } from "./chunk-AJ5HUOWB.js";
21
21
  import {
22
22
  buildCommandWithGlobalFlags,
23
23
  quoteArg
@@ -6,7 +6,7 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  VERCEL_DIR
9
- } from "./chunk-7F5RNOTP.js";
9
+ } from "./chunk-AJ5HUOWB.js";
10
10
  import {
11
11
  ConflictingConfigFiles,
12
12
  DeprecatedNowJson
@@ -7,13 +7,13 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  AGENT_REASON,
9
9
  AGENT_STATUS
10
- } from "./chunk-VUS2JQB2.js";
10
+ } from "./chunk-RNSMTWA6.js";
11
11
  import {
12
12
  getScope
13
- } from "./chunk-76CB3CF2.js";
13
+ } from "./chunk-SM3F3PYJ.js";
14
14
  import {
15
15
  getOrgById
16
- } from "./chunk-7F5RNOTP.js";
16
+ } from "./chunk-AJ5HUOWB.js";
17
17
  import {
18
18
  buildCommandWithGlobalFlags,
19
19
  outputAgentError,
@@ -8,7 +8,7 @@ import {
8
8
  formatCondition,
9
9
  formatTransform,
10
10
  isTargetTransform
11
- } from "./chunk-NSGRICJ2.js";
11
+ } from "./chunk-TSFWMUCY.js";
12
12
  import {
13
13
  output_manager_default
14
14
  } from "./chunk-2JIX6UMI.js";
@@ -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-Q2DVXVMH.js");
13479
+ const { isExperimentalServicesEnabled, tryDetectServices } = await import("./detect-services-U7QGT7VO.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-DL72B6RW.js");
13949
+ const { default: pull } = await import("./pull-4QZJZELD.js");
13950
13950
  const exitCode = await pull(client, args, "vercel-cli:link");
13951
13951
  if (exitCode !== 0) {
13952
13952
  output_manager_default.error(
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-6E6KPBXY.js";
10
10
  import {
11
11
  require_lib
12
- } from "./chunk-7F5RNOTP.js";
12
+ } from "./chunk-AJ5HUOWB.js";
13
13
  import {
14
14
  CantParseJSONFile
15
15
  } from "./chunk-CV5YC2EN.js";
@@ -7,23 +7,23 @@ const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  emitAlertsScopeError,
9
9
  resolveAlertsScope
10
- } from "./chunk-2GXA4NGG.js";
10
+ } from "./chunk-4WG2MYCI.js";
11
11
  import {
12
12
  handleValidationError,
13
13
  validateAllProjectMutualExclusivity
14
14
  } from "./chunk-KFWQ3EFH.js";
15
15
  import {
16
16
  isJSONObject
17
- } from "./chunk-XEVKGAVI.js";
17
+ } from "./chunk-UOVWUSLG.js";
18
18
  import {
19
19
  AGENT_REASON
20
- } from "./chunk-VUS2JQB2.js";
20
+ } from "./chunk-RNSMTWA6.js";
21
21
  import {
22
22
  getScope
23
- } from "./chunk-76CB3CF2.js";
23
+ } from "./chunk-SM3F3PYJ.js";
24
24
  import {
25
25
  getProjectByNameOrId
26
- } from "./chunk-7F5RNOTP.js";
26
+ } from "./chunk-AJ5HUOWB.js";
27
27
  import {
28
28
  buildCommandWithGlobalFlags,
29
29
  outputAgentError
@@ -6,10 +6,10 @@ const __filename = __fileURLToPath(import.meta.url);
6
6
  const __dirname = __dirname_(__filename);
7
7
  import {
8
8
  AGENT_REASON
9
- } from "./chunk-VUS2JQB2.js";
9
+ } from "./chunk-RNSMTWA6.js";
10
10
  import {
11
11
  getProjectByNameOrId
12
- } from "./chunk-7F5RNOTP.js";
12
+ } from "./chunk-AJ5HUOWB.js";
13
13
  import {
14
14
  ProjectNotFound
15
15
  } from "./chunk-CV5YC2EN.js";
@@ -5333,6 +5333,19 @@ var firewallCommand = {
5333
5333
 
5334
5334
  // src/util/flags/attribute-types.ts
5335
5335
  var TIMESTAMP_IDENTIFY_HELP = "Pass Timestamp values as epoch milliseconds in identify() / evaluation context";
5336
+ var FLAG_ATTRIBUTE_TYPES = [
5337
+ "string",
5338
+ "number",
5339
+ "boolean",
5340
+ "stringArray",
5341
+ "timestamp"
5342
+ ];
5343
+ function isFlagAttributeType(type) {
5344
+ return FLAG_ATTRIBUTE_TYPES.includes(type);
5345
+ }
5346
+ function formatFlagAttributeTypeList() {
5347
+ return FLAG_ATTRIBUTE_TYPES.join(", ");
5348
+ }
5336
5349
  function isTimestampAttributeType(type) {
5337
5350
  return type === "timestamp";
5338
5351
  }
@@ -6962,6 +6975,189 @@ var segmentsSubcommand = {
6962
6975
  options: [],
6963
6976
  examples: []
6964
6977
  };
6978
+ var attributeTypeDescription = `Valid types: ${formatFlagAttributeTypeList()}`;
6979
+ var entitiesListSubcommand = {
6980
+ name: "list",
6981
+ aliases: ["ls"],
6982
+ description: "List the feature flag entities for the current project",
6983
+ arguments: [],
6984
+ options: [
6985
+ projectOption,
6986
+ {
6987
+ name: "json",
6988
+ shorthand: null,
6989
+ type: Boolean,
6990
+ deprecated: false,
6991
+ description: "Output in JSON format"
6992
+ }
6993
+ ],
6994
+ examples: [
6995
+ {
6996
+ name: "List all entities",
6997
+ value: `${packageName} flags entities ls`
6998
+ },
6999
+ {
7000
+ name: "List entities as JSON",
7001
+ value: `${packageName} flags entities ls --json`
7002
+ }
7003
+ ]
7004
+ };
7005
+ var entitiesCreateSubcommand = {
7006
+ name: "create",
7007
+ aliases: ["add"],
7008
+ description: "Create a feature flag entity",
7009
+ arguments: [
7010
+ {
7011
+ name: "kind",
7012
+ required: true
7013
+ }
7014
+ ],
7015
+ options: [
7016
+ projectOption,
7017
+ {
7018
+ name: "label",
7019
+ shorthand: "l",
7020
+ type: String,
7021
+ deprecated: false,
7022
+ description: "Human-readable label for the entity",
7023
+ argument: "LABEL"
7024
+ },
7025
+ {
7026
+ name: "attribute",
7027
+ shorthand: "a",
7028
+ type: [String],
7029
+ deprecated: false,
7030
+ description: `Add an attribute as KEY:TYPE; repeatable. ${attributeTypeDescription}`,
7031
+ argument: "KEY:TYPE"
7032
+ },
7033
+ {
7034
+ name: "json",
7035
+ shorthand: null,
7036
+ type: Boolean,
7037
+ deprecated: false,
7038
+ description: "Output the created entity as JSON"
7039
+ }
7040
+ ],
7041
+ examples: [
7042
+ {
7043
+ name: "Create a user entity with attributes",
7044
+ value: `${packageName} flags entities create user --label User --attribute id:string --attribute plan:string`
7045
+ },
7046
+ {
7047
+ name: "Create a team entity with a string array attribute",
7048
+ value: `${packageName} flags entities create team --attribute id:string --attribute features:stringArray`
7049
+ }
7050
+ ]
7051
+ };
7052
+ var entitiesUpdateSubcommand = {
7053
+ name: "update",
7054
+ aliases: [],
7055
+ description: "Update a feature flag entity and its attributes",
7056
+ arguments: [
7057
+ {
7058
+ name: "kind",
7059
+ required: true
7060
+ }
7061
+ ],
7062
+ options: [
7063
+ projectOption,
7064
+ {
7065
+ name: "label",
7066
+ shorthand: "l",
7067
+ type: String,
7068
+ deprecated: false,
7069
+ description: "New human-readable label for the entity",
7070
+ argument: "LABEL"
7071
+ },
7072
+ {
7073
+ name: "add-attribute",
7074
+ shorthand: null,
7075
+ type: [String],
7076
+ deprecated: false,
7077
+ description: `Add an attribute as KEY:TYPE; repeatable. ${attributeTypeDescription}`,
7078
+ argument: "KEY:TYPE"
7079
+ },
7080
+ {
7081
+ name: "remove-attribute",
7082
+ shorthand: null,
7083
+ type: [String],
7084
+ deprecated: false,
7085
+ description: "Remove an attribute by key; repeatable. Fails when flags or segments still reference it",
7086
+ argument: "KEY"
7087
+ },
7088
+ {
7089
+ name: "set-attribute-type",
7090
+ shorthand: null,
7091
+ type: [String],
7092
+ deprecated: false,
7093
+ description: `Change the type of an attribute as KEY:TYPE; repeatable. Changing the type also removes existing value labels. Fails when flags or segments still reference it. ${attributeTypeDescription}`,
7094
+ argument: "KEY:TYPE"
7095
+ },
7096
+ {
7097
+ name: "json",
7098
+ shorthand: null,
7099
+ type: Boolean,
7100
+ deprecated: false,
7101
+ description: "Output the updated entity as JSON"
7102
+ }
7103
+ ],
7104
+ examples: [
7105
+ {
7106
+ name: "Change the entity label",
7107
+ value: `${packageName} flags entities update user --label "End user"`
7108
+ },
7109
+ {
7110
+ name: "Add and remove attributes",
7111
+ value: `${packageName} flags entities update user --add-attribute email:string --remove-attribute legacyId`
7112
+ },
7113
+ {
7114
+ name: "Change an attribute type",
7115
+ value: `${packageName} flags entities update user --set-attribute-type signupAt:timestamp`
7116
+ }
7117
+ ]
7118
+ };
7119
+ var entitiesRemoveSubcommand = {
7120
+ name: "remove",
7121
+ aliases: ["rm"],
7122
+ description: "Delete a feature flag entity. Fails when flags or segments still reference it",
7123
+ arguments: [
7124
+ {
7125
+ name: "kind",
7126
+ required: true
7127
+ }
7128
+ ],
7129
+ options: [
7130
+ projectOption,
7131
+ {
7132
+ ...yesOption,
7133
+ description: "Skip the confirmation prompt when deleting an entity"
7134
+ }
7135
+ ],
7136
+ examples: [
7137
+ {
7138
+ name: "Delete an entity",
7139
+ value: `${packageName} flags entities rm device`
7140
+ },
7141
+ {
7142
+ name: "Delete without confirmation",
7143
+ value: `${packageName} flags entities rm device --yes`
7144
+ }
7145
+ ]
7146
+ };
7147
+ var entitiesSubcommand = {
7148
+ name: "entities",
7149
+ aliases: [],
7150
+ description: "Manage the entity schema used for flag targeting",
7151
+ arguments: [],
7152
+ subcommands: [
7153
+ entitiesListSubcommand,
7154
+ entitiesCreateSubcommand,
7155
+ entitiesUpdateSubcommand,
7156
+ entitiesRemoveSubcommand
7157
+ ],
7158
+ options: [],
7159
+ examples: []
7160
+ };
6965
7161
  var sdkKeysListSubcommand = {
6966
7162
  name: "list",
6967
7163
  aliases: ["ls"],
@@ -7149,6 +7345,7 @@ var flagsCommand = {
7149
7345
  enableSubcommand,
7150
7346
  rulesSubcommand3,
7151
7347
  segmentsSubcommand,
7348
+ entitiesSubcommand,
7152
7349
  sdkKeysSubcommand,
7153
7350
  prepareSubcommand,
7154
7351
  overrideSubcommand
@@ -13187,6 +13384,9 @@ export {
13187
13384
  persistentActionsInspectSubcommand,
13188
13385
  persistentActionsSubcommand,
13189
13386
  firewallCommand,
13387
+ FLAG_ATTRIBUTE_TYPES,
13388
+ isFlagAttributeType,
13389
+ formatFlagAttributeTypeList,
13190
13390
  isTimestampAttributeType,
13191
13391
  isBucketingAttribute,
13192
13392
  getFlagAttributeType,
@@ -13227,6 +13427,11 @@ export {
13227
13427
  segmentsUpdateSubcommand,
13228
13428
  segmentsRemoveSubcommand,
13229
13429
  segmentsSubcommand,
13430
+ entitiesListSubcommand,
13431
+ entitiesCreateSubcommand,
13432
+ entitiesUpdateSubcommand,
13433
+ entitiesRemoveSubcommand,
13434
+ entitiesSubcommand,
13230
13435
  sdkKeysListSubcommand,
13231
13436
  sdkKeysAddSubcommand,
13232
13437
  sdkKeysRemoveSubcommand,
@@ -10,17 +10,17 @@ import {
10
10
  } from "./chunk-KFWQ3EFH.js";
11
11
  import {
12
12
  resolveProjectContext
13
- } from "./chunk-3FIEWWMM.js";
13
+ } from "./chunk-RTJASENB.js";
14
14
  import {
15
15
  detectExplicitScope,
16
16
  getScope
17
- } from "./chunk-76CB3CF2.js";
17
+ } from "./chunk-SM3F3PYJ.js";
18
18
  import {
19
19
  printError
20
20
  } from "./chunk-3VM7HWF6.js";
21
21
  import {
22
22
  getLinkedProject
23
- } from "./chunk-7F5RNOTP.js";
23
+ } from "./chunk-AJ5HUOWB.js";
24
24
  import {
25
25
  isAPIError
26
26
  } from "./chunk-CV5YC2EN.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-4IALDGB7.js";
10
10
  import {
11
11
  require_lib
12
- } from "./chunk-7F5RNOTP.js";
12
+ } from "./chunk-AJ5HUOWB.js";
13
13
  import {
14
14
  packageName
15
15
  } from "./chunk-Q2DGFCO7.js";
@@ -13,10 +13,10 @@ import {
13
13
  } from "./chunk-IB5L4LKZ.js";
14
14
  import {
15
15
  readJSONFile
16
- } from "./chunk-MUGF3SGQ.js";
16
+ } from "./chunk-AQ6P3IGG.js";
17
17
  import {
18
18
  VERCEL_CONFIG_EXTENSIONS
19
- } from "./chunk-L4H3DP65.js";
19
+ } from "./chunk-653QRQAD.js";
20
20
  import {
21
21
  require_execa
22
22
  } from "./chunk-5NF5HOBJ.js";
@@ -27,7 +27,7 @@ import {
27
27
  VERCEL_DIR,
28
28
  require_lib,
29
29
  require_pluralize
30
- } from "./chunk-7F5RNOTP.js";
30
+ } from "./chunk-AJ5HUOWB.js";
31
31
  import {
32
32
  CantParseJSONFile,
33
33
  code
@@ -9,19 +9,19 @@ import {
9
9
  } from "./chunk-PRWJUY5U.js";
10
10
  import {
11
11
  progress
12
- } from "./chunk-LE5V7G2U.js";
12
+ } from "./chunk-UNKHOYMF.js";
13
13
  import {
14
14
  isJSONObject,
15
15
  printIndications,
16
16
  require_dist as require_dist2,
17
17
  sleep
18
- } from "./chunk-XEVKGAVI.js";
18
+ } from "./chunk-UOVWUSLG.js";
19
19
  import {
20
20
  suggestNextCommands
21
21
  } from "./chunk-AKLTIZCU.js";
22
22
  import {
23
23
  CommandTimeout
24
- } from "./chunk-5ORMFNXL.js";
24
+ } from "./chunk-CFDDM4TX.js";
25
25
  import {
26
26
  require_dist as require_dist3
27
27
  } from "./chunk-N6HP5BLI.js";
@@ -38,7 +38,7 @@ import {
38
38
  import {
39
39
  getScope,
40
40
  ua_default
41
- } from "./chunk-76CB3CF2.js";
41
+ } from "./chunk-SM3F3PYJ.js";
42
42
  import {
43
43
  Headers,
44
44
  fetch,
@@ -53,7 +53,7 @@ import {
53
53
  param,
54
54
  printAlignedLabel,
55
55
  require_pluralize
56
- } from "./chunk-7F5RNOTP.js";
56
+ } from "./chunk-AJ5HUOWB.js";
57
57
  import {
58
58
  withGlobalFlags
59
59
  } from "./chunk-26CU4Q3C.js";