-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
117 lines (117 loc) · 3 KB
/
package.json
File metadata and controls
117 lines (117 loc) · 3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "perplexitypilot",
"displayName": "PerplexityPilot",
"publisher": "ct4nk3r",
"version": "0.0.1",
"description": "AI-powered code editing using Perplexity models, right inside VS Code.",
"engines": {
"vscode": "^1.102.0"
},
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "perplexity.editFromPrompt",
"title": "PerplexityPilot: Edit Code from Prompt"
},
{
"command": "perplexity.inlineEdit",
"title": "PerplexityPilot: Inline Edit Selection"
},
{
"command": "perplexity.switchModel",
"title": "PerplexityPilot: Switch Model"
},
{
"command": "perplexity.improveCode",
"title": "PerplexityPilot: Improve this code"
}
],
"keybindings": [
{
"command": "perplexity.inlineEdit",
"key": "ctrl+alt+e",
"when": "editorTextFocus"
}
],
"menus": {
"editor/context": [
{
"command": "perplexity.inlineEdit",
"when": "editorHasSelection",
"group": "navigation@2"
}
],
"editor/title": [
{
"command": "perplexity.inlineEdit",
"when": "editorHasSelection",
"group": "navigation@9"
}
],
"editor/title/context": [
{
"command": "perplexity.inlineEdit",
"when": "editorHasSelection",
"group": "1_perplexity"
}
]
},
"configuration": {
"title": "PerplexityPilot",
"properties": {
"perplexity.model": {
"type": "string",
"default": "sonar",
"description": "Perplexity model name."
},
"perplexity.maxTokens": {
"type": "number",
"default": 120,
"description": "Maximum tokens for quick generations."
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "perplexitypilot",
"title": "PerplexityPilot",
"icon": "media/perplexity-color.svg"
}
]
},
"views": {
"perplexitypilot": [
{
"type": "webview",
"id": "perplexitypilot.sidebar",
"name": "PerplexityPilot Chat",
"icon": "media/perplexity-color.svg"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run esbuild-base -- --production",
"compile": "npm run check-types && node esbuild.js",
"check-types": "tsc --noEmit",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"esbuild-base": "node esbuild.js",
"esbuild": "node esbuild.js --sourcemap",
"package": "npm run check-types && node esbuild.js --production"
},
"dependencies": {
"openai": "^4.57.0"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/vscode": "^1.102.0",
"esbuild": "^0.21.5",
"npm-run-all": "^4.1.5",
"typescript": "^5.5.0",
"vsce": "^2.15.0"
}
}