open-agents-ai 0.184.80 → 0.184.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +23 -21
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -16206,7 +16206,7 @@ var init_desktop_click = __esm({
16206
16206
  DesktopClickTool = class {
16207
16207
  workingDir;
16208
16208
  name = "desktop_click";
16209
- description = "Click on a UI element identified by natural language description. Takes a screenshot, uses vision to find the described element, then clicks at that location using xdotool (Linux) or cliclick (macOS). Example: desktop_click({ target: 'the Save button' })";
16209
+ description = "Click on a UI element identified by natural language description. Takes a screenshot, uses Moondream vision to find the element's coordinates, then clicks at that location. Supports single click, double click, and right click.\n Single click: desktop_click({ target: 'the Save button' })\n Double click: desktop_click({ target: 'document.pdf', click_type: 'double' })\n Right click: desktop_click({ target: 'file icon', button: 'right' })\nChain multiple calls for complex interactions (e.g. right-click \u2192 select menu item).";
16210
16210
  /** Active Ollama model name — used as vision fallback if it has vision capability */
16211
16211
  _activeModel = "";
16212
16212
  /** Whether the active model has vision capability */
@@ -64480,26 +64480,28 @@ ${lines.join("\n")}
64480
64480
  dynamicContext += `
64481
64481
 
64482
64482
  <vision-capabilities>
64483
- You have vision capabilities available. You can analyze images using these tools:
64484
-
64485
- 1. **image_read** \u2014 Read/view an image file directly. Use this for screenshots, photos,
64486
- diagrams, or any image the user provides. Pass the file path.
64487
- Example: image_read(image="/path/to/image.png")
64488
-
64489
- 2. **vision** \u2014 Analyze images with Moondream vision model. Supports:
64490
- - caption: Describe what's in an image
64491
- - query: Ask a question about an image (visual QA)
64492
- - detect: Find all instances of an object (bounding boxes)
64493
- - point: Find the center location of an object (for click targeting)
64494
- Example: vision(image="/tmp/screenshot.png", action="caption")
64495
- Example: vision(image="photo.jpg", action="query", prompt="What color is the car?")
64496
-
64497
- 3. **screenshot** \u2014 Capture the current screen (desktop automation).
64498
- Returns a screenshot path you can then analyze with vision or image_read.
64499
-
64500
- When the user asks you to look at, describe, or analyze an image or camera feed,
64501
- use these tools proactively. Do not say you cannot see images \u2014 you can.
64502
- For video streams or camera feeds, capture frames and analyze them sequentially.
64483
+ You have vision capabilities available.
64484
+
64485
+ IMAGE ANALYSIS:
64486
+ image_read(image="path") \u2014 View/read an image file directly
64487
+ vision(image="path", action="caption") \u2014 Describe image contents
64488
+ vision(image="path", action="query", prompt="question") \u2014 Visual QA
64489
+ vision(image="path", action="detect", prompt="object") \u2014 Find objects (bounding boxes)
64490
+ vision(image="path", action="point", prompt="element") \u2014 Find element center (for clicking)
64491
+
64492
+ DESKTOP INTERACTION PIPELINE:
64493
+ 1. desktop_describe() \u2014 Screenshot + describe what's on screen
64494
+ 2. desktop_click({ target: "element" }) \u2014 Find + click an element
64495
+ 3. desktop_click({ target: "file.pdf", click_type: "double" }) \u2014 Double click to open
64496
+ 4. desktop_click({ target: "icon", button: "right" }) \u2014 Right click for context menu
64497
+ Chain calls iteratively: describe \u2192 click \u2192 wait \u2192 describe \u2192 click next item
64498
+
64499
+ RULES:
64500
+ - Do NOT say you cannot see images \u2014 you can.
64501
+ - Use desktop_describe first to survey the screen, then desktop_click to interact.
64502
+ - After clicking, call desktop_describe again to verify the result.
64503
+ - For file operations: double-click to open, right-click for context menus.
64504
+ - Use delay_ms parameter if UI needs time to transition between clicks.
64503
64505
  </vision-capabilities>`;
64504
64506
  }
64505
64507
  let localFirstOverride = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.184.80",
3
+ "version": "0.184.81",
4
4
  "description": "AI coding agent powered by open-source models (Ollama/vLLM) — interactive TUI with agentic tool-calling loop",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",