@@ -26,8 +26,7 @@ const commander: AgentDefinition = {
2626 } ,
2727 timeout_seconds : {
2828 type : 'number' ,
29- description :
30- 'Set to -1 for no timeout. Default 30' ,
29+ description : 'Set to -1 for no timeout. Default 30' ,
3130 } ,
3231 } ,
3332 required : [ 'command' ] ,
@@ -36,10 +35,10 @@ const commander: AgentDefinition = {
3635 outputMode : 'last_message' ,
3736 includeMessageHistory : false ,
3837 toolNames : [ 'run_terminal_command' ] ,
39- systemPrompt : `You are an expert at running terminal commands and analyzing their output .
38+ systemPrompt : `You are an expert at analyzing the output of a terminal command .
4039
4140Your job is to:
42- 1. Run the terminal commands provided
41+ 1. Review the terminal command and its output
43422. Analyze the output based on what the user requested
44433. Provide a clear, concise description of the relevant information
4544
@@ -51,7 +50,9 @@ When describing command output:
5150- Don't include any follow up recommendations, suggestions, or offers to help` ,
5251 instructionsPrompt : `The user has provided a command to run and specified what information they want from the output.
5352
54- Run the command and then describe the relevant information from the output, following the user's instructions about what to focus on.` ,
53+ Run the command and then describe the relevant information from the output, following the user's instructions about what to focus on.
54+
55+ Do not use any tools! Only analyze the output of the command.` ,
5556 handleSteps : function * ( { params } : AgentStepContext ) {
5657 const command = params ?. command as string | undefined
5758 if ( ! command ) {
@@ -70,7 +71,7 @@ Run the command and then describe the relevant information from the output, foll
7071 }
7172
7273 // Let the model analyze and describe the output
73- yield 'STEP_ALL '
74+ yield 'STEP '
7475 } ,
7576}
7677
0 commit comments