The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu
Go agent-ai-cliagent-harnessesagent-securitybrowser-extensionciclaude-codecloudcodexcursordetection-engineeringjevknowledge-basememorymobile-device-managementobservabilitysecuritysecurity-information-and-event-managementsecurity-toolstelemetrytraces
package target-specific collectors
Justin D'Souza34421512e8f7
diff --git a/cli/beacon/.goreleaser.yaml b/cli/beacon/.goreleaser.yamlindex a27d1790..288782a0 100644--- a/cli/beacon/.goreleaser.yaml+++ b/cli/beacon/.goreleaser.yaml@@ -7,7 +7,12 @@ before:hooks:- go mod tidy- bash -c 'cd ../beacon-hooks && go mod tidy'- - cp ../../collector-builder/dist/beacon-otelcol/beacon-otelcol ./beacon-otelcol+ - rm -rf ./release-collectors+ - mkdir -p ./release-collectors/darwin_amd64 ./release-collectors/darwin_arm64 ./release-collectors/linux_amd64 ./release-collectors/linux_arm64+ - cp ../../collector-builder/dist/beacon-otelcol/darwin_amd64/beacon-otelcol ./release-collectors/darwin_amd64/beacon-otelcol+ - cp ../../collector-builder/dist/beacon-otelcol/darwin_arm64/beacon-otelcol ./release-collectors/darwin_arm64/beacon-otelcol+ - cp ../../collector-builder/dist/beacon-otelcol/linux_amd64/beacon-otelcol ./release-collectors/linux_amd64/beacon-otelcol+ - cp ../../collector-builder/dist/beacon-otelcol/linux_arm64/beacon-otelcol ./release-collectors/linux_arm64/beacon-otelcolbuilds:- id: beacon@@ -43,7 +48,7 @@ archives:name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"files:- README*- - src: beacon-otelcol+ - src: release-collectors/{{ .Os }}_{{ .Arch }}/beacon-otelcoldst: beacon-otelcolchecksum:diff --git a/packaging/macos/build-pkg.sh b/packaging/macos/build-pkg.shindex 88ec9b4c..4fd7565c 100755--- a/packaging/macos/build-pkg.sh+++ b/packaging/macos/build-pkg.sh@@ -11,7 +11,8 @@ VERSION="${BEACON_VERSION:-$(cd "$ROOT_DIR" && git describe --tags --always --diPKG_IDENTIFIER="${PKG_IDENTIFIER:-ai.asymptote.beacon.endpoint}"PKG_NAME="${PKG_NAME:-BeaconEndpointAgent}"BEACON_BIN="${BEACON_BIN:-$ROOT_DIR/cli/beacon/beacon}"-COLLECTOR_BIN="${BEACON_COLLECTOR:-$ROOT_DIR/collector-builder/dist/beacon-otelcol/beacon-otelcol}"+COLLECTOR_TARGET="${BEACON_COLLECTOR_TARGET:-$(go env GOOS)_$(go env GOARCH)}"+COLLECTOR_BIN="${BEACON_COLLECTOR:-$ROOT_DIR/collector-builder/dist/beacon-otelcol/$COLLECTOR_TARGET/beacon-otelcol}"PKG_ROOT="$WORK_DIR/pkgroot"PKG_SCRIPTS="$WORK_DIR/scripts"PKG_PATH="$OUT_DIR/$PKG_NAME-$VERSION.pkg"diff --git a/packaging/macos/pkgbuild.md b/packaging/macos/pkgbuild.mdindex cd65ca22..8c6f6879 100644--- a/packaging/macos/pkgbuild.md+++ b/packaging/macos/pkgbuild.md@@ -36,15 +36,16 @@ The package builder expects:```textcli/beacon/beacon-collector-builder/dist/beacon-otelcol/beacon-otelcol+collector-builder/dist/beacon-otelcol/<goos>_<goarch>/beacon-otelcol```-Override those paths with `BEACON_BIN` and `BEACON_COLLECTOR` if release-automation builds into a different directory.+Override those paths with `BEACON_BIN`, `BEACON_COLLECTOR_TARGET`, and+`BEACON_COLLECTOR` if release automation builds into a different directory.The Homebrew release archive also includes `beacon-otelcol` from-`collector-builder/dist/beacon-otelcol/beacon-otelcol` and installs it beside-`beacon`, so `beacon endpoint install` works without extra flags.+the matching `collector-builder/dist/beacon-otelcol/<goos>_<goarch>` directory+and installs it beside `beacon`, so `beacon endpoint install` works without+extra flags.## Package Build