Show host execution output and readable delegation steps

Connected-host code execution now writes its result into the step log, so
the expanded step shows what ran. ACP delegation prints each tool call once
it finishes, with its final one-line title, and separates the answer. The
cwd argument also expands ~.
This commit is contained in:
Alessandro committed 2026-12-05 06:56:43 +01:00
1 parent c7ebccbc78
commit dc27770f9e
6 files changed
+50 -10

No files matched your search

@@ -105,7 +105,10 @@ class CodeExecution(Tool):
from plugins._a0_connector.helpers.host_execution import HostExecution
ensure_retired_host_tool_allowed(self.agent, "code_execution_remote", tool_args=self.args)
return await HostExecution(self.agent, self.args, allow_running=self.allow_running).execute()
response = await HostExecution(self.agent, self.args, allow_running=self.allow_running).execute()
if getattr(self, "log", None):
self.log.update(content=response.message)
return response
config = plugins.get_plugin_config("_code_execution", agent=self.agent) or {}
if self.destination.kind == "local":