-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
178 lines (178 loc) · 4.54 KB
/
package.json
File metadata and controls
178 lines (178 loc) · 4.54 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
{
"name": "ai-trust-validator",
"displayName": "AI Code Trust Validator",
"description": "Validate AI-generated code for security, hallucinations, and logic errors",
"version": "0.2.0",
"publisher": "rudra496",
"author": {
"name": "Rudra Sarker",
"url": "https://rudra496.github.io/site"
},
"license": "MIT",
"icon": "icon.png",
"galleryBanner": {
"color": "#1a1a2e",
"theme": "dark"
},
"repository": {
"type": "git",
"url": "https://github.com/rudra496/ai-code-trust-validator.git"
},
"bugs": {
"url": "https://github.com/rudra496/ai-code-trust-validator/issues"
},
"homepage": "https://github.com/rudra496/ai-code-trust-validator#readme",
"engines": {
"vscode": "^1.80.0"
},
"categories": [
"Programming Languages",
"Linters",
"Security",
"Testing",
"Machine Learning"
],
"keywords": [
"ai",
"security",
"validation",
"linting",
"chatgpt",
"copilot",
"code-review",
"trust"
],
"activationEvents": [
"onLanguage:python",
"onCommand:aiTrust.validate",
"onCommand:aiTrust.validateFile",
"onCommand:aiTrust.showReport"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "aiTrust.validate",
"title": "Validate AI Code",
"category": "AI Trust",
"icon": "$(shield)"
},
{
"command": "aiTrust.validateFile",
"title": "Validate Current File",
"category": "AI Trust",
"icon": "$(file-code)"
},
{
"command": "aiTrust.showReport",
"title": "Show Trust Report",
"category": "AI Trust",
"icon": "$(graph)"
},
{
"command": "aiTrust.clearCache",
"title": "Clear Validation Cache",
"category": "AI Trust"
},
{
"command": "aiTrust.watchMode",
"title": "Toggle Watch Mode",
"category": "AI Trust",
"icon": "$(eye)"
}
],
"menus": {
"editor/context": [
{
"command": "aiTrust.validateFile",
"when": "editorLangId == python",
"group": "aiTrust@1"
}
],
"editor/title": [
{
"command": "aiTrust.validateFile",
"when": "editorLangId == python",
"group": "navigation"
}
]
},
"configuration": {
"title": "AI Code Trust Validator",
"properties": {
"aiTrust.minScore": {
"type": "number",
"default": 70,
"description": "Minimum trust score to pass (0-100)"
},
"aiTrust.strictMode": {
"type": "boolean",
"default": false,
"description": "Fail on any critical issues"
},
"aiTrust.enableSecurity": {
"type": "boolean",
"default": true,
"description": "Enable security analysis"
},
"aiTrust.enableHallucination": {
"type": "boolean",
"default": true,
"description": "Enable hallucination detection"
},
"aiTrust.enableLogic": {
"type": "boolean",
"default": true,
"description": "Enable logic validation"
},
"aiTrust.enableBestPractices": {
"type": "boolean",
"default": true,
"description": "Enable best practices checking"
},
"aiTrust.autoValidate": {
"type": "boolean",
"default": false,
"description": "Automatically validate on save"
},
"aiTrust.showInlineHints": {
"type": "boolean",
"default": true,
"description": "Show inline trust score hints"
},
"aiTrust.pythonPath": {
"type": "string",
"default": "python",
"description": "Path to Python interpreter"
}
}
},
"statusBarItems": [
{
"command": "aiTrust.validate",
"alignment": "right",
"priority": 100
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"package": "vsce package"
},
"devDependencies": {
"@types/node": "^25.6.0",
"@types/vscode": "^1.80.0",
"@typescript-eslint/eslint-plugin": "^8.59.3",
"@typescript-eslint/parser": "^8.59.2",
"eslint": "^10.3.0",
"typescript": "^6.0.3",
"@vscode/test-electron": "^2.3.0",
"@vscode/vsce": "^3.9.1"
},
"dependencies": {}
}