@damper/mcp 0.5.0 → 0.5.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/README.md CHANGED
@@ -128,7 +128,7 @@ Configure agent-relevant project settings programmatically.
128
128
  | `update_project_settings` | Configure completion checklist and other agent-relevant settings |
129
129
 
130
130
  **Completion checklist workflow:**
131
- 1. `update_project_settings` with `completionChecklist: ["All tests pass", "Build succeeds"]`
131
+ 1. `update_project_settings` with `completionChecklist: ["All tests pass", "Build succeeds", "Code reviewed"]`
132
132
  2. Agents see the checklist when they call `start_task`
133
133
  3. Agents must confirm all items via `confirmations` when calling `complete_task`
134
134
 
package/dist/index.js CHANGED
@@ -41,7 +41,7 @@ async function api(method, path, body) {
41
41
  // Server
42
42
  const server = new McpServer({
43
43
  name: 'damper',
44
- version: '0.5.0',
44
+ version: '0.5.1',
45
45
  });
46
46
  // Output schemas
47
47
  const SubtaskProgressSchema = z.object({
@@ -1651,6 +1651,7 @@ server.registerTool('list_changelogs', {
1651
1651
  inputSchema: z.object({
1652
1652
  status: z.enum(['draft', 'published']).optional().describe('Filter by status'),
1653
1653
  limit: z.number().optional(),
1654
+ sort: z.enum(['newest', 'oldest']).optional().describe('Sort order: newest (default) or oldest first'),
1654
1655
  }),
1655
1656
  outputSchema: z.object({
1656
1657
  changelogs: z.array(z.object({
@@ -1669,12 +1670,14 @@ server.registerTool('list_changelogs', {
1669
1670
  idempotentHint: true,
1670
1671
  openWorldHint: false,
1671
1672
  },
1672
- }, async ({ status, limit }) => {
1673
+ }, async ({ status, limit, sort }) => {
1673
1674
  const params = new URLSearchParams();
1674
1675
  if (status)
1675
1676
  params.set('status', status);
1676
1677
  if (limit)
1677
1678
  params.set('limit', String(limit));
1679
+ if (sort)
1680
+ params.set('sort', sort);
1678
1681
  const query = params.toString();
1679
1682
  const data = await api('GET', `/api/agent/changelogs${query ? `?${query}` : ''}`);
1680
1683
  if (!data.changelogs.length) {
@@ -1704,6 +1707,7 @@ server.registerTool('create_changelog', {
1704
1707
  title: z.string().describe('Changelog title (e.g., "v2.1.0" or "January 2025 Release")'),
1705
1708
  content: z.string().optional().describe('Initial changelog content (markdown)'),
1706
1709
  version: z.string().optional().describe('Version number'),
1710
+ date: z.string().optional().describe('Custom display date (ISO 8601). When set, used for sorting/display instead of publishedAt.'),
1707
1711
  summary: z.string().max(280).optional().describe('Short summary for social sharing and email subject (max 280 chars)'),
1708
1712
  status: z.enum(['draft', 'published']).optional().describe('Status (default: draft)'),
1709
1713
  }),
@@ -1711,6 +1715,7 @@ server.registerTool('create_changelog', {
1711
1715
  id: z.string(),
1712
1716
  title: z.string(),
1713
1717
  version: z.string().nullable().optional(),
1718
+ date: z.string().nullable().optional(),
1714
1719
  status: z.string(),
1715
1720
  }),
1716
1721
  annotations: {
@@ -1737,6 +1742,7 @@ server.registerTool('update_changelog', {
1737
1742
  title: z.string().optional().describe('New title'),
1738
1743
  content: z.string().optional().describe('New content (markdown)'),
1739
1744
  version: z.string().optional().describe('Version number'),
1745
+ date: z.string().optional().describe('Custom display date (ISO 8601). When set, used for sorting/display instead of publishedAt. Pass empty string to clear.'),
1740
1746
  summary: z.string().max(280).optional().describe('Short summary for social sharing and email subject (max 280 chars)'),
1741
1747
  status: z.enum(['draft', 'published']).optional().describe('Status'),
1742
1748
  }),
@@ -1744,6 +1750,7 @@ server.registerTool('update_changelog', {
1744
1750
  id: z.string(),
1745
1751
  title: z.string(),
1746
1752
  version: z.string().nullable().optional(),
1753
+ date: z.string().nullable().optional(),
1747
1754
  status: z.string(),
1748
1755
  publishedAt: z.string().nullable().optional(),
1749
1756
  }),
@@ -1753,7 +1760,7 @@ server.registerTool('update_changelog', {
1753
1760
  idempotentHint: true,
1754
1761
  openWorldHint: false,
1755
1762
  },
1756
- }, async ({ changelogId, title, content, version, status }) => {
1763
+ }, async ({ changelogId, title, content, version, date, summary, status }) => {
1757
1764
  const body = {};
1758
1765
  if (title !== undefined)
1759
1766
  body.title = title;
@@ -1761,6 +1768,10 @@ server.registerTool('update_changelog', {
1761
1768
  body.content = content;
1762
1769
  if (version !== undefined)
1763
1770
  body.version = version;
1771
+ if (date !== undefined)
1772
+ body.date = date;
1773
+ if (summary !== undefined)
1774
+ body.summary = summary;
1764
1775
  if (status !== undefined)
1765
1776
  body.status = status;
1766
1777
  const result = await api('PATCH', `/api/agent/changelogs/${changelogId}`, body);
@@ -1915,7 +1926,7 @@ server.registerTool('update_project_settings', {
1915
1926
  description: 'Configure agent-relevant project settings.\n\n' +
1916
1927
  '**completionChecklist**: Items agents must confirm before completing tasks. ' +
1917
1928
  'Pass an empty array to clear the checklist.\n\n' +
1918
- 'Example items: "All tests pass", "Build succeeds", "Migration created if schema changed"',
1929
+ 'Example items: "All tests pass", "Build succeeds", "Code reviewed"',
1919
1930
  inputSchema: z.object({
1920
1931
  completionChecklist: z.array(z.string()).optional()
1921
1932
  .describe('Checklist items agents must confirm when completing tasks. Pass [] to clear.'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@damper/mcp",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "MCP server for Damper task management",
5
5
  "author": "Damper <hello@usedamper.com>",
6
6
  "repository": {