-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
174 lines (174 loc) · 4.66 KB
/
Copy pathpackage.json
File metadata and controls
174 lines (174 loc) · 4.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
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
{
"name": "lmstudio-ide-plugin",
"displayName": "LM Studio Chat",
"publisher": "your-name",
"version": "0.1.0",
"description": "AI-powered VS Code extension integrating LM Studio and Local LLM servers with Agent-Cascade MCP tools for instant code completion",
"icon": "$(zap)",
"repository": {
"type": "git",
"url": "https://github.com/your-username/LocalLLM-IDE.git"
},
"engines": {
"vscode": "^1.90.0"
},
"categories": [
"Other",
"Programming Languages",
"Machine Learning"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"title": "LM Studio",
"properties": {
"lmstudio.baseUrl": {
"type": "string",
"default": "http://10.5.0.2:11434/v1",
"description": "Local LLM OpenAI-compatible base URL (e.g., http://localhost:1234/v1)"
},
"lmstudio.model": {
"type": "string",
"default": "qwen2.5-coder",
"description": "Default chat/completions model id"
},
"lmstudio.embeddingsModel": {
"type": "string",
"default": "nomic-embed-text",
"description": "Embeddings model id for RAG"
},
"lmstudio.maxContextFiles": {
"type": "number",
"default": 6
},
"lmstudio.mcp.serverUrl": {
"type": "string",
"default": "http://localhost:7777",
"description": "Agent-Cascade MCP server URL"
},
"lmstudio.mcp.allowedTools": {
"type": "array",
"default": [
"mcp1_fs_read_text",
"mcp1_fs_search",
"mcp1_proc_run",
"mcp1_advanced_grep",
"mcp1_file_ops"
],
"items": {
"type": "string"
},
"description": "Allow-list of MCP tool names callable by the model"
},
"lmstudio.localTools.enable": {
"type": "boolean",
"default": true,
"description": "Enable local VS Code tools (file ops, diff apply, terminal run)"
},
"lmstudio.localTools.allowedTools": {
"type": "array",
"default": [
"vscode_fs_read_text",
"vscode_fs_write_text",
"vscode_fs_list",
"vscode_apply_unified_diff",
"vscode_terminal_run"
],
"items": {
"type": "string"
},
"description": "Allow-list of local VS Code tools callable by the model"
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "lmstudio-container",
"title": "LM Studio",
"icon": "$(zap)"
}
]
},
"views": {
"lmstudio-container": [
{
"id": "lmstudio-chat",
"name": "Chat",
"icon": "$(comment-discussion)"
},
{
"id": "lmstudio-tools",
"name": "Tools",
"icon": "$(tools)"
}
]
},
"commands": [
{
"command": "lmstudio.chat.open",
"title": "LM Studio: Open Chat"
},
{
"command": "lmstudio.applyDiff",
"title": "LM Studio: Apply Proposed Diff"
},
{
"command": "lmstudio.explainSelection",
"title": "LM Studio: Explain Selection"
},
{
"command": "lmstudio.writeTests",
"title": "LM Studio: Write Tests for File"
},
{
"command": "lmstudio.refactorFunction",
"title": "LM Studio: Refactor Function"
},
{
"title": "LM Studio: Run Shell/PowerShell Command",
"command": "lmstudio.runShellCommand"
},
{
"title": "LM Studio: Check Local LLM Connection",
"command": "lmstudio.tools.checkConnection"
},
{
"title": "LM Studio: Show Model Info",
"command": "lmstudio.tools.showModelInfo"
}
]
},
"scripts": {
"build": "tsc -p .",
"watch": "tsc -w -p .",
"package": "vsce package",
"lint": "eslint src --ext .ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/node": "^20.11.30",
"@types/vscode": "^1.90.0",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.57.0",
"mocha": "^10.2.0",
"glob": "^10.3.10",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"@vscode/vsce": "^2.22.0",
"@vscode/test-cli": "^0.0.4",
"@vscode/test-electron": "^2.3.8"
},
"dependencies": {
"openai": "^4.28.0",
"better-sqlite3": "^9.2.2",
"fast-glob": "^3.3.2",
"micromatch": "^4.0.5",
"undici": "^6.6.2",
"zod": "^3.22.4"
}
}