mirror of
https://github.com/rohitg00/skillkit.git
synced 2026-11-19 02:13:58 +00:00
fix: address PR review comments for OpenClaw adapter
- Remove legacy clawdbot path checks from OpenClawAdapter.isDetected() so pure clawdbot workspaces are not hijacked by OpenClaw detection - Add '.openclaw/agents' to ALL_AGENT_DISCOVERY_PATHS so agent discovery works for OpenClaw agent directories
This commit is contained in:
committed by
Rohit Ghumare
parent
8d79bb6101
commit
3c82cc5950
@@ -90,15 +90,10 @@ ${skillsXml}
|
||||
const globalOpenClaw = join(homedir(), '.openclaw');
|
||||
// OpenClaw config file
|
||||
const openclawConfig = join(process.cwd(), 'openclaw.json');
|
||||
// Legacy clawdbot paths
|
||||
const globalClawdbot = join(homedir(), '.clawdbot');
|
||||
const clawdbotConfig = join(process.cwd(), 'clawdbot.json');
|
||||
|
||||
return (
|
||||
(existsSync(projectSkills) && existsSync(globalOpenClaw)) ||
|
||||
existsSync(openclawConfig) ||
|
||||
existsSync(globalClawdbot) ||
|
||||
existsSync(clawdbotConfig)
|
||||
existsSync(openclawConfig)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -278,6 +278,7 @@ export const ALL_AGENT_DISCOVERY_PATHS = [
|
||||
'.cline/agents',
|
||||
'.clawdbot/agents',
|
||||
'.codebuddy/agents',
|
||||
'.openclaw/agents',
|
||||
'.codex/agents',
|
||||
'.commandcode/agents',
|
||||
'.continue/agents',
|
||||
|
||||
Reference in New Issue
Block a user