{ "folders": [ { "name": "cua-root", "path": ".." }, { "name": "computer", "path": "../libs/python/computer" }, { "name": "agent", "path": "../libs/python/agent" }, { "name": "som", "path": "../libs/python/som" }, { "name": "computer-server", "path": "../libs/python/computer-server" }, { "name": "core", "path": "../libs/python/core" } ], "settings": { "files.exclude": { "**/.git": true, "**/.svn": true, "**/.hg": true, "**/CVS": true, "**/.DS_Store": true, "**/__pycache__": true, "**/.pytest_cache": true, "**/*.pyc": true }, "python.testing.pytestEnabled": true, "python.testing.unittestEnabled": false, "python.testing.nosetestsEnabled": false, "python.testing.pytestArgs": [ "libs" ], "python.analysis.extraPaths": [ "${workspaceFolder:cua-root}/libs/python/core", "${workspaceFolder:cua-root}/libs/python/computer", "${workspaceFolder:cua-root}/libs/python/agent", "${workspaceFolder:cua-root}/libs/python/som", "${workspaceFolder:cua-root}/.vscode/typings" ], "python.envFile": "${workspaceFolder:cua-root}/.env", "python.defaultInterpreterPath": "${workspaceFolder:cua-root}/.venv/bin/python", "python.analysis.diagnosticMode": "workspace", "python.analysis.typeCheckingMode": "basic", "python.analysis.autoSearchPaths": true, "python.analysis.stubPath": "${workspaceFolder:cua-root}/.vscode/typings", "python.analysis.indexing": false, "python.analysis.exclude": [ "**/node_modules/**", "**/__pycache__/**", "**/.*/**", "**/venv/**", "**/.venv/**", "**/dist/**", "**/build/**", ".pdm-build/**", "**/.git/**", "examples/**", "notebooks/**", "logs/**", "screenshots/**" ], "python.analysis.packageIndexDepths": [ { "name": "computer", "depth": 2 }, { "name": "agent", "depth": 2 }, { "name": "som", "depth": 2 }, { "name": "core", "depth": 2 } ], "python.autoComplete.extraPaths": [ "${workspaceFolder:cua-root}/libs/python/core", "${workspaceFolder:cua-root}/libs/python/computer", "${workspaceFolder:cua-root}/libs/python/agent", "${workspaceFolder:cua-root}/libs/python/som", ], "python.languageServer": "None", "[python]": { "editor.formatOnSave": true, "editor.defaultFormatter": "ms-python.black-formatter", "editor.codeActionsOnSave": { "source.organizeImports": "explicit" } }, "files.associations": { "examples/computer_examples.py": "python", "examples/agent_examples.py": "python" }, "python.interpreterPaths": { "examples/computer_examples.py": "${workspaceFolder}/libs/python/computer/.venv/bin/python", "examples/agent_examples.py": "${workspaceFolder}/libs/python/agent/.venv/bin/python" } }, "tasks": { "version": "2.0.0", "tasks": [ { "label": "Build Dependencies", "type": "shell", "command": "${workspaceFolder}/scripts/build.sh", "presentation": { "reveal": "always", "panel": "new", "clear": true }, "group": { "kind": "build", "isDefault": true }, "options": { "shell": { "executable": "/bin/bash", "args": ["-l", "-c"] } }, "problemMatcher": [] } ] }, "compounds": [ { "name": "Run Computer Examples + Server", "configurations": ["Run Computer Examples", "Run Computer Server"], "stopAll": true, "presentation": { "group": "Computer", "order": 1 } }, { "name": "Run Server with Keep-Alive Client", "configurations": ["Run Computer Server", "Test Server Connection (Keep Alive)"], "stopAll": true, "presentation": { "group": "Computer", "order": 2 } } ], "inputs": [ { "id": "imagePath", "type": "promptString", "description": "Path to the image file or directory for icon detection", "default": "${workspaceFolder}/examples/test_data" } ] }