wolfpack-mcp 1.0.82 → 1.0.84
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/agentBuilderTools.js +0 -4
- package/dist/client.js +4 -2
- package/dist/index.js +16 -1
- package/package.json +1 -1
|
@@ -88,7 +88,6 @@ export const AGENT_BUILDER_TOOLS = [
|
|
|
88
88
|
type: 'string',
|
|
89
89
|
description: 'LLM model family (e.g. "sonnet"). Agent auto-upgrades to latest in family.',
|
|
90
90
|
},
|
|
91
|
-
scheduling_enabled: { type: 'boolean', description: 'Whether scheduled tasks are enabled' },
|
|
92
91
|
api_key_permissions: {
|
|
93
92
|
type: 'array',
|
|
94
93
|
items: { type: 'string' },
|
|
@@ -819,7 +818,6 @@ export async function handleAgentBuilderTool(name, args, client) {
|
|
|
819
818
|
llm_provider: z.string().nullable().optional(),
|
|
820
819
|
llm_model: z.string().nullable().optional(),
|
|
821
820
|
llm_family: z.string().nullable().optional(),
|
|
822
|
-
scheduling_enabled: z.boolean().optional(),
|
|
823
821
|
api_key_permissions: z.array(z.string()).optional(),
|
|
824
822
|
org_slug: orgSlugField,
|
|
825
823
|
})
|
|
@@ -842,8 +840,6 @@ export async function handleAgentBuilderTool(name, args, client) {
|
|
|
842
840
|
fields.llmModel = rest.llm_model;
|
|
843
841
|
if (rest.llm_family !== undefined)
|
|
844
842
|
fields.llmFamily = rest.llm_family;
|
|
845
|
-
if (rest.scheduling_enabled !== undefined)
|
|
846
|
-
fields.schedulingEnabled = rest.scheduling_enabled;
|
|
847
843
|
if (rest.api_key_permissions !== undefined)
|
|
848
844
|
fields.apiKeyPermissions = rest.api_key_permissions;
|
|
849
845
|
const agent = await client.updateAgent(agent_id, fields, resolveOrg(parsed));
|
package/dist/client.js
CHANGED
|
@@ -612,8 +612,10 @@ export class WolfpackClient {
|
|
|
612
612
|
return this.api.post(`/subscriptions/${documentType}/${documentId}/unmute`, {});
|
|
613
613
|
}
|
|
614
614
|
// Discussion methods
|
|
615
|
-
async getDiscussions(documentType, documentId) {
|
|
616
|
-
|
|
615
|
+
async getDiscussions(documentType, documentId, teamSlug) {
|
|
616
|
+
// A document ID is only unique within a project, so the server has to be told
|
|
617
|
+
// which one is meant rather than searching them all
|
|
618
|
+
return this.api.get(this.withTeamSlug(`/discussions/${documentType}/${documentId}`, teamSlug));
|
|
617
619
|
}
|
|
618
620
|
async getDiscussionByComment(commentId) {
|
|
619
621
|
return this.api.get(`/discussions/by-comment/${commentId}`);
|
package/dist/index.js
CHANGED
|
@@ -645,6 +645,10 @@ const UUID_FIELDS_TO_STRIP = new Set([
|
|
|
645
645
|
const GetDiscussionsSchema = z.object({
|
|
646
646
|
document_type: z.string().describe('Document type (e.g. "wiki", "work_item", "issue")'),
|
|
647
647
|
document_id: z.string().describe('The ID of the document'),
|
|
648
|
+
project_slug: z
|
|
649
|
+
.string()
|
|
650
|
+
.optional()
|
|
651
|
+
.describe('Project slug — a document ID is only unique within one project'),
|
|
648
652
|
});
|
|
649
653
|
const GetDiscussionByCommentSchema = z.object({
|
|
650
654
|
comment_id: z
|
|
@@ -868,6 +872,8 @@ class WolfpackMCPServer {
|
|
|
868
872
|
'PLANNING: Check if the description contains a plan (markdown checklist). If not, APPEND one using update_work_progress - preserve all original description text and add your plan below a "---" separator. ' +
|
|
869
873
|
'FORMS: Procedure-created work items may include formDefinition (field definitions with name, label, type, required, options) and formValues (current values). Use submit_work_item_form to fill in form values. ' +
|
|
870
874
|
'REVIEW CHECKS: items under review may carry review checks (code-review, security-review, ...); see list_work_item_checks and claim/complete_work_item_check. ' +
|
|
875
|
+
'DEPENDENCIES: dependsOn lists the work this item follows and nextItems the work that follows it, each with satisfied=true once it has finished. ' +
|
|
876
|
+
'An item with an unsatisfied entry in dependsOn cannot be pulled yet — take the work it depends on first. ' +
|
|
871
877
|
'IMAGES: Image references in the description (e.g. ``) can be viewed using the download_image tool.',
|
|
872
878
|
inputSchema: {
|
|
873
879
|
type: 'object',
|
|
@@ -1021,6 +1027,11 @@ class WolfpackMCPServer {
|
|
|
1021
1027
|
'now — so there is no separate "move it to doing" step. Move it to "review" when done. ' +
|
|
1022
1028
|
'AGENTS: with more than one item claimable, take them in the order list_work_items gives ' +
|
|
1023
1029
|
'you: bug fixes first, then higher priority, then oldest. ' +
|
|
1030
|
+
'AGENTS: an item waiting on unfinished work it depends on is not claimable and will return ' +
|
|
1031
|
+
'403 naming what to take first — see dependsOn on get_work_item. ' +
|
|
1032
|
+
'AGENTS: one item at a time — while you lead an item in "doing" (for example one a ' +
|
|
1033
|
+
'reviewer sent back), pulling another returns 403 naming it; resume that item and move it ' +
|
|
1034
|
+
'to "review" (or "blocked") first. ' +
|
|
1024
1035
|
'If no assignee is specified, assigns to the API key owner. ' +
|
|
1025
1036
|
'In personal projects, items are always assigned to the owner.',
|
|
1026
1037
|
inputSchema: {
|
|
@@ -2104,6 +2115,10 @@ class WolfpackMCPServer {
|
|
|
2104
2115
|
type: 'string',
|
|
2105
2116
|
description: 'The ID of the document',
|
|
2106
2117
|
},
|
|
2118
|
+
project_slug: {
|
|
2119
|
+
type: 'string',
|
|
2120
|
+
description: 'Project slug — a document ID is only unique within one project',
|
|
2121
|
+
},
|
|
2107
2122
|
},
|
|
2108
2123
|
required: ['document_type', 'document_id'],
|
|
2109
2124
|
},
|
|
@@ -3073,7 +3088,7 @@ class WolfpackMCPServer {
|
|
|
3073
3088
|
// Discussion handlers
|
|
3074
3089
|
case 'get_discussions': {
|
|
3075
3090
|
const parsed = GetDiscussionsSchema.parse(args);
|
|
3076
|
-
const result = await this.client.getDiscussions(parsed.document_type, parsed.document_id);
|
|
3091
|
+
const result = await this.client.getDiscussions(parsed.document_type, parsed.document_id, parsed.project_slug);
|
|
3077
3092
|
return {
|
|
3078
3093
|
content: [{ type: 'text', text: JSON.stringify(result, null, 2) }],
|
|
3079
3094
|
};
|