ui: clarify agent endpoint guidance

This commit is contained in:
a.tolmachev
2026-05-03 19:35:01 +00:00
parent 9b3444f2f0
commit 6fe969438e
5 changed files with 24 additions and 1 deletions
+7
View File
@@ -446,6 +446,13 @@ document.addEventListener('alpine:init', function() {
return '/mcp/v1/' + workspaceSlug + '/' + agent.slug;
},
endpointHelpText(agent) {
return this.tfKey(
this.isCommunityBuild ? 'agents.card.endpoint_help_community' : 'agents.card.endpoint_help',
{ count: agent.key_count || 0 }
);
},
copyEndpoint(agent) {
var endpoint = this.mcpEndpoint(agent);
navigator.clipboard.writeText(endpoint).catch(function() {});