wolfpack-mcp 1.0.73 → 1.0.74
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 +4 -0
- package/dist/index.js +11 -3
- package/package.json +1 -1
package/dist/client.js
CHANGED
|
@@ -97,6 +97,7 @@ export class WolfpackClient {
|
|
|
97
97
|
items: firstPage.items,
|
|
98
98
|
total: firstPage.total,
|
|
99
99
|
truncated: true,
|
|
100
|
+
notice: firstPage.notice,
|
|
100
101
|
};
|
|
101
102
|
}
|
|
102
103
|
// If all items fit in first page, return them
|
|
@@ -105,6 +106,7 @@ export class WolfpackClient {
|
|
|
105
106
|
items: firstPage.items,
|
|
106
107
|
total: firstPage.total,
|
|
107
108
|
truncated: false,
|
|
109
|
+
notice: firstPage.notice,
|
|
108
110
|
};
|
|
109
111
|
}
|
|
110
112
|
// Fetch remaining pages
|
|
@@ -123,6 +125,7 @@ export class WolfpackClient {
|
|
|
123
125
|
items: allItems,
|
|
124
126
|
total: firstPage.total,
|
|
125
127
|
truncated: false,
|
|
128
|
+
notice: firstPage.notice,
|
|
126
129
|
};
|
|
127
130
|
}
|
|
128
131
|
// Work Item methods
|
|
@@ -172,6 +175,7 @@ export class WolfpackClient {
|
|
|
172
175
|
items: response.items,
|
|
173
176
|
total: response.total,
|
|
174
177
|
truncated: response.total > response.items.length,
|
|
178
|
+
notice: response.notice,
|
|
175
179
|
};
|
|
176
180
|
}
|
|
177
181
|
// Otherwise, fetch all pages automatically
|
package/dist/index.js
CHANGED
|
@@ -751,6 +751,9 @@ class WolfpackMCPServer {
|
|
|
751
751
|
description: 'List work items (tasks/tickets) on the Kanban board or backlog. Work items are the PRIMARY entity — bare #N references (e.g. "work on #1") always mean work items. ' +
|
|
752
752
|
'By default lists ALL items in the team, sorted by most recently updated. ' +
|
|
753
753
|
'Use assigned_to_id="me" to filter to only your assigned items. ' +
|
|
754
|
+
'AGENTS: unless granted the mcp:work_items:read_all permission, your results are always ' +
|
|
755
|
+
'narrowed to items assigned to you or routed to a work pool you belong to, whatever ' +
|
|
756
|
+
'assigned_to_id you pass; the response says so when this applies. ' +
|
|
754
757
|
'TERMINOLOGY: "board" and "kanban" are synonymous - both refer to the Kanban board of work items. ' +
|
|
755
758
|
'The board has columns: "new" (to do), "doing" (in progress), "review" (pending review), "ready" (code done, awaiting deployment), "blocked", "completed" (deployed). ' +
|
|
756
759
|
'The "backlog" or "pending" status represents items not yet on the board. ' +
|
|
@@ -966,9 +969,11 @@ class WolfpackMCPServer {
|
|
|
966
969
|
description: 'Pull a specific work item from the backlog to the board. ' +
|
|
967
970
|
'REQUIRED: Use this when starting work on a "pending" (backlog) item. ' +
|
|
968
971
|
'This claims the item (assigns to you) and sets status to "new". ' +
|
|
969
|
-
'
|
|
970
|
-
'
|
|
971
|
-
'
|
|
972
|
+
'AGENTS: an item already assigned to you is always pullable, approved or not. An item ' +
|
|
973
|
+
'that is NOT assigned to you is pullable only if it is routed to a work pool you belong ' +
|
|
974
|
+
'to AND a human has approved it (approved=true) — pool membership grants the access, ' +
|
|
975
|
+
'approval grants the go-ahead. An unassigned item in no work pool cannot be pulled by an ' +
|
|
976
|
+
'agent and will return 403: ask a human to route it to your pool or assign it to you. ' +
|
|
972
977
|
'After pulling, move to "doing" to indicate active work, then "review" when done. ' +
|
|
973
978
|
'If no assignee is specified, assigns to the API key owner. ' +
|
|
974
979
|
'In personal projects, items are always assigned to the owner.',
|
|
@@ -2092,6 +2097,9 @@ class WolfpackMCPServer {
|
|
|
2092
2097
|
offset: parsed.offset,
|
|
2093
2098
|
});
|
|
2094
2099
|
let text = JSON.stringify(stripUuids(result.items), null, 2);
|
|
2100
|
+
if (result.notice) {
|
|
2101
|
+
text = `Note: ${result.notice}\n\n${text}`;
|
|
2102
|
+
}
|
|
2095
2103
|
if (result.truncated) {
|
|
2096
2104
|
text = `Note: Results truncated. Showing ${result.items.length} of ${result.total} items. Use filters or limit/offset for pagination.\n\n${text}`;
|
|
2097
2105
|
}
|