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