-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
393 lines (393 loc) · 12.3 KB
/
Copy pathpackage.json
File metadata and controls
393 lines (393 loc) · 12.3 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
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
{
"name": "codeep",
"displayName": "Codeep",
"description": "AI coding assistant for VS Code — powered by Codeep CLI",
"version": "2.7.0",
"publisher": "VladoIvankovic",
"icon": "Codeep.png",
"galleryBanner": {
"color": "#1a1a1a",
"theme": "dark"
},
"repository": {
"type": "git",
"url": "https://github.com/VladoIvankovic/Codeep-vscode"
},
"engines": {
"vscode": "^1.95.0"
},
"categories": [
"AI",
"Chat",
"Other"
],
"keywords": [
"ai",
"coding",
"assistant",
"agent",
"codeep",
"llm"
],
"activationEvents": [
"onView:codeep.chat"
],
"main": "./dist/extension.js",
"capabilities": {
"untrustedWorkspaces": {
"supported": "limited",
"description": "Codeep runs a local CLI agent that can read/edit files and run commands. In untrusted workspaces, review each permission prompt carefully before allowing an action."
}
},
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "codeep",
"title": "Codeep",
"icon": "media/icon-sidebar.svg"
}
]
},
"views": {
"codeep": [
{
"type": "webview",
"id": "codeep.chat",
"name": "Chat"
},
{
"id": "codeep.sessions",
"name": "Sessions"
}
]
},
"commands": [
{
"command": "codeep.openChat",
"title": "Codeep: Open Chat"
},
{
"command": "codeep.sendSelection",
"title": "Codeep: Send Selection to Chat"
},
{
"command": "codeep.reviewFile",
"title": "Codeep: Review Current File"
},
{
"command": "codeep.newSession",
"title": "Codeep: New Session",
"icon": "$(add)"
},
{
"command": "codeep.setApiKey",
"title": "Codeep: Set API Key"
},
{
"command": "codeep.selectModel",
"title": "Codeep: Select Provider & Model"
},
{
"command": "codeep.inlineChat",
"title": "Codeep: Edit Selection (Inline)"
},
{
"command": "codeep.attachActiveFile",
"title": "Codeep: Attach Active File to Chat"
},
{
"command": "codeep.mcpAddServer",
"title": "Codeep: Add MCP Server…"
},
{
"command": "codeep.mcpRemoveServer",
"title": "Codeep: Remove MCP Server…"
},
{
"command": "codeep.mcpOpenConfig",
"title": "Codeep: Open MCP Servers Config"
},
{
"command": "codeep.skillsBundles",
"title": "Codeep: Browse Skill Bundles…"
},
{
"command": "codeep.skillsCreateBundle",
"title": "Codeep: Create Skill Bundle…"
},
{
"command": "codeep.skillsOpenFolder",
"title": "Codeep: Open Skills Folder"
},
{
"command": "codeep.generateCommitMessage",
"title": "Codeep: Generate Commit Message",
"icon": "$(sparkle)"
},
{
"command": "codeep.tree.refreshSessions",
"title": "Codeep: Refresh Sessions",
"icon": "$(refresh)"
},
{
"command": "codeep.tree.deleteSession",
"title": "Codeep: Delete Session",
"icon": "$(trash)"
},
{
"command": "codeep.editProfile",
"title": "Codeep: Edit Profile"
},
{
"command": "codeep.editProjectProfile",
"title": "Codeep: Edit Project Profile"
},
{
"command": "codeep.toggleAutoLearn",
"title": "Codeep: Toggle Profile Auto-Learn"
},
{
"command": "codeep.syncProfile",
"title": "Codeep: Sync Profile to Dashboard"
}
],
"menus": {
"scm/title": [
{
"command": "codeep.generateCommitMessage",
"group": "navigation",
"when": "scmProvider == git"
}
],
"view/title": [
{
"command": "codeep.newSession",
"when": "view == codeep.sessions",
"group": "navigation@1"
},
{
"command": "codeep.tree.refreshSessions",
"when": "view == codeep.sessions",
"group": "navigation@2"
}
],
"view/item/context": [
{
"command": "codeep.tree.deleteSession",
"when": "view == codeep.sessions && viewItem == codeepSession",
"group": "inline"
}
],
"editor/context": [
{
"command": "codeep.inlineChat",
"group": "codeep@1"
},
{
"command": "codeep.sendSelection",
"when": "editorHasSelection",
"group": "codeep@2"
},
{
"command": "codeep.attachActiveFile",
"group": "codeep@3"
},
{
"command": "codeep.reviewFile",
"group": "codeep@4"
}
]
},
"keybindings": [
{
"command": "codeep.openChat",
"key": "ctrl+alt+c",
"mac": "cmd+alt+c"
},
{
"command": "codeep.sendSelection",
"key": "ctrl+alt+x",
"mac": "cmd+alt+x",
"when": "editorHasSelection"
},
{
"command": "codeep.inlineChat",
"key": "ctrl+shift+i",
"mac": "cmd+shift+i",
"when": "editorTextFocus"
},
{
"command": "codeep.attachActiveFile",
"key": "ctrl+shift+a",
"mac": "cmd+shift+a",
"when": "editorTextFocus"
}
],
"configuration": {
"title": "Codeep",
"properties": {
"codeep.cliPath": {
"type": "string",
"default": "codeep",
"description": "Path to the Codeep CLI executable"
},
"codeep.provider": {
"type": "string",
"default": "",
"markdownDescription": "Pin the AI provider for this window (e.g. `openai`, `anthropic`, `openrouter`, `custom`). Leave empty to use the CLI's own setting. Applied on every connect, so it overrides changes made via the chat. Run **Codeep: Select Provider & Model** to switch interactively instead."
},
"codeep.model": {
"type": "string",
"default": "",
"markdownDescription": "Pin the model id for this window (e.g. `gpt-4o`, `qwen3-coder-30b`). Leave empty to use the CLI's own setting / the provider default."
},
"codeep.baseUrl": {
"type": "string",
"default": "",
"markdownDescription": "Base URL of an OpenAI-compatible endpoint (vLLM, LiteLLM, LM Studio, text-generation-webui), e.g. `http://localhost:8000/v1`. Set `#codeep.provider#` to `custom` (no API key needed) or `openai` (passed as `OPENAI_BASE_URL`), and `#codeep.model#` to a model your server serves. Leave empty for hosted providers."
},
"codeep.requestTimeoutMinutes": {
"type": "number",
"default": 5,
"minimum": 1,
"maximum": 60,
"description": "Idle timeout in minutes for an in-flight prompt. The timer resets on every signal from the CLI (chunks, tool calls, thoughts) — so this only fires when the agent is genuinely wedged. Bump to 15+ for slow reasoning models."
},
"codeep.autoLearnProfile": {
"type": "boolean",
"markdownDescription": "Let Codeep quietly learn your durable preferences from sessions and merge them into `~/.codeep/profile.learned.md` (global) and `.codeep/profile.learned.md` (project), which it injects into the agent's context. Leave unset to use the CLI's own setting. Review with the CLI `/me`, clear with `/me forget`. Toggle via **Codeep: Toggle Profile Auto-Learn**."
}
}
},
"chatParticipants": [
{
"id": "codeep.assistant",
"name": "codeep",
"fullName": "Codeep",
"description": "Ask Codeep about your code",
"isSticky": true,
"commands": [
{
"name": "explain",
"description": "Explain the selected or referenced code"
},
{
"name": "review",
"description": "Review the code for bugs and improvements"
}
]
}
],
"languageModelTools": [
{
"name": "codeep_skills",
"displayName": "Codeep Skills",
"modelDescription": "Returns the Codeep skill bundles defined in this workspace (.codeep/skills/<name>/SKILL.md) — project-specific workflows like deploy steps, review checklists, or hotfix flows. Use this when the user's request might match a defined workflow, to follow the project's own conventions instead of guessing.",
"userDescription": "Codeep skill bundles defined in this workspace",
"toolReferenceName": "codeepSkills",
"canBeReferencedInPrompt": true,
"icon": "$(book)",
"tags": [
"codeep",
"workflow"
]
}
],
"jsonValidation": [
{
"fileMatch": [
"**/.codeep/mcp_servers.json",
"mcp_servers.json"
],
"url": "./media/schema/mcp_servers.schema.json"
}
],
"viewsWelcome": [
{
"view": "codeep.sessions",
"contents": "No saved Codeep sessions yet.\nStart a conversation and it'll show up here.\n[Open Codeep Chat](command:codeep.openChat)"
}
],
"walkthroughs": [
{
"id": "codeep.gettingStarted",
"title": "Get Started with Codeep",
"description": "Connect the CLI, open the chat, and start coding with AI — including self-hosted models.",
"steps": [
{
"id": "codeep.walkthrough.cli",
"title": "Install the Codeep CLI",
"description": "The extension drives the local `codeep` CLI.\n[Open a terminal](command:workbench.action.terminal.new)",
"media": {
"markdown": "media/walkthrough/cli.md"
}
},
{
"id": "codeep.walkthrough.chat",
"title": "Open the chat",
"description": "Open the Codeep view and say hello.\n[Open Codeep Chat](command:codeep.openChat)",
"media": {
"markdown": "media/walkthrough/chat.md"
},
"completionEvents": [
"onCommand:codeep.openChat"
]
},
{
"id": "codeep.walkthrough.codeActions",
"title": "Work from the editor",
"description": "Select code, then use the lightbulb or send it to chat.",
"media": {
"markdown": "media/walkthrough/code-actions.md"
},
"completionEvents": [
"onCommand:codeep.sendSelection",
"onCommand:codeep.codeAction"
]
},
{
"id": "codeep.walkthrough.model",
"title": "Choose your model",
"description": "Switch providers/models — or point Codeep at your own endpoint.\n[Select Provider & Model](command:codeep.selectModel)",
"media": {
"markdown": "media/walkthrough/model.md"
},
"completionEvents": [
"onCommand:codeep.selectModel"
]
},
{
"id": "codeep.walkthrough.profile",
"title": "Personalize Codeep",
"description": "Tell Codeep how you like to work — reply language, style, stack. It adapts on every project.\n[Edit Profile](command:codeep.editProfile)",
"media": {
"markdown": "media/walkthrough/profile.md"
},
"completionEvents": [
"onCommand:codeep.editProfile"
]
}
]
}
]
},
"scripts": {
"build:extension": "esbuild src/extension.ts --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node",
"build:webview": "esbuild src/webview/main.ts --bundle --outfile=media/chat.js --format=iife --target=es2020 --platform=browser",
"build": "npm run build:extension && npm run build:webview",
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.webview.json",
"test": "vitest run",
"watch": "npm run build -- --watch",
"package": "npm run build && vsce package",
"publish": "vsce publish"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/vscode": "~1.95.0",
"@vscode/vsce": "^2.24.0",
"esbuild": "^0.20.0",
"typescript": "^5.3.0",
"vitest": "^4.1.7"
}
}