@damper/mcp 0.10.4 → 0.10.5

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.
Files changed (2) hide show
  1. package/dist/index.js +20 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -106,6 +106,7 @@ const FeedbackSummarySchema = z.object({
106
106
  id: z.string(),
107
107
  title: z.string(),
108
108
  type: z.string(),
109
+ status: z.string(),
109
110
  voterCount: z.number(),
110
111
  isPublic: z.boolean(),
111
112
  linkedTaskId: z.string().nullish(),
@@ -1354,10 +1355,15 @@ server.registerTool('list_feedback', {
1354
1355
  const lines = data.feedback.map((f) => {
1355
1356
  const link = f.linkedTaskId ? ` → ${f.linkedTaskId}` : '';
1356
1357
  const hidden = !f.isPublic ? ' [hidden]' : '';
1357
- return `• ${f.id}: ${f.title} [${f.type}] (${f.voterCount} votes)${hidden}${link}`;
1358
+ return `• ${f.id}: ${f.title} [${f.type}] (${f.status}) (${f.voterCount} votes)${hidden}${link}`;
1358
1359
  });
1360
+ const newCount = data.feedback.filter((f) => f.status === 'new').length;
1361
+ const nudge = newCount > 0
1362
+ ? `\n\n💡 ${newCount} feedback item${newCount > 1 ? 's are' : ' is'} still "new". ` +
1363
+ 'Use `update_feedback` to triage (e.g., set to "under_review" or "planned").'
1364
+ : '';
1359
1365
  return {
1360
- content: [{ type: 'text', text: `Feedback:\n${lines.join('\n')}` }],
1366
+ content: [{ type: 'text', text: `Feedback:\n${lines.join('\n')}${nudge}` }],
1361
1367
  structuredContent: { feedback: data.feedback },
1362
1368
  };
1363
1369
  });
@@ -1423,6 +1429,10 @@ server.registerTool('get_feedback', {
1423
1429
  if (f.comments.length > 3)
1424
1430
  parts.push(`... and ${f.comments.length - 3} more`);
1425
1431
  }
1432
+ if (f.status === 'new') {
1433
+ parts.push('\n---\n💡 This feedback is still "new". Use `update_feedback` to triage it ' +
1434
+ '(e.g., "under_review", "planned", or "in_progress").');
1435
+ }
1426
1436
  return {
1427
1437
  content: [{ type: 'text', text: parts.join('\n') }],
1428
1438
  structuredContent: f,
@@ -1834,7 +1844,14 @@ server.registerTool('link_feedback_to_task', {
1834
1844
  };
1835
1845
  }
1836
1846
  return {
1837
- content: [{ type: 'text', text: `🔗 Linked ${linkedCount} feedback to task: ${result.feedbackTitles.join(', ')}` }],
1847
+ content: [
1848
+ {
1849
+ type: 'text',
1850
+ text: `🔗 Linked ${linkedCount} feedback to task: ${result.feedbackTitles.join(', ')}\n\n` +
1851
+ '💡 Consider updating the linked feedback status with `update_feedback` ' +
1852
+ '(e.g., to "planned" or "in_progress").',
1853
+ },
1854
+ ],
1838
1855
  structuredContent: result,
1839
1856
  };
1840
1857
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@damper/mcp",
3
- "version": "0.10.4",
3
+ "version": "0.10.5",
4
4
  "description": "MCP server for Damper task management",
5
5
  "author": "Damper <hello@usedamper.com>",
6
6
  "repository": {