open-agents-ai 0.184.81 → 0.184.82
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.
- package/dist/index.js +11 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -41933,10 +41933,20 @@ async function ensureVisionDeps(onInfo, getSudoPassword) {
|
|
|
41933
41933
|
const cachedPasswordRef = { value: null };
|
|
41934
41934
|
const getPassword = getSudoPassword ?? (() => Promise.resolve(null));
|
|
41935
41935
|
const allDeps = [
|
|
41936
|
+
// Vision + OCR
|
|
41936
41937
|
{ binary: "tesseract", label: "tesseract-ocr", pkgs: { apt: "tesseract-ocr", dnf: "tesseract", pacman: "tesseract", brew: "tesseract", choco: "tesseract" } },
|
|
41937
41938
|
{ binary: "pdftotext", label: "poppler-utils", pkgs: { apt: "poppler-utils", dnf: "poppler-utils", pacman: "poppler", brew: "poppler", choco: "poppler" } },
|
|
41938
41939
|
{ binary: "gs", label: "ghostscript", pkgs: { apt: "ghostscript", dnf: "ghostscript", pacman: "ghostscript", brew: "ghostscript", choco: "ghostscript" } },
|
|
41939
|
-
{ binary: "ocrmypdf", label: "ocrmypdf", pkgs: { apt: "ocrmypdf", dnf: "ocrmypdf", pacman: "ocrmypdf", brew: "ocrmypdf", choco: "ocrmypdf" } }
|
|
41940
|
+
{ binary: "ocrmypdf", label: "ocrmypdf", pkgs: { apt: "ocrmypdf", dnf: "ocrmypdf", pacman: "ocrmypdf", brew: "ocrmypdf", choco: "ocrmypdf" } },
|
|
41941
|
+
// Desktop interaction — screenshot + mouse control for desktop_click/desktop_describe
|
|
41942
|
+
...process.platform === "darwin" ? [
|
|
41943
|
+
// macOS: screencapture is built-in, cliclick needed for mouse control
|
|
41944
|
+
{ binary: "cliclick", label: "cliclick", pkgs: { brew: "cliclick" } }
|
|
41945
|
+
] : process.platform === "linux" ? [
|
|
41946
|
+
// Linux: scrot for screenshots, xdotool for mouse/keyboard control
|
|
41947
|
+
{ binary: "scrot", label: "scrot", pkgs: { apt: "scrot", dnf: "scrot", pacman: "scrot" } },
|
|
41948
|
+
{ binary: "xdotool", label: "xdotool", pkgs: { apt: "xdotool", dnf: "xdotool", pacman: "xdotool" } }
|
|
41949
|
+
] : []
|
|
41940
41950
|
];
|
|
41941
41951
|
{
|
|
41942
41952
|
const pm2 = detectPkgManager();
|
package/package.json
CHANGED