wolfpack-mcp 1.0.86 → 1.0.87

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.
@@ -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. Values are never returned.',
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, sharedWithAliases, orgSlug) {
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
- sharedWithAliases,
787
+ ...metadata,
788
788
  });
789
789
  }
790
790
  // ─── Agent Builder: Skills (write) ────────────────────────────────────────
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wolfpack-mcp",
3
- "version": "1.0.86",
3
+ "version": "1.0.87",
4
4
  "description": "MCP server for Wolfpack AI-enhanced software delivery tools",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",