@sanity/cli 8.3.0 → 8.4.2
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/build/buildApp.js +14 -7
- package/dist/actions/build/buildApp.js.map +1 -1
- package/dist/actions/build/buildStudio.js +3 -3
- package/dist/actions/build/buildStudio.js.map +1 -1
- package/dist/actions/deploy/deployApp.js +32 -25
- package/dist/actions/deploy/deployApp.js.map +1 -1
- package/dist/actions/deploy/deployStudio.js +2 -1
- package/dist/actions/deploy/deployStudio.js.map +1 -1
- package/dist/actions/deploy/deployStudioSchemasAndManifests.worker.js +2 -4
- package/dist/actions/deploy/deployStudioSchemasAndManifests.worker.js.map +1 -1
- package/dist/actions/deploy/deploymentPlan.js.map +1 -1
- package/dist/actions/dev/devAction.js +6 -4
- package/dist/actions/dev/devAction.js.map +1 -1
- package/dist/actions/dev/servers/getDevServerConfig.js +13 -6
- package/dist/actions/dev/servers/getDevServerConfig.js.map +1 -1
- package/dist/actions/dev/servers/startAppDevServer.js +4 -2
- package/dist/actions/dev/servers/startAppDevServer.js.map +1 -1
- package/dist/actions/graphql/gen1/generateTypeFilters.js +1 -2
- package/dist/actions/graphql/gen1/generateTypeFilters.js.map +1 -1
- package/dist/actions/graphql/resolveGraphQLApisFromWorkspaces.js +5 -2
- package/dist/actions/graphql/resolveGraphQLApisFromWorkspaces.js.map +1 -1
- package/dist/actions/init/templates/shopify.js +2 -1
- package/dist/actions/init/templates/shopify.js.map +1 -1
- package/dist/actions/manifest/extractManifest.js +5 -37
- package/dist/actions/manifest/extractManifest.js.map +1 -1
- package/dist/actions/manifest/extractStudioManifest.js +1 -1
- package/dist/actions/manifest/extractStudioManifest.js.map +1 -1
- package/dist/actions/preview/previewAction.js +1 -1
- package/dist/actions/preview/previewAction.js.map +1 -1
- package/dist/actions/schema/deleteSchemaAction.js +1 -1
- package/dist/actions/schema/deleteSchemaAction.js.map +1 -1
- package/dist/actions/schema/deploySchemas.js.map +1 -1
- package/dist/actions/schema/extractSanityWorkspace.worker.js +1 -1
- package/dist/actions/schema/extractSanityWorkspace.worker.js.map +1 -1
- package/dist/actions/schema/listSchemas.js +1 -1
- package/dist/actions/schema/listSchemas.js.map +1 -1
- package/dist/actions/schema/schemaTypeHelpers.js +5 -0
- package/dist/actions/schema/schemaTypeHelpers.js.map +1 -0
- package/dist/actions/schema/updateWorkspaceSchema.js +1 -1
- package/dist/actions/schema/updateWorkspaceSchema.js.map +1 -1
- package/dist/actions/schema/utils/schemaStoreValidation.js +2 -2
- package/dist/actions/schema/utils/schemaStoreValidation.js.map +1 -1
- package/dist/actions/schema/utils/workspaceSchemaId.js +1 -1
- package/dist/actions/schema/utils/workspaceSchemaId.js.map +1 -1
- package/dist/actions/versions/getFormatters.js +1 -2
- package/dist/actions/versions/getFormatters.js.map +1 -1
- package/dist/commands/documents/create.js +4 -4
- package/dist/commands/documents/create.js.map +1 -1
- package/dist/commands/hooks/logs.js +1 -2
- package/dist/commands/hooks/logs.js.map +1 -1
- package/dist/commands/projects/list.js +3 -5
- package/dist/commands/projects/list.js.map +1 -1
- package/dist/commands/undeploy.js +7 -5
- package/dist/commands/undeploy.js.map +1 -1
- package/dist/commands/users/list.js +3 -5
- package/dist/commands/users/list.js.map +1 -1
- package/dist/commands/versions.js +1 -2
- package/dist/commands/versions.js.map +1 -1
- package/dist/exports/_internal.d.ts +1 -67
- package/dist/exports/_internal.js +1 -1
- package/dist/exports/_internal.js.map +1 -1
- package/dist/exports/index.d.ts +2 -2
- package/dist/exports/index.js +2 -1
- package/dist/exports/index.js.map +1 -1
- package/dist/exports/runtime.d.ts +2 -2
- package/dist/exports/runtime.js +1 -1
- package/dist/exports/runtime.js.map +1 -1
- package/dist/generated/apiRoutes.js +4 -0
- package/dist/generated/apiRoutes.js.map +1 -1
- package/dist/prompts/selectMediaLibrary.js +2 -3
- package/dist/prompts/selectMediaLibrary.js.map +1 -1
- package/dist/services/mintProject.js +27 -14
- package/dist/services/mintProject.js.map +1 -1
- package/dist/services/schemas.js.map +1 -1
- package/dist/services/userApplications.js.map +1 -1
- package/dist/util/determineIsApp.js +1 -1
- package/dist/util/determineIsApp.js.map +1 -1
- package/dist/util/sortRowsByColumn.js +23 -0
- package/dist/util/sortRowsByColumn.js.map +1 -0
- package/oclif.manifest.json +353 -353
- package/package.json +7 -10
- package/dist/actions/manifest/blockTypeTransformer.js +0 -67
- package/dist/actions/manifest/blockTypeTransformer.js.map +0 -1
- package/dist/actions/manifest/extractCoreAppManifest.js +0 -111
- package/dist/actions/manifest/extractCoreAppManifest.js.map +0 -1
- package/dist/actions/manifest/extractManifest.worker.js +0 -30
- package/dist/actions/manifest/extractManifest.worker.js.map +0 -1
- package/dist/actions/manifest/extractWorkspaceManifest.js +0 -72
- package/dist/actions/manifest/extractWorkspaceManifest.js.map +0 -1
- package/dist/actions/manifest/iconResolver.js +0 -36
- package/dist/actions/manifest/iconResolver.js.map +0 -1
- package/dist/actions/manifest/purifyConfig.js +0 -307
- package/dist/actions/manifest/purifyConfig.js.map +0 -1
- package/dist/actions/manifest/referenceTransformer.js +0 -51
- package/dist/actions/manifest/referenceTransformer.js.map +0 -1
- package/dist/actions/manifest/resolveSchemaIcon.js +0 -43
- package/dist/actions/manifest/resolveSchemaIcon.js.map +0 -1
- package/dist/actions/manifest/sanitizeIcon.js +0 -13
- package/dist/actions/manifest/sanitizeIcon.js.map +0 -1
- package/dist/actions/manifest/schemaTypeHelpers.js +0 -110
- package/dist/actions/manifest/schemaTypeHelpers.js.map +0 -1
- package/dist/actions/manifest/schemaTypeTransformer.js +0 -169
- package/dist/actions/manifest/schemaTypeTransformer.js.map +0 -1
- package/dist/actions/manifest/transformerUtils.js +0 -40
- package/dist/actions/manifest/transformerUtils.js.map +0 -1
- package/dist/actions/manifest/types.js +0 -13
- package/dist/actions/manifest/types.js.map +0 -1
- package/dist/actions/manifest/validationTransformer.js +0 -84
- package/dist/actions/manifest/validationTransformer.js.map +0 -1
- package/dist/actions/manifest/writeManifestFile.js +0 -29
- package/dist/actions/manifest/writeManifestFile.js.map +0 -1
- package/dist/actions/manifest/writeWorkspaceFiles.js +0 -30
- package/dist/actions/manifest/writeWorkspaceFiles.js.map +0 -1
- package/dist/actions/schema/uploadSchemaToLexicon.js +0 -91
- package/dist/actions/schema/uploadSchemaToLexicon.js.map +0 -1
package/oclif.manifest.json
CHANGED
|
@@ -2497,130 +2497,6 @@
|
|
|
2497
2497
|
"list.js"
|
|
2498
2498
|
]
|
|
2499
2499
|
},
|
|
2500
|
-
"docs:browse": {
|
|
2501
|
-
"aliases": [],
|
|
2502
|
-
"args": {},
|
|
2503
|
-
"description": "Open Sanity docs in your browser",
|
|
2504
|
-
"flags": {},
|
|
2505
|
-
"hasDynamicHelp": false,
|
|
2506
|
-
"hiddenAliases": [],
|
|
2507
|
-
"id": "docs:browse",
|
|
2508
|
-
"pluginAlias": "@sanity/cli",
|
|
2509
|
-
"pluginName": "@sanity/cli",
|
|
2510
|
-
"pluginType": "core",
|
|
2511
|
-
"strict": true,
|
|
2512
|
-
"enableJsonFlag": false,
|
|
2513
|
-
"isESM": true,
|
|
2514
|
-
"relativePath": [
|
|
2515
|
-
"dist",
|
|
2516
|
-
"commands",
|
|
2517
|
-
"docs",
|
|
2518
|
-
"browse.js"
|
|
2519
|
-
]
|
|
2520
|
-
},
|
|
2521
|
-
"docs:read": {
|
|
2522
|
-
"aliases": [],
|
|
2523
|
-
"args": {
|
|
2524
|
-
"path": {
|
|
2525
|
-
"description": "Path or URL to article, found in search results and docs content as links",
|
|
2526
|
-
"name": "path",
|
|
2527
|
-
"required": true
|
|
2528
|
-
}
|
|
2529
|
-
},
|
|
2530
|
-
"description": "Read an article in terminal",
|
|
2531
|
-
"examples": [
|
|
2532
|
-
{
|
|
2533
|
-
"command": "<%= config.bin %> <%= command.id %> /docs/studio/installation",
|
|
2534
|
-
"description": "Read as markdown in terminal"
|
|
2535
|
-
},
|
|
2536
|
-
{
|
|
2537
|
-
"command": "<%= config.bin %> <%= command.id %> https://www.sanity.io/docs/studio/installation",
|
|
2538
|
-
"description": "Read using full URL"
|
|
2539
|
-
},
|
|
2540
|
-
{
|
|
2541
|
-
"command": "<%= config.bin %> <%= command.id %> /docs/studio/installation --web",
|
|
2542
|
-
"description": "Open in web browser"
|
|
2543
|
-
},
|
|
2544
|
-
{
|
|
2545
|
-
"command": "<%= config.bin %> <%= command.id %> https://www.sanity.io/docs/studio/installation -w",
|
|
2546
|
-
"description": "Open using full URL in web browser"
|
|
2547
|
-
}
|
|
2548
|
-
],
|
|
2549
|
-
"flags": {
|
|
2550
|
-
"web": {
|
|
2551
|
-
"aliases": [
|
|
2552
|
-
"w"
|
|
2553
|
-
],
|
|
2554
|
-
"description": "Open in a web browser",
|
|
2555
|
-
"name": "web",
|
|
2556
|
-
"allowNo": false,
|
|
2557
|
-
"type": "boolean"
|
|
2558
|
-
}
|
|
2559
|
-
},
|
|
2560
|
-
"hasDynamicHelp": false,
|
|
2561
|
-
"hiddenAliases": [],
|
|
2562
|
-
"id": "docs:read",
|
|
2563
|
-
"pluginAlias": "@sanity/cli",
|
|
2564
|
-
"pluginName": "@sanity/cli",
|
|
2565
|
-
"pluginType": "core",
|
|
2566
|
-
"strict": true,
|
|
2567
|
-
"isESM": true,
|
|
2568
|
-
"relativePath": [
|
|
2569
|
-
"dist",
|
|
2570
|
-
"commands",
|
|
2571
|
-
"docs",
|
|
2572
|
-
"read.js"
|
|
2573
|
-
]
|
|
2574
|
-
},
|
|
2575
|
-
"docs:search": {
|
|
2576
|
-
"aliases": [],
|
|
2577
|
-
"args": {
|
|
2578
|
-
"query": {
|
|
2579
|
-
"description": "Search query for documentation",
|
|
2580
|
-
"name": "query",
|
|
2581
|
-
"required": true
|
|
2582
|
-
}
|
|
2583
|
-
},
|
|
2584
|
-
"description": "Search Sanity docs",
|
|
2585
|
-
"examples": [
|
|
2586
|
-
{
|
|
2587
|
-
"command": "<%= config.bin %> <%= command.id %> schema",
|
|
2588
|
-
"description": "Search for documentation about schemas"
|
|
2589
|
-
},
|
|
2590
|
-
{
|
|
2591
|
-
"command": "<%= config.bin %> <%= command.id %> \"groq functions\"",
|
|
2592
|
-
"description": "Search with phrase"
|
|
2593
|
-
},
|
|
2594
|
-
{
|
|
2595
|
-
"command": "<%= config.bin %> <%= command.id %> \"deployment\" --limit=5",
|
|
2596
|
-
"description": "Limit search results"
|
|
2597
|
-
}
|
|
2598
|
-
],
|
|
2599
|
-
"flags": {
|
|
2600
|
-
"limit": {
|
|
2601
|
-
"description": "Maximum number of results to return",
|
|
2602
|
-
"name": "limit",
|
|
2603
|
-
"default": 10,
|
|
2604
|
-
"hasDynamicHelp": false,
|
|
2605
|
-
"multiple": false,
|
|
2606
|
-
"type": "option"
|
|
2607
|
-
}
|
|
2608
|
-
},
|
|
2609
|
-
"hasDynamicHelp": false,
|
|
2610
|
-
"hiddenAliases": [],
|
|
2611
|
-
"id": "docs:search",
|
|
2612
|
-
"pluginAlias": "@sanity/cli",
|
|
2613
|
-
"pluginName": "@sanity/cli",
|
|
2614
|
-
"pluginType": "core",
|
|
2615
|
-
"strict": true,
|
|
2616
|
-
"isESM": true,
|
|
2617
|
-
"relativePath": [
|
|
2618
|
-
"dist",
|
|
2619
|
-
"commands",
|
|
2620
|
-
"docs",
|
|
2621
|
-
"search.js"
|
|
2622
|
-
]
|
|
2623
|
-
},
|
|
2624
2500
|
"documents:create": {
|
|
2625
2501
|
"aliases": [],
|
|
2626
2502
|
"args": {
|
|
@@ -3094,6 +2970,130 @@
|
|
|
3094
2970
|
"validate.js"
|
|
3095
2971
|
]
|
|
3096
2972
|
},
|
|
2973
|
+
"docs:browse": {
|
|
2974
|
+
"aliases": [],
|
|
2975
|
+
"args": {},
|
|
2976
|
+
"description": "Open Sanity docs in your browser",
|
|
2977
|
+
"flags": {},
|
|
2978
|
+
"hasDynamicHelp": false,
|
|
2979
|
+
"hiddenAliases": [],
|
|
2980
|
+
"id": "docs:browse",
|
|
2981
|
+
"pluginAlias": "@sanity/cli",
|
|
2982
|
+
"pluginName": "@sanity/cli",
|
|
2983
|
+
"pluginType": "core",
|
|
2984
|
+
"strict": true,
|
|
2985
|
+
"enableJsonFlag": false,
|
|
2986
|
+
"isESM": true,
|
|
2987
|
+
"relativePath": [
|
|
2988
|
+
"dist",
|
|
2989
|
+
"commands",
|
|
2990
|
+
"docs",
|
|
2991
|
+
"browse.js"
|
|
2992
|
+
]
|
|
2993
|
+
},
|
|
2994
|
+
"docs:read": {
|
|
2995
|
+
"aliases": [],
|
|
2996
|
+
"args": {
|
|
2997
|
+
"path": {
|
|
2998
|
+
"description": "Path or URL to article, found in search results and docs content as links",
|
|
2999
|
+
"name": "path",
|
|
3000
|
+
"required": true
|
|
3001
|
+
}
|
|
3002
|
+
},
|
|
3003
|
+
"description": "Read an article in terminal",
|
|
3004
|
+
"examples": [
|
|
3005
|
+
{
|
|
3006
|
+
"command": "<%= config.bin %> <%= command.id %> /docs/studio/installation",
|
|
3007
|
+
"description": "Read as markdown in terminal"
|
|
3008
|
+
},
|
|
3009
|
+
{
|
|
3010
|
+
"command": "<%= config.bin %> <%= command.id %> https://www.sanity.io/docs/studio/installation",
|
|
3011
|
+
"description": "Read using full URL"
|
|
3012
|
+
},
|
|
3013
|
+
{
|
|
3014
|
+
"command": "<%= config.bin %> <%= command.id %> /docs/studio/installation --web",
|
|
3015
|
+
"description": "Open in web browser"
|
|
3016
|
+
},
|
|
3017
|
+
{
|
|
3018
|
+
"command": "<%= config.bin %> <%= command.id %> https://www.sanity.io/docs/studio/installation -w",
|
|
3019
|
+
"description": "Open using full URL in web browser"
|
|
3020
|
+
}
|
|
3021
|
+
],
|
|
3022
|
+
"flags": {
|
|
3023
|
+
"web": {
|
|
3024
|
+
"aliases": [
|
|
3025
|
+
"w"
|
|
3026
|
+
],
|
|
3027
|
+
"description": "Open in a web browser",
|
|
3028
|
+
"name": "web",
|
|
3029
|
+
"allowNo": false,
|
|
3030
|
+
"type": "boolean"
|
|
3031
|
+
}
|
|
3032
|
+
},
|
|
3033
|
+
"hasDynamicHelp": false,
|
|
3034
|
+
"hiddenAliases": [],
|
|
3035
|
+
"id": "docs:read",
|
|
3036
|
+
"pluginAlias": "@sanity/cli",
|
|
3037
|
+
"pluginName": "@sanity/cli",
|
|
3038
|
+
"pluginType": "core",
|
|
3039
|
+
"strict": true,
|
|
3040
|
+
"isESM": true,
|
|
3041
|
+
"relativePath": [
|
|
3042
|
+
"dist",
|
|
3043
|
+
"commands",
|
|
3044
|
+
"docs",
|
|
3045
|
+
"read.js"
|
|
3046
|
+
]
|
|
3047
|
+
},
|
|
3048
|
+
"docs:search": {
|
|
3049
|
+
"aliases": [],
|
|
3050
|
+
"args": {
|
|
3051
|
+
"query": {
|
|
3052
|
+
"description": "Search query for documentation",
|
|
3053
|
+
"name": "query",
|
|
3054
|
+
"required": true
|
|
3055
|
+
}
|
|
3056
|
+
},
|
|
3057
|
+
"description": "Search Sanity docs",
|
|
3058
|
+
"examples": [
|
|
3059
|
+
{
|
|
3060
|
+
"command": "<%= config.bin %> <%= command.id %> schema",
|
|
3061
|
+
"description": "Search for documentation about schemas"
|
|
3062
|
+
},
|
|
3063
|
+
{
|
|
3064
|
+
"command": "<%= config.bin %> <%= command.id %> \"groq functions\"",
|
|
3065
|
+
"description": "Search with phrase"
|
|
3066
|
+
},
|
|
3067
|
+
{
|
|
3068
|
+
"command": "<%= config.bin %> <%= command.id %> \"deployment\" --limit=5",
|
|
3069
|
+
"description": "Limit search results"
|
|
3070
|
+
}
|
|
3071
|
+
],
|
|
3072
|
+
"flags": {
|
|
3073
|
+
"limit": {
|
|
3074
|
+
"description": "Maximum number of results to return",
|
|
3075
|
+
"name": "limit",
|
|
3076
|
+
"default": 10,
|
|
3077
|
+
"hasDynamicHelp": false,
|
|
3078
|
+
"multiple": false,
|
|
3079
|
+
"type": "option"
|
|
3080
|
+
}
|
|
3081
|
+
},
|
|
3082
|
+
"hasDynamicHelp": false,
|
|
3083
|
+
"hiddenAliases": [],
|
|
3084
|
+
"id": "docs:search",
|
|
3085
|
+
"pluginAlias": "@sanity/cli",
|
|
3086
|
+
"pluginName": "@sanity/cli",
|
|
3087
|
+
"pluginType": "core",
|
|
3088
|
+
"strict": true,
|
|
3089
|
+
"isESM": true,
|
|
3090
|
+
"relativePath": [
|
|
3091
|
+
"dist",
|
|
3092
|
+
"commands",
|
|
3093
|
+
"docs",
|
|
3094
|
+
"search.js"
|
|
3095
|
+
]
|
|
3096
|
+
},
|
|
3097
3097
|
"graphql:deploy": {
|
|
3098
3098
|
"aliases": [],
|
|
3099
3099
|
"args": {},
|
|
@@ -3594,49 +3594,10 @@
|
|
|
3594
3594
|
"logs.js"
|
|
3595
3595
|
]
|
|
3596
3596
|
},
|
|
3597
|
-
"
|
|
3597
|
+
"mcp:configure": {
|
|
3598
3598
|
"aliases": [],
|
|
3599
3599
|
"args": {},
|
|
3600
|
-
"description": "
|
|
3601
|
-
"examples": [
|
|
3602
|
-
{
|
|
3603
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
3604
|
-
"description": "Extracts manifests"
|
|
3605
|
-
},
|
|
3606
|
-
{
|
|
3607
|
-
"command": "<%= config.bin %> <%= command.id %> --path /public/static",
|
|
3608
|
-
"description": "Extracts manifests into /public/static"
|
|
3609
|
-
}
|
|
3610
|
-
],
|
|
3611
|
-
"flags": {
|
|
3612
|
-
"path": {
|
|
3613
|
-
"description": "Optional path to specify destination directory of the manifest files",
|
|
3614
|
-
"name": "path",
|
|
3615
|
-
"default": "dist/static",
|
|
3616
|
-
"hasDynamicHelp": false,
|
|
3617
|
-
"multiple": false,
|
|
3618
|
-
"type": "option"
|
|
3619
|
-
}
|
|
3620
|
-
},
|
|
3621
|
-
"hasDynamicHelp": false,
|
|
3622
|
-
"hiddenAliases": [],
|
|
3623
|
-
"id": "manifest:extract",
|
|
3624
|
-
"pluginAlias": "@sanity/cli",
|
|
3625
|
-
"pluginName": "@sanity/cli",
|
|
3626
|
-
"pluginType": "core",
|
|
3627
|
-
"strict": true,
|
|
3628
|
-
"isESM": true,
|
|
3629
|
-
"relativePath": [
|
|
3630
|
-
"dist",
|
|
3631
|
-
"commands",
|
|
3632
|
-
"manifest",
|
|
3633
|
-
"extract.js"
|
|
3634
|
-
]
|
|
3635
|
-
},
|
|
3636
|
-
"mcp:configure": {
|
|
3637
|
-
"aliases": [],
|
|
3638
|
-
"args": {},
|
|
3639
|
-
"description": "Configure Sanity MCP server for AI editors (Antigravity, Claude Code, Cline, Cline CLI, Codex CLI, Cursor, Gemini CLI, GitHub Copilot CLI, MCPorter, OpenCode, VS Code, VS Code Insiders, Zed)",
|
|
3600
|
+
"description": "Configure Sanity MCP server for AI editors (Antigravity, Claude Code, Cline, Cline CLI, Codex CLI, Cursor, Gemini CLI, GitHub Copilot CLI, MCPorter, OpenCode, VS Code, VS Code Insiders, Zed)",
|
|
3640
3601
|
"examples": [
|
|
3641
3602
|
{
|
|
3642
3603
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
@@ -4487,6 +4448,45 @@
|
|
|
4487
4448
|
"update.js"
|
|
4488
4449
|
]
|
|
4489
4450
|
},
|
|
4451
|
+
"manifest:extract": {
|
|
4452
|
+
"aliases": [],
|
|
4453
|
+
"args": {},
|
|
4454
|
+
"description": "Extract studio configuration as JSON manifest files.\n\nNote: This command is experimental and subject to change. It is currently intended for use with Create only.",
|
|
4455
|
+
"examples": [
|
|
4456
|
+
{
|
|
4457
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
4458
|
+
"description": "Extracts manifests"
|
|
4459
|
+
},
|
|
4460
|
+
{
|
|
4461
|
+
"command": "<%= config.bin %> <%= command.id %> --path /public/static",
|
|
4462
|
+
"description": "Extracts manifests into /public/static"
|
|
4463
|
+
}
|
|
4464
|
+
],
|
|
4465
|
+
"flags": {
|
|
4466
|
+
"path": {
|
|
4467
|
+
"description": "Optional path to specify destination directory of the manifest files",
|
|
4468
|
+
"name": "path",
|
|
4469
|
+
"default": "dist/static",
|
|
4470
|
+
"hasDynamicHelp": false,
|
|
4471
|
+
"multiple": false,
|
|
4472
|
+
"type": "option"
|
|
4473
|
+
}
|
|
4474
|
+
},
|
|
4475
|
+
"hasDynamicHelp": false,
|
|
4476
|
+
"hiddenAliases": [],
|
|
4477
|
+
"id": "manifest:extract",
|
|
4478
|
+
"pluginAlias": "@sanity/cli",
|
|
4479
|
+
"pluginName": "@sanity/cli",
|
|
4480
|
+
"pluginType": "core",
|
|
4481
|
+
"strict": true,
|
|
4482
|
+
"isESM": true,
|
|
4483
|
+
"relativePath": [
|
|
4484
|
+
"dist",
|
|
4485
|
+
"commands",
|
|
4486
|
+
"manifest",
|
|
4487
|
+
"extract.js"
|
|
4488
|
+
]
|
|
4489
|
+
},
|
|
4490
4490
|
"projects:create": {
|
|
4491
4491
|
"aliases": [],
|
|
4492
4492
|
"args": {
|
|
@@ -4677,6 +4677,32 @@
|
|
|
4677
4677
|
"unclaimed.js"
|
|
4678
4678
|
]
|
|
4679
4679
|
},
|
|
4680
|
+
"skills:install": {
|
|
4681
|
+
"aliases": [],
|
|
4682
|
+
"args": {},
|
|
4683
|
+
"description": "Install Sanity agent skills for detected AI editors (Antigravity, Claude Code, Cline, Cline CLI, Codex CLI, Cursor, Gemini CLI, GitHub Copilot CLI, OpenCode, VS Code, VS Code Insiders)",
|
|
4684
|
+
"examples": [
|
|
4685
|
+
{
|
|
4686
|
+
"command": "<%= config.bin %> <%= command.id %>",
|
|
4687
|
+
"description": "Install Sanity agent skills for detected AI editors"
|
|
4688
|
+
}
|
|
4689
|
+
],
|
|
4690
|
+
"flags": {},
|
|
4691
|
+
"hasDynamicHelp": false,
|
|
4692
|
+
"hiddenAliases": [],
|
|
4693
|
+
"id": "skills:install",
|
|
4694
|
+
"pluginAlias": "@sanity/cli",
|
|
4695
|
+
"pluginName": "@sanity/cli",
|
|
4696
|
+
"pluginType": "core",
|
|
4697
|
+
"strict": true,
|
|
4698
|
+
"isESM": true,
|
|
4699
|
+
"relativePath": [
|
|
4700
|
+
"dist",
|
|
4701
|
+
"commands",
|
|
4702
|
+
"skills",
|
|
4703
|
+
"install.js"
|
|
4704
|
+
]
|
|
4705
|
+
},
|
|
4680
4706
|
"schemas:delete": {
|
|
4681
4707
|
"aliases": [],
|
|
4682
4708
|
"args": {},
|
|
@@ -5076,32 +5102,6 @@
|
|
|
5076
5102
|
"validate.js"
|
|
5077
5103
|
]
|
|
5078
5104
|
},
|
|
5079
|
-
"skills:install": {
|
|
5080
|
-
"aliases": [],
|
|
5081
|
-
"args": {},
|
|
5082
|
-
"description": "Install Sanity agent skills for detected AI editors (Antigravity, Claude Code, Cline, Cline CLI, Codex CLI, Cursor, Gemini CLI, GitHub Copilot CLI, OpenCode, VS Code, VS Code Insiders)",
|
|
5083
|
-
"examples": [
|
|
5084
|
-
{
|
|
5085
|
-
"command": "<%= config.bin %> <%= command.id %>",
|
|
5086
|
-
"description": "Install Sanity agent skills for detected AI editors"
|
|
5087
|
-
}
|
|
5088
|
-
],
|
|
5089
|
-
"flags": {},
|
|
5090
|
-
"hasDynamicHelp": false,
|
|
5091
|
-
"hiddenAliases": [],
|
|
5092
|
-
"id": "skills:install",
|
|
5093
|
-
"pluginAlias": "@sanity/cli",
|
|
5094
|
-
"pluginName": "@sanity/cli",
|
|
5095
|
-
"pluginType": "core",
|
|
5096
|
-
"strict": true,
|
|
5097
|
-
"isESM": true,
|
|
5098
|
-
"relativePath": [
|
|
5099
|
-
"dist",
|
|
5100
|
-
"commands",
|
|
5101
|
-
"skills",
|
|
5102
|
-
"install.js"
|
|
5103
|
-
]
|
|
5104
|
-
},
|
|
5105
5105
|
"telemetry:disable": {
|
|
5106
5106
|
"aliases": [],
|
|
5107
5107
|
"args": {},
|
|
@@ -5448,10 +5448,170 @@
|
|
|
5448
5448
|
"rotate.js"
|
|
5449
5449
|
]
|
|
5450
5450
|
},
|
|
5451
|
+
"datasets:embeddings:disable": {
|
|
5452
|
+
"aliases": [],
|
|
5453
|
+
"args": {
|
|
5454
|
+
"dataset": {
|
|
5455
|
+
"description": "Dataset name to disable embeddings for",
|
|
5456
|
+
"name": "dataset",
|
|
5457
|
+
"required": false
|
|
5458
|
+
}
|
|
5459
|
+
},
|
|
5460
|
+
"description": "Disable embeddings for a dataset",
|
|
5461
|
+
"examples": [
|
|
5462
|
+
{
|
|
5463
|
+
"command": "<%= config.bin %> <%= command.id %> production",
|
|
5464
|
+
"description": "Disable embeddings for the production dataset"
|
|
5465
|
+
}
|
|
5466
|
+
],
|
|
5467
|
+
"flags": {
|
|
5468
|
+
"project-id": {
|
|
5469
|
+
"char": "p",
|
|
5470
|
+
"description": "Project ID to disable embeddings for (overrides CLI configuration)",
|
|
5471
|
+
"helpGroup": "OVERRIDE",
|
|
5472
|
+
"name": "project-id",
|
|
5473
|
+
"hasDynamicHelp": false,
|
|
5474
|
+
"helpValue": "<id>",
|
|
5475
|
+
"multiple": false,
|
|
5476
|
+
"type": "option"
|
|
5477
|
+
}
|
|
5478
|
+
},
|
|
5479
|
+
"hasDynamicHelp": false,
|
|
5480
|
+
"hiddenAliases": [
|
|
5481
|
+
"dataset:embeddings:disable"
|
|
5482
|
+
],
|
|
5483
|
+
"id": "datasets:embeddings:disable",
|
|
5484
|
+
"pluginAlias": "@sanity/cli",
|
|
5485
|
+
"pluginName": "@sanity/cli",
|
|
5486
|
+
"pluginType": "core",
|
|
5487
|
+
"strict": true,
|
|
5488
|
+
"isESM": true,
|
|
5489
|
+
"relativePath": [
|
|
5490
|
+
"dist",
|
|
5491
|
+
"commands",
|
|
5492
|
+
"datasets",
|
|
5493
|
+
"embeddings",
|
|
5494
|
+
"disable.js"
|
|
5495
|
+
]
|
|
5496
|
+
},
|
|
5497
|
+
"datasets:embeddings:enable": {
|
|
5498
|
+
"aliases": [],
|
|
5499
|
+
"args": {
|
|
5500
|
+
"dataset": {
|
|
5501
|
+
"description": "Dataset name to enable embeddings for",
|
|
5502
|
+
"name": "dataset",
|
|
5503
|
+
"required": false
|
|
5504
|
+
}
|
|
5505
|
+
},
|
|
5506
|
+
"description": "Enable embeddings for a dataset",
|
|
5507
|
+
"examples": [
|
|
5508
|
+
{
|
|
5509
|
+
"command": "<%= config.bin %> <%= command.id %> production",
|
|
5510
|
+
"description": "Enable embeddings for the production dataset"
|
|
5511
|
+
},
|
|
5512
|
+
{
|
|
5513
|
+
"command": "<%= config.bin %> <%= command.id %> production --projection \"{ title, body }\"",
|
|
5514
|
+
"description": "Enable embeddings with a specific projection"
|
|
5515
|
+
},
|
|
5516
|
+
{
|
|
5517
|
+
"command": "<%= config.bin %> <%= command.id %> production --wait",
|
|
5518
|
+
"description": "Enable embeddings and wait for processing to complete"
|
|
5519
|
+
}
|
|
5520
|
+
],
|
|
5521
|
+
"flags": {
|
|
5522
|
+
"project-id": {
|
|
5523
|
+
"char": "p",
|
|
5524
|
+
"description": "Project ID to enable embeddings for (overrides CLI configuration)",
|
|
5525
|
+
"helpGroup": "OVERRIDE",
|
|
5526
|
+
"name": "project-id",
|
|
5527
|
+
"hasDynamicHelp": false,
|
|
5528
|
+
"helpValue": "<id>",
|
|
5529
|
+
"multiple": false,
|
|
5530
|
+
"type": "option"
|
|
5531
|
+
},
|
|
5532
|
+
"projection": {
|
|
5533
|
+
"description": "GROQ projection defining which fields to embed (e.g. \"{ title, body }\")",
|
|
5534
|
+
"name": "projection",
|
|
5535
|
+
"required": false,
|
|
5536
|
+
"hasDynamicHelp": false,
|
|
5537
|
+
"multiple": false,
|
|
5538
|
+
"type": "option"
|
|
5539
|
+
},
|
|
5540
|
+
"wait": {
|
|
5541
|
+
"description": "Wait for embeddings processing to complete before returning",
|
|
5542
|
+
"name": "wait",
|
|
5543
|
+
"allowNo": false,
|
|
5544
|
+
"type": "boolean"
|
|
5545
|
+
}
|
|
5546
|
+
},
|
|
5547
|
+
"hasDynamicHelp": false,
|
|
5548
|
+
"hiddenAliases": [
|
|
5549
|
+
"dataset:embeddings:enable"
|
|
5550
|
+
],
|
|
5551
|
+
"id": "datasets:embeddings:enable",
|
|
5552
|
+
"pluginAlias": "@sanity/cli",
|
|
5553
|
+
"pluginName": "@sanity/cli",
|
|
5554
|
+
"pluginType": "core",
|
|
5555
|
+
"strict": true,
|
|
5556
|
+
"isESM": true,
|
|
5557
|
+
"relativePath": [
|
|
5558
|
+
"dist",
|
|
5559
|
+
"commands",
|
|
5560
|
+
"datasets",
|
|
5561
|
+
"embeddings",
|
|
5562
|
+
"enable.js"
|
|
5563
|
+
]
|
|
5564
|
+
},
|
|
5565
|
+
"datasets:embeddings:status": {
|
|
5566
|
+
"aliases": [],
|
|
5567
|
+
"args": {
|
|
5568
|
+
"dataset": {
|
|
5569
|
+
"description": "The name of the dataset to check embeddings status for",
|
|
5570
|
+
"name": "dataset",
|
|
5571
|
+
"required": false
|
|
5572
|
+
}
|
|
5573
|
+
},
|
|
5574
|
+
"description": "Show embeddings settings and status for a dataset",
|
|
5575
|
+
"examples": [
|
|
5576
|
+
{
|
|
5577
|
+
"command": "<%= config.bin %> <%= command.id %> production",
|
|
5578
|
+
"description": "Show embeddings status for the production dataset"
|
|
5579
|
+
}
|
|
5580
|
+
],
|
|
5581
|
+
"flags": {
|
|
5582
|
+
"project-id": {
|
|
5583
|
+
"char": "p",
|
|
5584
|
+
"description": "Project ID to check embeddings status for (overrides CLI configuration)",
|
|
5585
|
+
"helpGroup": "OVERRIDE",
|
|
5586
|
+
"name": "project-id",
|
|
5587
|
+
"hasDynamicHelp": false,
|
|
5588
|
+
"helpValue": "<id>",
|
|
5589
|
+
"multiple": false,
|
|
5590
|
+
"type": "option"
|
|
5591
|
+
}
|
|
5592
|
+
},
|
|
5593
|
+
"hasDynamicHelp": false,
|
|
5594
|
+
"hiddenAliases": [
|
|
5595
|
+
"dataset:embeddings:status"
|
|
5596
|
+
],
|
|
5597
|
+
"id": "datasets:embeddings:status",
|
|
5598
|
+
"pluginAlias": "@sanity/cli",
|
|
5599
|
+
"pluginName": "@sanity/cli",
|
|
5600
|
+
"pluginType": "core",
|
|
5601
|
+
"strict": true,
|
|
5602
|
+
"isESM": true,
|
|
5603
|
+
"relativePath": [
|
|
5604
|
+
"dist",
|
|
5605
|
+
"commands",
|
|
5606
|
+
"datasets",
|
|
5607
|
+
"embeddings",
|
|
5608
|
+
"status.js"
|
|
5609
|
+
]
|
|
5610
|
+
},
|
|
5451
5611
|
"typegen:generate": {
|
|
5452
5612
|
"aliases": [],
|
|
5453
5613
|
"args": {},
|
|
5454
|
-
"description": "Sanity TypeGen\n\
|
|
5614
|
+
"description": "Sanity TypeGen\n\n\u001b[1mConfiguration:\u001b[22m\nThis command can utilize configuration settings defined in a `sanity-typegen.json` file. These settings include:\n\n- \"path\": Specifies a glob pattern to locate your TypeScript or JavaScript files.\n Default: \"./src/**/*.{ts,tsx,js,jsx}\"\n\n- \"schema\": Defines the path to your Sanity schema file. This file should be generated using the `sanity schema extract` command.\n Default: \"schema.json\"\n\n- \"generates\": Indicates the path where the generated TypeScript type definitions will be saved.\n Default: \"./sanity.types.ts\"\n\nThe default configuration values listed above are used if not overridden in your `sanity-typegen.json` configuration file. To customize the behavior of the type generation, adjust these properties in the configuration file according to your project's needs.\n\n\u001b[1mNote:\u001b[22m\n- The `sanity schema extract` command is a prerequisite for extracting your Sanity Studio schema into a `schema.json` file, which is then used by the `sanity typegen generate` command to generate type definitions.",
|
|
5455
5615
|
"examples": [
|
|
5456
5616
|
{
|
|
5457
5617
|
"command": "<%= config.bin %> <%= command.id %>",
|
|
@@ -5895,166 +6055,6 @@
|
|
|
5895
6055
|
"unlink.js"
|
|
5896
6056
|
]
|
|
5897
6057
|
},
|
|
5898
|
-
"datasets:embeddings:disable": {
|
|
5899
|
-
"aliases": [],
|
|
5900
|
-
"args": {
|
|
5901
|
-
"dataset": {
|
|
5902
|
-
"description": "Dataset name to disable embeddings for",
|
|
5903
|
-
"name": "dataset",
|
|
5904
|
-
"required": false
|
|
5905
|
-
}
|
|
5906
|
-
},
|
|
5907
|
-
"description": "Disable embeddings for a dataset",
|
|
5908
|
-
"examples": [
|
|
5909
|
-
{
|
|
5910
|
-
"command": "<%= config.bin %> <%= command.id %> production",
|
|
5911
|
-
"description": "Disable embeddings for the production dataset"
|
|
5912
|
-
}
|
|
5913
|
-
],
|
|
5914
|
-
"flags": {
|
|
5915
|
-
"project-id": {
|
|
5916
|
-
"char": "p",
|
|
5917
|
-
"description": "Project ID to disable embeddings for (overrides CLI configuration)",
|
|
5918
|
-
"helpGroup": "OVERRIDE",
|
|
5919
|
-
"name": "project-id",
|
|
5920
|
-
"hasDynamicHelp": false,
|
|
5921
|
-
"helpValue": "<id>",
|
|
5922
|
-
"multiple": false,
|
|
5923
|
-
"type": "option"
|
|
5924
|
-
}
|
|
5925
|
-
},
|
|
5926
|
-
"hasDynamicHelp": false,
|
|
5927
|
-
"hiddenAliases": [
|
|
5928
|
-
"dataset:embeddings:disable"
|
|
5929
|
-
],
|
|
5930
|
-
"id": "datasets:embeddings:disable",
|
|
5931
|
-
"pluginAlias": "@sanity/cli",
|
|
5932
|
-
"pluginName": "@sanity/cli",
|
|
5933
|
-
"pluginType": "core",
|
|
5934
|
-
"strict": true,
|
|
5935
|
-
"isESM": true,
|
|
5936
|
-
"relativePath": [
|
|
5937
|
-
"dist",
|
|
5938
|
-
"commands",
|
|
5939
|
-
"datasets",
|
|
5940
|
-
"embeddings",
|
|
5941
|
-
"disable.js"
|
|
5942
|
-
]
|
|
5943
|
-
},
|
|
5944
|
-
"datasets:embeddings:enable": {
|
|
5945
|
-
"aliases": [],
|
|
5946
|
-
"args": {
|
|
5947
|
-
"dataset": {
|
|
5948
|
-
"description": "Dataset name to enable embeddings for",
|
|
5949
|
-
"name": "dataset",
|
|
5950
|
-
"required": false
|
|
5951
|
-
}
|
|
5952
|
-
},
|
|
5953
|
-
"description": "Enable embeddings for a dataset",
|
|
5954
|
-
"examples": [
|
|
5955
|
-
{
|
|
5956
|
-
"command": "<%= config.bin %> <%= command.id %> production",
|
|
5957
|
-
"description": "Enable embeddings for the production dataset"
|
|
5958
|
-
},
|
|
5959
|
-
{
|
|
5960
|
-
"command": "<%= config.bin %> <%= command.id %> production --projection \"{ title, body }\"",
|
|
5961
|
-
"description": "Enable embeddings with a specific projection"
|
|
5962
|
-
},
|
|
5963
|
-
{
|
|
5964
|
-
"command": "<%= config.bin %> <%= command.id %> production --wait",
|
|
5965
|
-
"description": "Enable embeddings and wait for processing to complete"
|
|
5966
|
-
}
|
|
5967
|
-
],
|
|
5968
|
-
"flags": {
|
|
5969
|
-
"project-id": {
|
|
5970
|
-
"char": "p",
|
|
5971
|
-
"description": "Project ID to enable embeddings for (overrides CLI configuration)",
|
|
5972
|
-
"helpGroup": "OVERRIDE",
|
|
5973
|
-
"name": "project-id",
|
|
5974
|
-
"hasDynamicHelp": false,
|
|
5975
|
-
"helpValue": "<id>",
|
|
5976
|
-
"multiple": false,
|
|
5977
|
-
"type": "option"
|
|
5978
|
-
},
|
|
5979
|
-
"projection": {
|
|
5980
|
-
"description": "GROQ projection defining which fields to embed (e.g. \"{ title, body }\")",
|
|
5981
|
-
"name": "projection",
|
|
5982
|
-
"required": false,
|
|
5983
|
-
"hasDynamicHelp": false,
|
|
5984
|
-
"multiple": false,
|
|
5985
|
-
"type": "option"
|
|
5986
|
-
},
|
|
5987
|
-
"wait": {
|
|
5988
|
-
"description": "Wait for embeddings processing to complete before returning",
|
|
5989
|
-
"name": "wait",
|
|
5990
|
-
"allowNo": false,
|
|
5991
|
-
"type": "boolean"
|
|
5992
|
-
}
|
|
5993
|
-
},
|
|
5994
|
-
"hasDynamicHelp": false,
|
|
5995
|
-
"hiddenAliases": [
|
|
5996
|
-
"dataset:embeddings:enable"
|
|
5997
|
-
],
|
|
5998
|
-
"id": "datasets:embeddings:enable",
|
|
5999
|
-
"pluginAlias": "@sanity/cli",
|
|
6000
|
-
"pluginName": "@sanity/cli",
|
|
6001
|
-
"pluginType": "core",
|
|
6002
|
-
"strict": true,
|
|
6003
|
-
"isESM": true,
|
|
6004
|
-
"relativePath": [
|
|
6005
|
-
"dist",
|
|
6006
|
-
"commands",
|
|
6007
|
-
"datasets",
|
|
6008
|
-
"embeddings",
|
|
6009
|
-
"enable.js"
|
|
6010
|
-
]
|
|
6011
|
-
},
|
|
6012
|
-
"datasets:embeddings:status": {
|
|
6013
|
-
"aliases": [],
|
|
6014
|
-
"args": {
|
|
6015
|
-
"dataset": {
|
|
6016
|
-
"description": "The name of the dataset to check embeddings status for",
|
|
6017
|
-
"name": "dataset",
|
|
6018
|
-
"required": false
|
|
6019
|
-
}
|
|
6020
|
-
},
|
|
6021
|
-
"description": "Show embeddings settings and status for a dataset",
|
|
6022
|
-
"examples": [
|
|
6023
|
-
{
|
|
6024
|
-
"command": "<%= config.bin %> <%= command.id %> production",
|
|
6025
|
-
"description": "Show embeddings status for the production dataset"
|
|
6026
|
-
}
|
|
6027
|
-
],
|
|
6028
|
-
"flags": {
|
|
6029
|
-
"project-id": {
|
|
6030
|
-
"char": "p",
|
|
6031
|
-
"description": "Project ID to check embeddings status for (overrides CLI configuration)",
|
|
6032
|
-
"helpGroup": "OVERRIDE",
|
|
6033
|
-
"name": "project-id",
|
|
6034
|
-
"hasDynamicHelp": false,
|
|
6035
|
-
"helpValue": "<id>",
|
|
6036
|
-
"multiple": false,
|
|
6037
|
-
"type": "option"
|
|
6038
|
-
}
|
|
6039
|
-
},
|
|
6040
|
-
"hasDynamicHelp": false,
|
|
6041
|
-
"hiddenAliases": [
|
|
6042
|
-
"dataset:embeddings:status"
|
|
6043
|
-
],
|
|
6044
|
-
"id": "datasets:embeddings:status",
|
|
6045
|
-
"pluginAlias": "@sanity/cli",
|
|
6046
|
-
"pluginName": "@sanity/cli",
|
|
6047
|
-
"pluginType": "core",
|
|
6048
|
-
"strict": true,
|
|
6049
|
-
"isESM": true,
|
|
6050
|
-
"relativePath": [
|
|
6051
|
-
"dist",
|
|
6052
|
-
"commands",
|
|
6053
|
-
"datasets",
|
|
6054
|
-
"embeddings",
|
|
6055
|
-
"status.js"
|
|
6056
|
-
]
|
|
6057
|
-
},
|
|
6058
6058
|
"datasets:visibility:get": {
|
|
6059
6059
|
"aliases": [],
|
|
6060
6060
|
"args": {
|
|
@@ -6161,5 +6161,5 @@
|
|
|
6161
6161
|
]
|
|
6162
6162
|
}
|
|
6163
6163
|
},
|
|
6164
|
-
"version": "8.
|
|
6164
|
+
"version": "8.4.2"
|
|
6165
6165
|
}
|