@damper/mcp 0.5.0 → 0.6.0

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.6.0',
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) {
@@ -1915,7 +1918,7 @@ server.registerTool('update_project_settings', {
1915
1918
  description: 'Configure agent-relevant project settings.\n\n' +
1916
1919
  '**completionChecklist**: Items agents must confirm before completing tasks. ' +
1917
1920
  'Pass an empty array to clear the checklist.\n\n' +
1918
- 'Example items: "All tests pass", "Build succeeds", "Migration created if schema changed"',
1921
+ 'Example items: "All tests pass", "Build succeeds", "Code reviewed"',
1919
1922
  inputSchema: z.object({
1920
1923
  completionChecklist: z.array(z.string()).optional()
1921
1924
  .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.6.0",
4
4
  "description": "MCP server for Damper task management",
5
5
  "author": "Damper <hello@usedamper.com>",
6
6
  "repository": {