caveat-cli 0.19.1 → 0.19.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -34580,7 +34580,7 @@ function codexFeature(codexHome) {
34580
34580
  const config2 = parseToml2(readFileSync10(path, "utf8"));
34581
34581
  if (!isRecord2(config2.features)) return status(false, "feature_disabled");
34582
34582
  const features = config2.features;
34583
- return status(features.hooks === true && features.codex_hooks === void 0, "feature_disabled");
34583
+ return status(features.hooks === true && (features.codex_hooks === void 0 || features.codex_hooks === true), "feature_disabled");
34584
34584
  } catch {
34585
34585
  return unverified("config_unreadable");
34586
34586
  }