@damper/mcp 0.3.17 → 0.3.18
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 +3 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -240,12 +240,10 @@ server.registerTool('get_task', {
|
|
|
240
240
|
// Tool: Update task
|
|
241
241
|
server.registerTool('update_task', {
|
|
242
242
|
title: 'Update Task',
|
|
243
|
-
description: 'Update task fields like
|
|
244
|
-
'Useful for refining task details as you learn more about the work.
|
|
245
|
-
'Use title to set a concise task name after planning (especially for CLI-created tasks with placeholder titles).',
|
|
243
|
+
description: 'Update task fields like description, implementation plan, priority, effort, quarter, labels, or visibility. ' +
|
|
244
|
+
'Useful for refining task details as you learn more about the work.',
|
|
246
245
|
inputSchema: z.object({
|
|
247
246
|
taskId: z.string().describe('Task ID'),
|
|
248
|
-
title: z.string().optional().describe('Concise task title (e.g., "Fix SSO redirect login flow")'),
|
|
249
247
|
description: z.string().optional().describe('Task description'),
|
|
250
248
|
implementationPlan: z.string().optional().describe('Implementation plan (markdown)'),
|
|
251
249
|
priority: z.enum(['high', 'medium', 'low']).nullable().optional().describe('Task priority'),
|
|
@@ -271,10 +269,8 @@ server.registerTool('update_task', {
|
|
|
271
269
|
idempotentHint: true,
|
|
272
270
|
openWorldHint: false,
|
|
273
271
|
},
|
|
274
|
-
}, async ({ taskId,
|
|
272
|
+
}, async ({ taskId, description, implementationPlan, priority, effort, quarter, labels, isPublic }) => {
|
|
275
273
|
const body = {};
|
|
276
|
-
if (title !== undefined)
|
|
277
|
-
body.title = title;
|
|
278
274
|
if (description !== undefined)
|
|
279
275
|
body.description = description;
|
|
280
276
|
if (implementationPlan !== undefined)
|
|
@@ -291,8 +287,6 @@ server.registerTool('update_task', {
|
|
|
291
287
|
body.isPublic = isPublic;
|
|
292
288
|
const result = await api('PATCH', `/api/agent/tasks/${taskId}`, body);
|
|
293
289
|
const updates = [];
|
|
294
|
-
if (title !== undefined)
|
|
295
|
-
updates.push(`title="${title}"`);
|
|
296
290
|
if (description !== undefined)
|
|
297
291
|
updates.push('description');
|
|
298
292
|
if (implementationPlan !== undefined)
|