computer use tool

This commit is contained in:
Harivansh Rathi 2026-03-11 14:13:03 -04:00
parent 3919bbf708
commit e1bba1c1a5
9 changed files with 911 additions and 17 deletions

View file

@ -26,10 +26,12 @@ import {
allTools,
bashTool,
browserTool,
computerTool,
codingTools,
defaultCodingToolNames,
createBashTool,
createBrowserTool,
createComputerTool,
createCodingTools,
createEditTool,
createFindTool,
@ -67,7 +69,7 @@ export interface CreateAgentSessionOptions {
/** Models available for cycling (Ctrl+P in interactive mode) */
scopedModels?: Array<{ model: Model<any>; thinkingLevel?: ThinkingLevel }>;
/** Built-in tools to use. Default: codingTools [read, bash, browser, edit, write] */
/** Built-in tools to use. Default: codingTools [read, bash, browser, computer, edit, write] */
tools?: Tool[];
/** Custom tools to register (in addition to built-in tools). */
customTools?: ToolDefinition[];
@ -113,6 +115,7 @@ export {
readTool,
bashTool,
browserTool,
computerTool,
editTool,
writeTool,
grepTool,
@ -127,6 +130,7 @@ export {
createReadTool,
createBashTool,
createBrowserTool,
createComputerTool,
createEditTool,
createWriteTool,
createGrepTool,