-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
366 lines (366 loc) · 12.1 KB
/
package.json
File metadata and controls
366 lines (366 loc) · 12.1 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
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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
{ "name": "brewhand",
"displayName": "BrewHand",
"description": "Enhances GitHub Copilot with 'do it right the first time' philosophy",
"version": "1.0.3",
"publisher": "BrewCode",
"engines": {
"vscode": "^1.93.0"
},
"categories": [
"AI",
"Programming Languages",
"Linters"
],
"keywords": [
"brewhand",
"copilot",
"ai",
"code quality",
"best practices",
"architecture"
], "activationEvents": [
"*"
],
"main": "./out/src/extension.js",
"contributes": {
"chatParticipants": [
{
"id": "brewhand",
"fullName": "BrewHand Developer",
"name": "brewhand",
"description": "AI assistant focused on production-ready, high-quality code generation",
"isSticky": true
}
], "commands": [
{
"command": "brewhand.detectShell",
"title": "BrewHand: Detect Current Shell",
"category": "BrewHand"
},
{
"command": "brewhand.validateCommand",
"title": "BrewHand: Validate Command Syntax",
"category": "BrewHand"
},
{
"command": "brewhand.toggleEnhancedMode",
"title": "BrewHand: Toggle Enhanced AI Mode",
"category": "BrewHand"
},
{
"command": "brewhand.showShellReference",
"title": "BrewHand: Show Shell Reference",
"category": "BrewHand"
},
{
"command": "brewhand.toggleIterativeMode",
"title": "BrewHand: Toggle Iterative Support",
"category": "BrewHand"
},
{
"command": "brewhand.continueWorkflow",
"title": "BrewHand: Continue Workflow",
"category": "BrewHand"
},
{
"command": "brewhand.pauseWorkflow",
"title": "BrewHand: Pause Workflow",
"category": "BrewHand"
},
{
"command": "brewhand.showWorkflowSummary",
"title": "BrewHand: Show Workflow Summary",
"category": "BrewHand"
},
{
"command": "brewhand.clearWorkflowHistory",
"title": "BrewHand: Clear Workflow History",
"category": "BrewHand"
},
{
"command": "brewhand.openFeatures",
"title": "BrewHand: Open Features Panel",
"category": "BrewHand"
},
{
"command": "brewhand.toggleFeature",
"title": "BrewHand: Toggle Feature",
"category": "BrewHand",
"icon": "$(check)"
},
{
"command": "brewhand.openSettings",
"title": "BrewHand: Open Settings",
"category": "BrewHand",
"icon": "$(gear)"
}, {
"command": "brewhand.refreshViews",
"title": "Refresh",
"icon": "$(refresh)"
}
],"viewsContainers": {
"activitybar": [
{
"id": "brewhand-panel",
"title": "Beer Menu",
"icon": "./icons/beer-mug.svg"
}
]
},
"views": {
"brewhand-panel": [
{
"id": "brewhand-features",
"name": "Features",
"when": "true"
}, {
"id": "brewhand-settings",
"name": "Quick Settings",
"when": "true"
}
]
},
"menus": { "editor/context": [
{
"command": "brewhand.validateCommand",
"when": "editorIsOpen",
"group": "brewhand"
}
],"commandPalette": [
{
"command": "brewhand.detectShell"
},
{
"command": "brewhand.validateCommand",
"when": "editorIsOpen"
},
{
"command": "brewhand.toggleEnhancedMode"
},
{
"command": "brewhand.showShellReference"
},
{
"command": "brewhand.toggleIterativeMode"
},
{
"command": "brewhand.continueWorkflow"
},
{
"command": "brewhand.pauseWorkflow"
},
{
"command": "brewhand.showWorkflowSummary"
},
{
"command": "brewhand.clearWorkflowHistory"
},
{
"command": "brewhand.openFeatures"
},
{
"command": "brewhand.openSettings"
}
],
"view/title": [
{
"command": "brewhand.refreshViews",
"when": "view == brewhand-features",
"group": "navigation"
}, {
"command": "brewhand.refreshViews",
"when": "view == brewhand-settings",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "brewhand.toggleFeature",
"when": "view == brewhand-features && viewItem == feature",
"group": "inline"
},
{
"command": "brewhand.openSettings",
"when": "view == brewhand-settings && viewItem == setting",
"group": "inline"
}
]
}, "keybindings": [
{
"command": "brewhand.validateCommand",
"key": "ctrl+shift+q",
"mac": "cmd+shift+q",
"when": "editorTextFocus"
},
{
"command": "brewhand.toggleIterativeMode",
"key": "ctrl+shift+g",
"mac": "cmd+shift+g"
}
],
"configuration": {
"title": "BrewHand", "properties": {
"brewhand.strictMode": {
"type": "boolean",
"default": true,
"description": "Enforce strict quality standards: eliminates TODO comments, ensures comprehensive error handling, and requires production-ready code patterns"
},
"brewhand.includeTests": {
"type": "boolean",
"default": false,
"description": "Automatically suggest unit tests and testing strategies when generating code to improve code reliability and maintainability"
},
"brewhand.architecturalFocus": {
"type": "string",
"default": "balanced",
"enum": [
"performance",
"maintainability",
"security",
"scalability",
"balanced"
], "description": "Primary architectural principle to emphasize in code generation: performance (speed/memory), maintainability (readability/structure), security (safe practices), scalability (growth-ready), or balanced (all principles)" },
"brewhand.telemetry.enabled": {
"type": "boolean",
"default": false,
"description": "Enable optional telemetry collection for improving BrewHand"
},
"brewhand.telemetry.anonymizeData": {
"type": "boolean",
"default": true,
"description": "Anonymize sensitive data in telemetry (file paths, project names)"
},
"brewhand.telemetry.localStorageOnly": {
"type": "boolean",
"default": true,
"description": "Store telemetry data locally only (no external transmission)"
},
"brewhand.shellDetection": {
"type": "string",
"default": "auto",
"enum": ["auto", "powershell", "cmd", "bash", "zsh"],
"description": "Shell type detection (auto recommended)"
},
"brewhand.autoFixShellSyntax": {
"type": "boolean",
"default": true,
"description": "Automatically detect and fix shell command syntax errors for your current shell environment (PowerShell, Bash, etc.)"
},
"brewhand.blockOnCompileErrors": {
"type": "boolean",
"default": true,
"description": "Prevent running commands that depend on compilation when build errors are detected to avoid cascading failures"
},
"brewhand.showCommandCorrections": {
"type": "boolean",
"default": true,
"description": "Display command syntax corrections and alternatives before executing commands to help you learn proper shell syntax"
},
"brewhand.monitorTerminalCommands": {
"type": "boolean",
"default": true,
"description": "Actively monitor your terminal for shell syntax errors and provide real-time suggestions to fix command issues"
},
"brewhand.verifyImportPaths": {
"type": "boolean",
"default": true,
"description": "Validate and auto-correct import paths in your code to prevent module resolution errors and broken dependencies"
}, "brewhand.autoModeEnabled": {
"type": "boolean",
"default": false,
"description": "Enable BrewHand reminder in status bar to use @brewhand in chat"
},
"brewhand.alwaysActive": {
"type": "boolean",
"default": false,
"description": "Make BrewHand always active and monitor for opportunities to help"
},
"brewhand.showAutoSuggestions": {
"type": "boolean",
"default": true,
"description": "Show automatic suggestions when BrewHand can help with commands"
},
"brewhand.showReminders": {
"type": "boolean",
"default": true,
"description": "Show periodic reminders to use @brewhand for better commands"
}, "brewhand.lastReminderTime": {
"type": "number",
"default": 0,
"description": "Internal: Last time a reminder was shown"
},
"brewhand.enhancedAIMode": {
"type": "boolean",
"default": true,
"description": "Enable advanced AI responses that understand your shell environment and generate platform-specific, syntactically correct commands"
},
"brewhand.preventIncorrectSyntax": {
"type": "boolean",
"default": true,
"description": "Proactively prevent AI from generating shell commands with incorrect syntax by injecting shell-specific context into AI requests"
},
"brewhand.autoCorrectCommands": {
"type": "boolean",
"default": true,
"description": "Automatically validate and correct shell commands generated by AI to ensure they work correctly in your environment"
}, "brewhand.includeEducationalTips": {
"type": "boolean",
"default": true,
"description": "Include helpful educational tips and best practices specific to your shell environment in AI responses to improve your command-line skills"
},
"brewhand.enableIterativeSupport": {
"type": "boolean",
"default": true,
"description": "Enable intelligent workflow assistance that remembers context across multiple steps and provides continuous help throughout complex development tasks" },
"brewhand.showIterativeSuggestions": {
"type": "boolean",
"default": true,
"description": "Show helpful suggestions to enable iterative assistance when BrewHand detects you're working on multi-step development patterns"
},
"brewhand.lastIterativeSuggestion": {
"type": "number",
"default": 0,
"description": "Internal: Last time an iterative suggestion was shown"
},
"brewhand.workflowTimeout": {
"type": "number",
"default": 7200000,
"description": "Time in milliseconds after which workflow contexts expire (default: 2 hours)"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"test": "npm run compile && node ./out/src/test/runTest.js",
"package": "vsce package",
"install-extension": "code --install-extension brewhand-1.0.0.vsix"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.10",
"@types/node": "^20.19.0",
"@types/vscode": "^1.93.0",
"@vscode/test-electron": "^2.5.2",
"glob": "^8.1.0",
"mocha": "^10.8.2",
"typescript": "^5.4.5"
},
"repository": {
"type": "git",
"url": "https://github.com/JoshMcMillen/BrewHand"
},
"bugs": {
"url": "https://github.com/JoshMcMillen/BrewHand/issues"
},
"homepage": "https://github.com/JoshMcMillen/BrewHand#readme",
"qna": "https://github.com/JoshMcMillen/BrewHand/discussions",
"license": "MIT",
"icon": "icons/brewcode.jpg",
"galleryBanner": {
"color": "#1e1e1e",
"theme": "dark"
}
}