Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SethGammon/Citadel
/ loadAgent
Function
loadAgent
core/agents/parse-agent.js:106–111 ·
view source on GitHub ↗
(agentPath)
Source
from the content-addressed store, hash-verified
104
body,
105
};
106
107
return
{
108
...parsedAgent,
109
errors: validateParsedAgent(parsedAgent),
110
};
111
}
112
113
function
loadAgent(agentPath) {
114
const
resolvedPath = path.resolve(agentPath);
Callers
2
projectAgentToCodex
Function · 0.85
main
Function · 0.85
Calls
1
parseAgentContent
Function · 0.85
Tested by
no test coverage detected