hooks: default hooks.internal.enabled to true so bundled hooks load on fresh installs

Made-with: Cursor
This commit is contained in:
joelnishanth
2026-03-27 13:08:32 -05:00
committed by Ayaan Zaidi
parent 3886b65ef2
commit f849b8de97
6 changed files with 37 additions and 9 deletions

View File

@@ -375,7 +375,7 @@ export function createPluginRegistry(registryParams: PluginRegistryParams) {
source: record.source,
});
const hookSystemEnabled = config?.hooks?.internal?.enabled === true;
const hookSystemEnabled = config?.hooks?.internal?.enabled !== false;
if (!hookSystemEnabled || opts?.register === false) {
return;
}