Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
241 lines (241 loc) · 7.42 KB
/
Copy pathpackage.json
File metadata and controls
241 lines (241 loc) · 7.42 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
{
"name": "dsh-sidebar",
"displayName": "DSH Sidebar",
"description": "A project-aware VS Code chat sidebar powered by the official DeepSeek Harness runtime.",
"icon": "media/deepseek.png",
"version": "0.1.0",
"private": true,
"publisher": "lixxx1",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/Lixxx1/dsh-vscode.git"
},
"homepage": "https://lixxx1.github.io/dsh-vscode/",
"bugs": {
"url": "https://github.com/Lixxx1/dsh-vscode/issues"
},
"type": "commonjs",
"packageManager": "pnpm@11.7.0",
"engines": {
"vscode": "^1.100.0",
"node": "^22.19.0 || >=24.0.0"
},
"categories": [
"AI",
"Other"
],
"keywords": [
"deepseek",
"deepseek-harness",
"dsh",
"cordis",
"coding-agent"
],
"extensionKind": [
"workspace"
],
"main": "./dist/extension.js",
"activationEvents": [
"onStartupFinished",
"onView:deepseekHarness.chat",
"onCommand:deepseekHarness.openChat",
"onCommand:deepseekHarness.openInEditor",
"onCommand:deepseekHarness.addSelection",
"onCommand:deepseekHarness.fixWithDeepSeek",
"onCommand:deepseekHarness.sendProblem",
"onCommand:deepseekHarness.restart",
"onCommand:deepseekHarness.reconnect",
"onCommand:deepseekHarness.connectExistingRuntime",
"onCommand:deepseekHarness.startManagedRuntime",
"onCommand:deepseekHarness.managePlugins",
"onCommand:deepseekHarness.configureApiKey",
"onCommand:deepseekHarness.clearApiKey"
],
"capabilities": {
"untrustedWorkspaces": {
"supported": false,
"description": "DeepSeek Harness can run tools and edit files in the current workspace."
}
},
"contributes": {
"viewsContainers": {
"secondarySidebar": [
{
"id": "deepseekHarness",
"title": "DeepSeek",
"icon": "media/deepseek.svg"
}
]
},
"views": {
"deepseekHarness": [
{
"id": "deepseekHarness.chat",
"name": "Chat",
"type": "webview"
}
]
},
"commands": [
{
"command": "deepseekHarness.openChat",
"title": "DeepSeek Harness: Open Chat"
},
{
"command": "deepseekHarness.openInEditor",
"title": "DeepSeek Harness: Open Chat in Editor",
"icon": "$(open-preview)"
},
{
"command": "deepseekHarness.restart",
"title": "DeepSeek Harness: Restart Runtime",
"icon": "$(debug-restart)"
},
{
"command": "deepseekHarness.reconnect",
"title": "DeepSeek Harness: Reconnect"
},
{
"command": "deepseekHarness.connectExistingRuntime",
"title": "DeepSeek Harness: Connect to Existing Runtime"
},
{
"command": "deepseekHarness.startManagedRuntime",
"title": "DeepSeek Harness: Start Managed Runtime"
},
{
"command": "deepseekHarness.managePlugins",
"title": "DeepSeek Harness: Manage Runtime Plugins",
"icon": "$(extensions)"
},
{
"command": "deepseekHarness.addSelection",
"title": "DeepSeek Harness: Add Selection to Chat"
},
{
"command": "deepseekHarness.fixWithDeepSeek",
"title": "DeepSeek Harness: Fix with DeepSeek"
},
{
"command": "deepseekHarness.sendProblem",
"title": "DeepSeek Harness: Send Problem to DeepSeek"
},
{
"command": "deepseekHarness.showOutput",
"title": "DeepSeek Harness: Show Runtime Output"
},
{
"command": "deepseekHarness.openInBrowser",
"title": "DeepSeek Harness: Open in Browser"
},
{
"command": "deepseekHarness.configureApiKey",
"title": "DeepSeek Harness: Configure API Key",
"icon": "$(key)"
},
{
"command": "deepseekHarness.clearApiKey",
"title": "DeepSeek Harness: Clear Stored API Key"
}
],
"menus": {
"editor/context": [
{
"command": "deepseekHarness.addSelection",
"when": "editorHasSelection && resourceScheme == file",
"group": "navigation@100"
},
{
"command": "deepseekHarness.fixWithDeepSeek",
"when": "resourceScheme == file",
"group": "navigation@101"
}
],
"problems/context": [
{
"command": "deepseekHarness.sendProblem",
"group": "navigation@100"
}
]
},
"configuration": {
"title": "DeepSeek Harness",
"properties": {
"deepseekHarness.executable": {
"type": "string",
"scope": "resource",
"default": "",
"markdownDescription": "DSH executable. Leave empty to use a source checkout when nested inside deepseek-harness, otherwise `dsh` from PATH."
},
"deepseekHarness.arguments": {
"type": "array",
"scope": "resource",
"items": {
"type": "string"
},
"default": [
"web",
"--host",
"127.0.0.1",
"--port",
"0"
],
"markdownDescription": "Arguments passed to DSH. The default starts the official Cordis Web profile on an OS-assigned loopback port."
},
"deepseekHarness.autoStart": {
"type": "boolean",
"default": true,
"description": "Start DSH when the sidebar first opens."
},
"deepseekHarness.reuseExistingRuntime": {
"type": "boolean",
"scope": "resource",
"default": true,
"description": "Look for an existing DSH Web runtime on 127.0.0.1:3080 when no custom executable or arguments are configured. Authenticated runtimes prompt you to connect with their launch URL or start a separate managed runtime."
},
"deepseekHarness.autonomousDebugging": {
"type": "boolean",
"scope": "resource",
"default": false,
"markdownDescription": "Expose the current workspace's native VS Code debugger to DSH as autonomous tools. When enabled, the extension starts a managed DSH runtime instead of reusing an external runtime."
},
"deepseekHarness.startupTimeout": {
"type": "number",
"scope": "resource",
"default": 60000,
"minimum": 1000,
"maximum": 300000,
"description": "Milliseconds to wait for DSH to report its local Web URL."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run build",
"build": "tsc -p tsconfig.json --noEmit && node scripts/build.mjs",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "vitest run --config vitest.config.ts",
"test:scroll-browser": "node tests/conversation-scroll.browser.mjs",
"check": "tsc -p tsconfig.json --noEmit && vitest run --config vitest.config.ts && node scripts/build.mjs",
"package": "vsce package --readme-path README.marketplace.md --out dsh-vscode.vsix",
"publish:marketplace": "vsce publish --readme-path README.marketplace.md"
},
"devDependencies": {
"@modelcontextprotocol/sdk": "1.30.0",
"@types/node": "^22.20.0",
"@types/vscode": "^1.100.0",
"@types/ws": "^8.18.1",
"@vscode/vsce": "^3.6.0",
"diff": "^9.0.0",
"dompurify": "^3.4.15",
"esbuild": "^0.25.12",
"jsdom": "^27.4.0",
"katex": "^0.18.7",
"marked": "^18.0.12",
"typescript": "^6.0.3",
"vitest": "^4.1.8",
"ws": "^8.21.3",
"zod": "^3.25.76"
}
}