MCPcopy
hub / github.com/codeaashu/claude-code / isCustomAgent

Function isCustomAgent

src/tools/AgentTool/loadAgentsDir.ts:174–178  ·  view source on GitHub ↗
(
  agent: AgentDefinition,
)

Source from the content-addressed store, hash-verified

172}
173
174export function isCustomAgent(
175 agent: AgentDefinition,
176): agent is CustomAgentDefinition {
177 return agent.source !== 'built-in' && agent.source !== 'plugin'
178}
179
180export function isPluginAgent(
181 agent: AgentDefinition,

Callers 3

runFunction · 0.85
handleSpawnInProcessFunction · 0.85
AgentEditorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected