Skip to content

fix(agents): detect claude-desktop install via app-specific path - #194

Open
gmoigneu wants to merge 1 commit into
mainfrom
fix/128-claude-desktop-detection
Open

fix(agents): detect claude-desktop install via app-specific path#194
gmoigneu wants to merge 1 commit into
mainfrom
fix/128-claude-desktop-detection

Conversation

@gmoigneu

@gmoigneu gmoigneu commented May 3, 2026

Copy link
Copy Markdown
Contributor

Closes #128. IsAgentInstalled special-cases claude-desktop now: looks at the macOS ~/Library/Application Support/Claude and Windows ~/AppData/Roaming/Claude paths instead of the generic ~/.agents dir that gave false positives whenever any generic-supporting agent was installed.

claude-desktop is registered with supports_generic_global=true, so its
SkillDir resolves to ~/.agents/skills — a directory shared with every
other generic-supporting agent. IsAgentInstalled then reported
claude-desktop as installed whenever ~/.agents existed, which it does
for users who have any other generic-supporting agent installed.

Now special-cases claude-desktop in IsAgentInstalled: looks for the
canonical macOS path (~/Library/Application Support/Claude) and the
Windows path (~/AppData/Roaming/Claude). Linux is not officially
supported by Claude Desktop and stays detected-as-not-installed,
matching the existing mcp.warnClaudeDesktopOnLinux warning.

Closes #128.
@Theosakamg

Copy link
Copy Markdown
Contributor

Need to apply #208

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

agents: detect claude-desktop install via app-specific path, not generic ~/.agents/skills

2 participants