-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
213 lines (213 loc) · 7.04 KB
/
package.json
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
{
"name": "ai-task",
"displayName": " AI Task: Proactive Coding Assistant, automatically search errors, perform multi-file edits and more!",
"publisher": "bra1nDump",
"description": "Use comments with @task to perform multi-file changes, automatically get your errors in console searched on the web and more!",
"version": "0.0.37",
"license": "Business Source License 1.1",
"icon": "icon.png",
"repository": {
"type": "git",
"url": "https://github.com/bra1nDump/bread"
},
"engines": {
"vscode": "^1.79.0"
},
"categories": [
"Programming Languages",
"Machine Learning",
"Other"
],
"activationEvents": [
"*"
],
"extensionDependencies": [
"marxism.ai-error-search-assistant"
],
"keywords": [
"ai",
"coding assistant",
"multi-file edits",
"inline instructions",
"llm",
"gpt"
],
"main": "./dist/extension.js",
"contributes": {
"notebooks": [
{
"type": "task-notebook",
"displayName": "Task Notebook",
"selector": [
{
"filenamePattern": "*.task"
}
]
}
],
"viewsContainers": {
"activitybar": [
{
"id": "taskSidebar",
"title": "AI Task",
"icon": "./icon.svg"
}
]
},
"views": {
"taskSidebar": [
{
"type": "webview",
"id": "taskView",
"name": "AI Task"
}
]
},
"languages": [
{
"id": "task-notebook",
"aliases": [
"Task Book"
],
"filenamePatterns": [
"*.task"
]
}
],
"commands": [
{
"command": "ai-task.completeInlineTasks",
"title": "AI Task: Address @task comments in opened tabs"
},
{
"command": "ai-task.newTaskNotebook",
"title": "AI Task: Create a new task notebook"
},
{
"command": "ai-task.setOpenAiKey",
"title": "AI Task: Set OpenAI Key"
},
{
"command": "ai-task.startTutorial",
"title": "AI Task: Start Tutorial"
}
],
"editor/title": [
{
"when": "editorHasSelection",
"command": "ai-task.completeInlineTasks",
"group": "myGroup@1"
}
],
"configuration": {
"properties": {
"ai-task.taskMentionIdentifier": {
"type": "string",
"default": "task",
"description": "Override the keyword the LLM uses when searching for its task"
},
"ai-task.ignorePatterns": {
"type": "array",
"default": [],
"description": "Directories and files to exclude when adding files to context for example from active tabs or files with @task mentions"
},
"ai-task.userId": {
"type": "string",
"description": "User ID to use for by default anonymous analytics"
}
}
},
"keybindings": [
{
"command": "ai-task.newTaskNotebook",
"key": "ctrl+u",
"mac": "cmd+u"
},
{
"key": "shift+enter",
"command": "editor.action.insertLineAfter",
"when": "'Dummy currently does nothing because it it appears above the no book override keybinding, search backlog for more info for keys'"
}
],
"walkthroughs": [
{
"id": "createNotebookWalkthrough",
"title": "Use AI Task",
"when": "true",
"description": "Learn how to create a notebook using our shortcut.",
"steps": [
{
"id": "shortcutStep",
"title": "Create new AI Task Chat by using shortcut",
"description": "To create a new notebook quickly:\n- Focus on the editor.\n- Press `Cmd+U` on Mac or `Ctrl+U` on Windows.\nA new notebook will be created!",
"media": {
"image": "./documents/assets/walkthrough1.jpg",
"altText": "Demonstration of using the shortcut"
}
},
{
"id": "iconStep",
"title": "Create new AI Task Chat by using side bar",
"description": "To create a new notebook you can use icon on side bar",
"media": {
"image": "./documents/assets/walkthrough2.jpg",
"altText": "Demonstration of using the side bar"
}
}
]
}
]
},
"scripts": {
"------------section-build------------": "",
"webpack:base": "webpack --config configurations/webpack.config.js",
"webpack:watch": "npm run webpack:base -- --mode development --watch",
"webpack:watch:prod": "npm run webpack:base -- --mode production --watch",
"bundle:prod": "npm run webpack:base -- --mode production --devtool false",
"/// --build is needed for composite projects to work ///": "https://www.typescriptlang.org/docs/handbook/project-references.html#build-mode-for-typescript",
"watch-tsc": "tsc --build --watch",
"build": "npx rimraf out/ && tsc --build && npm run bundle:prod",
"------------section-test------------": "",
"test": "npm run build && node out/test/runTest.js",
"------------section-extension-packaging-and-publishing------------": "Refactor: move package + publishing to the install-local script and have it accept --publish --package-and-install-local",
"package": "npm run build && npx vsce package --ignoreFile configurations/.vscodeignore --no-dependencies --ignoreFile configurations/.vscodeignore --allow-star-activation --githubBranch main",
"publish": "npm run test && npm run bundle:prod && npx vsce publish --no-dependencies --ignoreFile configurations/.vscodeignore --allow-star-activation --githubBranch main",
"publish:bypass-test": "npm run bundle:prod && npx vsce publish --no-dependencies --ignoreFile configurations/.vscodeignore --allow-star-activation --githubBranch main",
"install-local": "node scripts/install-local.mjs code",
"------------section-other------------": "",
"lint": "eslint . --config configurations/.eslintrc.js --ext ts --fix",
"codegen:prompt-checkpoints": "MULTI_FILE_PROMPT_VERSION=v5-new-example-refactor-functions-with-similar-functionality node ./out/script-generate-prompt-checkpoint.js"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "20.2.5",
"@types/source-map-support": "^0.5.7",
"@types/vscode": "^1.79.0",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.4.0",
"@vscode/test-electron": "^2.3.5",
"@vscode/vsce": "^2.20.1",
"dotenv": "^16.3.1",
"eslint": "^8.41.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-comment-length": "^1.6.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-unused-imports": "^3.0.0",
"glob": "^8.1.0",
"jsonfile": "^6.1.0",
"mocha": "^10.2.0",
"source-map-support": "^0.5.21",
"ts-loader": "^9.4.3",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.1.3",
"webpack": "^5.85.0",
"webpack-cli": "^5.1.1"
},
"dependencies": {
"dedent": "^1.5.1",
"ix": "^5.0.0",
"openai": "^4.0.0",
"zod": "^3.22.4"
}
}