Skip to content

Commit 5189d24

Browse files
committed
feat(devin): add devin integration for autonomous coding sessions
1 parent 67f8a68 commit 5189d24

File tree

14 files changed

+877
-7
lines changed

14 files changed

+877
-7
lines changed

apps/docs/components/icons.tsx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -939,6 +939,30 @@ export function GoogleIcon(props: SVGProps<SVGSVGElement>) {
939939
)
940940
}
941941

942+
export function DevinIcon(props: SVGProps<SVGSVGElement>) {
943+
return (
944+
<svg
945+
{...props}
946+
viewBox="0 0 500 500"
947+
fill="none"
948+
xmlns="http://www.w3.org/2000/svg"
949+
>
950+
<path
951+
d="M59.29,209.39l48.87,28.21c1.75,1.01,3.71,1.51,5.67,1.51c1.95,0,3.92-0.52,5.67-1.51l48.87-28.21c0,0,0.14-0.11,0.2-0.16c0.74-0.45,1.44-0.99,2.07-1.6c0.09-0.09,0.18-0.2,0.27-0.29c0.54-0.58,1.03-1.21,1.44-1.89c0.06-0.11,0.16-0.2,0.2-0.32c0.43-0.74,0.74-1.53,0.99-2.37c0.05-0.18,0.09-0.36,0.14-0.54c0.2-0.86,0.36-1.74,0.36-2.66v-28.21c0-10.89,5.87-21.03,15.3-26.48c9.42-5.45,21.15-5.44,30.59,0l24.43,14.11c0.79,0.45,1.62,0.77,2.47,1.01c0.18,0.05,0.37,0.11,0.54,0.16c0.83,0.2,1.69,0.32,2.54,0.34c0.05,0,0.09,0,0.11,0c0.09,0,0.18-0.05,0.26-0.05c0.79,0,1.58-0.11,2.34-0.32c0.14-0.03,0.27-0.05,0.4-0.09c0.83-0.23,1.64-0.57,2.41-0.99c0.06-0.05,0.16-0.05,0.23-0.09l48.87-28.21c3.51-2.03,5.67-5.76,5.67-9.81V64.52c0-4.05-2.16-7.78-5.67-9.81l-48.91-28.19c-3.51-2.03-7.81-2.03-11.32,0l-48.87,28.21c0,0-0.14,0.11-0.2,0.16c-0.74,0.45-1.44,0.99-2.07,1.6c-0.09,0.09-0.18,0.2-0.27,0.29c-0.54,0.58-1.03,1.21-1.44,1.89c-0.06,0.11-0.16,0.2-0.2,0.31c-0.43,0.74-0.74,1.53-0.99,2.37c-0.05,0.18-0.09,0.36-0.14,0.54c-0.2,0.86-0.36,1.74-0.36,2.66v28.21c0,10.89-5.87,21.03-15.3,26.5c-9.42,5.44-21.15,5.44-30.59,0l-24.42-14.1c-0.79-0.45-1.63-0.77-2.47-1.01c-0.18-0.05-0.36-0.11-0.54-0.16c-0.84-0.2-1.69-0.31-2.55-0.34c-0.14,0-0.25,0-0.38,0c-0.81,0-1.6,0.11-2.37,0.31c-0.14,0.02-0.25,0.05-0.38,0.09c-0.82,0.23-1.63,0.57-2.4,1c-0.06,0.05-0.16,0.05-0.23,0.09l-48.84,28.24c-3.51,2.03-5.67,5.76-5.67,9.81v56.42c0,4.05,2.16,7.78,5.67,9.81C59.29,209.41,59.29,209.39,59.29,209.39z"
952+
fill="#2A6DCE"
953+
/>
954+
<path
955+
d="M325.46,223.49c9.42-5.44,21.15-5.44,30.59,0l24.43,14.11c0.79,0.45,1.62,0.77,2.47,1.01c0.18,0.05,0.36,0.11,0.54,0.16c0.83,0.2,1.69,0.31,2.54,0.34c0.05,0,0.09,0,0.11,0c0.09,0,0.18-0.03,0.26-0.05c0.79,0,1.58-0.11,2.34-0.31c0.14-0.03,0.27-0.05,0.4-0.09c0.83-0.23,1.62-0.57,2.41-0.99c0.06-0.05,0.16-0.05,0.25-0.09l48.87-28.21c3.51-2.03,5.67-5.76,5.67-9.81v-56.43c0-4.05-2.16-7.78-5.67-9.81l-48.84-28.22c-3.51-2.03-7.81-2.03-11.32,0l-48.87,28.21c0,0-0.14,0.11-0.2,0.16c-0.74,0.45-1.44,0.99-2.07,1.6c-0.09,0.09-0.18,0.2-0.26,0.29c-0.54,0.58-1.03,1.21-1.44,1.89c-0.06,0.11-0.16,0.2-0.2,0.32c-0.43,0.74-0.74,1.53-0.99,2.37c-0.05,0.18-0.09,0.36-0.14,0.54c-0.2,0.86-0.36,1.74-0.36,2.66v28.21c0,10.89-5.87,21.03-15.3,26.5c-9.42,5.44-21.15,5.44-30.59,0l-24.43-14.11c-0.79-0.45-1.62-0.77-2.47-1.01c-0.18-0.05-0.36-0.11-0.54-0.16c-0.83-0.2-1.69-0.32-2.54-0.34c-0.14,0-0.25,0-0.38,0c-0.81,0-1.6,0.11-2.37,0.32c-0.14,0.03-0.25,0.05-0.38,0.09c-0.83,0.23-1.64,0.57-2.41,0.99c-0.06,0.05-0.16,0.05-0.23,0.09l-48.87,28.21c-3.51,2.03-5.67,5.76-5.67,9.81v56.43c0,4.05,2.16,7.78,5.67,9.81l48.87,28.21c0,0,0.16,0.05,0.23,0.09c0.77,0.43,1.58,0.77,2.41,0.99c0.14,0.05,0.27,0.05,0.4,0.09c0.77,0.18,1.55,0.29,2.34,0.32c0.09,0,0.18,0.05,0.27,0.05c0.05,0,0.09,0,0.11,0c0.86,0,1.69-0.14,2.54-0.34c0.18-0.05,0.36-0.09,0.54-0.16c0.86-0.25,1.69-0.57,2.47-1.01l24.43-14.11c9.42-5.44,21.15-5.44,30.59,0c9.42,5.44,15.3,15.59,15.3,26.48v28.21c0,0.92,0.14,1.8,0.36,2.66c0.05,0.18,0.09,0.36,0.14,0.54c0.25,0.83,0.56,1.62,0.99,2.37c0.06,0.11,0.14,0.2,0.2,0.31c0.4,0.68,0.9,1.31,1.44,1.89c0.09,0.09,0.18,0.2,0.26,0.29c0.61,0.6,1.31,1.12,2.07,1.6c0.06,0.05,0.11,0.11,0.2,0.16l48.87,28.21c1.75,1.01,3.72,1.51,5.67,1.51s3.92-0.52,5.67-1.51l48.87-28.21c3.51-2.03,5.67-5.76,5.67-9.81v-56.43c0-4.05-2.16-7.78-5.67-9.81l-48.87-28.21c0,0-0.16-0.05-0.23-0.09c-0.77-0.43-1.58-0.77-2.41-0.99c-0.14-0.05-0.25-0.05-0.38-0.09c-0.79-0.18-1.57-0.29-2.38-0.32c-0.11,0-0.25,0-0.36,0c-0.86,0-1.71,0.14-2.54,0.34c-0.18,0.05-0.34,0.09-0.52,0.16c-0.86,0.25-1.69,0.57-2.47,1.01l-24.43,14.11c-9.42,5.44-21.15,5.44-30.58,0c-9.42-5.44-15.3-15.59-15.3-26.5c0-10.91,5.87-21.03,15.3-26.48C325.55,223.49,325.46,223.49,325.46,223.49z"
956+
fill="#1DC19C"
957+
/>
958+
<path
959+
d="M304.5,369.22l-48.87-28.21c0,0-0.16-0.05-0.23-0.09c-0.77-0.43-1.57-0.77-2.41-0.99c-0.14-0.05-0.27-0.05-0.4-0.09c-0.79-0.18-1.57-0.29-2.37-0.32c-0.14,0-0.25,0-0.38,0c-0.86,0-1.71,0.14-2.54,0.34c-0.18,0.05-0.34,0.09-0.52,0.16c-0.86,0.25-1.69,0.57-2.47,1.01l-24.43,14.11c-9.42,5.44-21.15,5.44-30.58,0c-9.42-5.44-15.3-15.59-15.3-26.5v-28.22c0-0.92-0.14-1.8-0.36-2.66c-0.05-0.18-0.09-0.36-0.14-0.54c-0.25-0.83-0.57-1.62-0.99-2.37c-0.06-0.11-0.14-0.2-0.2-0.32c-0.4-0.68-0.9-1.31-1.44-1.89c-0.09-0.09-0.18-0.2-0.27-0.29c-0.6-0.6-1.31-1.12-2.07-1.6c-0.06-0.05-0.11-0.11-0.2-0.16l-48.87-28.21c-3.51-2.03-7.81-2.03-11.32,0L59.28,290.6c-3.51,2.03-5.67,5.76-5.67,9.81v56.43c0,4.05,2.16,7.78,5.67,9.81l48.87,28.21c0,0,0.16,0.06,0.23,0.09c0.77,0.43,1.55,0.77,2.38,0.99c0.14,0.05,0.27,0.06,0.4,0.09c0.77,0.18,1.55,0.29,2.34,0.32c0.09,0,0.18,0.05,0.29,0.05c0.05,0,0.09,0,0.14,0c0.86,0,1.69-0.14,2.52-0.34c0.18-0.05,0.36-0.09,0.54-0.16c0.86-0.25,1.69-0.57,2.47-1.01l24.43-14.11c9.42-5.44,21.15-5.44,30.59,0c9.42,5.44,15.3,15.59,15.3,26.48v28.21c0,0.92,0.14,1.8,0.36,2.66c0.05,0.18,0.09,0.36,0.14,0.54c0.25,0.83,0.57,1.62,0.99,2.37c0.06,0.11,0.14,0.2,0.2,0.32c0.4,0.68,0.9,1.31,1.44,1.89c0.09,0.09,0.18,0.2,0.27,0.29c0.61,0.61,1.31,1.12,2.07,1.6c0.06,0.05,0.11,0.11,0.2,0.16l48.87,28.21c1.75,1.01,3.71,1.51,5.67,1.51c1.96,0,3.92-0.52,5.67-1.51l48.87-28.21c3.51-2.03,5.67-5.76,5.67-9.81v-56.43c0-4.05-2.16-7.78-5.67-9.81L304.5,369.22z"
960+
fill="#1796E2"
961+
/>
962+
</svg>
963+
)
964+
}
965+
942966
export function DiscordIcon(props: SVGProps<SVGSVGElement>) {
943967
return (
944968
<svg

apps/docs/components/ui/icon-mapping.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ import {
2525
ConfluenceIcon,
2626
CursorIcon,
2727
DatadogIcon,
28+
DevinIcon,
2829
DiscordIcon,
2930
DocumentIcon,
3031
DropboxIcon,
@@ -38,8 +39,8 @@ import {
3839
EyeIcon,
3940
FirecrawlIcon,
4041
FirefliesIcon,
41-
GithubIcon,
4242
GitLabIcon,
43+
GithubIcon,
4344
GmailIcon,
4445
GongIcon,
4546
GoogleBooksIcon,
@@ -72,9 +73,9 @@ import {
7273
LinearIcon,
7374
LinkedInIcon,
7475
LinkupIcon,
76+
MailServerIcon,
7577
MailchimpIcon,
7678
MailgunIcon,
77-
MailServerIcon,
7879
Mem0Icon,
7980
MicrosoftDataverseIcon,
8081
MicrosoftExcelIcon,
@@ -107,6 +108,8 @@ import {
107108
ResendIcon,
108109
RevenueCatIcon,
109110
S3Icon,
111+
SQSIcon,
112+
STTIcon,
110113
SalesforceIcon,
111114
SearchIcon,
112115
SendgridIcon,
@@ -118,19 +121,17 @@ import {
118121
SimilarwebIcon,
119122
SlackIcon,
120123
SmtpIcon,
121-
SQSIcon,
122124
SshIcon,
123-
STTIcon,
124125
StagehandIcon,
125126
StripeIcon,
126127
SupabaseIcon,
128+
TTSIcon,
127129
TavilyIcon,
128130
TelegramIcon,
129131
TextractIcon,
130132
TinybirdIcon,
131133
TranslateIcon,
132134
TrelloIcon,
133-
TTSIcon,
134135
TwilioIcon,
135136
TypeformIcon,
136137
UpstashIcon,
@@ -141,11 +142,11 @@ import {
141142
WhatsAppIcon,
142143
WikipediaIcon,
143144
WordpressIcon,
144-
xIcon,
145145
YouTubeIcon,
146146
ZendeskIcon,
147147
ZepIcon,
148148
ZoomIcon,
149+
xIcon,
149150
} from '@/components/icons'
150151

151152
type IconComponent = ComponentType<SVGProps<SVGSVGElement>>
@@ -171,6 +172,7 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
171172
confluence_v2: ConfluenceIcon,
172173
cursor_v2: CursorIcon,
173174
datadog: DatadogIcon,
175+
devin: DevinIcon,
174176
discord: DiscordIcon,
175177
dropbox: DropboxIcon,
176178
dspy: DsPyIcon,
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
---
2+
title: Devin
3+
description: Autonomous AI software engineer
4+
---
5+
6+
import { BlockInfoCard } from "@/components/ui/block-info-card"
7+
8+
<BlockInfoCard
9+
type="devin"
10+
color="#12141A"
11+
/>
12+
13+
## Usage Instructions
14+
15+
Integrate Devin into your workflow. Create sessions to assign coding tasks, send messages to guide active sessions, and retrieve session status and results. Devin autonomously writes, runs, and tests code.
16+
17+
18+
19+
## Tools
20+
21+
### `devin_create_session`
22+
23+
#### Input
24+
25+
| Parameter | Type | Required | Description |
26+
| --------- | ---- | -------- | ----------- |
27+
28+
#### Output
29+
30+
| Parameter | Type | Description |
31+
| --------- | ---- | ----------- |
32+
| `sessionId` | string | Session identifier |
33+
| `url` | string | URL to view the session in Devin UI |
34+
| `status` | string | Session status \(new, claimed, running, exit, error, suspended, resuming\) |
35+
| `statusDetail` | string | Detailed status \(working, waiting_for_user, finished, etc.\) |
36+
| `title` | string | Session title |
37+
| `createdAt` | number | Creation timestamp \(Unix\) |
38+
| `updatedAt` | number | Last updated timestamp \(Unix\) |
39+
| `acusConsumed` | number | ACUs consumed |
40+
| `tags` | json | Session tags |
41+
| `pullRequests` | json | Pull requests created during the session |
42+
| `structuredOutput` | json | Structured output from the session |
43+
| `sessions` | json | List of sessions |
44+
45+
### `devin_get_session`
46+
47+
#### Input
48+
49+
| Parameter | Type | Required | Description |
50+
| --------- | ---- | -------- | ----------- |
51+
52+
#### Output
53+
54+
| Parameter | Type | Description |
55+
| --------- | ---- | ----------- |
56+
| `sessionId` | string | Session identifier |
57+
| `url` | string | URL to view the session in Devin UI |
58+
| `status` | string | Session status \(new, claimed, running, exit, error, suspended, resuming\) |
59+
| `statusDetail` | string | Detailed status \(working, waiting_for_user, finished, etc.\) |
60+
| `title` | string | Session title |
61+
| `createdAt` | number | Creation timestamp \(Unix\) |
62+
| `updatedAt` | number | Last updated timestamp \(Unix\) |
63+
| `acusConsumed` | number | ACUs consumed |
64+
| `tags` | json | Session tags |
65+
| `pullRequests` | json | Pull requests created during the session |
66+
| `structuredOutput` | json | Structured output from the session |
67+
| `sessions` | json | List of sessions |
68+
69+
### `devin_list_sessions`
70+
71+
#### Input
72+
73+
| Parameter | Type | Required | Description |
74+
| --------- | ---- | -------- | ----------- |
75+
76+
#### Output
77+
78+
| Parameter | Type | Description |
79+
| --------- | ---- | ----------- |
80+
| `sessionId` | string | Session identifier |
81+
| `url` | string | URL to view the session in Devin UI |
82+
| `status` | string | Session status \(new, claimed, running, exit, error, suspended, resuming\) |
83+
| `statusDetail` | string | Detailed status \(working, waiting_for_user, finished, etc.\) |
84+
| `title` | string | Session title |
85+
| `createdAt` | number | Creation timestamp \(Unix\) |
86+
| `updatedAt` | number | Last updated timestamp \(Unix\) |
87+
| `acusConsumed` | number | ACUs consumed |
88+
| `tags` | json | Session tags |
89+
| `pullRequests` | json | Pull requests created during the session |
90+
| `structuredOutput` | json | Structured output from the session |
91+
| `sessions` | json | List of sessions |
92+
93+
### `devin_send_message`
94+
95+
#### Input
96+
97+
| Parameter | Type | Required | Description |
98+
| --------- | ---- | -------- | ----------- |
99+
100+
#### Output
101+
102+
| Parameter | Type | Description |
103+
| --------- | ---- | ----------- |
104+
| `sessionId` | string | Session identifier |
105+
| `url` | string | URL to view the session in Devin UI |
106+
| `status` | string | Session status \(new, claimed, running, exit, error, suspended, resuming\) |
107+
| `statusDetail` | string | Detailed status \(working, waiting_for_user, finished, etc.\) |
108+
| `title` | string | Session title |
109+
| `createdAt` | number | Creation timestamp \(Unix\) |
110+
| `updatedAt` | number | Last updated timestamp \(Unix\) |
111+
| `acusConsumed` | number | ACUs consumed |
112+
| `tags` | json | Session tags |
113+
| `pullRequests` | json | Pull requests created during the session |
114+
| `structuredOutput` | json | Structured output from the session |
115+
| `sessions` | json | List of sessions |
116+
117+

apps/docs/content/docs/en/tools/meta.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"confluence",
2222
"cursor",
2323
"datadog",
24+
"devin",
2425
"discord",
2526
"dropbox",
2627
"dspy",
@@ -146,4 +147,4 @@
146147
"zep",
147148
"zoom"
148149
]
149-
}
150+
}

0 commit comments

Comments
 (0)