vercel 51.2.1 → 51.3.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 (69) hide show
  1. package/dist/chunks/add-3MIOUOZC.js +180 -0
  2. package/dist/chunks/{chunk-W6FW7CCT.js → chunk-2JQVASXJ.js} +13 -8
  3. package/dist/chunks/{chunk-Q6BEDVOU.js → chunk-4PQA6H63.js} +1 -1
  4. package/dist/chunks/{chunk-IS2HEMF4.js → chunk-4RBF6ZDU.js} +4 -2
  5. package/dist/chunks/{chunk-7S7GE4BN.js → chunk-4VP55L4V.js} +208 -500
  6. package/dist/chunks/{chunk-5YQCJTZI.js → chunk-4WRHMYCG.js} +6 -6
  7. package/dist/chunks/chunk-4ZWTYJSP.js +139 -0
  8. package/dist/chunks/{chunk-3FMFPD7F.js → chunk-APGVHLAW.js} +2 -2
  9. package/dist/chunks/{chunk-5WHDQH2U.js → chunk-BAUYQ7AR.js} +1 -1
  10. package/dist/chunks/{chunk-BUBUVE23.js → chunk-BJQTGP42.js} +4 -2
  11. package/dist/chunks/{chunk-G6MVEB4W.js → chunk-BU3JMDDH.js} +3 -3
  12. package/dist/chunks/chunk-CGTXAXZ4.js +484 -0
  13. package/dist/chunks/{chunk-BQUQ5F7R.js → chunk-CRZM5WM2.js} +4 -2
  14. package/dist/chunks/{chunk-XRR5HDB3.js → chunk-CZXW3DJH.js} +2 -2
  15. package/dist/chunks/chunk-DVQ4SIWF.js +183 -0
  16. package/dist/chunks/{chunk-A4NVECX5.js → chunk-ECRBC4HL.js} +4 -581
  17. package/dist/chunks/{chunk-RK4TKB3D.js → chunk-FNFZO3WQ.js} +7 -5
  18. package/dist/chunks/{chunk-L2BKVTHL.js → chunk-G6RXZLQ2.js} +2 -2
  19. package/dist/chunks/{chunk-4YZKA4FN.js → chunk-GE6G37P4.js} +1 -1
  20. package/dist/chunks/{chunk-NELCIT4M.js → chunk-GLDQ23LD.js} +1 -1
  21. package/dist/chunks/{chunk-5DLMAFQU.js → chunk-GYBFQLYR.js} +6 -4
  22. package/dist/chunks/{chunk-XAVGWINL.js → chunk-JEON5XEH.js} +44 -13
  23. package/dist/chunks/{chunk-Y5YCSB6X.js → chunk-LDXYSGPZ.js} +2 -2
  24. package/dist/chunks/{chunk-U5J73OA3.js → chunk-N45K6NXC.js} +1 -1
  25. package/dist/chunks/{chunk-SSOWPEZT.js → chunk-NCQBQGI6.js} +2 -2
  26. package/dist/chunks/chunk-NE34PEHL.js +167 -0
  27. package/dist/chunks/{chunk-QQTF2FEY.js → chunk-OFUQPP26.js} +9 -5
  28. package/dist/chunks/{chunk-FSOFFJDV.js → chunk-R2BVH5SQ.js} +1 -1
  29. package/dist/chunks/chunk-RFMC2QXQ.js +602 -0
  30. package/dist/chunks/{chunk-VTQNSCUG.js → chunk-RHXEHBO3.js} +8 -6
  31. package/dist/chunks/{chunk-K5XJCQQO.js → chunk-RRYVGOVK.js} +1 -1
  32. package/dist/chunks/{chunk-EHZKWVK2.js → chunk-T7CL42FK.js} +5 -5
  33. package/dist/chunks/{chunk-WXNT7WJO.js → chunk-TAOVG4PS.js} +49 -4
  34. package/dist/chunks/{chunk-57RLFBKC.js → chunk-UB325PS7.js} +1 -1
  35. package/dist/chunks/{chunk-2IAZZEVQ.js → chunk-UWKTUK3W.js} +4 -2
  36. package/dist/chunks/{chunk-VE7MY76H.js → chunk-VGWGLBUC.js} +4 -2
  37. package/dist/chunks/{chunk-4EGCWWSR.js → chunk-VMTOBGCO.js} +50 -16
  38. package/dist/chunks/{chunk-W5K4YCTI.js → chunk-ZS5VKEZL.js} +5 -3
  39. package/dist/chunks/{compile-vercel-config-2GV46IDP.js → compile-vercel-config-A2SLMCWK.js} +4 -2
  40. package/dist/chunks/{delete-PXMYSQGR.js → delete-SEQBCYWT.js} +7 -5
  41. package/dist/chunks/{disable-2ZQ4OG4A.js → disable-GRM5DJGU.js} +7 -5
  42. package/dist/chunks/{discard-FQZTZ5HK.js → discard-IVQWWSPI.js} +7 -5
  43. package/dist/chunks/{edit-F3J7Q5SZ.js → edit-YTMZBT4Y.js} +8 -6
  44. package/dist/chunks/{enable-ZW4W33H5.js → enable-SSU3MG6J.js} +7 -5
  45. package/dist/chunks/{export-ZZV6ESIW.js → export-INCDZTYW.js} +7 -5
  46. package/dist/chunks/inspect-QMY2ZE6J.js +353 -0
  47. package/dist/chunks/{list-VFPV4TUW.js → list-FF4VGSZ2.js} +115 -85
  48. package/dist/chunks/{list-SSIMVNNN.js → list-MMIBPSB3.js} +10 -7
  49. package/dist/chunks/ls-TYEDISJD.js +114 -0
  50. package/dist/chunks/{publish-3K76MNS3.js → publish-OJQCVDL5.js} +7 -5
  51. package/dist/chunks/{query-CY7JJSSX.js → query-LACPOOBL.js} +15 -12
  52. package/dist/chunks/{reorder-6L7MENN5.js → reorder-TBFWHFQZ.js} +7 -5
  53. package/dist/chunks/{restore-XUYXOJQ2.js → restore-5LUZRUME.js} +7 -5
  54. package/dist/chunks/rm-LDXY2G45.js +164 -0
  55. package/dist/chunks/rule-inspect-THIN6POX.js +142 -0
  56. package/dist/chunks/rules-4ZH7VTGC.js +83 -0
  57. package/dist/chunks/{schema-G5FSLZVA.js → schema-OK4OOI2N.js} +9 -7
  58. package/dist/chunks/{types-A4EAQ6F6.js → types-QNN5CDCB.js} +6 -4
  59. package/dist/chunks/update-EXPUPEH6.js +196 -0
  60. package/dist/commands/build/index.js +27 -23
  61. package/dist/commands/deploy/index.js +171 -32
  62. package/dist/commands/dev/index.js +21 -17
  63. package/dist/commands/env/index.js +32 -27
  64. package/dist/commands/link/index.js +21 -17
  65. package/dist/commands/list/index.js +14 -11
  66. package/dist/commands-bulk.js +322 -128
  67. package/dist/index.js +28 -24
  68. package/dist/version.mjs +1 -1
  69. package/package.json +19 -19
@@ -28,7 +28,7 @@ import {
28
28
  runInteractiveEditLoop,
29
29
  stripQuotes,
30
30
  validateActionFlags
31
- } from "./chunks/chunk-K5XJCQQO.js";
31
+ } from "./chunks/chunk-RRYVGOVK.js";
32
32
  import {
33
33
  getRouteVersions
34
34
  } from "./chunks/chunk-AHU7WNL2.js";
@@ -45,7 +45,7 @@ import {
45
45
  parsePosition,
46
46
  parseSubcommandArgs,
47
47
  withGlobalFlags
48
- } from "./chunks/chunk-QQTF2FEY.js";
48
+ } from "./chunks/chunk-OFUQPP26.js";
49
49
  import {
50
50
  indent_default
51
51
  } from "./chunks/chunk-A3NYPUKZ.js";
@@ -54,11 +54,11 @@ import {
54
54
  did_you_mean_default,
55
55
  executeUpgrade,
56
56
  login
57
- } from "./chunks/chunk-EHZKWVK2.js";
57
+ } from "./chunks/chunk-T7CL42FK.js";
58
58
  import {
59
59
  getUpdateCommand,
60
60
  isGlobal
61
- } from "./chunks/chunk-SSOWPEZT.js";
61
+ } from "./chunks/chunk-NCQBQGI6.js";
62
62
  import {
63
63
  Now,
64
64
  collectContactInformation,
@@ -80,7 +80,7 @@ import {
80
80
  require_format,
81
81
  require_jsonlines,
82
82
  setupDomain
83
- } from "./chunks/chunk-XAVGWINL.js";
83
+ } from "./chunks/chunk-JEON5XEH.js";
84
84
  import {
85
85
  processRevocationResponse,
86
86
  readLocalConfig,
@@ -89,7 +89,7 @@ import {
89
89
  sleep,
90
90
  writeToAuthConfigFile,
91
91
  writeToConfigFile
92
- } from "./chunks/chunk-W6FW7CCT.js";
92
+ } from "./chunks/chunk-2JQVASXJ.js";
93
93
  import "./chunks/chunk-V5P25P7F.js";
94
94
  import {
95
95
  getCustomEnvironments,
@@ -100,7 +100,7 @@ import {
100
100
  } from "./chunks/chunk-C5YP6KFI.js";
101
101
  import {
102
102
  formatTable
103
- } from "./chunks/chunk-L2BKVTHL.js";
103
+ } from "./chunks/chunk-G6RXZLQ2.js";
104
104
  import "./chunks/chunk-LOS7HHU3.js";
105
105
  import {
106
106
  isValidName
@@ -112,18 +112,18 @@ import {
112
112
  getDeployment,
113
113
  mapCertError,
114
114
  toHost
115
- } from "./chunks/chunk-U5J73OA3.js";
115
+ } from "./chunks/chunk-N45K6NXC.js";
116
116
  import {
117
117
  getScope
118
- } from "./chunks/chunk-3FMFPD7F.js";
118
+ } from "./chunks/chunk-APGVHLAW.js";
119
119
  import {
120
120
  formatEnvironment,
121
121
  validateLsArgs
122
- } from "./chunks/chunk-XRR5HDB3.js";
122
+ } from "./chunks/chunk-CZXW3DJH.js";
123
123
  import {
124
124
  validateJsonOutput
125
125
  } from "./chunks/chunk-XPKWKPWA.js";
126
- import "./chunks/chunk-FSOFFJDV.js";
126
+ import "./chunks/chunk-R2BVH5SQ.js";
127
127
  import {
128
128
  getSubcommand as getSubcommand4
129
129
  } from "./chunks/chunk-YPQSDAEW.js";
@@ -222,9 +222,9 @@ import {
222
222
  initCommand,
223
223
  inspectCommand,
224
224
  inspectGroupSubcommand,
225
- inspectSubcommand,
226
- inspectSubcommand2,
227
- inspectSubcommand3,
225
+ inspectSubcommand as inspectSubcommand2,
226
+ inspectSubcommand2 as inspectSubcommand3,
227
+ inspectSubcommand3 as inspectSubcommand4,
228
228
  installCommand,
229
229
  installSubcommand,
230
230
  installationsSubcommand,
@@ -305,11 +305,11 @@ import {
305
305
  restoreSubcommand,
306
306
  rollbackCommand,
307
307
  rollingReleaseCommand,
308
- rulesAddSubcommand,
308
+ rulesAddSubcommand as rulesAddSubcommand2,
309
309
  rulesDisableSubcommand,
310
310
  rulesEditSubcommand,
311
311
  rulesEnableSubcommand,
312
- rulesInspectSubcommand,
312
+ rulesInspectSubcommand as rulesInspectSubcommand2,
313
313
  rulesListSubcommand,
314
314
  rulesRemoveSubcommand,
315
315
  rulesReorderSubcommand,
@@ -354,7 +354,7 @@ import {
354
354
  webAnalyticsSubcommand,
355
355
  webhooksCommand,
356
356
  whoamiCommand
357
- } from "./chunks/chunk-4EGCWWSR.js";
357
+ } from "./chunks/chunk-VMTOBGCO.js";
358
358
  import {
359
359
  addSubcommand as addSubcommand9,
360
360
  deleteSubcommand,
@@ -363,71 +363,74 @@ import {
363
363
  editSubcommand,
364
364
  enableSubcommand as enableSubcommand3,
365
365
  exportSubcommand,
366
- inspectSubcommand as inspectSubcommand4,
366
+ inspectSubcommand as inspectSubcommand5,
367
367
  listSubcommand as listSubcommand13,
368
368
  listVersionsSubcommand as listVersionsSubcommand2,
369
369
  publishSubcommand as publishSubcommand2,
370
370
  reorderSubcommand,
371
371
  restoreSubcommand as restoreSubcommand2,
372
372
  routesCommand
373
- } from "./chunks/chunk-BQUQ5F7R.js";
374
- import "./chunks/chunk-BUBUVE23.js";
373
+ } from "./chunks/chunk-CRZM5WM2.js";
374
+ import {
375
+ metricsCommand,
376
+ schemaSubcommand
377
+ } from "./chunks/chunk-4RBF6ZDU.js";
378
+ import "./chunks/chunk-BJQTGP42.js";
375
379
  import {
376
380
  activityCommand,
377
381
  typesSubcommand
378
- } from "./chunks/chunk-2IAZZEVQ.js";
382
+ } from "./chunks/chunk-UWKTUK3W.js";
379
383
  import {
380
384
  alertsCommand,
385
+ inspectSubcommand,
381
386
  listSubcommand
382
- } from "./chunks/chunk-WXNT7WJO.js";
387
+ } from "./chunks/chunk-TAOVG4PS.js";
383
388
  import {
384
- metricsCommand,
385
- schemaSubcommand
386
- } from "./chunks/chunk-IS2HEMF4.js";
387
- import "./chunks/chunk-VE7MY76H.js";
389
+ rulesAddSubcommand,
390
+ rulesAggregateCommand,
391
+ rulesInspectSubcommand,
392
+ rulesLsSubcommand,
393
+ rulesRmSubcommand,
394
+ rulesUpdateSubcommand
395
+ } from "./chunks/chunk-DVQ4SIWF.js";
396
+ import "./chunks/chunk-VGWGLBUC.js";
388
397
  import {
389
398
  main
390
- } from "./chunks/chunk-5YQCJTZI.js";
399
+ } from "./chunks/chunk-4WRHMYCG.js";
400
+ import "./chunks/chunk-UB325PS7.js";
391
401
  import {
392
402
  AGENT_ACTION,
393
403
  AGENT_REASON,
394
404
  AGENT_STATUS
395
405
  } from "./chunks/chunk-E3NE4SKN.js";
396
- import "./chunks/chunk-57RLFBKC.js";
397
406
  import {
398
407
  ua_default
399
- } from "./chunks/chunk-Q6BEDVOU.js";
408
+ } from "./chunks/chunk-4PQA6H63.js";
400
409
  import {
401
410
  require_execa
402
- } from "./chunks/chunk-5WHDQH2U.js";
411
+ } from "./chunks/chunk-BAUYQ7AR.js";
403
412
  import {
404
413
  ensureLink
405
- } from "./chunks/chunk-RK4TKB3D.js";
406
- import "./chunks/chunk-VTQNSCUG.js";
407
- import "./chunks/chunk-5DLMAFQU.js";
408
- import "./chunks/chunk-W5K4YCTI.js";
414
+ } from "./chunks/chunk-FNFZO3WQ.js";
415
+ import "./chunks/chunk-RHXEHBO3.js";
416
+ import "./chunks/chunk-GYBFQLYR.js";
417
+ import "./chunks/chunk-ZS5VKEZL.js";
409
418
  import {
410
419
  help
411
- } from "./chunks/chunk-Y5YCSB6X.js";
420
+ } from "./chunks/chunk-LDXYSGPZ.js";
412
421
  import {
413
422
  table
414
- } from "./chunks/chunk-4YZKA4FN.js";
423
+ } from "./chunks/chunk-GE6G37P4.js";
415
424
  import {
416
425
  STANDARD_ENVIRONMENTS,
417
426
  VERCEL_CONFIG_EXTENSIONS,
418
- argvHasNonInteractive,
419
- buildCommandWithGlobalFlags,
420
- buildCommandWithYes,
421
- buildIntegrationCommandTailFromArgv,
422
427
  checkExistsAndConnect,
423
428
  createEnvObject,
424
429
  createGitMeta,
425
430
  createProject,
426
431
  disconnectGitProvider,
427
432
  envPullCommandLogic,
428
- exitWithNonInteractiveError,
429
433
  formatProject,
430
- getGlobalFlagsFromArgv,
431
434
  getLinkFromDir,
432
435
  getLinkedProject,
433
436
  getProjectByNameOrId,
@@ -439,9 +442,6 @@ import {
439
442
  humanizePath,
440
443
  isVercelTomlEnabled,
441
444
  list,
442
- openUrlInBrowserCommand,
443
- outputActionRequired,
444
- outputAgentError,
445
445
  param,
446
446
  parseGitConfig,
447
447
  parseRepoUrl,
@@ -451,6 +451,7 @@ import {
451
451
  readJSONFile,
452
452
  require_dist as require_dist2,
453
453
  require_dist3,
454
+ require_fast_deep_equal,
454
455
  require_frameworks,
455
456
  require_lib,
456
457
  require_lib3,
@@ -458,17 +459,38 @@ import {
458
459
  require_tar_fs,
459
460
  resolveProjectCwd,
460
461
  selectAndParseRemoteUrl,
461
- selectOrg,
462
- shouldEmitNonInteractiveCommandError
463
- } from "./chunks/chunk-7S7GE4BN.js";
462
+ selectOrg
463
+ } from "./chunks/chunk-4VP55L4V.js";
464
464
  import {
465
465
  TelemetryClient
466
466
  } from "./chunks/chunk-U3WLEFHU.js";
467
+ import {
468
+ argvHasNonInteractive,
469
+ buildCommandWithGlobalFlags,
470
+ buildCommandWithYes,
471
+ buildIntegrationCommandTailFromArgv,
472
+ exitWithNonInteractiveError,
473
+ getGlobalFlagsFromArgv,
474
+ openUrlInBrowserCommand,
475
+ outputActionRequired,
476
+ outputAgentError,
477
+ shouldEmitNonInteractiveCommandError
478
+ } from "./chunks/chunk-CGTXAXZ4.js";
467
479
  import {
468
480
  elapsed,
469
481
  require_ms,
470
482
  stamp_default
471
483
  } from "./chunks/chunk-CO5D46AG.js";
484
+ import {
485
+ GLOBAL_CLI_FLAG_NAMES,
486
+ getCommandNameWithGlobalFlags,
487
+ getFlagsSpecification,
488
+ getGlobalFlagsOnlyFromArgs,
489
+ getSameSubcommandSuggestionFlags,
490
+ globalCliFlagTakesValue,
491
+ parseArguments,
492
+ printError
493
+ } from "./chunks/chunk-RFMC2QXQ.js";
472
494
  import {
473
495
  APIError,
474
496
  AliasInUse,
@@ -496,7 +518,6 @@ import {
496
518
  DomainPermissionDenied,
497
519
  DomainPurchasePending,
498
520
  DomainRemovalConflict,
499
- GLOBAL_CLI_FLAG_NAMES,
500
521
  InvalidAlias,
501
522
  InvalidAliasInConfig,
502
523
  InvalidDeploymentId,
@@ -517,20 +538,13 @@ import {
517
538
  code,
518
539
  getCommandName,
519
540
  getCommandNamePlain,
520
- getCommandNameWithGlobalFlags,
521
- getFlagsSpecification,
522
- getGlobalFlagsOnlyFromArgs,
523
- getSameSubcommandSuggestionFlags,
524
- globalCliFlagTakesValue,
525
541
  init_pkg,
526
542
  isAPIError,
527
543
  packageName,
528
- parseArguments,
529
544
  pkg_default,
530
- printError,
531
545
  require_bytes,
532
546
  require_lib as require_lib2
533
- } from "./chunks/chunk-A4NVECX5.js";
547
+ } from "./chunks/chunk-ECRBC4HL.js";
534
548
  import {
535
549
  emoji,
536
550
  eraseLines,
@@ -818,7 +832,7 @@ async function activity(client) {
818
832
  return 0;
819
833
  }
820
834
  telemetry2.trackCliSubcommandTypes(subcommandOriginal);
821
- const typesFn = (await import("./chunks/types-A4EAQ6F6.js")).default;
835
+ const typesFn = (await import("./chunks/types-QNN5CDCB.js")).default;
822
836
  return typesFn(client, telemetry2);
823
837
  }
824
838
  default: {
@@ -828,7 +842,7 @@ async function activity(client) {
828
842
  return 0;
829
843
  }
830
844
  telemetry2.trackCliSubcommandLs(subcommandOriginal);
831
- const listFn = (await import("./chunks/list-SSIMVNNN.js")).default;
845
+ const listFn = (await import("./chunks/list-MMIBPSB3.js")).default;
832
846
  return listFn(client, telemetry2);
833
847
  }
834
848
  }
@@ -1128,6 +1142,18 @@ var AlertsTelemetryClient = class extends TelemetryClient {
1128
1142
  });
1129
1143
  }
1130
1144
  }
1145
+ trackCliSubcommandInspect(actual) {
1146
+ this.trackCliSubcommand({
1147
+ subcommand: "inspect",
1148
+ value: actual
1149
+ });
1150
+ }
1151
+ trackCliSubcommandRules(actual) {
1152
+ this.trackCliSubcommand({
1153
+ subcommand: "rules",
1154
+ value: actual
1155
+ });
1156
+ }
1131
1157
  trackCliOptionType(v) {
1132
1158
  if (v && v.length > 0) {
1133
1159
  this.trackCliOption({
@@ -1182,7 +1208,9 @@ var AlertsTelemetryClient = class extends TelemetryClient {
1182
1208
 
1183
1209
  // src/commands/alerts/index.ts
1184
1210
  var COMMAND_CONFIG4 = {
1185
- ls: getCommandAliases(listSubcommand)
1211
+ inspect: getCommandAliases(inspectSubcommand),
1212
+ ls: getCommandAliases(listSubcommand),
1213
+ rules: ["rules"]
1186
1214
  };
1187
1215
  async function alerts(client) {
1188
1216
  const telemetry2 = new AlertsTelemetryClient({
@@ -1197,22 +1225,114 @@ async function alerts(client) {
1197
1225
  permissive: true
1198
1226
  });
1199
1227
  } catch (err) {
1228
+ const msg = err instanceof Error ? err.message : String(err);
1229
+ const projectFlagMissingArg = msg.includes("--project") && msg.includes("requires argument");
1230
+ if (shouldEmitNonInteractiveCommandError(client)) {
1231
+ outputAgentError(
1232
+ client,
1233
+ {
1234
+ status: "error",
1235
+ reason: AGENT_REASON.INVALID_ARGUMENTS,
1236
+ message: projectFlagMissingArg ? "`--project` requires a project name or id (for example `--project my-app`)." : msg,
1237
+ next: projectFlagMissingArg ? [
1238
+ {
1239
+ command: buildCommandWithGlobalFlags(
1240
+ client.argv,
1241
+ "alerts --project <name-or-id>"
1242
+ ),
1243
+ when: "Re-run with a project name or id (replace placeholder)"
1244
+ },
1245
+ {
1246
+ command: buildCommandWithGlobalFlags(
1247
+ client.argv,
1248
+ "alerts --help"
1249
+ ),
1250
+ when: "See all `alerts` flags and examples"
1251
+ }
1252
+ ] : [
1253
+ {
1254
+ command: buildCommandWithGlobalFlags(
1255
+ client.argv,
1256
+ "alerts --help"
1257
+ ),
1258
+ when: "See valid flags and examples"
1259
+ }
1260
+ ]
1261
+ },
1262
+ 1
1263
+ );
1264
+ }
1200
1265
  printError(err);
1201
1266
  return 1;
1202
1267
  }
1203
- const { subcommandOriginal } = getSubcommand4(
1268
+ const { subcommand, args, subcommandOriginal } = getSubcommand4(
1204
1269
  parsedArgs.args.slice(1),
1205
1270
  COMMAND_CONFIG4
1206
1271
  );
1207
1272
  const needHelp = parsedArgs.flags["--help"];
1273
+ function printHelp(command) {
1274
+ output_manager_default.print(
1275
+ help(command, { parent: alertsCommand, columns: client.stderr.columns })
1276
+ );
1277
+ }
1208
1278
  if (needHelp) {
1279
+ if (subcommand === "inspect") {
1280
+ telemetry2.trackCliFlagHelp("alerts", "inspect");
1281
+ printHelp(inspectSubcommand);
1282
+ return 0;
1283
+ }
1284
+ if (subcommand === "rules") {
1285
+ telemetry2.trackCliFlagHelp("alerts", "rules");
1286
+ const nested = args[0];
1287
+ if (nested === "ls" || nested === "list") {
1288
+ printHelp(rulesLsSubcommand);
1289
+ return 0;
1290
+ }
1291
+ if (nested === "add" || nested === "create") {
1292
+ printHelp(rulesAddSubcommand);
1293
+ return 0;
1294
+ }
1295
+ if (nested === "inspect" || nested === "get") {
1296
+ printHelp(rulesInspectSubcommand);
1297
+ return 0;
1298
+ }
1299
+ if (nested === "rm" || nested === "remove" || nested === "delete") {
1300
+ printHelp(rulesRmSubcommand);
1301
+ return 0;
1302
+ }
1303
+ if (nested === "update" || nested === "patch") {
1304
+ printHelp(rulesUpdateSubcommand);
1305
+ return 0;
1306
+ }
1307
+ output_manager_default.print(
1308
+ help(rulesAggregateCommand, {
1309
+ parent: alertsCommand,
1310
+ columns: client.stderr.columns
1311
+ })
1312
+ );
1313
+ return 0;
1314
+ }
1209
1315
  telemetry2.trackCliFlagHelp("alerts", subcommandOriginal);
1210
1316
  output_manager_default.print(help(alertsCommand, { columns: client.stderr.columns }));
1211
1317
  return 0;
1212
1318
  }
1213
- telemetry2.trackCliSubcommandLs(subcommandOriginal);
1214
- const listFn = (await import("./chunks/list-VFPV4TUW.js")).default;
1215
- return listFn(client, telemetry2);
1319
+ switch (subcommand) {
1320
+ case "inspect": {
1321
+ telemetry2.trackCliSubcommandInspect(subcommandOriginal);
1322
+ const inspectFn = (await import("./chunks/inspect-QMY2ZE6J.js")).default;
1323
+ return inspectFn(client, args);
1324
+ }
1325
+ case "rules": {
1326
+ telemetry2.trackCliSubcommandRules(args[0] ?? "ls");
1327
+ const rulesFn = (await import("./chunks/rules-4ZH7VTGC.js")).default;
1328
+ return rulesFn(client, args);
1329
+ }
1330
+ default: {
1331
+ telemetry2.trackCliSubcommandLs(subcommandOriginal);
1332
+ const listFn = (await import("./chunks/list-FF4VGSZ2.js")).default;
1333
+ return listFn(client, telemetry2);
1334
+ }
1335
+ }
1216
1336
  }
1217
1337
 
1218
1338
  // src/commands/alias/ls.ts
@@ -10422,7 +10542,7 @@ async function inspect(client, argv) {
10422
10542
  }
10423
10543
  });
10424
10544
  let parsedArgs;
10425
- const flagsSpecification = getFlagsSpecification(inspectSubcommand.options);
10545
+ const flagsSpecification = getFlagsSpecification(inspectSubcommand2.options);
10426
10546
  try {
10427
10547
  parsedArgs = parseArguments(argv, flagsSpecification);
10428
10548
  } catch (error) {
@@ -11438,7 +11558,7 @@ async function main8(client) {
11438
11558
  case "inspect":
11439
11559
  if (needHelp) {
11440
11560
  telemetry2.trackCliFlagHelp("domains", subcommandOriginal);
11441
- return printHelp(inspectSubcommand);
11561
+ return printHelp(inspectSubcommand2);
11442
11562
  }
11443
11563
  telemetry2.trackCliSubcommandInspect(subcommandOriginal);
11444
11564
  return inspect(client, args);
@@ -14217,7 +14337,7 @@ var import_chalk70 = __toESM(require_source(), 1);
14217
14337
  async function inspect2(client, argv) {
14218
14338
  const parsed = await parseSubcommandArgs2(
14219
14339
  argv,
14220
- rulesInspectSubcommand,
14340
+ rulesInspectSubcommand2,
14221
14341
  client,
14222
14342
  "rules inspect"
14223
14343
  );
@@ -16148,7 +16268,7 @@ async function createFromGenerated(client, project, teamId, rule, opts) {
16148
16268
  async function add6(client, argv) {
16149
16269
  const parsed = await parseSubcommandArgs2(
16150
16270
  argv,
16151
- rulesAddSubcommand,
16271
+ rulesAddSubcommand2,
16152
16272
  client,
16153
16273
  "rules add"
16154
16274
  );
@@ -17900,8 +18020,8 @@ async function reorder(client, argv) {
17900
18020
  // src/commands/firewall/rules/index.ts
17901
18021
  var COMMAND_CONFIG17 = {
17902
18022
  list: getCommandAliases(rulesListSubcommand),
17903
- inspect: getCommandAliases(rulesInspectSubcommand),
17904
- add: getCommandAliases(rulesAddSubcommand),
18023
+ inspect: getCommandAliases(rulesInspectSubcommand2),
18024
+ add: getCommandAliases(rulesAddSubcommand2),
17905
18025
  edit: getCommandAliases(rulesEditSubcommand),
17906
18026
  enable: getCommandAliases(rulesEnableSubcommand),
17907
18027
  disable: getCommandAliases(rulesDisableSubcommand),
@@ -17960,7 +18080,7 @@ async function main13(client, args) {
17960
18080
  case "inspect":
17961
18081
  if (needHelp) {
17962
18082
  telemetry2.trackCliFlagHelp("firewall", `rules:${subcommandOriginal}`);
17963
- printHelp(rulesInspectSubcommand);
18083
+ printHelp(rulesInspectSubcommand2);
17964
18084
  return 2;
17965
18085
  }
17966
18086
  telemetry2.trackCliSubcommandRulesInspect(subcommandOriginal);
@@ -17968,7 +18088,7 @@ async function main13(client, args) {
17968
18088
  case "add":
17969
18089
  if (needHelp) {
17970
18090
  telemetry2.trackCliFlagHelp("firewall", `rules:${subcommandOriginal}`);
17971
- printHelp(rulesAddSubcommand);
18091
+ printHelp(rulesAddSubcommand2);
17972
18092
  return 2;
17973
18093
  }
17974
18094
  telemetry2.trackCliSubcommandRulesAdd(subcommandOriginal);
@@ -19557,6 +19677,7 @@ function getFlagsDashboardUrl(orgSlug, projectName) {
19557
19677
 
19558
19678
  // src/util/flags/resolve-variant.ts
19559
19679
  var import_chalk88 = __toESM(require_source(), 1);
19680
+ var import_fast_deep_equal = __toESM(require_fast_deep_equal(), 1);
19560
19681
  function formatVariantValue(value) {
19561
19682
  return JSON.stringify(value);
19562
19683
  }
@@ -19575,15 +19696,15 @@ function resolveVariant(input, variants) {
19575
19696
  if (byId) {
19576
19697
  return { variant: byId, error: null };
19577
19698
  }
19578
- const byExactValue = variants.find((v) => v.value === input);
19579
- if (byExactValue) {
19580
- return { variant: byExactValue, error: null };
19581
- }
19582
19699
  const parsedInput = parseVariantValue(input);
19583
19700
  const byValue = variants.find((v) => valuesMatch(v.value, parsedInput));
19584
19701
  if (byValue) {
19585
19702
  return { variant: byValue, error: null };
19586
19703
  }
19704
+ const byExactStringValue = variants.find((v) => v.value === input);
19705
+ if (byExactStringValue) {
19706
+ return { variant: byExactStringValue, error: null };
19707
+ }
19587
19708
  const availableList = formatAvailableVariants(variants);
19588
19709
  const error = `Variant "${input}" not found.
19589
19710
 
@@ -19594,27 +19715,29 @@ You can specify a variant by its ID or value.`;
19594
19715
  return { variant: null, error };
19595
19716
  }
19596
19717
  function parseVariantValue(input) {
19597
- const lowerInput = input.toLowerCase();
19598
- if (lowerInput === "true") {
19599
- return true;
19718
+ const trimmed = input.trim();
19719
+ if (!trimmed) {
19720
+ return input;
19600
19721
  }
19601
- if (lowerInput === "false") {
19602
- return false;
19603
- }
19604
- const num = Number(input);
19605
- if (!isNaN(num) && input.trim() !== "") {
19606
- return num;
19722
+ try {
19723
+ return JSON.parse(trimmed);
19724
+ } catch {
19725
+ const lowerInput = trimmed.toLowerCase();
19726
+ if (lowerInput === "true") {
19727
+ return true;
19728
+ }
19729
+ if (lowerInput === "false") {
19730
+ return false;
19731
+ }
19732
+ const parsedNumber = Number(trimmed);
19733
+ if (!Number.isNaN(parsedNumber)) {
19734
+ return parsedNumber;
19735
+ }
19736
+ return input;
19607
19737
  }
19608
- return input;
19609
19738
  }
19610
19739
  function valuesMatch(variantValue, inputValue) {
19611
- if (variantValue === inputValue) {
19612
- return true;
19613
- }
19614
- if (String(variantValue) === String(inputValue)) {
19615
- return true;
19616
- }
19617
- return false;
19740
+ return (0, import_fast_deep_equal.default)(variantValue, inputValue);
19618
19741
  }
19619
19742
  function formatAvailableVariant(variant) {
19620
19743
  const value = formatStyledVariantValue(variant.value);
@@ -19870,12 +19993,12 @@ function formatCondition2(condition, settings) {
19870
19993
  } else {
19871
19994
  lhs = `${condition.lhs.kind}.${condition.lhs.attribute}`;
19872
19995
  }
19873
- const cmp = import_chalk89.default.dim(formatComparison(condition.cmp));
19996
+ const cmp = import_chalk89.default.dim(formatComparison(condition));
19874
19997
  if (condition.rhs === void 0 || condition.rhs === null) {
19875
19998
  return { text: `${lhs} ${cmp}` };
19876
19999
  }
19877
20000
  if (typeof condition.rhs === "object") {
19878
- if (condition.rhs.type === "list" && Array.isArray(condition.rhs.items)) {
20001
+ if ((condition.rhs.type === "list" || condition.rhs.type === "list/inline") && Array.isArray(condition.rhs.items)) {
19879
20002
  const items = condition.rhs.items.map((item) => {
19880
20003
  const itemValue = typeof item === "object" && item !== null && "value" in item ? String(item.value) : String(item);
19881
20004
  if (condition.lhs.type === "entity") {
@@ -19907,7 +20030,7 @@ function formatCondition2(condition, settings) {
19907
20030
  }
19908
20031
  return { text: `${lhs} ${cmp} ${rhs}` };
19909
20032
  }
19910
- function formatComparison(cmp) {
20033
+ function formatComparison(condition) {
19911
20034
  const operators = {
19912
20035
  eq: "is",
19913
20036
  oneOf: "is in",
@@ -19923,7 +20046,11 @@ function formatComparison(cmp) {
19923
20046
  containsAllOf: "contains all of",
19924
20047
  containsNoneOf: "contains none of"
19925
20048
  };
19926
- return operators[cmp] || cmp;
20049
+ const label = operators[condition.cmp] || condition.cmp;
20050
+ if (condition.cmpOptions?.ignoreCase) {
20051
+ return `${label} (case-insensitive)`;
20052
+ }
20053
+ return label;
19927
20054
  }
19928
20055
 
19929
20056
  // src/commands/flags/inspect.ts
@@ -19934,7 +20061,7 @@ async function inspect3(client, argv) {
19934
20061
  }
19935
20062
  });
19936
20063
  let parsedArgs;
19937
- const flagsSpecification = getFlagsSpecification(inspectSubcommand2.options);
20064
+ const flagsSpecification = getFlagsSpecification(inspectSubcommand3.options);
19938
20065
  try {
19939
20066
  parsedArgs = parseArguments(argv, flagsSpecification);
19940
20067
  } catch (err) {
@@ -20085,9 +20212,9 @@ async function create2(client, argv) {
20085
20212
  telemetryClient.trackCliArgumentSlug(slug);
20086
20213
  telemetryClient.trackCliOptionKind(kind);
20087
20214
  telemetryClient.trackCliOptionDescription(description);
20088
- if (kind !== "boolean" && kind !== "string" && kind !== "number") {
20215
+ if (kind !== "boolean" && kind !== "string" && kind !== "number" && kind !== "json") {
20089
20216
  output_manager_default.error(
20090
- `Invalid kind: ${kind}. Must be one of: boolean, string, number`
20217
+ `Invalid kind: ${kind}. Must be one of: boolean, string, number, json`
20091
20218
  );
20092
20219
  return 1;
20093
20220
  }
@@ -20160,7 +20287,9 @@ async function getVariants(client, kind, variantInputs) {
20160
20287
  return getDefaultVariants(kind);
20161
20288
  }
20162
20289
  if (variantInputs.length > 0) {
20163
- return variantInputs.map((input) => parseVariantInput(input, kind));
20290
+ return variantInputs.map(
20291
+ (input, index) => parseVariantInput(input, kind, index)
20292
+ );
20164
20293
  }
20165
20294
  if (!client.stdin.isTTY) {
20166
20295
  throw new Error(
@@ -20175,7 +20304,7 @@ async function collectVariantsInteractively(client, kind) {
20175
20304
  while (addAnother || variants.length === 0) {
20176
20305
  const variantNumber = variants.length + 1;
20177
20306
  const valueInput = await client.input.text({
20178
- message: `Enter value for variant ${variantNumber}:`,
20307
+ message: kind === "json" ? `Enter JSON value for variant ${variantNumber}:` : `Enter value for variant ${variantNumber}:`,
20179
20308
  validate: (value) => {
20180
20309
  const result = validateVariantValue(value, kind);
20181
20310
  return result === null ? true : result;
@@ -20185,7 +20314,11 @@ async function collectVariantsInteractively(client, kind) {
20185
20314
  message: `Enter an optional label for variant ${variantNumber}:`
20186
20315
  });
20187
20316
  variants.push(
20188
- parseVariantInput(formatVariantInput(valueInput, label), kind)
20317
+ parseVariantInput(
20318
+ formatVariantInput(valueInput, label),
20319
+ kind,
20320
+ variants.length
20321
+ )
20189
20322
  );
20190
20323
  addAnother = await client.input.confirm("Add another variant?", false);
20191
20324
  }
@@ -20214,10 +20347,8 @@ function formatVariantInput(valueInput, label) {
20214
20347
  const trimmedLabel = label.trim();
20215
20348
  return trimmedLabel ? `${valueInput}=${trimmedLabel}` : valueInput;
20216
20349
  }
20217
- function parseVariantInput(input, kind) {
20218
- const separatorIndex = input.indexOf("=");
20219
- const rawValue = separatorIndex === -1 ? input.trim() : input.slice(0, separatorIndex).trim();
20220
- const rawLabel = separatorIndex === -1 ? void 0 : input.slice(separatorIndex + 1).trim();
20350
+ function parseVariantInput(input, kind, index) {
20351
+ const { rawValue, rawLabel } = splitVariantInput(input, kind);
20221
20352
  const validationError = validateVariantValue(rawValue, kind);
20222
20353
  if (validationError) {
20223
20354
  throw new Error(`Invalid variant "${input}": ${validationError}`);
@@ -20225,10 +20356,47 @@ function parseVariantInput(input, kind) {
20225
20356
  return {
20226
20357
  id: variantId(),
20227
20358
  value: parseVariantValue2(rawValue, kind),
20228
- label: rawLabel || void 0,
20359
+ label: getVariantLabel(rawLabel, kind, index),
20229
20360
  description: ""
20230
20361
  };
20231
20362
  }
20363
+ function splitVariantInput(input, kind) {
20364
+ if (kind !== "json") {
20365
+ const separatorIndex = input.indexOf("=");
20366
+ return {
20367
+ rawValue: separatorIndex === -1 ? input.trim() : input.slice(0, separatorIndex).trim(),
20368
+ rawLabel: separatorIndex === -1 ? void 0 : input.slice(separatorIndex + 1).trim() || void 0
20369
+ };
20370
+ }
20371
+ const trimmed = input.trim();
20372
+ if (isValidJsonVariantValue(trimmed)) {
20373
+ return { rawValue: trimmed };
20374
+ }
20375
+ for (let index = trimmed.length - 1; index >= 0; index--) {
20376
+ if (trimmed[index] !== "=") {
20377
+ continue;
20378
+ }
20379
+ const rawValue = trimmed.slice(0, index).trim();
20380
+ const rawLabel = trimmed.slice(index + 1).trim();
20381
+ if (!rawValue || !isValidJsonVariantValue(rawValue)) {
20382
+ continue;
20383
+ }
20384
+ return {
20385
+ rawValue,
20386
+ rawLabel: rawLabel || void 0
20387
+ };
20388
+ }
20389
+ return { rawValue: trimmed };
20390
+ }
20391
+ function getVariantLabel(rawLabel, kind, index) {
20392
+ if (rawLabel) {
20393
+ return rawLabel;
20394
+ }
20395
+ if (kind === "json") {
20396
+ return `Variant ${index + 1}`;
20397
+ }
20398
+ return void 0;
20399
+ }
20232
20400
  function validateVariantValue(value, kind) {
20233
20401
  if (!value.trim()) {
20234
20402
  return "value cannot be empty";
@@ -20239,12 +20407,18 @@ function validateVariantValue(value, kind) {
20239
20407
  return "number variants must be valid numeric values";
20240
20408
  }
20241
20409
  }
20410
+ if (kind === "json" && !isValidJsonVariantValue(value)) {
20411
+ return "JSON variants must be valid JSON";
20412
+ }
20242
20413
  return null;
20243
20414
  }
20244
20415
  function parseVariantValue2(value, kind) {
20245
20416
  if (kind === "number") {
20246
20417
  return Number(value);
20247
20418
  }
20419
+ if (kind === "json") {
20420
+ return JSON.parse(value);
20421
+ }
20248
20422
  return value;
20249
20423
  }
20250
20424
  function getDefaultVariants(kind) {
@@ -20266,9 +20440,18 @@ function getDefaultVariants(kind) {
20266
20440
  ];
20267
20441
  case "string":
20268
20442
  case "number":
20443
+ case "json":
20269
20444
  throw new Error(`Default variants are not supported for kind: ${kind}`);
20270
20445
  }
20271
20446
  }
20447
+ function isValidJsonVariantValue(value) {
20448
+ try {
20449
+ JSON.parse(value);
20450
+ return true;
20451
+ } catch {
20452
+ return false;
20453
+ }
20454
+ }
20272
20455
 
20273
20456
  // src/commands/flags/open.ts
20274
20457
  var import_open3 = __toESM(require_open(), 1);
@@ -20348,6 +20531,7 @@ async function openFlag(client, argv) {
20348
20531
 
20349
20532
  // src/commands/flags/update.ts
20350
20533
  var import_chalk91 = __toESM(require_source(), 1);
20534
+ var import_fast_deep_equal2 = __toESM(require_fast_deep_equal(), 1);
20351
20535
 
20352
20536
  // src/util/flags/update-flag.ts
20353
20537
  async function updateFlag(client, projectId, flagIdOrSlug, request2) {
@@ -20623,7 +20807,7 @@ function applyVariantUpdates(flag, updates) {
20623
20807
  const nextLabel = update3.label ?? result.variant.label;
20624
20808
  const variantIndex = variants.findIndex((v) => v.id === result.variant.id);
20625
20809
  const existingVariant = variants[variantIndex];
20626
- const hasChanged = existingVariant.value !== nextValue || existingVariant.label !== nextLabel;
20810
+ const hasChanged = !(0, import_fast_deep_equal2.default)(existingVariant.value, nextValue) || existingVariant.label !== nextLabel;
20627
20811
  variants[variantIndex] = {
20628
20812
  ...existingVariant,
20629
20813
  value: nextValue,
@@ -20657,6 +20841,9 @@ function parseUpdatedVariantValue(valueInput, kind, existingVariant) {
20657
20841
  if (kind === "number") {
20658
20842
  return Number(valueInput);
20659
20843
  }
20844
+ if (kind === "json") {
20845
+ return JSON.parse(valueInput);
20846
+ }
20660
20847
  return valueInput;
20661
20848
  }
20662
20849
  function validateVariantValue2(value, kind) {
@@ -20675,6 +20862,13 @@ function validateVariantValue2(value, kind) {
20675
20862
  return "Number variants must be valid numeric values";
20676
20863
  }
20677
20864
  }
20865
+ if (kind === "json") {
20866
+ try {
20867
+ JSON.parse(value);
20868
+ } catch {
20869
+ return "JSON variant values must be valid JSON";
20870
+ }
20871
+ }
20678
20872
  return null;
20679
20873
  }
20680
20874
 
@@ -22443,7 +22637,7 @@ async function decryptOverrides(encryptedData, secret) {
22443
22637
  // src/commands/flags/index.ts
22444
22638
  var COMMAND_CONFIG21 = {
22445
22639
  ls: getCommandAliases(listSubcommand9),
22446
- inspect: getCommandAliases(inspectSubcommand2),
22640
+ inspect: getCommandAliases(inspectSubcommand3),
22447
22641
  create: getCommandAliases(createSubcommand2),
22448
22642
  open: getCommandAliases(openSubcommand),
22449
22643
  update: getCommandAliases(updateSubcommand2),
@@ -22500,7 +22694,7 @@ async function main16(client) {
22500
22694
  case "inspect":
22501
22695
  if (needHelp) {
22502
22696
  telemetry2.trackCliFlagHelp("flags", subcommandOriginal);
22503
- printHelp(inspectSubcommand2);
22697
+ printHelp(inspectSubcommand3);
22504
22698
  return 2;
22505
22699
  }
22506
22700
  telemetry2.trackCliSubcommandInspect(subcommandOriginal);
@@ -30608,7 +30802,7 @@ async function metrics(client) {
30608
30802
  return 0;
30609
30803
  }
30610
30804
  telemetry2.trackCliSubcommandSchema(subcommandOriginal);
30611
- const schemaFn = (await import("./chunks/schema-G5FSLZVA.js")).default;
30805
+ const schemaFn = (await import("./chunks/schema-OK4OOI2N.js")).default;
30612
30806
  return schemaFn(client, telemetry2);
30613
30807
  }
30614
30808
  default: {
@@ -30621,7 +30815,7 @@ async function metrics(client) {
30621
30815
  output_manager_default.print(help(metricsCommand, { columns: client.stderr.columns }));
30622
30816
  return 2;
30623
30817
  }
30624
- const queryFn = (await import("./chunks/query-CY7JJSSX.js")).default;
30818
+ const queryFn = (await import("./chunks/query-LACPOOBL.js")).default;
30625
30819
  return queryFn(client, telemetry2);
30626
30820
  }
30627
30821
  }
@@ -33823,7 +34017,7 @@ async function inspect5(client, argv) {
33823
34017
  }
33824
34018
  });
33825
34019
  let parsedArgs;
33826
- const flagsSpecification = getFlagsSpecification(inspectSubcommand3.options);
34020
+ const flagsSpecification = getFlagsSpecification(inspectSubcommand4.options);
33827
34021
  try {
33828
34022
  parsedArgs = parseArguments(argv, flagsSpecification);
33829
34023
  } catch (error) {
@@ -35107,7 +35301,7 @@ var ProjectTelemetryClient = class extends TelemetryClient {
35107
35301
 
35108
35302
  // src/commands/project/index.ts
35109
35303
  var COMMAND_CONFIG30 = {
35110
- inspect: getCommandAliases(inspectSubcommand3),
35304
+ inspect: getCommandAliases(inspectSubcommand4),
35111
35305
  list: getCommandAliases(listSubcommand11),
35112
35306
  members: getCommandAliases(membersSubcommand),
35113
35307
  accessGroups: getCommandAliases(accessGroupsSubcommand),
@@ -35160,7 +35354,7 @@ async function main24(client) {
35160
35354
  case "inspect":
35161
35355
  if (needHelp) {
35162
35356
  telemetry2.trackCliFlagHelp("project", subcommandOriginal);
35163
- return printHelp(inspectSubcommand3);
35357
+ return printHelp(inspectSubcommand4);
35164
35358
  }
35165
35359
  telemetry2.trackCliSubcommandInspect(subcommandOriginal);
35166
35360
  return inspect5(client, args);
@@ -39933,7 +40127,7 @@ function withGlobalFlags7(client, commandTemplate) {
39933
40127
  return getCommandNamePlain(`${commandTemplate} ${flags.join(" ")}`.trim());
39934
40128
  }
39935
40129
  async function inspect6(client, argv) {
39936
- const parsed = await parseSubcommandArgs(argv, inspectSubcommand4, client);
40130
+ const parsed = await parseSubcommandArgs(argv, inspectSubcommand5, client);
39937
40131
  if (typeof parsed === "number")
39938
40132
  return parsed;
39939
40133
  const link = await ensureProjectLink(client);
@@ -41433,7 +41627,7 @@ async function createFromGenerated2(client, projectId, teamId, generated, existi
41433
41627
  var COMMAND_CONFIG33 = {
41434
41628
  list: getCommandAliases(listSubcommand13),
41435
41629
  "list-versions": getCommandAliases(listVersionsSubcommand2),
41436
- inspect: getCommandAliases(inspectSubcommand4),
41630
+ inspect: getCommandAliases(inspectSubcommand5),
41437
41631
  add: getCommandAliases(addSubcommand9),
41438
41632
  edit: getCommandAliases(editSubcommand),
41439
41633
  delete: getCommandAliases(deleteSubcommand),
@@ -41500,7 +41694,7 @@ async function main26(client) {
41500
41694
  case "inspect":
41501
41695
  if (needHelp) {
41502
41696
  telemetry2.trackCliFlagHelp("routes", subcommandOriginal);
41503
- printHelp(inspectSubcommand4);
41697
+ printHelp(inspectSubcommand5);
41504
41698
  return 2;
41505
41699
  }
41506
41700
  telemetry2.trackCliSubcommandInspect(subcommandOriginal);
@@ -41520,7 +41714,7 @@ async function main26(client) {
41520
41714
  return 2;
41521
41715
  }
41522
41716
  telemetry2.trackCliSubcommandEdit(subcommandOriginal);
41523
- return (await import("./chunks/edit-F3J7Q5SZ.js")).default(client, args);
41717
+ return (await import("./chunks/edit-YTMZBT4Y.js")).default(client, args);
41524
41718
  case "delete":
41525
41719
  if (needHelp) {
41526
41720
  telemetry2.trackCliFlagHelp("routes", subcommandOriginal);
@@ -41528,7 +41722,7 @@ async function main26(client) {
41528
41722
  return 2;
41529
41723
  }
41530
41724
  telemetry2.trackCliSubcommandDelete(subcommandOriginal);
41531
- return (await import("./chunks/delete-PXMYSQGR.js")).default(client, args);
41725
+ return (await import("./chunks/delete-SEQBCYWT.js")).default(client, args);
41532
41726
  case "enable":
41533
41727
  if (needHelp) {
41534
41728
  telemetry2.trackCliFlagHelp("routes", subcommandOriginal);
@@ -41536,7 +41730,7 @@ async function main26(client) {
41536
41730
  return 2;
41537
41731
  }
41538
41732
  telemetry2.trackCliSubcommandEnable(subcommandOriginal);
41539
- return (await import("./chunks/enable-ZW4W33H5.js")).default(client, args);
41733
+ return (await import("./chunks/enable-SSU3MG6J.js")).default(client, args);
41540
41734
  case "disable":
41541
41735
  if (needHelp) {
41542
41736
  telemetry2.trackCliFlagHelp("routes", subcommandOriginal);
@@ -41544,7 +41738,7 @@ async function main26(client) {
41544
41738
  return 2;
41545
41739
  }
41546
41740
  telemetry2.trackCliSubcommandDisable(subcommandOriginal);
41547
- return (await import("./chunks/disable-2ZQ4OG4A.js")).default(client, args);
41741
+ return (await import("./chunks/disable-GRM5DJGU.js")).default(client, args);
41548
41742
  case "reorder":
41549
41743
  if (needHelp) {
41550
41744
  telemetry2.trackCliFlagHelp("routes", subcommandOriginal);
@@ -41552,7 +41746,7 @@ async function main26(client) {
41552
41746
  return 2;
41553
41747
  }
41554
41748
  telemetry2.trackCliSubcommandReorder(subcommandOriginal);
41555
- return (await import("./chunks/reorder-6L7MENN5.js")).default(client, args);
41749
+ return (await import("./chunks/reorder-TBFWHFQZ.js")).default(client, args);
41556
41750
  case "export":
41557
41751
  if (needHelp) {
41558
41752
  telemetry2.trackCliFlagHelp("routes", subcommandOriginal);
@@ -41560,7 +41754,7 @@ async function main26(client) {
41560
41754
  return 2;
41561
41755
  }
41562
41756
  telemetry2.trackCliSubcommandExport(subcommandOriginal);
41563
- return (await import("./chunks/export-ZZV6ESIW.js")).default(client, args);
41757
+ return (await import("./chunks/export-INCDZTYW.js")).default(client, args);
41564
41758
  case "publish":
41565
41759
  if (needHelp) {
41566
41760
  telemetry2.trackCliFlagHelp("routes", subcommandOriginal);
@@ -41568,7 +41762,7 @@ async function main26(client) {
41568
41762
  return 2;
41569
41763
  }
41570
41764
  telemetry2.trackCliSubcommandPublish(subcommandOriginal);
41571
- return (await import("./chunks/publish-3K76MNS3.js")).default(client, args);
41765
+ return (await import("./chunks/publish-OJQCVDL5.js")).default(client, args);
41572
41766
  case "restore":
41573
41767
  if (needHelp) {
41574
41768
  telemetry2.trackCliFlagHelp("routes", subcommandOriginal);
@@ -41576,7 +41770,7 @@ async function main26(client) {
41576
41770
  return 2;
41577
41771
  }
41578
41772
  telemetry2.trackCliSubcommandRestore(subcommandOriginal);
41579
- return (await import("./chunks/restore-XUYXOJQ2.js")).default(client, args);
41773
+ return (await import("./chunks/restore-5LUZRUME.js")).default(client, args);
41580
41774
  case "discard-staging":
41581
41775
  if (needHelp) {
41582
41776
  telemetry2.trackCliFlagHelp("routes", subcommandOriginal);
@@ -41584,7 +41778,7 @@ async function main26(client) {
41584
41778
  return 2;
41585
41779
  }
41586
41780
  telemetry2.trackCliSubcommandDiscardStaging(subcommandOriginal);
41587
- return (await import("./chunks/discard-FQZTZ5HK.js")).default(client, args);
41781
+ return (await import("./chunks/discard-IVQWWSPI.js")).default(client, args);
41588
41782
  default:
41589
41783
  output_manager_default.error(getInvalidSubcommand(COMMAND_CONFIG33));
41590
41784
  output_manager_default.print(help(routesCommand, { columns: client.stderr.columns }));