wolfpack-mcp 1.0.106 → 1.0.108
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.
|
@@ -158,6 +158,10 @@ export const AGENT_BUILDER_TOOLS = [
|
|
|
158
158
|
items: { type: 'string' },
|
|
159
159
|
description: 'Replace the full set of MCP permissions granted to the agent\'s session API key (e.g. ["mcp:work_items:read", "mcp:comments:create"]). Grant only what the agent\'s tasks need. An empty array falls back to a read-only default.',
|
|
160
160
|
},
|
|
161
|
+
config: {
|
|
162
|
+
type: 'object',
|
|
163
|
+
description: 'The agent\'s own Ghost runtime settings, merged into every session\'s generated config. Two keys are honoured: "options" (e.g. {"max_turn_requests": 150} — the per-turn model request cap, default 200) and "agents" (per-agent overrides, e.g. {"coder": {"disabled_tools": ["agent"]}} to switch the sub-agent tool off). Other keys are ignored. Replaces the stored config as a whole; set to null to clear. Ghost runtime only — Claude Code agents ignore it.',
|
|
164
|
+
},
|
|
161
165
|
...ORG_SLUG_PROP,
|
|
162
166
|
},
|
|
163
167
|
required: ['agent_id'],
|
|
@@ -1055,6 +1059,7 @@ export async function handleAgentBuilderTool(name, args, client) {
|
|
|
1055
1059
|
llm_model: z.string().nullable().optional(),
|
|
1056
1060
|
llm_family: z.string().nullable().optional(),
|
|
1057
1061
|
api_key_permissions: z.array(z.string()).optional(),
|
|
1062
|
+
config: z.record(z.unknown()).nullable().optional(),
|
|
1058
1063
|
org_slug: orgSlugField,
|
|
1059
1064
|
})
|
|
1060
1065
|
.parse(args);
|
|
@@ -1078,6 +1083,8 @@ export async function handleAgentBuilderTool(name, args, client) {
|
|
|
1078
1083
|
fields.llmFamily = rest.llm_family;
|
|
1079
1084
|
if (rest.api_key_permissions !== undefined)
|
|
1080
1085
|
fields.apiKeyPermissions = rest.api_key_permissions;
|
|
1086
|
+
if (rest.config !== undefined)
|
|
1087
|
+
fields.config = rest.config;
|
|
1081
1088
|
const agent = await client.updateAgent(agent_id, fields, resolveOrg(parsed));
|
|
1082
1089
|
return { content: [{ type: 'text', text: `Updated agent\n\n${text(agent)}` }] };
|
|
1083
1090
|
}
|
package/dist/toolCatalogue.js
CHANGED
|
@@ -249,7 +249,7 @@ const SHARED_TOOLS = [
|
|
|
249
249
|
},
|
|
250
250
|
project_slug: {
|
|
251
251
|
type: 'string',
|
|
252
|
-
description: 'Project slug (required for
|
|
252
|
+
description: 'Project slug (required for multi-project users, use list_projects to get slugs)',
|
|
253
253
|
},
|
|
254
254
|
},
|
|
255
255
|
required: ['work_item_id'],
|
|
@@ -650,7 +650,7 @@ const SHARED_TOOLS = [
|
|
|
650
650
|
},
|
|
651
651
|
project_slug: {
|
|
652
652
|
type: 'string',
|
|
653
|
-
description: 'Project slug (required for
|
|
653
|
+
description: 'Project slug (required for multi-project users, use list_projects to get slugs)',
|
|
654
654
|
},
|
|
655
655
|
},
|
|
656
656
|
required: ['item_id'],
|
|
@@ -795,7 +795,7 @@ const SHARED_TOOLS = [
|
|
|
795
795
|
},
|
|
796
796
|
project_slug: {
|
|
797
797
|
type: 'string',
|
|
798
|
-
description: 'Project slug (required for
|
|
798
|
+
description: 'Project slug (required for multi-project users, use list_projects to get slugs)',
|
|
799
799
|
},
|
|
800
800
|
},
|
|
801
801
|
required: ['issue_id'],
|
|
@@ -1101,7 +1101,7 @@ const SHARED_TOOLS = [
|
|
|
1101
1101
|
entry_id: { type: 'string', description: 'The entry refId (number)' },
|
|
1102
1102
|
project_slug: {
|
|
1103
1103
|
type: 'string',
|
|
1104
|
-
description: 'Project slug (required for
|
|
1104
|
+
description: 'Project slug (required for multi-project users, use list_projects to get slugs)',
|
|
1105
1105
|
},
|
|
1106
1106
|
},
|
|
1107
1107
|
required: ['entry_id'],
|