davsclaus opened a new pull request, #23716:
URL: https://github.com/apache/camel/pull/23716

   ## Summary
   
   - Add `tui_draw` and `tui_draw_clear` MCP tools that let AI agents draw 
characters at specific screen coordinates as an overlay on top of the TUI
   - AI can highlight areas, annotate the screen for humans, draw shapes, or 
create fun emoji art (e.g. camel emojis)
   - All cells sent in a single MCP call (no chatty networking) with support 
for auto-dismiss via `duration` parameter and `append` mode for composing 
drawings
   - Drawing is a pure overlay -- `tui_draw_clear` restores the screen to its 
normal state instantly
   
   ## New files
   
   - `DrawOverlay.java` -- overlay that stores positioned cells and renders 
them on top of the TUI buffer, with auto-dismiss timer and color parsing
   
   ## Modified files
   
   - `CamelMonitor.java` -- integrate DrawOverlay into the render pipeline 
(after content, before captions)
   - `TuiMcpServer.java` -- register `tui_draw` and `tui_draw_clear` tool 
definitions and handlers
   
   ## Test plan
   
   - [ ] Build: `cd dsl/camel-jbang/camel-jbang-plugin-tui && mvn install 
-DskipTests`
   - [ ] Run `camel tui monitor --mcp` with an integration running
   - [ ] Call `tui_draw` with cells at known positions and verify they appear
   - [ ] Call `tui_draw` with emoji characters
   - [ ] Call `tui_draw_clear` and verify drawing disappears
   - [ ] Call `tui_draw` with `duration` and verify auto-dismiss
   - [ ] Call `tui_draw` with `append=true` to add to existing drawing
   - [ ] Verify `tui_show_caption` still renders on top of drawings
   
   _Claude Code on behalf of Claus Ibsen_
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to