@@ -15,7 +15,7 @@ inputs:
1515 cagent-version :
1616 description : " Version of cagent to use"
1717 required : false
18- default : " v1.6.6 "
18+ default : " v1.9.11 "
1919 mcp-gateway :
2020 description : " Install mcp-gateway (true/false)"
2121 required : false
@@ -48,22 +48,18 @@ inputs:
4848 description : " Working directory to run the agent in"
4949 required : false
5050 default : " ."
51- tui :
52- description : " Enable TUI mode (true/false)"
53- required : false
54- default : " false"
5551 yolo :
5652 description : " Enable yolo mode - auto-approve all prompts (true/false)"
5753 required : false
5854 default : " true"
5955 extra-args :
60- description : " Additional arguments to pass to cagent run "
56+ description : " Additional arguments to pass to cagent exec "
6157 required : false
6258 default : " "
6359
6460outputs :
6561 exit-code :
66- description : " Exit code from cagent run "
62+ description : " Exit code from cagent exec "
6763 value : ${{ steps.run-agent.outputs.exit-code }}
6864 output-file :
6965 description : " Path to the output log file"
@@ -266,7 +262,6 @@ runs:
266262 DEBUG : ${{ inputs.debug }}
267263 YOLO : ${{ inputs.yolo }}
268264 EXTRA_ARGS : ${{ inputs.extra-args }}
269- TUI : ${{ inputs.tui }}
270265 TIMEOUT : ${{ inputs.timeout }}
271266 WORKING_DIR : ${{ inputs.working-directory }}
272267 CAGENT_VERSION : ${{ inputs.cagent-version }}
@@ -290,15 +285,13 @@ runs:
290285 echo "Output file: $OUTPUT_FILE"
291286
292287 # Build command arguments array (SECURE: no eval!)
293- ARGS=("run ")
288+ ARGS=("exec ")
294289
295290 # Add flags
296291 if [ "$YOLO" = "true" ]; then
297292 ARGS+=("--yolo")
298293 fi
299294
300- ARGS+=("--tui=$TUI")
301-
302295 # Add extra args if provided
303296 # Note: This uses simple word splitting. Quoted arguments with spaces are not supported.
304297 # Using eval would be a security risk with user-provided input.
0 commit comments