Skip to content

Conversation

@xierenyuan
Copy link
Member

image fix claude code 路径兼容错误

@augmentcode
Copy link

augmentcode bot commented Dec 24, 2025

🤖 Augment PR Summary

Summary: Adjusts global “.claude” slash-command discovery to resolve under the user home directory (via dirname(globalConfigDir)) instead of one level above it.

Why: Fixes a path compatibility bug where the previous join could incorrectly point to /.claude/commands (filesystem root) rather than ~/.claude/commands.

🤖 Was this summary useful? React with 👍 or 👎

Copy link

@augmentcode augmentcode bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. No suggestions at this time.

Comment augment review to trigger a new review at any time.

@sorrycc
Copy link
Member

sorrycc commented Dec 25, 2025

搜下 globalClaude,skill 和 rule 那看下是否需要一起调整了。

@xierenyuan
Copy link
Member Author

搜下 globalClaude,skill 和 rule 那看下是否需要一起调整了。

done

@sorrycc sorrycc merged commit f9dfb59 into master Dec 25, 2025
3 checks passed
@sorrycc sorrycc deleted the refactor/simplify-global-command-path branch December 25, 2025 05:22
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.

3 participants