wolfpack-mcp 1.0.67 → 1.0.69
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 +15 -0
- package/dist/index.js +16 -1
- package/package.json +1 -1
|
@@ -318,6 +318,11 @@ export const AGENT_BUILDER_TOOLS = [
|
|
|
318
318
|
description: 'MCP servers to disable for this task (e.g. "wolfpack"). ' +
|
|
319
319
|
'Disables all tools from those MCP servers to reduce context usage.',
|
|
320
320
|
},
|
|
321
|
+
clone_repository: {
|
|
322
|
+
type: 'boolean',
|
|
323
|
+
description: 'Whether to clone the team repository at session start (default true). ' +
|
|
324
|
+
'Set false for tasks that do not need the source code, to save cold-start time.',
|
|
325
|
+
},
|
|
321
326
|
...ORG_SLUG_PROP,
|
|
322
327
|
},
|
|
323
328
|
required: ['agent_id', 'name', 'prompt'],
|
|
@@ -349,6 +354,11 @@ export const AGENT_BUILDER_TOOLS = [
|
|
|
349
354
|
description: 'MCP servers to disable for this task (e.g. "wolfpack"). ' +
|
|
350
355
|
'Pass null or empty array to enable all MCP servers.',
|
|
351
356
|
},
|
|
357
|
+
clone_repository: {
|
|
358
|
+
type: 'boolean',
|
|
359
|
+
description: 'Whether to clone the team repository at session start. ' +
|
|
360
|
+
'Set false for tasks that do not need the source code, to save cold-start time.',
|
|
361
|
+
},
|
|
352
362
|
...ORG_SLUG_PROP,
|
|
353
363
|
},
|
|
354
364
|
required: ['agent_id', 'task_id'],
|
|
@@ -942,6 +952,7 @@ export async function handleAgentBuilderTool(name, args, client) {
|
|
|
942
952
|
sort_order: z.number().optional(),
|
|
943
953
|
disabled_tools: z.array(z.string()).optional(),
|
|
944
954
|
disabled_mcp_servers: z.array(z.string()).optional(),
|
|
955
|
+
clone_repository: z.boolean().optional(),
|
|
945
956
|
org_slug: orgSlugField,
|
|
946
957
|
})
|
|
947
958
|
.parse(args);
|
|
@@ -952,6 +963,7 @@ export async function handleAgentBuilderTool(name, args, client) {
|
|
|
952
963
|
sortOrder: parsed.sort_order,
|
|
953
964
|
disabledTools: parsed.disabled_tools,
|
|
954
965
|
disabledMcpServers: parsed.disabled_mcp_servers,
|
|
966
|
+
cloneRepository: parsed.clone_repository,
|
|
955
967
|
}, resolveOrg(parsed));
|
|
956
968
|
return { content: [{ type: 'text', text: `Created task "${task.name}"\n\n${text(task)}` }] };
|
|
957
969
|
}
|
|
@@ -967,6 +979,7 @@ export async function handleAgentBuilderTool(name, args, client) {
|
|
|
967
979
|
is_active: z.boolean().optional(),
|
|
968
980
|
disabled_tools: z.array(z.string()).nullable().optional(),
|
|
969
981
|
disabled_mcp_servers: z.array(z.string()).nullable().optional(),
|
|
982
|
+
clone_repository: z.boolean().optional(),
|
|
970
983
|
org_slug: orgSlugField,
|
|
971
984
|
})
|
|
972
985
|
.parse(args);
|
|
@@ -985,6 +998,8 @@ export async function handleAgentBuilderTool(name, args, client) {
|
|
|
985
998
|
fields.disabledTools = parsed.disabled_tools;
|
|
986
999
|
if (parsed.disabled_mcp_servers !== undefined)
|
|
987
1000
|
fields.disabledMcpServers = parsed.disabled_mcp_servers;
|
|
1001
|
+
if (parsed.clone_repository !== undefined)
|
|
1002
|
+
fields.cloneRepository = parsed.clone_repository;
|
|
988
1003
|
const task = await client.updateAgentTask(parsed.agent_id, parsed.task_id, fields, resolveOrg(parsed));
|
|
989
1004
|
return { content: [{ type: 'text', text: `Updated task\n\n${text(task)}` }] };
|
|
990
1005
|
}
|
package/dist/index.js
CHANGED
|
@@ -171,6 +171,11 @@ const UpdateWorkItemSchema = z.object({
|
|
|
171
171
|
.nullable()
|
|
172
172
|
.optional()
|
|
173
173
|
.describe('User ID for third assisting user, or null to remove'),
|
|
174
|
+
work_pool_id: z
|
|
175
|
+
.string()
|
|
176
|
+
.nullable()
|
|
177
|
+
.optional()
|
|
178
|
+
.describe('Work pool to route the item to (pool ID or name), or null to remove it from its pool'),
|
|
174
179
|
tags: z
|
|
175
180
|
.array(z.string())
|
|
176
181
|
.optional()
|
|
@@ -864,7 +869,7 @@ class WolfpackMCPServer {
|
|
|
864
869
|
name: 'update_work_item',
|
|
865
870
|
description: 'Update one or more fields on a work item. Only provide the fields you want to change. ' +
|
|
866
871
|
'Supports: title, description, status, leading_user_id (assignee), assisting_user1/2/3_id, ' +
|
|
867
|
-
'radar_item_id (initiative), category_id, priority (0-4), size (S/M/L), tags, and closing_comment. ' +
|
|
872
|
+
'radar_item_id (initiative), category_id, priority (0-4), size (S/M/L), work_pool_id, tags, and closing_comment. ' +
|
|
868
873
|
'STATUS WORKFLOW: "pending" (backlog) → "new" (to do) → "doing" (in progress) → "review" (work done) → "ready" (awaiting deployment) → "completed" (deployed). ' +
|
|
869
874
|
'Use "blocked" when work cannot proceed. For "pending" items use pull_work_item first. ' +
|
|
870
875
|
'When moving to "review", add a completion comment. When moving to "blocked", add a comment explaining the blocker.',
|
|
@@ -931,6 +936,10 @@ class WolfpackMCPServer {
|
|
|
931
936
|
type: ['string', 'null'],
|
|
932
937
|
description: 'User ID for third assisting user, or null to remove',
|
|
933
938
|
},
|
|
939
|
+
work_pool_id: {
|
|
940
|
+
type: ['string', 'null'],
|
|
941
|
+
description: 'Work pool to route the item to (pool ID or name), or null to remove it from its pool',
|
|
942
|
+
},
|
|
934
943
|
tags: {
|
|
935
944
|
type: 'array',
|
|
936
945
|
items: { type: 'string' },
|
|
@@ -2160,6 +2169,8 @@ class WolfpackMCPServer {
|
|
|
2160
2169
|
fields.assistingUser2Id = parsed.assisting_user2_id;
|
|
2161
2170
|
if (parsed.assisting_user3_id !== undefined)
|
|
2162
2171
|
fields.assistingUser3Id = parsed.assisting_user3_id;
|
|
2172
|
+
if (parsed.work_pool_id !== undefined)
|
|
2173
|
+
fields.workPoolId = parsed.work_pool_id;
|
|
2163
2174
|
if (parsed.tags !== undefined)
|
|
2164
2175
|
fields.tags = parsed.tags;
|
|
2165
2176
|
if (parsed.closing_comment !== undefined)
|
|
@@ -2208,6 +2219,10 @@ class WolfpackMCPServer {
|
|
|
2208
2219
|
changes.push(parsed.assisting_user3_id
|
|
2209
2220
|
? `assisting user 3 updated`
|
|
2210
2221
|
: 'assisting user 3 removed');
|
|
2222
|
+
if (parsed.work_pool_id !== undefined)
|
|
2223
|
+
changes.push(parsed.work_pool_id
|
|
2224
|
+
? `work pool → ${workItem.workPool?.name || parsed.work_pool_id}`
|
|
2225
|
+
: 'removed from work pool');
|
|
2211
2226
|
if (parsed.tags !== undefined)
|
|
2212
2227
|
changes.push('tags updated');
|
|
2213
2228
|
if (parsed.closing_comment !== undefined)
|