45 lines · 1.9 KB
{
  "name": "gitfor-fs",
  "displayName": "gitfor",
  "description": "gitfor branches as a workspace: live co-editing, commits through the forge, and opt-in containers.",
  "publisher": "gitfor",
  "version": "2.0.0",
  "license": "MIT",
  "engines": { "vscode": "^1.91.0" },
  "browser": "./extension.js",
  "enabledApiProposals": ["fileSearchProvider", "textSearchProvider"],
  "activationEvents": ["*", "onFileSystem:gitfor"],
  "capabilities": { "virtualWorkspaces": true, "untrustedWorkspaces": { "supported": true } },
  "contributes": {
    "commands": [
      { "command": "gitfor.commit", "title": "Commit to branch", "category": "gitfor", "icon": "$(check)" },
      {
        "command": "gitfor.commitToBranch",
        "title": "Commit to a new branch and open a pull request",
        "category": "gitfor"
      },
      { "command": "gitfor.resolve", "title": "Keep my version", "category": "gitfor" },
      { "command": "gitfor.container.start", "title": "Run in container", "category": "gitfor" },
      { "command": "gitfor.container.terminal", "title": "New container terminal", "category": "gitfor" },
      { "command": "gitfor.container.openPort", "title": "Preview a container port", "category": "gitfor" },
      { "command": "gitfor.container.sync", "title": "Sync edits to container", "category": "gitfor" },
      { "command": "gitfor.container.stop", "title": "Stop container", "category": "gitfor" }
    ],
    "menus": {
      "scm/title": [
        { "command": "gitfor.commit", "group": "navigation", "when": "scmProvider == gitfor" },
        { "command": "gitfor.commitToBranch", "when": "scmProvider == gitfor" }
      ]
    },
    "taskDefinitions": [
      {
        "type": "gitfor",
        "required": ["command"],
        "properties": {
          "command": { "type": "string", "description": "Shell command to run in the session container" }
        }