diff options
| author | amankumarsingh77 <amankumarsingh7702@gmal.com> | 2026-05-03 00:43:43 +0530 |
|---|---|---|
| committer | amankumarsingh77 <amankumarsingh7702@gmal.com> | 2026-05-03 00:43:43 +0530 |
| commit | cb9a51eb557ae67f9d7c65f20e600c278cf7f6ab (patch) | |
| tree | 5753da56bc99f49c625cbf3ebd91d4d484672329 /src/prompt.ts | |
| parent | ff4859236e2de4844d5231768f57cbfbe3f937e1 (diff) | |
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.)
Diffstat (limited to 'src/prompt.ts')
| -rw-r--r-- | src/prompt.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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.) | |
