File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/cli-v3/src/mcp/tools Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const PromptSlugInput = CommonProjectsInput.extend({
1515
1616const PromoteInput = CommonProjectsInput . extend ( {
1717 slug : z . string ( ) . describe ( "The prompt slug" ) ,
18- version : z . number ( ) . int ( ) . positive ( ) . describe ( "The version number to promote to current" ) ,
18+ version : z . coerce . number ( ) . int ( ) . positive ( ) . describe ( "The version number to promote to current" ) ,
1919} ) ;
2020
2121const CreateOverrideInput = CommonProjectsInput . extend ( {
@@ -37,7 +37,7 @@ const RemoveOverrideInput = PromptSlugInput;
3737const ReactivateOverrideInput = CommonProjectsInput . extend ( {
3838 slug : z . string ( ) . describe ( "The prompt slug" ) ,
3939 version : z
40- . number ( )
40+ . coerce . number ( )
4141 . int ( )
4242 . positive ( )
4343 . describe ( "The dashboard-sourced version number to reactivate as override" ) ,
You can’t perform that action at this time.
0 commit comments