@sanity/cli 8.38.2 → 8.39.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.
- package/dist/actions/deploy/deployApp.js +12 -1
- package/dist/actions/deploy/deployApp.js.map +1 -1
- package/dist/actions/deploy/deployRunner.js +9 -1
- package/dist/actions/deploy/deployRunner.js.map +1 -1
- package/dist/actions/deploy/deployStudio.js +12 -1
- package/dist/actions/deploy/deployStudio.js.map +1 -1
- package/dist/actions/graphql/getSourceDeprecationWarning.js +20 -0
- package/dist/actions/graphql/getSourceDeprecationWarning.js.map +1 -0
- package/dist/actions/graphql/resolveGraphQLApisFromWorkspaces.js +12 -6
- package/dist/actions/graphql/resolveGraphQLApisFromWorkspaces.js.map +1 -1
- package/dist/actions/graphql/types.js.map +1 -1
- package/dist/commands/graphql/deploy.js +5 -0
- package/dist/commands/graphql/deploy.js.map +1 -1
- package/dist/commands/graphql/undeploy.js +5 -0
- package/dist/commands/graphql/undeploy.js.map +1 -1
- package/dist/commands/new.js +28 -29
- package/dist/commands/new.js.map +1 -1
- package/dist/commands/projects/unclaimed.js +6 -5
- package/dist/commands/projects/unclaimed.js.map +1 -1
- package/dist/exports/index.d.ts +3 -0
- package/dist/generated/apiRoutes.js +2 -0
- package/dist/generated/apiRoutes.js.map +1 -1
- package/dist/services/mintProject.js +4 -0
- package/dist/services/mintProject.js.map +1 -1
- package/oclif.manifest.json +1109 -1109
- package/package.json +4 -4
- package/templates/shared/AGENTS.md +8 -1
package/oclif.manifest.json
CHANGED
|
@@ -2512,6 +2512,179 @@
|
|
|
2512
2512
|
"update.js"
|
|
2513
2513
|
]
|
|
2514
2514
|
},
|
|
2515
|
+
"cors:add": {
|
|
2516
|
+
"aliases": [],
|
|
2517
|
+
"args": {
|
|
2518
|
+
"origin": {
|
|
2519
|
+
"description": "Origin to allow (e.g., https://example.com)",
|
|
2520
|
+
"name": "origin",
|
|
2521
|
+
"required": true
|
|
2522
|
+
}
|
|
2523
|
+
},
|
|
2524
|
+
"description": "Add a CORS origin to the project",
|
|
2525
|
+
"examples": [
|
|
2526
|
+
{
|
|
2527
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
2528
|
+
"description": "Interactively add a CORS origin"
|
|
2529
|
+
},
|
|
2530
|
+
{
|
|
2531
|
+
"command": "<%= config.bin %> <%= command.id %> http://localhost:3000 --no-credentials",
|
|
2532
|
+
"description": "Add a localhost origin without credentials"
|
|
2533
|
+
},
|
|
2534
|
+
{
|
|
2535
|
+
"command": "<%= config.bin %> <%= command.id %> https://myapp.com --credentials",
|
|
2536
|
+
"description": "Add a production origin with credentials allowed"
|
|
2537
|
+
},
|
|
2538
|
+
{
|
|
2539
|
+
"command": "<%= config.bin %> <%= command.id %> https://myapp.com --project abc123",
|
|
2540
|
+
"description": "Add a CORS origin for a specific project"
|
|
2541
|
+
}
|
|
2542
|
+
],
|
|
2543
|
+
"flags": {
|
|
2544
|
+
"project": {
|
|
2545
|
+
"aliases": [
|
|
2546
|
+
"project-id"
|
|
2547
|
+
],
|
|
2548
|
+
"char": "p",
|
|
2549
|
+
"deprecateAliases": true,
|
|
2550
|
+
"description": "Project ID to add CORS origin to (overrides CLI configuration)",
|
|
2551
|
+
"helpGroup": "OVERRIDE",
|
|
2552
|
+
"name": "project",
|
|
2553
|
+
"hasDynamicHelp": false,
|
|
2554
|
+
"helpValue": "<id>",
|
|
2555
|
+
"multiple": false,
|
|
2556
|
+
"type": "option"
|
|
2557
|
+
},
|
|
2558
|
+
"credentials": {
|
|
2559
|
+
"description": "Allow credentials (token/cookie) to be sent from this origin",
|
|
2560
|
+
"name": "credentials",
|
|
2561
|
+
"required": false,
|
|
2562
|
+
"allowNo": true,
|
|
2563
|
+
"type": "boolean"
|
|
2564
|
+
},
|
|
2565
|
+
"yes": {
|
|
2566
|
+
"char": "y",
|
|
2567
|
+
"description": "Confirm risky wildcard origins without prompting",
|
|
2568
|
+
"name": "yes",
|
|
2569
|
+
"allowNo": false,
|
|
2570
|
+
"type": "boolean"
|
|
2571
|
+
}
|
|
2572
|
+
},
|
|
2573
|
+
"hasDynamicHelp": false,
|
|
2574
|
+
"hiddenAliases": [],
|
|
2575
|
+
"id": "cors:add",
|
|
2576
|
+
"pluginAlias": "@sanity/cli",
|
|
2577
|
+
"pluginName": "@sanity/cli",
|
|
2578
|
+
"pluginType": "core",
|
|
2579
|
+
"strict": true,
|
|
2580
|
+
"isESM": true,
|
|
2581
|
+
"relativePath": [
|
|
2582
|
+
"dist",
|
|
2583
|
+
"commands",
|
|
2584
|
+
"cors",
|
|
2585
|
+
"add.js"
|
|
2586
|
+
]
|
|
2587
|
+
},
|
|
2588
|
+
"cors:delete": {
|
|
2589
|
+
"aliases": [],
|
|
2590
|
+
"args": {
|
|
2591
|
+
"origin": {
|
|
2592
|
+
"description": "Origin to delete (will prompt if not provided)",
|
|
2593
|
+
"name": "origin",
|
|
2594
|
+
"required": false
|
|
2595
|
+
}
|
|
2596
|
+
},
|
|
2597
|
+
"description": "Delete a CORS origin from the project",
|
|
2598
|
+
"examples": [
|
|
2599
|
+
{
|
|
2600
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
2601
|
+
"description": "Interactively select and delete a CORS origin"
|
|
2602
|
+
},
|
|
2603
|
+
{
|
|
2604
|
+
"command": "<%= config.bin %> <%= command.id %> https://example.com",
|
|
2605
|
+
"description": "Delete a specific CORS origin"
|
|
2606
|
+
},
|
|
2607
|
+
{
|
|
2608
|
+
"command": "<%= config.bin %> <%= command.id %> --project abc123",
|
|
2609
|
+
"description": "Delete a CORS origin from a specific project"
|
|
2610
|
+
}
|
|
2611
|
+
],
|
|
2612
|
+
"flags": {
|
|
2613
|
+
"project": {
|
|
2614
|
+
"aliases": [
|
|
2615
|
+
"project-id"
|
|
2616
|
+
],
|
|
2617
|
+
"char": "p",
|
|
2618
|
+
"deprecateAliases": true,
|
|
2619
|
+
"description": "Project ID to delete CORS origin from (overrides CLI configuration)",
|
|
2620
|
+
"helpGroup": "OVERRIDE",
|
|
2621
|
+
"name": "project",
|
|
2622
|
+
"hasDynamicHelp": false,
|
|
2623
|
+
"helpValue": "<id>",
|
|
2624
|
+
"multiple": false,
|
|
2625
|
+
"type": "option"
|
|
2626
|
+
}
|
|
2627
|
+
},
|
|
2628
|
+
"hasDynamicHelp": false,
|
|
2629
|
+
"hiddenAliases": [],
|
|
2630
|
+
"id": "cors:delete",
|
|
2631
|
+
"pluginAlias": "@sanity/cli",
|
|
2632
|
+
"pluginName": "@sanity/cli",
|
|
2633
|
+
"pluginType": "core",
|
|
2634
|
+
"strict": true,
|
|
2635
|
+
"isESM": true,
|
|
2636
|
+
"relativePath": [
|
|
2637
|
+
"dist",
|
|
2638
|
+
"commands",
|
|
2639
|
+
"cors",
|
|
2640
|
+
"delete.js"
|
|
2641
|
+
]
|
|
2642
|
+
},
|
|
2643
|
+
"cors:list": {
|
|
2644
|
+
"aliases": [],
|
|
2645
|
+
"args": {},
|
|
2646
|
+
"description": "List CORS origins for the project",
|
|
2647
|
+
"examples": [
|
|
2648
|
+
{
|
|
2649
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
2650
|
+
"description": "List CORS origins for the project"
|
|
2651
|
+
},
|
|
2652
|
+
{
|
|
2653
|
+
"command": "<%= config.bin %> <%= command.id %> --project abc123",
|
|
2654
|
+
"description": "List CORS origins for a specific project"
|
|
2655
|
+
}
|
|
2656
|
+
],
|
|
2657
|
+
"flags": {
|
|
2658
|
+
"project": {
|
|
2659
|
+
"aliases": [
|
|
2660
|
+
"project-id"
|
|
2661
|
+
],
|
|
2662
|
+
"char": "p",
|
|
2663
|
+
"deprecateAliases": true,
|
|
2664
|
+
"description": "Project ID to list CORS origins for (overrides CLI configuration)",
|
|
2665
|
+
"helpGroup": "OVERRIDE",
|
|
2666
|
+
"name": "project",
|
|
2667
|
+
"hasDynamicHelp": false,
|
|
2668
|
+
"helpValue": "<id>",
|
|
2669
|
+
"multiple": false,
|
|
2670
|
+
"type": "option"
|
|
2671
|
+
}
|
|
2672
|
+
},
|
|
2673
|
+
"hasDynamicHelp": false,
|
|
2674
|
+
"hiddenAliases": [],
|
|
2675
|
+
"id": "cors:list",
|
|
2676
|
+
"pluginAlias": "@sanity/cli",
|
|
2677
|
+
"pluginName": "@sanity/cli",
|
|
2678
|
+
"pluginType": "core",
|
|
2679
|
+
"strict": true,
|
|
2680
|
+
"isESM": true,
|
|
2681
|
+
"relativePath": [
|
|
2682
|
+
"dist",
|
|
2683
|
+
"commands",
|
|
2684
|
+
"cors",
|
|
2685
|
+
"list.js"
|
|
2686
|
+
]
|
|
2687
|
+
},
|
|
2515
2688
|
"datasets:copy": {
|
|
2516
2689
|
"aliases": [],
|
|
2517
2690
|
"args": {
|
|
@@ -3188,67 +3361,69 @@
|
|
|
3188
3361
|
"list.js"
|
|
3189
3362
|
]
|
|
3190
3363
|
},
|
|
3191
|
-
"
|
|
3364
|
+
"docs:browse": {
|
|
3365
|
+
"aliases": [],
|
|
3366
|
+
"args": {},
|
|
3367
|
+
"description": "Open Sanity docs in your browser",
|
|
3368
|
+
"flags": {},
|
|
3369
|
+
"hasDynamicHelp": false,
|
|
3370
|
+
"hiddenAliases": [],
|
|
3371
|
+
"id": "docs:browse",
|
|
3372
|
+
"pluginAlias": "@sanity/cli",
|
|
3373
|
+
"pluginName": "@sanity/cli",
|
|
3374
|
+
"pluginType": "core",
|
|
3375
|
+
"strict": true,
|
|
3376
|
+
"enableJsonFlag": false,
|
|
3377
|
+
"isESM": true,
|
|
3378
|
+
"relativePath": [
|
|
3379
|
+
"dist",
|
|
3380
|
+
"commands",
|
|
3381
|
+
"docs",
|
|
3382
|
+
"browse.js"
|
|
3383
|
+
]
|
|
3384
|
+
},
|
|
3385
|
+
"docs:read": {
|
|
3192
3386
|
"aliases": [],
|
|
3193
3387
|
"args": {
|
|
3194
|
-
"
|
|
3195
|
-
"description": "
|
|
3196
|
-
"name": "
|
|
3388
|
+
"path": {
|
|
3389
|
+
"description": "Path or URL to article, found in search results and docs content as links",
|
|
3390
|
+
"name": "path",
|
|
3197
3391
|
"required": true
|
|
3198
3392
|
}
|
|
3199
3393
|
},
|
|
3200
|
-
"description": "
|
|
3394
|
+
"description": "Read an article in terminal",
|
|
3201
3395
|
"examples": [
|
|
3202
3396
|
{
|
|
3203
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
3204
|
-
"description": "
|
|
3397
|
+
"command": "<%= config.bin %> <%= command.id %> /docs/studio/installation",
|
|
3398
|
+
"description": "Read as markdown in terminal"
|
|
3205
3399
|
},
|
|
3206
3400
|
{
|
|
3207
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
3208
|
-
"description": "
|
|
3401
|
+
"command": "<%= config.bin %> <%= command.id %> https://www.sanity.io/docs/studio/installation",
|
|
3402
|
+
"description": "Read using full URL"
|
|
3209
3403
|
},
|
|
3210
3404
|
{
|
|
3211
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
3212
|
-
"description": "
|
|
3405
|
+
"command": "<%= config.bin %> <%= command.id %> /docs/studio/installation --web",
|
|
3406
|
+
"description": "Open in web browser"
|
|
3213
3407
|
},
|
|
3214
3408
|
{
|
|
3215
|
-
"command": "<%= config.bin %> <%= command.id %> https://
|
|
3216
|
-
"description": "
|
|
3409
|
+
"command": "<%= config.bin %> <%= command.id %> https://www.sanity.io/docs/studio/installation -w",
|
|
3410
|
+
"description": "Open using full URL in web browser"
|
|
3217
3411
|
}
|
|
3218
3412
|
],
|
|
3219
3413
|
"flags": {
|
|
3220
|
-
"
|
|
3414
|
+
"web": {
|
|
3221
3415
|
"aliases": [
|
|
3222
|
-
"
|
|
3416
|
+
"w"
|
|
3223
3417
|
],
|
|
3224
|
-
"
|
|
3225
|
-
"
|
|
3226
|
-
"description": "Project ID to add CORS origin to (overrides CLI configuration)",
|
|
3227
|
-
"helpGroup": "OVERRIDE",
|
|
3228
|
-
"name": "project",
|
|
3229
|
-
"hasDynamicHelp": false,
|
|
3230
|
-
"helpValue": "<id>",
|
|
3231
|
-
"multiple": false,
|
|
3232
|
-
"type": "option"
|
|
3233
|
-
},
|
|
3234
|
-
"credentials": {
|
|
3235
|
-
"description": "Allow credentials (token/cookie) to be sent from this origin",
|
|
3236
|
-
"name": "credentials",
|
|
3237
|
-
"required": false,
|
|
3238
|
-
"allowNo": true,
|
|
3239
|
-
"type": "boolean"
|
|
3240
|
-
},
|
|
3241
|
-
"yes": {
|
|
3242
|
-
"char": "y",
|
|
3243
|
-
"description": "Confirm risky wildcard origins without prompting",
|
|
3244
|
-
"name": "yes",
|
|
3418
|
+
"description": "Open in a web browser",
|
|
3419
|
+
"name": "web",
|
|
3245
3420
|
"allowNo": false,
|
|
3246
3421
|
"type": "boolean"
|
|
3247
3422
|
}
|
|
3248
3423
|
},
|
|
3249
3424
|
"hasDynamicHelp": false,
|
|
3250
3425
|
"hiddenAliases": [],
|
|
3251
|
-
"id": "
|
|
3426
|
+
"id": "docs:read",
|
|
3252
3427
|
"pluginAlias": "@sanity/cli",
|
|
3253
3428
|
"pluginName": "@sanity/cli",
|
|
3254
3429
|
"pluginType": "core",
|
|
@@ -3257,186 +3432,11 @@
|
|
|
3257
3432
|
"relativePath": [
|
|
3258
3433
|
"dist",
|
|
3259
3434
|
"commands",
|
|
3260
|
-
"
|
|
3261
|
-
"
|
|
3435
|
+
"docs",
|
|
3436
|
+
"read.js"
|
|
3262
3437
|
]
|
|
3263
3438
|
},
|
|
3264
|
-
"
|
|
3265
|
-
"aliases": [],
|
|
3266
|
-
"args": {
|
|
3267
|
-
"origin": {
|
|
3268
|
-
"description": "Origin to delete (will prompt if not provided)",
|
|
3269
|
-
"name": "origin",
|
|
3270
|
-
"required": false
|
|
3271
|
-
}
|
|
3272
|
-
},
|
|
3273
|
-
"description": "Delete a CORS origin from the project",
|
|
3274
|
-
"examples": [
|
|
3275
|
-
{
|
|
3276
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
3277
|
-
"description": "Interactively select and delete a CORS origin"
|
|
3278
|
-
},
|
|
3279
|
-
{
|
|
3280
|
-
"command": "<%= config.bin %> <%= command.id %> https://example.com",
|
|
3281
|
-
"description": "Delete a specific CORS origin"
|
|
3282
|
-
},
|
|
3283
|
-
{
|
|
3284
|
-
"command": "<%= config.bin %> <%= command.id %> --project abc123",
|
|
3285
|
-
"description": "Delete a CORS origin from a specific project"
|
|
3286
|
-
}
|
|
3287
|
-
],
|
|
3288
|
-
"flags": {
|
|
3289
|
-
"project": {
|
|
3290
|
-
"aliases": [
|
|
3291
|
-
"project-id"
|
|
3292
|
-
],
|
|
3293
|
-
"char": "p",
|
|
3294
|
-
"deprecateAliases": true,
|
|
3295
|
-
"description": "Project ID to delete CORS origin from (overrides CLI configuration)",
|
|
3296
|
-
"helpGroup": "OVERRIDE",
|
|
3297
|
-
"name": "project",
|
|
3298
|
-
"hasDynamicHelp": false,
|
|
3299
|
-
"helpValue": "<id>",
|
|
3300
|
-
"multiple": false,
|
|
3301
|
-
"type": "option"
|
|
3302
|
-
}
|
|
3303
|
-
},
|
|
3304
|
-
"hasDynamicHelp": false,
|
|
3305
|
-
"hiddenAliases": [],
|
|
3306
|
-
"id": "cors:delete",
|
|
3307
|
-
"pluginAlias": "@sanity/cli",
|
|
3308
|
-
"pluginName": "@sanity/cli",
|
|
3309
|
-
"pluginType": "core",
|
|
3310
|
-
"strict": true,
|
|
3311
|
-
"isESM": true,
|
|
3312
|
-
"relativePath": [
|
|
3313
|
-
"dist",
|
|
3314
|
-
"commands",
|
|
3315
|
-
"cors",
|
|
3316
|
-
"delete.js"
|
|
3317
|
-
]
|
|
3318
|
-
},
|
|
3319
|
-
"cors:list": {
|
|
3320
|
-
"aliases": [],
|
|
3321
|
-
"args": {},
|
|
3322
|
-
"description": "List CORS origins for the project",
|
|
3323
|
-
"examples": [
|
|
3324
|
-
{
|
|
3325
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
3326
|
-
"description": "List CORS origins for the project"
|
|
3327
|
-
},
|
|
3328
|
-
{
|
|
3329
|
-
"command": "<%= config.bin %> <%= command.id %> --project abc123",
|
|
3330
|
-
"description": "List CORS origins for a specific project"
|
|
3331
|
-
}
|
|
3332
|
-
],
|
|
3333
|
-
"flags": {
|
|
3334
|
-
"project": {
|
|
3335
|
-
"aliases": [
|
|
3336
|
-
"project-id"
|
|
3337
|
-
],
|
|
3338
|
-
"char": "p",
|
|
3339
|
-
"deprecateAliases": true,
|
|
3340
|
-
"description": "Project ID to list CORS origins for (overrides CLI configuration)",
|
|
3341
|
-
"helpGroup": "OVERRIDE",
|
|
3342
|
-
"name": "project",
|
|
3343
|
-
"hasDynamicHelp": false,
|
|
3344
|
-
"helpValue": "<id>",
|
|
3345
|
-
"multiple": false,
|
|
3346
|
-
"type": "option"
|
|
3347
|
-
}
|
|
3348
|
-
},
|
|
3349
|
-
"hasDynamicHelp": false,
|
|
3350
|
-
"hiddenAliases": [],
|
|
3351
|
-
"id": "cors:list",
|
|
3352
|
-
"pluginAlias": "@sanity/cli",
|
|
3353
|
-
"pluginName": "@sanity/cli",
|
|
3354
|
-
"pluginType": "core",
|
|
3355
|
-
"strict": true,
|
|
3356
|
-
"isESM": true,
|
|
3357
|
-
"relativePath": [
|
|
3358
|
-
"dist",
|
|
3359
|
-
"commands",
|
|
3360
|
-
"cors",
|
|
3361
|
-
"list.js"
|
|
3362
|
-
]
|
|
3363
|
-
},
|
|
3364
|
-
"docs:browse": {
|
|
3365
|
-
"aliases": [],
|
|
3366
|
-
"args": {},
|
|
3367
|
-
"description": "Open Sanity docs in your browser",
|
|
3368
|
-
"flags": {},
|
|
3369
|
-
"hasDynamicHelp": false,
|
|
3370
|
-
"hiddenAliases": [],
|
|
3371
|
-
"id": "docs:browse",
|
|
3372
|
-
"pluginAlias": "@sanity/cli",
|
|
3373
|
-
"pluginName": "@sanity/cli",
|
|
3374
|
-
"pluginType": "core",
|
|
3375
|
-
"strict": true,
|
|
3376
|
-
"enableJsonFlag": false,
|
|
3377
|
-
"isESM": true,
|
|
3378
|
-
"relativePath": [
|
|
3379
|
-
"dist",
|
|
3380
|
-
"commands",
|
|
3381
|
-
"docs",
|
|
3382
|
-
"browse.js"
|
|
3383
|
-
]
|
|
3384
|
-
},
|
|
3385
|
-
"docs:read": {
|
|
3386
|
-
"aliases": [],
|
|
3387
|
-
"args": {
|
|
3388
|
-
"path": {
|
|
3389
|
-
"description": "Path or URL to article, found in search results and docs content as links",
|
|
3390
|
-
"name": "path",
|
|
3391
|
-
"required": true
|
|
3392
|
-
}
|
|
3393
|
-
},
|
|
3394
|
-
"description": "Read an article in terminal",
|
|
3395
|
-
"examples": [
|
|
3396
|
-
{
|
|
3397
|
-
"command": "<%= config.bin %> <%= command.id %> /docs/studio/installation",
|
|
3398
|
-
"description": "Read as markdown in terminal"
|
|
3399
|
-
},
|
|
3400
|
-
{
|
|
3401
|
-
"command": "<%= config.bin %> <%= command.id %> https://www.sanity.io/docs/studio/installation",
|
|
3402
|
-
"description": "Read using full URL"
|
|
3403
|
-
},
|
|
3404
|
-
{
|
|
3405
|
-
"command": "<%= config.bin %> <%= command.id %> /docs/studio/installation --web",
|
|
3406
|
-
"description": "Open in web browser"
|
|
3407
|
-
},
|
|
3408
|
-
{
|
|
3409
|
-
"command": "<%= config.bin %> <%= command.id %> https://www.sanity.io/docs/studio/installation -w",
|
|
3410
|
-
"description": "Open using full URL in web browser"
|
|
3411
|
-
}
|
|
3412
|
-
],
|
|
3413
|
-
"flags": {
|
|
3414
|
-
"web": {
|
|
3415
|
-
"aliases": [
|
|
3416
|
-
"w"
|
|
3417
|
-
],
|
|
3418
|
-
"description": "Open in a web browser",
|
|
3419
|
-
"name": "web",
|
|
3420
|
-
"allowNo": false,
|
|
3421
|
-
"type": "boolean"
|
|
3422
|
-
}
|
|
3423
|
-
},
|
|
3424
|
-
"hasDynamicHelp": false,
|
|
3425
|
-
"hiddenAliases": [],
|
|
3426
|
-
"id": "docs:read",
|
|
3427
|
-
"pluginAlias": "@sanity/cli",
|
|
3428
|
-
"pluginName": "@sanity/cli",
|
|
3429
|
-
"pluginType": "core",
|
|
3430
|
-
"strict": true,
|
|
3431
|
-
"isESM": true,
|
|
3432
|
-
"relativePath": [
|
|
3433
|
-
"dist",
|
|
3434
|
-
"commands",
|
|
3435
|
-
"docs",
|
|
3436
|
-
"read.js"
|
|
3437
|
-
]
|
|
3438
|
-
},
|
|
3439
|
-
"docs:search": {
|
|
3439
|
+
"docs:search": {
|
|
3440
3440
|
"aliases": [],
|
|
3441
3441
|
"args": {
|
|
3442
3442
|
"query": {
|
|
@@ -5066,58 +5066,32 @@
|
|
|
5066
5066
|
"pull-aspects.js"
|
|
5067
5067
|
]
|
|
5068
5068
|
},
|
|
5069
|
-
"
|
|
5069
|
+
"migrations:create": {
|
|
5070
5070
|
"aliases": [],
|
|
5071
5071
|
"args": {
|
|
5072
|
-
"
|
|
5073
|
-
"description": "
|
|
5074
|
-
"name": "
|
|
5075
|
-
"required":
|
|
5072
|
+
"title": {
|
|
5073
|
+
"description": "Title of migration",
|
|
5074
|
+
"name": "title",
|
|
5075
|
+
"required": false
|
|
5076
5076
|
}
|
|
5077
5077
|
},
|
|
5078
|
-
"description": "
|
|
5078
|
+
"description": "Create a new migration within your project",
|
|
5079
5079
|
"examples": [
|
|
5080
5080
|
{
|
|
5081
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
5082
|
-
"description": "
|
|
5083
|
-
},
|
|
5084
|
-
{
|
|
5085
|
-
"command": "<%= config.bin %> <%= command.id %> query --format=json",
|
|
5086
|
-
"description": "Get specification in JSON format"
|
|
5087
|
-
},
|
|
5088
|
-
{
|
|
5089
|
-
"command": "<%= config.bin %> <%= command.id %> query --web",
|
|
5090
|
-
"description": "Open specification in browser"
|
|
5081
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
5082
|
+
"description": "Create a new migration, prompting for title and options"
|
|
5091
5083
|
},
|
|
5092
5084
|
{
|
|
5093
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
5094
|
-
"description": "
|
|
5085
|
+
"command": "<%= config.bin %> <%= command.id %> \"Rename field from location to address\"",
|
|
5086
|
+
"description": "Create a new migration with the provided title, prompting for options"
|
|
5095
5087
|
}
|
|
5096
5088
|
],
|
|
5097
|
-
"flags": {
|
|
5098
|
-
"format": {
|
|
5099
|
-
"description": "Output format: yaml (default), json",
|
|
5100
|
-
"name": "format",
|
|
5101
|
-
"default": "yaml",
|
|
5102
|
-
"hasDynamicHelp": false,
|
|
5103
|
-
"multiple": false,
|
|
5104
|
-
"options": [
|
|
5105
|
-
"yaml",
|
|
5106
|
-
"json"
|
|
5107
|
-
],
|
|
5108
|
-
"type": "option"
|
|
5109
|
-
},
|
|
5110
|
-
"web": {
|
|
5111
|
-
"char": "w",
|
|
5112
|
-
"description": "Open in web browser",
|
|
5113
|
-
"name": "web",
|
|
5114
|
-
"allowNo": false,
|
|
5115
|
-
"type": "boolean"
|
|
5116
|
-
}
|
|
5117
|
-
},
|
|
5089
|
+
"flags": {},
|
|
5118
5090
|
"hasDynamicHelp": false,
|
|
5119
|
-
"hiddenAliases": [
|
|
5120
|
-
|
|
5091
|
+
"hiddenAliases": [
|
|
5092
|
+
"migration:create"
|
|
5093
|
+
],
|
|
5094
|
+
"id": "migrations:create",
|
|
5121
5095
|
"pluginAlias": "@sanity/cli",
|
|
5122
5096
|
"pluginName": "@sanity/cli",
|
|
5123
5097
|
"pluginType": "core",
|
|
@@ -5126,106 +5100,18 @@
|
|
|
5126
5100
|
"relativePath": [
|
|
5127
5101
|
"dist",
|
|
5128
5102
|
"commands",
|
|
5129
|
-
"
|
|
5130
|
-
"
|
|
5103
|
+
"migrations",
|
|
5104
|
+
"create.js"
|
|
5131
5105
|
]
|
|
5132
5106
|
},
|
|
5133
|
-
"
|
|
5107
|
+
"migrations:list": {
|
|
5134
5108
|
"aliases": [],
|
|
5135
5109
|
"args": {},
|
|
5136
|
-
"description": "List
|
|
5110
|
+
"description": "List available migrations",
|
|
5137
5111
|
"examples": [
|
|
5138
5112
|
{
|
|
5139
5113
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
5140
|
-
"description": "List all available
|
|
5141
|
-
},
|
|
5142
|
-
{
|
|
5143
|
-
"command": "<%= config.bin %> <%= command.id %> --json",
|
|
5144
|
-
"description": "List with JSON output"
|
|
5145
|
-
},
|
|
5146
|
-
{
|
|
5147
|
-
"command": "<%= config.bin %> <%= command.id %> --web",
|
|
5148
|
-
"description": "Open HTTP Reference in browser"
|
|
5149
|
-
}
|
|
5150
|
-
],
|
|
5151
|
-
"flags": {
|
|
5152
|
-
"json": {
|
|
5153
|
-
"description": "Format output as json.",
|
|
5154
|
-
"helpGroup": "GLOBAL",
|
|
5155
|
-
"name": "json",
|
|
5156
|
-
"allowNo": false,
|
|
5157
|
-
"type": "boolean"
|
|
5158
|
-
},
|
|
5159
|
-
"web": {
|
|
5160
|
-
"char": "w",
|
|
5161
|
-
"description": "Open HTTP Reference in web browser",
|
|
5162
|
-
"name": "web",
|
|
5163
|
-
"allowNo": false,
|
|
5164
|
-
"type": "boolean"
|
|
5165
|
-
}
|
|
5166
|
-
},
|
|
5167
|
-
"hasDynamicHelp": false,
|
|
5168
|
-
"hiddenAliases": [],
|
|
5169
|
-
"id": "openapi:list",
|
|
5170
|
-
"pluginAlias": "@sanity/cli",
|
|
5171
|
-
"pluginName": "@sanity/cli",
|
|
5172
|
-
"pluginType": "core",
|
|
5173
|
-
"strict": true,
|
|
5174
|
-
"enableJsonFlag": true,
|
|
5175
|
-
"isESM": true,
|
|
5176
|
-
"relativePath": [
|
|
5177
|
-
"dist",
|
|
5178
|
-
"commands",
|
|
5179
|
-
"openapi",
|
|
5180
|
-
"list.js"
|
|
5181
|
-
]
|
|
5182
|
-
},
|
|
5183
|
-
"migrations:create": {
|
|
5184
|
-
"aliases": [],
|
|
5185
|
-
"args": {
|
|
5186
|
-
"title": {
|
|
5187
|
-
"description": "Title of migration",
|
|
5188
|
-
"name": "title",
|
|
5189
|
-
"required": false
|
|
5190
|
-
}
|
|
5191
|
-
},
|
|
5192
|
-
"description": "Create a new migration within your project",
|
|
5193
|
-
"examples": [
|
|
5194
|
-
{
|
|
5195
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
5196
|
-
"description": "Create a new migration, prompting for title and options"
|
|
5197
|
-
},
|
|
5198
|
-
{
|
|
5199
|
-
"command": "<%= config.bin %> <%= command.id %> \"Rename field from location to address\"",
|
|
5200
|
-
"description": "Create a new migration with the provided title, prompting for options"
|
|
5201
|
-
}
|
|
5202
|
-
],
|
|
5203
|
-
"flags": {},
|
|
5204
|
-
"hasDynamicHelp": false,
|
|
5205
|
-
"hiddenAliases": [
|
|
5206
|
-
"migration:create"
|
|
5207
|
-
],
|
|
5208
|
-
"id": "migrations:create",
|
|
5209
|
-
"pluginAlias": "@sanity/cli",
|
|
5210
|
-
"pluginName": "@sanity/cli",
|
|
5211
|
-
"pluginType": "core",
|
|
5212
|
-
"strict": true,
|
|
5213
|
-
"isESM": true,
|
|
5214
|
-
"relativePath": [
|
|
5215
|
-
"dist",
|
|
5216
|
-
"commands",
|
|
5217
|
-
"migrations",
|
|
5218
|
-
"create.js"
|
|
5219
|
-
]
|
|
5220
|
-
},
|
|
5221
|
-
"migrations:list": {
|
|
5222
|
-
"aliases": [],
|
|
5223
|
-
"args": {},
|
|
5224
|
-
"description": "List available migrations",
|
|
5225
|
-
"examples": [
|
|
5226
|
-
{
|
|
5227
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
5228
|
-
"description": "List all available migrations in the project"
|
|
5114
|
+
"description": "List all available migrations in the project"
|
|
5229
5115
|
}
|
|
5230
5116
|
],
|
|
5231
5117
|
"flags": {},
|
|
@@ -5360,6 +5246,120 @@
|
|
|
5360
5246
|
"run.js"
|
|
5361
5247
|
]
|
|
5362
5248
|
},
|
|
5249
|
+
"openapi:get": {
|
|
5250
|
+
"aliases": [],
|
|
5251
|
+
"args": {
|
|
5252
|
+
"slug": {
|
|
5253
|
+
"description": "Slug of the OpenAPI specification to retrieve",
|
|
5254
|
+
"name": "slug",
|
|
5255
|
+
"required": true
|
|
5256
|
+
}
|
|
5257
|
+
},
|
|
5258
|
+
"description": "Get an OpenAPI specification by slug",
|
|
5259
|
+
"examples": [
|
|
5260
|
+
{
|
|
5261
|
+
"command": "<%= config.bin %> <%= command.id %> query",
|
|
5262
|
+
"description": "Get a specification (YAML format, default)"
|
|
5263
|
+
},
|
|
5264
|
+
{
|
|
5265
|
+
"command": "<%= config.bin %> <%= command.id %> query --format=json",
|
|
5266
|
+
"description": "Get specification in JSON format"
|
|
5267
|
+
},
|
|
5268
|
+
{
|
|
5269
|
+
"command": "<%= config.bin %> <%= command.id %> query --web",
|
|
5270
|
+
"description": "Open specification in browser"
|
|
5271
|
+
},
|
|
5272
|
+
{
|
|
5273
|
+
"command": "<%= config.bin %> <%= command.id %> query > query-api.yaml",
|
|
5274
|
+
"description": "Pipe to file"
|
|
5275
|
+
}
|
|
5276
|
+
],
|
|
5277
|
+
"flags": {
|
|
5278
|
+
"format": {
|
|
5279
|
+
"description": "Output format: yaml (default), json",
|
|
5280
|
+
"name": "format",
|
|
5281
|
+
"default": "yaml",
|
|
5282
|
+
"hasDynamicHelp": false,
|
|
5283
|
+
"multiple": false,
|
|
5284
|
+
"options": [
|
|
5285
|
+
"yaml",
|
|
5286
|
+
"json"
|
|
5287
|
+
],
|
|
5288
|
+
"type": "option"
|
|
5289
|
+
},
|
|
5290
|
+
"web": {
|
|
5291
|
+
"char": "w",
|
|
5292
|
+
"description": "Open in web browser",
|
|
5293
|
+
"name": "web",
|
|
5294
|
+
"allowNo": false,
|
|
5295
|
+
"type": "boolean"
|
|
5296
|
+
}
|
|
5297
|
+
},
|
|
5298
|
+
"hasDynamicHelp": false,
|
|
5299
|
+
"hiddenAliases": [],
|
|
5300
|
+
"id": "openapi:get",
|
|
5301
|
+
"pluginAlias": "@sanity/cli",
|
|
5302
|
+
"pluginName": "@sanity/cli",
|
|
5303
|
+
"pluginType": "core",
|
|
5304
|
+
"strict": true,
|
|
5305
|
+
"isESM": true,
|
|
5306
|
+
"relativePath": [
|
|
5307
|
+
"dist",
|
|
5308
|
+
"commands",
|
|
5309
|
+
"openapi",
|
|
5310
|
+
"get.js"
|
|
5311
|
+
]
|
|
5312
|
+
},
|
|
5313
|
+
"openapi:list": {
|
|
5314
|
+
"aliases": [],
|
|
5315
|
+
"args": {},
|
|
5316
|
+
"description": "List all available OpenAPI specifications",
|
|
5317
|
+
"examples": [
|
|
5318
|
+
{
|
|
5319
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
5320
|
+
"description": "List all available OpenAPI specs"
|
|
5321
|
+
},
|
|
5322
|
+
{
|
|
5323
|
+
"command": "<%= config.bin %> <%= command.id %> --json",
|
|
5324
|
+
"description": "List with JSON output"
|
|
5325
|
+
},
|
|
5326
|
+
{
|
|
5327
|
+
"command": "<%= config.bin %> <%= command.id %> --web",
|
|
5328
|
+
"description": "Open HTTP Reference in browser"
|
|
5329
|
+
}
|
|
5330
|
+
],
|
|
5331
|
+
"flags": {
|
|
5332
|
+
"json": {
|
|
5333
|
+
"description": "Format output as json.",
|
|
5334
|
+
"helpGroup": "GLOBAL",
|
|
5335
|
+
"name": "json",
|
|
5336
|
+
"allowNo": false,
|
|
5337
|
+
"type": "boolean"
|
|
5338
|
+
},
|
|
5339
|
+
"web": {
|
|
5340
|
+
"char": "w",
|
|
5341
|
+
"description": "Open HTTP Reference in web browser",
|
|
5342
|
+
"name": "web",
|
|
5343
|
+
"allowNo": false,
|
|
5344
|
+
"type": "boolean"
|
|
5345
|
+
}
|
|
5346
|
+
},
|
|
5347
|
+
"hasDynamicHelp": false,
|
|
5348
|
+
"hiddenAliases": [],
|
|
5349
|
+
"id": "openapi:list",
|
|
5350
|
+
"pluginAlias": "@sanity/cli",
|
|
5351
|
+
"pluginName": "@sanity/cli",
|
|
5352
|
+
"pluginType": "core",
|
|
5353
|
+
"strict": true,
|
|
5354
|
+
"enableJsonFlag": true,
|
|
5355
|
+
"isESM": true,
|
|
5356
|
+
"relativePath": [
|
|
5357
|
+
"dist",
|
|
5358
|
+
"commands",
|
|
5359
|
+
"openapi",
|
|
5360
|
+
"list.js"
|
|
5361
|
+
]
|
|
5362
|
+
},
|
|
5363
5363
|
"organizations:create": {
|
|
5364
5364
|
"aliases": [],
|
|
5365
5365
|
"args": {},
|
|
@@ -7831,7 +7831,7 @@
|
|
|
7831
7831
|
"edit.js"
|
|
7832
7832
|
]
|
|
7833
7833
|
},
|
|
7834
|
-
"context:
|
|
7834
|
+
"context:issues:apply": {
|
|
7835
7835
|
"aliases": [],
|
|
7836
7836
|
"args": {
|
|
7837
7837
|
"knowledgeBaseId": {
|
|
@@ -7839,21 +7839,22 @@
|
|
|
7839
7839
|
"name": "knowledgeBaseId",
|
|
7840
7840
|
"required": true
|
|
7841
7841
|
},
|
|
7842
|
-
"
|
|
7843
|
-
"description": "The
|
|
7844
|
-
"
|
|
7842
|
+
"issueIds": {
|
|
7843
|
+
"description": "The IDs of the issues to accept and apply.",
|
|
7844
|
+
"multiple": true,
|
|
7845
|
+
"name": "issueIds",
|
|
7845
7846
|
"required": true
|
|
7846
7847
|
}
|
|
7847
7848
|
},
|
|
7848
|
-
"description": "
|
|
7849
|
+
"description": "Accepts the issues in `issueIds`, then queues a job that applies them, rewrites the affected entries, and saves a new revision. Returns a job ID. IDs of issues that no longer exist are skipped. Returns `409` with code `issueNotAutoApplicable`, and accepts none of the issues, if any of them cannot be applied: a `conflict` (resolve it with `POST .../issues/{issueId}/resolve`), or an `update_required` issue whose `scopePath` is `*` or names an entry that no longer exists. Dismiss those instead.",
|
|
7849
7850
|
"examples": [
|
|
7850
7851
|
{
|
|
7851
|
-
"command": "<%= config.bin %> <%= command.id %> <knowledgeBaseId>
|
|
7852
|
-
"description": "
|
|
7852
|
+
"command": "<%= config.bin %> <%= command.id %> <knowledgeBaseId>",
|
|
7853
|
+
"description": "Accept and apply issues"
|
|
7853
7854
|
},
|
|
7854
7855
|
{
|
|
7855
|
-
"command": "<%= config.bin %> <%= command.id %> <knowledgeBaseId>
|
|
7856
|
-
"description": "
|
|
7856
|
+
"command": "<%= config.bin %> <%= command.id %> <knowledgeBaseId> --json",
|
|
7857
|
+
"description": "Accept and apply issues, as JSON"
|
|
7857
7858
|
}
|
|
7858
7859
|
],
|
|
7859
7860
|
"flags": {
|
|
@@ -7873,12 +7874,12 @@
|
|
|
7873
7874
|
},
|
|
7874
7875
|
"hasDynamicHelp": false,
|
|
7875
7876
|
"hiddenAliases": [],
|
|
7876
|
-
"id": "context:
|
|
7877
|
+
"id": "context:issues:apply",
|
|
7877
7878
|
"pluginAlias": "@sanity/cli",
|
|
7878
7879
|
"pluginName": "@sanity/cli",
|
|
7879
7880
|
"pluginType": "core",
|
|
7880
7881
|
"strict": true,
|
|
7881
|
-
"summary": "
|
|
7882
|
+
"summary": "Accept and apply issues",
|
|
7882
7883
|
"enableJsonFlag": true,
|
|
7883
7884
|
"telemetry": {
|
|
7884
7885
|
"redactedFlags": []
|
|
@@ -7888,243 +7889,146 @@
|
|
|
7888
7889
|
"dist",
|
|
7889
7890
|
"commands",
|
|
7890
7891
|
"context",
|
|
7891
|
-
"
|
|
7892
|
-
"
|
|
7892
|
+
"issues",
|
|
7893
|
+
"apply.js"
|
|
7893
7894
|
]
|
|
7894
7895
|
},
|
|
7895
|
-
"context:
|
|
7896
|
+
"context:issues:dismiss": {
|
|
7896
7897
|
"aliases": [],
|
|
7897
7898
|
"args": {
|
|
7898
|
-
"
|
|
7899
|
-
"description": "
|
|
7900
|
-
"name": "
|
|
7899
|
+
"knowledgeBaseId": {
|
|
7900
|
+
"description": "The knowledge base's ID (`kb...`), its `publicId`. Its UUID `id` is also accepted.",
|
|
7901
|
+
"name": "knowledgeBaseId",
|
|
7902
|
+
"required": true
|
|
7903
|
+
},
|
|
7904
|
+
"issueId": {
|
|
7905
|
+
"description": "The issue's document ID.",
|
|
7906
|
+
"name": "issueId",
|
|
7901
7907
|
"required": true
|
|
7902
7908
|
}
|
|
7903
7909
|
},
|
|
7904
|
-
"description": "
|
|
7910
|
+
"description": "Marks the issue as rejected. If the issue already left triage, the request returns it unchanged. Returns `422` with code `issueDocumentInvalid` if the issue document was edited into a shape the API cannot verify. Returns `409` with code `issueTransitionConflict` if another change to the issue happened at the same time. You can safely retry a `409`.",
|
|
7905
7911
|
"examples": [
|
|
7906
7912
|
{
|
|
7907
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
7908
|
-
"description": "
|
|
7913
|
+
"command": "<%= config.bin %> <%= command.id %> <knowledgeBaseId> <issueId>",
|
|
7914
|
+
"description": "Dismiss an issue"
|
|
7909
7915
|
},
|
|
7910
7916
|
{
|
|
7911
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
7912
|
-
"description": "
|
|
7917
|
+
"command": "<%= config.bin %> <%= command.id %> <knowledgeBaseId> <issueId> --json",
|
|
7918
|
+
"description": "Dismiss an issue, as JSON"
|
|
7913
7919
|
}
|
|
7914
7920
|
],
|
|
7915
7921
|
"flags": {
|
|
7916
|
-
"
|
|
7917
|
-
"description": "
|
|
7918
|
-
"helpGroup": "
|
|
7919
|
-
"name": "
|
|
7920
|
-
"
|
|
7921
|
-
"helpValue": "<id>",
|
|
7922
|
-
"multiple": false,
|
|
7923
|
-
"type": "option"
|
|
7924
|
-
},
|
|
7925
|
-
"dataset": {
|
|
7926
|
-
"char": "d",
|
|
7927
|
-
"description": "Dataset the endpoint serves",
|
|
7928
|
-
"name": "dataset",
|
|
7929
|
-
"hasDynamicHelp": false,
|
|
7930
|
-
"helpValue": "<name>",
|
|
7931
|
-
"multiple": false,
|
|
7932
|
-
"type": "option"
|
|
7933
|
-
},
|
|
7934
|
-
"project": {
|
|
7935
|
-
"aliases": [
|
|
7936
|
-
"project-id"
|
|
7937
|
-
],
|
|
7938
|
-
"char": "p",
|
|
7939
|
-
"dependsOn": [
|
|
7940
|
-
"dataset"
|
|
7941
|
-
],
|
|
7942
|
-
"deprecateAliases": true,
|
|
7943
|
-
"description": "Project the dataset belongs to (overrides CLI configuration)",
|
|
7944
|
-
"helpGroup": "OVERRIDE",
|
|
7945
|
-
"name": "project",
|
|
7946
|
-
"hasDynamicHelp": false,
|
|
7947
|
-
"helpValue": "<id>",
|
|
7948
|
-
"multiple": false,
|
|
7949
|
-
"type": "option"
|
|
7950
|
-
},
|
|
7951
|
-
"groq-filter": {
|
|
7952
|
-
"dependsOn": [
|
|
7953
|
-
"dataset"
|
|
7954
|
-
],
|
|
7955
|
-
"description": "GROQ filter that limits which dataset documents the endpoint serves",
|
|
7956
|
-
"name": "groq-filter",
|
|
7957
|
-
"hasDynamicHelp": false,
|
|
7958
|
-
"multiple": false,
|
|
7959
|
-
"type": "option"
|
|
7960
|
-
},
|
|
7961
|
-
"instructions": {
|
|
7962
|
-
"description": "Instructions the endpoint serves to connecting agents",
|
|
7963
|
-
"name": "instructions",
|
|
7964
|
-
"hasDynamicHelp": false,
|
|
7965
|
-
"multiple": false,
|
|
7966
|
-
"type": "option"
|
|
7967
|
-
},
|
|
7968
|
-
"knowledge-base": {
|
|
7969
|
-
"description": "Knowledge base the endpoint serves; repeat the flag to serve several",
|
|
7970
|
-
"name": "knowledge-base",
|
|
7971
|
-
"hasDynamicHelp": false,
|
|
7972
|
-
"helpValue": "<id>",
|
|
7973
|
-
"multiple": true,
|
|
7974
|
-
"type": "option"
|
|
7975
|
-
},
|
|
7976
|
-
"perspective": {
|
|
7977
|
-
"dependsOn": [
|
|
7978
|
-
"dataset"
|
|
7979
|
-
],
|
|
7980
|
-
"description": "Perspective agents query the dataset with",
|
|
7981
|
-
"name": "perspective",
|
|
7982
|
-
"hasDynamicHelp": false,
|
|
7983
|
-
"multiple": false,
|
|
7984
|
-
"options": [
|
|
7985
|
-
"published",
|
|
7986
|
-
"drafts",
|
|
7987
|
-
"raw"
|
|
7988
|
-
],
|
|
7989
|
-
"type": "option"
|
|
7990
|
-
},
|
|
7991
|
-
"semantic-search": {
|
|
7992
|
-
"dependsOn": [
|
|
7993
|
-
"dataset"
|
|
7994
|
-
],
|
|
7995
|
-
"description": "Let agents use semantic search on the dataset (--no-semantic-search to turn it off)",
|
|
7996
|
-
"name": "semantic-search",
|
|
7997
|
-
"allowNo": true,
|
|
7922
|
+
"json": {
|
|
7923
|
+
"description": "Format output as json.",
|
|
7924
|
+
"helpGroup": "GLOBAL",
|
|
7925
|
+
"name": "json",
|
|
7926
|
+
"allowNo": false,
|
|
7998
7927
|
"type": "boolean"
|
|
7999
|
-
},
|
|
8000
|
-
"title": {
|
|
8001
|
-
"description": "MCP endpoint title",
|
|
8002
|
-
"name": "title",
|
|
8003
|
-
"hasDynamicHelp": false,
|
|
8004
|
-
"multiple": false,
|
|
8005
|
-
"type": "option"
|
|
8006
|
-
},
|
|
8007
|
-
"workspace": {
|
|
8008
|
-
"dependsOn": [
|
|
8009
|
-
"dataset"
|
|
8010
|
-
],
|
|
8011
|
-
"description": "Studio workspace whose schema agents use, instead of the first workspace",
|
|
8012
|
-
"name": "workspace",
|
|
8013
|
-
"hasDynamicHelp": false,
|
|
8014
|
-
"multiple": false,
|
|
8015
|
-
"type": "option"
|
|
8016
7928
|
}
|
|
8017
7929
|
},
|
|
8018
7930
|
"hasDynamicHelp": false,
|
|
8019
7931
|
"hiddenAliases": [],
|
|
8020
|
-
"id": "context:
|
|
7932
|
+
"id": "context:issues:dismiss",
|
|
8021
7933
|
"pluginAlias": "@sanity/cli",
|
|
8022
7934
|
"pluginName": "@sanity/cli",
|
|
8023
7935
|
"pluginType": "core",
|
|
8024
7936
|
"strict": true,
|
|
7937
|
+
"summary": "Dismiss an issue",
|
|
7938
|
+
"enableJsonFlag": true,
|
|
8025
7939
|
"telemetry": {
|
|
8026
|
-
"redactedFlags": [
|
|
8027
|
-
{
|
|
8028
|
-
"canonical": "--title",
|
|
8029
|
-
"flags": [
|
|
8030
|
-
"--title"
|
|
8031
|
-
]
|
|
8032
|
-
},
|
|
8033
|
-
{
|
|
8034
|
-
"canonical": "--instructions",
|
|
8035
|
-
"flags": [
|
|
8036
|
-
"--instructions"
|
|
8037
|
-
]
|
|
8038
|
-
},
|
|
8039
|
-
{
|
|
8040
|
-
"canonical": "--groq-filter",
|
|
8041
|
-
"flags": [
|
|
8042
|
-
"--groq-filter"
|
|
8043
|
-
]
|
|
8044
|
-
}
|
|
8045
|
-
]
|
|
7940
|
+
"redactedFlags": []
|
|
8046
7941
|
},
|
|
8047
7942
|
"isESM": true,
|
|
8048
7943
|
"relativePath": [
|
|
8049
7944
|
"dist",
|
|
8050
7945
|
"commands",
|
|
8051
7946
|
"context",
|
|
8052
|
-
"
|
|
8053
|
-
"
|
|
7947
|
+
"issues",
|
|
7948
|
+
"dismiss.js"
|
|
8054
7949
|
]
|
|
8055
7950
|
},
|
|
8056
|
-
"context:
|
|
7951
|
+
"context:issues:get": {
|
|
8057
7952
|
"aliases": [],
|
|
8058
7953
|
"args": {
|
|
8059
|
-
"
|
|
8060
|
-
"description": "
|
|
8061
|
-
"name": "
|
|
7954
|
+
"knowledgeBaseId": {
|
|
7955
|
+
"description": "Knowledge base ID",
|
|
7956
|
+
"name": "knowledgeBaseId",
|
|
7957
|
+
"required": true
|
|
7958
|
+
},
|
|
7959
|
+
"issueId": {
|
|
7960
|
+
"description": "Issue ID",
|
|
7961
|
+
"name": "issueId",
|
|
8062
7962
|
"required": true
|
|
8063
7963
|
}
|
|
8064
7964
|
},
|
|
8065
|
-
"description": "
|
|
7965
|
+
"description": "Get details of an issue",
|
|
8066
7966
|
"examples": [
|
|
8067
7967
|
{
|
|
8068
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8069
|
-
"description": "
|
|
7968
|
+
"command": "<%= config.bin %> <%= command.id %> kb-abc123 issue.def456",
|
|
7969
|
+
"description": "Get details of a specific issue"
|
|
8070
7970
|
},
|
|
8071
7971
|
{
|
|
8072
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8073
|
-
"description": "
|
|
7972
|
+
"command": "<%= config.bin %> <%= command.id %> kb-abc123 issue.def456 --json",
|
|
7973
|
+
"description": "Output the issue as JSON"
|
|
8074
7974
|
}
|
|
8075
7975
|
],
|
|
8076
7976
|
"flags": {
|
|
8077
|
-
"
|
|
8078
|
-
"description": "
|
|
8079
|
-
"helpGroup": "
|
|
8080
|
-
"name": "
|
|
8081
|
-
"hasDynamicHelp": false,
|
|
8082
|
-
"helpValue": "<id>",
|
|
8083
|
-
"multiple": false,
|
|
8084
|
-
"type": "option"
|
|
8085
|
-
},
|
|
8086
|
-
"yes": {
|
|
8087
|
-
"char": "y",
|
|
8088
|
-
"description": "Skip confirmation prompt (unattended mode)",
|
|
8089
|
-
"name": "yes",
|
|
7977
|
+
"json": {
|
|
7978
|
+
"description": "Format output as json.",
|
|
7979
|
+
"helpGroup": "GLOBAL",
|
|
7980
|
+
"name": "json",
|
|
8090
7981
|
"allowNo": false,
|
|
8091
7982
|
"type": "boolean"
|
|
8092
7983
|
}
|
|
8093
7984
|
},
|
|
8094
7985
|
"hasDynamicHelp": false,
|
|
8095
7986
|
"hiddenAliases": [],
|
|
8096
|
-
"id": "context:
|
|
7987
|
+
"id": "context:issues:get",
|
|
8097
7988
|
"pluginAlias": "@sanity/cli",
|
|
8098
7989
|
"pluginName": "@sanity/cli",
|
|
8099
7990
|
"pluginType": "core",
|
|
8100
7991
|
"strict": true,
|
|
7992
|
+
"enableJsonFlag": true,
|
|
8101
7993
|
"isESM": true,
|
|
8102
7994
|
"relativePath": [
|
|
8103
7995
|
"dist",
|
|
8104
7996
|
"commands",
|
|
8105
7997
|
"context",
|
|
8106
|
-
"
|
|
8107
|
-
"
|
|
7998
|
+
"issues",
|
|
7999
|
+
"get.js"
|
|
8108
8000
|
]
|
|
8109
8001
|
},
|
|
8110
|
-
"context:
|
|
8002
|
+
"context:issues:list": {
|
|
8111
8003
|
"aliases": [],
|
|
8112
8004
|
"args": {
|
|
8113
|
-
"
|
|
8114
|
-
"description": "
|
|
8115
|
-
"name": "
|
|
8005
|
+
"knowledgeBaseId": {
|
|
8006
|
+
"description": "Knowledge base ID",
|
|
8007
|
+
"name": "knowledgeBaseId",
|
|
8116
8008
|
"required": true
|
|
8117
8009
|
}
|
|
8118
8010
|
},
|
|
8119
|
-
"description": "
|
|
8011
|
+
"description": "List issues found by knowledge base builds",
|
|
8120
8012
|
"examples": [
|
|
8121
8013
|
{
|
|
8122
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8123
|
-
"description": "
|
|
8014
|
+
"command": "<%= config.bin %> <%= command.id %> kb-abc123",
|
|
8015
|
+
"description": "List all issues for a knowledge base"
|
|
8124
8016
|
},
|
|
8125
8017
|
{
|
|
8126
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8127
|
-
"description": "
|
|
8018
|
+
"command": "<%= config.bin %> <%= command.id %> kb-abc123 --status open",
|
|
8019
|
+
"description": "List issues awaiting triage"
|
|
8020
|
+
},
|
|
8021
|
+
{
|
|
8022
|
+
"command": "<%= config.bin %> <%= command.id %> kb-abc123 --kind conflict --severity critical",
|
|
8023
|
+
"description": "List critical conflicts"
|
|
8024
|
+
},
|
|
8025
|
+
{
|
|
8026
|
+
"command": "<%= config.bin %> <%= command.id %> kb-abc123 --scope billing",
|
|
8027
|
+
"description": "List issues about entries under billing/"
|
|
8028
|
+
},
|
|
8029
|
+
{
|
|
8030
|
+
"command": "<%= config.bin %> <%= command.id %> kb-abc123 --json",
|
|
8031
|
+
"description": "Output issues as JSON"
|
|
8128
8032
|
}
|
|
8129
8033
|
],
|
|
8130
8034
|
"flags": {
|
|
@@ -8135,19 +8039,52 @@
|
|
|
8135
8039
|
"allowNo": false,
|
|
8136
8040
|
"type": "boolean"
|
|
8137
8041
|
},
|
|
8138
|
-
"
|
|
8139
|
-
"description": "
|
|
8140
|
-
"
|
|
8141
|
-
"
|
|
8042
|
+
"kind": {
|
|
8043
|
+
"description": "Only list issues of this kind",
|
|
8044
|
+
"name": "kind",
|
|
8045
|
+
"hasDynamicHelp": false,
|
|
8046
|
+
"multiple": false,
|
|
8047
|
+
"options": [
|
|
8048
|
+
"conflict",
|
|
8049
|
+
"update_required"
|
|
8050
|
+
],
|
|
8051
|
+
"type": "option"
|
|
8052
|
+
},
|
|
8053
|
+
"scope": {
|
|
8054
|
+
"description": "Only list issues about this entry path or anything under it (`*` for knowledge-base-wide issues)",
|
|
8055
|
+
"name": "scope",
|
|
8056
|
+
"hasDynamicHelp": false,
|
|
8057
|
+
"helpValue": "<path>",
|
|
8058
|
+
"multiple": false,
|
|
8059
|
+
"type": "option"
|
|
8060
|
+
},
|
|
8061
|
+
"severity": {
|
|
8062
|
+
"description": "Only list issues of this severity",
|
|
8063
|
+
"name": "severity",
|
|
8142
8064
|
"hasDynamicHelp": false,
|
|
8143
|
-
"helpValue": "<id>",
|
|
8144
8065
|
"multiple": false,
|
|
8066
|
+
"options": [
|
|
8067
|
+
"critical",
|
|
8068
|
+
"suggestion"
|
|
8069
|
+
],
|
|
8070
|
+
"type": "option"
|
|
8071
|
+
},
|
|
8072
|
+
"status": {
|
|
8073
|
+
"description": "Only list issues with this status (rejected = dismissed, accepted = resolved or applied)",
|
|
8074
|
+
"name": "status",
|
|
8075
|
+
"hasDynamicHelp": false,
|
|
8076
|
+
"multiple": false,
|
|
8077
|
+
"options": [
|
|
8078
|
+
"open",
|
|
8079
|
+
"accepted",
|
|
8080
|
+
"rejected"
|
|
8081
|
+
],
|
|
8145
8082
|
"type": "option"
|
|
8146
8083
|
}
|
|
8147
8084
|
},
|
|
8148
8085
|
"hasDynamicHelp": false,
|
|
8149
8086
|
"hiddenAliases": [],
|
|
8150
|
-
"id": "context:
|
|
8087
|
+
"id": "context:issues:list",
|
|
8151
8088
|
"pluginAlias": "@sanity/cli",
|
|
8152
8089
|
"pluginName": "@sanity/cli",
|
|
8153
8090
|
"pluginType": "core",
|
|
@@ -8158,28 +8095,33 @@
|
|
|
8158
8095
|
"dist",
|
|
8159
8096
|
"commands",
|
|
8160
8097
|
"context",
|
|
8161
|
-
"
|
|
8162
|
-
"
|
|
8098
|
+
"issues",
|
|
8099
|
+
"list.js"
|
|
8163
8100
|
]
|
|
8164
8101
|
},
|
|
8165
|
-
"context:
|
|
8102
|
+
"context:issues:reopen": {
|
|
8166
8103
|
"aliases": [],
|
|
8167
8104
|
"args": {
|
|
8168
|
-
"
|
|
8169
|
-
"description": "The
|
|
8170
|
-
"name": "
|
|
8105
|
+
"knowledgeBaseId": {
|
|
8106
|
+
"description": "The knowledge base's ID (`kb...`), its `publicId`. Its UUID `id` is also accepted.",
|
|
8107
|
+
"name": "knowledgeBaseId",
|
|
8108
|
+
"required": true
|
|
8109
|
+
},
|
|
8110
|
+
"issueId": {
|
|
8111
|
+
"description": "The issue's document ID.",
|
|
8112
|
+
"name": "issueId",
|
|
8171
8113
|
"required": true
|
|
8172
8114
|
}
|
|
8173
8115
|
},
|
|
8174
|
-
"description": "Returns
|
|
8116
|
+
"description": "Returns an accepted conflict issue to triage, clears its resolution, and deletes the instruction the resolution created. Reopening an open or dismissed conflict returns it unchanged. Other issue types return `422` with code `issueNotResolvable`.",
|
|
8175
8117
|
"examples": [
|
|
8176
8118
|
{
|
|
8177
|
-
"command": "<%= config.bin %> <%= command.id %> <
|
|
8178
|
-
"description": "
|
|
8119
|
+
"command": "<%= config.bin %> <%= command.id %> <knowledgeBaseId> <issueId>",
|
|
8120
|
+
"description": "Reopen an accepted conflict"
|
|
8179
8121
|
},
|
|
8180
8122
|
{
|
|
8181
|
-
"command": "<%= config.bin %> <%= command.id %> <
|
|
8182
|
-
"description": "
|
|
8123
|
+
"command": "<%= config.bin %> <%= command.id %> <knowledgeBaseId> <issueId> --json",
|
|
8124
|
+
"description": "Reopen an accepted conflict, as JSON"
|
|
8183
8125
|
}
|
|
8184
8126
|
],
|
|
8185
8127
|
"flags": {
|
|
@@ -8189,77 +8131,52 @@
|
|
|
8189
8131
|
"name": "json",
|
|
8190
8132
|
"allowNo": false,
|
|
8191
8133
|
"type": "boolean"
|
|
8192
|
-
},
|
|
8193
|
-
"link-resolver": {
|
|
8194
|
-
"description": "A JSON array that adds `_url` fields to query results. Each item has `types` (document types), `baseUrl`, and an optional `slugExpression`, a GROQ expression that defaults to `slug.current`. Invalid JSON is ignored.",
|
|
8195
|
-
"name": "link-resolver",
|
|
8196
|
-
"hasDynamicHelp": false,
|
|
8197
|
-
"multiple": false,
|
|
8198
|
-
"type": "option"
|
|
8199
|
-
},
|
|
8200
|
-
"heading_offset": {
|
|
8201
|
-
"description": "How many levels to shift markdown headings down, from `0` to `6`. Defaults to `1`, so `#` becomes `##`.",
|
|
8202
|
-
"name": "heading_offset",
|
|
8203
|
-
"hasDynamicHelp": false,
|
|
8204
|
-
"multiple": false,
|
|
8205
|
-
"type": "option"
|
|
8206
|
-
},
|
|
8207
|
-
"organization": {
|
|
8208
|
-
"description": "Organization ID (overrides CLI configuration)",
|
|
8209
|
-
"helpGroup": "OVERRIDE",
|
|
8210
|
-
"name": "organization",
|
|
8211
|
-
"hasDynamicHelp": false,
|
|
8212
|
-
"helpValue": "<id>",
|
|
8213
|
-
"multiple": false,
|
|
8214
|
-
"type": "option"
|
|
8215
8134
|
}
|
|
8216
8135
|
},
|
|
8217
8136
|
"hasDynamicHelp": false,
|
|
8218
8137
|
"hiddenAliases": [],
|
|
8219
|
-
"id": "context:
|
|
8138
|
+
"id": "context:issues:reopen",
|
|
8220
8139
|
"pluginAlias": "@sanity/cli",
|
|
8221
8140
|
"pluginName": "@sanity/cli",
|
|
8222
8141
|
"pluginType": "core",
|
|
8223
8142
|
"strict": true,
|
|
8224
|
-
"summary": "
|
|
8143
|
+
"summary": "Reopen an accepted conflict",
|
|
8225
8144
|
"enableJsonFlag": true,
|
|
8226
8145
|
"telemetry": {
|
|
8227
|
-
"redactedFlags": [
|
|
8228
|
-
{
|
|
8229
|
-
"canonical": "--link-resolver",
|
|
8230
|
-
"flags": [
|
|
8231
|
-
"--link-resolver"
|
|
8232
|
-
]
|
|
8233
|
-
},
|
|
8234
|
-
{
|
|
8235
|
-
"canonical": "--heading_offset",
|
|
8236
|
-
"flags": [
|
|
8237
|
-
"--heading_offset"
|
|
8238
|
-
]
|
|
8239
|
-
}
|
|
8240
|
-
]
|
|
8146
|
+
"redactedFlags": []
|
|
8241
8147
|
},
|
|
8242
8148
|
"isESM": true,
|
|
8243
8149
|
"relativePath": [
|
|
8244
8150
|
"dist",
|
|
8245
8151
|
"commands",
|
|
8246
8152
|
"context",
|
|
8247
|
-
"
|
|
8248
|
-
"
|
|
8153
|
+
"issues",
|
|
8154
|
+
"reopen.js"
|
|
8249
8155
|
]
|
|
8250
8156
|
},
|
|
8251
|
-
"context:
|
|
8157
|
+
"context:issues:resolve": {
|
|
8252
8158
|
"aliases": [],
|
|
8253
|
-
"args": {
|
|
8254
|
-
|
|
8159
|
+
"args": {
|
|
8160
|
+
"knowledgeBaseId": {
|
|
8161
|
+
"description": "The knowledge base's ID (`kb...`), its `publicId`. Its UUID `id` is also accepted.",
|
|
8162
|
+
"name": "knowledgeBaseId",
|
|
8163
|
+
"required": true
|
|
8164
|
+
},
|
|
8165
|
+
"issueId": {
|
|
8166
|
+
"description": "The issue's document ID.",
|
|
8167
|
+
"name": "issueId",
|
|
8168
|
+
"required": true
|
|
8169
|
+
}
|
|
8170
|
+
},
|
|
8171
|
+
"description": "Resolves a conflict issue by choosing one of its sides. Set `resolution` to the index of a side in `content.sides`. For a conflict on a single entry, index `0` is the entry's current content, so choosing it keeps the entry as it is. Choosing any other side rewrites the entry, and the returned `jobId` tracks the rewrite. The decision becomes a standing instruction for every future build, and `resolvedBy` records who made it. To change a decision, resolve the accepted conflict again. Other issue types, dismissed conflicts, and out-of-range indexes return `422` with code `issueNotResolvable`.",
|
|
8255
8172
|
"examples": [
|
|
8256
8173
|
{
|
|
8257
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
8258
|
-
"description": "
|
|
8174
|
+
"command": "<%= config.bin %> <%= command.id %> kb-abc123 issue-def456",
|
|
8175
|
+
"description": "Choose the correct side interactively"
|
|
8259
8176
|
},
|
|
8260
8177
|
{
|
|
8261
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8262
|
-
"description": "
|
|
8178
|
+
"command": "<%= config.bin %> <%= command.id %> kb-abc123 issue-def456 --side 1 --watch",
|
|
8179
|
+
"description": "Choose side 1 and wait for the entry rewrite"
|
|
8263
8180
|
}
|
|
8264
8181
|
],
|
|
8265
8182
|
"flags": {
|
|
@@ -8270,47 +8187,63 @@
|
|
|
8270
8187
|
"allowNo": false,
|
|
8271
8188
|
"type": "boolean"
|
|
8272
8189
|
},
|
|
8273
|
-
"
|
|
8274
|
-
"description": "
|
|
8275
|
-
"
|
|
8276
|
-
"
|
|
8190
|
+
"watch": {
|
|
8191
|
+
"description": "Wait for the job to finish, exiting non-zero if it fails",
|
|
8192
|
+
"name": "watch",
|
|
8193
|
+
"allowNo": false,
|
|
8194
|
+
"type": "boolean"
|
|
8195
|
+
},
|
|
8196
|
+
"side": {
|
|
8197
|
+
"description": "Index of the correct side, as listed by `sanity context issues get`",
|
|
8198
|
+
"name": "side",
|
|
8277
8199
|
"hasDynamicHelp": false,
|
|
8278
|
-
"helpValue": "<id>",
|
|
8279
8200
|
"multiple": false,
|
|
8280
8201
|
"type": "option"
|
|
8281
8202
|
}
|
|
8282
8203
|
},
|
|
8283
8204
|
"hasDynamicHelp": false,
|
|
8284
8205
|
"hiddenAliases": [],
|
|
8285
|
-
"id": "context:
|
|
8206
|
+
"id": "context:issues:resolve",
|
|
8286
8207
|
"pluginAlias": "@sanity/cli",
|
|
8287
8208
|
"pluginName": "@sanity/cli",
|
|
8288
8209
|
"pluginType": "core",
|
|
8289
|
-
"
|
|
8210
|
+
"summary": "Resolve a conflict issue",
|
|
8290
8211
|
"enableJsonFlag": true,
|
|
8212
|
+
"telemetry": {
|
|
8213
|
+
"redactedFlags": []
|
|
8214
|
+
},
|
|
8291
8215
|
"isESM": true,
|
|
8292
8216
|
"relativePath": [
|
|
8293
8217
|
"dist",
|
|
8294
8218
|
"commands",
|
|
8295
8219
|
"context",
|
|
8296
|
-
"
|
|
8297
|
-
"
|
|
8220
|
+
"issues",
|
|
8221
|
+
"resolve.js"
|
|
8298
8222
|
]
|
|
8299
8223
|
},
|
|
8300
|
-
"context:
|
|
8224
|
+
"context:jobs:get": {
|
|
8301
8225
|
"aliases": [],
|
|
8302
8226
|
"args": {
|
|
8303
|
-
"
|
|
8304
|
-
"description": "
|
|
8305
|
-
"name": "
|
|
8227
|
+
"knowledgeBaseId": {
|
|
8228
|
+
"description": "The knowledge base's ID (`kb...`), its `publicId`. Its UUID `id` is also accepted.",
|
|
8229
|
+
"name": "knowledgeBaseId",
|
|
8230
|
+
"required": true
|
|
8231
|
+
},
|
|
8232
|
+
"jobId": {
|
|
8233
|
+
"description": "The job ID returned by the endpoint that started the work.",
|
|
8234
|
+
"name": "jobId",
|
|
8306
8235
|
"required": true
|
|
8307
8236
|
}
|
|
8308
8237
|
},
|
|
8309
|
-
"description": "
|
|
8238
|
+
"description": "Returns the status of a background job, such as a build, sync, or refresh. The endpoint that starts the work returns the job ID. A job cancelled before it started never ran, so it returns 404.",
|
|
8310
8239
|
"examples": [
|
|
8311
8240
|
{
|
|
8312
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8313
|
-
"description": "
|
|
8241
|
+
"command": "<%= config.bin %> <%= command.id %> <knowledgeBaseId> <jobId>",
|
|
8242
|
+
"description": "Get a job"
|
|
8243
|
+
},
|
|
8244
|
+
{
|
|
8245
|
+
"command": "<%= config.bin %> <%= command.id %> <knowledgeBaseId> <jobId> --json",
|
|
8246
|
+
"description": "Get a job, as JSON"
|
|
8314
8247
|
}
|
|
8315
8248
|
],
|
|
8316
8249
|
"flags": {
|
|
@@ -8321,68 +8254,57 @@
|
|
|
8321
8254
|
"allowNo": false,
|
|
8322
8255
|
"type": "boolean"
|
|
8323
8256
|
},
|
|
8324
|
-
"
|
|
8325
|
-
"description": "
|
|
8326
|
-
"
|
|
8327
|
-
"
|
|
8328
|
-
"
|
|
8329
|
-
"helpValue": "<id>",
|
|
8330
|
-
"multiple": false,
|
|
8331
|
-
"type": "option"
|
|
8257
|
+
"watch": {
|
|
8258
|
+
"description": "Wait for the job to finish, exiting non-zero if it fails",
|
|
8259
|
+
"name": "watch",
|
|
8260
|
+
"allowNo": false,
|
|
8261
|
+
"type": "boolean"
|
|
8332
8262
|
}
|
|
8333
8263
|
},
|
|
8334
8264
|
"hasDynamicHelp": false,
|
|
8335
8265
|
"hiddenAliases": [],
|
|
8336
|
-
"id": "context:
|
|
8266
|
+
"id": "context:jobs:get",
|
|
8337
8267
|
"pluginAlias": "@sanity/cli",
|
|
8338
8268
|
"pluginName": "@sanity/cli",
|
|
8339
8269
|
"pluginType": "core",
|
|
8340
8270
|
"strict": true,
|
|
8271
|
+
"summary": "Get a job",
|
|
8341
8272
|
"enableJsonFlag": true,
|
|
8273
|
+
"telemetry": {
|
|
8274
|
+
"redactedFlags": []
|
|
8275
|
+
},
|
|
8342
8276
|
"isESM": true,
|
|
8343
8277
|
"relativePath": [
|
|
8344
8278
|
"dist",
|
|
8345
8279
|
"commands",
|
|
8346
8280
|
"context",
|
|
8347
|
-
"
|
|
8348
|
-
"
|
|
8281
|
+
"jobs",
|
|
8282
|
+
"get.js"
|
|
8349
8283
|
]
|
|
8350
8284
|
},
|
|
8351
|
-
"context:mcp:
|
|
8285
|
+
"context:mcp:create": {
|
|
8352
8286
|
"aliases": [],
|
|
8353
8287
|
"args": {
|
|
8354
8288
|
"name": {
|
|
8355
|
-
"description": "MCP endpoint name
|
|
8289
|
+
"description": "Permanent MCP endpoint name used in its URL, made of lowercase letters, digits and hyphens",
|
|
8356
8290
|
"name": "name",
|
|
8357
8291
|
"required": true
|
|
8358
8292
|
}
|
|
8359
8293
|
},
|
|
8360
|
-
"description": "
|
|
8294
|
+
"description": "Create a Context MCP endpoint that serves knowledge bases and a dataset to agents",
|
|
8361
8295
|
"examples": [
|
|
8362
8296
|
{
|
|
8363
|
-
"command": "<%= config.bin %> <%= command.id %> support --title \"
|
|
8364
|
-
"description": "
|
|
8365
|
-
},
|
|
8366
|
-
{
|
|
8367
|
-
"command": "<%= config.bin %> <%= command.id %> support --add-knowledge-base kb-def456 --remove-knowledge-base kb-abc123",
|
|
8368
|
-
"description": "Serve a different knowledge base"
|
|
8369
|
-
},
|
|
8370
|
-
{
|
|
8371
|
-
"command": "<%= config.bin %> <%= command.id %> catalog --project abc123 --dataset staging --perspective drafts",
|
|
8372
|
-
"description": "Switch to another dataset and query its drafts"
|
|
8373
|
-
},
|
|
8374
|
-
{
|
|
8375
|
-
"command": "<%= config.bin %> <%= command.id %> support --no-dataset",
|
|
8376
|
-
"description": "Stop serving the dataset"
|
|
8297
|
+
"command": "<%= config.bin %> <%= command.id %> support --title \"Support\" --knowledge-base kb-abc123 --knowledge-base kb-def456",
|
|
8298
|
+
"description": "Create an MCP endpoint that serves two knowledge bases"
|
|
8377
8299
|
},
|
|
8378
8300
|
{
|
|
8379
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8380
|
-
"description": "
|
|
8301
|
+
"command": "<%= config.bin %> <%= command.id %> catalog --title \"Catalog\" --project abc123 --dataset production --perspective drafts --groq-filter '_type in [\"product\"]'",
|
|
8302
|
+
"description": "Create an MCP endpoint that serves the products in a dataset"
|
|
8381
8303
|
}
|
|
8382
8304
|
],
|
|
8383
8305
|
"flags": {
|
|
8384
8306
|
"organization": {
|
|
8385
|
-
"description": "Organization the MCP endpoint
|
|
8307
|
+
"description": "Organization to create the MCP endpoint in (overrides CLI configuration)",
|
|
8386
8308
|
"helpGroup": "OVERRIDE",
|
|
8387
8309
|
"name": "organization",
|
|
8388
8310
|
"hasDynamicHelp": false,
|
|
@@ -8390,17 +8312,9 @@
|
|
|
8390
8312
|
"multiple": false,
|
|
8391
8313
|
"type": "option"
|
|
8392
8314
|
},
|
|
8393
|
-
"add-knowledge-base": {
|
|
8394
|
-
"description": "Knowledge base to add to the endpoint; repeat the flag to add several",
|
|
8395
|
-
"name": "add-knowledge-base",
|
|
8396
|
-
"hasDynamicHelp": false,
|
|
8397
|
-
"helpValue": "<id>",
|
|
8398
|
-
"multiple": true,
|
|
8399
|
-
"type": "option"
|
|
8400
|
-
},
|
|
8401
8315
|
"dataset": {
|
|
8402
8316
|
"char": "d",
|
|
8403
|
-
"description": "Dataset the endpoint serves
|
|
8317
|
+
"description": "Dataset the endpoint serves",
|
|
8404
8318
|
"name": "dataset",
|
|
8405
8319
|
"hasDynamicHelp": false,
|
|
8406
8320
|
"helpValue": "<name>",
|
|
@@ -8425,36 +8339,34 @@
|
|
|
8425
8339
|
"type": "option"
|
|
8426
8340
|
},
|
|
8427
8341
|
"groq-filter": {
|
|
8428
|
-
"
|
|
8342
|
+
"dependsOn": [
|
|
8343
|
+
"dataset"
|
|
8344
|
+
],
|
|
8345
|
+
"description": "GROQ filter that limits which dataset documents the endpoint serves",
|
|
8429
8346
|
"name": "groq-filter",
|
|
8430
8347
|
"hasDynamicHelp": false,
|
|
8431
8348
|
"multiple": false,
|
|
8432
8349
|
"type": "option"
|
|
8433
8350
|
},
|
|
8434
8351
|
"instructions": {
|
|
8435
|
-
"description": "Instructions the endpoint serves to connecting agents
|
|
8352
|
+
"description": "Instructions the endpoint serves to connecting agents",
|
|
8436
8353
|
"name": "instructions",
|
|
8437
8354
|
"hasDynamicHelp": false,
|
|
8438
8355
|
"multiple": false,
|
|
8439
8356
|
"type": "option"
|
|
8440
8357
|
},
|
|
8441
8358
|
"knowledge-base": {
|
|
8442
|
-
"
|
|
8359
|
+
"description": "Knowledge base the endpoint serves; repeat the flag to serve several",
|
|
8443
8360
|
"name": "knowledge-base",
|
|
8444
8361
|
"hasDynamicHelp": false,
|
|
8362
|
+
"helpValue": "<id>",
|
|
8445
8363
|
"multiple": true,
|
|
8446
8364
|
"type": "option"
|
|
8447
8365
|
},
|
|
8448
|
-
"
|
|
8449
|
-
"
|
|
8450
|
-
"exclusive": [
|
|
8366
|
+
"perspective": {
|
|
8367
|
+
"dependsOn": [
|
|
8451
8368
|
"dataset"
|
|
8452
8369
|
],
|
|
8453
|
-
"name": "no-dataset",
|
|
8454
|
-
"allowNo": false,
|
|
8455
|
-
"type": "boolean"
|
|
8456
|
-
},
|
|
8457
|
-
"perspective": {
|
|
8458
8370
|
"description": "Perspective agents query the dataset with",
|
|
8459
8371
|
"name": "perspective",
|
|
8460
8372
|
"hasDynamicHelp": false,
|
|
@@ -8466,29 +8378,27 @@
|
|
|
8466
8378
|
],
|
|
8467
8379
|
"type": "option"
|
|
8468
8380
|
},
|
|
8469
|
-
"remove-knowledge-base": {
|
|
8470
|
-
"description": "Knowledge base to remove from the endpoint; repeat the flag to remove several",
|
|
8471
|
-
"name": "remove-knowledge-base",
|
|
8472
|
-
"hasDynamicHelp": false,
|
|
8473
|
-
"helpValue": "<id>",
|
|
8474
|
-
"multiple": true,
|
|
8475
|
-
"type": "option"
|
|
8476
|
-
},
|
|
8477
8381
|
"semantic-search": {
|
|
8382
|
+
"dependsOn": [
|
|
8383
|
+
"dataset"
|
|
8384
|
+
],
|
|
8478
8385
|
"description": "Let agents use semantic search on the dataset (--no-semantic-search to turn it off)",
|
|
8479
8386
|
"name": "semantic-search",
|
|
8480
8387
|
"allowNo": true,
|
|
8481
8388
|
"type": "boolean"
|
|
8482
8389
|
},
|
|
8483
8390
|
"title": {
|
|
8484
|
-
"description": "
|
|
8391
|
+
"description": "MCP endpoint title",
|
|
8485
8392
|
"name": "title",
|
|
8486
8393
|
"hasDynamicHelp": false,
|
|
8487
8394
|
"multiple": false,
|
|
8488
8395
|
"type": "option"
|
|
8489
8396
|
},
|
|
8490
8397
|
"workspace": {
|
|
8491
|
-
"
|
|
8398
|
+
"dependsOn": [
|
|
8399
|
+
"dataset"
|
|
8400
|
+
],
|
|
8401
|
+
"description": "Studio workspace whose schema agents use, instead of the first workspace",
|
|
8492
8402
|
"name": "workspace",
|
|
8493
8403
|
"hasDynamicHelp": false,
|
|
8494
8404
|
"multiple": false,
|
|
@@ -8497,7 +8407,7 @@
|
|
|
8497
8407
|
},
|
|
8498
8408
|
"hasDynamicHelp": false,
|
|
8499
8409
|
"hiddenAliases": [],
|
|
8500
|
-
"id": "context:mcp:
|
|
8410
|
+
"id": "context:mcp:create",
|
|
8501
8411
|
"pluginAlias": "@sanity/cli",
|
|
8502
8412
|
"pluginName": "@sanity/cli",
|
|
8503
8413
|
"pluginType": "core",
|
|
@@ -8530,33 +8440,81 @@
|
|
|
8530
8440
|
"commands",
|
|
8531
8441
|
"context",
|
|
8532
8442
|
"mcp",
|
|
8533
|
-
"
|
|
8443
|
+
"create.js"
|
|
8534
8444
|
]
|
|
8535
8445
|
},
|
|
8536
|
-
"context:
|
|
8446
|
+
"context:mcp:delete": {
|
|
8537
8447
|
"aliases": [],
|
|
8538
8448
|
"args": {
|
|
8539
|
-
"
|
|
8540
|
-
"description": "
|
|
8541
|
-
"name": "
|
|
8449
|
+
"name": {
|
|
8450
|
+
"description": "MCP endpoint name, as in its URL",
|
|
8451
|
+
"name": "name",
|
|
8542
8452
|
"required": true
|
|
8453
|
+
}
|
|
8454
|
+
},
|
|
8455
|
+
"description": "Delete a Context MCP endpoint, which disconnects any agents using it",
|
|
8456
|
+
"examples": [
|
|
8457
|
+
{
|
|
8458
|
+
"command": "<%= config.bin %> <%= command.id %> support",
|
|
8459
|
+
"description": "Delete an MCP endpoint after confirmation"
|
|
8543
8460
|
},
|
|
8544
|
-
|
|
8545
|
-
"
|
|
8546
|
-
"
|
|
8547
|
-
|
|
8461
|
+
{
|
|
8462
|
+
"command": "<%= config.bin %> <%= command.id %> support --yes",
|
|
8463
|
+
"description": "Delete an MCP endpoint without confirmation prompt"
|
|
8464
|
+
}
|
|
8465
|
+
],
|
|
8466
|
+
"flags": {
|
|
8467
|
+
"organization": {
|
|
8468
|
+
"description": "Organization the MCP endpoint belongs to (overrides CLI configuration)",
|
|
8469
|
+
"helpGroup": "OVERRIDE",
|
|
8470
|
+
"name": "organization",
|
|
8471
|
+
"hasDynamicHelp": false,
|
|
8472
|
+
"helpValue": "<id>",
|
|
8473
|
+
"multiple": false,
|
|
8474
|
+
"type": "option"
|
|
8475
|
+
},
|
|
8476
|
+
"yes": {
|
|
8477
|
+
"char": "y",
|
|
8478
|
+
"description": "Skip confirmation prompt (unattended mode)",
|
|
8479
|
+
"name": "yes",
|
|
8480
|
+
"allowNo": false,
|
|
8481
|
+
"type": "boolean"
|
|
8482
|
+
}
|
|
8483
|
+
},
|
|
8484
|
+
"hasDynamicHelp": false,
|
|
8485
|
+
"hiddenAliases": [],
|
|
8486
|
+
"id": "context:mcp:delete",
|
|
8487
|
+
"pluginAlias": "@sanity/cli",
|
|
8488
|
+
"pluginName": "@sanity/cli",
|
|
8489
|
+
"pluginType": "core",
|
|
8490
|
+
"strict": true,
|
|
8491
|
+
"isESM": true,
|
|
8492
|
+
"relativePath": [
|
|
8493
|
+
"dist",
|
|
8494
|
+
"commands",
|
|
8495
|
+
"context",
|
|
8496
|
+
"mcp",
|
|
8497
|
+
"delete.js"
|
|
8498
|
+
]
|
|
8499
|
+
},
|
|
8500
|
+
"context:mcp:get": {
|
|
8501
|
+
"aliases": [],
|
|
8502
|
+
"args": {
|
|
8503
|
+
"name": {
|
|
8504
|
+
"description": "MCP endpoint name, as in its URL",
|
|
8505
|
+
"name": "name",
|
|
8548
8506
|
"required": true
|
|
8549
8507
|
}
|
|
8550
8508
|
},
|
|
8551
|
-
"description": "
|
|
8509
|
+
"description": "Get details of a Context MCP endpoint, including its URL",
|
|
8552
8510
|
"examples": [
|
|
8553
8511
|
{
|
|
8554
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8555
|
-
"description": "
|
|
8512
|
+
"command": "<%= config.bin %> <%= command.id %> support",
|
|
8513
|
+
"description": "Get details of the \"support\" MCP endpoint"
|
|
8556
8514
|
},
|
|
8557
8515
|
{
|
|
8558
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8559
|
-
"description": "
|
|
8516
|
+
"command": "<%= config.bin %> <%= command.id %> support --organization org-abc123 --json",
|
|
8517
|
+
"description": "Output an MCP endpoint in a specific organization as JSON"
|
|
8560
8518
|
}
|
|
8561
8519
|
],
|
|
8562
8520
|
"flags": {
|
|
@@ -8567,57 +8525,131 @@
|
|
|
8567
8525
|
"allowNo": false,
|
|
8568
8526
|
"type": "boolean"
|
|
8569
8527
|
},
|
|
8570
|
-
"
|
|
8571
|
-
"description": "
|
|
8572
|
-
"
|
|
8573
|
-
"
|
|
8574
|
-
"
|
|
8528
|
+
"organization": {
|
|
8529
|
+
"description": "Organization the MCP endpoint belongs to (overrides CLI configuration)",
|
|
8530
|
+
"helpGroup": "OVERRIDE",
|
|
8531
|
+
"name": "organization",
|
|
8532
|
+
"hasDynamicHelp": false,
|
|
8533
|
+
"helpValue": "<id>",
|
|
8534
|
+
"multiple": false,
|
|
8535
|
+
"type": "option"
|
|
8575
8536
|
}
|
|
8576
8537
|
},
|
|
8577
8538
|
"hasDynamicHelp": false,
|
|
8578
8539
|
"hiddenAliases": [],
|
|
8579
|
-
"id": "context:
|
|
8540
|
+
"id": "context:mcp:get",
|
|
8580
8541
|
"pluginAlias": "@sanity/cli",
|
|
8581
8542
|
"pluginName": "@sanity/cli",
|
|
8582
8543
|
"pluginType": "core",
|
|
8583
8544
|
"strict": true,
|
|
8584
|
-
"summary": "Accept and apply issues",
|
|
8585
8545
|
"enableJsonFlag": true,
|
|
8586
|
-
"telemetry": {
|
|
8587
|
-
"redactedFlags": []
|
|
8588
|
-
},
|
|
8589
8546
|
"isESM": true,
|
|
8590
8547
|
"relativePath": [
|
|
8591
8548
|
"dist",
|
|
8592
8549
|
"commands",
|
|
8593
8550
|
"context",
|
|
8594
|
-
"
|
|
8595
|
-
"
|
|
8551
|
+
"mcp",
|
|
8552
|
+
"get.js"
|
|
8596
8553
|
]
|
|
8597
8554
|
},
|
|
8598
|
-
"context:
|
|
8555
|
+
"context:mcp:initial-context": {
|
|
8599
8556
|
"aliases": [],
|
|
8600
8557
|
"args": {
|
|
8601
|
-
"
|
|
8602
|
-
"description": "The
|
|
8603
|
-
"name": "
|
|
8558
|
+
"mcpEndpoint": {
|
|
8559
|
+
"description": "The MCP endpoint's name, set when the endpoint was created.",
|
|
8560
|
+
"name": "mcpEndpoint",
|
|
8604
8561
|
"required": true
|
|
8562
|
+
}
|
|
8563
|
+
},
|
|
8564
|
+
"description": "Returns the same text as the `initial_context` MCP tool, as plain text you can add to a system prompt. `heading_offset` shifts markdown headings down by that many levels. The default is `1`, so `#` becomes `##`.",
|
|
8565
|
+
"examples": [
|
|
8566
|
+
{
|
|
8567
|
+
"command": "<%= config.bin %> <%= command.id %> <mcpEndpoint>",
|
|
8568
|
+
"description": "Get an MCP endpoint's initial context"
|
|
8605
8569
|
},
|
|
8606
|
-
|
|
8607
|
-
"
|
|
8608
|
-
"
|
|
8609
|
-
|
|
8570
|
+
{
|
|
8571
|
+
"command": "<%= config.bin %> <%= command.id %> <mcpEndpoint> --json",
|
|
8572
|
+
"description": "Get an MCP endpoint's initial context, as JSON"
|
|
8573
|
+
}
|
|
8574
|
+
],
|
|
8575
|
+
"flags": {
|
|
8576
|
+
"json": {
|
|
8577
|
+
"description": "Format output as json.",
|
|
8578
|
+
"helpGroup": "GLOBAL",
|
|
8579
|
+
"name": "json",
|
|
8580
|
+
"allowNo": false,
|
|
8581
|
+
"type": "boolean"
|
|
8582
|
+
},
|
|
8583
|
+
"link-resolver": {
|
|
8584
|
+
"description": "A JSON array that adds `_url` fields to query results. Each item has `types` (document types), `baseUrl`, and an optional `slugExpression`, a GROQ expression that defaults to `slug.current`. Invalid JSON is ignored.",
|
|
8585
|
+
"name": "link-resolver",
|
|
8586
|
+
"hasDynamicHelp": false,
|
|
8587
|
+
"multiple": false,
|
|
8588
|
+
"type": "option"
|
|
8589
|
+
},
|
|
8590
|
+
"heading_offset": {
|
|
8591
|
+
"description": "How many levels to shift markdown headings down, from `0` to `6`. Defaults to `1`, so `#` becomes `##`.",
|
|
8592
|
+
"name": "heading_offset",
|
|
8593
|
+
"hasDynamicHelp": false,
|
|
8594
|
+
"multiple": false,
|
|
8595
|
+
"type": "option"
|
|
8596
|
+
},
|
|
8597
|
+
"organization": {
|
|
8598
|
+
"description": "Organization ID (overrides CLI configuration)",
|
|
8599
|
+
"helpGroup": "OVERRIDE",
|
|
8600
|
+
"name": "organization",
|
|
8601
|
+
"hasDynamicHelp": false,
|
|
8602
|
+
"helpValue": "<id>",
|
|
8603
|
+
"multiple": false,
|
|
8604
|
+
"type": "option"
|
|
8610
8605
|
}
|
|
8611
8606
|
},
|
|
8612
|
-
"
|
|
8607
|
+
"hasDynamicHelp": false,
|
|
8608
|
+
"hiddenAliases": [],
|
|
8609
|
+
"id": "context:mcp:initial-context",
|
|
8610
|
+
"pluginAlias": "@sanity/cli",
|
|
8611
|
+
"pluginName": "@sanity/cli",
|
|
8612
|
+
"pluginType": "core",
|
|
8613
|
+
"strict": true,
|
|
8614
|
+
"summary": "Get an MCP endpoint's initial context",
|
|
8615
|
+
"enableJsonFlag": true,
|
|
8616
|
+
"telemetry": {
|
|
8617
|
+
"redactedFlags": [
|
|
8618
|
+
{
|
|
8619
|
+
"canonical": "--link-resolver",
|
|
8620
|
+
"flags": [
|
|
8621
|
+
"--link-resolver"
|
|
8622
|
+
]
|
|
8623
|
+
},
|
|
8624
|
+
{
|
|
8625
|
+
"canonical": "--heading_offset",
|
|
8626
|
+
"flags": [
|
|
8627
|
+
"--heading_offset"
|
|
8628
|
+
]
|
|
8629
|
+
}
|
|
8630
|
+
]
|
|
8631
|
+
},
|
|
8632
|
+
"isESM": true,
|
|
8633
|
+
"relativePath": [
|
|
8634
|
+
"dist",
|
|
8635
|
+
"commands",
|
|
8636
|
+
"context",
|
|
8637
|
+
"mcp",
|
|
8638
|
+
"initial-context.js"
|
|
8639
|
+
]
|
|
8640
|
+
},
|
|
8641
|
+
"context:mcp:list": {
|
|
8642
|
+
"aliases": [],
|
|
8643
|
+
"args": {},
|
|
8644
|
+
"description": "List Context MCP endpoints in an organization",
|
|
8613
8645
|
"examples": [
|
|
8614
8646
|
{
|
|
8615
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8616
|
-
"description": "
|
|
8647
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
8648
|
+
"description": "List MCP endpoints, selecting the organization interactively"
|
|
8617
8649
|
},
|
|
8618
8650
|
{
|
|
8619
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8620
|
-
"description": "
|
|
8651
|
+
"command": "<%= config.bin %> <%= command.id %> --organization org-abc123 --json",
|
|
8652
|
+
"description": "Output the MCP endpoints of a specific organization as JSON"
|
|
8621
8653
|
}
|
|
8622
8654
|
],
|
|
8623
8655
|
"flags": {
|
|
@@ -8627,52 +8659,48 @@
|
|
|
8627
8659
|
"name": "json",
|
|
8628
8660
|
"allowNo": false,
|
|
8629
8661
|
"type": "boolean"
|
|
8662
|
+
},
|
|
8663
|
+
"organization": {
|
|
8664
|
+
"description": "Organization to list MCP endpoints for (overrides CLI configuration)",
|
|
8665
|
+
"helpGroup": "OVERRIDE",
|
|
8666
|
+
"name": "organization",
|
|
8667
|
+
"hasDynamicHelp": false,
|
|
8668
|
+
"helpValue": "<id>",
|
|
8669
|
+
"multiple": false,
|
|
8670
|
+
"type": "option"
|
|
8630
8671
|
}
|
|
8631
8672
|
},
|
|
8632
8673
|
"hasDynamicHelp": false,
|
|
8633
8674
|
"hiddenAliases": [],
|
|
8634
|
-
"id": "context:
|
|
8675
|
+
"id": "context:mcp:list",
|
|
8635
8676
|
"pluginAlias": "@sanity/cli",
|
|
8636
8677
|
"pluginName": "@sanity/cli",
|
|
8637
8678
|
"pluginType": "core",
|
|
8638
8679
|
"strict": true,
|
|
8639
|
-
"summary": "Dismiss an issue",
|
|
8640
8680
|
"enableJsonFlag": true,
|
|
8641
|
-
"telemetry": {
|
|
8642
|
-
"redactedFlags": []
|
|
8643
|
-
},
|
|
8644
8681
|
"isESM": true,
|
|
8645
8682
|
"relativePath": [
|
|
8646
8683
|
"dist",
|
|
8647
8684
|
"commands",
|
|
8648
8685
|
"context",
|
|
8649
|
-
"
|
|
8650
|
-
"
|
|
8686
|
+
"mcp",
|
|
8687
|
+
"list.js"
|
|
8651
8688
|
]
|
|
8652
8689
|
},
|
|
8653
|
-
"context:
|
|
8690
|
+
"context:mcp:status": {
|
|
8654
8691
|
"aliases": [],
|
|
8655
8692
|
"args": {
|
|
8656
|
-
"
|
|
8657
|
-
"description": "
|
|
8658
|
-
"name": "
|
|
8659
|
-
"required": true
|
|
8660
|
-
},
|
|
8661
|
-
"issueId": {
|
|
8662
|
-
"description": "Issue ID",
|
|
8663
|
-
"name": "issueId",
|
|
8693
|
+
"name": {
|
|
8694
|
+
"description": "MCP endpoint name, as in its URL",
|
|
8695
|
+
"name": "name",
|
|
8664
8696
|
"required": true
|
|
8665
8697
|
}
|
|
8666
8698
|
},
|
|
8667
|
-
"description": "
|
|
8699
|
+
"description": "Check whether an agent connecting with your credentials can use a Context MCP endpoint",
|
|
8668
8700
|
"examples": [
|
|
8669
8701
|
{
|
|
8670
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8671
|
-
"description": "
|
|
8672
|
-
},
|
|
8673
|
-
{
|
|
8674
|
-
"command": "<%= config.bin %> <%= command.id %> kb-abc123 issue.def456 --json",
|
|
8675
|
-
"description": "Output the issue as JSON"
|
|
8702
|
+
"command": "<%= config.bin %> <%= command.id %> support",
|
|
8703
|
+
"description": "Check the \"support\" MCP endpoint"
|
|
8676
8704
|
}
|
|
8677
8705
|
],
|
|
8678
8706
|
"flags": {
|
|
@@ -8682,11 +8710,20 @@
|
|
|
8682
8710
|
"name": "json",
|
|
8683
8711
|
"allowNo": false,
|
|
8684
8712
|
"type": "boolean"
|
|
8713
|
+
},
|
|
8714
|
+
"organization": {
|
|
8715
|
+
"description": "Organization the MCP endpoint belongs to (overrides CLI configuration)",
|
|
8716
|
+
"helpGroup": "OVERRIDE",
|
|
8717
|
+
"name": "organization",
|
|
8718
|
+
"hasDynamicHelp": false,
|
|
8719
|
+
"helpValue": "<id>",
|
|
8720
|
+
"multiple": false,
|
|
8721
|
+
"type": "option"
|
|
8685
8722
|
}
|
|
8686
8723
|
},
|
|
8687
8724
|
"hasDynamicHelp": false,
|
|
8688
8725
|
"hiddenAliases": [],
|
|
8689
|
-
"id": "context:
|
|
8726
|
+
"id": "context:mcp:status",
|
|
8690
8727
|
"pluginAlias": "@sanity/cli",
|
|
8691
8728
|
"pluginName": "@sanity/cli",
|
|
8692
8729
|
"pluginType": "core",
|
|
@@ -8697,207 +8734,152 @@
|
|
|
8697
8734
|
"dist",
|
|
8698
8735
|
"commands",
|
|
8699
8736
|
"context",
|
|
8700
|
-
"
|
|
8701
|
-
"
|
|
8737
|
+
"mcp",
|
|
8738
|
+
"status.js"
|
|
8702
8739
|
]
|
|
8703
8740
|
},
|
|
8704
|
-
"context:
|
|
8741
|
+
"context:mcp:update": {
|
|
8705
8742
|
"aliases": [],
|
|
8706
8743
|
"args": {
|
|
8707
|
-
"
|
|
8708
|
-
"description": "
|
|
8709
|
-
"name": "
|
|
8744
|
+
"name": {
|
|
8745
|
+
"description": "MCP endpoint name, as in its URL",
|
|
8746
|
+
"name": "name",
|
|
8710
8747
|
"required": true
|
|
8711
8748
|
}
|
|
8712
8749
|
},
|
|
8713
|
-
"description": "
|
|
8750
|
+
"description": "Update a Context MCP endpoint\n\nOnly the settings you pass change. Dataset settings (--workspace, --perspective, --semantic-search) apply to the endpoint's dataset and start from the defaults when --dataset switches to another dataset.",
|
|
8714
8751
|
"examples": [
|
|
8715
8752
|
{
|
|
8716
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8717
|
-
"description": "
|
|
8753
|
+
"command": "<%= config.bin %> <%= command.id %> support --title \"Customer support\"",
|
|
8754
|
+
"description": "Rename an MCP endpoint"
|
|
8718
8755
|
},
|
|
8719
8756
|
{
|
|
8720
|
-
"command": "<%= config.bin %> <%= command.id %> kb-
|
|
8721
|
-
"description": "
|
|
8757
|
+
"command": "<%= config.bin %> <%= command.id %> support --add-knowledge-base kb-def456 --remove-knowledge-base kb-abc123",
|
|
8758
|
+
"description": "Serve a different knowledge base"
|
|
8722
8759
|
},
|
|
8723
8760
|
{
|
|
8724
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8725
|
-
"description": "
|
|
8761
|
+
"command": "<%= config.bin %> <%= command.id %> catalog --project abc123 --dataset staging --perspective drafts",
|
|
8762
|
+
"description": "Switch to another dataset and query its drafts"
|
|
8726
8763
|
},
|
|
8727
8764
|
{
|
|
8728
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8729
|
-
"description": "
|
|
8765
|
+
"command": "<%= config.bin %> <%= command.id %> support --no-dataset",
|
|
8766
|
+
"description": "Stop serving the dataset"
|
|
8730
8767
|
},
|
|
8731
8768
|
{
|
|
8732
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
8733
|
-
"description": "
|
|
8769
|
+
"command": "<%= config.bin %> <%= command.id %> support --instructions \"\"",
|
|
8770
|
+
"description": "Remove the instructions"
|
|
8734
8771
|
}
|
|
8735
8772
|
],
|
|
8736
8773
|
"flags": {
|
|
8737
|
-
"
|
|
8738
|
-
"description": "
|
|
8739
|
-
"helpGroup": "
|
|
8740
|
-
"name": "
|
|
8741
|
-
"allowNo": false,
|
|
8742
|
-
"type": "boolean"
|
|
8743
|
-
},
|
|
8744
|
-
"kind": {
|
|
8745
|
-
"description": "Only list issues of this kind",
|
|
8746
|
-
"name": "kind",
|
|
8774
|
+
"organization": {
|
|
8775
|
+
"description": "Organization the MCP endpoint belongs to (overrides CLI configuration)",
|
|
8776
|
+
"helpGroup": "OVERRIDE",
|
|
8777
|
+
"name": "organization",
|
|
8747
8778
|
"hasDynamicHelp": false,
|
|
8779
|
+
"helpValue": "<id>",
|
|
8748
8780
|
"multiple": false,
|
|
8749
|
-
"options": [
|
|
8750
|
-
"conflict",
|
|
8751
|
-
"update_required"
|
|
8752
|
-
],
|
|
8753
8781
|
"type": "option"
|
|
8754
8782
|
},
|
|
8755
|
-
"
|
|
8756
|
-
"description": "
|
|
8757
|
-
"name": "
|
|
8783
|
+
"add-knowledge-base": {
|
|
8784
|
+
"description": "Knowledge base to add to the endpoint; repeat the flag to add several",
|
|
8785
|
+
"name": "add-knowledge-base",
|
|
8758
8786
|
"hasDynamicHelp": false,
|
|
8759
|
-
"helpValue": "<
|
|
8760
|
-
"multiple":
|
|
8787
|
+
"helpValue": "<id>",
|
|
8788
|
+
"multiple": true,
|
|
8761
8789
|
"type": "option"
|
|
8762
8790
|
},
|
|
8763
|
-
"
|
|
8764
|
-
"
|
|
8765
|
-
"
|
|
8791
|
+
"dataset": {
|
|
8792
|
+
"char": "d",
|
|
8793
|
+
"description": "Dataset the endpoint serves, replacing its current dataset",
|
|
8794
|
+
"name": "dataset",
|
|
8766
8795
|
"hasDynamicHelp": false,
|
|
8796
|
+
"helpValue": "<name>",
|
|
8767
8797
|
"multiple": false,
|
|
8768
|
-
"options": [
|
|
8769
|
-
"critical",
|
|
8770
|
-
"suggestion"
|
|
8771
|
-
],
|
|
8772
8798
|
"type": "option"
|
|
8773
8799
|
},
|
|
8774
|
-
"
|
|
8775
|
-
"
|
|
8776
|
-
|
|
8800
|
+
"project": {
|
|
8801
|
+
"aliases": [
|
|
8802
|
+
"project-id"
|
|
8803
|
+
],
|
|
8804
|
+
"char": "p",
|
|
8805
|
+
"dependsOn": [
|
|
8806
|
+
"dataset"
|
|
8807
|
+
],
|
|
8808
|
+
"deprecateAliases": true,
|
|
8809
|
+
"description": "Project the dataset belongs to (overrides CLI configuration)",
|
|
8810
|
+
"helpGroup": "OVERRIDE",
|
|
8811
|
+
"name": "project",
|
|
8777
8812
|
"hasDynamicHelp": false,
|
|
8813
|
+
"helpValue": "<id>",
|
|
8778
8814
|
"multiple": false,
|
|
8779
|
-
"options": [
|
|
8780
|
-
"open",
|
|
8781
|
-
"accepted",
|
|
8782
|
-
"rejected"
|
|
8783
|
-
],
|
|
8784
8815
|
"type": "option"
|
|
8785
|
-
}
|
|
8786
|
-
},
|
|
8787
|
-
"hasDynamicHelp": false,
|
|
8788
|
-
"hiddenAliases": [],
|
|
8789
|
-
"id": "context:issues:list",
|
|
8790
|
-
"pluginAlias": "@sanity/cli",
|
|
8791
|
-
"pluginName": "@sanity/cli",
|
|
8792
|
-
"pluginType": "core",
|
|
8793
|
-
"strict": true,
|
|
8794
|
-
"enableJsonFlag": true,
|
|
8795
|
-
"isESM": true,
|
|
8796
|
-
"relativePath": [
|
|
8797
|
-
"dist",
|
|
8798
|
-
"commands",
|
|
8799
|
-
"context",
|
|
8800
|
-
"issues",
|
|
8801
|
-
"list.js"
|
|
8802
|
-
]
|
|
8803
|
-
},
|
|
8804
|
-
"context:issues:reopen": {
|
|
8805
|
-
"aliases": [],
|
|
8806
|
-
"args": {
|
|
8807
|
-
"knowledgeBaseId": {
|
|
8808
|
-
"description": "The knowledge base's ID (`kb...`), its `publicId`. Its UUID `id` is also accepted.",
|
|
8809
|
-
"name": "knowledgeBaseId",
|
|
8810
|
-
"required": true
|
|
8811
8816
|
},
|
|
8812
|
-
"
|
|
8813
|
-
"description": "
|
|
8814
|
-
"name": "
|
|
8815
|
-
"
|
|
8816
|
-
|
|
8817
|
-
|
|
8818
|
-
"description": "Returns an accepted conflict issue to triage, clears its resolution, and deletes the instruction the resolution created. Reopening an open or dismissed conflict returns it unchanged. Other issue types return `422` with code `issueNotResolvable`.",
|
|
8819
|
-
"examples": [
|
|
8820
|
-
{
|
|
8821
|
-
"command": "<%= config.bin %> <%= command.id %> <knowledgeBaseId> <issueId>",
|
|
8822
|
-
"description": "Reopen an accepted conflict"
|
|
8817
|
+
"groq-filter": {
|
|
8818
|
+
"description": "GROQ filter that limits which dataset documents the endpoint serves (\"\" removes it)",
|
|
8819
|
+
"name": "groq-filter",
|
|
8820
|
+
"hasDynamicHelp": false,
|
|
8821
|
+
"multiple": false,
|
|
8822
|
+
"type": "option"
|
|
8823
8823
|
},
|
|
8824
|
-
{
|
|
8825
|
-
"
|
|
8826
|
-
"
|
|
8827
|
-
|
|
8828
|
-
|
|
8829
|
-
|
|
8830
|
-
"json": {
|
|
8831
|
-
"description": "Format output as json.",
|
|
8832
|
-
"helpGroup": "GLOBAL",
|
|
8833
|
-
"name": "json",
|
|
8834
|
-
"allowNo": false,
|
|
8835
|
-
"type": "boolean"
|
|
8836
|
-
}
|
|
8837
|
-
},
|
|
8838
|
-
"hasDynamicHelp": false,
|
|
8839
|
-
"hiddenAliases": [],
|
|
8840
|
-
"id": "context:issues:reopen",
|
|
8841
|
-
"pluginAlias": "@sanity/cli",
|
|
8842
|
-
"pluginName": "@sanity/cli",
|
|
8843
|
-
"pluginType": "core",
|
|
8844
|
-
"strict": true,
|
|
8845
|
-
"summary": "Reopen an accepted conflict",
|
|
8846
|
-
"enableJsonFlag": true,
|
|
8847
|
-
"telemetry": {
|
|
8848
|
-
"redactedFlags": []
|
|
8849
|
-
},
|
|
8850
|
-
"isESM": true,
|
|
8851
|
-
"relativePath": [
|
|
8852
|
-
"dist",
|
|
8853
|
-
"commands",
|
|
8854
|
-
"context",
|
|
8855
|
-
"issues",
|
|
8856
|
-
"reopen.js"
|
|
8857
|
-
]
|
|
8858
|
-
},
|
|
8859
|
-
"context:issues:resolve": {
|
|
8860
|
-
"aliases": [],
|
|
8861
|
-
"args": {
|
|
8862
|
-
"knowledgeBaseId": {
|
|
8863
|
-
"description": "The knowledge base's ID (`kb...`), its `publicId`. Its UUID `id` is also accepted.",
|
|
8864
|
-
"name": "knowledgeBaseId",
|
|
8865
|
-
"required": true
|
|
8824
|
+
"instructions": {
|
|
8825
|
+
"description": "Instructions the endpoint serves to connecting agents (\"\" removes them)",
|
|
8826
|
+
"name": "instructions",
|
|
8827
|
+
"hasDynamicHelp": false,
|
|
8828
|
+
"multiple": false,
|
|
8829
|
+
"type": "option"
|
|
8866
8830
|
},
|
|
8867
|
-
"
|
|
8868
|
-
"
|
|
8869
|
-
"name": "
|
|
8870
|
-
"
|
|
8871
|
-
|
|
8872
|
-
|
|
8873
|
-
"description": "Resolves a conflict issue by choosing one of its sides. Set `resolution` to the index of a side in `content.sides`. For a conflict on a single entry, index `0` is the entry's current content, so choosing it keeps the entry as it is. Choosing any other side rewrites the entry, and the returned `jobId` tracks the rewrite. The decision becomes a standing instruction for every future build, and `resolvedBy` records who made it. To change a decision, resolve the accepted conflict again. Other issue types, dismissed conflicts, and out-of-range indexes return `422` with code `issueNotResolvable`.",
|
|
8874
|
-
"examples": [
|
|
8875
|
-
{
|
|
8876
|
-
"command": "<%= config.bin %> <%= command.id %> kb-abc123 issue-def456",
|
|
8877
|
-
"description": "Choose the correct side interactively"
|
|
8831
|
+
"knowledge-base": {
|
|
8832
|
+
"hidden": true,
|
|
8833
|
+
"name": "knowledge-base",
|
|
8834
|
+
"hasDynamicHelp": false,
|
|
8835
|
+
"multiple": true,
|
|
8836
|
+
"type": "option"
|
|
8878
8837
|
},
|
|
8879
|
-
{
|
|
8880
|
-
"
|
|
8881
|
-
"
|
|
8882
|
-
|
|
8883
|
-
|
|
8884
|
-
|
|
8885
|
-
"json": {
|
|
8886
|
-
"description": "Format output as json.",
|
|
8887
|
-
"helpGroup": "GLOBAL",
|
|
8888
|
-
"name": "json",
|
|
8838
|
+
"no-dataset": {
|
|
8839
|
+
"description": "Stop serving the dataset, which also removes the GROQ filter",
|
|
8840
|
+
"exclusive": [
|
|
8841
|
+
"dataset"
|
|
8842
|
+
],
|
|
8843
|
+
"name": "no-dataset",
|
|
8889
8844
|
"allowNo": false,
|
|
8890
8845
|
"type": "boolean"
|
|
8891
8846
|
},
|
|
8892
|
-
"
|
|
8893
|
-
"description": "
|
|
8894
|
-
"name": "
|
|
8895
|
-
"
|
|
8847
|
+
"perspective": {
|
|
8848
|
+
"description": "Perspective agents query the dataset with",
|
|
8849
|
+
"name": "perspective",
|
|
8850
|
+
"hasDynamicHelp": false,
|
|
8851
|
+
"multiple": false,
|
|
8852
|
+
"options": [
|
|
8853
|
+
"published",
|
|
8854
|
+
"drafts",
|
|
8855
|
+
"raw"
|
|
8856
|
+
],
|
|
8857
|
+
"type": "option"
|
|
8858
|
+
},
|
|
8859
|
+
"remove-knowledge-base": {
|
|
8860
|
+
"description": "Knowledge base to remove from the endpoint; repeat the flag to remove several",
|
|
8861
|
+
"name": "remove-knowledge-base",
|
|
8862
|
+
"hasDynamicHelp": false,
|
|
8863
|
+
"helpValue": "<id>",
|
|
8864
|
+
"multiple": true,
|
|
8865
|
+
"type": "option"
|
|
8866
|
+
},
|
|
8867
|
+
"semantic-search": {
|
|
8868
|
+
"description": "Let agents use semantic search on the dataset (--no-semantic-search to turn it off)",
|
|
8869
|
+
"name": "semantic-search",
|
|
8870
|
+
"allowNo": true,
|
|
8896
8871
|
"type": "boolean"
|
|
8897
8872
|
},
|
|
8898
|
-
"
|
|
8899
|
-
"description": "
|
|
8900
|
-
"name": "
|
|
8873
|
+
"title": {
|
|
8874
|
+
"description": "New MCP endpoint title",
|
|
8875
|
+
"name": "title",
|
|
8876
|
+
"hasDynamicHelp": false,
|
|
8877
|
+
"multiple": false,
|
|
8878
|
+
"type": "option"
|
|
8879
|
+
},
|
|
8880
|
+
"workspace": {
|
|
8881
|
+
"description": "Studio workspace whose schema agents use (\"\" goes back to the first workspace)",
|
|
8882
|
+
"name": "workspace",
|
|
8901
8883
|
"hasDynamicHelp": false,
|
|
8902
8884
|
"multiple": false,
|
|
8903
8885
|
"type": "option"
|
|
@@ -8905,22 +8887,40 @@
|
|
|
8905
8887
|
},
|
|
8906
8888
|
"hasDynamicHelp": false,
|
|
8907
8889
|
"hiddenAliases": [],
|
|
8908
|
-
"id": "context:
|
|
8890
|
+
"id": "context:mcp:update",
|
|
8909
8891
|
"pluginAlias": "@sanity/cli",
|
|
8910
8892
|
"pluginName": "@sanity/cli",
|
|
8911
8893
|
"pluginType": "core",
|
|
8912
|
-
"
|
|
8913
|
-
"enableJsonFlag": true,
|
|
8894
|
+
"strict": true,
|
|
8914
8895
|
"telemetry": {
|
|
8915
|
-
"redactedFlags": [
|
|
8896
|
+
"redactedFlags": [
|
|
8897
|
+
{
|
|
8898
|
+
"canonical": "--title",
|
|
8899
|
+
"flags": [
|
|
8900
|
+
"--title"
|
|
8901
|
+
]
|
|
8902
|
+
},
|
|
8903
|
+
{
|
|
8904
|
+
"canonical": "--instructions",
|
|
8905
|
+
"flags": [
|
|
8906
|
+
"--instructions"
|
|
8907
|
+
]
|
|
8908
|
+
},
|
|
8909
|
+
{
|
|
8910
|
+
"canonical": "--groq-filter",
|
|
8911
|
+
"flags": [
|
|
8912
|
+
"--groq-filter"
|
|
8913
|
+
]
|
|
8914
|
+
}
|
|
8915
|
+
]
|
|
8916
8916
|
},
|
|
8917
8917
|
"isESM": true,
|
|
8918
8918
|
"relativePath": [
|
|
8919
8919
|
"dist",
|
|
8920
8920
|
"commands",
|
|
8921
8921
|
"context",
|
|
8922
|
-
"
|
|
8923
|
-
"
|
|
8922
|
+
"mcp",
|
|
8923
|
+
"update.js"
|
|
8924
8924
|
]
|
|
8925
8925
|
},
|
|
8926
8926
|
"context:sources:create": {
|
|
@@ -9655,20 +9655,37 @@
|
|
|
9655
9655
|
"upload.js"
|
|
9656
9656
|
]
|
|
9657
9657
|
},
|
|
9658
|
-
"datasets:
|
|
9658
|
+
"datasets:alias:create": {
|
|
9659
9659
|
"aliases": [],
|
|
9660
9660
|
"args": {
|
|
9661
|
-
"
|
|
9662
|
-
"description": "Dataset name to
|
|
9663
|
-
"name": "
|
|
9661
|
+
"aliasName": {
|
|
9662
|
+
"description": "Dataset alias name to create",
|
|
9663
|
+
"name": "aliasName",
|
|
9664
|
+
"required": false
|
|
9665
|
+
},
|
|
9666
|
+
"targetDataset": {
|
|
9667
|
+
"description": "Target dataset name to link the alias to",
|
|
9668
|
+
"name": "targetDataset",
|
|
9664
9669
|
"required": false
|
|
9665
9670
|
}
|
|
9666
9671
|
},
|
|
9667
|
-
"description": "
|
|
9672
|
+
"description": "Create a dataset alias for the project",
|
|
9668
9673
|
"examples": [
|
|
9669
9674
|
{
|
|
9670
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
9671
|
-
"description": "
|
|
9675
|
+
"command": "<%= config.bin %> <%= command.id %> --project abc123 conference conf-2025",
|
|
9676
|
+
"description": "Create alias in a specific project"
|
|
9677
|
+
},
|
|
9678
|
+
{
|
|
9679
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
9680
|
+
"description": "Create an alias with interactive prompts"
|
|
9681
|
+
},
|
|
9682
|
+
{
|
|
9683
|
+
"command": "<%= config.bin %> <%= command.id %> conference",
|
|
9684
|
+
"description": "Create alias named \"conference\" with interactive dataset selection"
|
|
9685
|
+
},
|
|
9686
|
+
{
|
|
9687
|
+
"command": "<%= config.bin %> <%= command.id %> conference conf-2025",
|
|
9688
|
+
"description": "Create alias \"conference\" linked to \"conf-2025\" dataset"
|
|
9672
9689
|
}
|
|
9673
9690
|
],
|
|
9674
9691
|
"flags": {
|
|
@@ -9678,7 +9695,7 @@
|
|
|
9678
9695
|
],
|
|
9679
9696
|
"char": "p",
|
|
9680
9697
|
"deprecateAliases": true,
|
|
9681
|
-
"description": "Project ID to
|
|
9698
|
+
"description": "Project ID to create dataset alias in (overrides CLI configuration)",
|
|
9682
9699
|
"helpGroup": "OVERRIDE",
|
|
9683
9700
|
"name": "project",
|
|
9684
9701
|
"hasDynamicHelp": false,
|
|
@@ -9689,9 +9706,9 @@
|
|
|
9689
9706
|
},
|
|
9690
9707
|
"hasDynamicHelp": false,
|
|
9691
9708
|
"hiddenAliases": [
|
|
9692
|
-
"dataset:
|
|
9709
|
+
"dataset:alias:create"
|
|
9693
9710
|
],
|
|
9694
|
-
"id": "datasets:
|
|
9711
|
+
"id": "datasets:alias:create",
|
|
9695
9712
|
"pluginAlias": "@sanity/cli",
|
|
9696
9713
|
"pluginName": "@sanity/cli",
|
|
9697
9714
|
"pluginType": "core",
|
|
@@ -9701,32 +9718,28 @@
|
|
|
9701
9718
|
"dist",
|
|
9702
9719
|
"commands",
|
|
9703
9720
|
"datasets",
|
|
9704
|
-
"
|
|
9705
|
-
"
|
|
9721
|
+
"alias",
|
|
9722
|
+
"create.js"
|
|
9706
9723
|
]
|
|
9707
9724
|
},
|
|
9708
|
-
"datasets:
|
|
9725
|
+
"datasets:alias:delete": {
|
|
9709
9726
|
"aliases": [],
|
|
9710
9727
|
"args": {
|
|
9711
|
-
"
|
|
9712
|
-
"description": "Dataset name to
|
|
9713
|
-
"name": "
|
|
9714
|
-
"required":
|
|
9728
|
+
"aliasName": {
|
|
9729
|
+
"description": "Dataset alias name to delete",
|
|
9730
|
+
"name": "aliasName",
|
|
9731
|
+
"required": true
|
|
9715
9732
|
}
|
|
9716
9733
|
},
|
|
9717
|
-
"description": "
|
|
9734
|
+
"description": "Delete a dataset alias from the project",
|
|
9718
9735
|
"examples": [
|
|
9719
9736
|
{
|
|
9720
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
9721
|
-
"description": "
|
|
9722
|
-
},
|
|
9723
|
-
{
|
|
9724
|
-
"command": "<%= config.bin %> <%= command.id %> production --projection \"{ title, body }\"",
|
|
9725
|
-
"description": "Enable embeddings with a specific projection"
|
|
9737
|
+
"command": "<%= config.bin %> <%= command.id %> conference",
|
|
9738
|
+
"description": "Delete alias named \"conference\" with confirmation prompt"
|
|
9726
9739
|
},
|
|
9727
9740
|
{
|
|
9728
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
9729
|
-
"description": "
|
|
9741
|
+
"command": "<%= config.bin %> <%= command.id %> conference --force",
|
|
9742
|
+
"description": "Delete alias named \"conference\" without confirmation prompt"
|
|
9730
9743
|
}
|
|
9731
9744
|
],
|
|
9732
9745
|
"flags": {
|
|
@@ -9736,7 +9749,7 @@
|
|
|
9736
9749
|
],
|
|
9737
9750
|
"char": "p",
|
|
9738
9751
|
"deprecateAliases": true,
|
|
9739
|
-
"description": "Project ID to
|
|
9752
|
+
"description": "Project ID to delete dataset alias from (overrides CLI configuration)",
|
|
9740
9753
|
"helpGroup": "OVERRIDE",
|
|
9741
9754
|
"name": "project",
|
|
9742
9755
|
"hasDynamicHelp": false,
|
|
@@ -9744,63 +9757,62 @@
|
|
|
9744
9757
|
"multiple": false,
|
|
9745
9758
|
"type": "option"
|
|
9746
9759
|
},
|
|
9747
|
-
"
|
|
9748
|
-
"description": "
|
|
9749
|
-
"name": "
|
|
9750
|
-
"required": false,
|
|
9751
|
-
"hasDynamicHelp": false,
|
|
9752
|
-
"multiple": false,
|
|
9753
|
-
"type": "option"
|
|
9754
|
-
},
|
|
9755
|
-
"wait": {
|
|
9756
|
-
"description": "Wait for embeddings processing to complete before returning",
|
|
9757
|
-
"name": "wait",
|
|
9760
|
+
"force": {
|
|
9761
|
+
"description": "Skip confirmation prompt and delete immediately",
|
|
9762
|
+
"name": "force",
|
|
9758
9763
|
"allowNo": false,
|
|
9759
9764
|
"type": "boolean"
|
|
9760
9765
|
}
|
|
9761
9766
|
},
|
|
9762
9767
|
"hasDynamicHelp": false,
|
|
9763
9768
|
"hiddenAliases": [
|
|
9764
|
-
"dataset:
|
|
9769
|
+
"dataset:alias:delete"
|
|
9765
9770
|
],
|
|
9766
|
-
"id": "datasets:
|
|
9771
|
+
"id": "datasets:alias:delete",
|
|
9767
9772
|
"pluginAlias": "@sanity/cli",
|
|
9768
9773
|
"pluginName": "@sanity/cli",
|
|
9769
9774
|
"pluginType": "core",
|
|
9770
9775
|
"strict": true,
|
|
9771
|
-
"telemetry": {
|
|
9772
|
-
"redactedFlags": [
|
|
9773
|
-
{
|
|
9774
|
-
"canonical": "--projection",
|
|
9775
|
-
"flags": [
|
|
9776
|
-
"--projection"
|
|
9777
|
-
]
|
|
9778
|
-
}
|
|
9779
|
-
]
|
|
9780
|
-
},
|
|
9781
9776
|
"isESM": true,
|
|
9782
9777
|
"relativePath": [
|
|
9783
9778
|
"dist",
|
|
9784
9779
|
"commands",
|
|
9785
9780
|
"datasets",
|
|
9786
|
-
"
|
|
9787
|
-
"
|
|
9781
|
+
"alias",
|
|
9782
|
+
"delete.js"
|
|
9788
9783
|
]
|
|
9789
9784
|
},
|
|
9790
|
-
"datasets:
|
|
9785
|
+
"datasets:alias:link": {
|
|
9791
9786
|
"aliases": [],
|
|
9792
9787
|
"args": {
|
|
9793
|
-
"
|
|
9794
|
-
"description": "
|
|
9795
|
-
"name": "
|
|
9788
|
+
"aliasName": {
|
|
9789
|
+
"description": "Dataset alias name to link",
|
|
9790
|
+
"name": "aliasName",
|
|
9791
|
+
"required": false
|
|
9792
|
+
},
|
|
9793
|
+
"targetDataset": {
|
|
9794
|
+
"description": "Target dataset name to link the alias to",
|
|
9795
|
+
"name": "targetDataset",
|
|
9796
9796
|
"required": false
|
|
9797
9797
|
}
|
|
9798
9798
|
},
|
|
9799
|
-
"description": "
|
|
9799
|
+
"description": "Link a dataset alias to a dataset in the project",
|
|
9800
9800
|
"examples": [
|
|
9801
9801
|
{
|
|
9802
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
9803
|
-
"description": "
|
|
9802
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
9803
|
+
"description": "Link an alias with interactive prompts"
|
|
9804
|
+
},
|
|
9805
|
+
{
|
|
9806
|
+
"command": "<%= config.bin %> <%= command.id %> conference",
|
|
9807
|
+
"description": "Link alias named \"conference\" with interactive dataset selection"
|
|
9808
|
+
},
|
|
9809
|
+
{
|
|
9810
|
+
"command": "<%= config.bin %> <%= command.id %> conference conf-2025",
|
|
9811
|
+
"description": "Link alias \"conference\" to \"conf-2025\" dataset"
|
|
9812
|
+
},
|
|
9813
|
+
{
|
|
9814
|
+
"command": "<%= config.bin %> <%= command.id %> conference conf-2025 --force",
|
|
9815
|
+
"description": "Force link without confirmation (skip relink prompt)"
|
|
9804
9816
|
}
|
|
9805
9817
|
],
|
|
9806
9818
|
"flags": {
|
|
@@ -9810,20 +9822,27 @@
|
|
|
9810
9822
|
],
|
|
9811
9823
|
"char": "p",
|
|
9812
9824
|
"deprecateAliases": true,
|
|
9813
|
-
"description": "Project ID to
|
|
9825
|
+
"description": "Project ID to link dataset alias in (overrides CLI configuration)",
|
|
9814
9826
|
"helpGroup": "OVERRIDE",
|
|
9815
9827
|
"name": "project",
|
|
9816
9828
|
"hasDynamicHelp": false,
|
|
9817
9829
|
"helpValue": "<id>",
|
|
9818
9830
|
"multiple": false,
|
|
9819
9831
|
"type": "option"
|
|
9832
|
+
},
|
|
9833
|
+
"force": {
|
|
9834
|
+
"description": "Skip confirmation prompt when relinking existing alias",
|
|
9835
|
+
"name": "force",
|
|
9836
|
+
"required": false,
|
|
9837
|
+
"allowNo": false,
|
|
9838
|
+
"type": "boolean"
|
|
9820
9839
|
}
|
|
9821
9840
|
},
|
|
9822
9841
|
"hasDynamicHelp": false,
|
|
9823
9842
|
"hiddenAliases": [
|
|
9824
|
-
"dataset:
|
|
9843
|
+
"dataset:alias:link"
|
|
9825
9844
|
],
|
|
9826
|
-
"id": "datasets:
|
|
9845
|
+
"id": "datasets:alias:link",
|
|
9827
9846
|
"pluginAlias": "@sanity/cli",
|
|
9828
9847
|
"pluginName": "@sanity/cli",
|
|
9829
9848
|
"pluginType": "core",
|
|
@@ -9833,24 +9852,32 @@
|
|
|
9833
9852
|
"dist",
|
|
9834
9853
|
"commands",
|
|
9835
9854
|
"datasets",
|
|
9836
|
-
"
|
|
9837
|
-
"
|
|
9855
|
+
"alias",
|
|
9856
|
+
"link.js"
|
|
9838
9857
|
]
|
|
9839
9858
|
},
|
|
9840
|
-
"datasets:
|
|
9859
|
+
"datasets:alias:unlink": {
|
|
9841
9860
|
"aliases": [],
|
|
9842
9861
|
"args": {
|
|
9843
|
-
"
|
|
9844
|
-
"description": "
|
|
9845
|
-
"name": "
|
|
9846
|
-
"required":
|
|
9862
|
+
"aliasName": {
|
|
9863
|
+
"description": "Dataset alias name to unlink",
|
|
9864
|
+
"name": "aliasName",
|
|
9865
|
+
"required": false
|
|
9847
9866
|
}
|
|
9848
9867
|
},
|
|
9849
|
-
"description": "
|
|
9868
|
+
"description": "Unlink a dataset alias from its dataset in the project",
|
|
9850
9869
|
"examples": [
|
|
9851
9870
|
{
|
|
9852
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
9853
|
-
"description": "
|
|
9871
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
9872
|
+
"description": "Unlink an alias with interactive selection"
|
|
9873
|
+
},
|
|
9874
|
+
{
|
|
9875
|
+
"command": "<%= config.bin %> <%= command.id %> conference",
|
|
9876
|
+
"description": "Unlink alias \"conference\" with confirmation prompt"
|
|
9877
|
+
},
|
|
9878
|
+
{
|
|
9879
|
+
"command": "<%= config.bin %> <%= command.id %> conference --force",
|
|
9880
|
+
"description": "Unlink alias \"conference\" without confirmation prompt"
|
|
9854
9881
|
}
|
|
9855
9882
|
],
|
|
9856
9883
|
"flags": {
|
|
@@ -9860,20 +9887,26 @@
|
|
|
9860
9887
|
],
|
|
9861
9888
|
"char": "p",
|
|
9862
9889
|
"deprecateAliases": true,
|
|
9863
|
-
"description": "Project ID to
|
|
9890
|
+
"description": "Project ID to unlink dataset alias in (overrides CLI configuration)",
|
|
9864
9891
|
"helpGroup": "OVERRIDE",
|
|
9865
9892
|
"name": "project",
|
|
9866
9893
|
"hasDynamicHelp": false,
|
|
9867
9894
|
"helpValue": "<id>",
|
|
9868
9895
|
"multiple": false,
|
|
9869
9896
|
"type": "option"
|
|
9897
|
+
},
|
|
9898
|
+
"force": {
|
|
9899
|
+
"description": "Skip confirmation prompt and unlink immediately",
|
|
9900
|
+
"name": "force",
|
|
9901
|
+
"allowNo": false,
|
|
9902
|
+
"type": "boolean"
|
|
9870
9903
|
}
|
|
9871
9904
|
},
|
|
9872
9905
|
"hasDynamicHelp": false,
|
|
9873
9906
|
"hiddenAliases": [
|
|
9874
|
-
"dataset:
|
|
9907
|
+
"dataset:alias:unlink"
|
|
9875
9908
|
],
|
|
9876
|
-
"id": "datasets:
|
|
9909
|
+
"id": "datasets:alias:unlink",
|
|
9877
9910
|
"pluginAlias": "@sanity/cli",
|
|
9878
9911
|
"pluginName": "@sanity/cli",
|
|
9879
9912
|
"pluginType": "core",
|
|
@@ -9883,37 +9916,24 @@
|
|
|
9883
9916
|
"dist",
|
|
9884
9917
|
"commands",
|
|
9885
9918
|
"datasets",
|
|
9886
|
-
"
|
|
9887
|
-
"
|
|
9919
|
+
"alias",
|
|
9920
|
+
"unlink.js"
|
|
9888
9921
|
]
|
|
9889
9922
|
},
|
|
9890
|
-
"datasets:
|
|
9923
|
+
"datasets:embeddings:disable": {
|
|
9891
9924
|
"aliases": [],
|
|
9892
9925
|
"args": {
|
|
9893
9926
|
"dataset": {
|
|
9894
|
-
"description": "
|
|
9927
|
+
"description": "Dataset name to disable embeddings for",
|
|
9895
9928
|
"name": "dataset",
|
|
9896
|
-
"required":
|
|
9897
|
-
},
|
|
9898
|
-
"mode": {
|
|
9899
|
-
"description": "The visibility mode to set",
|
|
9900
|
-
"name": "mode",
|
|
9901
|
-
"options": [
|
|
9902
|
-
"public",
|
|
9903
|
-
"private"
|
|
9904
|
-
],
|
|
9905
|
-
"required": true
|
|
9929
|
+
"required": false
|
|
9906
9930
|
}
|
|
9907
9931
|
},
|
|
9908
|
-
"description": "
|
|
9932
|
+
"description": "Disable embeddings for a dataset",
|
|
9909
9933
|
"examples": [
|
|
9910
9934
|
{
|
|
9911
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
9912
|
-
"description": "
|
|
9913
|
-
},
|
|
9914
|
-
{
|
|
9915
|
-
"command": "<%= config.bin %> <%= command.id %> my-dataset public",
|
|
9916
|
-
"description": "Make a dataset public"
|
|
9935
|
+
"command": "<%= config.bin %> <%= command.id %> production",
|
|
9936
|
+
"description": "Disable embeddings for the production dataset"
|
|
9917
9937
|
}
|
|
9918
9938
|
],
|
|
9919
9939
|
"flags": {
|
|
@@ -9923,7 +9943,7 @@
|
|
|
9923
9943
|
],
|
|
9924
9944
|
"char": "p",
|
|
9925
9945
|
"deprecateAliases": true,
|
|
9926
|
-
"description": "Project ID to
|
|
9946
|
+
"description": "Project ID to disable embeddings for (overrides CLI configuration)",
|
|
9927
9947
|
"helpGroup": "OVERRIDE",
|
|
9928
9948
|
"name": "project",
|
|
9929
9949
|
"hasDynamicHelp": false,
|
|
@@ -9934,9 +9954,9 @@
|
|
|
9934
9954
|
},
|
|
9935
9955
|
"hasDynamicHelp": false,
|
|
9936
9956
|
"hiddenAliases": [
|
|
9937
|
-
"dataset:
|
|
9957
|
+
"dataset:embeddings:disable"
|
|
9938
9958
|
],
|
|
9939
|
-
"id": "datasets:
|
|
9959
|
+
"id": "datasets:embeddings:disable",
|
|
9940
9960
|
"pluginAlias": "@sanity/cli",
|
|
9941
9961
|
"pluginName": "@sanity/cli",
|
|
9942
9962
|
"pluginType": "core",
|
|
@@ -9946,41 +9966,32 @@
|
|
|
9946
9966
|
"dist",
|
|
9947
9967
|
"commands",
|
|
9948
9968
|
"datasets",
|
|
9949
|
-
"
|
|
9950
|
-
"
|
|
9969
|
+
"embeddings",
|
|
9970
|
+
"disable.js"
|
|
9951
9971
|
]
|
|
9952
9972
|
},
|
|
9953
|
-
"datasets:
|
|
9973
|
+
"datasets:embeddings:enable": {
|
|
9954
9974
|
"aliases": [],
|
|
9955
9975
|
"args": {
|
|
9956
|
-
"
|
|
9957
|
-
"description": "Dataset
|
|
9958
|
-
"name": "
|
|
9959
|
-
"required": false
|
|
9960
|
-
},
|
|
9961
|
-
"targetDataset": {
|
|
9962
|
-
"description": "Target dataset name to link the alias to",
|
|
9963
|
-
"name": "targetDataset",
|
|
9976
|
+
"dataset": {
|
|
9977
|
+
"description": "Dataset name to enable embeddings for",
|
|
9978
|
+
"name": "dataset",
|
|
9964
9979
|
"required": false
|
|
9965
9980
|
}
|
|
9966
9981
|
},
|
|
9967
|
-
"description": "
|
|
9982
|
+
"description": "Enable embeddings for a dataset",
|
|
9968
9983
|
"examples": [
|
|
9969
9984
|
{
|
|
9970
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
9971
|
-
"description": "
|
|
9972
|
-
},
|
|
9973
|
-
{
|
|
9974
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
9975
|
-
"description": "Create an alias with interactive prompts"
|
|
9985
|
+
"command": "<%= config.bin %> <%= command.id %> production",
|
|
9986
|
+
"description": "Enable embeddings for the production dataset"
|
|
9976
9987
|
},
|
|
9977
9988
|
{
|
|
9978
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
9979
|
-
"description": "
|
|
9989
|
+
"command": "<%= config.bin %> <%= command.id %> production --projection \"{ title, body }\"",
|
|
9990
|
+
"description": "Enable embeddings with a specific projection"
|
|
9980
9991
|
},
|
|
9981
9992
|
{
|
|
9982
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
9983
|
-
"description": "
|
|
9993
|
+
"command": "<%= config.bin %> <%= command.id %> production --wait",
|
|
9994
|
+
"description": "Enable embeddings and wait for processing to complete"
|
|
9984
9995
|
}
|
|
9985
9996
|
],
|
|
9986
9997
|
"flags": {
|
|
@@ -9990,51 +10001,71 @@
|
|
|
9990
10001
|
],
|
|
9991
10002
|
"char": "p",
|
|
9992
10003
|
"deprecateAliases": true,
|
|
9993
|
-
"description": "Project ID to
|
|
10004
|
+
"description": "Project ID to enable embeddings for (overrides CLI configuration)",
|
|
9994
10005
|
"helpGroup": "OVERRIDE",
|
|
9995
10006
|
"name": "project",
|
|
9996
10007
|
"hasDynamicHelp": false,
|
|
9997
10008
|
"helpValue": "<id>",
|
|
9998
10009
|
"multiple": false,
|
|
9999
10010
|
"type": "option"
|
|
10011
|
+
},
|
|
10012
|
+
"projection": {
|
|
10013
|
+
"description": "GROQ projection defining which fields to embed (e.g. \"{ title, body }\")",
|
|
10014
|
+
"name": "projection",
|
|
10015
|
+
"required": false,
|
|
10016
|
+
"hasDynamicHelp": false,
|
|
10017
|
+
"multiple": false,
|
|
10018
|
+
"type": "option"
|
|
10019
|
+
},
|
|
10020
|
+
"wait": {
|
|
10021
|
+
"description": "Wait for embeddings processing to complete before returning",
|
|
10022
|
+
"name": "wait",
|
|
10023
|
+
"allowNo": false,
|
|
10024
|
+
"type": "boolean"
|
|
10000
10025
|
}
|
|
10001
10026
|
},
|
|
10002
10027
|
"hasDynamicHelp": false,
|
|
10003
10028
|
"hiddenAliases": [
|
|
10004
|
-
"dataset:
|
|
10029
|
+
"dataset:embeddings:enable"
|
|
10005
10030
|
],
|
|
10006
|
-
"id": "datasets:
|
|
10031
|
+
"id": "datasets:embeddings:enable",
|
|
10007
10032
|
"pluginAlias": "@sanity/cli",
|
|
10008
10033
|
"pluginName": "@sanity/cli",
|
|
10009
10034
|
"pluginType": "core",
|
|
10010
10035
|
"strict": true,
|
|
10036
|
+
"telemetry": {
|
|
10037
|
+
"redactedFlags": [
|
|
10038
|
+
{
|
|
10039
|
+
"canonical": "--projection",
|
|
10040
|
+
"flags": [
|
|
10041
|
+
"--projection"
|
|
10042
|
+
]
|
|
10043
|
+
}
|
|
10044
|
+
]
|
|
10045
|
+
},
|
|
10011
10046
|
"isESM": true,
|
|
10012
10047
|
"relativePath": [
|
|
10013
10048
|
"dist",
|
|
10014
10049
|
"commands",
|
|
10015
10050
|
"datasets",
|
|
10016
|
-
"
|
|
10017
|
-
"
|
|
10051
|
+
"embeddings",
|
|
10052
|
+
"enable.js"
|
|
10018
10053
|
]
|
|
10019
10054
|
},
|
|
10020
|
-
"datasets:
|
|
10055
|
+
"datasets:embeddings:status": {
|
|
10021
10056
|
"aliases": [],
|
|
10022
10057
|
"args": {
|
|
10023
|
-
"
|
|
10024
|
-
"description": "
|
|
10025
|
-
"name": "
|
|
10026
|
-
"required":
|
|
10058
|
+
"dataset": {
|
|
10059
|
+
"description": "The name of the dataset to check embeddings status for",
|
|
10060
|
+
"name": "dataset",
|
|
10061
|
+
"required": false
|
|
10027
10062
|
}
|
|
10028
10063
|
},
|
|
10029
|
-
"description": "
|
|
10064
|
+
"description": "Show embeddings settings and status for a dataset",
|
|
10030
10065
|
"examples": [
|
|
10031
10066
|
{
|
|
10032
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
10033
|
-
"description": "
|
|
10034
|
-
},
|
|
10035
|
-
{
|
|
10036
|
-
"command": "<%= config.bin %> <%= command.id %> conference --force",
|
|
10037
|
-
"description": "Delete alias named \"conference\" without confirmation prompt"
|
|
10067
|
+
"command": "<%= config.bin %> <%= command.id %> production",
|
|
10068
|
+
"description": "Show embeddings status for the production dataset"
|
|
10038
10069
|
}
|
|
10039
10070
|
],
|
|
10040
10071
|
"flags": {
|
|
@@ -10044,26 +10075,20 @@
|
|
|
10044
10075
|
],
|
|
10045
10076
|
"char": "p",
|
|
10046
10077
|
"deprecateAliases": true,
|
|
10047
|
-
"description": "Project ID to
|
|
10078
|
+
"description": "Project ID to check embeddings status for (overrides CLI configuration)",
|
|
10048
10079
|
"helpGroup": "OVERRIDE",
|
|
10049
10080
|
"name": "project",
|
|
10050
10081
|
"hasDynamicHelp": false,
|
|
10051
10082
|
"helpValue": "<id>",
|
|
10052
10083
|
"multiple": false,
|
|
10053
10084
|
"type": "option"
|
|
10054
|
-
},
|
|
10055
|
-
"force": {
|
|
10056
|
-
"description": "Skip confirmation prompt and delete immediately",
|
|
10057
|
-
"name": "force",
|
|
10058
|
-
"allowNo": false,
|
|
10059
|
-
"type": "boolean"
|
|
10060
10085
|
}
|
|
10061
10086
|
},
|
|
10062
10087
|
"hasDynamicHelp": false,
|
|
10063
10088
|
"hiddenAliases": [
|
|
10064
|
-
"dataset:
|
|
10089
|
+
"dataset:embeddings:status"
|
|
10065
10090
|
],
|
|
10066
|
-
"id": "datasets:
|
|
10091
|
+
"id": "datasets:embeddings:status",
|
|
10067
10092
|
"pluginAlias": "@sanity/cli",
|
|
10068
10093
|
"pluginName": "@sanity/cli",
|
|
10069
10094
|
"pluginType": "core",
|
|
@@ -10073,41 +10098,24 @@
|
|
|
10073
10098
|
"dist",
|
|
10074
10099
|
"commands",
|
|
10075
10100
|
"datasets",
|
|
10076
|
-
"
|
|
10077
|
-
"
|
|
10101
|
+
"embeddings",
|
|
10102
|
+
"status.js"
|
|
10078
10103
|
]
|
|
10079
10104
|
},
|
|
10080
|
-
"datasets:
|
|
10105
|
+
"datasets:visibility:get": {
|
|
10081
10106
|
"aliases": [],
|
|
10082
10107
|
"args": {
|
|
10083
|
-
"
|
|
10084
|
-
"description": "
|
|
10085
|
-
"name": "
|
|
10086
|
-
"required":
|
|
10087
|
-
},
|
|
10088
|
-
"targetDataset": {
|
|
10089
|
-
"description": "Target dataset name to link the alias to",
|
|
10090
|
-
"name": "targetDataset",
|
|
10091
|
-
"required": false
|
|
10108
|
+
"dataset": {
|
|
10109
|
+
"description": "The name of the dataset to get visibility for",
|
|
10110
|
+
"name": "dataset",
|
|
10111
|
+
"required": true
|
|
10092
10112
|
}
|
|
10093
10113
|
},
|
|
10094
|
-
"description": "
|
|
10114
|
+
"description": "Get the visibility of a dataset",
|
|
10095
10115
|
"examples": [
|
|
10096
10116
|
{
|
|
10097
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
10098
|
-
"description": "
|
|
10099
|
-
},
|
|
10100
|
-
{
|
|
10101
|
-
"command": "<%= config.bin %> <%= command.id %> conference",
|
|
10102
|
-
"description": "Link alias named \"conference\" with interactive dataset selection"
|
|
10103
|
-
},
|
|
10104
|
-
{
|
|
10105
|
-
"command": "<%= config.bin %> <%= command.id %> conference conf-2025",
|
|
10106
|
-
"description": "Link alias \"conference\" to \"conf-2025\" dataset"
|
|
10107
|
-
},
|
|
10108
|
-
{
|
|
10109
|
-
"command": "<%= config.bin %> <%= command.id %> conference conf-2025 --force",
|
|
10110
|
-
"description": "Force link without confirmation (skip relink prompt)"
|
|
10117
|
+
"command": "<%= config.bin %> <%= command.id %> my-dataset",
|
|
10118
|
+
"description": "Check the visibility of a dataset"
|
|
10111
10119
|
}
|
|
10112
10120
|
],
|
|
10113
10121
|
"flags": {
|
|
@@ -10117,27 +10125,20 @@
|
|
|
10117
10125
|
],
|
|
10118
10126
|
"char": "p",
|
|
10119
10127
|
"deprecateAliases": true,
|
|
10120
|
-
"description": "Project ID to
|
|
10128
|
+
"description": "Project ID to get dataset visibility for (overrides CLI configuration)",
|
|
10121
10129
|
"helpGroup": "OVERRIDE",
|
|
10122
10130
|
"name": "project",
|
|
10123
10131
|
"hasDynamicHelp": false,
|
|
10124
10132
|
"helpValue": "<id>",
|
|
10125
10133
|
"multiple": false,
|
|
10126
10134
|
"type": "option"
|
|
10127
|
-
},
|
|
10128
|
-
"force": {
|
|
10129
|
-
"description": "Skip confirmation prompt when relinking existing alias",
|
|
10130
|
-
"name": "force",
|
|
10131
|
-
"required": false,
|
|
10132
|
-
"allowNo": false,
|
|
10133
|
-
"type": "boolean"
|
|
10134
10135
|
}
|
|
10135
10136
|
},
|
|
10136
10137
|
"hasDynamicHelp": false,
|
|
10137
10138
|
"hiddenAliases": [
|
|
10138
|
-
"dataset:
|
|
10139
|
+
"dataset:visibility:get"
|
|
10139
10140
|
],
|
|
10140
|
-
"id": "datasets:
|
|
10141
|
+
"id": "datasets:visibility:get",
|
|
10141
10142
|
"pluginAlias": "@sanity/cli",
|
|
10142
10143
|
"pluginName": "@sanity/cli",
|
|
10143
10144
|
"pluginType": "core",
|
|
@@ -10147,32 +10148,37 @@
|
|
|
10147
10148
|
"dist",
|
|
10148
10149
|
"commands",
|
|
10149
10150
|
"datasets",
|
|
10150
|
-
"
|
|
10151
|
-
"
|
|
10151
|
+
"visibility",
|
|
10152
|
+
"get.js"
|
|
10152
10153
|
]
|
|
10153
10154
|
},
|
|
10154
|
-
"datasets:
|
|
10155
|
+
"datasets:visibility:set": {
|
|
10155
10156
|
"aliases": [],
|
|
10156
10157
|
"args": {
|
|
10157
|
-
"
|
|
10158
|
-
"description": "
|
|
10159
|
-
"name": "
|
|
10160
|
-
"required":
|
|
10158
|
+
"dataset": {
|
|
10159
|
+
"description": "The name of the dataset to set visibility for",
|
|
10160
|
+
"name": "dataset",
|
|
10161
|
+
"required": true
|
|
10162
|
+
},
|
|
10163
|
+
"mode": {
|
|
10164
|
+
"description": "The visibility mode to set",
|
|
10165
|
+
"name": "mode",
|
|
10166
|
+
"options": [
|
|
10167
|
+
"public",
|
|
10168
|
+
"private"
|
|
10169
|
+
],
|
|
10170
|
+
"required": true
|
|
10161
10171
|
}
|
|
10162
10172
|
},
|
|
10163
|
-
"description": "
|
|
10173
|
+
"description": "Set the visibility of a dataset",
|
|
10164
10174
|
"examples": [
|
|
10165
10175
|
{
|
|
10166
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
10167
|
-
"description": "
|
|
10168
|
-
},
|
|
10169
|
-
{
|
|
10170
|
-
"command": "<%= config.bin %> <%= command.id %> conference",
|
|
10171
|
-
"description": "Unlink alias \"conference\" with confirmation prompt"
|
|
10176
|
+
"command": "<%= config.bin %> <%= command.id %> my-dataset private",
|
|
10177
|
+
"description": "Make a dataset private"
|
|
10172
10178
|
},
|
|
10173
10179
|
{
|
|
10174
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
10175
|
-
"description": "
|
|
10180
|
+
"command": "<%= config.bin %> <%= command.id %> my-dataset public",
|
|
10181
|
+
"description": "Make a dataset public"
|
|
10176
10182
|
}
|
|
10177
10183
|
],
|
|
10178
10184
|
"flags": {
|
|
@@ -10182,26 +10188,20 @@
|
|
|
10182
10188
|
],
|
|
10183
10189
|
"char": "p",
|
|
10184
10190
|
"deprecateAliases": true,
|
|
10185
|
-
"description": "Project ID to
|
|
10191
|
+
"description": "Project ID to set dataset visibility for (overrides CLI configuration)",
|
|
10186
10192
|
"helpGroup": "OVERRIDE",
|
|
10187
10193
|
"name": "project",
|
|
10188
10194
|
"hasDynamicHelp": false,
|
|
10189
10195
|
"helpValue": "<id>",
|
|
10190
10196
|
"multiple": false,
|
|
10191
10197
|
"type": "option"
|
|
10192
|
-
},
|
|
10193
|
-
"force": {
|
|
10194
|
-
"description": "Skip confirmation prompt and unlink immediately",
|
|
10195
|
-
"name": "force",
|
|
10196
|
-
"allowNo": false,
|
|
10197
|
-
"type": "boolean"
|
|
10198
10198
|
}
|
|
10199
10199
|
},
|
|
10200
10200
|
"hasDynamicHelp": false,
|
|
10201
10201
|
"hiddenAliases": [
|
|
10202
|
-
"dataset:
|
|
10202
|
+
"dataset:visibility:set"
|
|
10203
10203
|
],
|
|
10204
|
-
"id": "datasets:
|
|
10204
|
+
"id": "datasets:visibility:set",
|
|
10205
10205
|
"pluginAlias": "@sanity/cli",
|
|
10206
10206
|
"pluginName": "@sanity/cli",
|
|
10207
10207
|
"pluginType": "core",
|
|
@@ -10211,8 +10211,8 @@
|
|
|
10211
10211
|
"dist",
|
|
10212
10212
|
"commands",
|
|
10213
10213
|
"datasets",
|
|
10214
|
-
"
|
|
10215
|
-
"
|
|
10214
|
+
"visibility",
|
|
10215
|
+
"set.js"
|
|
10216
10216
|
]
|
|
10217
10217
|
},
|
|
10218
10218
|
"context:sources:syncs:confirm": {
|
|
@@ -10462,5 +10462,5 @@
|
|
|
10462
10462
|
]
|
|
10463
10463
|
}
|
|
10464
10464
|
},
|
|
10465
|
-
"version": "8.
|
|
10465
|
+
"version": "8.39.0"
|
|
10466
10466
|
}
|