Skip to content

Commit 69fc47e

Browse files
committed
Add Devin CLI support and update extension metadata
- should add devin cli to agents (use google to find appropriate commands) └── apps └── editor ├── package.json └── src ├── constants │ └── agents.ts ├── utils │ ├── agentic-cli-invocation │ │ ├── agents │ │ │ ├── claude.ts │ │ │ ├── devin.ts │ │ │ └── index.ts │ │ ├── invoke-agentic-cli.ts │ │ └── types.ts │ └── cli-configuration-format-converters.ts └── views ├── settings │ └── backend │ └── message-handlers │ └── handle-get-cli-configurations.ts └── shared ├── actions │ └── agent │ ├── create.ts │ └── pick-agent.ts └── forms └── EditCliConfigurationForm └── EditCliConfigurationForm.tsx
1 parent f9dbcc0 commit 69fc47e

4 files changed

Lines changed: 36 additions & 18 deletions

File tree

‎apps/editor/package.json‎

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,31 +14,14 @@
1414
"test:watch": "jest --watch"
1515
},
1616
"publisher": "robertpiosik",
17-
"homepage": "https://codeweb.chat/",
17+
"homepage": "https://cwc.dev/",
1818
"repository": {
1919
"type": "git",
2020
"url": "https://github.com/CodeWebChat/CWC"
2121
},
2222
"engines": {
2323
"vscode": "^1.96.0"
2424
},
25-
"categories": [
26-
"Programming Languages",
27-
"Machine Learning",
28-
"AI",
29-
"Chat"
30-
],
31-
"keywords": [
32-
"ai",
33-
"assistant",
34-
"chat",
35-
"chatgpt",
36-
"claude",
37-
"deepseek",
38-
"gemini",
39-
"mistral",
40-
"qwen"
41-
],
4225
"main": "out/extension.js",
4326
"activationEvents": [],
4427
"capabilities": {
@@ -1092,6 +1075,10 @@
10921075
{
10931076
"name": "(3)",
10941077
"agent": "OpenCode"
1078+
},
1079+
{
1080+
"name": "(4)",
1081+
"agent": "Devin"
10951082
}
10961083
],
10971084
"items": {

‎apps/editor/src/constants/agents.ts‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ export const AGENTS = {
5656
flags_placeholder: '',
5757
example_flags: []
5858
},
59+
Devin: {
60+
docs_url: 'https://docs.devin.ai/cli/reference/commands',
61+
homepage_url: 'https://docs.devin.ai/work-with-devin/devin-cli',
62+
flags_placeholder: '',
63+
example_flags: []
64+
},
5965
'Grok Build': {
6066
docs_url: 'https://docs.x.ai/build/cli/headless-scripting',
6167
homepage_url: 'https://x.ai/build',
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import { CodingAgent } from '../types'
2+
import { check_command_exists } from '../utils/check-command-exists'
3+
import { AGENTS } from '../../../constants/agents'
4+
5+
const agent_name = 'Devin'
6+
7+
export const devin_agent: CodingAgent = {
8+
id: 'devin',
9+
label: agent_name,
10+
cmd: 'devin',
11+
is_installed: () => check_command_exists('devin'),
12+
get_documentation_url: () => AGENTS[agent_name].docs_url,
13+
get_isolated_dir_args: () => [
14+
'--print',
15+
'--respect-workspace-trust',
16+
'false'
17+
],
18+
get_integrated_terminal_args: () => [],
19+
get_prompt_file_args: (temp_prompt_path: string) => [
20+
'--prompt-file',
21+
temp_prompt_path
22+
]
23+
}

‎apps/editor/src/utils/agentic-cli-invocation/agents/index.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { antigravity_agent } from './antigravity'
22
import { claude_agent } from './claude'
33
import { codex_agent } from './codex'
44
import { cursor_agent } from './cursor'
5+
import { devin_agent } from './devin'
56
import { opencode_agent } from './opencode'
67
import { grok_agent } from './grok'
78

@@ -10,6 +11,7 @@ export const CLI_AGENTS = [
1011
codex_agent,
1112
claude_agent,
1213
cursor_agent,
14+
devin_agent,
1315
grok_agent,
1416
opencode_agent
1517
]

0 commit comments

Comments
 (0)