Skip to content

feat(tools): mirror execute results to tool_output for headless UI#573

Open
JessicaMulein wants to merge 1 commit into
cecli-dev:mainfrom
Digital-Defiance:pr/tool-result-ui
Open

feat(tools): mirror execute results to tool_output for headless UI#573
JessicaMulein wants to merge 1 commit into
cecli-dev:mainfrom
Digital-Defiance:pr/tool-result-ui

Conversation

@JessicaMulein

Copy link
Copy Markdown

Summary

  • Add emit_execute_result_to_ui() so headless consumers (BrightVision tool cards) receive tool execute() return text via tool_output
  • Hook sync tools in BaseTool.process_response and async tools in AgentCoder
  • ls / Command opt out via SKIP_EXECUTE_RESULT_UI when they already stream output during execute
  • Remove Grep TUI-only summary path that hid match content

Test plan

  • pytest cecli/tests/tools/test_tool_result_ui.py cecli/tests/tools/test_grep.py -q

@JessicaMulein

Copy link
Copy Markdown
Author

updated for v0.100.7

Emit tool return text via emit_execute_result_to_ui so BrightVision and other
headless consumers show Grep/ExploreCode output in tool cards. Sync and async
local tools hook through BaseTool and AgentCoder; ls/Command opt out when they
already stream output during execute.

Co-authored-by: Cursor <cursoragent@cursor.com>
JessicaMulein added a commit to Digital-Defiance/BrightVision that referenced this pull request Jun 15, 2026
Cherry-pick 3a84e9f37 (upstream PR cecli-dev/cecli#573). Tool cards show
collapsible output for all tools with multiple result chunks.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant