wolfpack-mcp 1.0.86 → 1.0.88
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 +11 -3
- package/dist/client.js +2 -2
- package/dist/index.js +3 -3
- package/package.json +1 -1
|
@@ -701,7 +701,8 @@ export const AGENT_BUILDER_TOOLS = [
|
|
|
701
701
|
// ─── Group 6: Secrets ─────────────────────────────────────────────────────
|
|
702
702
|
{
|
|
703
703
|
name: 'list_agent_secrets',
|
|
704
|
-
description: 'List secret names for an agent
|
|
704
|
+
description: 'List secret names for an agent, with the note recording where each value came from. ' +
|
|
705
|
+
'Values are never returned.',
|
|
705
706
|
inputSchema: {
|
|
706
707
|
type: 'object',
|
|
707
708
|
properties: {
|
|
@@ -715,7 +716,7 @@ export const AGENT_BUILDER_TOOLS = [
|
|
|
715
716
|
name: 'set_agent_secret',
|
|
716
717
|
description: 'Create or update a secret for an agent. ' +
|
|
717
718
|
'Name must be uppercase letters, digits, and underscores (e.g. MY_API_KEY). ' +
|
|
718
|
-
'Omit value to change only shared_with_aliases on an existing secret.',
|
|
719
|
+
'Omit value to change only shared_with_aliases or comment on an existing secret.',
|
|
719
720
|
inputSchema: {
|
|
720
721
|
type: 'object',
|
|
721
722
|
properties: {
|
|
@@ -726,6 +727,12 @@ export const AGENT_BUILDER_TOOLS = [
|
|
|
726
727
|
type: 'boolean',
|
|
727
728
|
description: 'Share with same-org aliases of this agent (default false)',
|
|
728
729
|
},
|
|
730
|
+
comment: {
|
|
731
|
+
type: 'string',
|
|
732
|
+
description: 'Note on where the value came from, kept when the value is later rotated. ' +
|
|
733
|
+
'Readable by anyone who can manage the agent — never put the secret itself here. ' +
|
|
734
|
+
'Omit to leave an existing note alone; pass an empty string to clear it.',
|
|
735
|
+
},
|
|
729
736
|
...ORG_SLUG_PROP,
|
|
730
737
|
},
|
|
731
738
|
required: ['agent_id', 'name'],
|
|
@@ -1319,10 +1326,11 @@ export async function handleAgentBuilderTool(name, args, client) {
|
|
|
1319
1326
|
name: z.string(),
|
|
1320
1327
|
value: z.string().optional(),
|
|
1321
1328
|
shared_with_aliases: z.boolean().optional(),
|
|
1329
|
+
comment: z.string().optional(),
|
|
1322
1330
|
org_slug: orgSlugField,
|
|
1323
1331
|
})
|
|
1324
1332
|
.parse(args);
|
|
1325
|
-
const secret = await client.setAgentSecret(parsed.agent_id, parsed.name, parsed.value, parsed.shared_with_aliases, resolveOrg(parsed));
|
|
1333
|
+
const secret = await client.setAgentSecret(parsed.agent_id, parsed.name, parsed.value, { sharedWithAliases: parsed.shared_with_aliases, comment: parsed.comment }, resolveOrg(parsed));
|
|
1326
1334
|
return { content: [{ type: 'text', text: `Set secret "${secret.name}"` }] };
|
|
1327
1335
|
}
|
|
1328
1336
|
// ─── Discovery ────────────────────────────────────────────────────────────
|
package/dist/client.js
CHANGED
|
@@ -780,11 +780,11 @@ export class WolfpackClient {
|
|
|
780
780
|
async listAgentSecrets(agentId, orgSlug) {
|
|
781
781
|
return this.api.get(this.withOrgSlug(`/agents/${agentId}/secrets`, orgSlug));
|
|
782
782
|
}
|
|
783
|
-
async setAgentSecret(agentId, name, value,
|
|
783
|
+
async setAgentSecret(agentId, name, value, metadata, orgSlug) {
|
|
784
784
|
return this.api.post(this.withOrgSlug(`/agents/${agentId}/secrets`, orgSlug), {
|
|
785
785
|
name,
|
|
786
786
|
value,
|
|
787
|
-
|
|
787
|
+
...metadata,
|
|
788
788
|
});
|
|
789
789
|
}
|
|
790
790
|
// ─── Agent Builder: Skills (write) ────────────────────────────────────────
|
package/dist/index.js
CHANGED
|
@@ -961,7 +961,7 @@ class WolfpackMCPServer {
|
|
|
961
961
|
},
|
|
962
962
|
leading_user_id: {
|
|
963
963
|
type: ['string', 'null'],
|
|
964
|
-
description: "User ID to assign as leading user, or null to unassign. Agents may not assign work to themselves — that is the
|
|
964
|
+
description: "User ID to assign as leading user, or null to unassign. Agents may not assign work to themselves — that is the Delivery Lead's decision.",
|
|
965
965
|
},
|
|
966
966
|
radar_item_id: {
|
|
967
967
|
type: ['string', 'null'],
|
|
@@ -1342,7 +1342,7 @@ class WolfpackMCPServer {
|
|
|
1342
1342
|
{
|
|
1343
1343
|
name: 'create_work_item',
|
|
1344
1344
|
description: 'Create a new work item in your current project (auto-selected for single-project users, or use list_projects first for multi-project). Requires mcp:work_items:create permission. ' +
|
|
1345
|
-
'Agents: work you file lands unassigned in the backlog, whatever status you ask for, and waits there for the
|
|
1345
|
+
'Agents: work you file lands unassigned in the backlog, whatever status you ask for, and waits there for the Delivery Lead to approve and assign it. ' +
|
|
1346
1346
|
CONTENT_LINKING_HELP,
|
|
1347
1347
|
inputSchema: {
|
|
1348
1348
|
type: 'object',
|
|
@@ -1382,7 +1382,7 @@ class WolfpackMCPServer {
|
|
|
1382
1382
|
},
|
|
1383
1383
|
leading_user_id: {
|
|
1384
1384
|
type: 'string',
|
|
1385
|
-
description: "User ID to assign as leading user. Agents may not assign work to themselves — that is the
|
|
1385
|
+
description: "User ID to assign as leading user. Agents may not assign work to themselves — that is the Delivery Lead's decision.",
|
|
1386
1386
|
},
|
|
1387
1387
|
category_id: {
|
|
1388
1388
|
type: 'string',
|