@damper/mcp 0.8.0 → 0.8.2
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 +11 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -119,15 +119,15 @@ server.registerTool('list_tasks', {
|
|
|
119
119
|
title: 'List Tasks',
|
|
120
120
|
description: 'Get roadmap tasks. Returns planned/in-progress by default. ' +
|
|
121
121
|
'Filter by type, quarter, etc.\n\n' +
|
|
122
|
-
'Returns up to
|
|
123
|
-
'If total > returned tasks, paginate with offset (e.g. offset=
|
|
122
|
+
'Returns up to 50 tasks by default. Response includes `total` count. ' +
|
|
123
|
+
'If total > returned tasks, paginate with offset (e.g. offset=50 for page 2).\n\n' +
|
|
124
124
|
'**Recommended:** Call `get_project_context` before starting work to understand codebase patterns.',
|
|
125
125
|
inputSchema: z.object({
|
|
126
126
|
status: z.enum(['planned', 'in_progress', 'done', 'all']).optional(),
|
|
127
127
|
type: z.enum(['bug', 'feature', 'improvement', 'task']).optional().describe('Filter by task type'),
|
|
128
128
|
quarter: z.string().optional().describe('Filter by quarter (e.g., "Q1 2025") or "none" for unscheduled'),
|
|
129
129
|
sort: z.enum(['importance', 'newest', 'votes']).optional().describe('Sort order: importance (priority+votes, default), newest, or votes'),
|
|
130
|
-
limit: z.number().optional().describe('Max tasks to return (default:
|
|
130
|
+
limit: z.number().optional().describe('Max tasks to return (default: 50)'),
|
|
131
131
|
offset: z.number().optional().describe('Skip first N tasks for pagination (default: 0)'),
|
|
132
132
|
}),
|
|
133
133
|
outputSchema: z.object({
|
|
@@ -270,8 +270,8 @@ server.registerTool('update_task', {
|
|
|
270
270
|
inputSchema: z.object({
|
|
271
271
|
taskId: z.string().describe('Task ID'),
|
|
272
272
|
title: z.string().optional().describe('Task title'),
|
|
273
|
-
description: z.string().optional().describe('Task description'),
|
|
274
|
-
implementationPlan: z.string().optional().describe('Implementation plan (markdown)'),
|
|
273
|
+
description: z.string().optional().describe('Task description (shown on public roadmap)'),
|
|
274
|
+
implementationPlan: z.string().optional().describe('Implementation plan (markdown, internal only - never shown publicly)'),
|
|
275
275
|
priority: z.enum(['high', 'medium', 'low']).nullable().optional().describe('Task priority'),
|
|
276
276
|
effort: z.enum(['xs', 's', 'm', 'l', 'xl']).nullable().optional().describe('Estimated effort'),
|
|
277
277
|
quarter: z.string().nullable().optional().describe('Target quarter (e.g., "Q1 2025", "Q2 2025")'),
|
|
@@ -353,11 +353,11 @@ server.registerTool('create_task', {
|
|
|
353
353
|
inputSchema: z.object({
|
|
354
354
|
title: z.string().describe('Task title. Use verb prefix matching the type: ' +
|
|
355
355
|
'bug → "Fix …", feature → "Add …", improvement → "Improve …", task → "Set up …" / "Update …"'),
|
|
356
|
-
description: z.string().optional(),
|
|
356
|
+
description: z.string().optional().describe('Task description (shown on public roadmap)'),
|
|
357
357
|
type: z.enum(['bug', 'feature', 'improvement', 'task']).optional().describe('Task type (default: feature)'),
|
|
358
358
|
status: z.enum(['planned', 'in_progress', 'done']).optional(),
|
|
359
359
|
priority: z.enum(['high', 'medium', 'low']).optional().describe('Task priority'),
|
|
360
|
-
implementationPlan: z.string().optional(),
|
|
360
|
+
implementationPlan: z.string().optional().describe('Implementation plan (markdown, internal only - never shown publicly)'),
|
|
361
361
|
isPublic: z.boolean().optional().describe('Whether task is visible on public roadmap (default: true)'),
|
|
362
362
|
}),
|
|
363
363
|
outputSchema: z.object({
|
|
@@ -781,8 +781,10 @@ This project uses Damper MCP for task tracking. **You MUST follow this workflow.
|
|
|
781
781
|
- \`update_project_settings\` - Configure completion checklist and other agent-relevant settings
|
|
782
782
|
|
|
783
783
|
### At Session End (MANDATORY)
|
|
784
|
-
- **
|
|
785
|
-
-
|
|
784
|
+
- **Do NOT commit or complete tasks without explicit user confirmation**
|
|
785
|
+
- If a task is still in progress, **ask the user** whether to:
|
|
786
|
+
1. **Complete the task now** - The active agent (you) should finish the completion flow: push commits, verify the completion checklist, and call \`complete_task\`. You have the full context, so you're best positioned to do this correctly.
|
|
787
|
+
2. **Abandon and hand off** - Call \`abandon_task\` with a detailed handoff summary for the next agent.
|
|
786
788
|
- NEVER leave a started task without completing or abandoning it
|
|
787
789
|
- If the project has a **completion checklist** (shown in \`start_task\` response), you MUST pass all items as \`confirmations\` when calling \`complete_task\`
|
|
788
790
|
- If you learned something about the codebase, consider updating project context
|