@damper/mcp 0.7.1 ā 0.8.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/dist/index.js +8 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -60,6 +60,7 @@ const TaskSummarySchema = z.object({
|
|
|
60
60
|
dueDate: z.string().nullable().optional(),
|
|
61
61
|
feedbackCount: z.number(),
|
|
62
62
|
hasImplementationPlan: z.boolean(),
|
|
63
|
+
publicUrl: z.string().nullable().optional(),
|
|
63
64
|
subtaskProgress: SubtaskProgressSchema.optional(),
|
|
64
65
|
});
|
|
65
66
|
const SubtaskSchema = z.object({
|
|
@@ -87,6 +88,7 @@ const TaskDetailSchema = z.object({
|
|
|
87
88
|
subtasks: z.array(SubtaskSchema).optional(),
|
|
88
89
|
agentNotes: z.string().nullable().optional(),
|
|
89
90
|
commits: z.array(CommitSchema).optional(),
|
|
91
|
+
publicUrl: z.string().nullable().optional(),
|
|
90
92
|
feedback: z.array(z.object({
|
|
91
93
|
id: z.string(),
|
|
92
94
|
title: z.string(),
|
|
@@ -242,6 +244,12 @@ server.registerTool('get_task', {
|
|
|
242
244
|
parts.push(`\n## Feedback (${t.feedback.length})`);
|
|
243
245
|
t.feedback.forEach((f) => parts.push(`- ${f.title} (${f.voterCount} votes)`));
|
|
244
246
|
}
|
|
247
|
+
if (t.publicUrl) {
|
|
248
|
+
parts.push(`\nš Public URL: ${t.publicUrl}`);
|
|
249
|
+
}
|
|
250
|
+
else if (t.publicUrlNote) {
|
|
251
|
+
parts.push(`\nš ${t.publicUrlNote}`);
|
|
252
|
+
}
|
|
245
253
|
// Add workflow reminder for tasks not yet started
|
|
246
254
|
if (t.status === 'planned') {
|
|
247
255
|
parts.push('\n---');
|