Skip to content

Respect CORTEX_HOME for plugin commands#250

Open
JjCyberz wants to merge 1 commit into
CortexLM:mainfrom
JjCyberz:codex-respect-cortex-home-plugins
Open

Respect CORTEX_HOME for plugin commands#250
JjCyberz wants to merge 1 commit into
CortexLM:mainfrom
JjCyberz:codex-respect-cortex-home-plugins

Conversation

@JjCyberz
Copy link
Copy Markdown

Summary

Fixes plugin command path resolution so plugin operations use the same Cortex home directory as the rest of the CLI.

The current helper builds the plugin path directly from dirs::home_dir()/.cortex/plugins, which ignores CORTEX_HOME. This changes it to use cortex_common::get_cortex_home() first, then keeps the existing home-dir and relative fallbacks.

This should address PlatformNetwork/bounty-challenge#51564.

Validation

  • git diff --check passed locally.
  • I could not run the Rust test suite in this environment because cargo is not installed.

Copy link
Copy Markdown

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

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.

1 participant