agent icon indicating copy to clipboard operation
agent copied to clipboard

vendored plugin hooks are always run after regular plugin hooks

Open getim opened this issue 4 years ago • 0 comments

Is your feature request related to a problem? Please describe. We currently use a mix of vendored plugins and regular plugins in several of our steps. However, for this mix, the documented "within each hook, in the order they were listed in the step" here is not respected, and regular plugin hooks are always executed before vendored plugin hooks. This means that we can't have a vendored pre-command hook execute before a regular pre-command hook for example.

It looks like this is caused by the two separate phases of plugin collection here.

Describe the solution you'd like We would like the source of the plugin to be transparent to the order in which they are executed.

Describe alternatives you've considered The vendored plugin could be published but is very specific and we'd rather not be forced to do this to solve this problem.

Additional context /

getim avatar Mar 14 '22 18:03 getim