tabby/clients/vscode/package.json

145 lines
4.5 KiB
JSON
Raw Normal View History

2023-03-28 07:53:57 +00:00
{
"name": "vscode-tabby",
2023-04-04 09:56:06 +00:00
"publisher": "TabbyML",
2023-03-28 07:53:57 +00:00
"displayName": "Tabby",
"description": "Tabby is a self-hosted AI coding assistant that can suggest multi-line code or full functions in real-time.",
2023-04-04 06:30:47 +00:00
"repository": "https://github.com/TabbyML/tabby",
"version": "0.1.1",
2023-03-28 07:53:57 +00:00
"keywords": [
"code-suggestion",
"copilot",
"code-inference",
"tabby"
],
2023-04-04 09:56:06 +00:00
"icon": "images/logo.png",
2023-03-28 07:53:57 +00:00
"engines": {
"vscode": "^1.70.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
2023-04-05 04:11:39 +00:00
"main": "./dist/node/extension.js",
"browser": "./dist/web/extension.js",
2023-03-28 07:53:57 +00:00
"contributes": {
"commands": [
{
"command": "tabby.toggleEnabled",
"title": "Tabby: Toggle Code Suggestion On/Off"
},
{
"command": "tabby.setApiEndpoint",
"title": "Tabby: Specify API Endpoint of Tabby"
},
{
"command": "tabby.openSettings",
"title": "Tabby: Open Settings"
2023-03-28 07:53:57 +00:00
}
],
"configuration": {
"title": "Tabby",
"properties": {
"tabby.api.endpoint": {
2023-03-28 07:53:57 +00:00
"type": "string",
"default": "http://localhost:8080",
"format": "uri",
"pattern": "^https?:\\/\\/[^\\s]+$",
"patternErrorMessage": "Please enter a validate http or https URL.",
"description": "Specify API Endpoint of Tabby."
},
"tabby.codeCompletion": {
"type": "boolean",
"default": true,
"description": "Enable Tabby code completion or not."
},
"tabby.developerOptions": {
"type": "object",
"description": "Developer options for Tabby.",
"properties": {
"maxPrefixLines": {
"type": "number",
"default": 20,
"description": "Number of lines to include in the Prefix for completion requests"
},
"maxSuffixLines": {
"type": "number",
"default": 20,
"description": "Number of lines to include in the Suffix for completion requests"
},
"suggestionDelay": {
"type": "number",
"default": 150,
"minimum": 0,
"description": "Specifies the delay in milliseconds after which the request is sent to the tabby."
},
"agent": {
"type": "object",
"properties": {
"logs": {
"type": "string",
"enum": [
"debug",
"error",
"silent"
],
"default": "error",
"markdownDescription": "Specifies the log level for tabby-agent."
}
}
}
}
2023-06-06 14:25:31 +00:00
},
"tabby.usage.anonymousUsageTracking": {
"type": "boolean",
"default": false,
"description": "Disable anonymous usage tracking."
2023-03-28 07:53:57 +00:00
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn package",
"compile": "webpack",
"watch": "webpack --watch",
2023-04-04 03:29:42 +00:00
"dev": "code --extensionDevelopmentPath=$PWD --disable-extensions && yarn watch",
2023-04-05 16:01:08 +00:00
"dev:web": "code --extensionDevelopmentPath=$PWD --extensionDevelopmentKind=web --disable-extensions && yarn watch",
"dev:web-browser": "vscode-test-web --extensionDevelopmentPath=$PWD --browserType=chromium --port=3000 && yarn watch",
2023-03-28 07:53:57 +00:00
"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": "^10.0.1",
2023-03-28 07:53:57 +00:00
"@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",
"@vscode/test-web": "^0.0.44",
"assert": "^2.0.0",
2023-03-28 07:53:57 +00:00
"eslint": "^8.20.0",
"glob": "^8.0.3",
"mocha": "^10.0.0",
"openapi-typescript-codegen": "^0.24.0",
"process": "^0.11.10",
2023-03-28 07:53:57 +00:00
"ts-loader": "^9.3.1",
"typescript": "^4.7.4",
2023-04-04 06:30:47 +00:00
"vsce": "^2.15.0",
2023-03-28 07:53:57 +00:00
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
},
"dependencies": {
"@sapphire/duration": "^1.1.0",
"@xstate/fsm": "^2.0.1",
"tabby-agent": "file:../tabby-agent"
2023-03-28 07:53:57 +00:00
}
}