continue-custom/extension/package.json
2023-08-04 21:34:21 +00:00

252 lines
7.5 KiB
JSON

{
"name": "continue",
"icon": "media/terminal-continue.png",
"repository": {
"type": "git",
"url": "https://github.com/continuedev/continue"
},
"bugs": {
"url": "https://github.com/continuedev/continue/issues",
"email": "nate@continue.dev"
},
"homepage": "https://continue.dev",
"license": "Apache-2.0",
"displayName": "Continue",
"pricing": "Free",
"description": "The open-source coding autopilot",
"version": "0.0.257",
"publisher": "Continue",
"engines": {
"vscode": "^1.67.0"
},
"categories": [
"Other",
"Education",
"Machine Learning"
],
"keywords": [
"openai",
"chatbot",
"chatgpt",
"autocomplete",
"llm",
"ai",
"assistant",
"chat"
],
"activationEvents": [
"onStartupFinished",
"onView:continueGUIView"
],
"main": "./out/extension.js",
"browser": "./out/extension.js",
"contributes": {
"configuration": {
"title": "Continue",
"properties": {
"continue.serverUrl": {
"type": "string",
"default": "http://localhost:65432",
"description": "The URL of the Continue server. Only change this if you are running the server manually. If you want to use an LLM hosted at a custom URL, please see https://continue.dev/docs/customization#change-the-default-llm."
},
"continue.OPENAI_API_KEY": {
"type": "string",
"default": null,
"description": "The OpenAI API key to use for code generation. Leave empty to get limited free usage of Continue."
}
}
},
"commands": [
{
"command": "continue.acceptDiff",
"category": "Continue",
"title": "Accept Diff"
},
{
"command": "continue.rejectDiff",
"category": "Continue",
"title": "Reject Diff"
},
{
"command": "continue.quickTextEntry",
"category": "Continue",
"title": "Quick Text Entry"
},
{
"command": "continue.quickFix",
"category": "Continue",
"title": "Quick Fix with Continue"
},
{
"command": "continue.viewLogs",
"category": "Continue",
"title": "View Continue Server Logs"
},
{
"command": "continue.toggleAuxiliaryBar",
"category": "Continue",
"title": "Toggle Right Sidebar"
},
{
"command": "continue.focusContinueInputWithEdit",
"category": "Continue",
"title": "Focus Continue Input With Edit"
}
],
"keybindings": [
{
"command": "continue.focusContinueInput",
"mac": "cmd+m",
"key": "ctrl+m"
},
{
"command": "continue.focusContinueInputWithEdit",
"mac": "cmd+shift+m",
"key": "ctrl+shift+m"
},
{
"command": "continue.acceptDiff",
"mac": "shift+cmd+enter",
"key": "shift+ctrl+enter"
},
{
"command": "continue.rejectDiff",
"mac": "shift+cmd+backspace",
"key": "shift+ctrl+backspace"
},
{
"command": "continue.quickTextEntry",
"mac": "cmd+shift+l",
"key": "ctrl+shift+l"
},
{
"command": "continue.toggleAuxiliaryBar",
"mac": "alt+cmd+m",
"key": "alt+ctrl+m"
}
],
"menus": {
"view/title": []
},
"viewsContainers": {
"activitybar": [
{
"id": "continue",
"title": "Continue ",
"icon": "media/continue-dev-square.png"
}
]
},
"views": {
"continue": [
{
"type": "webview",
"id": "continue.continueGUIView",
"name": " )",
"visibility": "visible"
}
]
},
"walkthroughs": [
{
"id": "continue",
"title": "Getting Started",
"description": "Learn how to use Continue",
"steps": [
{
"id": "edit",
"title": "Edit in natural language",
"description": "Highlight a section of code and instruct Continue to refactor it (e.g. `/edit rewrite this function to be async`)",
"media": {
"image": "media/edit.png",
"altText": "Empty image"
},
"completionEvents": []
},
{
"id": "explain",
"title": "Get possible explanations",
"description": "Ask Continue about a part of your code to get another perspective (e.g. `where in the page should I be making this request to the backend?`)",
"media": {
"image": "media/explain.png",
"altText": "Empty image"
},
"completionEvents": []
},
{
"id": "generate",
"title": "Generate files from scratch",
"description": "Let Continue build the scaffolding of Python scripts, React components, and more (e.g. `/edit here is a connector for postgres, now write one for kafka`)",
"media": {
"image": "media/generate.png",
"altText": "Empty image"
},
"completionEvents": []
}
]
}
]
},
"scripts": {
"vscode:prepublish": "npm run esbuild-base -- --minify",
"esbuild-base": "rm -rf ./out && esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node",
"esbuild": "rm -rf ./out && node esbuild.mjs",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"test-compile": "tsc -p ./",
"clientgen": "rm -rf src/client/ && npx @openapitools/openapi-generator-cli generate -i ../schema/openapi.json -g typescript-fetch -o src/client/ --additional-properties=supportsES6=true,npmVersion=8.19.2,typescriptThreePlus=true",
"rebuild": "electron-rebuild -v 19.1.8 node-pty",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"jest": "jest --config ./jest.config.js",
"typegen": "node scripts/typegen.js",
"package": "npm install && npm run typegen && npm run clientgen && cd react-app && npm install && npm run build && cd .. && mkdir -p ./build && vsce package --out ./build"
},
"devDependencies": {
"@nestjs/common": "^8.4.7",
"@openapitools/openapi-generator-cli": "^2.5.2",
"@types/glob": "^8.0.0",
"@types/jest": "^29.5.2",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/node-fetch": "^2.6.2",
"@types/react-dom": "^18.2.4",
"@types/request": "^2.48.8",
"@types/vscode": "1.67",
"@types/ws": "^8.5.4",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"@vscode/test-electron": "^2.2.0",
"esbuild": "^0.17.19",
"eslint": "^8.28.0",
"glob": "^8.0.3",
"jest": "^29.5.0",
"json-schema-to-typescript": "^12.0.0",
"mocha": "^10.1.0",
"ts-jest": "^29.1.1",
"typescript": "^4.9.3",
"vite": "^4.3.9",
"vsce": "^2.15.0"
},
"dependencies": {
"@electron/rebuild": "^3.2.10",
"@reduxjs/toolkit": "^1.9.3",
"axios": "^1.2.5",
"downshift": "^7.6.0",
"fkill": "^8.1.0",
"highlight.js": "^11.7.0",
"highlightable": "^1.3.0-beta.0",
"posthog-js": "^1.68.3",
"react-markdown": "^8.0.7",
"react-redux": "^8.0.5",
"request": "^2.88.2",
"strip-ansi": "^7.1.0",
"tailwindcss": "^3.3.2",
"vscode-languageclient": "^8.0.2",
"ws": "^8.13.0"
},
"optionalDependencies": {
"@esbuild/android-arm": "^0.18.17"
}
}