@dobbyai/mcp-external 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +527 -0
- package/dist/connectors/claude-desktop.d.ts +26 -0
- package/dist/connectors/claude-desktop.d.ts.map +1 -0
- package/dist/connectors/claude-desktop.js +133 -0
- package/dist/connectors/claude-desktop.js.map +1 -0
- package/dist/connectors/cursor.d.ts +25 -0
- package/dist/connectors/cursor.d.ts.map +1 -0
- package/dist/connectors/cursor.js +115 -0
- package/dist/connectors/cursor.js.map +1 -0
- package/dist/connectors/index.d.ts +11 -0
- package/dist/connectors/index.d.ts.map +1 -0
- package/dist/connectors/index.js +11 -0
- package/dist/connectors/index.js.map +1 -0
- package/dist/connectors/setup.d.ts +12 -0
- package/dist/connectors/setup.d.ts.map +1 -0
- package/dist/connectors/setup.js +230 -0
- package/dist/connectors/setup.js.map +1 -0
- package/dist/connectors/vscode.d.ts +25 -0
- package/dist/connectors/vscode.d.ts.map +1 -0
- package/dist/connectors/vscode.js +63 -0
- package/dist/connectors/vscode.js.map +1 -0
- package/dist/connectors/windsurf.d.ts +25 -0
- package/dist/connectors/windsurf.d.ts.map +1 -0
- package/dist/connectors/windsurf.js +115 -0
- package/dist/connectors/windsurf.js.map +1 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +185 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/dobby-client.d.ts +195 -0
- package/dist/lib/dobby-client.d.ts.map +1 -0
- package/dist/lib/dobby-client.js +219 -0
- package/dist/lib/dobby-client.js.map +1 -0
- package/dist/prompts/index.d.ts +25 -0
- package/dist/prompts/index.d.ts.map +1 -0
- package/dist/prompts/index.js +208 -0
- package/dist/prompts/index.js.map +1 -0
- package/dist/resources/index.d.ts +27 -0
- package/dist/resources/index.d.ts.map +1 -0
- package/dist/resources/index.js +182 -0
- package/dist/resources/index.js.map +1 -0
- package/dist/tools/approvals.d.ts +104 -0
- package/dist/tools/approvals.d.ts.map +1 -0
- package/dist/tools/approvals.js +164 -0
- package/dist/tools/approvals.js.map +1 -0
- package/dist/tools/index.d.ts +260 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +215 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/tools/messages.d.ts +68 -0
- package/dist/tools/messages.d.ts.map +1 -0
- package/dist/tools/messages.js +105 -0
- package/dist/tools/messages.js.map +1 -0
- package/dist/tools/tasks.d.ts +180 -0
- package/dist/tools/tasks.d.ts.map +1 -0
- package/dist/tools/tasks.js +344 -0
- package/dist/tools/tasks.js.map +1 -0
- package/package.json +62 -0
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Task Management Tools
|
|
3
|
+
*
|
|
4
|
+
* MCP tools for managing Dobby tasks.
|
|
5
|
+
*/
|
|
6
|
+
import { DobbyClient } from '../lib/dobby-client.js';
|
|
7
|
+
export declare const taskTools: {
|
|
8
|
+
create_task: {
|
|
9
|
+
name: string;
|
|
10
|
+
description: string;
|
|
11
|
+
inputSchema: {
|
|
12
|
+
type: "object";
|
|
13
|
+
properties: {
|
|
14
|
+
title: {
|
|
15
|
+
type: string;
|
|
16
|
+
description: string;
|
|
17
|
+
};
|
|
18
|
+
description: {
|
|
19
|
+
type: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
priority: {
|
|
23
|
+
type: string;
|
|
24
|
+
enum: string[];
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
27
|
+
link_to_task_id: {
|
|
28
|
+
type: string;
|
|
29
|
+
description: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
required: string[];
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
list_tasks: {
|
|
36
|
+
name: string;
|
|
37
|
+
description: string;
|
|
38
|
+
inputSchema: {
|
|
39
|
+
type: "object";
|
|
40
|
+
properties: {
|
|
41
|
+
status: {
|
|
42
|
+
type: string;
|
|
43
|
+
enum: string[];
|
|
44
|
+
description: string;
|
|
45
|
+
};
|
|
46
|
+
priority: {
|
|
47
|
+
type: string;
|
|
48
|
+
enum: string[];
|
|
49
|
+
description: string;
|
|
50
|
+
};
|
|
51
|
+
limit: {
|
|
52
|
+
type: string;
|
|
53
|
+
description: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
get_task: {
|
|
59
|
+
name: string;
|
|
60
|
+
description: string;
|
|
61
|
+
inputSchema: {
|
|
62
|
+
type: "object";
|
|
63
|
+
properties: {
|
|
64
|
+
task_id: {
|
|
65
|
+
type: string;
|
|
66
|
+
description: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
required: string[];
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
update_task: {
|
|
73
|
+
name: string;
|
|
74
|
+
description: string;
|
|
75
|
+
inputSchema: {
|
|
76
|
+
type: "object";
|
|
77
|
+
properties: {
|
|
78
|
+
task_id: {
|
|
79
|
+
type: string;
|
|
80
|
+
description: string;
|
|
81
|
+
};
|
|
82
|
+
status: {
|
|
83
|
+
type: string;
|
|
84
|
+
enum: string[];
|
|
85
|
+
description: string;
|
|
86
|
+
};
|
|
87
|
+
priority: {
|
|
88
|
+
type: string;
|
|
89
|
+
enum: string[];
|
|
90
|
+
description: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
required: string[];
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
get_task_timeline: {
|
|
97
|
+
name: string;
|
|
98
|
+
description: string;
|
|
99
|
+
inputSchema: {
|
|
100
|
+
type: "object";
|
|
101
|
+
properties: {
|
|
102
|
+
task_id: {
|
|
103
|
+
type: string;
|
|
104
|
+
description: string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
required: string[];
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
cancel_task: {
|
|
111
|
+
name: string;
|
|
112
|
+
description: string;
|
|
113
|
+
inputSchema: {
|
|
114
|
+
type: "object";
|
|
115
|
+
properties: {
|
|
116
|
+
task_id: {
|
|
117
|
+
type: string;
|
|
118
|
+
description: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
required: string[];
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
export declare function handleCreateTask(client: DobbyClient, args: {
|
|
126
|
+
title: string;
|
|
127
|
+
description?: string;
|
|
128
|
+
priority?: 'high' | 'medium' | 'low';
|
|
129
|
+
link_to_task_id?: string;
|
|
130
|
+
}): Promise<{
|
|
131
|
+
content: {
|
|
132
|
+
type: "text";
|
|
133
|
+
text: string;
|
|
134
|
+
}[];
|
|
135
|
+
}>;
|
|
136
|
+
export declare function handleListTasks(client: DobbyClient, args: {
|
|
137
|
+
status?: string;
|
|
138
|
+
priority?: string;
|
|
139
|
+
limit?: number;
|
|
140
|
+
}): Promise<{
|
|
141
|
+
content: {
|
|
142
|
+
type: "text";
|
|
143
|
+
text: string;
|
|
144
|
+
}[];
|
|
145
|
+
}>;
|
|
146
|
+
export declare function handleGetTask(client: DobbyClient, args: {
|
|
147
|
+
task_id: string;
|
|
148
|
+
}): Promise<{
|
|
149
|
+
content: {
|
|
150
|
+
type: "text";
|
|
151
|
+
text: string;
|
|
152
|
+
}[];
|
|
153
|
+
}>;
|
|
154
|
+
export declare function handleUpdateTask(client: DobbyClient, args: {
|
|
155
|
+
task_id: string;
|
|
156
|
+
status?: string;
|
|
157
|
+
priority?: string;
|
|
158
|
+
}): Promise<{
|
|
159
|
+
content: {
|
|
160
|
+
type: "text";
|
|
161
|
+
text: string;
|
|
162
|
+
}[];
|
|
163
|
+
}>;
|
|
164
|
+
export declare function handleGetTaskTimeline(client: DobbyClient, args: {
|
|
165
|
+
task_id: string;
|
|
166
|
+
}): Promise<{
|
|
167
|
+
content: {
|
|
168
|
+
type: "text";
|
|
169
|
+
text: string;
|
|
170
|
+
}[];
|
|
171
|
+
}>;
|
|
172
|
+
export declare function handleCancelTask(client: DobbyClient, args: {
|
|
173
|
+
task_id: string;
|
|
174
|
+
}): Promise<{
|
|
175
|
+
content: {
|
|
176
|
+
type: "text";
|
|
177
|
+
text: string;
|
|
178
|
+
}[];
|
|
179
|
+
}>;
|
|
180
|
+
//# sourceMappingURL=tasks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../src/tools/tasks.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAMrD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgIrB,CAAC;AAMF,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,WAAW,EACnB,IAAI,EAAE;IACJ,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,KAAK,CAAC;IACrC,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;;;;;GAiBF;AAED,wBAAsB,eAAe,CACnC,MAAM,EAAE,WAAW,EACnB,IAAI,EAAE;IACJ,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;;;;;GA+CF;AAED,wBAAsB,aAAa,CACjC,MAAM,EAAE,WAAW,EACnB,IAAI,EAAE;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE;;;;;GAsD1B;AAED,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,WAAW,EACnB,IAAI,EAAE;IACJ,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;;;;;GAmBF;AAED,wBAAsB,qBAAqB,CACzC,MAAM,EAAE,WAAW,EACnB,IAAI,EAAE;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE;;;;;GAgE1B;AAED,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,WAAW,EACnB,IAAI,EAAE;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE;;;;;GAuB1B"}
|
|
@@ -0,0 +1,344 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Task Management Tools
|
|
3
|
+
*
|
|
4
|
+
* MCP tools for managing Dobby tasks.
|
|
5
|
+
*/
|
|
6
|
+
// ============================================
|
|
7
|
+
// Tool Definitions
|
|
8
|
+
// ============================================
|
|
9
|
+
export const taskTools = {
|
|
10
|
+
// Create a new task
|
|
11
|
+
create_task: {
|
|
12
|
+
name: 'create_task',
|
|
13
|
+
description: 'Create a new task in Dobby for the AI agents to work on',
|
|
14
|
+
inputSchema: {
|
|
15
|
+
type: 'object',
|
|
16
|
+
properties: {
|
|
17
|
+
title: {
|
|
18
|
+
type: 'string',
|
|
19
|
+
description: 'Title of the task (e.g., "Add user authentication")',
|
|
20
|
+
},
|
|
21
|
+
description: {
|
|
22
|
+
type: 'string',
|
|
23
|
+
description: 'Detailed description of what needs to be done',
|
|
24
|
+
},
|
|
25
|
+
priority: {
|
|
26
|
+
type: 'string',
|
|
27
|
+
enum: ['high', 'medium', 'low'],
|
|
28
|
+
description: 'Task priority (default: medium)',
|
|
29
|
+
},
|
|
30
|
+
link_to_task_id: {
|
|
31
|
+
type: 'string',
|
|
32
|
+
description: 'Optional: Link to a related task',
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
required: ['title'],
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
// List tasks
|
|
39
|
+
list_tasks: {
|
|
40
|
+
name: 'list_tasks',
|
|
41
|
+
description: 'List tasks from Dobby with optional filters',
|
|
42
|
+
inputSchema: {
|
|
43
|
+
type: 'object',
|
|
44
|
+
properties: {
|
|
45
|
+
status: {
|
|
46
|
+
type: 'string',
|
|
47
|
+
enum: ['pending', 'in_progress', 'completed', 'failed', 'all'],
|
|
48
|
+
description: 'Filter by status (default: all)',
|
|
49
|
+
},
|
|
50
|
+
priority: {
|
|
51
|
+
type: 'string',
|
|
52
|
+
enum: ['high', 'medium', 'low'],
|
|
53
|
+
description: 'Filter by priority',
|
|
54
|
+
},
|
|
55
|
+
limit: {
|
|
56
|
+
type: 'number',
|
|
57
|
+
description: 'Maximum number of tasks to return (default: 20)',
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
// Get single task
|
|
63
|
+
get_task: {
|
|
64
|
+
name: 'get_task',
|
|
65
|
+
description: 'Get detailed information about a specific task',
|
|
66
|
+
inputSchema: {
|
|
67
|
+
type: 'object',
|
|
68
|
+
properties: {
|
|
69
|
+
task_id: {
|
|
70
|
+
type: 'string',
|
|
71
|
+
description: 'The task ID to retrieve',
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
required: ['task_id'],
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
// Update task
|
|
78
|
+
update_task: {
|
|
79
|
+
name: 'update_task',
|
|
80
|
+
description: 'Update a task status or priority',
|
|
81
|
+
inputSchema: {
|
|
82
|
+
type: 'object',
|
|
83
|
+
properties: {
|
|
84
|
+
task_id: {
|
|
85
|
+
type: 'string',
|
|
86
|
+
description: 'The task ID to update',
|
|
87
|
+
},
|
|
88
|
+
status: {
|
|
89
|
+
type: 'string',
|
|
90
|
+
enum: ['pending', 'in_progress', 'completed', 'failed', 'cancelled'],
|
|
91
|
+
description: 'New status',
|
|
92
|
+
},
|
|
93
|
+
priority: {
|
|
94
|
+
type: 'string',
|
|
95
|
+
enum: ['high', 'medium', 'low'],
|
|
96
|
+
description: 'New priority',
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
required: ['task_id'],
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
// Get task timeline (activity feed)
|
|
103
|
+
get_task_timeline: {
|
|
104
|
+
name: 'get_task_timeline',
|
|
105
|
+
description: 'Get the activity timeline for a task (agent events, status changes, approvals)',
|
|
106
|
+
inputSchema: {
|
|
107
|
+
type: 'object',
|
|
108
|
+
properties: {
|
|
109
|
+
task_id: {
|
|
110
|
+
type: 'string',
|
|
111
|
+
description: 'The task ID to get timeline for',
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
required: ['task_id'],
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
// Cancel task execution
|
|
118
|
+
cancel_task: {
|
|
119
|
+
name: 'cancel_task',
|
|
120
|
+
description: 'Cancel a running task execution',
|
|
121
|
+
inputSchema: {
|
|
122
|
+
type: 'object',
|
|
123
|
+
properties: {
|
|
124
|
+
task_id: {
|
|
125
|
+
type: 'string',
|
|
126
|
+
description: 'The task ID to cancel',
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
required: ['task_id'],
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
};
|
|
133
|
+
// ============================================
|
|
134
|
+
// Tool Handlers
|
|
135
|
+
// ============================================
|
|
136
|
+
export async function handleCreateTask(client, args) {
|
|
137
|
+
const result = await client.createTask({
|
|
138
|
+
title: args.title,
|
|
139
|
+
description: args.description,
|
|
140
|
+
priority: args.priority || 'medium',
|
|
141
|
+
link_to_task_id: args.link_to_task_id,
|
|
142
|
+
});
|
|
143
|
+
return {
|
|
144
|
+
content: [
|
|
145
|
+
{
|
|
146
|
+
type: 'text',
|
|
147
|
+
text: `✅ Task created successfully!\n\nTask ID: ${result.task_id}\nTitle: ${args.title}\nPriority: ${args.priority || 'medium'}\n\nThe task has been added to the queue. AI agents will start working on it soon.`,
|
|
148
|
+
},
|
|
149
|
+
],
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
export async function handleListTasks(client, args) {
|
|
153
|
+
const tasks = await client.listTasks({
|
|
154
|
+
status: args.status === 'all' ? undefined : args.status,
|
|
155
|
+
priority: args.priority,
|
|
156
|
+
limit: args.limit || 20,
|
|
157
|
+
});
|
|
158
|
+
if (tasks.length === 0) {
|
|
159
|
+
return {
|
|
160
|
+
content: [
|
|
161
|
+
{
|
|
162
|
+
type: 'text',
|
|
163
|
+
text: 'No tasks found matching the criteria.',
|
|
164
|
+
},
|
|
165
|
+
],
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
const taskList = tasks
|
|
169
|
+
.map((task, i) => {
|
|
170
|
+
const statusEmoji = {
|
|
171
|
+
pending: '⏳',
|
|
172
|
+
in_progress: '🔄',
|
|
173
|
+
completed: '✅',
|
|
174
|
+
failed: '❌',
|
|
175
|
+
cancelled: '🚫',
|
|
176
|
+
}[task.status] || '❓';
|
|
177
|
+
const priorityEmoji = {
|
|
178
|
+
high: '🔴',
|
|
179
|
+
medium: '🟡',
|
|
180
|
+
low: '🟢',
|
|
181
|
+
}[task.priority || 'medium'] || '';
|
|
182
|
+
return `${i + 1}. ${statusEmoji} ${priorityEmoji} **${task.title}**\n ID: \`${task.task_id}\`\n Status: ${task.status}${task.pr_url ? `\n PR: ${task.pr_url}` : ''}`;
|
|
183
|
+
})
|
|
184
|
+
.join('\n\n');
|
|
185
|
+
return {
|
|
186
|
+
content: [
|
|
187
|
+
{
|
|
188
|
+
type: 'text',
|
|
189
|
+
text: `Found ${tasks.length} task(s):\n\n${taskList}`,
|
|
190
|
+
},
|
|
191
|
+
],
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
export async function handleGetTask(client, args) {
|
|
195
|
+
const task = await client.getTask(args.task_id);
|
|
196
|
+
if (!task) {
|
|
197
|
+
return {
|
|
198
|
+
content: [
|
|
199
|
+
{
|
|
200
|
+
type: 'text',
|
|
201
|
+
text: `❌ Task not found: ${args.task_id}`,
|
|
202
|
+
},
|
|
203
|
+
],
|
|
204
|
+
};
|
|
205
|
+
}
|
|
206
|
+
const statusEmoji = {
|
|
207
|
+
pending: '⏳',
|
|
208
|
+
in_progress: '🔄',
|
|
209
|
+
completed: '✅',
|
|
210
|
+
failed: '❌',
|
|
211
|
+
cancelled: '🚫',
|
|
212
|
+
}[task.status] || '❓';
|
|
213
|
+
let details = `# ${statusEmoji} ${task.title}\n\n`;
|
|
214
|
+
details += `**Task ID:** \`${task.task_id}\`\n`;
|
|
215
|
+
details += `**Status:** ${task.status}\n`;
|
|
216
|
+
details += `**Priority:** ${task.priority || 'medium'}\n`;
|
|
217
|
+
details += `**Created:** ${task.created_at}\n`;
|
|
218
|
+
details += `**Updated:** ${task.updated_at}\n`;
|
|
219
|
+
if (task.description) {
|
|
220
|
+
details += `\n## Description\n${task.description}\n`;
|
|
221
|
+
}
|
|
222
|
+
if (task.pr_url) {
|
|
223
|
+
details += `\n## Pull Request\n${task.pr_url}\n`;
|
|
224
|
+
}
|
|
225
|
+
if (task.branch_name) {
|
|
226
|
+
details += `**Branch:** ${task.branch_name}\n`;
|
|
227
|
+
}
|
|
228
|
+
if (task.result_summary) {
|
|
229
|
+
details += `\n## Result Summary\n${task.result_summary}\n`;
|
|
230
|
+
}
|
|
231
|
+
return {
|
|
232
|
+
content: [
|
|
233
|
+
{
|
|
234
|
+
type: 'text',
|
|
235
|
+
text: details,
|
|
236
|
+
},
|
|
237
|
+
],
|
|
238
|
+
};
|
|
239
|
+
}
|
|
240
|
+
export async function handleUpdateTask(client, args) {
|
|
241
|
+
await client.updateTask(args.task_id, {
|
|
242
|
+
status: args.status,
|
|
243
|
+
priority: args.priority,
|
|
244
|
+
});
|
|
245
|
+
const updates = [];
|
|
246
|
+
if (args.status)
|
|
247
|
+
updates.push(`Status → ${args.status}`);
|
|
248
|
+
if (args.priority)
|
|
249
|
+
updates.push(`Priority → ${args.priority}`);
|
|
250
|
+
return {
|
|
251
|
+
content: [
|
|
252
|
+
{
|
|
253
|
+
type: 'text',
|
|
254
|
+
text: `✅ Task ${args.task_id} updated:\n${updates.join('\n')}`,
|
|
255
|
+
},
|
|
256
|
+
],
|
|
257
|
+
};
|
|
258
|
+
}
|
|
259
|
+
export async function handleGetTaskTimeline(client, args) {
|
|
260
|
+
const timeline = await client.getTaskTimeline(args.task_id);
|
|
261
|
+
if (timeline.length === 0) {
|
|
262
|
+
return {
|
|
263
|
+
content: [
|
|
264
|
+
{
|
|
265
|
+
type: 'text',
|
|
266
|
+
text: `No timeline events found for task ${args.task_id}`,
|
|
267
|
+
},
|
|
268
|
+
],
|
|
269
|
+
};
|
|
270
|
+
}
|
|
271
|
+
const eventEmojis = {
|
|
272
|
+
'task_created': '🆕',
|
|
273
|
+
'status_changed': '🔄',
|
|
274
|
+
'plan_created': '📋',
|
|
275
|
+
'subtask_started': '▶️',
|
|
276
|
+
'subtask_completed': '✅',
|
|
277
|
+
'code_generated': '💻',
|
|
278
|
+
'frontend_code_generated': '🎨',
|
|
279
|
+
'tests_run': '🧪',
|
|
280
|
+
'pr_created': '📝',
|
|
281
|
+
'pr_merged': '🔀',
|
|
282
|
+
'approval_requested': '⏳',
|
|
283
|
+
'approval_approved': '✅',
|
|
284
|
+
'approval_rejected': '❌',
|
|
285
|
+
'agent_continuation_triggered': '🚀',
|
|
286
|
+
'continuation_after_approval_completed': '🎉',
|
|
287
|
+
'agent_retry_triggered': '🔁',
|
|
288
|
+
'retry_after_rejection_completed': '✨',
|
|
289
|
+
'execution_cancelled': '🛑',
|
|
290
|
+
};
|
|
291
|
+
const timelineText = timeline
|
|
292
|
+
.slice(0, 20) // Limit to last 20 events
|
|
293
|
+
.map((event) => {
|
|
294
|
+
const emoji = eventEmojis[event.event_type] || '📌';
|
|
295
|
+
const time = new Date(event.created_at).toLocaleString();
|
|
296
|
+
const agent = event.agent_name ? ` (${event.agent_name})` : '';
|
|
297
|
+
let details = '';
|
|
298
|
+
if (event.details && typeof event.details === 'object') {
|
|
299
|
+
const d = event.details;
|
|
300
|
+
if (d.new_status)
|
|
301
|
+
details = ` → ${d.new_status}`;
|
|
302
|
+
if (d.pr_number)
|
|
303
|
+
details = ` PR #${d.pr_number}`;
|
|
304
|
+
if (d.error)
|
|
305
|
+
details = ` Error: ${d.error}`;
|
|
306
|
+
if (d.feedback)
|
|
307
|
+
details = ` Feedback: "${d.feedback.slice(0, 50)}..."`;
|
|
308
|
+
}
|
|
309
|
+
return `${emoji} **${event.event_type.replace(/_/g, ' ')}**${agent}${details}\n ${time}`;
|
|
310
|
+
})
|
|
311
|
+
.join('\n\n');
|
|
312
|
+
return {
|
|
313
|
+
content: [
|
|
314
|
+
{
|
|
315
|
+
type: 'text',
|
|
316
|
+
text: `# 📊 Timeline for Task ${args.task_id}\n\n${timelineText}`,
|
|
317
|
+
},
|
|
318
|
+
],
|
|
319
|
+
};
|
|
320
|
+
}
|
|
321
|
+
export async function handleCancelTask(client, args) {
|
|
322
|
+
const result = await client.cancelTaskExecution(args.task_id);
|
|
323
|
+
if (result.success) {
|
|
324
|
+
return {
|
|
325
|
+
content: [
|
|
326
|
+
{
|
|
327
|
+
type: 'text',
|
|
328
|
+
text: `🛑 Task ${args.task_id} execution cancelled successfully.\n\nThe task status has been reverted to pending.`,
|
|
329
|
+
},
|
|
330
|
+
],
|
|
331
|
+
};
|
|
332
|
+
}
|
|
333
|
+
else {
|
|
334
|
+
return {
|
|
335
|
+
content: [
|
|
336
|
+
{
|
|
337
|
+
type: 'text',
|
|
338
|
+
text: `⚠️ Could not cancel task ${args.task_id}.\n\n${result.message || 'Task may not be running or was already completed.'}`,
|
|
339
|
+
},
|
|
340
|
+
],
|
|
341
|
+
};
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
//# sourceMappingURL=tasks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tasks.js","sourceRoot":"","sources":["../../src/tools/tasks.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,+CAA+C;AAC/C,mBAAmB;AACnB,+CAA+C;AAE/C,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,oBAAo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BACE,IAAI,EAAE,MAAe;gBACrB,IAAI,EAAE,0BAA0B,IAAI,CAAC,OAAO,OAAO,YAAY,EAAE;aAClE;SACF;KACF,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,gBAAgB,CACpC,MAAmB,EACnB,IAAyB;IAEzB,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,mBAAmB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAE9D,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;QACnB,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAe;oBACrB,IAAI,EAAE,WAAW,IAAI,CAAC,OAAO,qFAAqF;iBACnH;aACF;SACF,CAAC;IACJ,CAAC;SAAM,CAAC;QACN,OAAO;YACL,OAAO,EAAE;gBACP;oBACE,IAAI,EAAE,MAAe;oBACrB,IAAI,EAAE,4BAA4B,IAAI,CAAC,OAAO,QAAQ,MAAM,CAAC,OAAO,IAAI,mDAAmD,EAAE;iBAC9H;aACF;SACF,CAAC;IACJ,CAAC;AACH,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dobbyai/mcp-external",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "MCP Server for Dobby AI Platform - Connect from Claude Desktop, Cursor, Windsurf, and more",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"bin": {
|
|
8
|
+
"dobby-mcp": "./dist/index.js"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "tsc && shx chmod +x dist/index.js",
|
|
12
|
+
"prepare": "npm run build",
|
|
13
|
+
"prepublishOnly": "npm run build",
|
|
14
|
+
"dev": "tsx watch src/index.ts",
|
|
15
|
+
"start": "node dist/index.js",
|
|
16
|
+
"start:stdio": "node dist/index.js --transport stdio",
|
|
17
|
+
"start:http": "node dist/index.js --transport http --port 3001",
|
|
18
|
+
"setup": "tsx src/setup/interactive.ts",
|
|
19
|
+
"setup:claude": "tsx src/connectors/claude-desktop.ts --setup",
|
|
20
|
+
"setup:cursor": "tsx src/connectors/cursor.ts --setup",
|
|
21
|
+
"setup:windsurf": "tsx src/connectors/windsurf.ts --setup",
|
|
22
|
+
"test": "vitest"
|
|
23
|
+
},
|
|
24
|
+
"keywords": [
|
|
25
|
+
"mcp",
|
|
26
|
+
"model-context-protocol",
|
|
27
|
+
"dobby",
|
|
28
|
+
"ai-agents",
|
|
29
|
+
"claude",
|
|
30
|
+
"cursor",
|
|
31
|
+
"windsurf"
|
|
32
|
+
],
|
|
33
|
+
"author": "Dobby AI Platform",
|
|
34
|
+
"license": "MIT",
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
37
|
+
"commander": "^12.0.0",
|
|
38
|
+
"dotenv": "^16.4.0",
|
|
39
|
+
"inquirer": "^9.2.0",
|
|
40
|
+
"node-fetch": "^3.3.0",
|
|
41
|
+
"zod": "^3.22.0"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@types/inquirer": "^9.0.0",
|
|
45
|
+
"@types/node": "^20.0.0",
|
|
46
|
+
"shx": "^0.3.4",
|
|
47
|
+
"tsx": "^4.7.0",
|
|
48
|
+
"typescript": "^5.3.0",
|
|
49
|
+
"vitest": "^1.2.0"
|
|
50
|
+
},
|
|
51
|
+
"engines": {
|
|
52
|
+
"node": ">=18.0.0"
|
|
53
|
+
},
|
|
54
|
+
"files": [
|
|
55
|
+
"dist",
|
|
56
|
+
"README.md"
|
|
57
|
+
],
|
|
58
|
+
"repository": {
|
|
59
|
+
"type": "git",
|
|
60
|
+
"url": "https://github.com/dobby-ai/dobby.git"
|
|
61
|
+
}
|
|
62
|
+
}
|