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
Merge main into the OpenClaw adapter branch
Claude151dc1f5f3c8
diff --cc .github/workflows/ci.ymlindex d5eae1d1,5c17c88b..f874b391--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@@ -174,10 -174,10 +174,13 @@@ jobsrun: bun run check && bun test- name: Check Oh My Pi extensionworking-directory: plugins/omp-beacon+ run: bun run check && bun test+ - name: Check OpenClaw plugin+ working-directory: plugins/openclaw-beaconrun: bun run check && bun test+ - name: Check Prime Agent extension+ working-directory: plugins/prime-beacon+ run: bun run check && bun test- name: Build embedded hooks binaryworking-directory: cli/beacon# hooks.bin is gitignored (build-time artifact). The CLI embeds it viadiff --cc CLAUDE.mdindex 5a56c47a,7ea035d9..490d0a97--- a/CLAUDE.md+++ b/CLAUDE.md@@@ -124,7 -125,7 +125,8 @@@ cd plugins/opencode-beacon && bun run ccd ../cline-beacon && bun run check && bun testcd ../pi-beacon && bun run check && bun testcd ../omp-beacon && bun run check && bun test+cd ../openclaw-beacon && bun run check && bun test+ cd ../prime-beacon && bun run check && bun test```After editing a plugin or extension source, run `bun run sync` in its directory to update the@@@ -494,7 -493,7 +496,7 @@@ unpacked through Chrome's developer mod`.github/workflows/ci.yml` runs these jobs on every pull request and on pushes to `main`:- - `go-test` (macOS): `bun run check && bun test` in all four `plugins/*` directories, then `make build-hooks-current`, then `go test ./...` in `cli/beacon`, `go test -race ./internal/endpoint/...`, `go test ./...` in `cli/beacon-hooks`, `collector-builder/exporter/beaconjsonexporter`, and `pkg/asymptoteobserve` (includes threat-rules pack conformance), then CLI help smoke checks that also assert removed commands stay unexposed.-- `go-test` (macOS): `bun run check && bun test` in all five `plugins/*` directories, then `make build-hooks-current`, then `go test ./...` in `cli/beacon`, `go test -race ./internal/endpoint/...`, `go test ./...` in `cli/beacon-hooks`, `collector-builder/exporter/beaconjsonexporter`, and `pkg/asymptoteobserve` (includes threat-rules pack conformance), then CLI help smoke checks that also assert removed commands stay unexposed.++- `go-test` (macOS): `bun run check && bun test` in all six `plugins/*` directories, then `make build-hooks-current`, then `go test ./...` in `cli/beacon`, `go test -race ./internal/endpoint/...`, `go test ./...` in `cli/beacon-hooks`, `collector-builder/exporter/beaconjsonexporter`, and `pkg/asymptoteobserve` (includes threat-rules pack conformance), then CLI help smoke checks that also assert removed commands stay unexposed.- `linux-test` (ubuntu) and `windows-test` (windows-2025) rerun the Go suites per platform. The Windows job tests a measured package list rather than `./...`; the excluded packages are tracked in #318, and the scope must not be widened back to `./...`.- `typescript-sdk` (Node 20, 22, 24): `npm test`, `npm run check`, `npm run build`, `npm run pack:dry-run`, `npm run pack:smoke` in `packages/asymptote-sdk-js`.- `browser-extension` (Node 22): `npm run check`, `npm run test:unit`, `npm run build`, a check that the build is a loadable MV3 extension, and the Playwright replay e2e running the real extension in headless Chromium against a local HTTPS replay server; the HTML report and traces upload on failure.diff --cc cli/beacon-hooks/cmd/helpers.goindex c2a66808,504d41a6..eaaf3869--- a/cli/beacon-hooks/cmd/helpers.go+++ b/cli/beacon-hooks/cmd/helpers.go@@@ -137,19 -137,11 +137,19 @@@ func resolveSessionID(input map[string]// the handler context's session manager per event. The snake_case spellings are a fallback for// a payload that reached this command by some other route.//- // Oh My Pi shares this reader because it shares the envelope: its extension is built from the- // same contract. Some of its events -- the approval pair -- also carry a `sessionId` of their- // own, which lands on the same key and needs no separate spelling.- case "pi", "omp":+ // Oh My Pi and Prime Agent share this reader because they share the envelope: both extensions+ // are built from the same contract. Some Oh My Pi events -- the approval pair -- also carry a+ // `sessionId` of their own, which lands on the same key and needs no separate spelling.+ case "pi", "omp", "prime":return getFirstStr(input, "sessionId", "session_id", "sessionID")+ // The Beacon plugin lifts OpenClaw's session id onto the envelope from the hook context,+ // falling back to the event's own when the context did not carry one. `sessionKey` is+ // deliberately not read here: it is the *conversation* key, stable across the session-id+ // rotation a compaction causes, so reading it as the session id would merge every compaction+ // generation of one conversation into a single session. It is kept under `raw` instead, where+ // a query that wants the conversation can still reach it.+ case openClawPlatform:+ return getFirstStr(input, "sessionId", "session_id")default:id, _ := input["session_id"].(string)return id