Skip to content

Conversation

@jamadeo
Copy link
Collaborator

@jamadeo jamadeo commented Oct 24, 2025

This lets you set paths in your config to be appended to a PATH variable when Goose runs things. For now just extensions but perhaps we use this for other processes too, like cli providers?

@jamadeo jamadeo changed the title Goose paths for extensions Configurable search paths Oct 24, 2025
@jamadeo jamadeo requested a review from DOsinga October 24, 2025 18:17
#[cfg(windows)]
command.creation_flags(CREATE_NO_WINDOW_FLAG);

command.env(
Copy link
Collaborator

Choose a reason for hiding this comment

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

this overrides the main $PATH right? so user would need to know to set everything they need as not appending? (can the config include $PATH as an auto expanding var?)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

command.env overrides, but the search_path_var() function will do the appending

Copy link
Collaborator

Choose a reason for hiding this comment

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

ah ok, nice.

@jamadeo jamadeo merged commit aaef182 into main Oct 29, 2025
14 checks passed
@jamadeo jamadeo deleted the jackamadeo/goose-paths branch October 29, 2025 15:34
fbalicchia pushed a commit to fbalicchia/goose that referenced this pull request Nov 7, 2025
@emma-squared emma-squared mentioned this pull request Nov 11, 2025
10 tasks
BlairAllan pushed a commit to BlairAllan/goose that referenced this pull request Nov 29, 2025
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.

4 participants