open-agents-ai 0.32.0 → 0.32.1

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 +5 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7425,6 +7425,8 @@ var init_desktop_click = __esm({
7425
7425
  "Use shell commands to interact with the desktop instead:",
7426
7426
  " xdotool search --name 'pattern' \u2014 find windows by title",
7427
7427
  " xdotool key 'ctrl+s' \u2014 send keyboard shortcuts",
7428
+ " xdotool type --window $WID 'text' \u2014 type text into a specific window (use --window, NOT positional arg)",
7429
+ " xdotool key --window $WID Return \u2014 send key to a specific window",
7428
7430
  " xdotool mousemove X Y click 1 \u2014 click at known coordinates",
7429
7431
  " wmctrl -a 'window title' \u2014 activate a window by name"
7430
7432
  ];
@@ -11018,7 +11020,7 @@ You have a comprehensive set of tools. NEVER say "I can't do that" or "I don't h
11018
11020
  - Need to open Firefox? Use shell: \`firefox https://example.com &\`
11019
11021
  - Need to click a button? Use desktop_click or shell with xdotool
11020
11022
  - Need to see the screen? Use screenshot or desktop_describe
11021
- - Need to type text? Use shell with xdotool: \`xdotool type "text"\`
11023
+ - Need to type text? Use shell with xdotool: \`xdotool type "text"\` (to target a specific window: \`xdotool type --window $WID "text"\`)
11022
11024
  - Need to install software? Use shell: \`sudo apt install ...\`
11023
11025
  - Need to interact with a website? Use web_fetch, or open the browser and use desktop tools
11024
11026
 
@@ -11090,6 +11092,8 @@ When asked to interact with desktop applications (open browsers, click buttons,
11090
11092
  2. Use screenshot or desktop_describe to see what's on screen
11091
11093
  3. Use desktop_click to click UI elements: \`desktop_click({target: "Sign Up button"})\`
11092
11094
  4. Use shell with xdotool for keyboard input: \`xdotool type "username"\` and \`xdotool key Return\`
11095
+ To target a specific window by ID: \`xdotool type --window $WID "text"\` and \`xdotool key --window $WID Return\`
11096
+ IMPORTANT: xdotool type/key use \`--window WID\` flag, NOT positional args. \`xdotool type -- $WID "text"\` is WRONG (types the WID as text).
11093
11097
  5. Use shell with xdotool for navigation: \`xdotool key Tab\`, \`xdotool key ctrl+l\`
11094
11098
  6. Take screenshots between steps to verify progress
11095
11099
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.32.0",
3
+ "version": "0.32.1",
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",