Skip to content

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

Fix wrong default OTLP ports (5317/5318 -> 4317/4318) and tolerate launchctl failure on no-user path

Cursor Agente1d36735f574
diff --git a/packaging/macos/README.md b/packaging/macos/README.md
index 4b74d6d4..f09ff568 100644
--- a/packaging/macos/README.md
+++ b/packaging/macos/README.md
@@ -316,8 +316,8 @@ Parameter 4: Falcon LogScale HEC endpoint
Parameter 5: Falcon LogScale HEC token
Parameter 6: Falcon source, default beacon-endpoint-agent
Parameter 7: Falcon sourcetype, default json
-Parameter 8: OTLP gRPC port, default 5317
-Parameter 9: OTLP HTTP port, default 5318
+Parameter 8: OTLP gRPC port, default 4317
+Parameter 9: OTLP HTTP port, default 4318
Parameter 10: Falcon repository/index
```
diff --git a/packaging/macos/jamf/scripts/repair-falcon-claude-hooks.sh b/packaging/macos/jamf/scripts/repair-falcon-claude-hooks.sh
index 760d2e71..26f9a4b7 100755
--- a/packaging/macos/jamf/scripts/repair-falcon-claude-hooks.sh
+++ b/packaging/macos/jamf/scripts/repair-falcon-claude-hooks.sh
@@ -12,8 +12,8 @@ FALCON_HEC_ENDPOINT="${4:-}"
FALCON_HEC_TOKEN="${5:-}"
FALCON_SOURCE="${6:-beacon-endpoint-agent}"
FALCON_SOURCETYPE="${7:-json}"
-OTLP_GRPC_PORT="${8:-5317}"
-OTLP_HTTP_PORT="${9:-5318}"
+OTLP_GRPC_PORT="${8:-4317}"
+OTLP_HTTP_PORT="${9:-4318}"
FALCON_INDEX="${10:-}"
if [ ! -x "$BEACON_BIN" ]; then
@@ -69,7 +69,7 @@ if [ -z "$CONSOLE_USER" ] || [ "$CONSOLE_USER" = "root" ] || [ "$CONSOLE_USER" =
echo "No interactive console user found; skipping Claude hook install." >&2
"$BEACON_BIN" endpoint config validate --system
"$BEACON_BIN" endpoint status --system --json
- launchctl print system/com.beacon.endpoint.collector
+ launchctl print system/com.beacon.endpoint.collector || true
exit 0
fi