mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 14:16:34 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/agents/agent-loader.ts
This commit is contained in:
1 parent
42199bb14b
commit
c223a63ca5
3 files changed
+4
-1
No files matched your search
@@ -0,0 +1 @@
|
||||
{"branch": "checkpoint/pre-edit-20250801-164524", "file": "/workspaces/claude-code-flow/src/agents/agent-loader.ts", "timestamp": "2025-08-01T16:45:24Z", "type": "pre-edit", "original_branch": "alpha-83"}
|
||||
@@ -0,0 +1 @@
|
||||
{"tag": "checkpoint-20250801-164526", "file": "/workspaces/claude-code-flow/src/agents/agent-loader.ts", "timestamp": "2025-08-01T16:45:26Z", "type": "post-edit", "branch": "alpha-83", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 24 ++++++++++++++++++++++++ .claude-flow/metrics/task-metrics.json | 6 +++--- .claude/checkpoints/1754066715.json | 1 + .claude/checkpoints/1754066716.json | 1 + claude-flow-wiki | 0 src/agents/agent-loader.ts | 3 ++- 7 files changed, 32 insertions(+), 5 deletions(-) "}
|
||||
@@ -189,7 +189,8 @@ class AgentLoader {
|
||||
*/
|
||||
async getAgent(name: string): Promise<AgentDefinition | null> {
|
||||
await this.ensureLoaded();
|
||||
return this.agentCache.get(name) || null;
|
||||
// First try the original name, then try the legacy mapping
|
||||
return this.agentCache.get(name) || this.agentCache.get(resolveLegacyAgentType(name)) || null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user