wolfpack-mcp 1.0.17 → 1.0.19
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 +55 -19
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -139,7 +139,10 @@ const GetIssueSchema = z.object({
|
|
|
139
139
|
// Create schemas
|
|
140
140
|
const CreateWorkItemSchema = z.object({
|
|
141
141
|
title: z.string().describe('Title of the work item'),
|
|
142
|
-
description: z
|
|
142
|
+
description: z
|
|
143
|
+
.string()
|
|
144
|
+
.optional()
|
|
145
|
+
.describe('Description/notes for the work item (markdown). Supports base64-encoded images which will be auto-uploaded.'),
|
|
143
146
|
status: z
|
|
144
147
|
.string()
|
|
145
148
|
.optional()
|
|
@@ -188,12 +191,17 @@ const GetWikiPageSchema = z.object({
|
|
|
188
191
|
const CreateWikiPageSchema = z.object({
|
|
189
192
|
slug: z.string().describe('URL slug for the page (without team prefix)'),
|
|
190
193
|
title: z.string().describe('Page title'),
|
|
191
|
-
content: z
|
|
194
|
+
content: z
|
|
195
|
+
.string()
|
|
196
|
+
.describe('Page content (markdown). Supports base64-encoded images (e.g., ) which will be auto-uploaded.'),
|
|
192
197
|
});
|
|
193
198
|
const UpdateWikiPageSchema = z.object({
|
|
194
199
|
page_id: z.string().describe('The page UUID'),
|
|
195
200
|
title: z.string().optional().describe('Updated title'),
|
|
196
|
-
content: z
|
|
201
|
+
content: z
|
|
202
|
+
.string()
|
|
203
|
+
.optional()
|
|
204
|
+
.describe('Updated content (markdown). Supports base64-encoded images which will be auto-uploaded.'),
|
|
197
205
|
});
|
|
198
206
|
// Journal Entry schemas
|
|
199
207
|
const ListJournalEntriesSchema = z.object({
|
|
@@ -206,22 +214,31 @@ const GetJournalEntrySchema = z.object({
|
|
|
206
214
|
});
|
|
207
215
|
const CreateJournalEntrySchema = z.object({
|
|
208
216
|
title: z.string().describe('Entry title'),
|
|
209
|
-
content: z
|
|
217
|
+
content: z
|
|
218
|
+
.string()
|
|
219
|
+
.describe('Entry content (markdown). Supports base64-encoded images which will be auto-uploaded.'),
|
|
210
220
|
date: z.string().optional().describe('Entry date (ISO format, defaults to now)'),
|
|
211
221
|
});
|
|
212
222
|
const UpdateJournalEntrySchema = z.object({
|
|
213
223
|
entry_id: z.string().describe('The entry UUID'),
|
|
214
224
|
title: z.string().optional().describe('Updated title'),
|
|
215
|
-
content: z
|
|
225
|
+
content: z
|
|
226
|
+
.string()
|
|
227
|
+
.optional()
|
|
228
|
+
.describe('Updated content (markdown). Supports base64-encoded images which will be auto-uploaded.'),
|
|
216
229
|
});
|
|
217
230
|
// Comment schemas
|
|
218
231
|
const CreateWorkItemCommentSchema = z.object({
|
|
219
232
|
work_item_id: z.string().describe('The work item UUID'),
|
|
220
|
-
content: z
|
|
233
|
+
content: z
|
|
234
|
+
.string()
|
|
235
|
+
.describe('Comment content (markdown). Supports base64-encoded images which will be auto-uploaded.'),
|
|
221
236
|
});
|
|
222
237
|
const CreateIssueCommentSchema = z.object({
|
|
223
238
|
issue_id: z.string().describe('The issue UUID'),
|
|
224
|
-
content: z
|
|
239
|
+
content: z
|
|
240
|
+
.string()
|
|
241
|
+
.describe('Comment content (markdown). Supports base64-encoded images which will be auto-uploaded.'),
|
|
225
242
|
});
|
|
226
243
|
// Helper to detect if a work item description contains a plan
|
|
227
244
|
function hasPlan(description) {
|
|
@@ -258,12 +275,13 @@ class WolfpackMCPServer {
|
|
|
258
275
|
{
|
|
259
276
|
name: 'list_teams',
|
|
260
277
|
description: 'List all teams (projects) you have access to. ' +
|
|
278
|
+
'TERMINOLOGY: In this software, "team" and "project" are synonymous and interchangeable. All tool names and parameters use "team" (e.g., team_id), but the concepts are identical. ' +
|
|
261
279
|
'IMPORTANT - PROJECT FOCUS RULES: ' +
|
|
262
|
-
'1) Call this FIRST to identify which project you are working in. ' +
|
|
263
|
-
'2) Once you identify a
|
|
264
|
-
'3) NEVER perform bulk actions across multiple
|
|
265
|
-
'4) If the user mentions a specific project, use that
|
|
266
|
-
'5) If unclear which
|
|
280
|
+
'1) Call this FIRST to identify which team/project you are working in. ' +
|
|
281
|
+
'2) Once you identify a team, STAY WITHIN that team for all operations unless the user explicitly asks to switch. ' +
|
|
282
|
+
'3) NEVER perform bulk actions across multiple teams - always work in one team at a time. ' +
|
|
283
|
+
'4) If the user mentions a specific team or project, use that for all subsequent operations. ' +
|
|
284
|
+
'5) If unclear which team to use, ASK the user before proceeding. ' +
|
|
267
285
|
'Returns team IDs, slugs, and names. Single-team users have their team auto-selected; multi-team users must specify team_id in other tool calls.',
|
|
268
286
|
inputSchema: {
|
|
269
287
|
type: 'object',
|
|
@@ -530,7 +548,7 @@ class WolfpackMCPServer {
|
|
|
530
548
|
title: { type: 'string', description: 'Title of the work item' },
|
|
531
549
|
description: {
|
|
532
550
|
type: 'string',
|
|
533
|
-
description: 'Description/notes for the work item (markdown)',
|
|
551
|
+
description: 'Description/notes for the work item (markdown). Supports base64-encoded images which will be auto-uploaded.',
|
|
534
552
|
},
|
|
535
553
|
status: {
|
|
536
554
|
type: 'string',
|
|
@@ -647,7 +665,10 @@ class WolfpackMCPServer {
|
|
|
647
665
|
properties: {
|
|
648
666
|
slug: { type: 'string', description: 'URL slug for the page (without team prefix)' },
|
|
649
667
|
title: { type: 'string', description: 'Page title' },
|
|
650
|
-
content: {
|
|
668
|
+
content: {
|
|
669
|
+
type: 'string',
|
|
670
|
+
description: 'Page content (markdown). Supports base64-encoded images (e.g., ) which will be auto-uploaded.',
|
|
671
|
+
},
|
|
651
672
|
},
|
|
652
673
|
required: ['slug', 'title', 'content'],
|
|
653
674
|
},
|
|
@@ -660,7 +681,10 @@ class WolfpackMCPServer {
|
|
|
660
681
|
properties: {
|
|
661
682
|
page_id: { type: 'string', description: 'The page UUID' },
|
|
662
683
|
title: { type: 'string', description: 'Updated title' },
|
|
663
|
-
content: {
|
|
684
|
+
content: {
|
|
685
|
+
type: 'string',
|
|
686
|
+
description: 'Updated content (markdown). Supports base64-encoded images which will be auto-uploaded.',
|
|
687
|
+
},
|
|
664
688
|
},
|
|
665
689
|
required: ['page_id'],
|
|
666
690
|
},
|
|
@@ -699,7 +723,10 @@ class WolfpackMCPServer {
|
|
|
699
723
|
type: 'object',
|
|
700
724
|
properties: {
|
|
701
725
|
title: { type: 'string', description: 'Entry title' },
|
|
702
|
-
content: {
|
|
726
|
+
content: {
|
|
727
|
+
type: 'string',
|
|
728
|
+
description: 'Entry content (markdown). Supports base64-encoded images which will be auto-uploaded.',
|
|
729
|
+
},
|
|
703
730
|
date: { type: 'string', description: 'Entry date (ISO format, defaults to now)' },
|
|
704
731
|
},
|
|
705
732
|
required: ['title', 'content'],
|
|
@@ -713,7 +740,10 @@ class WolfpackMCPServer {
|
|
|
713
740
|
properties: {
|
|
714
741
|
entry_id: { type: 'string', description: 'The entry UUID' },
|
|
715
742
|
title: { type: 'string', description: 'Updated title' },
|
|
716
|
-
content: {
|
|
743
|
+
content: {
|
|
744
|
+
type: 'string',
|
|
745
|
+
description: 'Updated content (markdown). Supports base64-encoded images which will be auto-uploaded.',
|
|
746
|
+
},
|
|
717
747
|
},
|
|
718
748
|
required: ['entry_id'],
|
|
719
749
|
},
|
|
@@ -730,7 +760,10 @@ class WolfpackMCPServer {
|
|
|
730
760
|
type: 'object',
|
|
731
761
|
properties: {
|
|
732
762
|
work_item_id: { type: 'string', description: 'The work item UUID' },
|
|
733
|
-
content: {
|
|
763
|
+
content: {
|
|
764
|
+
type: 'string',
|
|
765
|
+
description: 'Comment content (markdown). Supports base64-encoded images which will be auto-uploaded.',
|
|
766
|
+
},
|
|
734
767
|
},
|
|
735
768
|
required: ['work_item_id', 'content'],
|
|
736
769
|
},
|
|
@@ -742,7 +775,10 @@ class WolfpackMCPServer {
|
|
|
742
775
|
type: 'object',
|
|
743
776
|
properties: {
|
|
744
777
|
issue_id: { type: 'string', description: 'The issue UUID' },
|
|
745
|
-
content: {
|
|
778
|
+
content: {
|
|
779
|
+
type: 'string',
|
|
780
|
+
description: 'Comment content (markdown). Supports base64-encoded images which will be auto-uploaded.',
|
|
781
|
+
},
|
|
746
782
|
},
|
|
747
783
|
required: ['issue_id', 'content'],
|
|
748
784
|
},
|