Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

computer-use-tool changedagents-and-tools/tool-use/computer-use-tool

Recorded here
Lines+2added
Lines−2removed
From line 1,215 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits26to this page, all time

The whole hunk

from line 1215, old and new numbered
/
lines
from line 1215
12151215 'left_click' => clickAt($input['coordinate'] ?? null),
12161216 'type' => typeText($input['text']),
12171217 // Handle other actions as needed
1218 default => throw new RuntimeException("Unknown or unimplemented member: {$name}"),
1218 default => throw new \RuntimeException("Unknown or unimplemented member: {$name}"),
12191219 };
12201220 }
12211221 ```
from line 1534
15341534 try {
15351535 // A string, or the image block list that screenshot returns
15361536 $toolResults[] = [...$result, 'content' => handleComputerAction($block->name, $block->input)];
1537 } catch (Throwable $e) {
1537 } catch (\Throwable $e) {
15381538 $failed = true;
15391539 $toolResults[] = [...$result, 'content' => 'Error: ' . $e->getMessage(), 'is_error' => true];
15401540 }
Feedback