mirrored 2 minutes ago
0
tsuky_chenupdate writer vscode examples 0e07964
{
  "id": "5e2d93d8-8ad0-4435-b150-1692aacaa994",
  "snapshot": "vscode",
  "instruction": "Please help me save current project as workspace \"project\" at \"/home/user/\".",
  "source": "https://www.youtube.com/watch?v=B-s71n0dHUk",
  "config": [
    {
      "type": "command",
      "parameters": {
        "command": [
          "mkdir",
          "-p",
          "/home/user/project/.vscode"
        ]
      }
    },
    {
      "type": "download",
      "parameters": {
        "files": [
          {
            "url": "https://drive.usercontent.google.com/download?id=1akdsiRVdq6CUtT-FX8Dpf8ruPTq6DcFn&export=download&authuser=0&confirm=t&uuid=ce2fa96a-454e-43d9-bbe3-98553b7eed0d&at=APZUnTVw_YQ1URTvP34vrmKcw0b4:1705222451052",
            "path": "/home/user/project/main.py"
          },
          {
            "url": "https://drive.usercontent.google.com/download?id=1BkwtqtAzv_K2CrTbJZ0HbMHBffzdD9vc&export=download&authuser=0&confirm=t&uuid=28f77090-deef-49a1-b156-91317881e75e&at=APZUnTXuaR6i_3t3Prslk535GaO5:1705222457290",
            "path": "/home/user/project/README.md"
          },
          {
            "url": "https://drive.usercontent.google.com/download?id=1ea_zF2tbcXOB8w9neBV-U5xI2nnPzIw_&export=download&authuser=0&confirm=t&uuid=9cf8c5bb-a880-475c-b80b-967a0c4fbea4&at=APZUnTUdjIj80F3Mbgi72eZDTZLO:1705222462443",
            "path": "/home/user/project/.vscode/settings.json"
          }
        ]
      }
    },
    {
      "type": "launch",
      "parameters": {
        "command": [
          "code",
          "/home/user/project/"
        ]
      }
    },
    {
      "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": [
        "ls",
        "/home/user/project/",
        "|",
        "grep",
        "project.code-workspace"
      ]
    },
    "expected": {
      "type": "rule",
      "rules": {
        "type": "contain",
        "expected": "project.code-workspace"
      }
    }
  }
}