@agentvalet/register 1.4.0 → 1.5.0

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.
Files changed (2) hide show
  1. package/dist/index.js +8 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -661,8 +661,15 @@ function generatePermissionsFile(agentId, ownerId, permissions) {
661
661
  const gated = new Set(p.approvalScopes ?? []);
662
662
  const scopeList = p.scopes.map((s) => ` - \`${s}\`${gated.has(s) ? " \u2014 requires human approval" : ""}`).join("\n");
663
663
  const approvalNote = p.requireApproval ? "\n > Requires human approval before executing.\n" : "";
664
+ const vendorBits = [
665
+ p.serverName ? `reports itself as \`${p.serverName}\`` : null,
666
+ p.serverHost ? `served from \`${p.serverHost}\`` : null
667
+ ].filter(Boolean);
668
+ const vendorNote = vendorBits.length ? `
669
+ _MCP server \u2014 ${vendorBits.join(", ")}._
670
+ ` : "";
664
671
  return `### ${p.platformName} (\`${p.platformId}\`)
665
-
672
+ ${vendorNote}
666
673
  Approved scopes:
667
674
  ${scopeList}
668
675
  ${approvalNote}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentvalet/register",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "description": "Self-register AI agents with AgentValet",
5
5
  "type": "module",
6
6
  "bin": {