@damper/mcp 0.3.15 → 0.3.16
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 +9 -16
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -372,10 +372,8 @@ server.registerTool('start_task', {
|
|
|
372
372
|
'Project context contains architecture and patterns you MUST follow.\n\n' +
|
|
373
373
|
'**Workflow after starting:**\n' +
|
|
374
374
|
'1. Read relevant context sections (architecture, conventions, etc.)\n' +
|
|
375
|
-
'2.
|
|
376
|
-
'3.
|
|
377
|
-
'4. add_note: "Session end: <summary, next steps>"\n' +
|
|
378
|
-
'5. complete_task (done) or abandon_task (stopping)',
|
|
375
|
+
'2. Do work, log commits with add_commit\n' +
|
|
376
|
+
'3. complete_task (done) or abandon_task (stopping)',
|
|
379
377
|
inputSchema: z.object({
|
|
380
378
|
taskId: z.string(),
|
|
381
379
|
force: z.boolean().optional().describe('Take over lock from another agent'),
|
|
@@ -430,13 +428,11 @@ server.registerTool('start_task', {
|
|
|
430
428
|
// Tool: Add note
|
|
431
429
|
server.registerTool('add_note', {
|
|
432
430
|
title: 'Add Note',
|
|
433
|
-
description: 'Add
|
|
431
|
+
description: 'Add a note to a task. Use ONLY for non-obvious approach decisions and blockers.\n\n' +
|
|
434
432
|
'**When to use:**\n' +
|
|
435
|
-
'- Session start: "Session started: implementing X"\n' +
|
|
436
433
|
'- Decisions: "Decision: Using X because Y"\n' +
|
|
437
|
-
'-
|
|
438
|
-
'**
|
|
439
|
-
'**Important:** Always log session end before complete_task or abandon_task.',
|
|
434
|
+
'- Blockers: "Blocked: X needs Y before we can proceed"\n\n' +
|
|
435
|
+
'**Do NOT use for:** Session start/end ceremony, commit logging (use `add_commit`), or restating what code changes do.',
|
|
440
436
|
inputSchema: z.object({
|
|
441
437
|
taskId: z.string(),
|
|
442
438
|
note: z.string(),
|
|
@@ -569,16 +565,15 @@ const DocumentationSchema = z.object({
|
|
|
569
565
|
// Tool: Complete task
|
|
570
566
|
server.registerTool('complete_task', {
|
|
571
567
|
title: 'Complete Task',
|
|
572
|
-
description: 'Mark task done with summary. Optionally log final commits at completion.\n\n' +
|
|
568
|
+
description: 'Mark task done with a brief one-line summary. Optionally log final commits at completion.\n\n' +
|
|
573
569
|
'**Before calling:**\n' +
|
|
574
570
|
'1. Push all commits\n' +
|
|
575
|
-
'2.
|
|
576
|
-
'3. Check if project context docs need updating\n\n' +
|
|
571
|
+
'2. Check if project context docs need updating\n\n' +
|
|
577
572
|
'**Commits:** Pass commits array to log them at completion (convenience for final commits).\n\n' +
|
|
578
573
|
'Returns documentation update suggestions.',
|
|
579
574
|
inputSchema: z.object({
|
|
580
575
|
taskId: z.string(),
|
|
581
|
-
summary: z.string().describe('
|
|
576
|
+
summary: z.string().describe('Brief one-line summary of what was done'),
|
|
582
577
|
commits: z.array(z.object({
|
|
583
578
|
hash: z.string().describe('Commit hash (short or full)'),
|
|
584
579
|
message: z.string().describe('Commit message'),
|
|
@@ -607,8 +602,7 @@ server.registerTool('abandon_task', {
|
|
|
607
602
|
title: 'Abandon Task',
|
|
608
603
|
description: 'Release lock and return task to planned status. Use when stopping work.\n\n' +
|
|
609
604
|
'**Before calling:**\n' +
|
|
610
|
-
'1. Push any WIP commits\n' +
|
|
611
|
-
'2. add_note: "Session end: <progress, blockers, next steps>"\n\n' +
|
|
605
|
+
'1. Push any WIP commits\n\n' +
|
|
612
606
|
'**Summary parameter:** What was done, what remains, blockers. Helps the next agent.',
|
|
613
607
|
inputSchema: z.object({
|
|
614
608
|
taskId: z.string(),
|
|
@@ -686,7 +680,6 @@ This project uses Damper MCP for task tracking. **You MUST follow this workflow.
|
|
|
686
680
|
- \`publish_changelog\` - Publish with optional email notifications and Twitter posting
|
|
687
681
|
|
|
688
682
|
### At Session End (MANDATORY)
|
|
689
|
-
- ALWAYS call \`add_note\` with session summary before stopping
|
|
690
683
|
- ALWAYS call \`complete_task\` (if done) or \`abandon_task\` (if stopping early)
|
|
691
684
|
- NEVER leave a started task without completing or abandoning it
|
|
692
685
|
- If you learned something about the codebase, consider updating project context
|