@sanity/runtime-cli 14.13.3 → 15.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 (65) hide show
  1. package/README.md +215 -118
  2. package/dist/actions/blueprints/blueprint.js +13 -11
  3. package/dist/actions/blueprints/logs.d.ts +2 -1
  4. package/dist/actions/blueprints/logs.js +4 -5
  5. package/dist/actions/blueprints/resources.js +1 -0
  6. package/dist/actions/blueprints/stacks.d.ts +3 -1
  7. package/dist/actions/blueprints/stacks.js +11 -2
  8. package/dist/actions/functions/test.js +1 -1
  9. package/dist/actions/sanity/access.d.ts +38 -0
  10. package/dist/actions/sanity/access.js +23 -0
  11. package/dist/actions/sanity/projects.d.ts +1 -1
  12. package/dist/baseCommands.d.ts +2 -0
  13. package/dist/baseCommands.js +8 -5
  14. package/dist/commands/blueprints/add.js +1 -1
  15. package/dist/commands/blueprints/deploy.d.ts +2 -0
  16. package/dist/commands/blueprints/deploy.js +6 -2
  17. package/dist/commands/blueprints/destroy.js +0 -2
  18. package/dist/commands/blueprints/info.d.ts +1 -0
  19. package/dist/commands/blueprints/info.js +3 -1
  20. package/dist/commands/blueprints/init.js +2 -0
  21. package/dist/commands/blueprints/logs.d.ts +5 -0
  22. package/dist/commands/blueprints/logs.js +26 -3
  23. package/dist/commands/blueprints/mint-deploy-token.d.ts +14 -0
  24. package/dist/commands/blueprints/mint-deploy-token.js +47 -0
  25. package/dist/commands/blueprints/plan.d.ts +2 -0
  26. package/dist/commands/blueprints/plan.js +8 -2
  27. package/dist/commands/blueprints/promote.d.ts +2 -1
  28. package/dist/commands/blueprints/promote.js +7 -2
  29. package/dist/commands/blueprints/stacks.js +1 -1
  30. package/dist/commands/functions/add.js +1 -1
  31. package/dist/cores/blueprints/config.js +34 -34
  32. package/dist/cores/blueprints/doctor.js +7 -7
  33. package/dist/cores/blueprints/init.js +99 -76
  34. package/dist/cores/blueprints/logs.d.ts +3 -0
  35. package/dist/cores/blueprints/logs.js +15 -9
  36. package/dist/cores/blueprints/mint-deploy-token.d.ts +15 -0
  37. package/dist/cores/blueprints/mint-deploy-token.js +111 -0
  38. package/dist/cores/blueprints/promote.d.ts +1 -0
  39. package/dist/cores/blueprints/promote.js +25 -4
  40. package/dist/cores/functions/add.js +4 -5
  41. package/dist/cores/index.d.ts +1 -2
  42. package/dist/cores/index.js +1 -3
  43. package/dist/index.d.ts +0 -18
  44. package/dist/index.js +0 -20
  45. package/dist/utils/clipboard.d.ts +14 -0
  46. package/dist/utils/clipboard.js +73 -0
  47. package/dist/utils/display/errors.d.ts +5 -1
  48. package/dist/utils/display/prompt.d.ts +55 -15
  49. package/dist/utils/display/prompt.js +271 -45
  50. package/oclif.manifest.json +320 -18
  51. package/package.json +21 -67
  52. package/dist/actions/blueprints/index.d.ts +0 -16
  53. package/dist/actions/blueprints/index.js +0 -10
  54. package/dist/actions/functions/index.d.ts +0 -4
  55. package/dist/actions/functions/index.js +0 -4
  56. package/dist/actions/sanity/index.d.ts +0 -1
  57. package/dist/actions/sanity/index.js +0 -1
  58. package/dist/cores/blueprints/index.d.ts +0 -20
  59. package/dist/cores/blueprints/index.js +0 -10
  60. package/dist/cores/functions/index.d.ts +0 -16
  61. package/dist/cores/functions/index.js +0 -8
  62. package/dist/utils/display/index.d.ts +0 -5
  63. package/dist/utils/display/index.js +0 -5
  64. package/dist/utils/index.d.ts +0 -8
  65. package/dist/utils/index.js +0 -8
@@ -52,6 +52,7 @@
52
52
  },
53
53
  "validate-resources": {
54
54
  "description": "Validate resources",
55
+ "hidden": true,
55
56
  "name": "validate-resources",
56
57
  "allowNo": true,
57
58
  "type": "boolean"
@@ -77,6 +78,9 @@
77
78
  "projectId"
78
79
  ],
79
80
  "description": "Sanity project ID used to scope Blueprint and Stack",
81
+ "exclusive": [
82
+ "organization-id"
83
+ ],
80
84
  "hidden": true,
81
85
  "name": "project-id",
82
86
  "hasDynamicHelp": false,
@@ -90,6 +94,9 @@
90
94
  "org"
91
95
  ],
92
96
  "description": "Sanity organization ID used to scope Blueprint and Stack",
97
+ "exclusive": [
98
+ "project-id"
99
+ ],
93
100
  "hidden": true,
94
101
  "name": "organization-id",
95
102
  "hasDynamicHelp": false,
@@ -273,6 +280,7 @@
273
280
  },
274
281
  "validate-resources": {
275
282
  "description": "Validate resources",
283
+ "hidden": true,
276
284
  "name": "validate-resources",
277
285
  "allowNo": true,
278
286
  "type": "boolean"
@@ -307,6 +315,9 @@
307
315
  "edit"
308
316
  ],
309
317
  "description": "Sanity project ID used to scope Blueprint and Stack",
318
+ "exclusive": [
319
+ "organization-id"
320
+ ],
310
321
  "name": "project-id",
311
322
  "hasDynamicHelp": false,
312
323
  "multiple": false,
@@ -322,6 +333,9 @@
322
333
  "edit"
323
334
  ],
324
335
  "description": "Sanity organization ID used to scope Blueprint and Stack",
336
+ "exclusive": [
337
+ "project-id"
338
+ ],
325
339
  "name": "organization-id",
326
340
  "hasDynamicHelp": false,
327
341
  "multiple": false,
@@ -364,7 +378,10 @@
364
378
  "<%= config.bin %> <%= command.id %>",
365
379
  "<%= config.bin %> <%= command.id %> --message \"Enable staging dataset\"",
366
380
  "<%= config.bin %> <%= command.id %> --no-wait",
367
- "<%= config.bin %> <%= command.id %> --fn-installer npm"
381
+ "<%= config.bin %> <%= command.id %> --fn-installer npm",
382
+ "<%= config.bin %> <%= command.id %> --stack <name-or-id>",
383
+ "<%= config.bin %> <%= command.id %> --organization-id <orgId> --stack <name-or-id>",
384
+ "<%= config.bin %> <%= command.id %> --new-stack-name <new-name>"
368
385
  ],
369
386
  "flags": {
370
387
  "json": {
@@ -395,6 +412,7 @@
395
412
  },
396
413
  "validate-resources": {
397
414
  "description": "Validate resources",
415
+ "hidden": true,
398
416
  "name": "validate-resources",
399
417
  "allowNo": true,
400
418
  "type": "boolean"
@@ -419,7 +437,9 @@
419
437
  "projectId"
420
438
  ],
421
439
  "description": "Sanity project ID used to scope Blueprint and Stack",
422
- "hidden": true,
440
+ "exclusive": [
441
+ "organization-id"
442
+ ],
423
443
  "name": "project-id",
424
444
  "hasDynamicHelp": false,
425
445
  "multiple": false,
@@ -432,7 +452,9 @@
432
452
  "org"
433
453
  ],
434
454
  "description": "Sanity organization ID used to scope Blueprint and Stack",
435
- "hidden": true,
455
+ "exclusive": [
456
+ "project-id"
457
+ ],
436
458
  "name": "organization-id",
437
459
  "hasDynamicHelp": false,
438
460
  "multiple": false,
@@ -471,7 +493,6 @@
471
493
  },
472
494
  "new-stack-name": {
473
495
  "description": "Set a new name for the Stack",
474
- "hidden": true,
475
496
  "name": "new-stack-name",
476
497
  "hasDynamicHelp": false,
477
498
  "multiple": false,
@@ -536,6 +557,7 @@
536
557
  },
537
558
  "validate-resources": {
538
559
  "description": "Validate resources",
560
+ "hidden": true,
539
561
  "name": "validate-resources",
540
562
  "allowNo": true,
541
563
  "type": "boolean"
@@ -668,6 +690,7 @@
668
690
  },
669
691
  "validate-resources": {
670
692
  "description": "Validate resources",
693
+ "hidden": true,
671
694
  "name": "validate-resources",
672
695
  "allowNo": true,
673
696
  "type": "boolean"
@@ -709,7 +732,8 @@
709
732
  "examples": [
710
733
  "<%= config.bin %> <%= command.id %>",
711
734
  "<%= config.bin %> <%= command.id %> --stack <name-or-id>",
712
- "<%= config.bin %> <%= command.id %> --project-id <id> --stack <name-or-id>"
735
+ "<%= config.bin %> <%= command.id %> --project-id <id> --stack <name-or-id>",
736
+ "<%= config.bin %> <%= command.id %> --organization-id <orgId> --stack <name-or-id>"
713
737
  ],
714
738
  "flags": {
715
739
  "json": {
@@ -740,6 +764,7 @@
740
764
  },
741
765
  "validate-resources": {
742
766
  "description": "Validate resources",
767
+ "hidden": true,
743
768
  "name": "validate-resources",
744
769
  "allowNo": true,
745
770
  "type": "boolean"
@@ -767,6 +792,9 @@
767
792
  "projectId"
768
793
  ],
769
794
  "description": "Sanity project ID used to scope Blueprint and Stack",
795
+ "exclusive": [
796
+ "organization-id"
797
+ ],
770
798
  "name": "project-id",
771
799
  "hasDynamicHelp": false,
772
800
  "multiple": false,
@@ -779,7 +807,9 @@
779
807
  "org"
780
808
  ],
781
809
  "description": "Sanity organization ID used to scope Blueprint and Stack",
782
- "hidden": true,
810
+ "exclusive": [
811
+ "project-id"
812
+ ],
783
813
  "name": "organization-id",
784
814
  "hasDynamicHelp": false,
785
815
  "multiple": false,
@@ -851,6 +881,7 @@
851
881
  },
852
882
  "validate-resources": {
853
883
  "description": "Validate resources",
884
+ "hidden": true,
854
885
  "name": "validate-resources",
855
886
  "allowNo": true,
856
887
  "type": "boolean"
@@ -905,6 +936,9 @@
905
936
  "projectId"
906
937
  ],
907
938
  "description": "Sanity project ID used to scope Blueprint and Stack",
939
+ "exclusive": [
940
+ "organization-id"
941
+ ],
908
942
  "name": "project-id",
909
943
  "hasDynamicHelp": false,
910
944
  "multiple": false,
@@ -917,6 +951,9 @@
917
951
  "org"
918
952
  ],
919
953
  "description": "Sanity organization ID used to scope Blueprint and Stack",
954
+ "exclusive": [
955
+ "project-id"
956
+ ],
920
957
  "name": "organization-id",
921
958
  "hasDynamicHelp": false,
922
959
  "multiple": false,
@@ -931,6 +968,15 @@
931
968
  "stack-name"
932
969
  ],
933
970
  "name": "stack-id",
971
+ "relationships": [
972
+ {
973
+ "type": "some",
974
+ "flags": [
975
+ "project-id",
976
+ "organization-id"
977
+ ]
978
+ }
979
+ ],
934
980
  "hasDynamicHelp": false,
935
981
  "multiple": false,
936
982
  "type": "option"
@@ -944,6 +990,15 @@
944
990
  "stack-id"
945
991
  ],
946
992
  "name": "stack-name",
993
+ "relationships": [
994
+ {
995
+ "type": "some",
996
+ "flags": [
997
+ "project-id",
998
+ "organization-id"
999
+ ]
1000
+ }
1001
+ ],
947
1002
  "hasDynamicHelp": false,
948
1003
  "multiple": false,
949
1004
  "type": "option"
@@ -969,10 +1024,14 @@
969
1024
  "blueprints:logs": {
970
1025
  "aliases": [],
971
1026
  "args": {},
972
- "description": "Retrieves Stack deployment logs, useful for debugging and monitoring deployment activity.\n\nUse --watch (-w) to stream logs in real-time.\n\nIf you're not seeing expected logs, verify your Stack is deployed with 'blueprints info'.",
1027
+ "description": "Retrieves Stack deployment logs, useful for debugging and monitoring deployment activity.\n\nUse --watch (-w) to tail logs in real-time.\n\nUse --limit, --since, or --before to narrow the result set when not watching.\n\nIf you're not seeing expected logs, verify your Stack is deployed with 'blueprints info'.",
973
1028
  "examples": [
974
1029
  "<%= config.bin %> <%= command.id %>",
975
- "<%= config.bin %> <%= command.id %> --watch"
1030
+ "<%= config.bin %> <%= command.id %> --watch",
1031
+ "<%= config.bin %> <%= command.id %> --stack <name-or-id>",
1032
+ "<%= config.bin %> <%= command.id %> --limit 500",
1033
+ "<%= config.bin %> <%= command.id %> --since 2026-05-01T00:00:00Z",
1034
+ "<%= config.bin %> <%= command.id %> --before 2026-05-01T00:00:00Z"
976
1035
  ],
977
1036
  "flags": {
978
1037
  "json": {
@@ -1003,6 +1062,7 @@
1003
1062
  },
1004
1063
  "validate-resources": {
1005
1064
  "description": "Validate resources",
1065
+ "hidden": true,
1006
1066
  "name": "validate-resources",
1007
1067
  "allowNo": true,
1008
1068
  "type": "boolean"
@@ -1027,7 +1087,9 @@
1027
1087
  "projectId"
1028
1088
  ],
1029
1089
  "description": "Sanity project ID used to scope Blueprint and Stack",
1030
- "hidden": true,
1090
+ "exclusive": [
1091
+ "organization-id"
1092
+ ],
1031
1093
  "name": "project-id",
1032
1094
  "hasDynamicHelp": false,
1033
1095
  "multiple": false,
@@ -1040,7 +1102,9 @@
1040
1102
  "org"
1041
1103
  ],
1042
1104
  "description": "Sanity organization ID used to scope Blueprint and Stack",
1043
- "hidden": true,
1105
+ "exclusive": [
1106
+ "project-id"
1107
+ ],
1044
1108
  "name": "organization-id",
1045
1109
  "hasDynamicHelp": false,
1046
1110
  "multiple": false,
@@ -1051,10 +1115,41 @@
1051
1115
  "follow"
1052
1116
  ],
1053
1117
  "char": "w",
1054
- "description": "Watch for new Stack logs (streaming mode)",
1118
+ "description": "Watch for new Stack logs",
1055
1119
  "name": "watch",
1056
1120
  "allowNo": false,
1057
1121
  "type": "boolean"
1122
+ },
1123
+ "limit": {
1124
+ "char": "l",
1125
+ "description": "Maximum number of log entries to retrieve (1-500)",
1126
+ "exclusive": [
1127
+ "watch"
1128
+ ],
1129
+ "name": "limit",
1130
+ "hasDynamicHelp": false,
1131
+ "multiple": false,
1132
+ "type": "option"
1133
+ },
1134
+ "since": {
1135
+ "description": "Only show logs after this ISO 8601 timestamp",
1136
+ "exclusive": [
1137
+ "watch"
1138
+ ],
1139
+ "name": "since",
1140
+ "hasDynamicHelp": false,
1141
+ "multiple": false,
1142
+ "type": "option"
1143
+ },
1144
+ "before": {
1145
+ "description": "Only show logs before this ISO 8601 timestamp",
1146
+ "exclusive": [
1147
+ "watch"
1148
+ ],
1149
+ "name": "before",
1150
+ "hasDynamicHelp": false,
1151
+ "multiple": false,
1152
+ "type": "option"
1058
1153
  }
1059
1154
  },
1060
1155
  "hasDynamicHelp": false,
@@ -1077,12 +1172,143 @@
1077
1172
  "logs.js"
1078
1173
  ]
1079
1174
  },
1175
+ "blueprints:mint-deploy-token": {
1176
+ "aliases": [],
1177
+ "args": {},
1178
+ "description": "Mints a long-lived robot token with the role required to plan, deploy, and destroy Blueprints in this project or organization.\n\nBy default the command runs interactively and asks how you want to receive the token (clipboard, print, or exit). Use --print to emit only the raw token for shell pipelines, or --json for full API output.\n\nThe minted token is also visible in your Sanity Manage UI under Robots, where it can be revoked.",
1179
+ "examples": [
1180
+ "<%= config.bin %> <%= command.id %>",
1181
+ "<%= config.bin %> <%= command.id %> --label \"ci-deploy\"",
1182
+ "<%= config.bin %> <%= command.id %> --print",
1183
+ "export SANITY_AUTH_TOKEN=$(<%= config.bin %> <%= command.id %> --print)",
1184
+ "<%= config.bin %> <%= command.id %> --json",
1185
+ "<%= config.bin %> <%= command.id %> --project-id <projectId>",
1186
+ "<%= config.bin %> <%= command.id %> --organization-id <orgId>"
1187
+ ],
1188
+ "flags": {
1189
+ "json": {
1190
+ "description": "Format output as json",
1191
+ "name": "json",
1192
+ "allowNo": false,
1193
+ "type": "boolean"
1194
+ },
1195
+ "path": {
1196
+ "aliases": [
1197
+ "blueprint-path"
1198
+ ],
1199
+ "char": "p",
1200
+ "description": "Path to a Blueprint file or directory containing one",
1201
+ "env": "SANITY_BLUEPRINT_PATH",
1202
+ "hidden": true,
1203
+ "name": "path",
1204
+ "hasDynamicHelp": false,
1205
+ "multiple": false,
1206
+ "type": "option"
1207
+ },
1208
+ "trace": {
1209
+ "description": "Trace output",
1210
+ "hidden": true,
1211
+ "name": "trace",
1212
+ "allowNo": false,
1213
+ "type": "boolean"
1214
+ },
1215
+ "validate-resources": {
1216
+ "description": "Validate resources",
1217
+ "hidden": true,
1218
+ "name": "validate-resources",
1219
+ "allowNo": true,
1220
+ "type": "boolean"
1221
+ },
1222
+ "verbose": {
1223
+ "description": "Verbose output",
1224
+ "hidden": true,
1225
+ "name": "verbose",
1226
+ "allowNo": false,
1227
+ "type": "boolean"
1228
+ },
1229
+ "stack": {
1230
+ "description": "Stack name or ID to use instead of the locally configured Stack",
1231
+ "hidden": true,
1232
+ "name": "stack",
1233
+ "hasDynamicHelp": false,
1234
+ "multiple": false,
1235
+ "type": "option"
1236
+ },
1237
+ "project-id": {
1238
+ "aliases": [
1239
+ "project",
1240
+ "projectId"
1241
+ ],
1242
+ "description": "Sanity project ID used to scope Blueprint and Stack",
1243
+ "exclusive": [
1244
+ "organization-id"
1245
+ ],
1246
+ "name": "project-id",
1247
+ "hasDynamicHelp": false,
1248
+ "multiple": false,
1249
+ "type": "option"
1250
+ },
1251
+ "organization-id": {
1252
+ "aliases": [
1253
+ "organization",
1254
+ "organizationId",
1255
+ "org"
1256
+ ],
1257
+ "description": "Sanity organization ID used to scope Blueprint and Stack",
1258
+ "exclusive": [
1259
+ "project-id"
1260
+ ],
1261
+ "name": "organization-id",
1262
+ "hasDynamicHelp": false,
1263
+ "multiple": false,
1264
+ "type": "option"
1265
+ },
1266
+ "label": {
1267
+ "description": "Human-readable label for the robot. Defaults to a generated value.",
1268
+ "name": "label",
1269
+ "hasDynamicHelp": false,
1270
+ "multiple": false,
1271
+ "type": "option"
1272
+ },
1273
+ "print": {
1274
+ "char": "P",
1275
+ "description": "Print only the raw token to stdout (suitable for shell substitution)",
1276
+ "exclusive": [
1277
+ "json"
1278
+ ],
1279
+ "name": "print",
1280
+ "allowNo": false,
1281
+ "type": "boolean"
1282
+ }
1283
+ },
1284
+ "hasDynamicHelp": false,
1285
+ "hiddenAliases": [],
1286
+ "id": "blueprints:mint-deploy-token",
1287
+ "pluginAlias": "@sanity/runtime-cli",
1288
+ "pluginName": "@sanity/runtime-cli",
1289
+ "pluginType": "core",
1290
+ "strict": true,
1291
+ "summary": "Create a robot API token for deploying Blueprints from CI/CD",
1292
+ "enableJsonFlag": true,
1293
+ "needs": [
1294
+ "scope"
1295
+ ],
1296
+ "isESM": true,
1297
+ "relativePath": [
1298
+ "dist",
1299
+ "commands",
1300
+ "blueprints",
1301
+ "mint-deploy-token.js"
1302
+ ]
1303
+ },
1080
1304
  "blueprints:plan": {
1081
1305
  "aliases": [],
1082
1306
  "args": {},
1083
1307
  "description": "Use this command to preview what changes will be applied to your remote Stack before deploying. This is a safe, read-only operation—no resources are created, modified, or deleted.\n\nRun 'blueprints plan' after making local changes to your Blueprint manifest to verify the expected diff. When ready, run 'blueprints deploy' to apply changes.",
1084
1308
  "examples": [
1085
- "<%= config.bin %> <%= command.id %>"
1309
+ "<%= config.bin %> <%= command.id %>",
1310
+ "<%= config.bin %> <%= command.id %> --stack <name-or-id>",
1311
+ "<%= config.bin %> <%= command.id %> --organization-id <orgId> --stack <name-or-id>"
1086
1312
  ],
1087
1313
  "flags": {
1088
1314
  "json": {
@@ -1113,6 +1339,7 @@
1113
1339
  },
1114
1340
  "validate-resources": {
1115
1341
  "description": "Validate resources",
1342
+ "hidden": true,
1116
1343
  "name": "validate-resources",
1117
1344
  "allowNo": true,
1118
1345
  "type": "boolean"
@@ -1137,7 +1364,9 @@
1137
1364
  "projectId"
1138
1365
  ],
1139
1366
  "description": "Sanity project ID used to scope Blueprint and Stack",
1140
- "hidden": true,
1367
+ "exclusive": [
1368
+ "organization-id"
1369
+ ],
1141
1370
  "name": "project-id",
1142
1371
  "hasDynamicHelp": false,
1143
1372
  "multiple": false,
@@ -1150,7 +1379,9 @@
1150
1379
  "org"
1151
1380
  ],
1152
1381
  "description": "Sanity organization ID used to scope Blueprint and Stack",
1153
- "hidden": true,
1382
+ "exclusive": [
1383
+ "project-id"
1384
+ ],
1154
1385
  "name": "organization-id",
1155
1386
  "hasDynamicHelp": false,
1156
1387
  "multiple": false,
@@ -1184,7 +1415,9 @@
1184
1415
  "description": "Promotes a deployed Stack to organization scope, enabling management of org-level resources. Promotion cannot be reversed.\n\nYour local Blueprint configuration will be updated to reflect the new scope.",
1185
1416
  "examples": [
1186
1417
  "<%= config.bin %> <%= command.id %>",
1187
- "<%= config.bin %> <%= command.id %> --stack <name-or-id>"
1418
+ "<%= config.bin %> <%= command.id %> --stack <name-or-id>",
1419
+ "<%= config.bin %> <%= command.id %> --project-id <projectId> --stack <name-or-id>",
1420
+ "<%= config.bin %> <%= command.id %> --new-stack-name <new-name>"
1188
1421
  ],
1189
1422
  "flags": {
1190
1423
  "json": {
@@ -1215,6 +1448,7 @@
1215
1448
  },
1216
1449
  "validate-resources": {
1217
1450
  "description": "Validate resources",
1451
+ "hidden": true,
1218
1452
  "name": "validate-resources",
1219
1453
  "allowNo": true,
1220
1454
  "type": "boolean"
@@ -1242,7 +1476,9 @@
1242
1476
  "projectId"
1243
1477
  ],
1244
1478
  "description": "Sanity project ID used to scope Blueprint and Stack",
1245
- "hidden": true,
1479
+ "exclusive": [
1480
+ "organization-id"
1481
+ ],
1246
1482
  "name": "project-id",
1247
1483
  "hasDynamicHelp": false,
1248
1484
  "multiple": false,
@@ -1255,6 +1491,9 @@
1255
1491
  "org"
1256
1492
  ],
1257
1493
  "description": "Sanity organization ID used to scope Blueprint and Stack",
1494
+ "exclusive": [
1495
+ "project-id"
1496
+ ],
1258
1497
  "hidden": true,
1259
1498
  "name": "organization-id",
1260
1499
  "hasDynamicHelp": false,
@@ -1266,10 +1505,16 @@
1266
1505
  "name": "force",
1267
1506
  "allowNo": false,
1268
1507
  "type": "boolean"
1508
+ },
1509
+ "new-stack-name": {
1510
+ "description": "Set a new name for the Stack while promoting",
1511
+ "name": "new-stack-name",
1512
+ "hasDynamicHelp": false,
1513
+ "multiple": false,
1514
+ "type": "option"
1269
1515
  }
1270
1516
  },
1271
1517
  "hasDynamicHelp": false,
1272
- "hidden": true,
1273
1518
  "hiddenAliases": [],
1274
1519
  "id": "blueprints:promote",
1275
1520
  "pluginAlias": "@sanity/runtime-cli",
@@ -1329,6 +1574,7 @@
1329
1574
  },
1330
1575
  "validate-resources": {
1331
1576
  "description": "Validate resources",
1577
+ "hidden": true,
1332
1578
  "name": "validate-resources",
1333
1579
  "allowNo": true,
1334
1580
  "type": "boolean"
@@ -1449,6 +1695,7 @@
1449
1695
  },
1450
1696
  "validate-resources": {
1451
1697
  "description": "Validate resources",
1698
+ "hidden": true,
1452
1699
  "name": "validate-resources",
1453
1700
  "allowNo": true,
1454
1701
  "type": "boolean"
@@ -1474,6 +1721,9 @@
1474
1721
  "projectId"
1475
1722
  ],
1476
1723
  "description": "Sanity project ID used to scope Blueprint and Stack",
1724
+ "exclusive": [
1725
+ "organization-id"
1726
+ ],
1477
1727
  "hidden": true,
1478
1728
  "name": "project-id",
1479
1729
  "hasDynamicHelp": false,
@@ -1487,6 +1737,9 @@
1487
1737
  "org"
1488
1738
  ],
1489
1739
  "description": "Sanity organization ID used to scope Blueprint and Stack",
1740
+ "exclusive": [
1741
+ "project-id"
1742
+ ],
1490
1743
  "hidden": true,
1491
1744
  "name": "organization-id",
1492
1745
  "hasDynamicHelp": false,
@@ -1655,6 +1908,7 @@
1655
1908
  },
1656
1909
  "validate-resources": {
1657
1910
  "description": "Validate resources",
1911
+ "hidden": true,
1658
1912
  "name": "validate-resources",
1659
1913
  "allowNo": true,
1660
1914
  "type": "boolean"
@@ -1680,6 +1934,9 @@
1680
1934
  "projectId"
1681
1935
  ],
1682
1936
  "description": "Sanity project ID used to scope Blueprint and Stack",
1937
+ "exclusive": [
1938
+ "organization-id"
1939
+ ],
1683
1940
  "hidden": true,
1684
1941
  "name": "project-id",
1685
1942
  "hasDynamicHelp": false,
@@ -1693,6 +1950,9 @@
1693
1950
  "org"
1694
1951
  ],
1695
1952
  "description": "Sanity organization ID used to scope Blueprint and Stack",
1953
+ "exclusive": [
1954
+ "project-id"
1955
+ ],
1696
1956
  "hidden": true,
1697
1957
  "name": "organization-id",
1698
1958
  "hasDynamicHelp": false,
@@ -1783,6 +2043,7 @@
1783
2043
  },
1784
2044
  "validate-resources": {
1785
2045
  "description": "Validate resources",
2046
+ "hidden": true,
1786
2047
  "name": "validate-resources",
1787
2048
  "allowNo": true,
1788
2049
  "type": "boolean"
@@ -1808,6 +2069,9 @@
1808
2069
  "projectId"
1809
2070
  ],
1810
2071
  "description": "Sanity project ID used to scope Blueprint and Stack",
2072
+ "exclusive": [
2073
+ "organization-id"
2074
+ ],
1811
2075
  "hidden": true,
1812
2076
  "name": "project-id",
1813
2077
  "hasDynamicHelp": false,
@@ -1821,6 +2085,9 @@
1821
2085
  "org"
1822
2086
  ],
1823
2087
  "description": "Sanity organization ID used to scope Blueprint and Stack",
2088
+ "exclusive": [
2089
+ "project-id"
2090
+ ],
1824
2091
  "hidden": true,
1825
2092
  "name": "organization-id",
1826
2093
  "hasDynamicHelp": false,
@@ -1920,6 +2187,7 @@
1920
2187
  },
1921
2188
  "validate-resources": {
1922
2189
  "description": "Validate resources",
2190
+ "hidden": true,
1923
2191
  "name": "validate-resources",
1924
2192
  "allowNo": true,
1925
2193
  "type": "boolean"
@@ -1944,6 +2212,9 @@
1944
2212
  "projectId"
1945
2213
  ],
1946
2214
  "description": "Sanity project ID used to scope Blueprint and Stack",
2215
+ "exclusive": [
2216
+ "organization-id"
2217
+ ],
1947
2218
  "hidden": true,
1948
2219
  "name": "project-id",
1949
2220
  "hasDynamicHelp": false,
@@ -1957,6 +2228,9 @@
1957
2228
  "org"
1958
2229
  ],
1959
2230
  "description": "Sanity organization ID used to scope Blueprint and Stack",
2231
+ "exclusive": [
2232
+ "project-id"
2233
+ ],
1960
2234
  "hidden": true,
1961
2235
  "name": "organization-id",
1962
2236
  "hasDynamicHelp": false,
@@ -2081,6 +2355,7 @@
2081
2355
  },
2082
2356
  "validate-resources": {
2083
2357
  "description": "Validate resources",
2358
+ "hidden": true,
2084
2359
  "name": "validate-resources",
2085
2360
  "allowNo": true,
2086
2361
  "type": "boolean"
@@ -2106,6 +2381,9 @@
2106
2381
  "projectId"
2107
2382
  ],
2108
2383
  "description": "Sanity project ID used to scope Blueprint and Stack",
2384
+ "exclusive": [
2385
+ "organization-id"
2386
+ ],
2109
2387
  "name": "project-id",
2110
2388
  "hasDynamicHelp": false,
2111
2389
  "multiple": false,
@@ -2118,6 +2396,9 @@
2118
2396
  "org"
2119
2397
  ],
2120
2398
  "description": "Sanity organization ID used to scope Blueprint and Stack",
2399
+ "exclusive": [
2400
+ "project-id"
2401
+ ],
2121
2402
  "name": "organization-id",
2122
2403
  "hasDynamicHelp": false,
2123
2404
  "multiple": false,
@@ -2401,6 +2682,7 @@
2401
2682
  },
2402
2683
  "validate-resources": {
2403
2684
  "description": "Validate resources",
2685
+ "hidden": true,
2404
2686
  "name": "validate-resources",
2405
2687
  "allowNo": true,
2406
2688
  "type": "boolean"
@@ -2426,6 +2708,9 @@
2426
2708
  "projectId"
2427
2709
  ],
2428
2710
  "description": "Sanity project ID used to scope Blueprint and Stack",
2711
+ "exclusive": [
2712
+ "organization-id"
2713
+ ],
2429
2714
  "hidden": true,
2430
2715
  "name": "project-id",
2431
2716
  "hasDynamicHelp": false,
@@ -2439,6 +2724,9 @@
2439
2724
  "org"
2440
2725
  ],
2441
2726
  "description": "Sanity organization ID used to scope Blueprint and Stack",
2727
+ "exclusive": [
2728
+ "project-id"
2729
+ ],
2442
2730
  "hidden": true,
2443
2731
  "name": "organization-id",
2444
2732
  "hasDynamicHelp": false,
@@ -2510,6 +2798,7 @@
2510
2798
  },
2511
2799
  "validate-resources": {
2512
2800
  "description": "Validate resources",
2801
+ "hidden": true,
2513
2802
  "name": "validate-resources",
2514
2803
  "allowNo": true,
2515
2804
  "type": "boolean"
@@ -2535,6 +2824,9 @@
2535
2824
  "projectId"
2536
2825
  ],
2537
2826
  "description": "Sanity project ID used to scope Blueprint and Stack",
2827
+ "exclusive": [
2828
+ "organization-id"
2829
+ ],
2538
2830
  "hidden": true,
2539
2831
  "name": "project-id",
2540
2832
  "hasDynamicHelp": false,
@@ -2548,6 +2840,9 @@
2548
2840
  "org"
2549
2841
  ],
2550
2842
  "description": "Sanity organization ID used to scope Blueprint and Stack",
2843
+ "exclusive": [
2844
+ "project-id"
2845
+ ],
2551
2846
  "hidden": true,
2552
2847
  "name": "organization-id",
2553
2848
  "hasDynamicHelp": false,
@@ -2624,6 +2919,7 @@
2624
2919
  },
2625
2920
  "validate-resources": {
2626
2921
  "description": "Validate resources",
2922
+ "hidden": true,
2627
2923
  "name": "validate-resources",
2628
2924
  "allowNo": true,
2629
2925
  "type": "boolean"
@@ -2649,6 +2945,9 @@
2649
2945
  "projectId"
2650
2946
  ],
2651
2947
  "description": "Sanity project ID used to scope Blueprint and Stack",
2948
+ "exclusive": [
2949
+ "organization-id"
2950
+ ],
2652
2951
  "hidden": true,
2653
2952
  "name": "project-id",
2654
2953
  "hasDynamicHelp": false,
@@ -2662,6 +2961,9 @@
2662
2961
  "org"
2663
2962
  ],
2664
2963
  "description": "Sanity organization ID used to scope Blueprint and Stack",
2964
+ "exclusive": [
2965
+ "project-id"
2966
+ ],
2665
2967
  "hidden": true,
2666
2968
  "name": "organization-id",
2667
2969
  "hasDynamicHelp": false,
@@ -2692,5 +2994,5 @@
2692
2994
  ]
2693
2995
  }
2694
2996
  },
2695
- "version": "14.13.3"
2997
+ "version": "15.0.0"
2696
2998
  }