open-agents-ai 0.184.74 → 0.184.75

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 +26 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -64391,6 +64391,32 @@ ${lines.join("\n")}
64391
64391
  if (flowEnabled) {
64392
64392
  dynamicContext += "\n\n" + FLOWSTATE_PROMPT;
64393
64393
  }
64394
+ if (modelCaps?.vision) {
64395
+ dynamicContext += `
64396
+
64397
+ <vision-capabilities>
64398
+ You have vision capabilities available. You can analyze images using these tools:
64399
+
64400
+ 1. **image_read** \u2014 Read/view an image file directly. Use this for screenshots, photos,
64401
+ diagrams, or any image the user provides. Pass the file path.
64402
+ Example: image_read(image="/path/to/image.png")
64403
+
64404
+ 2. **vision** \u2014 Analyze images with Moondream vision model. Supports:
64405
+ - caption: Describe what's in an image
64406
+ - query: Ask a question about an image (visual QA)
64407
+ - detect: Find all instances of an object (bounding boxes)
64408
+ - point: Find the center location of an object (for click targeting)
64409
+ Example: vision(image="/tmp/screenshot.png", action="caption")
64410
+ Example: vision(image="photo.jpg", action="query", prompt="What color is the car?")
64411
+
64412
+ 3. **screenshot** \u2014 Capture the current screen (desktop automation).
64413
+ Returns a screenshot path you can then analyze with vision or image_read.
64414
+
64415
+ When the user asks you to look at, describe, or analyze an image or camera feed,
64416
+ use these tools proactively. Do not say you cannot see images \u2014 you can.
64417
+ For video streams or camera feeds, capture frames and analyze them sequentially.
64418
+ </vision-capabilities>`;
64419
+ }
64394
64420
  let localFirstOverride = false;
64395
64421
  if (config.backendType === "nexus") {
64396
64422
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.184.74",
3
+ "version": "0.184.75",
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",