You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2026/10/06 18:57:00 UTC
[jira] [Commented] (CAMEL-25398) camel-jbang - camel ask, TUI and MCP: surface CLI failures to agents
[ https://issues.apache.org/jira/browse/CAMEL-25398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18123962#comment-18123962 ]
Claus Ibsen commented on CAMEL-25398:
-------------------------------------
Also covers CAMEL-25385: the shared send_message tool passes headers in a shape the runtime send action does not accept (ClassCastException String -> Collection).
_Claude Code on behalf of davsclaus (Claus Ibsen)_
> camel-jbang - camel ask, TUI and MCP: surface CLI failures to agents
> --------------------------------------------------------------------
>
> Key: CAMEL-25398
> URL: https://issues.apache.org/jira/browse/CAMEL-25398
> Project: Camel
> Issue Type: Sub-task
> Components: camel-jbang
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 4.24.0
>
>
> * Shared in-process {{CliRunner}} returning {{CliResult\{exitCode, stdout, stderr, elapsedMs, timedOut\}}}, used by {{camel ask}}, the TUI AI panel and ShellPanel (one lock).
> * {{camel ask}} {{cli_exec}}: return JSON with the exit code (today dropped whenever there is output), 60s timeout, refuse blocking commands with a hint to the non-blocking form, destructive commands require {{--yes}}.
> * TUI {{TuiToolRegistry.executeShared}} rethrows so MCP sets {{isError}}; {{camel_run}} {{status:failed}} and failed restarts become tool errors; {{AiTraceTools}} / {{RuntimeTools}} pass errors through.
> * Retire LaunchManager log scraping in favour of exit code + status file; track CamelMonitor's camel-main restart; fix the docker/podman info check timeout (read before waitFor).
> _Claude Code on behalf of davsclaus (Claus Ibsen)_
--
This message was sent by Atlassian Jira
(v8.20.10#820010)