wolfpack-mcp 1.0.40 → 1.0.42
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 -2
- package/dist/index.js +56 -0
- package/package.json +1 -1
package/dist/client.js
CHANGED
|
@@ -402,7 +402,7 @@ export class WolfpackClient {
|
|
|
402
402
|
return this.api.post('/wiki-pages', { ...rest, teamSlug });
|
|
403
403
|
}
|
|
404
404
|
async updateWikiPage(pageId, data, teamSlug) {
|
|
405
|
-
return this.api.patch(this.withTeamSlug(`/wiki-pages/${pageId}`, teamSlug), data);
|
|
405
|
+
return this.api.patch(this.withTeamSlug(`/wiki-pages/${encodeURIComponent(pageId)}`, teamSlug), data);
|
|
406
406
|
}
|
|
407
407
|
// Journal Entry methods
|
|
408
408
|
async listJournalEntries(options) {
|
|
@@ -451,7 +451,7 @@ export class WolfpackClient {
|
|
|
451
451
|
return this.api.post('/journal-entries', { ...rest, teamSlug });
|
|
452
452
|
}
|
|
453
453
|
async updateJournalEntry(entryId, data, teamSlug) {
|
|
454
|
-
return this.api.patch(this.withTeamSlug(`/journal-entries/${entryId}`, teamSlug), data);
|
|
454
|
+
return this.api.patch(this.withTeamSlug(`/journal-entries/${encodeURIComponent(entryId)}`, teamSlug), data);
|
|
455
455
|
}
|
|
456
456
|
// Comment methods
|
|
457
457
|
async listWorkItemComments(workItemId, teamSlug) {
|
package/dist/index.js
CHANGED
|
@@ -603,6 +603,10 @@ class WolfpackMCPServer {
|
|
|
603
603
|
type: 'string',
|
|
604
604
|
description: 'Updated description/notes for the work item',
|
|
605
605
|
},
|
|
606
|
+
project_slug: {
|
|
607
|
+
type: 'string',
|
|
608
|
+
description: 'Project slug (required for multi-project users, use list_projects to get slugs)',
|
|
609
|
+
},
|
|
606
610
|
},
|
|
607
611
|
required: ['work_item_id', 'description'],
|
|
608
612
|
},
|
|
@@ -640,6 +644,10 @@ class WolfpackMCPServer {
|
|
|
640
644
|
],
|
|
641
645
|
description: 'New status: "pending" (backlog), "new" (to do), "doing" (in progress), "review" (work done), "ready" (awaiting deployment), "blocked", "completed" (deployed), "closed", "archived"',
|
|
642
646
|
},
|
|
647
|
+
project_slug: {
|
|
648
|
+
type: 'string',
|
|
649
|
+
description: 'Project slug (required for multi-project users, use list_projects to get slugs)',
|
|
650
|
+
},
|
|
643
651
|
},
|
|
644
652
|
required: ['work_item_id', 'status'],
|
|
645
653
|
},
|
|
@@ -660,6 +668,10 @@ class WolfpackMCPServer {
|
|
|
660
668
|
type: ['string', 'null'],
|
|
661
669
|
description: 'User ID to assign as leading user, or null to unassign',
|
|
662
670
|
},
|
|
671
|
+
project_slug: {
|
|
672
|
+
type: 'string',
|
|
673
|
+
description: 'Project slug (required for multi-project users, use list_projects to get slugs)',
|
|
674
|
+
},
|
|
663
675
|
},
|
|
664
676
|
required: ['work_item_id', 'leading_user_id'],
|
|
665
677
|
},
|
|
@@ -679,6 +691,10 @@ class WolfpackMCPServer {
|
|
|
679
691
|
type: 'string',
|
|
680
692
|
description: 'New title for the work item',
|
|
681
693
|
},
|
|
694
|
+
project_slug: {
|
|
695
|
+
type: 'string',
|
|
696
|
+
description: 'Project slug (required for multi-project users, use list_projects to get slugs)',
|
|
697
|
+
},
|
|
682
698
|
},
|
|
683
699
|
required: ['work_item_id', 'title'],
|
|
684
700
|
},
|
|
@@ -698,6 +714,10 @@ class WolfpackMCPServer {
|
|
|
698
714
|
type: ['string', 'null'],
|
|
699
715
|
description: 'Radar/initiative item ID to link to, or null to unlink',
|
|
700
716
|
},
|
|
717
|
+
project_slug: {
|
|
718
|
+
type: 'string',
|
|
719
|
+
description: 'Project slug (required for multi-project users, use list_projects to get slugs)',
|
|
720
|
+
},
|
|
701
721
|
},
|
|
702
722
|
required: ['work_item_id', 'radar_item_id'],
|
|
703
723
|
},
|
|
@@ -721,6 +741,10 @@ class WolfpackMCPServer {
|
|
|
721
741
|
type: 'string',
|
|
722
742
|
description: 'User ID to assign as leading user (optional, defaults to API key owner)',
|
|
723
743
|
},
|
|
744
|
+
project_slug: {
|
|
745
|
+
type: 'string',
|
|
746
|
+
description: 'Project slug (required for multi-project users, use list_projects to get slugs)',
|
|
747
|
+
},
|
|
724
748
|
},
|
|
725
749
|
required: ['work_item_id'],
|
|
726
750
|
},
|
|
@@ -741,6 +765,10 @@ class WolfpackMCPServer {
|
|
|
741
765
|
type: 'object',
|
|
742
766
|
description: 'Key-value pairs matching formDefinition field names',
|
|
743
767
|
},
|
|
768
|
+
project_slug: {
|
|
769
|
+
type: 'string',
|
|
770
|
+
description: 'Project slug (required for multi-project users, use list_projects to get slugs)',
|
|
771
|
+
},
|
|
744
772
|
},
|
|
745
773
|
required: ['work_item_id', 'form_values'],
|
|
746
774
|
},
|
|
@@ -986,6 +1014,10 @@ class WolfpackMCPServer {
|
|
|
986
1014
|
type: 'string',
|
|
987
1015
|
description: 'Closing note (when closing the issue)',
|
|
988
1016
|
},
|
|
1017
|
+
project_slug: {
|
|
1018
|
+
type: 'string',
|
|
1019
|
+
description: 'Project slug (required for multi-project users, use list_projects to get slugs)',
|
|
1020
|
+
},
|
|
989
1021
|
},
|
|
990
1022
|
required: ['issue_id'],
|
|
991
1023
|
},
|
|
@@ -1070,6 +1102,10 @@ class WolfpackMCPServer {
|
|
|
1070
1102
|
type: 'string',
|
|
1071
1103
|
description: 'Updated content (markdown)',
|
|
1072
1104
|
},
|
|
1105
|
+
project_slug: {
|
|
1106
|
+
type: 'string',
|
|
1107
|
+
description: 'Project slug (required for multi-project users, use list_projects to get slugs)',
|
|
1108
|
+
},
|
|
1073
1109
|
},
|
|
1074
1110
|
required: ['page_id'],
|
|
1075
1111
|
},
|
|
@@ -1151,6 +1187,10 @@ class WolfpackMCPServer {
|
|
|
1151
1187
|
type: 'string',
|
|
1152
1188
|
description: 'Updated content (markdown)',
|
|
1153
1189
|
},
|
|
1190
|
+
project_slug: {
|
|
1191
|
+
type: 'string',
|
|
1192
|
+
description: 'Project slug (required for multi-project users, use list_projects to get slugs)',
|
|
1193
|
+
},
|
|
1154
1194
|
},
|
|
1155
1195
|
required: ['entry_id'],
|
|
1156
1196
|
},
|
|
@@ -1164,6 +1204,10 @@ class WolfpackMCPServer {
|
|
|
1164
1204
|
type: 'object',
|
|
1165
1205
|
properties: {
|
|
1166
1206
|
work_item_id: { type: 'string', description: 'The work item refId (number)' },
|
|
1207
|
+
project_slug: {
|
|
1208
|
+
type: 'string',
|
|
1209
|
+
description: 'Project slug (required for multi-project users, use list_projects to get slugs)',
|
|
1210
|
+
},
|
|
1167
1211
|
},
|
|
1168
1212
|
required: ['work_item_id'],
|
|
1169
1213
|
},
|
|
@@ -1176,6 +1220,10 @@ class WolfpackMCPServer {
|
|
|
1176
1220
|
type: 'object',
|
|
1177
1221
|
properties: {
|
|
1178
1222
|
issue_id: { type: 'string', description: 'The issue refId (number)' },
|
|
1223
|
+
project_slug: {
|
|
1224
|
+
type: 'string',
|
|
1225
|
+
description: 'Project slug (required for multi-project users, use list_projects to get slugs)',
|
|
1226
|
+
},
|
|
1179
1227
|
},
|
|
1180
1228
|
required: ['issue_id'],
|
|
1181
1229
|
},
|
|
@@ -1197,6 +1245,10 @@ class WolfpackMCPServer {
|
|
|
1197
1245
|
type: 'string',
|
|
1198
1246
|
description: 'Comment content (markdown)',
|
|
1199
1247
|
},
|
|
1248
|
+
project_slug: {
|
|
1249
|
+
type: 'string',
|
|
1250
|
+
description: 'Project slug (required for multi-project users, use list_projects to get slugs)',
|
|
1251
|
+
},
|
|
1200
1252
|
},
|
|
1201
1253
|
required: ['work_item_id', 'content'],
|
|
1202
1254
|
},
|
|
@@ -1213,6 +1265,10 @@ class WolfpackMCPServer {
|
|
|
1213
1265
|
type: 'string',
|
|
1214
1266
|
description: 'Comment content (markdown)',
|
|
1215
1267
|
},
|
|
1268
|
+
project_slug: {
|
|
1269
|
+
type: 'string',
|
|
1270
|
+
description: 'Project slug (required for multi-project users, use list_projects to get slugs)',
|
|
1271
|
+
},
|
|
1216
1272
|
},
|
|
1217
1273
|
required: ['issue_id', 'content'],
|
|
1218
1274
|
},
|