diff --git a/helpers/plugins.py b/helpers/plugins.py index 44f13a0b9..45bac7b05 100644 --- a/helpers/plugins.py +++ b/helpers/plugins.py @@ -752,13 +752,12 @@ def find_plugin_assets( ) if _collect(path, project_name, agent_profile): return results - if not agent_profile or agent_profile == "*": - # project/.a0proj/plugins//... - path = projects.get_project_meta( - project_name, files.PLUGINS_DIR, plugin_name, *subpaths - ) - if _collect(path, project_name, ""): - return results + # project/.a0proj/plugins//... (always check as fallback, even when agent_profile is set) + path = projects.get_project_meta( + project_name, files.PLUGINS_DIR, plugin_name, *subpaths + ) + if _collect(path, project_name, ""): + return results # usr/agents//plugins//... if agent_profile: