@@ -82,29 +82,39 @@ export const SLASH_COMMANDS: SlashCommand[] = [
8282 description : 'Clear the chat' ,
8383 command : { title : 'Clear' , id : 'rovo-dev.clearChat' , tooltip : 'Clear the chat' } ,
8484 } ,
85- {
86- label : '/prune' ,
87- insertText : '/prune' ,
88- description : 'Prune the chat' ,
89- command : { title : 'Prune' , id : 'rovo-dev.pruneChat' , tooltip : 'Prune the chat' } ,
90- } ,
9185 {
9286 label : '/copy' ,
9387 insertText : '/copy' ,
9488 description : 'Copy the last response to clipboard' ,
9589 command : { title : 'Copy' , id : 'rovo-dev.copyResponse' , tooltip : 'Copy the last response to clipboard' } ,
9690 } ,
91+ {
92+ label : '/feedback' ,
93+ insertText : '/feedback' ,
94+ description : 'Provide feedback on Rovo Dev' ,
95+ command : { title : 'Feedback' , id : 'rovo-dev.triggerFeedback' , tooltip : 'Provide feedback on Rovo Dev' } ,
96+ } ,
9797 {
9898 label : '/memory' ,
9999 insertText : '/memory' ,
100100 description : 'Show agent memory' ,
101101 command : { title : 'Agent Memory' , id : 'rovo-dev.agentMemory' , tooltip : 'Show agent memory' } ,
102102 } ,
103103 {
104- label : '/yolo' ,
105- insertText : '/yolo' ,
106- description : 'Toggle tool confirmations' ,
107- command : { title : 'Yolo Mode' , id : 'rovo-dev.toggleYoloMode' , tooltip : 'Toggle tool confirmations' } ,
104+ label : '/prompts' ,
105+ insertText : '/prompts' ,
106+ description : 'Show saved prompts' ,
107+ command : {
108+ title : 'Prompts' ,
109+ id : 'rovo-dev.triggerPrompts' ,
110+ tooltip : 'Show saved prompts' ,
111+ } ,
112+ } ,
113+ {
114+ label : '/prune' ,
115+ insertText : '/prune' ,
116+ description : 'Prune the chat' ,
117+ command : { title : 'Prune' , id : 'rovo-dev.pruneChat' , tooltip : 'Prune the chat' } ,
108118 } ,
109119 {
110120 label : '/status' ,
@@ -127,10 +137,10 @@ export const SLASH_COMMANDS: SlashCommand[] = [
127137 } ,
128138 } ,
129139 {
130- label : '/feedback ' ,
131- insertText : '/feedback ' ,
132- description : 'Provide feedback on Rovo Dev ' ,
133- command : { title : 'Feedback ' , id : 'rovo-dev.triggerFeedback ' , tooltip : 'Provide feedback on Rovo Dev ' } ,
140+ label : '/yolo ' ,
141+ insertText : '/yolo ' ,
142+ description : 'Toggle tool confirmations ' ,
143+ command : { title : 'Yolo Mode ' , id : 'rovo-dev.toggleYoloMode ' , tooltip : 'Toggle tool confirmations ' } ,
134144 } ,
135145] ;
136146
@@ -222,6 +232,12 @@ export function setupMonacoCommands(
222232 editor . setValue ( '' ) ;
223233 } ) ;
224234
235+ monaco . editor . registerCommand ( 'rovo-dev.triggerPrompts' , ( ) => {
236+ if ( onSend ( '/prompts' ) ) {
237+ editor . setValue ( '' ) ;
238+ }
239+ } ) ;
240+
225241 monaco . editor . registerCommand ( 'rovo-dev.triggerStatus' , ( ) => {
226242 if ( onSend ( '/status' ) ) {
227243 editor . setValue ( '' ) ;
0 commit comments