-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 2.66 KB
/
package.json
File metadata and controls
107 lines (107 loc) · 2.66 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
{
"name": "code-ai-assistant",
"displayName": "Code AI Assistant",
"description": "AI assistant for code understanding with local LLM and embeddings",
"version": "0.1.0",
"type": "module",
"publisher": "sarvx",
"repository": {
"type": "git",
"url": "https://github.com/yourusername/code-ai-assistant.git"
},
"icon": "resources/icon.png",
"galleryBanner": {
"color": "#2d3748",
"theme": "dark"
},
"engines": {
"vscode": "^1.80.0"
},
"categories": [
"Other",
"Programming Languages",
"Machine Learning",
"Education"
],
"keywords": [],
"activationEvents": [
"onView:code-ai-assistant-view"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "code-ai-assistant.indexWorkspace",
"title": "Index Workspace for AI Assistant"
},
{
"command": "code-ai-assistant.explainCode",
"title": "Explain Selected Code"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "code-ai-assistant",
"title": "Code AI Assistant",
"icon": "resources/icon.png"
}
]
},
"views": {
"code-ai-assistant": [
{
"id": "code-ai-assistant-view",
"name": "AI Assistant"
}
]
},
"configuration": {
"title": "Code AI Assistant",
"properties": {
"codeAiAssistant.pineconeApiKey": {
"type": "string",
"default": "",
"description": "API Key for Pinecone vector database"
},
"codeAiAssistant.pineconeIndex": {
"type": "string",
"default": "code-embeddings",
"description": "Name of the Pinecone index to use"
},
"codeAiAssistant.ollamaUrl": {
"type": "string",
"default": "http://localhost:11434/api/generate",
"description": "URL for Ollama API"
},
"codeAiAssistant.ollamaModel": {
"type": "string",
"default": "deepseek-r1:8b",
"description": "Model to use with Ollama"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js",
"package": "vsce package"
},
"author": "SarvX",
"license": "MIT",
"dependencies": {
"@pinecone-database/pinecone": "^6.0.0",
"@xenova/transformers": "^2.6.1",
"glob": "^11.0.2",
"node-fetch": "^3.3.1",
"onnxruntime-node": "^1.15.0"
},
"devDependencies": {
"@types/node": "^20.5.0",
"@types/vscode": "^1.80.0",
"typescript": "^5.1.6"
}
}