From cb9a51eb557ae67f9d7c65f20e600c278cf7f6ab Mon Sep 17 00:00:00 2001 From: amankumarsingh77 Date: Sun, 3 May 2026 00:43:43 +0530 Subject: feat: render screenshots inline in TUI via Image component; add parallelization guidance to SKILL.md - browser_screenshot now has renderResult that creates an Image component for inline display in Kitty/iTerm2/Ghostty/WezTerm terminals - Falls back to dim text placeholder on terminals without image support - Updated system prompt table description to mention TUI inline rendering - Added Parallelization section to SKILL.md teaching the agent to batch independent operations (browser_open_urls, browser_http_get, etc.) --- src/prompt.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/prompt.ts') diff --git a/src/prompt.ts b/src/prompt.ts index d4ac8a3..6d2b2ab 100644 --- a/src/prompt.ts +++ b/src/prompt.ts @@ -21,7 +21,7 @@ to interact with pages visually, and other tools alongside them. | Tool | Purpose | |------|---------| -| browser_screenshot | Capture a PNG screenshot of the current page (result details include path and attached: false — the LLM reads the image via the saved file path) | +| browser_screenshot | Capture a PNG or JPEG screenshot of the current page (rendered inline in the TUI; the LLM reads the image via the saved file path) | | browser_click | Click at viewport coordinates | | browser_type | Type text into the focused element | | browser_press_key | Press a keyboard key (Enter, Tab, Escape, arrows, etc.) | -- cgit v1.2.3