Skip to content

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

Fix beaconManaged false negatives for Gemini CLI and VS Code OTLP detection

Cursor Agentd5cb3b38ca29
diff --git a/cli/beacon/internal/endpoint/inventory/inventory.go b/cli/beacon/internal/endpoint/inventory/inventory.go
index 18a97331..625699f4 100644
--- a/cli/beacon/internal/endpoint/inventory/inventory.go
+++ b/cli/beacon/internal/endpoint/inventory/inventory.go
@@ -570,11 +570,17 @@ func beaconManaged(item candidate, data []byte) bool {
case "grok":
return strings.Contains(text, "beacon-managed-grok-hooks:v1")
}
- if item.runtime == "claude_code" || item.runtime == "codex_cli" || item.runtime == "gemini_cli" || item.runtime == "vscode" {
+ if item.runtime == "claude_code" || item.runtime == "codex_cli" {
if strings.Contains(text, "OTEL_EXPORTER_OTLP_ENDPOINT") && localEndpointText(text) {
return true
}
}
+ if item.runtime == "gemini_cli" && strings.Contains(text, "otlpEndpoint") && localEndpointText(text) {
+ return true
+ }
+ if item.runtime == "vscode" && strings.Contains(text, "github.copilot.chat.otel.otlpEndpoint") && localEndpointText(text) {
+ return true
+ }
if item.runtime == "factory" && strings.Contains(text, "OTEL_TELEMETRY_ENDPOINT") && localEndpointText(text) {
return true
}