wolfpack-mcp 1.0.18 → 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 +49 -14
- 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) {
|
|
@@ -531,7 +548,7 @@ class WolfpackMCPServer {
|
|
|
531
548
|
title: { type: 'string', description: 'Title of the work item' },
|
|
532
549
|
description: {
|
|
533
550
|
type: 'string',
|
|
534
|
-
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.',
|
|
535
552
|
},
|
|
536
553
|
status: {
|
|
537
554
|
type: 'string',
|
|
@@ -648,7 +665,10 @@ class WolfpackMCPServer {
|
|
|
648
665
|
properties: {
|
|
649
666
|
slug: { type: 'string', description: 'URL slug for the page (without team prefix)' },
|
|
650
667
|
title: { type: 'string', description: 'Page title' },
|
|
651
|
-
content: {
|
|
668
|
+
content: {
|
|
669
|
+
type: 'string',
|
|
670
|
+
description: 'Page content (markdown). Supports base64-encoded images (e.g., ) which will be auto-uploaded.',
|
|
671
|
+
},
|
|
652
672
|
},
|
|
653
673
|
required: ['slug', 'title', 'content'],
|
|
654
674
|
},
|
|
@@ -661,7 +681,10 @@ class WolfpackMCPServer {
|
|
|
661
681
|
properties: {
|
|
662
682
|
page_id: { type: 'string', description: 'The page UUID' },
|
|
663
683
|
title: { type: 'string', description: 'Updated title' },
|
|
664
|
-
content: {
|
|
684
|
+
content: {
|
|
685
|
+
type: 'string',
|
|
686
|
+
description: 'Updated content (markdown). Supports base64-encoded images which will be auto-uploaded.',
|
|
687
|
+
},
|
|
665
688
|
},
|
|
666
689
|
required: ['page_id'],
|
|
667
690
|
},
|
|
@@ -700,7 +723,10 @@ class WolfpackMCPServer {
|
|
|
700
723
|
type: 'object',
|
|
701
724
|
properties: {
|
|
702
725
|
title: { type: 'string', description: 'Entry title' },
|
|
703
|
-
content: {
|
|
726
|
+
content: {
|
|
727
|
+
type: 'string',
|
|
728
|
+
description: 'Entry content (markdown). Supports base64-encoded images which will be auto-uploaded.',
|
|
729
|
+
},
|
|
704
730
|
date: { type: 'string', description: 'Entry date (ISO format, defaults to now)' },
|
|
705
731
|
},
|
|
706
732
|
required: ['title', 'content'],
|
|
@@ -714,7 +740,10 @@ class WolfpackMCPServer {
|
|
|
714
740
|
properties: {
|
|
715
741
|
entry_id: { type: 'string', description: 'The entry UUID' },
|
|
716
742
|
title: { type: 'string', description: 'Updated title' },
|
|
717
|
-
content: {
|
|
743
|
+
content: {
|
|
744
|
+
type: 'string',
|
|
745
|
+
description: 'Updated content (markdown). Supports base64-encoded images which will be auto-uploaded.',
|
|
746
|
+
},
|
|
718
747
|
},
|
|
719
748
|
required: ['entry_id'],
|
|
720
749
|
},
|
|
@@ -731,7 +760,10 @@ class WolfpackMCPServer {
|
|
|
731
760
|
type: 'object',
|
|
732
761
|
properties: {
|
|
733
762
|
work_item_id: { type: 'string', description: 'The work item UUID' },
|
|
734
|
-
content: {
|
|
763
|
+
content: {
|
|
764
|
+
type: 'string',
|
|
765
|
+
description: 'Comment content (markdown). Supports base64-encoded images which will be auto-uploaded.',
|
|
766
|
+
},
|
|
735
767
|
},
|
|
736
768
|
required: ['work_item_id', 'content'],
|
|
737
769
|
},
|
|
@@ -743,7 +775,10 @@ class WolfpackMCPServer {
|
|
|
743
775
|
type: 'object',
|
|
744
776
|
properties: {
|
|
745
777
|
issue_id: { type: 'string', description: 'The issue UUID' },
|
|
746
|
-
content: {
|
|
778
|
+
content: {
|
|
779
|
+
type: 'string',
|
|
780
|
+
description: 'Comment content (markdown). Supports base64-encoded images which will be auto-uploaded.',
|
|
781
|
+
},
|
|
747
782
|
},
|
|
748
783
|
required: ['issue_id', 'content'],
|
|
749
784
|
},
|