wolfpack-mcp 1.0.9 → 1.0.10
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 +16 -14
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -49,33 +49,34 @@ async function checkForUpdates() {
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
// Work Item schemas
|
|
52
|
+
// Use z.coerce.string() to handle any type coercion issues from MCP args
|
|
52
53
|
const ListWorkItemsSchema = z.object({
|
|
53
54
|
team_id: z.number().optional().describe('Team ID to filter work items'),
|
|
54
|
-
status: z
|
|
55
|
+
status: z.coerce
|
|
55
56
|
.string()
|
|
56
57
|
.optional()
|
|
57
58
|
.describe('Filter by status. Board columns: "new", "doing", "review", "blocked", "completed". Use "pending" or "backlog" for backlog items. Use "all" to include completed/closed. Default excludes completed/closed.'),
|
|
58
|
-
assigned_to_id: z
|
|
59
|
+
assigned_to_id: z.coerce
|
|
59
60
|
.string()
|
|
60
61
|
.optional()
|
|
61
|
-
.describe('Filter by assignee: "
|
|
62
|
-
search: z.string().optional().describe('Text search in title and description'),
|
|
63
|
-
category_id: z
|
|
62
|
+
.describe('Filter by assignee: "all" (default), "me" (your items), "unassigned", or a specific user ID'),
|
|
63
|
+
search: z.coerce.string().optional().describe('Text search in title and description'),
|
|
64
|
+
category_id: z.coerce
|
|
64
65
|
.string()
|
|
65
66
|
.optional()
|
|
66
67
|
.describe('Filter by category ID, or "none" for uncategorized items'),
|
|
67
|
-
priority: z
|
|
68
|
+
priority: z.coerce
|
|
68
69
|
.string()
|
|
69
70
|
.optional()
|
|
70
71
|
.describe('Filter by priority level (0-4, higher is more important)'),
|
|
71
|
-
radar_item_id: z.string().optional().describe('Filter by linked radar/initiative item'),
|
|
72
|
-
created_by_id: z.string().optional().describe('Filter by creator user ID'),
|
|
73
|
-
updated_by_id: z.string().optional().describe('Filter by last updater user ID'),
|
|
74
|
-
sort_by: z
|
|
72
|
+
radar_item_id: z.coerce.string().optional().describe('Filter by linked radar/initiative item'),
|
|
73
|
+
created_by_id: z.coerce.string().optional().describe('Filter by creator user ID'),
|
|
74
|
+
updated_by_id: z.coerce.string().optional().describe('Filter by last updater user ID'),
|
|
75
|
+
sort_by: z.coerce
|
|
75
76
|
.string()
|
|
76
77
|
.optional()
|
|
77
78
|
.describe('Sort field: "dateUpdated" (default, newest first), "dateCreated", "priority", "title"'),
|
|
78
|
-
sort_order: z.string().optional().describe('Sort direction: "desc" (default), "asc"'),
|
|
79
|
+
sort_order: z.coerce.string().optional().describe('Sort direction: "desc" (default), "asc"'),
|
|
79
80
|
limit: z.number().optional().describe('Maximum number of items to return'),
|
|
80
81
|
offset: z.number().optional().describe('Number of items to skip'),
|
|
81
82
|
});
|
|
@@ -245,11 +246,12 @@ class WolfpackMCPServer {
|
|
|
245
246
|
// Work Item tools
|
|
246
247
|
{
|
|
247
248
|
name: 'list_work_items',
|
|
248
|
-
description: 'List work items (tasks/tickets). By default lists items
|
|
249
|
+
description: 'List work items (tasks/tickets). By default lists ALL items in the team, sorted by most recently updated. ' +
|
|
250
|
+
'Use assigned_to_id="me" to filter to only your assigned items. ' +
|
|
249
251
|
'TERMINOLOGY: The board has columns: "new" (to do), "doing" (in progress), "review" (pending review), "blocked", "completed" (done). ' +
|
|
250
252
|
'The "backlog" or "pending" status represents items not yet on the board. ' +
|
|
251
253
|
'By default, completed/closed items are excluded - use status="all" to include them. ' +
|
|
252
|
-
'Use when user asks about "
|
|
254
|
+
'Use when user asks about "the board", "work items", "tasks", "my work" (with assigned_to_id="me"), or "backlog".',
|
|
253
255
|
inputSchema: {
|
|
254
256
|
type: 'object',
|
|
255
257
|
properties: {
|
|
@@ -265,7 +267,7 @@ class WolfpackMCPServer {
|
|
|
265
267
|
},
|
|
266
268
|
assigned_to_id: {
|
|
267
269
|
type: 'string',
|
|
268
|
-
description: 'Filter by assignee: "
|
|
270
|
+
description: 'Filter by assignee: "all" (default, shows all team items), "me" (your assigned items), "unassigned", or a specific user ID',
|
|
269
271
|
},
|
|
270
272
|
search: {
|
|
271
273
|
type: 'string',
|