wolfpack-mcp 1.0.68 → 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/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
|
}
|