MCPcopy
hub / github.com/coder/mux / agentVisitKey

Function agentVisitKey

src/node/services/agentDefinitions/agentDefinitionsService.ts:39–41  ·  view source on GitHub ↗
(id: AgentId, scope: AgentDefinitionScope)

Source from the content-addressed store, hash-verified

37 * same-name agents at different scopes (e.g., project/exec vs built-in/exec).
38 */
39export function agentVisitKey(id: AgentId, scope: AgentDefinitionScope): string {
40 return `${id}:${scope}`;
41}
42
43/**
44 * When the caller already knows which scope supplied an agent definition, skip any higher-priority

Callers 2

resolveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected