promptarchitect 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.vscodeignore +7 -0
- package/CHANGELOG.md +28 -0
- package/LICENSE +44 -0
- package/README.md +200 -0
- package/docs/CHAT_UI_REDESIGN_PLAN.md +371 -0
- package/images/hub-icon.svg +6 -0
- package/images/prompt-lab-icon.svg +11 -0
- package/package.json +519 -0
- package/src/agentPrompts.ts +278 -0
- package/src/agentService.ts +630 -0
- package/src/api.ts +223 -0
- package/src/authService.ts +556 -0
- package/src/chatPanel.ts +979 -0
- package/src/extension.ts +822 -0
- package/src/providers/aiChatViewProvider.ts +1023 -0
- package/src/providers/environmentTreeProvider.ts +311 -0
- package/src/providers/index.ts +9 -0
- package/src/providers/notesTreeProvider.ts +301 -0
- package/src/providers/quickAccessTreeProvider.ts +328 -0
- package/src/providers/scriptsTreeProvider.ts +324 -0
- package/src/refinerPanel.ts +620 -0
- package/src/templates.ts +61 -0
- package/src/workspaceIndexer.ts +766 -0
- package/tsconfig.json +16 -0
package/package.json
ADDED
|
@@ -0,0 +1,519 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "promptarchitect",
|
|
3
|
+
"displayName": "PromptArchitect - AI Prompt Engineering",
|
|
4
|
+
"description": "Prompt Lab: Craft, Polish, Execute. Transform ideas into perfect AI prompts with our 3-step workflow. No API key needed.",
|
|
5
|
+
"version": "0.6.0",
|
|
6
|
+
"publisher": "merabylabs",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/merabylabs/promptarchitect"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://promptarchitect.dev",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/merabylabs/promptarchitect/issues"
|
|
14
|
+
},
|
|
15
|
+
"galleryBanner": {
|
|
16
|
+
"color": "#1a1a2e",
|
|
17
|
+
"theme": "dark"
|
|
18
|
+
},
|
|
19
|
+
"engines": {
|
|
20
|
+
"vscode": "^1.85.0"
|
|
21
|
+
},
|
|
22
|
+
"categories": [
|
|
23
|
+
"Machine Learning",
|
|
24
|
+
"Other"
|
|
25
|
+
],
|
|
26
|
+
"keywords": [
|
|
27
|
+
"ai",
|
|
28
|
+
"prompt",
|
|
29
|
+
"prompt engineering",
|
|
30
|
+
"llm",
|
|
31
|
+
"chatgpt",
|
|
32
|
+
"claude",
|
|
33
|
+
"gemini",
|
|
34
|
+
"copilot",
|
|
35
|
+
"mcp"
|
|
36
|
+
],
|
|
37
|
+
"activationEvents": [
|
|
38
|
+
"onStartupFinished"
|
|
39
|
+
],
|
|
40
|
+
"main": "./dist/extension.js",
|
|
41
|
+
"contributes": {
|
|
42
|
+
"viewsContainers": {
|
|
43
|
+
"activitybar": [
|
|
44
|
+
{
|
|
45
|
+
"id": "promptarchitect-hub",
|
|
46
|
+
"title": "Prompt Lab",
|
|
47
|
+
"icon": "images/prompt-lab-icon.svg"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"views": {
|
|
52
|
+
"promptarchitect-hub": [
|
|
53
|
+
{
|
|
54
|
+
"id": "promptarchitect.aiChat",
|
|
55
|
+
"name": "⚡ Architect",
|
|
56
|
+
"type": "webview",
|
|
57
|
+
"contextualTitle": "Craft & Execute Prompts"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"id": "promptarchitect.notes",
|
|
61
|
+
"name": "📝 Notes",
|
|
62
|
+
"contextualTitle": "Quick Notes & TODOs"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"id": "promptarchitect.quickAccess",
|
|
66
|
+
"name": "📌 Pinned Files",
|
|
67
|
+
"contextualTitle": "Quick Access"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"id": "promptarchitect.scripts",
|
|
71
|
+
"name": "⚡ Scripts",
|
|
72
|
+
"contextualTitle": "Run Commands"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"id": "promptarchitect.environment",
|
|
76
|
+
"name": "🔐 Environment",
|
|
77
|
+
"contextualTitle": "Env Variables",
|
|
78
|
+
"visibility": "collapsed"
|
|
79
|
+
}
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
"viewsWelcome": [
|
|
83
|
+
{
|
|
84
|
+
"view": "promptarchitect.aiChat",
|
|
85
|
+
"contents": "Start chatting with AI to craft better prompts.\n\nType a message below or paste text to refine."
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"view": "promptarchitect.notes",
|
|
89
|
+
"contents": "Capture quick notes and TODOs for your project.\n[➕ Add Note](command:promptarchitect.addNote)"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"view": "promptarchitect.quickAccess",
|
|
93
|
+
"contents": "Pin frequently used files for quick access.\n[📌 Pin Current File](command:promptarchitect.pinCurrentFile)"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"view": "promptarchitect.scripts",
|
|
97
|
+
"contents": "No scripts detected in this workspace.\n[➕ Add Custom Command](command:promptarchitect.addCustomScript)\n[🔄 Refresh](command:promptarchitect.refreshScripts)"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"view": "promptarchitect.environment",
|
|
101
|
+
"contents": "No .env files found.\n[📄 Create .env File](command:promptarchitect.createEnvFile)"
|
|
102
|
+
}
|
|
103
|
+
],
|
|
104
|
+
"commands": [
|
|
105
|
+
{
|
|
106
|
+
"command": "promptarchitect.generatePrompt",
|
|
107
|
+
"title": "Generate Prompt from Idea",
|
|
108
|
+
"category": "PromptArchitect",
|
|
109
|
+
"icon": "$(sparkle)"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"command": "promptarchitect.refinePrompt",
|
|
113
|
+
"title": "Refine Selected Prompt",
|
|
114
|
+
"category": "PromptArchitect",
|
|
115
|
+
"icon": "$(edit)"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"command": "promptarchitect.analyzePrompt",
|
|
119
|
+
"title": "Analyze Prompt Quality",
|
|
120
|
+
"category": "PromptArchitect",
|
|
121
|
+
"icon": "$(graph)"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"command": "promptarchitect.showTemplates",
|
|
125
|
+
"title": "Browse Prompt Templates",
|
|
126
|
+
"category": "PromptArchitect",
|
|
127
|
+
"icon": "$(library)"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"command": "promptarchitect.refineForChat",
|
|
131
|
+
"title": "Refine Prompt for Chat",
|
|
132
|
+
"category": "PromptArchitect",
|
|
133
|
+
"icon": "$(wand)"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"command": "promptarchitect.quickRefine",
|
|
137
|
+
"title": "Quick Refine Selection",
|
|
138
|
+
"category": "PromptArchitect",
|
|
139
|
+
"icon": "$(zap)"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"command": "promptarchitect.openChat",
|
|
143
|
+
"title": "Open Chat",
|
|
144
|
+
"category": "PromptArchitect",
|
|
145
|
+
"icon": "$(comment-discussion)"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"command": "promptarchitect.refreshScripts",
|
|
149
|
+
"title": "Refresh Scripts",
|
|
150
|
+
"category": "PromptArchitect",
|
|
151
|
+
"icon": "$(refresh)"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"command": "promptarchitect.addCustomScript",
|
|
155
|
+
"title": "Add Custom Command",
|
|
156
|
+
"category": "PromptArchitect",
|
|
157
|
+
"icon": "$(add)"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"command": "promptarchitect.runScript",
|
|
161
|
+
"title": "Run Script",
|
|
162
|
+
"category": "PromptArchitect",
|
|
163
|
+
"icon": "$(play)"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"command": "promptarchitect.stopScript",
|
|
167
|
+
"title": "Stop Script",
|
|
168
|
+
"category": "PromptArchitect",
|
|
169
|
+
"icon": "$(debug-stop)"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"command": "promptarchitect.pinCurrentFile",
|
|
173
|
+
"title": "Pin Current File",
|
|
174
|
+
"category": "PromptArchitect",
|
|
175
|
+
"icon": "$(pin)"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"command": "promptarchitect.unpinFile",
|
|
179
|
+
"title": "Unpin File",
|
|
180
|
+
"category": "PromptArchitect",
|
|
181
|
+
"icon": "$(pinned)"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"command": "promptarchitect.refreshEnv",
|
|
185
|
+
"title": "Refresh Environment",
|
|
186
|
+
"category": "PromptArchitect",
|
|
187
|
+
"icon": "$(refresh)"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"command": "promptarchitect.createEnvFile",
|
|
191
|
+
"title": "Create .env File",
|
|
192
|
+
"category": "PromptArchitect",
|
|
193
|
+
"icon": "$(new-file)"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"command": "promptarchitect.copyEnvValue",
|
|
197
|
+
"title": "Copy Value",
|
|
198
|
+
"category": "PromptArchitect",
|
|
199
|
+
"icon": "$(copy)"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"command": "promptarchitect.addNote",
|
|
203
|
+
"title": "Add Note",
|
|
204
|
+
"category": "PromptArchitect",
|
|
205
|
+
"icon": "$(add)"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"command": "promptarchitect.toggleNote",
|
|
209
|
+
"title": "Toggle Note Complete",
|
|
210
|
+
"category": "PromptArchitect",
|
|
211
|
+
"icon": "$(check)"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"command": "promptarchitect.deleteNote",
|
|
215
|
+
"title": "Delete Note",
|
|
216
|
+
"category": "PromptArchitect",
|
|
217
|
+
"icon": "$(trash)"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"command": "promptarchitect.openProjectHub",
|
|
221
|
+
"title": "Open Project Command Center",
|
|
222
|
+
"category": "PromptArchitect",
|
|
223
|
+
"icon": "$(rocket)"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"command": "promptarchitect.indexWorkspace",
|
|
227
|
+
"title": "Index Workspace for Context",
|
|
228
|
+
"category": "PromptArchitect",
|
|
229
|
+
"icon": "$(database)"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"command": "promptarchitect.clearWorkspaceIndex",
|
|
233
|
+
"title": "Clear Workspace Index",
|
|
234
|
+
"category": "PromptArchitect",
|
|
235
|
+
"icon": "$(trash)"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"command": "promptarchitect.signIn",
|
|
239
|
+
"title": "Sign In",
|
|
240
|
+
"category": "PromptArchitect",
|
|
241
|
+
"icon": "$(sign-in)"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"command": "promptarchitect.signOut",
|
|
245
|
+
"title": "Sign Out",
|
|
246
|
+
"category": "PromptArchitect",
|
|
247
|
+
"icon": "$(sign-out)"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"command": "promptarchitect.manageAccount",
|
|
251
|
+
"title": "Manage Account",
|
|
252
|
+
"category": "PromptArchitect",
|
|
253
|
+
"icon": "$(account)"
|
|
254
|
+
}
|
|
255
|
+
],
|
|
256
|
+
"menus": {
|
|
257
|
+
"view/title": [
|
|
258
|
+
{
|
|
259
|
+
"command": "promptarchitect.refreshScripts",
|
|
260
|
+
"when": "view == promptarchitect.scripts",
|
|
261
|
+
"group": "navigation"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"command": "promptarchitect.addCustomScript",
|
|
265
|
+
"when": "view == promptarchitect.scripts",
|
|
266
|
+
"group": "navigation"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"command": "promptarchitect.pinCurrentFile",
|
|
270
|
+
"when": "view == promptarchitect.quickAccess",
|
|
271
|
+
"group": "navigation"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"command": "promptarchitect.refreshEnv",
|
|
275
|
+
"when": "view == promptarchitect.environment",
|
|
276
|
+
"group": "navigation"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"command": "promptarchitect.addNote",
|
|
280
|
+
"when": "view == promptarchitect.notes",
|
|
281
|
+
"group": "navigation"
|
|
282
|
+
}
|
|
283
|
+
],
|
|
284
|
+
"view/item/context": [
|
|
285
|
+
{
|
|
286
|
+
"command": "promptarchitect.runScript",
|
|
287
|
+
"when": "view == promptarchitect.scripts && viewItem == script",
|
|
288
|
+
"group": "inline"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"command": "promptarchitect.stopScript",
|
|
292
|
+
"when": "view == promptarchitect.scripts && viewItem == runningScript",
|
|
293
|
+
"group": "inline"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"command": "promptarchitect.unpinFile",
|
|
297
|
+
"when": "view == promptarchitect.quickAccess && viewItem == pinnedFile",
|
|
298
|
+
"group": "inline"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"command": "promptarchitect.copyEnvValue",
|
|
302
|
+
"when": "view == promptarchitect.environment && viewItem == envVar",
|
|
303
|
+
"group": "inline"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"command": "promptarchitect.toggleNote",
|
|
307
|
+
"when": "view == promptarchitect.notes && viewItem =~ /^note/",
|
|
308
|
+
"group": "inline"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"command": "promptarchitect.deleteNote",
|
|
312
|
+
"when": "view == promptarchitect.notes && viewItem =~ /^note/",
|
|
313
|
+
"group": "inline"
|
|
314
|
+
}
|
|
315
|
+
],
|
|
316
|
+
"editor/context": [
|
|
317
|
+
{
|
|
318
|
+
"command": "promptarchitect.refinePrompt",
|
|
319
|
+
"when": "editorHasSelection",
|
|
320
|
+
"group": "promptarchitect@1"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"command": "promptarchitect.quickRefine",
|
|
324
|
+
"when": "editorHasSelection",
|
|
325
|
+
"group": "promptarchitect@2"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"command": "promptarchitect.analyzePrompt",
|
|
329
|
+
"when": "editorHasSelection",
|
|
330
|
+
"group": "promptarchitect@3"
|
|
331
|
+
}
|
|
332
|
+
],
|
|
333
|
+
"commandPalette": [
|
|
334
|
+
{
|
|
335
|
+
"command": "promptarchitect.generatePrompt",
|
|
336
|
+
"when": "true"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"command": "promptarchitect.refinePrompt",
|
|
340
|
+
"when": "editorHasSelection"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"command": "promptarchitect.refineForChat",
|
|
344
|
+
"when": "true"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"command": "promptarchitect.quickRefine",
|
|
348
|
+
"when": "editorHasSelection"
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"command": "promptarchitect.analyzePrompt",
|
|
352
|
+
"when": "true"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"command": "promptarchitect.showTemplates",
|
|
356
|
+
"when": "true"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"command": "promptarchitect.openChat",
|
|
360
|
+
"when": "true"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"command": "promptarchitect.openProjectHub",
|
|
364
|
+
"when": "true"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"command": "promptarchitect.addNote",
|
|
368
|
+
"when": "true"
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
"command": "promptarchitect.pinCurrentFile",
|
|
372
|
+
"when": "editorIsOpen"
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
"command": "promptarchitect.indexWorkspace",
|
|
376
|
+
"when": "true"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"command": "promptarchitect.clearWorkspaceIndex",
|
|
380
|
+
"when": "true"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"command": "promptarchitect.signIn",
|
|
384
|
+
"when": "true"
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"command": "promptarchitect.signOut",
|
|
388
|
+
"when": "true"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"command": "promptarchitect.manageAccount",
|
|
392
|
+
"when": "true"
|
|
393
|
+
}
|
|
394
|
+
]
|
|
395
|
+
},
|
|
396
|
+
"keybindings": [
|
|
397
|
+
{
|
|
398
|
+
"command": "promptarchitect.generatePrompt",
|
|
399
|
+
"key": "ctrl+shift+g",
|
|
400
|
+
"mac": "cmd+shift+g"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"command": "promptarchitect.refinePrompt",
|
|
404
|
+
"key": "ctrl+shift+r",
|
|
405
|
+
"mac": "cmd+shift+r",
|
|
406
|
+
"when": "editorHasSelection"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"command": "promptarchitect.analyzePrompt",
|
|
410
|
+
"key": "ctrl+shift+a",
|
|
411
|
+
"mac": "cmd+shift+a"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"command": "promptarchitect.refineForChat",
|
|
415
|
+
"key": "ctrl+shift+p ctrl+shift+r",
|
|
416
|
+
"mac": "cmd+shift+p cmd+shift+r"
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"command": "promptarchitect.quickRefine",
|
|
420
|
+
"key": "ctrl+alt+r",
|
|
421
|
+
"mac": "cmd+alt+r",
|
|
422
|
+
"when": "editorHasSelection"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"command": "promptarchitect.openChat",
|
|
426
|
+
"key": "ctrl+shift+c",
|
|
427
|
+
"mac": "cmd+shift+c"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"command": "promptarchitect.openProjectHub",
|
|
431
|
+
"key": "ctrl+shift+h",
|
|
432
|
+
"mac": "cmd+shift+h"
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"command": "promptarchitect.indexWorkspace",
|
|
436
|
+
"key": "ctrl+shift+i",
|
|
437
|
+
"mac": "cmd+shift+i"
|
|
438
|
+
}
|
|
439
|
+
],
|
|
440
|
+
"configuration": {
|
|
441
|
+
"title": "PromptArchitect",
|
|
442
|
+
"properties": {
|
|
443
|
+
"promptarchitect.defaultTemplate": {
|
|
444
|
+
"type": "string",
|
|
445
|
+
"default": "general",
|
|
446
|
+
"enum": [
|
|
447
|
+
"coding",
|
|
448
|
+
"writing",
|
|
449
|
+
"research",
|
|
450
|
+
"analysis",
|
|
451
|
+
"factcheck",
|
|
452
|
+
"general"
|
|
453
|
+
],
|
|
454
|
+
"enumDescriptions": [
|
|
455
|
+
"Optimized for programming and development tasks",
|
|
456
|
+
"Optimized for content creation and writing",
|
|
457
|
+
"Optimized for investigation and research",
|
|
458
|
+
"Optimized for data and business analysis",
|
|
459
|
+
"Optimized for fact-checking and verification",
|
|
460
|
+
"General-purpose template"
|
|
461
|
+
],
|
|
462
|
+
"description": "Default template for prompt generation"
|
|
463
|
+
},
|
|
464
|
+
"promptarchitect.targetModel": {
|
|
465
|
+
"type": "string",
|
|
466
|
+
"default": "general",
|
|
467
|
+
"enum": [
|
|
468
|
+
"gpt-4",
|
|
469
|
+
"claude",
|
|
470
|
+
"gemini",
|
|
471
|
+
"general"
|
|
472
|
+
],
|
|
473
|
+
"description": "Target AI model to optimize prompts for"
|
|
474
|
+
},
|
|
475
|
+
"promptarchitect.showStatusBar": {
|
|
476
|
+
"type": "boolean",
|
|
477
|
+
"default": true,
|
|
478
|
+
"description": "Show PromptArchitect in the status bar"
|
|
479
|
+
},
|
|
480
|
+
"promptarchitect.apiEndpoint": {
|
|
481
|
+
"type": "string",
|
|
482
|
+
"default": "https://us-central1-prompt-architect-3df7a.cloudfunctions.net/api",
|
|
483
|
+
"description": "API endpoint for prompt generation (leave default for hosted service)"
|
|
484
|
+
},
|
|
485
|
+
"promptarchitect.useWorkspaceContext": {
|
|
486
|
+
"type": "boolean",
|
|
487
|
+
"default": true,
|
|
488
|
+
"description": "Include workspace context when refining prompts for better project-specific results"
|
|
489
|
+
},
|
|
490
|
+
"promptarchitect.autoPromptIndex": {
|
|
491
|
+
"type": "boolean",
|
|
492
|
+
"default": true,
|
|
493
|
+
"description": "Automatically prompt to index workspace when refining prompts without an index"
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
},
|
|
498
|
+
"scripts": {
|
|
499
|
+
"vscode:prepublish": "npm run compile",
|
|
500
|
+
"compile": "tsc -p ./",
|
|
501
|
+
"watch": "tsc -watch -p ./",
|
|
502
|
+
"package": "vsce package",
|
|
503
|
+
"publish": "vsce publish"
|
|
504
|
+
},
|
|
505
|
+
"devDependencies": {
|
|
506
|
+
"@types/node": "^20.10.0",
|
|
507
|
+
"@types/vscode": "^1.85.0",
|
|
508
|
+
"@vscode/vsce": "^3.0.0",
|
|
509
|
+
"typescript": "^5.3.0"
|
|
510
|
+
},
|
|
511
|
+
"dependencies": {
|
|
512
|
+
"node-fetch": "^3.3.2"
|
|
513
|
+
},
|
|
514
|
+
"homepage": "https://promptarchitectlabs.com",
|
|
515
|
+
"bugs": {
|
|
516
|
+
"url": "https://promptarchitectlabs.com/support"
|
|
517
|
+
},
|
|
518
|
+
"license": "SEE LICENSE IN LICENSE"
|
|
519
|
+
}
|