Skip to content

The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu

Fix: skip hermes target in --all when hook level is project

Cursor Agentcbd9baffe802
diff --git a/cli/beacon/cmd/endpoint_diagnostics.go b/cli/beacon/cmd/endpoint_diagnostics.go
index a7bf1bd2..2e9fce1c 100644
--- a/cli/beacon/cmd/endpoint_diagnostics.go
+++ b/cli/beacon/cmd/endpoint_diagnostics.go
@@ -375,7 +375,18 @@ func printPlannedActions(actions []plannedAction) error {
func hookTargets() ([]string, error) {
if endpointOpts.allTargets {
- return []string{"cursor", "vscode", "factory", "opencode", "grok", "hermes", "devin-cli", "devin-desktop", "antigravity"}, nil
+ all := []string{"cursor", "vscode", "factory", "opencode", "grok", "hermes", "devin-cli", "devin-desktop", "antigravity"}
+ if endpointOpts.hookLevel == "project" {
+ filtered := all[:0:0]
+ for _, t := range all {
+ if t == "hermes" {
+ continue
+ }
+ filtered = append(filtered, t)
+ }
+ return filtered, nil
+ }
+ return all, nil
}
return canonicalHookTargets(splitCSV(endpointOpts.hookHarnesses))
}