{
  "name": "vscode-tabby",
  "publisher": "TabbyML",
  "displayName": "Tabby",
  "description": "Get completions from Tabby server",
  "repository": "https://github.com/TabbyML/tabby",
  "version": "0.0.6",
  "keywords": [
    "code-suggestion",
    "copilot",
    "code-inference",
    "tabby"
  ],
  "icon": "images/logo.png",
  "engines": {
    "vscode": "^1.70.0"
  },
  "categories": [
    "Other"
  ],
  "activationEvents": [
    "onStartupFinished"
  ],
  "main": "./dist/node/extension.js",
  "browser": "./dist/web/extension.js",
  "contributes": {
    "commands": [
      {
        "command": "tabby.toggleEnabled",
        "title": "Tabby: Toggle Code Suggestion On/Off"
      },
      {
        "command": "tabby.setServerUrl",
        "title": "Tabby: Set URL of Tabby Server"
      },
      {
        "command": "tabby.setSuggestionDelay",
        "title": "Tabby: Set suggestion delay"
      },
      {
        "command": "tabby.openSettings",
        "title": "Tabby: Open Settings"
      }
    ],
    "configuration": {
      "title": "Tabby",
      "properties": {
        "tabby.enabled": {
          "type": "boolean",
          "default": true,
          "description": "Enable Tabby code suggestion or not."
        },
        "tabby.serverUrl": {
          "type": "string",
          "default": "http://127.0.0.1:8080",
          "pattern": "^https?:\\/\\/[^\\s]+$",
          "patternErrorMessage": "Please enter a validate http or https URL.",
          "markdownDescription": "Specifies the url of [Tabby Server](https://github.com/TabbyML/tabby)."
        },
        "tabby.suggestionDelay": {
          "type": "number",
          "default": 150,
          "minimum": 0,
          "description": "Specifies the delay in milliseconds after which the request is sent to the tabby."
        },
        "tabby.agentLogs": {
          "type": "string",
          "enum": [
            "debug",
            "error",
            "silent"
          ],
          "default": "error",
          "markdownDescription": "Specifies the log level of tabby-agent for debugging purpose.  \n * If VSCode is running as desktop application, you can find log files in `$HOME/.tabby/agent-logs/`. It's recommend using `tail -f ~/.tabby/agent-logs/tabby-agent.log | npx pino-pretty` to monitor logs.  \n * If VSCode is running in browser, you can find logs in debug console.  "
        }
      }
    }
  },
  "scripts": {
    "vscode:prepublish": "yarn package",
    "compile": "webpack",
    "watch": "webpack --watch",
    "dev": "code --extensionDevelopmentPath=$PWD --disable-extensions && yarn watch",
    "dev:web": "code --extensionDevelopmentPath=$PWD --extensionDevelopmentKind=web --disable-extensions && yarn watch",
    "package": "webpack --mode production --devtool hidden-source-map",
    "compile-tests": "tsc -p . --outDir out",
    "watch-tests": "tsc -p . -w --outDir out",
    "pretest": "yarn compile-tests && yarn compile && yarn lint",
    "lint": "eslint src --ext ts",
    "test": "node ./out/test/runTest.js",
    "vscode:package": "vsce package",
    "vscode:publish": "vsce publish"
  },
  "devDependencies": {
    "@types/glob": "^7.2.0",
    "@types/mocha": "^9.1.1",
    "@types/node": "16.x",
    "@types/vscode": "^1.70.0",
    "@typescript-eslint/eslint-plugin": "^5.31.0",
    "@typescript-eslint/parser": "^5.31.0",
    "@vscode/test-electron": "^2.1.5",
    "assert": "^2.0.0",
    "eslint": "^8.20.0",
    "glob": "^8.0.3",
    "mocha": "^10.0.0",
    "openapi-typescript-codegen": "^0.24.0",
    "process": "^0.11.10",
    "ts-loader": "^9.3.1",
    "typescript": "^4.7.4",
    "vsce": "^2.15.0",
    "webpack": "^5.74.0",
    "webpack-cli": "^4.10.0"
  },
  "dependencies": {
    "@sapphire/duration": "^1.1.0",
    "tabby-agent": "file:../tabby-agent"
  }
}
