MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / getDefaultAgentDirs

Function getDefaultAgentDirs

sdk/src/agents/load-agents.ts:135–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133}
134
135const getDefaultAgentDirs = () => {
136 const cwdAgents = path.join(process.cwd(), '.agents')
137 const parentAgents = path.join(process.cwd(), '..', '.agents')
138 const homeAgents = path.join(os.homedir(), '.agents')
139 return [cwdAgents, parentAgents, homeAgents]
140}
141
142/**
143 * Load agent definitions from `.agents` directories.

Callers 1

loadLocalAgentsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected