Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

2.4 KB
Raw Blame
{
  "id": "5e2d93d8-8ad0-4435-b150-1692aacaa994-WOS",
  "snapshot": "vscode",
  "instruction": "Please help me save the project that I currently have open \"C:\\Users\\Docker\\Downloads\\project\" as a VS Code workspace.",
  "source": "https://www.youtube.com/watch?v=B-s71n0dHUk",
  "_comments": "revised instruction for more specificity and clarify",
  "config": [
    {
      "type": "command",
      "parameters": {
        "command": [
          "powershell",
          "-Command",
          "New-Item",
          "-ItemType",
          "Directory",
          "-Force",
          "-Path",
          "C:\\Users\\Docker\\Downloads\\project\\.vscode"
        ]
      }
    },
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/vscode/5e2d93d8-8ad0-4435-b150-1692aacaa994-WOS/config/main.py",
            "path": "C:\\Users\\Docker\\Downloads\\project\\main.py"
          },
          {
            "url": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/vscode/5e2d93d8-8ad0-4435-b150-1692aacaa994-WOS/config/README.md",
            "path": "C:\\Users\\Docker\\Downloads\\project\\README.md"
          },
          {
            "url": "https://raw.githubusercontent.com/rogeriobonatti/winarenafiles/main/task_files/vscode/5e2d93d8-8ad0-4435-b150-1692aacaa994-WOS/config/settings.json",
            "path": "C:\\Users\\Docker\\Downloads\\project\\.vscode\\settings.json"
          }
        ]
      }
    },
    {
      "type": "launch",
      "parameters": {
        "command": ["code", "C:\\Users\\Docker\\Downloads\\project"]
      }
    },
    {
      "type": "sleep",
      "parameters": {
        "seconds": 2
      }
    },
    {
      "type": "activate_window",
      "parameters": {
        "window_name": "Visual Studio Code"
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": ["vscode"],
  "evaluator": {
    "func": "is_extension_installed",
    "result": {
      "type": "vm_command_line",
      "command": [
        "powershell",
        "-Command",
        "if (Test-Path -Path 'C:\\Users\\Docker\\Downloads\\project\\project.code-workspace') { 'project.code-workspace' }"
      ]
    },
    "expected": {
      "type": "rule",
      "rules": {
        "type": "contain",
        "expected": "project.code-workspace"
      }
    }
  }
}