continue-custom/extension/package.json
2023-06-30 20:05:18 -07:00

258 lines
8.1 KiB
JSON

{
"name": "continue",
"icon": "media/continue-gradient.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.99",
"publisher": "Continue",
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other",
"Education",
"Machine Learning"
],
"keywords": [
"openai",
"chatbot",
"chatgpt",
"autocomplete",
"llm",
"ai",
"assistant",
"chat"
],
"activationEvents": [
"onStartupFinished",
"onView:continueGUIView"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "Continue",
"properties": {
"continue.automode": {
"type": "boolean",
"default": true,
"description": "Automatically find relevant code and suggest a fix whenever a traceback is found."
},
"continue.serverUrl": {
"type": "string",
"default": "http://localhost:65432",
"description": "The URL of the Continue server to use."
},
"continue.OPENAI_API_KEY": {
"type": "password",
"default": "",
"description": "The OpenAI API key to use for code generation."
},
"continue.HUGGING_FACE_TOKEN": {
"type": "password",
"default": "",
"description": "The Hugging Face API token to use for code generation."
},
"continue.dataSwitch": {
"type": "boolean",
"default": false,
"description": "If true, collect data on accepted and rejected suggestions."
}
}
},
"commands": [
{
"command": "continue.suggestionDown",
"category": "Continue",
"title": "Suggestion Down"
},
{
"command": "continue.suggestionUp",
"category": "Continue",
"title": "Suggestion Up"
},
{
"command": "continue.acceptSuggestion",
"category": "Continue",
"title": "Accept Suggestion"
},
{
"command": "continue.rejectSuggestion",
"category": "Continue",
"title": "Reject Suggestion"
},
{
"command": "continue.acceptAllSuggestions",
"category": "Continue",
"title": "Accept All Suggestions"
},
{
"command": "continue.rejectAllSuggestions",
"category": "Continue",
"title": "Reject All Suggestions"
}
],
"keybindings": [
{
"command": "continue.focusContinueInput",
"mac": "cmd+k",
"key": "ctrl+k"
},
{
"command": "continue.suggestionDown",
"mac": "shift+ctrl+down",
"key": "shift+ctrl+down"
},
{
"command": "continue.suggestionUp",
"mac": "shift+ctrl+up",
"key": "shift+ctrl+up"
},
{
"command": "continue.acceptSuggestion",
"mac": "shift+ctrl+enter",
"key": "shift+ctrl+enter"
},
{
"command": "continue.acceptAllSuggestions",
"mac": "shift+cmd+enter",
"key": "shift+ctrl+enter"
},
{
"command": "continue.rejectAllSuggestions",
"mac": "shift+cmd+backspace",
"key": "shift+ctrl+backspace"
}
],
"menus": {
"view/title": []
},
"viewsContainers": {
"activitybar": [
{
"id": "continue",
"title": "Continue ",
"icon": "react-app/dist/play_button.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 Make this use more descriptive variable names`)",
"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. `/explain how do I find running process on port 8000?`)",
"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. `Create a shell script to back up my home dir to /tmp/`)",
"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",
"typegen": "node scripts/typegen.js",
"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",
"package": "cp ./config/prod_config.json ./config/config.json && mkdir -p ./build && vsce package --out ./build && cp ./config/dev_config.json ./config/config.json",
"full-package": "cd ../continuedev && poetry build && cp ./dist/continuedev-0.1.2-py3-none-any.whl ../extension/scripts/continuedev-0.1.2-py3-none-any.whl && cd ../extension && npm install && npm run typegen && npm run clientgen && cd react-app && npm install && npm run build && cd .. && npm run package",
"install-extension": "code --install-extension ./build/continue-0.0.8.vsix",
"uninstall": "code --uninstall-extension .continue",
"reinstall": "rm -rf ./build && npm run package && npm run uninstall && npm run install-extension"
},
"devDependencies": {
"@openapitools/openapi-generator-cli": "^2.5.2",
"@types/glob": "^8.0.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/node-fetch": "^2.6.2",
"@types/react-dom": "^18.2.4",
"@types/styled-components": "^5.1.26",
"@types/vscode": "^1.74.0",
"@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",
"json-schema-to-typescript": "^12.0.0",
"mocha": "^10.1.0",
"typescript": "^4.9.3",
"vsce": "^2.15.0"
},
"dependencies": {
"@electron/rebuild": "^3.2.10",
"@reduxjs/toolkit": "^1.9.3",
"@segment/analytics-node": "^0.0.1-beta.16",
"@styled-icons/heroicons-outline": "^10.47.0",
"@vitejs/plugin-react-swc": "^3.3.2",
"axios": "^1.2.5",
"downshift": "^7.6.0",
"fkill": "^8.1.0",
"highlight.js": "^11.7.0",
"posthog-js": "^1.63.3",
"react-markdown": "^8.0.7",
"react-redux": "^8.0.5",
"strip-ansi": "^7.1.0",
"tailwindcss": "^3.3.2",
"vite": "^4.3.9",
"vscode-languageclient": "^8.0.2",
"ws": "^8.13.0"
}
}