wolfpack-mcp 1.0.7 → 1.0.8
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/client.js +2 -0
- package/dist/index.js +10 -1
- package/package.json +1 -1
package/dist/client.js
CHANGED
|
@@ -88,6 +88,8 @@ export class WolfpackClient {
|
|
|
88
88
|
params.append('teamId', options.teamId.toString());
|
|
89
89
|
if (options?.status)
|
|
90
90
|
params.append('status', options.status);
|
|
91
|
+
if (options?.assignedToId)
|
|
92
|
+
params.append('assignedToId', options.assignedToId);
|
|
91
93
|
// If explicit limit/offset provided, use single request (for manual pagination)
|
|
92
94
|
if (options?.limit !== undefined || options?.offset !== undefined) {
|
|
93
95
|
if (options?.limit)
|
package/dist/index.js
CHANGED
|
@@ -52,6 +52,10 @@ async function checkForUpdates() {
|
|
|
52
52
|
const ListWorkItemsSchema = z.object({
|
|
53
53
|
team_id: z.number().optional().describe('Team ID to filter work items'),
|
|
54
54
|
status: z.string().optional().describe('Filter by status'),
|
|
55
|
+
assigned_to_id: z
|
|
56
|
+
.string()
|
|
57
|
+
.optional()
|
|
58
|
+
.describe('Filter by assignee ID (use "unassigned" for unassigned, "me" for self)'),
|
|
55
59
|
limit: z.number().optional().describe('Maximum number of items to return'),
|
|
56
60
|
offset: z.number().optional().describe('Number of items to skip'),
|
|
57
61
|
});
|
|
@@ -216,7 +220,7 @@ class WolfpackMCPServer {
|
|
|
216
220
|
// Work Item tools
|
|
217
221
|
{
|
|
218
222
|
name: 'list_work_items',
|
|
219
|
-
description: 'List work items (tasks/tickets)
|
|
223
|
+
description: 'List work items (tasks/tickets). Use when user asks about "my work", "my tasks", "what am I working on", "assigned to me", or "backlog". By default lists items assigned to you. Status mapping: "new" = backlog/todo, "doing" = in progress/active, "review" = pending review, "completed" = done/finished.',
|
|
220
224
|
inputSchema: {
|
|
221
225
|
type: 'object',
|
|
222
226
|
properties: {
|
|
@@ -228,6 +232,10 @@ class WolfpackMCPServer {
|
|
|
228
232
|
type: 'string',
|
|
229
233
|
description: 'Filter: "new" (backlog/todo), "doing" (in progress), "review", "completed" (done), "blocked"',
|
|
230
234
|
},
|
|
235
|
+
assigned_to_id: {
|
|
236
|
+
type: 'string',
|
|
237
|
+
description: 'Filter by assignee ID (use "unassigned" for unassigned, "me" for self)',
|
|
238
|
+
},
|
|
231
239
|
limit: { type: 'number', description: 'Maximum number of items to return' },
|
|
232
240
|
offset: { type: 'number', description: 'Number of items to skip' },
|
|
233
241
|
},
|
|
@@ -619,6 +627,7 @@ class WolfpackMCPServer {
|
|
|
619
627
|
const result = await this.client.listWorkItems({
|
|
620
628
|
teamId: parsed.team_id || this.client.getTeamId() || undefined,
|
|
621
629
|
status: parsed.status,
|
|
630
|
+
assignedToId: parsed.assigned_to_id,
|
|
622
631
|
limit: parsed.limit,
|
|
623
632
|
offset: parsed.offset,
|
|
624
633
|
});
|