# Open Source Architecture Source: https://docs.asymptotelabs.ai/architecture/architecture How Agent Beacon collects, normalizes, stores, correlates, and detects agent telemetry across every surface agents run on ## Overview Agent Beacon is the open-source telemetry layer for AI agents wherever they run: on laptops, in the browser, inside application code, in [CI](/concepts/core-concepts#ci-telemetry), in [provider-managed cloud sandboxes](/concepts/core-concepts#cloud-agent-telemetry), and at the [LLM gateways](https://github.com/Asymptote-Labs/agent-beacon/tree/main/gateway) that carry agents' model traffic. Each surface reports activity differently, so Beacon extends OpenTelemetry where a runtime emits it and instruments custom hooks, plugins, and adapters where it does not, then normalizes what it captures into a single [event model](/telemetry-schema/event-schema). ![Agent Beacon architecture. Seven source surfaces (local agents, browser, agents in code, CI pipelines, cloud agents, LLM gateways, and third-party AI SaaS) feed a Beacon layer that collects, normalizes, stores, correlates, and detects. The resulting unified AI telemetry flows to observability, SIEM, search, data platform, object storage, and security platform destinations.](https://mintcdn.com/asymptotelabs/IBrEA-nDUiWa3aDl/images/beacon-architecture.png?fit=max\&auto=format\&n=IBrEA-nDUiWa3aDl\&q=85\&s=782f7aa500deeee3d15765d07e20cf33) The diagram reads top to bottom in three bands: | Band | What it shows | | - | - | | **Sources** | Where agents run and how each surface exposes activity | | **Beacon** | The pipeline that turns surface-specific signals into unified AI telemetry: [collect](#collect), [normalize](#normalize), [store](#store), [correlate](#correlate), [detect](#detect) | | **Destinations** | Customer-owned systems that consume the normalized stream | The endpoint architecture is local-first. Collection, normalization, storage, correlation, and detection all run on the machine, and nothing leaves it unless you configure forwarding. CI, cloud-agent, and LLM gateway paths reuse the same event model through surface-specific setup rather than a persistent endpoint service. ## Collection surfaces | Surface | How activity reaches Beacon | Where events land | | - | - | - | | [Local agents](#local-agents) | Native hooks, managed plugins and extensions, local [OTLP](/concepts/core-concepts#otlp), or a poll of the runtime's own session store | Persistent local [runtime JSONL log](/concepts/core-concepts#runtime-jsonl-log) | | [Browser](#browser) | Optional MV3 extension for Chromium browsers and beta Firefox, posting OTLP to the local collector | Persistent local runtime JSONL log | | [Agents in code](#agents-in-code) | [Observe SDK](/concepts/core-concepts#observe-sdk) instrumentation exporting OpenTelemetry spans | Customer-managed OTLP collector or hosted Observe | | [CI pipelines](#ci-pipelines) | Temporary collector wrapped around the job | Completed `runtime.jsonl` as a build artifact or upload | | [Cloud agents](#cloud-agents) | Sandbox hooks running `beacon-hooks` inside the provider environment | `/tmp/beacon/runtime.jsonl`, uploaded per run to customer-managed storage | | [LLM gateways](#llm-gateways) | `beacon-gateway` attached to the gateway's guardrail or `ext_proc` hook, decoding each model call | JSONL in the runtime schema on the gateway host, marked `harness.collection_method: gateway` | ### Local agents Supported [agent harnesses](/runtimes) on an endpoint use the strongest surface each runtime exposes, rather than forcing every tool through one adapter: native hooks, a Beacon-managed plugin or extension, local OTLP export, or a read of the session records the runtime commits to disk. The endpoint package installs the CLI, runs the [local collector](/concepts/core-concepts#local-collector) as a service, and configures supported runtimes to export to it. See [Runtime surface overview](/runtimes) for per-harness coverage and [Agent harness integration model](/runtimes/integration-model) for how discovery and configuration work. ### Browser Chat activity on supported sites is collected by an optional MV3 extension for Chromium browsers and beta Firefox. It reads the page's chat stream and posts OTLP logs to the local collector on `127.0.0.1:4318`. It writes no files and contacts no remote endpoint. Coverage is deliberately narrow: only the supported chat origins, never general browsing. See [Browser Extension](/runtimes/browser-extension). ### Agents in code Agent applications, services, workers, and serverless functions are instrumented with the [Asymptote Observe SDK](/sdk), which emits Beacon-compatible OpenTelemetry spans for model calls, tool calls, and agent steps. There is no endpoint agent in this path: the SDK exports to a customer-managed collector or to hosted Observe. See [SDK integrations](/sdk/integrations). ### CI pipelines Ephemeral build jobs do not install a persistent service. [`beacon ci exec`](/cli/ci-exec) or [`beacon ci start`](/cli/ci-start) / [`beacon ci finish`](/cli/ci-finish) run a temporary collector for the life of the job and leave a completed `runtime.jsonl` behind. Publish it as a workflow artifact or upload it downstream. See [CI Telemetry Exports](/log-forwarding/ci-telemetry-exports). ### Cloud agents Provider-managed cloud agents run `beacon-hooks` inside the sandbox, write `/tmp/beacon/runtime.jsonl`, and upload a compressed per-run snapshot directly to customer-managed Google Cloud Storage or Amazon S3. This path uses neither the persistent endpoint collector nor Vector. See [`beacon cloud`](/cli/cloud), [Claude Code Cloud Agents](/runtimes/claude-code-cloud-agents), and [Cursor Cloud Agents](/runtimes/cursor-cloud-agents). ### LLM gateways Teams that route agents' model traffic through an LLM gateway can record it there, with nothing installed on developer machines. `beacon-gateway` attaches to the gateway's hook (the LiteLLM and Portkey guardrail callouts, or the Envoy `ext_proc` filter used by Envoy, Envoy Gateway, and Istio), decodes Anthropic Messages, OpenAI Chat Completions, and OpenAI Responses calls, and writes events in the same schema with `harness.collection_method: gateway`. Its `endpoint` is the gateway host and its `user` is the identity the gateway resolved. A gateway sees the conversation as the model receives it: system prompt, tool catalog, user turns and tool results on the way in, and the model's text, token counts, and tool calls on the way out. It sees a tool call before the harness acts on it, so a rule can judge a read or a command before it happens. It does not see the agent's own lifecycle (approvals, hooks, files written without a tool call), so gateway events complement endpoint collection rather than replace it. See [`beacon-gateway`](https://github.com/Asymptote-Labs/agent-beacon/tree/main/gateway). > [!NOTE] > > Third-party AI SaaS appears on the diagram as a source category. The open-source build ships no collection path for it today: Beacon does not authenticate to SaaS accounts or read their audit logs. See [Scope boundaries](#scope-boundaries). ## The Beacon pipeline ### Collect Beacon writes an OpenTelemetry Collector configuration with loopback receivers, and the hook adapter accepts native runtime payloads on the same machine. | Receiver | Default endpoint | | - | - | | OTLP gRPC | `127.0.0.1:4317` | | OTLP HTTP | `127.0.0.1:4318` | The generated pipeline receives logs, traces, and metrics locally, batches them, and applies memory limits. Packaged deployments use the bundled Beacon collector distribution; local installs can point at another `beacon-otelcol` binary with `--collector`. The collector runs as a service per platform: `launchd` on macOS in [user mode or system mode](/concepts/core-concepts#user-mode-and-system-mode), a `systemd` unit on Linux, and a Windows service. ### Normalize Logs, traces, metrics, resource attributes, and hook payloads are mapped into one event model through the `beaconjson` exporter and the hook adapter. Every event carries a stable action plus the typed context its source provided: endpoint, user, harness, origin, run, session, tool, command, file, MCP, approval, policy, prompt, content, token usage, and destination. Two provenance markers travel with every event so a reader can tell how it was obtained: `harness.collection_method` records the mechanism (`hook`, `otlp`, `plugin`, `poll`, `gateway`) and `event.fidelity` records whether the runtime named the action (`observed`) or Beacon derived it (`inferred`). See [Normalization](/telemetry-schema/normalization) and the [endpoint event schema](/telemetry-schema/event-schema). Generic process and runtime OTLP metrics are filtered out of the log by default so timelines stay focused on prompts, tools, approvals, and file activity. Use `--include-runtime-metrics` when low-level process, runtime, or harness metrics are required. ### Store Beacon writes one JSON object per line to the [runtime JSONL log](/concepts/core-concepts#runtime-jsonl-log). | Mode | Runtime log | | - | - | | User mode | `~/.beacon/endpoint/logs/runtime.jsonl` | | System mode | `/var/log/beacon-agent/runtime.jsonl` | `runtime.jsonl` is the stable handoff boundary. Beacon rotates the active file at 10 MiB and keeps five numbered local archives, and the active path stays stable so dashboards and shippers can follow it. Most downstream integrations read from that preserved output, so the local audit trail stays intact regardless of what is forwarded. ### Correlate Events from every surface share session, run, tool-call, and event identifiers, so one agent session reconstructs as an ordered timeline instead of disconnected records. `gen_ai.tool.call.id` carries the runtime's own name for a tool invocation, and `event.id` is derived from the event itself, so a hook and an OTLP capture of the same action agree on identity. `prompt.id` names the turn an event belongs to: one user prompt and everything the agent did for it, until the next prompt. It is set on the prompt and on every tool call, command, file change, approval, response and token count that followed, so filtering on one value returns the whole turn. OpenTelemetry's GenAI conventions define no attribute for this, so Beacon uses the name the runtimes do, and normalizes each runtime's own spelling of its identifier into it: Claude Code's `prompt.id` (and the matching `promptId` in its transcripts), Gemini CLI's `prompt_id`, Codex's `turn_id`, Cursor's `generation_id`, and Muse Code's and Kimi Code's `turn_id`. The value is the runtime's own, so it also matches that runtime's logs. It is unique within a session, so a turn is identified by harness, `session.id` and `prompt.id` together. Runtimes that expose no per-turn identifier leave the field empty, and metadata-only forwarding keeps it while removing the prompt text. The local [dashboard](/concepts/core-concepts#dashboard) reads recent runtime logs over a loopback-only service for rollout validation and investigation, with session timelines, activity summaries, Detections and Findings, Token Usage, Agent Inventory, and read-only Memory. Token attribution rolls up through the dashboard token view and [`beacon token-usage`](/cli/token-usage). The dashboard is read-only: it inspects local state and never mutates endpoint configuration, telemetry, or memory review state. ### Detect [`beacon scan`](/cli/scan) runs the open [threat rules](/concepts/core-concepts#threat-rules) format over the runtime log and emits [findings](/concepts/core-concepts#findings). Rules are YAML with CEL match conditions over the event schema; a rule can match a single event or correlate ordered steps inside a session window. The engine ships in the binary while the rule corpus is external data managed by [`beacon rules`](/cli/rules). Scanning is read-only and offline. Only the explicit, user-initiated `beacon rules pull ` reaches the network. See [Detections](/detections). ## Destinations Everything below the pipeline consumes the same normalized stream. Beacon does not become a hosted dependency in this band: with two exceptions, destinations read the local JSONL rather than receiving a push from Beacon. | Category | Supported paths | | - | - | | Observability and log aggregation | [Datadog](/log-forwarding/datadog), [AWS CloudWatch Logs](/log-forwarding/cloudwatch) | | SIEM | [Splunk](/log-forwarding/splunk), [Microsoft Sentinel](/log-forwarding/microsoft-sentinel), [Falcon LogScale](/log-forwarding/falcon), [Rapid7 InsightIDR](/log-forwarding/rapid7), [Sumo Logic](/log-forwarding/sumo), [Wazuh](/log-forwarding/wazuh) | | Search and analytics | [Elastic](/log-forwarding/elastic) | | Object storage | [Amazon S3](/cli/s3), [Google Cloud Storage](/cli/gcs) | | Local | [Runtime JSONL and dashboard](/log-forwarding/local-jsonl) | | Other integrations and destinations | Any system that can read JSONL from disk or object storage, through [customer-managed forwarding](/concepts/core-concepts#customer-managed-forwarding) | Data platforms and security platforms shown on the diagram without a named content pack, such as a warehouse or an XDR pipeline, are reached this way: the customer's own pipeline reads Beacon JSONL from the endpoint or from a bucket Beacon writes to. ### Vector forwarding Use [Vector forwarding](/concepts/core-concepts#vector-forwarding) when a customer-managed host agent should tail `runtime.jsonl` without storing destination secrets in Beacon endpoint configuration. * Beacon remains the local JSONL producer. * Vector tails the active log path, checkpoints offsets, batches events, and retries delivery. * Each JSONL line is parsed back into the original Beacon event, so downstream systems receive Beacon's event shape rather than a Vector wrapper. ### Direct collector export Splunk HEC and Falcon LogScale HEC are the two exceptions to the read-from-disk pattern. When either is configured, the collector also sends logs, traces, and metrics directly to that exporter while preserving the local log. See [SIEM forwarding](/log-forwarding) for destination-specific setup. ## End-to-end flow 1. A supported runtime emits activity through hooks, a plugin, OTLP, a session store, or the SDK, or its model calls pass through an LLM gateway. 2. Beacon receives the signal locally and attaches endpoint and harness context. 3. Beacon normalizes surface-specific payloads into the endpoint event schema. 4. Beacon writes the event to the active `runtime.jsonl` file. 5. Operators correlate sessions in the dashboard, run detections with `beacon scan`, and forward the stream to their security stack. ## Scope boundaries Beacon collects agent runtime telemetry and local endpoint configuration context. It does not do kernel or process monitoring, shell history collection, cloud audit ingestion, general browser or SaaS activity monitoring outside the supported chat surfaces, or credential-use attribution. See [Data flow and threat model](/security/data-flow-threat-model). ## Related > [card] [Runtime surface overview](/runtimes) > > See which agent harnesses are supported on each surface and what they capture. > [card] [Data flow and threat model](/security/data-flow-threat-model) > > Review the security boundaries, local collection path, and optional forwarding behavior. > [card] [Endpoint event schema](/telemetry-schema/event-schema) > > Review normalized Beacon JSONL event fields. > [card] [SIEM forwarding](/log-forwarding) > > Configure forwarding to SIEM, log aggregation, and storage destinations. > [card] [Detections](/detections) > > Run threat rules over local telemetry and review findings. > [card] [Managed architecture](/architecture/managed-architecture) > > See how Asymptote Managed centralizes telemetry, policy, detections, and investigations. # Managed Architecture Source: https://docs.asymptotelabs.ai/architecture/managed-architecture How Asymptote Managed centralizes agent telemetry, policy, detections, and investigations ## Overview Asymptote Managed builds on the open-source Agent Beacon foundation with hosted ingest, retention, search, detections, policy controls, identity mapping, approvals, and investigation workflows. Use this architecture when agent activity needs to be visible across teams, endpoints, cloud agent applications, and security workflows from one managed control plane. ![Asymptote platform architecture showing agent activity flowing into managed visibility, policy, and investigation workflows.](https://mintcdn.com/asymptotelabs/G1ArxTrgtbPXTwMs/images/asymptote-platform-diagram.png?fit=max\&auto=format\&n=G1ArxTrgtbPXTwMs\&q=85\&s=428116637036c69c0be6d7de1c64b8a2) ## System architecture 1. **Agent activity sources:** Endpoint agent harnesses, cloud-hosted agent applications, services, workers, serverless functions, and other execution environments produce runtime telemetry. 2. **Collection paths:** Agent Beacon collects local endpoint activity, while the Asymptote Observe SDK instruments cloud-hosted agent applications. 3. **Managed ingest:** Asymptote centralizes telemetry for managed retention, search, detections, and fleet-wide visibility. 4. **Governance layer:** Policy controls, identity mapping, approvals, SSO, RBAC, and audit trails connect runtime activity to users, teams, and security workflows. 5. **Investigation workflows:** Timelines and case workflows organize prompts, tool calls, file access, command execution, and related context for review. ## How endpoint telemetry reaches Asymptote Beacon on the endpoint stays a local JSONL producer. `beacon endpoint connect` adds the managed path: 1. **Approval.** The CLI registers the machine's hostname, OS and Beacon version and opens the dashboard's approval page. A member of the organization signs in with Clerk, picks the organization, and clicks Approve. Only organizations Asymptote has enabled for managed ingest can approve devices. 2. **Device key.** The CLI redeems a one-time code with a PKCE verifier and receives a key for this one device. The key is stored in a `0600` secrets file and read only by Vector; it is never in Beacon's config or the process environment. Revoking the device, or removing the approving user from the organization, invalidates it within about a minute. 3. **Forwarding.** A Vector service tails `runtime.jsonl` (from the point of approval) and `inventory_state.jsonl` and POSTs gzip NDJSON batches to Asymptote's ingest service with the device key. A disk buffer covers offline periods. 4. **Ingest.** The service verifies the key, the approver's membership and the organization's enablement, validates each line, stamps a `tenant` block (organization, device, approving user, receive time) server-side, and writes one object per batch under `orgs///date=…/` in Asymptote's bucket. 5. **Per-organization tables.** Each object triggers a notification; the organization's own ClickPipe loads it into that organization's ClickHouse tables. The dashboard resolves an organization to its tables through a mapping row, so tenant isolation is a table boundary, and duplicates from retried batches collapse on Beacon's deterministic event id. ## Managed capabilities | Capability | Purpose | | - | - | | Managed ingest and retention | Centralize runtime telemetry and preserve it according to managed retention policy | | Fleet-wide visibility | Track agent harnesses, endpoints, users, teams, and cloud execution environments | | Search and detections | Find risky activity and surface detection signals across the managed dataset | | Policy and approvals | Govern agent actions and connect approvals back to identity and workflow context | | Investigation timelines | Reconstruct agent sessions from prompts, tool calls, files, commands, and outcomes | | Access control | Use SSO, RBAC, and audit trails for enterprise access governance | ## Related > [card] [Open Source Architecture](/architecture/architecture) > > Review the local-first Agent Beacon architecture. > [card] [Asymptote Managed](/deployment/managed) > > Review managed ingest, governance, investigations, and rollout support. > [card] [Asymptote Observe SDK](/sdk/quickstart) > > Instrument cloud-hosted agent applications with Asymptote telemetry. > [card] [Hosting Options](/deployment/hosting-options) > > Compare Open Source, Managed, and Private Deployment paths. # System Architecture Source: https://docs.asymptotelabs.ai/architecture/system-architecture Compare the open-source Agent Beacon architecture with the managed Asymptote platform architecture Asymptote supports two architecture paths: the open-source [Agent Beacon](/concepts/core-concepts#agent-beacon) architecture, which collects local, browser, in-code, [CI](/concepts/core-concepts#ci-telemetry), [cloud](/concepts/core-concepts#cloud-agent-telemetry), and [LLM gateway](https://github.com/Asymptote-Labs/agent-beacon/tree/main/gateway) telemetry on customer-controlled infrastructure, and the [Asymptote Managed](/concepts/core-concepts#asymptote-managed) architecture for centralized visibility, governance, detections, and investigations. > [card] [Open Source Architecture](/architecture/architecture) > > See how Agent Beacon collects, normalizes, stores, correlates, and detects agent telemetry across every supported surface. > [card] [Managed Architecture](/architecture/managed-architecture) > > See how Asymptote Managed centralizes telemetry, policy, detections, and investigation workflows. ## Choose an architecture | Architecture | Use when | | - | - | | Open Source Architecture | You want [open-source telemetry](/concepts/core-concepts#asymptote-open-source) for supported local, CI, cloud agent, and LLM gateway surfaces, with customer-controlled records and forwarding. | | Managed Architecture | You want [managed ingest](/concepts/core-concepts#asymptote-managed), retention, search, detections, fleet visibility, policy controls, identity mapping, approvals, SSO, RBAC, audit trails, and investigation workflows. | ## Related > [card] [Hosting Options](/deployment/hosting-options) > > Choose between Open Source, Managed, and Private Deployment paths. > [card] [Core Concepts](/concepts/core-concepts) > > Review the concepts used across Asymptote and Agent Beacon docs. # Agent Visibility Beyond the Endpoint Source: https://docs.asymptotelabs.ai/blog/agent-visibility-beyond-the-endpoint # Asymptote Achieves SOC 2 Type II Compliance Source: https://docs.asymptotelabs.ai/blog/asymptote-achieves-soc-2-type-ii-compliance # Browser Chat Telemetry for Claude.ai and ChatGPT Source: https://docs.asymptotelabs.ai/blog/beacon-browser-chat-telemetry # Cline Runtime Support in Beacon Source: https://docs.asymptotelabs.ai/blog/beacon-cline-runtime-support # Codex Turn-Level Usage in Beacon Source: https://docs.asymptotelabs.ai/blog/beacon-codex-turn-level-usage # Antigravity CLI Telemetry in Beacon Source: https://docs.asymptotelabs.ai/blog/beacon-harness-antigravity-cli # ChatGPT Browser Chat Telemetry in Beacon Source: https://docs.asymptotelabs.ai/blog/beacon-harness-browser-chatgpt # Claude.ai Browser Chat Telemetry in Beacon Source: https://docs.asymptotelabs.ai/blog/beacon-harness-browser-claude-ai # CI Agent Telemetry in Beacon Source: https://docs.asymptotelabs.ai/blog/beacon-harness-ci-agent-telemetry # Claude Code Telemetry in Beacon Source: https://docs.asymptotelabs.ai/blog/beacon-harness-claude-code # Claude Code Cloud Agent Telemetry in Beacon Source: https://docs.asymptotelabs.ai/blog/beacon-harness-claude-code-cloud-agents # Claude Cowork Telemetry in Beacon Source: https://docs.asymptotelabs.ai/blog/beacon-harness-claude-cowork # Cline Runtime Telemetry in Beacon Source: https://docs.asymptotelabs.ai/blog/beacon-harness-cline # Codex CLI Telemetry in Beacon Source: https://docs.asymptotelabs.ai/blog/beacon-harness-codex-cli # Cursor Telemetry in Beacon Source: https://docs.asymptotelabs.ai/blog/beacon-harness-cursor # Cursor Cloud Agent Telemetry in Beacon Source: https://docs.asymptotelabs.ai/blog/beacon-harness-cursor-cloud-agents # Devin CLI Telemetry in Beacon Source: https://docs.asymptotelabs.ai/blog/beacon-harness-devin-cli # Devin Cloud Agent Telemetry in Beacon Source: https://docs.asymptotelabs.ai/blog/beacon-harness-devin-cloud-agents # Devin Desktop Telemetry in Beacon Source: https://docs.asymptotelabs.ai/blog/beacon-harness-devin-desktop # Factory Droid Telemetry in Beacon Source: https://docs.asymptotelabs.ai/blog/beacon-harness-factory-droid # Gemini CLI Telemetry in Beacon Source: https://docs.asymptotelabs.ai/blog/beacon-harness-gemini-cli # GitHub Copilot CLI Telemetry in Beacon Source: https://docs.asymptotelabs.ai/blog/beacon-harness-github-copilot-cli # Grok Build Telemetry in Beacon Source: https://docs.asymptotelabs.ai/blog/beacon-harness-grok-build # Hermes Agent Telemetry in Beacon Source: https://docs.asymptotelabs.ai/blog/beacon-harness-hermes-agent # Oh My Pi Telemetry in Beacon Source: https://docs.asymptotelabs.ai/blog/beacon-harness-oh-my-pi # OpenClaw Gateway Telemetry in Beacon Source: https://docs.asymptotelabs.ai/blog/beacon-harness-openclaw-gateway # OpenCode Telemetry in Beacon Source: https://docs.asymptotelabs.ai/blog/beacon-harness-opencode # Pi Telemetry Coverage in Beacon Source: https://docs.asymptotelabs.ai/blog/beacon-harness-pi # Qwen Code Telemetry in Beacon Source: https://docs.asymptotelabs.ai/blog/beacon-harness-qwen-code # VS Code Copilot Chat Telemetry in Beacon Source: https://docs.asymptotelabs.ai/blog/beacon-harness-vscode-copilot # OpenCode Agent Traces in Beacon Source: https://docs.asymptotelabs.ai/blog/beacon-opencode-agent-traces # Enterprises Are Counting Tokens Because They Can't Measure Value Source: https://docs.asymptotelabs.ai/blog/enterprises-are-counting-tokens-because # Asymptote Blog Source: https://docs.asymptotelabs.ai/blog/index Writing from the Asymptote team on building secure, observable AI systems. Every Asymptote post, newest first. Articles open on [asymptotelabs.ai/blog](https://asymptotelabs.ai/blog) or Substack. ## Company and perspectives > [card] [Asymptote Achieves SOC 2 Type II Compliance](https://asymptotelabs.ai/blog/asymptote-achieves-soc-2-type-ii-compliance) > > Our SOC 2 Type II attestation validates that Asymptote security controls are operating effectively over time. > [card] [Agent Visibility Beyond the Endpoint](https://justindsouza.substack.com/p/agent-visibility-beyond-the-endpoint) > > Why enterprises need an open system of record for AI agent activity across endpoints, CI, sandboxes, and hosted runtimes. > [card] [Enterprises Are Counting Tokens Because They Can't Measure Value](https://justindsouza.substack.com/p/enterprises-are-counting-tokens-because) > > Why token accounting has become a proxy for deeper questions about AI adoption, visibility, controls, and enterprise risk. > [card] [Introducing Beacon: Endpoint Telemetry for AI Agents](https://justindsouza.substack.com/p/introducing-beacon-endpoint-telemetry) > > A closer look at Beacon, open-source endpoint telemetry for understanding how AI agents and local developer workflows behave on machines. ## Beacon platform updates > [card] [Codex Turn-Level Usage in Beacon](https://asymptotelabs.ai/blog/beacon-codex-turn-level-usage) > > Beacon reads Codex usage at the completed-turn level, tying token counts back to sessions, models, repositories, and local users. (August 28, 2026) > [card] [Browser Chat Telemetry for Claude.ai and ChatGPT](https://asymptotelabs.ai/blog/beacon-browser-chat-telemetry) > > Beacon treats browser AI chat as a supported surface, bringing Claude.ai and ChatGPT conversations into the same local pipeline as endpoint agent activity. (August 24, 2026) > [card] [Cline Runtime Support in Beacon](https://asymptotelabs.ai/blog/beacon-cline-runtime-support) > > One managed Cline plugin covers the VS Code extension, JetBrains plugin, and CLI hosts. (August 22, 2026) > [card] [OpenCode Agent Traces in Beacon](https://asymptotelabs.ai/blog/beacon-opencode-agent-traces) > > Full OpenCode agent traces through a managed plugin: prompts, tools, approvals, files, and session lifecycle, correlated. (July 20, 2026) ## Harness coverage Each release note covers what Beacon collects from one agent runtime, how it is collected, and where the matching documentation lives. > [card] [Claude.ai Browser Chat Telemetry in Beacon](https://asymptotelabs.ai/blog/beacon-harness-browser-claude-ai) > > Beacon brings Claude.ai browser conversations into the same runtime log as endpoint agent activity. (August 24, 2026) > [card] [ChatGPT Browser Chat Telemetry in Beacon](https://asymptotelabs.ai/blog/beacon-harness-browser-chatgpt) > > Beacon captures supported ChatGPT browser conversations as endpoint AI activity under a distinct web harness. (August 24, 2026) > [card] [Qwen Code Telemetry in Beacon](https://asymptotelabs.ai/blog/beacon-harness-qwen-code) > > Beacon supports Qwen Code through native hook payloads sent to beacon-hooks. (August 23, 2026) > [card] [Pi Telemetry Coverage in Beacon](https://asymptotelabs.ai/blog/beacon-harness-pi) > > Beacon documents Pi endpoint telemetry as a managed extension path with prompts, tools, commands, file changes, reasoning, and usage. (August 23, 2026) > [card] [Oh My Pi Telemetry in Beacon](https://asymptotelabs.ai/blog/beacon-harness-oh-my-pi) > > Beacon documents Oh My Pi endpoint telemetry through managed extension hooks. (August 23, 2026) > [card] [Cline Runtime Telemetry in Beacon](https://asymptotelabs.ai/blog/beacon-harness-cline) > > Beacon installs one managed Cline plugin that covers the VS Code extension, JetBrains plugin, and CLI hosts. (August 22, 2026) > [card] [Devin Cloud Agent Telemetry in Beacon](https://asymptotelabs.ai/blog/beacon-harness-devin-cloud-agents) > > Beacon captures autonomous Devin Cloud agent telemetry org-wide using a Devin organization service key. (June 15, 2026) > [card] [Cursor Cloud Agent Telemetry in Beacon](https://asymptotelabs.ai/blog/beacon-harness-cursor-cloud-agents) > > Beacon supports Cursor cloud-agent telemetry through committed project hooks and sandbox-local Beacon binaries. (June 10, 2026) > [card] [Claude Code Cloud Agent Telemetry in Beacon](https://asymptotelabs.ai/blog/beacon-harness-claude-code-cloud-agents) > > Beacon captures Claude Code cloud sessions from inside the cloud sandbox and uploads per-session runtime logs to customer-managed storage. (June 10, 2026) > [card] [CI Agent Telemetry in Beacon](https://asymptotelabs.ai/blog/beacon-harness-ci-agent-telemetry) > > Beacon captures supported agent activity inside CI jobs without installing a persistent endpoint service. (June 7, 2026) > [card] [Hermes Agent Telemetry in Beacon](https://asymptotelabs.ai/blog/beacon-harness-hermes-agent) > > Beacon supports Hermes Agent as a first-class hook harness with managed shell hooks. (June 5, 2026) > [card] [Devin Desktop Telemetry in Beacon](https://asymptotelabs.ai/blog/beacon-harness-devin-desktop) > > Beacon captures Devin Desktop activity through Cascade/Windsurf-compatible hook configuration. (June 4, 2026) > [card] [VS Code Copilot Chat Telemetry in Beacon](https://asymptotelabs.ai/blog/beacon-harness-vscode-copilot) > > Beacon supports VS Code Copilot Chat through local OpenTelemetry export and optional preview hooks. (May 27, 2026) > [card] [Antigravity CLI Telemetry in Beacon](https://asymptotelabs.ai/blog/beacon-harness-antigravity-cli) > > Beacon supports Antigravity CLI endpoint telemetry through user-level and project-level hook adapters. (May 26, 2026) > [card] [GitHub Copilot CLI Telemetry in Beacon](https://asymptotelabs.ai/blog/beacon-harness-github-copilot-cli) > > Beacon discovers Copilot CLI, reports status, and normalizes OTLP spans for prompt, session, tool, and approval-like activity. (May 24, 2026) > [card] [Grok Build Telemetry in Beacon](https://asymptotelabs.ai/blog/beacon-harness-grok-build) > > Beacon supports Grok Build through managed hook files for session, prompt, tool, command, and file telemetry. (May 21, 2026) > [card] [OpenClaw Gateway Telemetry in Beacon](https://asymptotelabs.ai/blog/beacon-harness-openclaw-gateway) > > Beacon supports OpenClaw Gateway through endpoint integration commands for OTLP/HTTP configuration, status checks, and validation events. (May 20, 2026) > [card] [Devin CLI Telemetry in Beacon](https://asymptotelabs.ai/blog/beacon-harness-devin-cli) > > Beacon adds Devin hook installation, status, uninstall, discovery, and normalization through the devin hook harness. (May 20, 2026) > [card] [Gemini CLI Telemetry in Beacon](https://asymptotelabs.ai/blog/beacon-harness-gemini-cli) > > Beacon supports Gemini CLI through opt-in local OpenTelemetry export to the endpoint collector. (May 19, 2026) > [card] [OpenCode Telemetry in Beacon](https://asymptotelabs.ai/blog/beacon-harness-opencode) > > Beacon installs a managed OpenCode plugin and normalizes chat, session, command, permission, diff, and error events. (May 18, 2026) > [card] [Factory Droid Telemetry in Beacon](https://asymptotelabs.ai/blog/beacon-harness-factory-droid) > > Beacon discovers Factory Droid, validates its OTLP endpoint, and can install hooks for richer prompt, tool, file, and lifecycle telemetry. (May 15, 2026) > [card] [Cursor Telemetry in Beacon](https://asymptotelabs.ai/blog/beacon-harness-cursor) > > Beacon captures local Cursor hook payloads for prompts, tools, shell commands, MCP-like activity, approvals, file edits, and reasoning. (May 13, 2026) > [card] [Codex CLI Telemetry in Beacon](https://asymptotelabs.ai/blog/beacon-harness-codex-cli) > > Beacon has supported Codex CLI since the first endpoint release and now attributes usage by turn, session, model, repository, and user. (May 13, 2026) > [card] [Claude Cowork Telemetry in Beacon](https://asymptotelabs.ai/blog/beacon-harness-claude-cowork) > > Beacon validates Claude Cowork telemetry when an administrator configures OTLP export to the local collector. (May 13, 2026) > [card] [Claude Code Telemetry in Beacon](https://asymptotelabs.ai/blog/beacon-harness-claude-code) > > Beacon supports Claude Code through local OpenTelemetry export and optional hooks for richer lifecycle and tool activity. (May 13, 2026) # Introducing Beacon: Endpoint Telemetry for AI Agents Source: https://docs.asymptotelabs.ai/blog/introducing-beacon-endpoint-telemetry # Agent Beacon CLI Changelog Source: https://docs.asymptotelabs.ai/changelog/cli Latest updates and improvements to the Agent Beacon CLI ## Latest updates Stay up to date with the latest changes to the Agent Beacon CLI. *** ## November 2026 ### Unreleased Changes since v1.3.58 that ship in the next release. * **Cursor cloud agents no longer leave partial sessions on the endpoint** · While the Cursor desktop app shows a cloud agent, it runs the user-level hooks on your machine for that agent's reasoning and subagent events, but not for its prompts, tool calls, replies or turn ends, which run in Cursor's VM. Beacon recorded those calls as `agent.reasoning` and `subagent.stopped` events from the machine, so a cloud agent looked like a local Cursor session with only reasoning in it, and a subagent's reasoning formed a session of its own. A Cursor hook payload that names a cloud agent (`bc-…`) or one of its subagents (`task-call-…`) and no workspace now writes nothing outside a cloud sandbox. A cloud agent on a self-hosted worker, which runs in a checkout, is still recorded, and so is everything the [Cursor Cloud Agents](/runtimes/cursor-cloud-agents) project hooks capture in the VM. * **Cursor cloud capture needs nothing committed to the repository** · `beacon cloud cursor print-setup` printed a script that installed the binary and told you to commit Beacon's hooks to `.cursor/hooks.json`, and Cursor then ran those committed hooks in every local Cursor session on the repository too. The script now writes the hooks into the checkout itself and lists them in `.git/info/exclude`, so cloud agents never see them as a change to commit. Paste it into the environment's **Install script**: Cursor runs it when it creates a Build, before any agent starts, so the hooks are in place for every agent in the environment. A repository that commits its own `.cursor/hooks.json` is left alone, `print-setup` takes `--safe-hooks`, and only `beacon-hooks` is extracted from the release. See [Cursor Cloud Agents](/runtimes/cursor-cloud-agents). * **Cursor cloud agents record reasoning, replies and turn ends** · The cloud hook set now also wires `afterAgentThought`, `afterAgentResponse` and `stop`, which Cursor runs in cloud agents, so a cloud agent's trace carries its reasoning (`agent.reasoning`), its replies (`agent.message`) and the end of each turn (`tool.completed` with `turn.status`), and `stop` uploads the log when the turn is over. Regenerate the install script with `print-setup` to pick them up, or regenerate a committed `.cursor/hooks.json` with `print-hooks`. * **A cloud agent's subagents no longer resend its log** · Cursor gives each subagent a conversation id of its own, and the cloud uploader tracked how much it had sent per conversation id. Every switch between an agent and a subagent therefore started over: a bucket got another object holding the whole log, and Asymptote Managed was sent the log again (and dropped the copies by event id). The uploader now tracks one position per sandbox log, so a bucket keeps one object per cloud agent and each line is sent once. * **Fleet package installs turn the local dashboard off** · An unattended first install of the `.deb` or `.rpm`, the macOS `.pkg` or the Windows MSI (Salt, Ansible, an MDM, a silent `msiexec`) now turns the local dashboard off for every account on the machine, root included, as `BEACON_DASHBOARD=disabled` already did: that install sets up the machine for the people who use it, and they should not be able to open a view of its telemetry unless an administrator says so. A person who installs the package on their own machine (`sudo` at a terminal, including the one-line `install.sh`, Installer.app, or the MSI's full interface) keeps the dashboard, by the same test that adds them to `beacon-log`. Upgrades, and reinstalls over a kept config or log, keep the setting an endpoint already has, so set `BEACON_DASHBOARD=disabled` to turn it off on machines installed from an earlier release. `BEACON_DASHBOARD=enabled` keeps it on an unattended install, and `sudo beacon endpoint repair --system --dashboard enabled` turns it back on. Installs from the `beacon` CLI are unchanged. See [Turning the dashboard off](/cli/dashboard#turning-the-dashboard-off). ### v1.3.58 · November 7, 2026 * **Package installs are restricted from the start, on Linux, macOS and Windows** · A first install of the `.deb` or `.rpm`, the macOS `.pkg` or the Windows MSI now sets up [restricted log access](/security/restricted-log-access) on its own: the `beacon-log` group, a log that only the collector writes, and hooks that send their events over the local socket or named pipe, recorded under the account that sent them. Before, a fleet install (Salt, Ansible, Jamf, Intune) left the log writable by every account until someone ran `beacon endpoint repair --system --log-access restricted`. On Linux, only where systemd runs the collector. Upgrades, and reinstalls over a kept config or log, keep the mode an endpoint already has; `BEACON_LOG_ACCESS=shared` installs a new endpoint shared. A person who installs the package interactively (`sudo apt install`, Installer.app, the MSI's full interface) is added to `beacon-log`, so the dashboard, `beacon traces` and `beacon share` work for them; an unattended fleet install adds nobody. `BEACON_LOG_READERS`, or the new `--log-readers`, names exactly who is added. See [Package installs](/security/restricted-log-access#package-installs). * **Package install settings for fleet tooling** · MDMs and configuration managers install packages without letting you set the install script's environment, so the `BEACON_*` install settings could not reach a fleet install. Each package now also reads them where that platform's tooling writes settings: `/etc/default/beacon` or `/etc/sysconfig/beacon` on Linux (read as shell syntax, never run), managed preferences for `com.beacon.endpoint` on macOS, and `HKLM\SOFTWARE\Policies\Beacon\Endpoint` on Windows. Each is ignored unless root (SYSTEM or Administrators) controls it, and the environment still wins. See [Package installs](/security/restricted-log-access#package-installs). * **OpenTelemetry events name the person who sent them on macOS and Windows too** · The collector on macOS and Windows now records each OpenTelemetry export (Claude Code's and Codex's spans, logs and token usage, the browser extension's chats) under the account that owns the connection it arrived on, as Linux already did, instead of the collector's own account (`root`, or the machine account `COMPUTERNAME$` on Windows). macOS reads the owner of the sending socket from the kernel's TCP table (the one `netstat` reads); Windows finds the process that owns the connection and reads the account from its token. A sender's own claim to an account is ignored, an export whose sender cannot be identified (it disconnected before the collector looked) carries no `user` at all, and Claude Cowork events carry no `user` on every platform, with the cloud account Cowork reports and the relaying account kept in their raw attributes. A user-mode collector on Windows can identify only its own account's exports; others carry no `user`. A Falcon LogScale HEC destination records the same account as `runtime.jsonl`, and Beacon's OTLP forward to another backend is unchanged. Run `beacon endpoint repair --system` (package upgrades do this) to render the new collector config; the collector from the same release is required. * **Local dashboard: a per-launch secret, and an off switch for administrators** · On a shared machine any other local account could open the `127.0.0.1` port of a dashboard someone else started and read the runtime log through it. Each run of `beacon endpoint dashboard` and `beacon lenses preview` now makes a 256-bit secret that is kept in memory and appears only in the URL the command prints or opens; the browser trades it for a cookie on its first visit, and every other request is refused. Administrators can turn the dashboard off for every account with `beacon endpoint install|repair --system --dashboard disabled`, or `BEACON_DASHBOARD=disabled` in the package install scripts, and `beacon endpoint status` reports the setting. See [Access control](/cli/dashboard#access-control). * **Fleet deployment guide** · A new guide covers rolling Beacon out with Salt, Ansible, Jamf, Intune and other fleet tooling on Linux, macOS and Windows. See [Fleet deployment](/platforms/fleet-deployment). * **Linux releases are verified against a pinned key** · The installer and `beacon endpoint update --apply` now trust only the Linux release key whose fingerprint ships with Beacon (`07BEA34ED6A411F4C066D98322F94195DCDC8F45`), and the signed apt repository is documented. See [Release signing](/platforms/linux#release-signing). * **CI and cloud-sandbox uploads stay under their prefix** · A run id containing `/` and `..` could place a `beacon ci --upload` or cloud-sandbox object outside the configured bucket prefix. Such a value is now rejected as a key segment. ### v1.3.57 · November 7, 2026 * **OpenTelemetry events name the person who sent them on Linux** · On a system install every account exports to the same local collector, so prompts and token usage from Claude Code, Codex and the browser extension were recorded, and forwarded to SIEMs such as Microsoft Sentinel, under the collector's account, `root`, whoever typed them. The Linux collector now records each OpenTelemetry export under the account that owns the connection it arrived on, as the kernel reports it, over gRPC and HTTP alike, and ignores any account a sender names for itself, on the resource or on a record, span or datapoint. Claude Cowork events on Linux carry no `user`: they reach the collector through a relay such as `beacon endpoint cowork --ngrok`, so the kernel names the relay's account rather than the person, and the cloud account Cowork reports is the sender's own claim. Both stay in the event's raw attributes. An export whose sender cannot be identified (it disconnected before the collector looked) carries no `user` at all, rather than the collector's `root`, so a recorded `root` always means root sent it. A Falcon LogScale HEC destination records the same account as `runtime.jsonl`. Beacon's OTLP forward to another backend is unchanged. macOS and Windows are unchanged. Run `beacon endpoint repair --system` (package upgrades do this) to render the new collector config; the collector from the same release is required. * **Root and fleet installs configure everyone logged in, and say who** · A system install by root with no `sudo` user, such as Salt's `pkg.installed` or an Ansible `apt` task, configured the agent runtime of only the first logged-in session it found, and printed nothing about it; the only hook lines in the output were root's own. `beacon endpoint user-config repair-installed --system`, which the Linux package runs after installing, now configures the `sudo` user and every account with a live logind session, each as themselves, carries on when one of them fails, and prints `Configured (): …` for each, or that nobody was logged in and what to run. `--json` adds a `users` array; the existing fields still describe the first person. * **The collector's OTLP HTTP receiver rejects non-loopback Host headers** · A web page that DNS-rebinds its own hostname to `127.0.0.1` could post forged logs and spans to `127.0.0.1:4318`, which landed in the runtime log and every destination. The receiver now answers 401 unless the Host header names localhost or a loopback IP, as the dashboard and MCP server already do. Runtimes, the SDK and the browser extension send a loopback Host and are unaffected; gRPC on 4317 is unchanged. Use the `beacon-otelcol` from the same release, since an older one refuses the new config. * **Signed Linux releases and an apt repository** · `checksums.txt`, the `.deb` and the `.rpm` are signed with Beacon's Linux release key, and the installer and `beacon endpoint update --apply` refuse a package that a `checksums.txt` signed by the pinned key does not list. Debian and Ubuntu hosts can also install from the signed apt repository at `https://apt.beacon.sh`. See [Release signing](/platforms/linux#release-signing). * **The Asymptote Managed forwarder keeps shipping after the log is replaced** · Switching a connected endpoint to restricted log access replaces `runtime.jsonl` with a copy, and the forwarder kept tailing the old file, so new lines did not ship until something restarted it, and were lost if the log rotated first. Install, repair and package upgrades now restart a running forwarder, and it also reads `runtime.jsonl.1`. * **Cursor records how a turn ended** · Cursor's `stop` hook reports whether a turn `completed`, was `aborted` or ended in an `error`; Beacon now keeps it as `turn.status` on that event, so a stopped or failed turn no longer looks like a finished one. * **Windows gets the right advice for elevation** · `beacon endpoint connect`, `disconnect` and `uninstall --system` from a shell without privileges told Windows users to rerun with `sudo`, a command Windows does not have. They now say to run from an elevated shell, the same as `beacon endpoint install --system` already did. ### v1.3.56 · November 5, 2026 * **Beacon Intel tools in the local MCP server** · `beacon mcp serve` now offers `intel_lookup`, `intel_get_artifact`, `intel_check` and `intel_check_installed`, so an agent can check an MCP server or skill in [Beacon Intel](https://intel.beacon.sh) before installing or running it. `intel_check_installed` sends only public npm and PyPI package names taken from servers' launch commands; server and skill names, and packages the launcher's own config routes to another registry, are held back unless the agent passes `include_private_names`, and `dry_run` sends nothing. These are the local server's only network calls, made only when an agent calls one of the tools, and `BEACON_INTEL=0` turns them off. See [`beacon intel`](/cli/intel). * **`beacon intel` reads risk and coverage** · Beacon Intel replaced its four verdicts (`malicious`, `suspicious`, `inconclusive`, `benign`) with a risk (`high`, `medium`, `low`, `benign`) and a coverage (`complete` or `partial`). Tables print a risk as `low (partial)` when coverage is partial, `show` names why coverage is partial and each finding's level, and `status` counts each level. `--fail-on` now takes `high`, `medium` or `low`; the retired values are refused before any request, so a CI gate that still passes `suspicious` fails loudly instead of silently passing. ### v1.3.55 · November 5, 2026 * **Microsoft Sentinel forwarding with one command, on macOS, Linux and Windows** · `beacon endpoint sentinel forwarder install --system` runs the Vector bundled with Beacon as a system service that sends the runtime log to Microsoft Sentinel through the Logs Ingestion API, with a Microsoft Entra app registration (certificate or client secret). The credential is stored where only root can read it, or SYSTEM and Administrators on Windows, and is never a command-line argument. Vector checks the config before anything changes. Repair and package upgrades keep the forwarder and restart it on the new Vector; uninstall removes the service. Throttling, server errors and `401`/`403` answers are retried without a limit, and a line counts as sent only once Azure has accepted it. `status` and `remove` complete the commands. The pack's Logs Ingestion DCR template no longer needs a Data Collection Endpoint. See [Vector and the Logs Ingestion API](/log-forwarding/microsoft-sentinel#vector-and-the-logs-ingestion-api). * **The Windows MSI carries Vector** · The MSI now installs Vector 0.56.0 as `vector.exe` beside `beacon.exe` in `%ProgramFiles%\Beacon\bin`, as the macOS and Linux packages already carry it, checked against the same pinned checksums. Beacon finds it there. The package only installs it; nothing runs it until a forwarder is set up. Allow it alongside the other three programs if you run AppLocker or WDAC. * **More provider keys redacted without a label** · Keys from 14 model providers and developer platforms, among them Groq, Replicate, xAI, LangSmith, Pinecone and SendGrid, are now redacted by their shape alone, as a positional argument, a pasted line or command output, keeping the public prefix. See [Retention and redaction](/security/retention-redaction). ### v1.3.54 · November 3, 2026 * **Longer browser chat answers** · claude.ai and chatgpt.com answers were cut at 2 KB, which most of them pass. Browser chat events now keep up to 16 KB of `gen_ai.output.messages`, still with secret redaction; every other runtime and field keeps 2 KB. ### v1.3.53 · November 3, 2026 This release follows v1.3.50; the enterprise builds of v1.3.51 and v1.3.52 were skipped, so their changes are included here. * **Scheduled session sync** · `beacon endpoint sessions enable --system` turns on a root job that reads new records from the logged-in user's agent session files into the runtime log every 15 minutes, so data only those files hold, such as per-request token usage and complete assistant replies, keeps reaching Asymptote Managed after install. It runs the same bounded, confined sweep install already runs once. Off by default; `sessions disable` turns it off, and package upgrades keep the choice. For new package installs, `BEACON_SESSION_SYNC=1` in the environment of `/opt/beacon/scripts/install-endpoint.sh` turns it on. See [Scheduled session sync](/cli/endpoint-install#scheduled-session-sync). * **Repair keeps the collector it came with** · Without `--collector`, `beacon endpoint repair` and `install` use the `beacon-otelcol` beside the `beacon` CLI before one on `PATH`, and repair checks the collector before it takes the endpoint down. Under `sudo` on a Mac that also had Homebrew Beacon, repair could pick Homebrew's older collector, refuse it after removing the collector's service, and leave the endpoint without one. * **Forward OTLP to a second backend** · `beacon endpoint install|repair --otlp-forward-endpoint` has the collector also send Claude Code and Codex OpenTelemetry on to a backend those runtimes exported to before Beacon, filtered to those runtimes, redacted and bounded. Header values are kept out of `config.json`. See the [Kandji guide](/guides/kandji-otlp-forward-mdm). * **No lost events when the runtime log cannot rotate** · When another process held `runtime.jsonl` open without delete sharing, as PowerShell readers do on Windows, a failed rotation dropped the event being written and, on each retry, an archive. Beacon now keeps writing to the active log and rotates on a later write. * **Windows installs keep credentials and session copies private** · On Windows system installs, `config.json`, `otelcol.yaml` and the OTLP forward's headers, which can hold HEC tokens, and the backfill's private copies of a user's SQLite session stores are now created with access for SYSTEM and Administrators only. * **Windows upgrades and uninstalls finish cleanly** · Stopping the collector now waits for its process to exit, so an MSI upgrade or uninstall run with `msiexec /qn` no longer schedules a reboot to replace a file still in use. The MSI's own `beacon.exe` steps are time-bounded and logged. * **More secrets redacted, hashes that match what is stored** · Slack app-level (`xapp-`) and refresh (`xoxe-`) tokens are now redacted. Content and diff hashes are computed over the stored, redacted text, so they match what is recorded. * **Codex CLI and Codex Desktop are told apart everywhere** · Codex CLI 0.158 and newer report the same service name as the desktop app. Live capture, the session sync and token usage now use the `originator` Codex records for each conversation, so terminal and desktop sessions are labeled correctly. * **Cursor IDE records each event once** · Cursor also runs the Claude Code hooks in `~/.claude/settings.json`, so with both set up every Cursor session event was recorded twice. The Claude Code copy now steps aside when Beacon's Cursor hook covers that event. * **Inherited per-signal OTLP settings no longer divert Claude telemetry** · An `OTEL_EXPORTER_OTLP_{LOGS,METRICS,TRACES}_ENDPOINT`, protocol or headers setting in the environment or Claude's settings no longer sends Claude's telemetry past Beacon's collector, and `beacon endpoint status` flags one that points elsewhere. * **Hook setup recognises Beacon's own hooks more precisely** · Status, repair and uninstall treated any command containing `beacon-hooks`, such as a wrapper script or a folder of that name, as Beacon's. They now match only Beacon's hook binary. * **Egress detections catch netcat uploads** · The eight upload and exfiltration rules share one check for network senders, so uploads with `nc`, `ncat`, `netcat`, `socat` or bash's `/dev/tcp` are caught by all of them, and a command that only mentions a tool and a host no longer triggers them. * **Copied Hermes profiles keep their own event IDs** · Two Hermes profiles holding copies of the same history no longer give their new messages the same event IDs, which dropped one of them. * **Commit links and CI uploads** · `beacon git` records the files that links, copies and moves into a directory actually create, and works in directories whose path ends in a space. `beacon ci --upload` gives each job and session its own object, so matrix legs no longer overwrite each other. * **Smaller fixes** · `beacon mcp serve` returns large request IDs exactly and answers `ping`, and the local ingest channel and lens manifests reject lines with stray closing brackets. ## October 2026 ### v1.3.50 · October 30, 2026 * **Restricted log access on Windows** · `--log-access restricted` now works on Windows system installs too. Hooks send their events to the SYSTEM collector over the named pipe `\\.\pipe\beacon-agent-ingest`, each event is recorded under the Windows account that sent it (SID in `user.uid`, `DOMAIN\name` in `user.name`), and the log directory's ACL gives full control to SYSTEM and Administrators and read to the `beacon-log` local group only. Set `BEACON_LOG_ACCESS=restricted` in the machine environment for the MSI and `install-endpoint.ps1`, or switch an installed endpoint with `beacon endpoint repair --system --log-access restricted` from an elevated shell. Shippers that run as SYSTEM, including Azure Monitor Agent and Elastic Agent, need no change; Splunk Universal Forwarder 9.1 and later runs as `NT SERVICE\SplunkForwarder` and must be added to `beacon-log`. See [Restricted log access on Windows](/security/restricted-log-access#on-windows). ### v1.3.49 · October 30, 2026 * **Restricted log access for system installs** · `beacon endpoint install --system --log-access restricted` makes the collector the only writer of `/var/log/beacon-agent/runtime.jsonl`. Hooks send their events to it over a local Unix socket, each event is recorded under the account the operating system says sent it, and the log becomes `0640 root:beacon-log`, so local accounts can no longer rewrite the log or read other users' sessions. Events are spooled privately and delivered later while the collector restarts. Opt in per endpoint with `install` or `repair --log-access restricted`, or with `BEACON_LOG_ACCESS=restricted` for package installs; repair, upgrades, and the Jamf repair policy keep the mode, and `beacon endpoint doctor` reports a collector that is not serving the socket (`runtime_log_access`). Log shippers that do not run as root need to join the `beacon-log` group. The default stays shared. Windows followed in v1.3.50. See [Restricted log access](/security/restricted-log-access). ### v1.3.48 · October 29, 2026 * **Check MCP servers and skills before you install them** · `beacon intel` looks up an MCP server or skill in the free public Beacon Intel index (`intel.beacon.sh`). It needs no account and sends only what you name. Hooks and background jobs never call it, and `BEACON_INTEL=0` turns it off. See [`beacon intel`](/cli/intel). * **Threat rules can match parsed shell commands** · Rules on spec `threat-rules/v1.2` can read `e.command.parsed_commands`: each command's name, arguments, environment prefixes, pipeline stage, and the files it writes or deletes. `curl-pipe-to-shell`, `recursive-root-delete`, and `base64-decode-piped-to-shell` use it, so they now catch `curl … | sudo -u root bash`, `{ curl …; } | sh`, and `rm -rf "$HOME"`, and no longer fire on the same text inside a quoted string, a commit message, or a here-document. An older Beacon skips v1.2 rules with a warning. * **Destination packs work with any log path** · Datadog and Elastic configs are valid YAML on Windows and with quotes or control characters in the log path, the pack smoke-test scripts no longer break on shell metacharacters in it, and `beacon endpoint wazuh` refuses a path containing `<` instead of writing a config Wazuh rejects. ### v1.3.47 · October 27, 2026 * **Harness² rollouts** · `beacon endpoint harness2 sync|status` reads the executor event streams Harness² records under its runs directory, and the install backfill includes them. See [Harness²](/runtimes/harness2). * **Session syncs no longer lose their own events to log rotation** · Every runtime sync except Claude Code's and Devin CLI's could write past the runtime log's rotation window, so rotation deleted the sync's first events while it still reported success. Syncs now stop first, exit non-zero, and leave the rest for the next sync (`--rotate-bytes` sets the window). The install backfill reports a runtime that stops this way as limited rather than failed. * **Inventory content capture uses Beacon's full redaction** · With `include_contents` on, tokens in MCP arguments, URLs, auth headers, and skill files were sent unredacted. Inventory now applies the same redaction as session telemetry, with `[REDACTED]` as the placeholder, and secret-named keys are judged by whole words. * **More secrets redacted** · Google OAuth access tokens (`ya29.…`) and URL passwords with no user name (`redis://:password@host`) are now redacted. * **Safer settings edits** · Install no longer replaces a `~/.claude/settings.json` (or Gemini settings file) it cannot parse; it stops and names the file and the parse error. A `# comment` after a table header in Codex `config.toml` no longer makes install delete a table or write a second `[otel]`. VS Code settings with comments are read and kept as written. * **Linux package self-update** · `beacon endpoint update` now finds the `.deb` or `.rpm` in the release manifest instead of reporting that no package is available. * **Capture fixes** · Codex `shell_command` and argv-style commands show up as commands, Claude Code's PowerShell tool counts as a command in imported sessions, a hook command ending in a quoted word keeps its closing quote, OpenCode records every file a shell `rm` deletes, `file:///C:/…` URIs are recorded as `C:/…`, inventory lists skills named `build`, `dist`, `vendor`, `tmp`, or `temp`, and unchanged inventory no longer re-sends a full snapshot. Hand-written `--platform=` hooks are recognized by `hooks status` and `uninstall`, and a home path with an apostrophe no longer mixes up two runtimes' hooks. * **Detection accuracy** · Many standard rules were tightened to catch more spellings of the same action and fewer false positives, including `curl … | sudo -E bash`, root-wipe `rm` forms, setuid and world-writable `chmod` modes, `systemctl` persistence, sudoers and login-file writes through `tee`, `crontab` loads, refspec force-pushes to protected branches, ssh tunnels and `ProxyCommand` escapes, `codex -s danger-full-access`, and Edge on macOS in the browser-session rules. Reading `.env.example` and other dotenv templates is no longer a credential read. ### v1.3.46 · October 22, 2026 * **Upgrades fix the managed forwarder's service definition** · Endpoints connected before v1.3.37 kept a forwarder that logged to `/tmp`, where in system mode any local user could plant a link that root then wrote through. Install, repair, and package upgrades now rewrite a forwarder unit that differs from the one Beacon writes, which moves its logs to `~/Library/Logs/Beacon` or `/Library/Logs/Beacon`, and restart the forwarder if it was running. The device key, enrollment, and Vector's checkpoints are left alone. * **Splunk and Falcon HEC forwarding redacts secrets** · The collector now redacts secrets before telemetry fans out to direct HEC exporters, with the same rules as the local log. * **Vector configs work with Windows log paths** · Log paths in the managed forwarder and SIEM pack configs are now escaped, so backslashes no longer break `vector.toml` or point Vector at a different file. * **More secrets redacted** · curl passwords (`-u user:pass`), cookie strings, and `Cookie`/`Set-Cookie` headers are now redacted. * **Session sync fixes** · OpenCode 2.x sessions, DeepSeek Harness session format v4, older Hermes state databases, and Devin CLI's session database (new: `beacon endpoint devin sync`) are read correctly, and Hermes profiles keep separate cursors. OpenCode and Qwen Code hooks follow `XDG_CONFIG_HOME` and `QWEN_HOME`. * **DeepSeek Harness hooks are installed only where `dsh` can load them** · Install checks, read-only, that a matching hook bridge loads. When none does, `--harness dsh` refuses and endpoint install skips DeepSeek Harness with a warning; the new doctor check `dsh_hook_bridge` reports it. See [`beacon endpoint doctor`](/cli/endpoint-doctor#dsh_hook_bridge). * **Install rejects unusable OTLP ports** · Ports outside 1–65535, the same port for gRPC and HTTP, or a negative health port now stop install before anything is written. * **Other fixes** · Pi-family traces record the assistant's reply, browser-extension answers show in traces, a reverted MCP tool description is recorded, and OpenCode tool calls no longer wait on a telemetry backlog. ### v1.3.45 · October 20, 2026 * **Status and doctor recognize the hooks install writes** · Fresh installs no longer report Cursor, Antigravity CLI, Devin CLI, Devin Desktop, and Hermes Agent hooks as missing; status, doctor, discovery, and inventory now accept the `--log`/`--config` hook form install has written since v1.2.0. * **Homebrew instructions refresh Homebrew first** · Install and upgrade commands, release notes, and update notices now start with `brew update`, so a Mac with an older tap copy gets the latest release. * **Dashboard output tokens count reasoning once** · The local token view no longer adds reasoning tokens on top of output tokens that already include them. ### v1.3.44 · October 19, 2026 * **Managed ingest shows new sessions within seconds** · The forwarder now sends a partial batch after 10 seconds instead of 60, and paces runtime requests at the one-per-second rate the ingest service allows each device. Install, repair, and package upgrades rewrite a connected forwarder's config; what it has already read is kept. * **Redaction catches Beacon sign-in tokens and AWS secret keys** · `bcn_cli_…`, `bcn_mcprt_…`, and other sign-in values, and the 40-character AWS secret key that follows an `AKIA…`/`ASIA…` key id, are now redacted. * **Backfilled sessions keep their own times and titles** · Claude Code records without a timestamp take the session's earliest time rather than the sync time, and Codex environment and AGENTS.md messages are no longer recorded as prompts. ### v1.3.43 · October 19, 2026 System-mode hardening for packaged and MDM installs: * **A root log writer never follows a link or opens a FIFO** · Running as root, the system collector, the inventory job, and the hook adapter now refuse anything that is not a regular file with a single link, never follow a symlink, and set the log's mode on the open file. * **The Jamf hook repair script no longer hands the console user root** · `jamf/claude/common/repair-hooks.sh` no longer grants the console user add/delete rights on `/var/log/beacon-agent`, and removes any such grant earlier runs or the Jamf guide's old snippet added. It creates and fixes `~/.beacon` as the user and moves aside one the user does not own. [Claude Code, Codex, and Cursor with Jamf](/guides/jamf-anthropic-openai-cursor-mdm) explains how to remove the old grant by hand. * **Self-update installs only Asymptote-signed packages, over https** · The Apple team a package must be signed by (`3A98D35XJR`) is now built into `beacon` rather than read from the unsigned manifest, and the manifest and package must be fetched over `https` without redirects. A `managed.json` naming an `http://` update URL on another host stops updating until it is changed. * **Built with Go 1.27.2** · Fixes 57 reachable standard-library vulnerabilities, including two `os.Root` escapes that matter to the confined system-mode backfill. * **Release downloads can be verified end to end** · Every release artifact has a GitHub build-provenance attestation (`gh attestation verify --repo asymptote-labs/agent-beacon`), and `checksums.txt` now lists the `.pkg`, `.msi`, and `install.sh`. * **The scheduled inventory job follows every moved runtime directory** · A per-user install or repair now records `KIRO_HOME`, `KIMI_CODE_HOME`, `DSH_HOME`, `XDG_CONFIG_HOME`, the Pi-family directories, and others into the job, alongside `CODEX_HOME`, `HERMES_HOME`, `CLINE_DIR`, `GEMINI_CLI_HOME`, and `CLAUDE_CONFIG_DIR`. A system-mode job records none of them. See [Inventory heartbeats](/cli/endpoint-inventory#inventory-heartbeats). ### v1.3.42 · October 15, 2026 * **System inventory stays inside the console user's home** · The root inventory job's reads of the console user's config files and skill manifests are now confined to that home, as the system session backfill already was: links that lead out, files the user does not own, and FIFOs, sockets, and devices are skipped, and each file is read only up to 8 MiB. If the home cannot be confined, the job still writes the liveness heartbeat and skips the scan. * **Live agent replies** · Claude Code, Codex CLI, Cursor, Factory Droid, and Devin Desktop record the agent's final reply as `agent.message` while the session runs. * **Hooks return sooner** · A post-tool hook with a large command output now finishes in under 10 ms instead of about a quarter of a second. What is redacted is unchanged. * **Hermes Agent follows `HERMES_HOME` and the active profile** · Install, hooks, discovery, inventory, and session sync use the directory Hermes uses. * **Truncated fields no longer end in `�`** · Fields cut to their size limit are cut on a character boundary. ### v1.3.41 · October 15, 2026 * **`beacon endpoint enforcement enable` installs the enterprise edition** · On an Apple Silicon Mac connected to Asymptote managed ingest in system mode, `sudo beacon endpoint enforcement enable` downloads the enterprise package, verifies its checksum, Apple signature, and Gatekeeper assessment, installs it, and hands off to its own `enable`. See [Policy enforcement](/manage/policy-enforcement). * **Runtimes with moved home directories** · Install, hooks, discovery, inventory, session sync, and the backfill follow `CLAUDE_CONFIG_DIR`, `CODEX_HOME`, `CLINE_DIR`, `GEMINI_CLI_HOME`, and `COPILOT_HOME` as the runtimes do. Previously, with one of these set, live capture silently recorded nothing. * **Concurrent hooks no longer clobber per-session state**, **oversized session events no longer stall a sync**, and **Cursor sync keeps prompts in compacted conversations**. * **Jamf policy for Claude Code and Falcon LogScale** · See [Claude with Jamf and CrowdStrike Falcon](/guides/jamf-falcon-mdm). ### v1.3.40 · October 14, 2026 * **Status shows customer forwarders** · `beacon endpoint status` prints a line for each S3, GCS, or Falcon LogScale forwarder the macOS package helpers installed, and `--json` adds `script_forwarders`. System installs that were never connected, and installs with their own forwarder, no longer show a "Beacon Cloud: not connected" line telling them to run `beacon endpoint connect`. * **Session stores found where runtimes keep them** · Session status, sync, handoff, and the install and connect backfill now read OpenCode sessions from OpenCode's data directory (`~/.local/share/opencode`, `$XDG_DATA_HOME`, or `OPENCODE_DB`), Codex sessions from `CODEX_HOME`, and Hermes sessions from `HERMES_HOME` and Hermes's own default roots. The old OpenCode default pointed at its config directory and found no sessions. Claude Code sessions take their workspace from the transcript when Claude's session index omits it. * **Hook and plugin capture fixes** · `file.diff` on Write events no longer adds a phantom blank final line, and hooks read the Git branch and remote from the resolved directory when the workspace path is a symlink. The OpenCode plugin keeps streamed assistant text that arrives after a pending snapshot, and the Cline, Pi-family, and OpenClaw plugins no longer drop an event that carries an invalid date. * **OpenClaw validation and Codex token counts** · OpenClaw `status` and `validate` accept only gateway OTLP events as proof that OTLP export works, so a working plugin no longer hides a broken export. The collector subtracts Codex cached-input counts only from their own token series, which affected older or hand-edited Codex configs that still send the legacy token metric. * **Config and storage fixes** · `config.json` is written to a temporary file and renamed into place, so a concurrent reader never sees a partial file; a symlinked `config.json` becomes a regular file. The local trace history and memory store open the intended SQLite file when its path contains `#` or `%`, and backfill lines skipped as duplicates no longer use up the backfill byte budget. * **Trace and dashboard fixes** · `beacon traces` quits on Ctrl+C during a search and fits CJK and emoji text to the terminal width, trace titles no longer split multibyte characters, and `traces show --around-event` with `--event-type` centers on the original event number. The dashboard keeps the latest activity filter response and the newest events when timestamps tie, and Codex handoff briefs order activity by transcript timestamps. ### v1.3.39 · October 12, 2026 * **Clearer GCS forwarder setup errors** · When Vector rejects the config, the macOS GCS forwarder helper now prints Vector's error and says the installed forwarder was left unchanged. For a service-account key Google has not accepted yet (`Invalid JWT Signature`), it says to wait up to a minute and run the helper again. * **SubQ as a memory evaluator** · `beacon memory evaluations run --evaluator subq` sends SubQ's Decisions API the same bounded, redacted trace projection Jev receives, using `SUBQ_API_KEY`. Jev is still the default, and `--jev-cost-per-trace` is now `--cost-per-trace`, with the old name kept as a deprecated alias. Hooks and collectors still never call an evaluator. ### v1.3.38 · October 12, 2026 * **Terraform modules for S3 and Cloud Storage** · `terraform/aws-s3` and `terraform/gcs` create a new, dedicated bucket with public access blocked, versioning, and lifecycle rules, plus the write-only `beacon-endpoint-writer` the forwarder uploads with. No module creates access keys unless asked, so no secret lands in Terraform state. * **Terraform for Asymptote's read path** · `aws-s3-asymptote-reader` and `gcs-asymptote-reader` take the base module's bucket and add Asymptote's read access, the bucket notification, and an SQS queue or Pub/Sub subscription per stream, so an object that uploads late is still loaded. See [Asymptote with Your Own S3 Bucket](/deployment/self-hosted-s3) and [Asymptote with Your Own Cloud Storage Bucket](/deployment/self-hosted-gcs). ### v1.3.37 · October 12, 2026 * **Runtime-log permission hardening** · User-mode runtime logs are now written inside private directories with private file permissions, system log ACLs are narrowed on Windows, and launchd logs moved out of world-writable `/tmp` paths. * **Safer system backfills** · System-mode session backfill reads are confined to the active console user's home, skip links and special files that would escape that home, and clean up interrupted SQLite snapshots. * **Hook and policy safety fixes** · Claude Code `PermissionRequest` hooks now honor policy denials, Devin CLI hooks no longer approve permission requests on the operator's behalf, and observed pre-tool hooks stop answering `allow` where that would silently pre-approve the runtime's own prompt. * **Cursor hook preservation** · Rewriting `hooks.json` keeps fields Beacon does not model, so local Cursor hook configuration survives install, repair, and uninstall cycles. * **Threat-rule hardening** · Local rule pulls keep the built-in baseline active beside downloaded rules, and ordered correlation evaluation is bounded and linear. ### v1.3.36 · October 11, 2026 * **Session sharing improvements** · Local share and refresh flows can follow a running session, preserve existing titles, carry shared-trace links in git notes, and show sharing state in local session and trace views. * **Redaction fixes** · Credential redaction now covers more bearer tokens, quoted command-line flag values, secret-named arrays, private keys, and home-directory paths in shared views. * **Prompt and trace identity fixes** · Prompt IDs are carried onto trace events, duplicate hook/export prompt records are collapsed, and resumed or stale shared sessions no longer make local sharing state ambiguous. ### v1.3.35 · October 10, 2026 * **Interactive update notices without startup delay** · Running bare `beacon` in a terminal can show a cached newer-release notice and the right upgrade command. Scripts, pipes, redirects, CI, and development builds skip the notice; `BEACON_UPDATE_CHECK=0` disables it. * **Session backfill on every install and connect** · The bounded 30-day session backfill now runs for user, system, package, and MDM installs and runs again on each `beacon endpoint connect`. Re-sent events keep deterministic event IDs so downstream readers can collapse duplicates. Use `--no-backfill` or `BEACON_BACKFILL=0` to skip it. * **Opt-in Claude Code model context** · `beacon endpoint install --claude-capture-model-context` and `repair` can capture the model-visible context Claude Code only reports in API-body logs, including WebFetch page input and MCP tool descriptions. The collector filters API bodies before every destination, redacts and caps retained text, and drops all raw bodies when the flag is off. * **Model-visible context for rules** · Skill listings and MCP tool descriptions are represented as normalized context events, and threat rules can match retained system-instruction text and tool-result text without reading raw API bodies. * **Pi-family tool-result coverage** · Oh My Pi, Pi, Prime Agent, and Senpi now place read/fetch, MCP, and command results where shared rule fields can match them. ### v1.3.34 · October 10, 2026 * **Install and connect backfill reliability** · Recent agent sessions are backfilled during install and connect, including system-mode installs that need to read the active console user's stores rather than root's home. * **Callback and dependency fixes** · The sign-in callback page now renders the Beacon mark correctly, and vulnerable dependencies flagged by security advisories were updated. ### v1.3.33 · October 7, 2026 * **Claude Code API-body filtering** · The collector's `claude_api_body` processor strips raw Claude Code API bodies before any exporter, keeping only explicitly opted-in WebFetch page text and MCP tool descriptions. * **Prompt ID propagation** · `prompt.id` is promoted from OTLP, hooks, Claude transcripts, browser-extension events, and session backfills, and downstream ingest pipelines copy it alongside prompt text. * **Live tool-result capture** · Claude Code and Pi-family hooks now retain selected read, fetch, MCP, and Bash outputs where rules can inspect the retained result text. ### v1.3.32 · October 5, 2026 * **Token and cost accounting** · Local reports can show list-price estimates beside runtime-reported cost, including one-hour cache-write pricing and local price overrides. * **Copilot cost support** · GitHub Copilot CLI session polling records AI-credit cost for sessions whose local shutdown record includes `totalNanoAiu`. * **Gemini and OpenCode usage fixes** · Gemini token usage now follows Gemini's own count semantics, and OpenCode reasoning tokens are counted inside output tokens. * **Backfill de-duplication** · Token reports count a session captured both live and by poll backfill only once. ### v1.3.31 · October 5, 2026 * **Cursor Admin API usage sync** · `beacon endpoint cursor usage sync|status` can import Cursor Admin API usage events as idempotent local `token.usage` events. This is an administrative usage source, not token data emitted by Cursor hooks. * **Recurring-session and dashboard fixes** · Local dashboard branding and recurring-session grouping were corrected. ### v1.3.30 · October 5, 2026 * **Local lenses and richer scan data** · Local trace views gained built-in session lenses for token usage, files changed, approvals and policy, security review, skills, and MCP calls. * **Threat-rule rule fields** · Retained tool-result text is exposed to CEL for indirect-injection rules, rule categories are recorded in the taxonomy, and rules can require a minimum rule-spec version. ## September 2026 ### v1.3.29 · September 28, 2026 * **Managed MCP token creation** · Login requests the scope needed to create managed MCP tokens, and `beacon mcp token create` creates one on demand. Default token names are truncated safely when the hostname exceeds the API limit. ### v1.3.28 · September 28, 2026 * **Harness-aware managed MCP registration** · `beacon mcp connect`, `disconnect`, and `status` manage the Beacon Managed MCP entry in supported agent harness configuration files. Status can check the recorded URL, and disconnect reports entries it deliberately leaves alone. ### v1.3.27 · September 27, 2026 * **Git-to-session attribution** · `beacon git setup` can link new commits to the agent sessions that produced them, add the links to the runtime timeline, and optionally share commit links with teammates. * **Durable trace history** · `beacon endpoint traces` keeps a bounded local history across runtime-log rotation and preserves stable identities for events that did not originally carry an ID. * **Safer Linux installation** · The one-line installer verifies the downloaded package checksum before installation, and release docs include alternatives for operators who do not allow `curl | bash`. ### v1.3.26 · September 25, 2026 * **Linux installer release fix** · The release workflow stages `install.sh` inside GoReleaser's working directory so the installer is included reliably. ### v1.3.25 · September 25, 2026 * **Evaluator-optional memory distillation** · The distill skill can write review candidates even when no external evaluator is configured. ### v1.3.24 · September 25, 2026 * **Cross-harness session handoff** · `beacon handoff list`, `export`, and `resume` find local runtime sessions, produce Markdown briefs, reopen supported sessions, and link continued sessions back to their source. * **Skills for major harnesses** · Publishable Beacon memory skills now include manifests and install guidance for the major supported agent harnesses. ### v1.3.23 · September 24, 2026 * **Safer memory promotion** · Failed evaluations are never promoted to memory, and evaluation runs honor `BEACON_JEV_ENDPOINT` and `BEACON_JEV_MODEL`. * **Endpoint lifecycle fixes** · User LaunchAgents work when home directories live on external volumes, package forwarders survive repair and rollback, and uninstall removes them cleanly. ### v1.3.22 · September 23, 2026 * **Vector ships with Beacon on Linux** · Linux packages and archives include the static Vector 0.56.0 build, and generated forwarding configurations are validated against that pinned version. * **Microsoft Sentinel without Azure Arc** · A bundled-Vector path can send runtime events directly to the Logs Ingestion API while retaining the Azure Monitor Agent path for Arc-managed machines. * **Headless sign-in and package reliability** · SSH and display-less installs fail over immediately to recovery guidance, Homebrew services resolve stable binary links, and hook-only installs no longer alter Claude or Codex OTLP settings. ### v1.3.21 · September 23, 2026 * **Broader browser-extension support** · Events identify their browser, the extension has a beta Firefox target, and Safari packaging groundwork remains explicitly experimental. * **Safer endpoint collection** · User and system collectors can coexist, interrupted reconnects are reported as incomplete, and the supervised service verifies process identity before signaling a pid. * **More reliable harness capture** · Existing Claude hooks are preserved verbatim, large Claude backfills stop before rotating out their own output, and doctor surfaces DeepSeek sandbox capture gaps. ### v1.3.20 · September 22, 2026 * **Install discovers harnesses by default** · `beacon endpoint install` and `repair` detect local runtimes and configure every integration Beacon can safely install. Explicit lists retain exact-selection behavior, and `--harness all` forces every installable integration. ### v1.3.19 · September 22, 2026 * **One-screen endpoint onboarding** · Sign-in, recovery, destination selection, and managed connection stay in one wizard, including no-browser and headless paths. * **Claude and Codex hooks install by default** · Selecting either runtime now installs its user hooks with OTLP settings; an individual hook failure warns without invalidating the endpoint installation. * **Security and trace fixes** · Local dashboard and MCP servers reject non-loopback Host headers, learning projections retain the end of long traces, and versioned DeepSeek session files are discovered. ### v1.3.18 · September 21, 2026 * **Kimi Code telemetry** · Kimi Code is a first-class `kimi_code` harness with managed native hooks, discovery, inventory, dashboard, approval, command, file, MCP, subagent, and compaction coverage. * **More local backfill paths** · DeepSeek Harness and GitHub Copilot CLI can sync committed native sessions for richer historical telemetry. * **Interactive traces and managed privacy** · `beacon traces` adds a local full-screen trace browser, while Beacon Managed forwarding adds `standard` and `metadata-only` privacy modes. ### v1.3.17 · September 21, 2026 * **Reviewed cross-harness memory** · Local trace evaluations create reviewable candidates before approved project memory is published. * **Memory reuse through MCP and skills** · Approved memory is available through local MCP tools and can be installed explicitly as deterministic Agent Skills. ### v1.3.16 · September 20, 2026 * **Session-centric local dashboard** · The dashboard groups activity by agent session and adds searchable timelines, filters, metadata summaries, raw-event inspection, findings, detections, token usage, inventory, and memory views. ### v1.3.15 · September 19, 2026 * **Local session-store sync across more runtimes** · Beacon can now backfill committed local session history for Claude Code, Cline, Codex CLI, Cursor, Factory Droid, Grok Build, Hermes Agent, OpenClaw Gateway, OpenCode, Pi, and Prime Agent. The new `beacon endpoint sync` and `status` commands read each runtime's own on-disk records locally and mark those events `harness.collection_method=poll`, so they are useful for history and scheduled catch-up without pretending Beacon observed or controlled the action live. * **Trace search for local endpoint activity** · `beacon endpoint traces` adds a local SQLite trace index over runtime JSONL, with `status`, `reindex`, `list`, `search`, and `show` commands. The index keeps source-scoped trace keys and event ordering stable so the CLI and dashboard answer the same trace-search questions over mixed hook, OTLP, plugin, and poll events. * **DeepSeek Harness and Senpi telemetry** · DeepSeek Harness now has managed hook installation, payload mapping, discovery, inventory, dashboard, and token coverage under the `deepseek_harness` canonical name. Senpi, the standalone OMO edition, now ships as its own managed Pi-family extension and runtime page under the `omo_senpi` harness. * **Poll-path reliability fixes** · The new collectors were hardened around partial tails, oversized records, failed emits, system-mode cursor paths, compaction and rewrite detection, deduplication coordinates, and session-scoped token accounting, so a bad record or rewritten store does not silently skip later telemetry. ### v1.3.14 · September 17, 2026 * **OpenClaw Gateway endpoint telemetry** · Beacon now ships end-to-end OpenClaw Gateway collection: a managed `openclaw-beacon` plugin, the `beacon-hooks openclaw-event` adapter, discovery and install wiring, README runtime coverage, and docs. The plugin path covers session lifecycle and resume, prompts, tool lifecycle, commands with exit code and output, file reads/creates/edits with diffs, `apply_patch` fan-out, MCP tools, compaction, subagents, agent messages, and token usage including cache reads and writes. The existing OTLP integration remains the gateway traces and metrics path; together they report the `openclaw_gateway` harness. * **Prime Agent endpoint telemetry** · Prime Agent is now a first-class collected runtime with a managed extension, installer, discovery, documentation, and hook adapter support. Its persistent `ipython` kernel activity is recorded as `command.executed` so file operations and shell work inside cells stay visible to command-scoped rules, with token usage, reasoning, session lifecycle, prompts, file diffs, and runtime status preserved under the `prime_agent` harness. ### v1.3.13 · September 16, 2026 * **Codex Desktop is tracked separately from Codex CLI** · Codex Desktop's app-server now normalizes to its own `codex_desktop` harness instead of merging with terminal Codex CLI activity. Dashboards, token coverage, data inventory, and exported events can now distinguish the desktop app from CLI sessions while preserving the same Codex OTLP token and tool telemetry mapping. * **Scheduled inventory snapshots only on real change** · The first day of scheduled inventory showed every run writing a "changed" snapshot on machines where nothing had changed, because the digest hashed `~/.claude.json` whole and Claude Code rewrites that state file on every session. That file's raw hash is now left out of the digest (it is still reported); the MCP servers parsed from it keep their own hashes, so a real MCP change still snapshots. Two smaller fixes from the same data: a macOS service account holding the console at the login window (`_mbsetupuser`, home `/var/empty`) produced an empty snapshot and now counts as no console user (heartbeat only), and the state file keeps the last digest per home so a machine with more than one console user does not report a switch as a change. * **Install guidance matches the release artifacts** · The README now separates macOS Homebrew, Linux `.deb`/`.rpm`, and Windows `.msi` install paths, calls out the default log locations for each platform, and gives the supported runtime table a logo column with Codex CLI and Codex Desktop split into separate rows. * **Homebrew keeps Beacon's Vector dependency private** · The generated Homebrew formula now makes the `beacon-vector` dependency explicit in the macOS formula and keeps that helper out of `PATH`, so Beacon's bundled forwarding dependency does not collide with a user's own Vector install. ### v1.3.12 · September 15, 2026 * **User-mode inventory job starts beside a system install** · On a Mac that also ran the system-mode inventory daemon, the user-mode LaunchAgent pointed its stdout and stderr at the same root-owned `/tmp` files and launchd refused to spawn it (`EX_CONFIG`). The user-mode job now logs to per-user paths (`/tmp/com.beacon.endpoint.inventory..out|err`). ### v1.3.11 · September 15, 2026 * **Inventory is a scheduled job now** · Endpoint inventory heartbeats used to fire only from agent hooks, so a machine that ran no hook-instrumented agent (or an idle one) never reported, and system installs needed user hooks to be able to write a root-owned log. `beacon endpoint install` now writes a scheduled job in both modes, `com.beacon.endpoint.inventory` (LaunchAgent or LaunchDaemon) on macOS and `beacon-inventory.timer` on Linux, that writes `inventory.heartbeat` every 6 hours and once at load, and `inventory.snapshot` when the inventory changed. It is on by default; the package postinstall reconciles it on every upgrade, so an existing system install starts reporting inventory after its next self-update with no action. `inventory_heartbeat.enabled: false` removes it; `ttl_seconds` is gone (old keys are ignored). Hooks no longer trigger inventory: Codex's `UserPromptSubmit` inventory hook is dropped, hook commands no longer carry `--cli`, and the hook binary keeps `--cli` and `inventory-heartbeat` as no-ops for hook files written by older versions. `beacon endpoint status` gains an `Inventory heartbeat` line and `--json` `inventory_heartbeat` object. A system-mode run inventories the console user's home; the scheduled scan no longer includes project-scoped config, which `beacon endpoint inventory` still reports. ### v1.3.10 · September 12, 2026 * **goose (Block) hook telemetry** · The hooks binary reads goose's plugin hook payloads (`--platform goose`), covering session start and end, prompts, tool lifecycle, command lines, and file creates and edits with diffs. goose spells three envelope fields its own way (`event`, `working_dir`, `message`) and reports a failed tool call as its own `PostToolUseFailure` event with a payload otherwise identical to `PostToolUse`, so the event name is what decides whether a write is recorded as landed. MCP tools are identified by goose's `__` prefix not naming a built-in extension, since goose sends no tool output and no `mcp_*` argument to give it away. goose classifies a blocking hook's stdout, so `PreToolUse` and `Stop` answer with an explicit `{"decision":"allow"}` — the `{}` other runtimes read as no opinion is a failed hook here — and a policy-seam deny is returned as `{"decision":"block"}`, goose's own spelling for it. Approval decisions and token usage are not on any goose hook and are not synthesized. See [goose](/runtimes/goose). * **`goose` is a canonical harness name** · `codename-goose`, `block-goose`, and the CLI and agent spellings all normalize to `goose`, so the hook path and goose's own OpenTelemetry export land on one harness instead of splitting a session in two. GooseAI spellings (`gooseai`, `goose-ai`, `goose.ai`) are deliberately left unmapped and pass through as themselves — that is a different company's inference service, not this runtime. * **Security** · Bumps `google.golang.org/grpc` to 1.83.2 in the collector exporter and sandbox modules. ### v1.3.9 · September 9, 2026 * **Cloud agents can send telemetry to Asymptote Managed** · Claude Code cloud sandboxes had two upload targets, a GCS or S3 bucket you own. `BEACON_CLOUD_UPLOAD=asymptote` with `BEACON_CLOUD_INGEST_URL` and a `BEACON_CLOUD_DEVICE_KEY` minted for the environment now posts the sandbox log to managed ingest, the same endpoint the laptop forwarder uses, so cloud-agent sessions appear in the dashboard beside endpoint sessions. New lines are sent on every Stop, in batches under the ingest limits; a revoked key is reported, never retried past the offset. See [Claude Code Cloud Agents](/runtimes/claude-code-cloud-agents). ### v1.3.8 · September 7, 2026 * **Homebrew stops colliding with vectordotdev's Vector** · The tap mirrored Vector as a formula named `vector`, which clashed with anyone who had tapped `vectordotdev/brew` and broke `brew upgrade`. The mirror is renamed `beacon-vector` and the Beacon formula depends on that, so a Beacon install no longer fights an existing Vector install. ### v1.3.7 · September 7, 2026 * **Kiro (AWS) endpoint telemetry** · Beacon configures Kiro hook telemetry through a Beacon-owned hook file in the directory Kiro scans, covering session start, prompts, pre- and post-tool activity, commands with output, file reads and edits, MCP tool calls, failed tools, and the agent's final response. One harness name covers the Kiro IDE and CLI. A policy deny is honored through Kiro's exit-code-2 block contract. Install with `beacon endpoint install --harness kiro` or `beacon endpoint hooks install --harness kiro`. ### v1.3.6 · September 6, 2026 * **OpenHands endpoint telemetry** · Beacon merges its hooks into OpenHands' own `.openhands/hooks.json`, covering session start and end, prompts, pre- and post-tool activity, commands with exit code and output, file reads and edits with diffs, and MCP tool calls. Install with `beacon endpoint install --harness openhands`. * **Token spend coverage** · `beacon token-usage --coverage` and the dashboard token view report which runtimes actually carry token usage and where it is missing. Model names are canonicalized at write time keeping the provider, Claude context windows in the utilization table are corrected, claude.ai cache token counts are captured, and context-size events are recorded as their own field so they no longer inflate usage counts or create zero-token rows. * **Grok Bot harness identity** · Adds the `grok_bot` harness so its telemetry is named and classified correctly. * **Security** · Bumps `google.golang.org/grpc` to 1.83.1 for a heap-exhaustion advisory (GHSA, DATA-frame fragmentation). ### v1.3.5 · September 6, 2026 * **Muse Code (Meta) endpoint telemetry** · Beacon configures Muse Code hook telemetry through a Beacon-owned managed hooks file that Muse's settings point at, covering session start, prompts, tool lifecycle, operator approval decisions, subagent start and stop, context compaction, commands, and file activity. Install with `beacon endpoint install --harness muse`. ### v1.3.4 · September 5, 2026 * Maintenance release. No functional changes; carries the v1.3.3 changelog. ### v1.3.3 · September 4, 2026 * **Homebrew installs Vector again** · `brew install asymptote-labs/tap/beacon` failed with "No available formula with the name vector": Vector is not in homebrew-core and Homebrew no longer taps third-party dependencies on its own. The tap now carries its own `vector` formula, mirrored from Vector's release tarballs (0.58.0 on Apple Silicon, 0.50.0 on Intel, the last x86_64 build Vector published), and the Beacon formula depends on that. The minimum Vector version `connect` accepts drops from 0.56 to 0.50, validated against the forwarder template, so Intel Macs can connect. ### v1.3.2 · September 4, 2026 * **Re-connecting no longer loses the forwarder** · `beacon endpoint connect` on an already-connected macOS endpoint stops the old Vector and starts a new one under the same launchd label. launchd reports the stop before the old process has exited (Vector drains in-flight requests for up to a minute), so the new bootstrap could be swallowed and the status check saw the old pid as "running", leaving no forwarder at all. The load now waits for the old job to disappear, then confirms the new instance has a pid, and fails loudly otherwise. ### v1.3.1 · September 4, 2026 * **`beacon endpoint status --user` reports the user-mode connection** · On a machine whose system collector holds the OTLP ports, status switches its collector view to the system install; it also read the system install's managed-ingest record, which is root-only, and printed "not connected (permission denied)" for a connected user-mode endpoint. The managed-ingest line now follows the install mode you asked about. ### v1.3.0 · September 4, 2026 * **Onboarding asks where telemetry should go** · The first-run prompt ends with an arrow-key question: keep telemetry on this machine (default), forward it to your own infrastructure (a SIEM, observability platform, or an S3/GCS bucket you own, with a pointer to the log forwarding docs), or forward it to Asymptote Managed, which runs `beacon endpoint connect` after the install. Question titles and the selected row use the Beacon purple. `beacon endpoint install --connect` skips the question and connects, `BEACON_MANAGED_INGEST=0` hides the Asymptote answer, the answer stays local and is shown by `beacon endpoint onboarding`; the Asymptote answer is recorded only once the machine is connected. The Homebrew formula now depends on `vector` so a Homebrew install can connect without a second step. * **`beacon endpoint connect` and `disconnect`** · Connect an endpoint to Asymptote managed ingest from the CLI: it finds Vector (0.56+), opens the dashboard's device approval page, receives a per-device key through a loopback PKCE exchange, stores it in a `0600` secrets file, renders and validates the forwarder config, and starts `com.beacon.endpoint.asymptote-forwarder` (launchd) or `beacon-asymptote-forwarder.service` (systemd) in user or system mode. `beacon endpoint status` gains an "Asymptote managed ingest" line and a `managed_ingest` JSON object with forwarder state and a live credential check; `config.json` gains a non-secret `managed_ingest` block; uninstall removes the forwarder and credentials. Re-running connect rotates the key in place. * **Asymptote Managed forwarding pack** · `beacon endpoint asymptote` generates a Vector `http` forwarder that posts the runtime and inventory JSONL to Asymptote's ingest service with a per-device key read from a `0600` secrets file, plus a credential smoke test and sample events. It is the first Beacon destination that sends events to an Asymptote-run service; forwarding is opt-in per device, starts only after browser approval, and is revocable from the dashboard. `beacon endpoint connect` (coming next) runs enrollment and the forwarder as a service using the same template. * **Removed `beacon login` and `beacon ingest`** · Neither command was ever connected to a server: `beacon ingest endpoint upload` had nothing to upload to and `beacon login` saved credentials nothing consumed. `beacon endpoint status` no longer prints an "Endpoint ingest" line and its JSON output drops `managed_upload`; a `managed_upload` block in `config.json` is ignored. Forwarding to Asymptote returns as an explicit, revocable Vector destination set up by `beacon endpoint connect` in an upcoming release. ## August 2026 ### v1.2.7 · August 31, 2026 * **Claude Cowork uses the shared Claude normalizer** · Cowork OTLP logs now produce the same canonical prompt, assistant response, approval, command, file, MCP, session, model, token, and runtime-reported cost fields as Claude Code when Anthropic emits those attributes. Tool parameters are decoded into structured command and MCP fields instead of remaining only in raw OTLP attributes. * **Cowork provenance stays coherent** · Remote Cowork execution is marked `origin=cloud` even when the task was started in Claude Desktop. The source's Cowork user identifier replaces the local collector process identity without mixing a cloud account with a local UID. * **Richer retained content** · User prompts and assistant responses are promoted into the canonical GenAI message fields with content hashes and byte counts, while the original OTLP attributes remain available under `raw.attributes`. * **Local dashboard refresh** · The loopback dashboard has a clearer navigation and investigation layout, richer runtime identity, session-state filtering, and improved event detail views. * **Architecture and positioning updates** · The product overview and architecture guides now describe Beacon around its capture, normalization, storage, detection, and forwarding pipeline stages. ### v1.2.5 · August 28, 2026 * **Turn-level usage** · Beacon now configures Codex's local trace exporter and retains only the completed turn span carrying thread, turn, model, and token fields. The same canonical `gen_ai.usage` schema used by Claude Code records uncached input, cache read, cache creation, output, and reasoning tokens. * **User and session rollups** · A metadata-only SessionStart hook records the local OS user for each Codex session. The token report and dashboard join that context by session ID and add a per-user breakdown. * **One live source** · Beacon-managed Codex configuration no longer enables the anonymous token histogram alongside traces. Historical metric rows remain readable, and post-cutover overlaps prefer the attributable turn span. * **Rollouts stay out of band** · Beacon does not continuously scan Codex transcript files. Rollout JSONL remains a possible explicit recovery source, not part of normal endpoint execution. ### Browser extension · August 24, 2026 * **Browser chat is a supported surface** · An optional Chrome MV3 extension relays Claude.ai and ChatGPT conversations into the same local pipeline as agent activity, normalized into the same schema. Its service worker posts OTLP GenAI logs to the collector already listening on `127.0.0.1:4318`, so browser chats land in `runtime.jsonl` beside agent activity and forward through the same shippers. Build it from `browser-extension/` and load it unpacked in Chrome. * **Narrow by construction** · The extension reads the chat streams on `claude.ai`, `chatgpt.com`, and `chat.openai.com`, and nothing else. It has no access to other tabs, browsing history, or page content elsewhere, and it never writes files. Activity is attributed to the `claude_web` and `chatgpt_web` harnesses, so browser chat stays distinguishable from CLI agents. * **Retention defaults to full** · Complete prompt and assistant response text is retained locally. Browser chat telemetry without content has little investigative value, so the default keeps it. Change it to `redacted` or `metadata` in the extension's options page before enabling it on a machine where the same browser profile is used for personal conversations. Retention is enforced in the browser, so under `metadata` the text never leaves the page. * **Release path in place, not yet used** · An `ext-v*` tag publishes the unpacked build as a zip with a `.sha256`, independent of the CLI's `v*` releases. No such release has been cut yet, so building from source is currently the way to get it. Chrome Web Store publication is not yet available. * **Documented boundaries updated** · The security overview, threat model, and FAQ previously listed browser telemetry as out of scope. They now scope that statement to general browser activity, which the extension still does not collect. ### Documentation · August 23, 2026 * **One house style across the docs** · Rewrote the pages that had drifted into design-note prose so each one leads with what to run and what it does. The Qwen Code, Pi, Cline, OpenCode, and cloud-agent runtime pages, the macOS, Linux, and Windows install pages, and the sandbox contributor guide are shorter and read the same way as the rest. * **Consistent headings** · Section headings are sentence case throughout, with product names left alone. Runtime pages now follow one section order, and the cloud-agent pages use `Overview` then `How it works` instead of two sections both called some form of overview. * **Simpler punctuation** · Removed em dashes across every page in favor of plain sentences, colons, and lists. * **Navigation gaps closed** · The Common Issues page is reachable from the sidebar, the local-scan and scan-gate pages are grouped under `beacon scan`, and the local inventory guide is listed with the other guides. Four broken in-page anchors now resolve. * **Corrected runtime facts** · The runtime support matrix reported Pi's managed extension as unshipped; it now lists the telemetry Pi actually collects. The matrix also links the Windows package alongside macOS and Linux, and the endpoint path reference lists Pi's extension paths. ### v1.2.3 · August 22, 2026 * **Cline is a supported runtime** · `beacon endpoint hooks install --harness cline` installs a Beacon-managed plugin at `~/.cline/plugins/beacon.ts` that collects prompts, task lifecycle and errors, tool lifecycle and results, commands with exit codes, file reads and edits with diffs, MCP activity, and per-task token usage and cost. Cline is not one runtime: the same agent core runs as a VS Code extension, a JetBrains plugin, and a CLI. One plugin install covers every host on the machine, because Cline auto-discovers plugin files rather than requiring a registry command. Cline's own OpenTelemetry export and hosted prompt storage are neither configured nor required. * **Cline discovery that matches how Cline is installed** · Detection keys on the `~/.cline` directory and treats a `cline` executable on `PATH` as a supporting signal rather than the deciding one; a binary check alone would report "not detected" for the IDE hosts, which are most installs. `beacon endpoint hooks status --harness cline` reports installed only when the plugin references a hook binary that is actually present, so a plugin left behind by a removed or relocated install reads as not installed rather than as working telemetry. * **No synthesized approval decisions for Cline** · Cline's hook payloads carry no approval state, so Beacon records none. Approval telemetry comes from the runtime everywhere else; inferring Cline's would make `approval.*` mean something different depending on which harness produced the event. * **A Cline task's outcome is read, not assumed** · The end-of-task hook recorded every task as a success, so an aborted or failed task was indistinguishable from a completed one in the runtime log. It now reports the run's actual outcome. * **Cline in discovery, inventory, and the dashboard** · `beacon endpoint discover`, agent inventory, and the local dashboard list Cline alongside the other supported runtimes, and the runtime documentation covers its collection path, status values, and telemetry coverage. *** ### v1.2.2 · August 21, 2026 * **A package upgrade no longer leaves the old collector running** · Install loaded the collector service instead of restarting it, which is a no-op on a live service in every backend: `systemctl enable --now` does not restart an active unit, launchd refuses an already-bootstrapped label, and the supervised backend returns early on a live pid. That is correct for a first install and wrong for every one after, because by then the install has rewritten the collector config and a package upgrade has replaced the collector binary underneath the running process. Installing over an older version left the previous collector serving OTLP from a deleted inode, ignoring the new config, with ports answering and status reporting healthy, until reboot. The same path made `endpoint install --splunk-hec-endpoint ...` write a destination that never took effect. Install now restarts a service it finds running. This was not Linux-only; it affected the macOS `.pkg` upgrade path identically. * **`endpoint uninstall` can now fail** · Every step discarded its error and the function had no return path but `nil`, so an unprivileged `uninstall --system` reported that the service, config, and managed files were removed and exited 0 while the unit stayed enabled and the collector returned at the next reboot. Uninstall now refuses without privileges up front, collects errors from every step rather than stopping at the first, and removes rotated log archives. Deleting only `runtime.jsonl` left up to 50 MB of retained prompt text and command lines behind, invisibly, because the file an operator would check was the one that had gone. * **Hook writes are no longer lost silently under a restrictive umask** · The log directory's mode is masked by umask, so on a host with umask 027 or 077 it was created `0750` or `0700` owned by root. The log inside is `0666` precisely so hooks can append, but a process that cannot traverse the directory never reaches the file, and every hook event failed with `EACCES` while the root-owned collector stayed healthy. `endpoint doctor` could not see it either: its writability check was satisfied by the owner's write bit, so a root-owned `0600` log passed as OK. The check now asks whether a non-root process can write the log and whether the directory can be entered at all. * **MCP detection works on the OpenTelemetry path** · The `external-mcp-tool-call` and `secret-read-then-external-mcp` rules gate on `mcp.server`, and on Claude Code, which reports through the collector rather than through hooks, that field was always empty, so neither rule ever fired. A poisoned MCP tool reading a credential and handing it off scanned as a credential read with no exfiltration. The hook path already split `mcp____` into `mcp.server` and `mcp.tool`; the collector path now derives the same fields from the name when a runtime sends no structured `mcp.*` attributes. It triggers only on that exact naming convention, so a built-in tool is never promoted to an MCP call and runtimes that do send structured attributes are unaffected. * **Stricter path-traversal rejection during self-update** · Archive extraction rejected `..` path segments on a normalized copy of the entry name. That was behaviorally sound but left the raw name unchecked as far as static analysis was concerned; extraction now refuses any entry name containing `..` at all. The absolute-path rejection and the containment check on the joined result are unchanged. * **Linear delete-path matching in the OpenCode plugin** · The plugin's delete-command pattern could backtrack polynomially on a command string containing a separator followed by many newlines, and that string is whatever the agent chose to run. Commands are now split on `&&`, `||`, `;`, and newlines first, then matched once per segment with an anchored pattern. Same extracted paths, plus a delete command with leading whitespace at the start of the string now matches where it previously did not. * **Dependency security updates** · `golang.org/x/text` (CVE-2026-56852), `golang.org/x/net` (CVE-2026-46600), and `golang.org/x/sys` (CVE-2026-39824) across all five Go modules; `github.com/google/cel-go` to v0.30.0 (GHSA-gcjh-h69q-9w9g) for the threat-rules engine; `go.opentelemetry.io/otel` to v1.44.0 and `google.golang.org/grpc` to v1.82.1 in the collector exporter; and `nanoid` and `postcss` in the TypeScript SDK lockfile. * **Pi is discovered** · Beacon recognizes [Pi](https://pi.dev/), normalizes its spellings onto the canonical `pi_cli` harness name, resolves the managed extension path, and reports whether a Beacon-owned extension is in place. Pi has no hooks configuration file and no OpenTelemetry support, so the integration is extension-shaped, like the OpenCode and Cline plugins. This release is discovery only: the managed extension is not shipped yet, so `beacon endpoint hooks install --harness pi` is not available and no Pi hook events are collected. * **`cline` pinned as a canonical harness name** · `harness.name` is a release contract that dashboards, `beacon scan` rules, and forwarded SIEM queries group by, and two independent paths write it. Every spelling Cline's three hosts can report now resolves to `cline` before anything started producing those events, so there was never a window where they landed under a name that later had to be migrated. * **Linux deployment profile** · A one-page reference for reviewing Beacon before deploying it: what it needs from the kernel, and what it costs to leave running, with the command that verifies each claim. Its lead claim, statically linked with no glibc version floor, is now enforced rather than assumed. A native Linux build defaults cgo on, so the same `make` target produced a static binary when cross-compiled from macOS and a dynamic one when built on Linux, a difference invisible on the build host and fatal on a stripped or older one. Both Makefiles and the release pre-hook are pinned, and CI rejects any Linux binary carrying a `PT_INTERP` segment. * **Two more CI reference workflows** · A `binary-path` workflow for air-gapped or self-hosted runners that must not download a Beacon release during the action step, and a workflow that uploads completed runtime JSONL to S3 and GCS in the same run. *** ### v1.2.1 · August 12, 2026 * **Beacon configures the right person on directory-backed hosts** · On a machine whose developer accounts come from OpenLDAP, SSSD, or Active Directory rather than `/etc/passwd`, a system-mode install reported success, started a healthy collector, and captured nothing, for every user on every machine. Beacon is built without cgo, which is what makes its binaries statically linked with no glibc version floor, and the same setting made Go's account lookup read `/etc/passwd` directly without consulting NSS. Account resolution now falls back to `getent`, so both the `SUDO_USER` and logind paths resolve a directory user. Only system-mode installs were affected; a user-mode install configures your own home directory and never looked anyone up by name. * **`beacon` is on `PATH` after a package install** · The `.deb` and `.rpm` installed to `/opt/beacon/bin` and linked nothing, so every documented command, including the one the package's own postinstall prints, failed with `command not found`. Both packages now provide `/usr/bin/beacon` and `/usr/bin/beacon-hooks`. * **One session, one harness name** · Hook events recorded the raw runtime name while OpenTelemetry events recorded the canonical one, so a single Claude Code session appeared as both `claude` and `claude_code`, splitting it for any query, dashboard, or SIEM detection grouping by `harness.name`. Hook events now carry the canonical name. If you have saved queries matching `claude`, `codex`, `vscode`, or `antigravity` on hook-sourced events, update them to `claude_code`, `codex_cli`, `vscode_copilot`, and `antigravity_cli`. * **VS Code Copilot Chat is no longer attributed to the Copilot CLI** · `vscode_copilot` normalized to `copilot_cli`, two different products, and the canonical name was not stable when normalized a second time. * **`endpoint doctor` can see an endpoint that captures nobody** · A system install runs as root, so every harness check inspected root's configuration, which the install had just written correctly, while the actual operator had none. The new `console_user_configured` check asks whether a real user's agent runtime points at this collector, and fails loudly when it does not. Previously the only symptom was a warning the documentation told you to ignore. * **Regression coverage for directory-backed hosts** · The sandbox suite gained a lane whose account resolves through NSS but is absent from `/etc/passwd`, which is the property every existing lane lacked; and the Linux package smoke test now asserts `beacon` is reachable by name, which every check in it had assumed by using an absolute path. *** ### v1.2.0 · August 11, 2026 * **Beacon runs on Windows** · Endpoint parity with macOS and Linux: the collector runs as a Windows service through the Service Control Manager, system- and user-mode installs write per-platform paths, hooks capture through installed runtime configuration, and uninstall removes the service while keeping the data it promises to keep. * **Windows packaging and release artifacts** · Releases now publish a `BeaconEndpointAgent--x64.msi` with its SHA-256, plus a `beacon__windows_amd64.zip` archive. The MSI is unsigned, so its checksum is its integrity check; the release job proves it works by installing it on a runner before attaching it. * **Windows install documentation** · How to install the endpoint on Windows and how to verify it afterwards. * **Verification that can actually fail** · The sandbox harness gained a Windows guest lane, uninstall assertions that ask the operating system rather than Beacon whether a service is gone, and fixes to several checks that could not fail and so read as coverage without providing any. *** ### v1.1.0 · August 7, 2026 * **Beacon runs on Linux** · Full endpoint parity with macOS: systemd service units, native `.deb` and `.rpm` packages, per-distribution install paths under `/etc/beacon/endpoint`, and correct configuration of the installing user's agent runtime rather than root's. Installing the package performs the endpoint install, so there is no second manual step. * **Self-update from native Linux packages** · `beacon endpoint update --apply` now applies updates through `dpkg` and `rpm`, picks an artifact the host can actually install, and reconciles the endpoint after the package manager finishes. * **One-time onboarding question** · The first `beacon endpoint install` run in a terminal asks how you are using Beacon and for an email, and sends that once so we can prioritize which agent runtimes to support next. It is asked once per machine and never appears non-interactively: package postinstall scripts, MDM deployments, `--system` installs, CI, `--dry-run`, and piped input all skip it. Unattended installs can set `BEACON_ONBOARDING=0`, and fleet rollouts can supply `BEACON_ONBOARDING_EMAIL` and `BEACON_ONBOARDING_USAGE` to record attribution with no terminal. Nothing Beacon captures is ever sent: no prompts, file contents, commands, or telemetry events. * **`beacon endpoint onboarding`** · Shows what was recorded, clears it with `--reset`, or retries an undelivered signup with `--resend`. A failed submission never fails an install; the answer is kept and resent on a later install or repair. * **Linux install and deployment docs** · Install documentation is now organized by operating system, and the harness support matrix no longer describes macOS as the only deployment target. * **Linux correctness fixes** · Quoted paths in generated systemd `ExecStart` lines, authoritative logind session state and seat reads, and a Linux test suite that passes where systemd is PID 1. *** ### v1.0.6 · August 3, 2026 * **Claude Code threat-rule coverage** · Claude OTLP tool results now decode nested Bash commands and file paths into canonical `command.*` and `file.*` fields, restoring risky-command, credential-access, sensitive-edit, and context-exfiltration detection coverage. * **Accurate Claude event classification** · Bash, Read, Write, Edit, and NotebookEdit results map to command or file actions; tool decisions map to approval events; API, assistant, plugin, hook, skill, and other lifecycle records no longer inflate tool activity; and MCP connection lifecycle maps to `mcp.connection`. * **Claude OTLP regression fixtures** · Added captured Claude Code 2.1.220 and Codex CLI 0.142.4 telemetry shapes plus full documented Claude event-taxonomy coverage to protect command, file, approval, session, error, and status normalization. * **Rippling MDM deployment guides** · Added GCS and S3 deployment walkthroughs for distributing Beacon through Rippling to managed macOS endpoints. *** ## July 2026 ### v1.0.5 · July 24, 2026 * **Browser chat harness identity** · The Beacon JSON exporter now preserves Claude.ai and ChatGPT browser-extension telemetry as `claude_web` and `chatgpt_web` instead of coercing it into another runtime harness. ### v1.0.4 · July 20, 2026 * **Full OpenCode agent traces** · Expanded the managed OpenCode plugin to capture correlated prompt, assistant text/reasoning, model usage/cost, tool invocation/result/failure, command, file, web/MCP, approval, and session lifecycle telemetry. * **Accurate OpenCode file and approval events** · Empty or pathless `session.diff` payloads no longer become file modifications, structured diffs retain real agent paths, and rejected permission replies normalize to `approval.denied`. * **Bounded fail-open plugin delivery** · OpenCode event delivery is ordered, time-bounded, locally redacted/truncated, collision-safe during install, and covered by Bun, Go, fixture, and macOS smoke tests. * **Cursor Cloud prompt telemetry** · Committed `beforeSubmitPrompt` project hooks now retain observed follow-up prompts and immediately refresh the per-run object-storage snapshot, including prompt-only turns after hooks become active. * **Cursor Cloud S3 walkthrough** · Expanded the self-serve Cursor Cloud flow with direct, SigV4-signed uploads to customer-managed S3, static Runtime Secret credentials, regional egress requirements, and end-to-end prompt verification. * **Repository environment reliability** · Updated the committed Cursor environment to use the current schema, build and embed `beacon-hooks` before the CLI, select a compatible Go toolchain, and report GCS or S3 startup state. * **Falcon CI forwarding workflow** · Added a reference GitHub Actions workflow for forwarding Beacon CI telemetry directly to CrowdStrike Falcon LogScale HEC while retaining the completed runtime log as a workflow artifact. ### v1.0.3 · July 14, 2026 * **Detailed Claude Code tool telemetry** · Endpoint-managed and CI Claude Code sessions now enable `OTEL_LOG_TOOL_DETAILS=1`, preserving Bash commands, file paths, URLs, search patterns, and MCP server/tool arguments in exported OpenTelemetry events. * **Upgrade-safe configuration refresh** · Signed macOS package updates repair the active user's Claude configuration with detailed tool logging enabled, while Jamf cleanup removes the managed setting with the rest of Beacon's Claude telemetry environment. ### v1.0.2 · July 14, 2026 * **GCS object encoding fix** · Managed endpoint GCS forwarding now writes uncompressed `.jsonl` objects without conflicting gzip content metadata, preventing HTTP readers such as ClickHouse from attempting to decompress the payload twice. ### v1.0.1 · July 13, 2026 * **Packaged GCS forwarding for managed Macs** · Added GCS Jamf helpers under `/opt/beacon/jamf/claude/gcs/` that run bundled Vector as `com.beacon.endpoint.gcs-forwarder` and forward runtime plus inventory JSONL below one root prefix. * **Explicit macOS GCS credential contract** · Documented externally delivered service-account JSON referenced by `GOOGLE_APPLICATION_CREDENTIALS`, Vector `0.56` authentication limits, write-only `roles/storage.objectCreator`, and separate reader identities for validation. * **Harness-neutral object storage guide** · Consolidated the Claude-specific single-Mac S3 and GCS walkthroughs and their provider IAM, credential, rotation, and validation steps into one system-mode guide for any configured harness. * **Self-update extraction hardening** · Archive extraction now rejects explicit `..` path segments with either slash style before applying its existing containment checks, strengthening protection against path traversal during endpoint updates. ### v1.0.0 · July 12, 2026 * **S3 partition-path signing fix** · Fixed AWS SigV4 canonical URI encoding for cloud-agent S3 object keys containing date partitions such as `date=2026-07-12`, preventing authentication failures when uploading partitioned runtime snapshots. ### v0.0.99 · July 12, 2026 * **Compressed cloud telemetry snapshots** · Claude Code and Cursor cloud uploads to GCS or S3 now write gzip-compressed NDJSON under `/runtime/date=YYYY-MM-DD/--.jsonl.gz`. * **Stable per-run object paths** · Repeated snapshots from the same cloud-agent run reuse one object key, while provider, run, user, and repository attribution remain in the event data rather than the storage path. ### v0.0.98 · July 12, 2026 * **S3 export for Claude Code cloud agents** · Added S3 as an alternative to GCS for uploading cloud sandbox `runtime.jsonl`, selected explicitly with `BEACON_CLOUD_UPLOAD=s3` and configured through environment-based bucket, prefix, region, and AWS credentials. * **Cloud S3 setup command** · Added `beacon cloud s3 setup` with print, apply, and environment-output modes for creating a bucket, blocking public access, provisioning a dedicated IAM user, and granting prefix-scoped `s3:PutObject`. ### v0.0.97 · July 10, 2026 * **Collector dependency maintenance** · Updated the collector exporter's `golang.org/x/net` dependency from `0.48.0` to `0.55.0`. ### v0.0.96 · July 10, 2026 * **Shared runtime log permissions** · Runtime log and lock creation now consistently preserves the shared `0666` mode across hooks, CLI writers, the collector exporter, `doctor --fix`, Elastic setup, and Jamf repair, so root-side creation or rotation does not prevent user hooks from appending telemetry. ### v0.0.95 · July 10, 2026 * **Cursor telemetry docs polish** · Fixed punctuation and grammar in the Cursor telemetry support table so local and cloud hook coverage is easier to scan. ### v0.0.94 · July 10, 2026 * **Cursor agent reasoning telemetry** · Local Cursor hooks now capture completed `afterAgentThought` thinking blocks as `agent.reasoning` events, preserving the text in the OpenTelemetry GenAI `gen_ai.output.messages` reasoning-part shape when Cursor exposes visible thinking text. * **Hook inventory dashboard fixes** · Added a dedicated Hook Inventory dashboard page and fixed summary aggregation and poll-path row limits so inventory coverage is easier to inspect locally. ### v0.0.93 · July 9, 2026 * **Branch attribution without git execution** · Hook events can now fill `branch` from the local checkout by reading `.git/HEAD` directly when the runtime payload does not provide one, avoiding broken-worktree walks and keeping branch context paired with workspace fields. * **CI export reference workflows** · Added GitHub Actions examples for forwarding CI telemetry to Splunk HEC and uploading completed runtime JSONL to S3. * **S3 setup doc updates** · Clarified IAM user configuration and AWS S3 setup steps for customer-managed telemetry upload paths. ### v0.0.92 · July 1, 2026 * **Package install repair for active users** · macOS package installs now repair the active user's runtime configuration after package updates, helping user-context hooks keep pointing at the current packaged binaries. * **Codex hook docs alignment** · Updated Codex hook guidance after reverting the in-progress Codex session token attribution changes, preserving the current contract where Codex token usage has model, harness, repository, and run attribution but no per-session rollup. ## June 2026 ### v0.0.91 · June 29, 2026 * **Nested MCP inventory detection** · Agent inventory now discovers MCP server definitions nested inside Claude Code project records such as `~/.claude.json` `projects.*.mcpServers`, plus nested MCP blocks using the `mcpServers`, `mcp_servers`, or `mcp` naming patterns in supported harness config files. * **Hook refresh after package updates** · macOS package postinstall now refreshes Beacon-managed user hook payloads for the active console user on a best-effort basis, so self-updates replace stale copied `beacon-hooks` binaries without overwriting non-Beacon hook commands. * **Jamf inventory remediation guidance** · Jamf deployment docs now include optional endpoint self-update enablement commands and MDM-owned inventory log/state permission remediation steps for environments where user-level runtime hooks cannot write system-mode inventory files. ### v0.0.90 · June 26, 2026 * **Multiple daily updater windows** · The endpoint updater LaunchDaemon now checks during five local business-hour windows, at 9 AM, noon, 3 PM, 6 PM, and 9 PM, while still honoring update mode and jitter for fleet-friendly rollout. ### v0.0.89 · June 26, 2026 * **Rollback staging cleanup** · Successful update rollback now removes large staged package and rollback snapshots, leaving a small `last_failure.json` diagnostic instead of retaining a full old `/opt/beacon` tree. If rollback itself fails, recovery materials remain in place for manual repair. ### v0.0.88 · June 26, 2026 * **Vector forwarder preservation during self-update** · Package postinstall now restores pre-existing S3 and Falcon Vector forwarders with retry, running-state verification, and preserved `launchctl` diagnostics. A package update now fails loudly if a previously configured forwarder cannot be restored, avoiding silent log-forwarding outages. ### v0.0.87 · June 26, 2026 * **Updater reload waits for the running job** · Deferred updater LaunchDaemon reload now waits for the actual scheduled updater job to exit before reloading launchd, avoiding races with slow self-update health checks. ### v0.0.86 · June 26, 2026 * **Deferred updater reload after self-update** · Package postinstall schedules a safe updater LaunchDaemon reload after the active self-update exits, so new updater plist changes take effect without killing the in-flight update. ### v0.0.85 · June 26, 2026 * **Business-hours updater schedule** · The endpoint updater schedule moved from overnight to 2 PM local time so managed laptops are more likely to be awake for update checks. * **Successful update staging cleanup** · Healthy self-updates now clean staged download and rollback directories, leaving only the reusable update lock in the updater state directory. ### v0.0.84 · June 26, 2026 * **Updater daemon persistence after self-update** · Auto-update reconciliation now leaves the running updater LaunchDaemon in place when package postinstall is invoked by the updater itself, so `auto` mode remains loaded after a successful daemon-driven update. ### v0.0.83 · June 26, 2026 * **CLI launch banner** · Added the new Beacon CLI banner and routed root command output through the shared splash path for a more consistent command-line entrypoint. ### v0.0.82 · June 25, 2026 * **Launchd restart hardening for self-update** · Self-update now restarts the collector with `launchctl kickstart -k` and handles already-loaded launchd jobs idempotently, preventing valid package updates from rolling back when package postinstall has already restarted the collector. ### v0.0.81 · June 25, 2026 * **Apply-capable updater daemon lifecycle** · Apple Silicon system package installs can explicitly enable `auto` mode so the updater LaunchDaemon applies compatible signed package releases on its scheduled run, while `--check-only` remains available and updates stay off by default. * **Package lifecycle reconciliation** · macOS package installs preserve existing `auto_update` mode, reconcile the updater LaunchDaemon during postinstall, avoid killing the updater from preinstall, and remove the updater job during endpoint uninstall. ### v0.0.80 · June 25, 2026 * **Self-update verification on managed Macs** · Manual endpoint package apply no longer requires full Xcode just to run `stapler validate`. Beacon still requires the manifest checksum, Developer ID Installer signature, and Gatekeeper install assessment to pass, while treating unavailable `stapler` on Command Line Tools-only endpoints as a best-effort check so MDM-installed Macs can self-update. ### v0.0.79 · June 25, 2026 * **Full endpoint inventory heartbeats** · Inventory heartbeats now scan all supported local inventory candidates by default instead of only Cursor and Claude Code, while `inventory_heartbeat.runtimes` remains available for intentionally scoped deployments. * **Codex inventory heartbeat hooks** · Codex CLI can install optional heartbeat-only hooks that refresh `inventory_state.jsonl` without duplicating Codex runtime telemetry, which continues to flow through local OTLP logs and metrics. * **Expanded Codex inventory coverage** · Beacon now inventories Codex user and project `config.toml` plus `hooks.json` files so MCP and hook drift appears in endpoint inventory snapshots. ### v0.0.78 · June 25, 2026 * **Check-only endpoint update monitoring** · Apple Silicon package installs can opt into a local `launchd` job that checks the release manifest every 10 minutes and writes local-only update status events to `system.jsonl`. This phase does not download or apply packages. * **Manual endpoint package apply** · Apple Silicon package installs can explicitly run `sudo /opt/beacon/bin/beacon endpoint update --apply` to download the signed package from the release manifest, verify its checksum/signature/notarization/staple, install it with Apple's `installer`, health-check it, and roll back the `/opt/beacon` tree if the new install is unhealthy. ### v0.0.77 · June 24, 2026 * **Check-only self-update mode** · Added the first endpoint updater monitor for checking signed package releases without applying them, including local status telemetry and edge-case handling around update mode and configuration validation. ### v0.0.76 · June 24, 2026 * **Signed Apple Silicon endpoint package releases** · A pushed version tag now runs the release pipeline end-to-end: GoReleaser publishes CLI archives and updates Homebrew, then CI builds, signs, notarizes, staples, and uploads the Apple Silicon endpoint `.pkg`, `.sha256`, and `update-manifest.json` assets to GitHub Releases for direct MDM/manual download. * **Current bundled Vector in the macOS package** · The signed endpoint package includes `/opt/beacon/bin/vector` for Jamf/Fleet forwarder helpers and now targets Apple Silicon so Beacon can ship the current Vector macOS distribution rather than pinning all packages to an older dual-arch Vector release. * **Cursor and Claude session attribution fix** · Fixed a hook attribution edge case where Cursor-shaped hook payloads invoked through the default hook platform could be stamped as Claude, making a single Cursor session UUID appear under both Cursor and Claude in runtime logs and managed dashboards. ### v0.0.75 · June 23, 2026 * **Expanded threat detection pack** · Added 18 threat rules across agent control, approval abuse, credential access, context exfiltration, resource consumption, risky commands, sensitive edits, and source-control activity, with tighter matching and conformance fixtures. * **Richer MCP and inventory context** · Extended MCP event normalization and added opt-in, redacted full-content capture for endpoint inventory. ### v0.0.74 · June 22, 2026 * **External policy provider seam** · Added the optional, off-by-default hook policy-provider contract for customer-supplied allow/deny decisions while preserving Beacon's local visibility-first default. * **Permission-bypass detection** · Added the open `agent-permission-bypass-spawn` detection rule and aligned permission-request denials with pre-tool enforcement behavior. * **Shared rule loading** · Extracted local threat-rule store loading into the reusable `pkg/asymptoteobserve/rulestore` package. ### v0.0.73 · June 21, 2026 * **S3 token and cost analytics fields** · The S3 Vector forwarding template now preserves canonical `gen_ai.usage` and also emits top-level `input_tokens`, `output_tokens`, `cache_read_input_tokens`, `cache_creation_input_tokens`, `reasoning_output_tokens`, and `cost_usd` fields so downstream warehouses can persist usage attribution reliably. * **Managed onboarding docs** · Added an onboarding page for managed ingest setup and clarified the S3 forwarding path for teams wiring Beacon endpoint telemetry into managed analytics. * **Observe contract conformance** · Added cross-language contract checks to keep Beacon event constants aligned between the Go schema package and the TypeScript SDK. ### v0.0.72 · June 18, 2026 * **Inventory state separated from runtime activity** · Inventory heartbeat and snapshot telemetry now write to `inventory_state.jsonl`, keeping agent runtime activity in `runtime.jsonl` while preserving customer-managed forwarding paths. * **Claude Code MCP and skill inventory fixes** · Beacon inventories Claude Code MCP servers from `~/.claude.json` and follows symlinked Claude skill directories, so shared skill stores such as `.agents/skills` appear in endpoint inventory. * **Jamf S3 runtime and inventory forwarding** · The Jamf S3 Vector flow now forwards runtime and inventory JSONL to distinct S3 prefixes, supports MDM-injected AWS provider settings, normalizes older `.../runtime` prefixes, and reads initial inventory snapshots reliably. ### v0.0.71 · June 18, 2026 * **Inventory heartbeat telemetry** · Beacon can now emit metadata-only inventory heartbeat events for local agent harnesses, hooks, MCP servers, and skills, making endpoint coverage drift easier to inspect from the runtime log without collecting skill contents. * **Dashboard hook coverage breakdowns** · The local inventory dashboard now shows hook status and coverage summaries by runtime so operators can quickly spot missing or stale telemetry setup. * **Expanded inventory CLI filters** · `beacon endpoint inventory` adds focused flags for showing harnesses, hooks, MCP servers, skills, and telemetry state independently during audits and support workflows. * **Managed S3 forwarder hardening** · Jamf Claude S3 deployment scripts and generated Vector configs now better preserve managed environment settings and make forwarder smoke testing clearer. ### v0.0.70 · June 18, 2026 * **Top-level token usage command** · `beacon token-usage` replaces the previous `beacon endpoint tokens` command path for local token, cost, model, session, run, harness, and repository attribution from Beacon runtime logs. Update scripts and runbooks that still call the old endpoint subcommand. * **Consistent token rollups across CLI and dashboard** · The CLI and local dashboard now share the same token aggregation helpers, read the full filtered runtime log in append order, and apply exact case-insensitive session filtering so cumulative metrics and per-session drilldowns stay aligned. * **CI run filtering improvements** · `--run-id` accepts either a bare run id or the composite `provider/run_id` key shown in the report, making copied CI runtime logs easier to inspect. * **Docs navigation cleanup** · The docs now separate Agent SDK integration pages from cloud-agent runtime pages and move CLI resources closer to install and upgrade guidance. Endpoint hook paths are presented in a runtime/global/project-local table for quicker deployment review. ### v0.0.69 · June 17, 2026 * **Persistent S3 forwarder credentials on macOS** · Fixed an issue where MDM-injected AWS provider-chain settings for the [S3 log forwarder](/guides/macos-object-storage-system#aws-s3) were lost across `launchd` restarts. Provider env vars now persist in a root-owned env file so the managed `com.beacon.endpoint.s3-forwarder` job keeps shipping events after reboots and policy refreshes. * **Credentials kept out of Vector config** · AWS provider settings stay in the root-owned env file rather than `s3-vector.toml`, so packaged Vector configs remain free of customer credentials. See the [Jamf Claude S3 deployment guide](/mdm/jamf/claude) for the supported MDM injection flow. * **Reorganized Jamf Claude deployment scripts** · Jamf-managed [Claude](/mdm/jamf/claude) deployments now use a structured `jamf/claude/{common,falcon,s3}/` script layout. Existing Jamf policies that reference the old flat `jamf/scripts/*` paths must be updated to point at the new locations. * **S3 forwarder for Claude on Jamf** · Added a Vector-based [S3 forwarding path](/mdm/jamf/claude) that tails `runtime.jsonl` and ships endpoint events to a customer-managed AWS S3 bucket as gzipped NDJSON, alongside the existing Falcon forwarder option. * **Falcon hook-only flows via Vector** · `beacon endpoint repair` no longer manages Falcon HEC settings directly. Falcon delivery now runs through the dedicated Vector forwarder, keeping hook repair and log forwarding cleanly separated. * **Optional macOS codesigning** · The macOS package build can codesign `beacon`, `beacon-otelcol`, and `vector` with a hardened runtime when `BEACON_APP_SIGN_IDENTITY` is set, simplifying notarized fleet rollouts. ### v0.0.68 · June 16, 2026 * **Agent skills inventory** · `beacon endpoint inventory` now discovers local agent skill manifests for Claude Code, Cursor, and `.agents/skills`, reporting names, paths, and content hashes for change detection. See the [Skills inventory guide](/inventory/skills). * **Skills in the local dashboard** · The Agent Inventory view in the local dashboard shows an Agent Skills table and summary card alongside agent harnesses and MCP servers, so operators can see installed skills at a glance. * **Metadata-only by design** · Skill discovery records hashes and file paths only. `SKILL.md` instruction bodies are never read or stored, consistent with Beacon's [data inventory](/security/data-inventory) posture. * **Optional inventory snapshot events** · Running inventory with `--write-event` appends metadata-only inventory heartbeat and snapshot events to `inventory_state.jsonl` so installed-skill state can be kept separate from runtime activity telemetry. ### v0.0.67 · June 15, 2026 * **Devin Cloud agent telemetry** · Added `beacon cloud devin pull` to capture autonomous [Devin Cloud agent](/runtimes/devin-cloud-agents) telemetry org-wide. Using a Devin organization service key, one central run pulls every user's cloud sessions from the Devin API, normalizes them into Beacon endpoint events (`provider=devin_cloud`), writes the runtime JSONL, and optionally uploads a per-session snapshot to a customer-managed GCS bucket. No per-user or per-sandbox setup is required. * **Live and scheduled capture** · `--watch` polls continuously for near-real-time capture; a single sweep (the default) suits cron and CI runners. Re-runs are idempotent, because events are deduplicated by Devin event id and unchanged sessions are skipped. `--full-resync` re-fetches and re-uploads every session for backfills. * **Per-user attribution** · Devin Cloud events carry the Devin session id as `run_id` and the Devin user id as `run.actor`, so org-wide telemetry stays attributable per end-user and forwards to any existing SIEM destination over the normalized runtime log. Telemetry is message-level (session lifecycle, prompts, agent messages, status, pull requests, and ACU usage); the Devin API does not expose per-tool or per-command events for autonomous sessions. ### v0.0.66 · June 13, 2026 * **Dashboard routing fixes** · Fixed local dashboard route handling so Log Search, Security Overview, Detections, Findings, and inventory views resolve reliably from the loopback dashboard. * **Dedicated dashboard inventory** · Split agent inventory into its own dashboard area so runtime coverage, MCP server context, and telemetry state are easier to inspect separately from the Security Overview. * **Threat-rule pack guidance** · Release notes now point operators at the versioned `threat-rules.tar.gz` asset for installing the full rule pack with `beacon rules pull`. ### v0.0.65 · June 13, 2026 * **Dashboard route reliability** · Continued dashboard routing fixes for the new detections, findings, and inventory screens. * **Rule-pack release asset guidance** · Kept the published release notes aligned with the versioned `threat-rules.tar.gz` rule-pack asset. ### v0.0.64 · June 13, 2026 * **Rule-pack archive cleanup** · Ignored macOS metadata files when installing packaged threat rules, so Finder-created archive entries do not appear as rule-pack content. * **Rule-pack release asset guidance** · Kept the full threat-rule pack available as the release-attached `threat-rules.tar.gz` archive. ### v0.0.63 · June 13, 2026 * **Comprehensive threat-rule pack** · Added the first full threat-rule pack, ported from BlastRadius-style detections, with coverage for risky agent behavior beyond the small built-in baseline. * **Additional rule coverage** · Added invisible-character and shell-escape detection rules from ATR review. * **External rule-pack distribution** · Ships the full threat-rule pack as a release asset instead of embedding it in the Beacon binary, so operators explicitly install it with `beacon rules pull`. ### v0.0.62 · June 13, 2026 * **Dashboard detections view** · Added a local dashboard Detections screen for browsing the active threat-rule set from the endpoint rule store or built-in baseline without using the CLI. * **Dashboard findings view** · Added a local dashboard Findings screen that runs the active rules over the configured runtime log on demand, with severity and session filtering for focused investigations. * **Read-only local investigation** · Dashboard detection and finding APIs mirror `beacon scan` behavior while staying offline, loopback-only, and read-only against local endpoint telemetry. * **Finding ordering and severity helpers** · Shared severity ranking, filtering, fail-threshold counting, and stable finding sorting between `beacon scan` and the dashboard. ### v0.0.61 · June 13, 2026 * **Local threat scanning** · Added `beacon scan` to run threat-detection rules over local endpoint telemetry without network access, with JSON output, session filtering, severity filtering, and CI-friendly `--fail-on` exit behavior. * **Threat rule management** · Added `beacon rules` for listing active rules, installing local `.rule.yaml` files, explicitly pulling rule packs, linting rules, and printing event fields available to CEL match expressions. * **Open YAML rule format** · Added a versioned threat-rule format with CEL expressions over Beacon endpoint events, single-event and session-correlated detections, severity/status metadata, and embedded conformance fixtures. * **Rule-pack hardening** · Hardened rule-pack extraction and install paths against archive path traversal while preserving nested rule-pack layouts. ### v0.0.60 · June 13, 2026 * **Codex token attribution** · `beacon endpoint tokens` and the dashboard token view now report Codex CLI token usage. `beacon endpoint install` configures the Codex metrics exporter, and the collector normalizes Codex's `codex.turn.token_usage` metric into the canonical `gen_ai.usage` representation alongside other runtimes. * **Disjoint Codex cache accounting** · Codex reports prompt tokens inclusive of the cached portion. Beacon subtracts cached input so `input_tokens` and `cache_read` stay disjoint and totals are not double-counted. * **Codex attribution limits** · Codex emits no cost signal and no conversation id on its usage metric, so `cost_usd` and per-session attribution are unavailable for Codex. Model, harness, repository, and run attribution are supported. ### v0.0.59 · June 13, 2026 * **Managed ingest commands** · Added `beacon ingest` commands for checking managed ingest status and uploading endpoint telemetry to configured Asymptote Managed destinations. * **Endpoint token reporting** · Added `beacon endpoint tokens` for local token, cost, model, session, run, harness, and repository attribution from Beacon runtime logs. * **Token attribution fixes** · Improved token usage normalization for Claude Code telemetry, cumulative metric batches, composite run IDs, and SDK session attributes. ### v0.0.58 · June 13, 2026 * **Token usage foundation** · Added token usage aggregation, dashboard token views, and trace identity fields so endpoint activity can report usage and cost consistently. * **Managed ingest support** · Added the endpoint ingest plumbing that lets authenticated Beacon clients upload endpoint telemetry to Asymptote Managed when configured. * **Telemetry schema updates** · Added trace identity, usage cost, and int64 token count fields while preserving local runtime log workflows. ### v0.0.57 · June 11, 2026 * **Beacon dashboard login** · Added `beacon login` so the Beacon CLI can authenticate with the Asymptote dashboard through a browser-based flow. * **Credential replacement controls** · `beacon login --force` lets operators replace saved credentials when switching users or organizations. * **Dashboard URL configuration** · Login can target a custom dashboard URL with `--dashboard-url` or `BEACON_DASHBOARD_URL`, while endpoint telemetry remains local-only unless cloud features are explicitly used. ### v0.0.56 · June 10, 2026 * **Cursor Cloud committed hooks** · Cursor Cloud telemetry now expects project hooks to be committed in `.cursor/hooks.json` before the agent starts; `beacon cloud cursor print-hooks` is the supported way to generate that file. * **Binary-only Cursor setup** · `beacon cloud cursor print-setup` now installs Beacon binaries in the sandbox without mutating `.cursor/hooks.json`, and the removed `beacon cloud cursor install-hooks` command is no longer part of the cloud flow. * **Cursor cloud reliability** · Generated Cursor Cloud hooks avoid broad `preToolUse` matchers and rely on Cursor's supported project hook surfaces for file, shell, tool-failure, subagent, and compaction events. ### v0.0.55 · June 10, 2026 * **Cursor Cloud run IDs** · Cursor Cloud telemetry uses Cursor's `conversation_id` as the default `run.run_id` when `BEACON_RUN_ID` is not set, so GCS object paths line up with the Cursor cloud conversation. * **Lower-noise Cursor Cloud events** · Reduced duplicate read and shell telemetry where Cursor exposes both generic and specific hook surfaces. ### v0.0.54 · June 10, 2026 * **Cloud upload run IDs** · Cloud-agent GCS uploads now wait for a real provider run ID, such as Claude's `CLAUDE_CODE_REMOTE_SESSION_ID`, instead of creating fallback `manual-*` upload folders from early hook processes. * **Cleaner cloud traces** · Claude Code cloud sessions now keep GCS object paths and event metadata aligned under the provider session ID. ### v0.0.53 · June 10, 2026 * **Cursor configuration support** · Added Cursor cloud-agent configuration updates used by the generated cloud setup and hook workflows. * **Cursor hook safe mode** · Added safer Cursor hook behavior for cloud and project-hook telemetry setup. * **README support matrices** · Updated upstream README guidance with CI and cloud-agent support matrices and refreshed links. ### v0.0.52 · June 10, 2026 * **Cursor Cloud Agents** · Added Cursor cloud agent telemetry support through sandbox-local Beacon hooks and per-session GCS upload. * **Cursor cloud CLI helpers** · Added `beacon cloud cursor print-setup`, `beacon cloud cursor print-hooks`, and `beacon cloud cursor install-hooks` for generated setup scripts and project-level `.cursor/hooks.json` management. * **Cursor telemetry fixes** · Fixed duplicate Cursor shell command events, preserved cloud uploads after edit failures, and improved Cursor session and subagent metadata handling. ### v0.0.51 · June 10, 2026 * **Cloud agent telemetry preview** · Added `beacon cloud` helpers for Claude Code Cloud Agents, including generated cloud setup scripts and sandbox-local hook configuration. * **GCS upload for cloud sessions** · Claude Code cloud agent sessions can write Beacon `runtime.jsonl` in the cloud sandbox and upload one readable per-session object to customer-managed Google Cloud Storage. * **Standalone hook packaging** · Release archives and Homebrew installs now include `beacon-hooks` alongside `beacon` and `beacon-otelcol` so cloud sandboxes can install hook telemetry without extracting embedded binaries. ### v0.0.50 · June 9, 2026 * **CI session mode** · Added `beacon ci start` and `beacon ci finish` so Beacon can capture telemetry around multi-step CI workflows and third-party agent actions, not just a single child command. * **Codex CI telemetry** · Added Codex CI setup through a generated `CODEX_HOME`, enabling OpenAI Codex Action and other local Codex CI steps to export telemetry to Beacon's ephemeral collector. * **CI run normalization** · Promoted GitHub Actions run context to top-level `origin` and `run` fields in CI JSONL, including decoded PR, repository, workflow, and branch metadata. ### v0.0.49 · June 8, 2026 * **CrowdStrike Falcon Vector forwarding** · Added `beacon endpoint falcon` content-pack commands for forwarding Beacon `runtime.jsonl` events to CrowdStrike Falcon HEC with Vector. * **Hook-only Claude forwarding** · Added a managed macOS Vector forwarder for deployments where Claude Code events are written by user-level hooks instead of Beacon's local OTLP collector. * **Jamf deployment helpers** · Added packaged Jamf scripts and inventory checks to install, repair, and monitor the Falcon Vector forwarder while keeping HEC tokens in a root-owned env file. ### v0.0.48 · June 8, 2026 * **OpenTelemetry GenAI schema support** · Beacon now preserves standard `gen_ai` request, response, usage, tool, retrieval, evaluation, message, provider, workflow, and system-instruction metadata in endpoint events. * **Observe package rename** · Renamed the shared schema package from Asymptote Trace to Asymptote Observe while preserving the public Beacon event schema version. * **Content handling fixes** · Improved prompt detection for empty GenAI input messages and kept `content.retention` validation backward compatible while using `content.truncated` for truncation display where available. ### v0.0.47 · June 8, 2026 * **Content handling simplification** · Deprecated the legacy content-retention flag and removed stale `content_retention` references from dashboard, Sentinel, generated pack, and packaging paths. * **Telemetry sample upload** · Added sample upload coverage for Beacon telemetry handoff workflows. * **Release cleanup** · Removed obsolete retention plumbing from endpoint configuration, generated assets, and MDM inventory helpers so docs and package behavior match the current full-content-with-redaction posture. ### v0.0.46 · June 7, 2026 * **CI telemetry release polish** · Continued the Agent Beacon CI telemetry release line for Claude Code telemetry captured to Beacon JSONL, workflow artifacts, and customer-managed destinations. ### v0.0.45 · June 7, 2026 * **Agent Beacon CI Telemetry** · Published the CI telemetry release for capturing Claude Code activity to Beacon JSONL, GitHub Actions artifacts, and customer-managed export destinations. * **Action naming update** · Updated the GitHub Action presentation around Agent Beacon CI Telemetry. ### v0.0.44 · June 7, 2026 * **CI telemetry exports** · `beacon ci exec` can upload completed CI runtime JSONL to Amazon S3 or Google Cloud Storage with repeatable `--upload s3` and `--upload gcs` destinations. * **GitHub Actions artifact controls** · The Agent Beacon action now exposes `upload`, `upload-artifact`, and `artifact-name` inputs so teams can retain CI telemetry as workflow artifacts or hand it off through object storage. * **CI export reliability and safety** · CI uploads still run when `--require-telemetry=false` downgrades validation failures, child command exit codes remain authoritative, and common AWS and Google credential variables are stripped from the child agent process during observed runs. ### v0.0.43 · June 5, 2026 * **Doctor auto-remediation** · Added `beacon endpoint doctor --fix` and the top-level `beacon doctor --fix` alias so operators can apply safe fixes after health checks. * **Resilient collector repair** · Doctor fixes can recreate missing runtime logs and repair macOS collector service files with config validation, readiness checks, and rollback if service repair fails. * **Clearer health results** · Doctor now prints refreshed results after partial fixes, includes applied and skipped fix details in JSON output, and avoids suggesting automated fixes for unsafe permission or non-macOS service cases. ### v0.0.42 · June 5, 2026 * **AWS CloudWatch Logs forwarding support** · Added `beacon endpoint cloudwatch` commands for generating customer-managed CloudWatch Logs forwarding content over Beacon's local `runtime.jsonl`. * **CloudWatch content pack** · Added generated setup guidance, a Vector `aws_cloudwatch_logs` forwarding template, and sample events for JSON log events in a customer-managed CloudWatch Logs log group. * **CloudWatch validation guidance** · Added validation events with `destination.type=cloudwatch` and `destination.mode=aws_cloudwatch_logs`, plus AWS CLI and CloudWatch Logs Insights queries for confirming remote delivery without storing AWS credentials in Beacon endpoint configuration. ### v0.0.41 · June 5, 2026 * **Expanded endpoint inventory** · Beacon inventory now covers a broader set of endpoint configuration signals, including supported agent config files and MCP server configuration context where available. * **Inventory filtering fixes** · JSON inventory output now applies the same default filtering as human-readable output, so config and MCP server records are omitted unless they are relevant or `--all` is set. * **Managed-state detection fixes** · Improved Beacon-managed detection for Gemini CLI, VS Code OTLP, GitHub Copilot CLI, and Factory Droid so status and inventory output more accurately reflect customer-managed versus Beacon-managed configuration. ### v0.0.40 · June 5, 2026 * **Hermes Agent support** · Added Hermes Agent as a first-class hook harness with `beacon endpoint hooks install --harness hermes`, `status`, and `uninstall` support through Beacon-managed shell hooks. * **Hermes telemetry coverage** · Beacon now normalizes Hermes prompts, observed tool calls, command and file activity, approval request and response events, session lifecycle, and subagent stop metadata into local endpoint events. * **Hermes deployment controls** · Hermes hooks are installed in user-level `~/.hermes/config.yaml`, preserve existing settings and non-Beacon hooks, and document first-use hook consent options for non-interactive runs. * **CI PR context fix** · CI run metadata now assigns pull request fields only when the GitHub ref shape contains PR context, avoiding incorrect PR numbers on non-PR events. ### v0.0.39 · June 4, 2026 * **Devin Desktop support** · Added Devin Desktop coverage through Beacon's hook adapter using Cascade/Windsurf-compatible hook configuration alongside existing Devin CLI hooks. * **Runtime support organization** · Split agent harness documentation into coding agent harnesses and knowledge-worker agent harnesses so local coding agents and service or gateway integrations are easier to compare. * **Output destination organization** · Split forwarding destinations into SIEM, log aggregation, object storage, and local categories, with clearer links for Google Cloud Storage forwarding and customer-managed pipeline guidance. * **Release workflow polish** · Updated release automation and upstream documentation ordering for the latest Agent Beacon artifacts. ### v0.0.38 · June 3, 2026 * **Google Cloud Storage forwarding support** · Added `beacon endpoint gcs` commands for generating customer-managed GCS forwarding content over Beacon's local `runtime.jsonl`. * **GCS content pack** · Added generated setup guidance, a Vector `gcp_cloud_storage` forwarding template, one-shot `gcloud storage` or `gsutil` smoke-test script, and sample events for NDJSON objects with date-partitioned keys. * **Customer-managed Google Cloud controls** · Kept Google Cloud credentials, service accounts, workload identity, bucket IAM, lifecycle, retention, and encryption settings outside Beacon endpoint configuration. ### v0.0.37 · June 3, 2026 * **AWS S3 forwarding support** · Added `beacon endpoint s3` commands for generating customer-managed AWS S3 forwarding content over Beacon's local `runtime.jsonl`. * **S3 content pack** · Added generated setup guidance, a Vector `aws_s3` forwarding template, one-shot AWS CLI smoke-test script, and sample events for gzip-compressed NDJSON objects with date-partitioned keys. * **Community links** · Surfaced the Agent Beacon Discord community link in upstream project documentation. ### v0.0.36 · June 1, 2026 * **Release artifact validation** · Added release checks that build and validate the bundled `beacon-otelcol` collector alongside the CLI. * **Cross-platform release confidence** · Release validation now covers macOS and Linux archives for `amd64` and `arm64`, confirms each archive contains both `beacon` and `beacon-otelcol`, and smoke-runs the Linux archive. * **Project documentation polish** · Added upstream README star growth visibility and release automation cleanup. ### v0.0.35 · June 1, 2026 * **Release update checks** · `beacon version check` now checks the latest published Beacon release and prints Homebrew or manual download guidance when an update is available. * **Claude CI telemetry** · Added `beacon ci exec` and `beacon ci validate` for ephemeral Claude Code telemetry collection in CI without installing a persistent endpoint service or modifying user harness configuration. * **CI validation reliability** · CI validation now scopes malformed-line checks to the active session window and tightens collector shutdown handling so job artifacts are easier to validate. * **CLI usage polish** · Root command usage now routes through the Beacon banner output. ## May 2026 ### v0.0.34 · May 29, 2026 * **Endpoint repair reliability** · `beacon endpoint repair` now stops the existing collector before reinstalling so unhealthy services can free their ports and complete repair cleanly. * **Rollback preservation** · If endpoint reinstall fails during repair, Beacon restores the previous endpoint configuration instead of leaving partial rollback state behind. * **macOS package bootstrap fix** · The package postinstall now handles transient `launchctl bootstrap` failures under `set -e` by checking whether the service is already registered before failing the package install. ### v0.0.33 · May 28, 2026 * **Claude Code hook support** · Added optional Claude Code hook telemetry through `beacon endpoint hooks install --harness claude`, complementing the existing local OTLP setup. * **Claude hook coverage** · Beacon now records Claude Code session, prompt, pre-tool, post-tool, failed-tool, stop, subagent, permission-request, and session-end events where Claude exposes hook payloads. * **Settings-safe hook management** · Claude Code hook install and uninstall preserve existing Claude settings and non-Beacon hooks while replacing older Beacon-managed Claude hook entries. ### v0.0.32 · May 27, 2026 * **Microsoft Sentinel support** · Added `beacon endpoint sentinel` commands for forwarding Beacon's local `runtime.jsonl` into Microsoft Sentinel through Azure Monitor Agent custom log collection. * **Sentinel content pack** · Added generated `table-schema.json`, `dcr-template.json`, `dcr-transform.kql`, starter hunting queries, detection examples, and sample events for the `BeaconRuntime_CL` table. * **DCR template reliability** · Fixed Sentinel validation messaging, escaped log paths and KQL correctly in the DCR template JSON, and removed duplicate transform rendering in the generated pack. ### v0.0.31 · May 27, 2026 * **VS Code Copilot telemetry** · Added VS Code Copilot Chat support through local OpenTelemetry export to Beacon's endpoint collector with normalized `vscode_copilot` prompt, model, session, and tool events. * **Low-noise VS Code normalization** · Beacon filters noisy VS Code Copilot chat spans, embeddings, repeated session-start logs, turn summaries, and low-level metrics by default while preserving useful prompt and tool activity. * **Optional VS Code hooks** · Added preview VS Code hook installation for teams that want extra lifecycle and cross-agent detail when `Chat: Use Hooks` is enabled by their organization. ### v0.0.30 · May 26, 2026 * **Antigravity prompt reliability** · Fixed Antigravity pre-tool handling so `prompt.submitted` is emitted after readable transcript text exists instead of being suppressed when the first pre-tool hook fires before the transcript file is written. * **Hook release packaging** · Restored the embedded `beacon-hooks` binary in release artifacts so Antigravity hook telemetry remains available after install or upgrade. ### v0.0.29 · May 26, 2026 * **Antigravity CLI hook support** · Added Antigravity CLI endpoint telemetry through Beacon's hook adapter with user-level hooks in `~/.gemini/config/hooks.json` and project-level hooks in `./.agents/hooks.json`. * **Antigravity event coverage** · Beacon now records Antigravity prompt, pre-tool, post-tool, invocation, stop, command, file edit, and diff telemetry where Antigravity exposes hook payloads. * **Antigravity telemetry fixes** · Fixed duplicate prompt telemetry in metadata mode, failed edit handling, quoted path parsing, and `edit_file` diff extraction. ### v0.0.28 · May 26, 2026 * **Wazuh dashboard helper** · Added `apply-dashboard-default-columns.sh` to the generated Wazuh content pack so local Wazuh Dashboard validation can show Beacon event action, prompt text, harness, model, repository, command, file, and session fields by default. * **Wazuh pack coverage** · Updated Wazuh content-pack tests so generated packs include the dashboard helper and avoid unmapped Wazuh display fields. ### v0.0.27 · May 25, 2026 * **CrowdStrike Falcon LogScale HEC forwarding** · Added optional Falcon LogScale HEC forwarding from Beacon's bundled collector while preserving the local `runtime.jsonl` audit log. * **Falcon endpoint flags** · Added install and repair flags for Falcon HEC endpoint, ingest token, repository, source, parser, TLS verification, and custom CA configuration. * **Collector packaging fix** · Fixed the Falcon collector exporter module path in the collector builder so release builds include the new Falcon HEC exporter. ### v0.0.26 · May 25, 2026 * **Vector forwarding templates** · Added generated `vector.toml` templates to the Sumo Logic and Rapid7 content packs so teams can run Vector as a customer-managed host agent for Beacon JSONL forwarding. * **Sumo Logic Vector path** · The Sumo template tails `runtime.jsonl`, parses each Beacon JSON line, and forwards newline-delimited JSON to a Sumo HTTP Logs & Metrics Source with source category, fields, and optional auth-header token settings supplied through Vector. * **Rapid7 Vector path** · The Rapid7 template tails the same local runtime log, preserves one Beacon event per line, and posts newline-delimited JSON to the Rapid7 InsightIDR Custom Logs webhook while keeping the webhook URL outside Beacon endpoint configuration. ### v0.0.25 · May 24, 2026 * **Rapid7 InsightIDR endpoint integration** · Added `beacon endpoint rapid7` commands for forwarding Beacon's local `runtime.jsonl` into Rapid7 InsightIDR Custom Logs through a webhook event source. * **Rapid7 content pack** · Added generated setup guidance, a one-shot NDJSON upload smoke-test script, and sample events for managed endpoint deployments. * **Validation workflow** · Added `beacon endpoint rapid7 validate` so teams can write a known-good Beacon event and verify Rapid7 Log Search ingestion with the expected validation query and fields. ### v0.0.24 · May 24, 2026 * **GitHub Copilot CLI support** · Added Copilot CLI discovery, status reporting, and OTLP span normalization for prompt, session, tool, and approval-like activity when Copilot exports to Beacon's local HTTP collector. * **MDM-managed Copilot telemetry** · Beacon now validates Copilot CLI telemetry from `COPILOT_OTEL_ENABLED=true` and a localhost OTLP endpoint while making clear that Copilot launch-environment configuration stays under MDM or customer policy control. * **Quieter operational metrics** · Copilot CLI and OpenClaw operational metrics are filtered from endpoint JSONL by default, with `--include-runtime-metrics` available when teams need low-level metrics for troubleshooting. ### v0.0.23 · May 23, 2026 * **Local MCP server** · Added `beacon mcp serve` and `beacon mcp doctor` so MCP clients can search, summarize, and retrieve compact local Beacon activity from `runtime.jsonl` over stdio or loopback HTTP JSON-RPC. * **Activity filter fixes** · `list_activity_filters` now scans the full matching activity window for accurate facets, and HTTP MCP activity queries preserve command context. * **Security and contribution docs** · Added upstream `SECURITY.md` and `CONTRIBUTING.md` guidance covering Beacon's local-only posture, disclosure process, validation commands, and contribution expectations. ### v0.0.22 · May 23, 2026 * **Bounded runtime logs** · Beacon now rotates the active `runtime.jsonl` file at 10 MiB and keeps five numbered local archives, preserving the stable handoff path for dashboards and external shippers. * **Safer concurrent writes** · Runtime log writers now use a lock file during append and rotation so hook, CLI, and collector writes stay serialized. * **Dashboard archive lookup fix** · Fixed local dashboard event detail lookup for records stored in rotated archives, including cases where older archive numbers have already been pruned. ### v0.0.21 · May 22, 2026 * **Endpoint health checks** · Fixed `beacon endpoint doctor` and `beacon doctor` so failed health checks return a failing exit code for scripts and MDM validation. * **Inventory accuracy** · Fixed endpoint inventory config scoping, restored `--all` output for all supported targets, and corrected the `droid` hook alias lookup for Factory Droid inventory. * **Diagnostics reliability** · Fixed `beacon endpoint test-event` writable-log checks, `beacon endpoint discover --all`, and diagnostics bundle output so missing logs still produce empty summaries without leaking the last raw event. ### v0.0.20 · May 22, 2026 * **Sumo Logic endpoint integration** · Added `beacon endpoint sumo` commands for forwarding Beacon's local `runtime.jsonl` into a Sumo Logic Hosted Collector HTTP Logs & Metrics Source. * **Sumo Logic content pack** · Added generated setup guidance, a one-shot upload smoke-test script, and sample events for managed endpoint deployments. * **Sumo smoke-test fix** · Removed an unused argument from the Sumo upload smoke-test template. ### v0.0.19 · May 21, 2026 * **Grok Build hook support** · Added Grok Build endpoint telemetry through Beacon's hook adapter with user-level and project-level managed hook files. * **Grok event coverage** · Beacon now records Grok session, prompt, pre-tool, post-tool, stop, and session-end activity, including command and file-operation context where Grok exposes it. * **Grok failure severity fix** · Grok post-tool failures now normalize to `tool.failed` with high severity instead of being logged as successful info-level tool events. ### v0.0.18 · May 20, 2026 * **Datadog endpoint integration** · Added `beacon endpoint datadog` commands for Datadog Agent custom log collection over Beacon's local `runtime.jsonl`. * **Datadog content pack** · Added generated Datadog Agent `conf.yaml`, setup guidance, and sample events for managed endpoint deployments. * **Datadog validation event** · Added `beacon endpoint datadog validate` so teams can write a known-good Beacon event and verify Log Explorer ingestion with `service:beacon-endpoint-agent`. ### v0.0.17 · May 20, 2026 * **OpenClaw Gateway support** · Added OpenClaw Gateway endpoint integration commands for printing OTLP/HTTP configuration, checking status, and validating observed events. * **Gateway telemetry guidance** · Documented OpenClaw's Gateway-configured diagnostics export path alongside other supported runtime surfaces. ### v0.0.16 · May 20, 2026 * **Quieter Codex telemetry** · Beacon now keeps Codex endpoint timelines focused on semantic session, prompt, approval, and tool-result events while suppressing high-volume Codex startup, turn, transport, metric, and duplicate trace records by default. * **Codex span troubleshooting opt-in** · Added `--include-codex-spans` for `beacon endpoint install` and `beacon endpoint repair` when teams need raw Codex OTLP spans for debugging. * **Metadata retention fix** · Codex prompt text is no longer copied into the event `message` field when `--content-retention metadata` is configured. * **Elastic prompt visibility** · The generated Kibana saved search now includes `beacon.prompt.text`, so prompt content is visible in Elastic when retention allows it. ### v0.0.15 · May 20, 2026 * **Devin hook support** · Added Devin hook installation, status, uninstall, discovery, and normalization through the `devin` hook harness. * **Devin hook paths** · Beacon can manage user-level Devin hooks in `~/.config/devin/config.json` or project-level hooks in `./.devin/hooks.v1.json` while preserving unrelated settings and non-Beacon hooks. * **Devin event coverage** · Devin hooks cover session start, prompt submission, pre-tool and post-tool activity, permission requests, stop events, session-end events, approvals, and file telemetry where payloads are available. * **Dependency maintenance** · Updated OpenTelemetry dependencies and removed an unreachable pre-tool observation branch. ### v0.0.14 · May 19, 2026 * **Gemini CLI support** · Added opt-in Gemini CLI local OpenTelemetry configuration through the `gemini` endpoint harness. * **Gemini discovery and status** · `beacon endpoint discover` and `beacon endpoint status` now report Gemini CLI telemetry state from `~/.gemini/settings.json`. * **Gemini event normalization** · Beacon normalizes Gemini CLI prompts, tool calls, MCP tool activity, file operations, and approval-related events into the endpoint event schema. * **Deployment guidance** · MDM deployments can include Gemini CLI by adding `gemini` to the endpoint harness list, for example `claude,codex,gemini`. ### v0.0.13 · May 18, 2026 * **Collector startup fix** · Beacon now omits the `include_runtime_metrics` collector-exporter option unless explicitly enabled, so the bundled `beacon-otelcol` starts cleanly after Homebrew installs and upgrades. * **Apple Silicon hook fix** · Release builds now serialize target packaging around the embedded `beacon-hooks` adapter, preventing arm64 Homebrew releases from embedding an amd64 hook binary. * **Elastic validation polish** · Updated Elastic content-pack assets and docs to use ingested `beacon.*` fields and the `Beacon Endpoint Events` Kibana data view name. * **Release validation runbook** · Added an end-to-end Beacon release validation runbook for Homebrew install, endpoint setup, runtime telemetry, and local Elastic ingestion checks. ### v0.0.12 · May 18, 2026 * **Hook binary validation** · Beacon now validates that the embedded `beacon-hooks` binary matches the host architecture before installing Cursor, Factory, or OpenCode hooks. * **Clearer hook failures** · Hook installation now fails early with an actionable architecture error instead of writing a hook configuration that points at an unusable binary. * **README support overview** · Expanded the upstream Beacon README with supported agent harnesses, SIEM/output destinations, MDM deployment paths, architecture notes, dashboard guidance, and quickstart links. * **Release guidance** · Added maintainer release instructions for tag-based GoReleaser deployments and pre-release test gates. ### v0.0.11 · May 18, 2026 * **Elastic content pack** · Added `beacon endpoint elastic install-pack` to generate Filebeat, standalone Elastic Agent, Elasticsearch template, ingest pipeline, ILM, Kibana, and sample event assets for Beacon endpoint events. * **Local Elastic validation** · Added `beacon endpoint elastic up` and `beacon endpoint elastic down` for a loopback-only macOS development stack with Elasticsearch, Kibana, and Filebeat. * **Elastic CLI config** · Added `beacon endpoint elastic print-config` for quickly printing Filebeat configuration that tails Beacon's local `runtime.jsonl`. * **SIEM forwarding docs** · Documented local, Elastic Cloud, and self-managed Elastic setup while keeping Elastic hosts and credentials outside Beacon endpoint configuration. ### v0.0.10 · May 18, 2026 * **OpenCode plugin support** · Added OpenCode discovery and hook/plugin support through `beacon endpoint discover` and `beacon endpoint hooks`. * **Managed OpenCode plugin** · Beacon now installs an owned local OpenCode plugin at `~/.config/opencode/plugins/beacon.ts` or `./.opencode/plugins/beacon.ts`, forwarding supported chat, session, command, permission, diff, and error events through Beacon's local hook adapter. * **Local retention and normalization** · OpenCode hook payloads use the same local normalization, redaction, retention, and JSONL output path as other Beacon endpoint events. * **Release polish** · Updated upstream README links and OpenCode casing in release documentation. ### v0.0.9 · May 18, 2026 * **Endpoint dashboard visibility** · Improved the local dashboard and runtime visibility with the latest main-branch investigation updates. * **Claude Code prompt content** · Enabled Claude Code prompt content export when endpoint retention is set to `full` or `redacted`. * **Runtime metric filtering** · Filtered noisy generic process and runtime OTLP metrics from Beacon JSONL by default, with `--include-runtime-metrics` available when those low-level metrics are needed. * **Collector release build** · Fixed collector release builds by pinning generated collector log modules consistently. ### v0.0.8 · May 18, 2026 * **Dashboard views** · Refactored the local dashboard into separate **Log Search** and **Security Overview** views for investigation and posture review. * **Model-aware investigation** · Added model filtering and model summary data so teams can search and summarize local activity by agent model. * **Dashboard usability** · Improved dashboard layout, including clearer investigation columns, quick filters, top harnesses, top models, top repositories, and MCP server summaries. * **Documentation references** · Streamlined the upstream README and added clearer links into the Agent Beacon CLI docs. * **Dependency maintenance** · Updated the bundled collector exporter dependency on `google.golang.org/grpc`. ### v0.0.7 · May 16, 2026 * **Factory Droid telemetry** · Added Factory Droid discovery, OTLP endpoint validation, and local telemetry collection support. * **Factory hooks** · Added Factory hook install, status, and uninstall support for prompt, session, tool, file, stop, and session-end telemetry. * **Hook preservation** · Improved Factory hook management so install and uninstall preserve non-Beacon hooks in mixed Factory settings groups and handle `hooks: null` safely. * **Metric normalization** · Fixed metric event naming after category inference so metric events can fall back to the message field when needed. ### v0.0.6 · May 15, 2026 * **Splunk HEC exporter** · Added optional Splunk HEC forwarding from the bundled collector while preserving Beacon's local JSONL audit log. * **Endpoint forwarding flags** · Added install and repair flags for Splunk HEC endpoint, token, index, source, sourcetype, and TLS configuration. * **MDM forwarding support** · Added Jamf and Fleet package support, scripts, and inventory signals for Splunk HEC forwarding state. ### v0.0.5 · May 15, 2026 * **Factory Droid support** · Added Factory Droid discovery and OTLP validation, with guidance for managing `OTEL_TELEMETRY_ENDPOINT` through Droid's launch environment. * **Factory hooks** · Added Beacon endpoint hooks for Factory prompt, session, write/edit/create tool, stop, and session-end telemetry. * **Agent harness integrations** · Added an agent harness support matrix covering collection paths, hook support, MDM support, telemetry coverage, and local JSONL/dashboard output. * **Splunk HEC forwarding** · Documented optional Splunk HEC collector forwarding while preserving the local Beacon JSONL audit log. ### v0.0.4 · May 14, 2026 * **Cursor hook reliability** · Fixed Cursor hook handling so prompt submission and hook-emitted events are captured more consistently. * **Prompt events** · Improved prompt event normalization so local timelines better reflect what users asked supported agents to do. * **Release artifacts** · Published macOS and Linux archives for `amd64` and `arm64`, plus SHA-256 checksums for release verification. ### v0.0.3 · May 14, 2026 * **Codex discovery** · Fixed Codex CLI detection so `beacon endpoint discover` and `beacon endpoint status` report Codex telemetry state more accurately. * **Release packaging** · Packaged target-specific `beacon-otelcol` collector binaries with each platform archive. * **Hook distribution** · Cleaned up release packaging for embedded hook assets and Homebrew distribution. ### v0.0.2 · May 14, 2026 * **Release artifacts** · Beacon now publishes platform archives for macOS and Linux on `amd64` and `arm64`, plus SHA-256 checksums for release verification. * **Default local install** · Endpoint commands now use per-user paths by default, with `--system` reserved for root-managed package and MDM deployments. * **Runtime log visibility** · Status output and the local dashboard now surface warnings when a system collector may be writing OTLP events to a different runtime log than the selected user-mode view. * **Jamf-ready packaging** · macOS packaging now includes system-mode install and uninstall helpers for Jamf, Kandji, or generic MDM command runners. ### Codex * **Telemetry defaults** · Beacon now writes structured Codex OTEL exporter configuration for logs, traces, and metrics while setting `log_user_prompt = false`. * **Noisy trace filtering** · Beacon filters noisy internal Codex transport traces so endpoint timelines focus on meaningful Codex activity instead of HTTP/2 framing and flow-control churn. ### Beacon endpoint * **Endpoint telemetry** · Beacon now configures local agent harness telemetry and writes normalized endpoint events to local JSONL logs. * **Runtime discovery** · Beacon discovers supported local agent harnesses, including Claude Code, Codex CLI, Cursor, and Claude Cowork. * **Local dashboard** · Inspect Beacon runtime logs from a local-only endpoint dashboard. ### Wazuh * **Wazuh content pack** · Generate localfile configuration, rules, and validation content for Beacon endpoint events. * **Validation event** · Write a Beacon validation event to confirm Wazuh ingestion paths are configured correctly. ### Hooks * **Cursor hooks** · Install, inspect, and remove Beacon endpoint hooks for supported harnesses. ### v0.0.1 · May 13, 2026 * **Endpoint telemetry** · Introduced the open-source Beacon Endpoint Agent for local agent harness telemetry. * **Collector exporter** · Added the `beaconjson` OpenTelemetry Collector exporter for normalized Beacon endpoint JSONL. * **Runtime integrations** · Added support for Claude Code, Codex CLI, Cursor hooks, and Claude Cowork telemetry validation. * **Local dashboard** · Added a loopback-only dashboard for inspecting local runtime inventory, event timelines, filters, and event details. * **Wazuh output** · Added Wazuh localfile configuration, rules, sample content, and validation events for Beacon endpoint logs. * **Release distribution** · Established Homebrew and manual archive distribution for macOS and Linux. # Asymptote SDK Release Notes Source: https://docs.asymptotelabs.ai/changelog/sdk Latest updates and improvements to the Asymptote Observe SDK ## Latest updates Stay up to date with the latest changes to the Asymptote Observe SDK. *** ## Unreleased * **Promised async iterators stay traced through consumption** · An observed async function returning an async generator or query iterator ended its span before the first item was read. Iterators with their own `next()` now keep the same consumption, cancellation and context behavior as directly returned iterators. Platform streams without `next()` remain unchanged values. * **Anthropic `instrumentModules` example fixed** · The documented `import Anthropic from` example crashed `Observe.initialize()`; pass the module namespace (`import * as Anthropic`) instead, and a clear error now says so. * **Empty environment variables are ignored** · A declared but empty `ASYMPTOTE_BASE_URL` made `Observe.initialize()` throw `Invalid URL`, and an empty `OTEL_SERVICE_NAME` exported spans with a blank service name. Empty values now fall back to the defaults. ## October 2026 ### v0.2.0 · October 22, 2026 * **Early-cancelled streams keep the consumer's error** · Cancelling an observed stream before reading it kept the consumer's error and exported its span only if the source's `return()` rejected; a `return()` that throws synchronously now behaves the same. * **Global tracers export after reinitialization** · After `Observe.shutdown()` and `Observe.initialize()`, spans from `trace.getTracer()` were dropped because the stopped provider stayed registered globally. New global tracers now use the new provider; a host's own tracer provider is left untouched. * **Observed streams read through their own API keep their span** · An observed function returning a stream that has its own reading API, such as the Anthropic SDK's `client.messages.stream()` read with `finalMessage()` or events, a `ReadableStream` read with `getReader()`, or a Node stream sent through `pipe()`, never exported its span: the SDK replaced the stream with a wrapper that only `for await` went through, which also made `instanceof` checks on it fail. Such streams are now returned unchanged and their span ends when the function returns. Async generators and the Claude Agent SDK's `query()` are still traced until they are read to the end. * **Observe endpoints keep their query string** · An endpoint with query parameters, such as a gateway URL carrying a tenant or routing parameter, had `/v1/observe` appended after its query, so spans went to the wrong route without any error. The path is now added to the URL's path, and the query and fragment are kept. `Observe.initialize()` now throws for an endpoint that is not an absolute URL, instead of exporting to an unusable address. * **Spans from an observed stream nest under it** · Work an observed async generator does as it is read, such as tool or model calls, was recorded under whoever consumed the stream, so those spans appeared beside the stream's span instead of inside it. They are now its children, including work in the stream's cleanup. * **Cancelling a query before reading it closes the query** · Calling `return()` or `throw()` on a query from `wrapClaudeAgentQuery` before its first message left the Claude Code process the query had already started running, and its span never ended. The query is now closed as the unwrapped one would be, and its span is exported. * **API key scoped to Asymptote** · `ASYMPTOTE_API_KEY` is now sent only to Asymptote: in hosted mode, or to an explicit OTLP endpoint on the same origin as the base URL. Previously a service with both `ASYMPTOTE_API_KEY` and a generic `OTEL_EXPORTER_OTLP_ENDPOINT` sent the key to that collector on every export. Caller-supplied `headers` are unchanged. * **HTTPS required for the API key** · `Observe.initialize()` now throws when the key would be sent to a non-loopback `http://` base URL. `http://localhost`, `http://127.0.0.1` and `http://[::1]` remain allowed for local stubs. *** ## June 2026 ### v0.1.0 · June 10, 2026 * **Initial TypeScript SDK release** · Published `@asymptote/sdk` for instrumenting cloud-hosted agent applications with OpenTelemetry spans compatible with Beacon's normalized event model. * **Hosted and customer-managed export** · Added hosted Asymptote Observe export through `ASYMPTOTE_API_KEY` and customer-managed OTLP export through `OTEL_EXPORTER_OTLP_ENDPOINT` or `Observe.initialize({ otlpEndpoint })`. * **AI SDK instrumentation** · Enabled OpenAI and Anthropic OpenLLMetry instrumentation by default, with configuration hooks for disabling or tuning provider instrumentation. * **Agent integration helpers** · Added `Observe.observe()`, `Observe.getTracer()`, `Observe.wrapClaudeAgentQuery()`, `Observe.flush()`, and `Observe.shutdown()` for custom agent steps, Vercel AI SDK telemetry, Claude Agent SDK query wrapping, and process lifecycle handling. * **Beacon compatibility attributes** · Exported constants for Beacon-compatible fields such as `beacon.origin`, `beacon.harness.name`, `beacon.event.action`, and `beacon.prompt.text`. # beacon endpoint asymptote Source: https://docs.asymptotelabs.ai/cli/asymptote Generate the Vector forwarding pack that sends Beacon endpoint events to Asymptote's managed ingest service, and write validation events. ## Forwarding command Use `beacon endpoint asymptote` to generate the content pack that forwards Beacon endpoint events to Asymptote's managed ingest service. The pack keeps Beacon as a local JSONL producer: Vector tails the runtime and inventory logs and POSTs gzip-compressed NDJSON batches over HTTPS with a per-device key. The hand-run pack uses Standard privacy and forwards locally sanitized lines unchanged. Use [`beacon endpoint connect --privacy-mode metadata-only`](/cli/endpoint-connect#privacy-modes) when Beacon should render the local metadata-only transforms for you. This is the one destination that sends telemetry to an Asymptote-run endpoint. It is opt-in and revocable: nothing is forwarded until enrollment has issued a device key and Vector has started. In user mode, `beacon endpoint connect` uses the signed-in CLI account to authorize that key without another browser approval; system mode uses browser approval by a member of your Asymptote organization. `beacon endpoint connect` performs that enrollment and runs the forwarder as a service; the commands on this page generate the same files for running or inspecting the forwarder by hand. Beacon does not store the device key in its own configuration. The key lives in a `0600` JSON secrets file that Vector reads through its secret backend, so it appears in neither `vector.toml` nor the process environment. ```bash title="Command syntax" theme={null} beacon endpoint asymptote [command] ``` ## Commands > [card] [beacon endpoint asymptote print-config](#beacon-endpoint-asymptote-print-config) > > Print the Vector forwarding config for the configured runtime log. > [card] [beacon endpoint asymptote install-pack](#beacon-endpoint-asymptote-install-pack) > > Write the forwarding pack to a directory. > [card] [beacon endpoint asymptote validate](#beacon-endpoint-asymptote-validate) > > Write and describe a Beacon Asymptote validation event. ## Runtime log paths | Mode | Path | | - | - | | User mode | `~/.beacon/endpoint/logs/runtime.jsonl` | | System mode | `/var/log/beacon-agent/runtime.jsonl` | The inventory log is the sibling `inventory_state.jsonl` in the same directory. The forwarder also reads the sibling `cloud-backfill.jsonl` once from the beginning: the bounded [session backfill](/cli/endpoint-connect#session-backfill) each `beacon endpoint connect` stages there, as a new file each time. A hand-run forwarder ships it only if that file exists. ## beacon endpoint asymptote print-config `beacon endpoint asymptote print-config` prints the Vector configuration that tails the selected Beacon runtime and inventory logs and posts them to the ingest service. ```bash title="Print the configuration" theme={null} beacon endpoint asymptote print-config ``` The printed config reads three environment variables: | Variable | Purpose | | - | - | | `BEACON_ASYMPTOTE_INGEST_URL` | The `https://` ingest URL returned by enrollment. Required. | | `BEACON_ASYMPTOTE_SECRETS_FILE` | Path to a `{"device_key": "..."}` file with mode `0600`. Required. | | `BEACON_ASYMPTOTE_DATA_DIR` | Vector `data_dir` for checkpoints and the disk buffer. Defaults to `/var/lib/vector/beacon-asymptote`. | ### Flags | Flag | Description | | - | - | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths and launch daemon | | `--log-path ` | Runtime JSONL log path | ## beacon endpoint asymptote install-pack `beacon endpoint asymptote install-pack` writes the forwarding pack to a directory. ```bash title="Generate the pack" theme={null} beacon endpoint asymptote install-pack --output ./beacon-asymptote-pack ``` The pack includes: * `README.md` with the wire contract, what leaves the machine, and how to run Vector by hand. * `vector.toml`, the forwarder. Its startup healthcheck calls the authenticated `/v1/ingest/health`, so a revoked key is reported when Vector starts. * `asymptote-ingest-smoke-test.sh`, a one-shot credential check plus a manual POST of the log tail. * `sample-event.jsonl` with Beacon endpoint events in the shape the service accepts. ### Examples ```bash title="Generate a pack for a system-mode deployment" theme={null} sudo /opt/beacon/bin/beacon endpoint asymptote install-pack \ --system \ --output ./beacon-asymptote-pack ``` ```bash title="Run the forwarder by hand" theme={null} umask 077 printf '{"device_key": "%s"}\n' "$DEVICE_KEY" > ~/.beacon/endpoint/asymptote/vector-secrets.json export BEACON_ASYMPTOTE_INGEST_URL=https:// export BEACON_ASYMPTOTE_SECRETS_FILE=~/.beacon/endpoint/asymptote/vector-secrets.json export BEACON_ASYMPTOTE_DATA_DIR=~/.beacon/endpoint/asymptote/vector-data mkdir -p "$BEACON_ASYMPTOTE_DATA_DIR" vector validate ./beacon-asymptote-pack/vector.toml vector --config ./beacon-asymptote-pack/vector.toml ``` ### Flags | Flag | Description | | - | - | | `--output ` | Output directory for the pack. Defaults to `beacon-asymptote-pack` | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths and launch daemon | | `--log-path ` | Runtime JSONL log path | ## beacon endpoint asymptote validate `beacon endpoint asymptote validate` writes a Beacon validation event to the runtime JSONL log and prints the expected fields plus the credential check to run. ```bash title="Run the validation check" theme={null} beacon endpoint asymptote validate ``` The command writes the local event only. If the forwarder is running, the event reaches the ingest service within its batch window (10 seconds) and appears on the dashboard telemetry page within about 15 seconds of being written. Search for the message `Beacon endpoint Asymptote validation event`. Expected validation fields: ```text theme={null} vendor=beacon product=endpoint-agent destination.type=asymptote destination.mode=asymptote_managed_http ``` Check the device key without sending events: ```bash theme={null} curl -sS -o /dev/null -w '%{http_code}\n' "$BEACON_ASYMPTOTE_INGEST_URL/v1/ingest/health" \ -H "Authorization: Bearer $(sed -n 's/.*"device_key": *"\([^"]*\)".*/\1/p' "$BEACON_ASYMPTOTE_SECRETS_FILE")" ``` `200` means the key is valid; `401` means it was revoked, expired, or the approving user is no longer a member of the organization. ### Flags | Flag | Description | | - | - | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths and launch daemon | | `--log-path ` | Runtime JSONL log path | ## Related > [card] [Asymptote managed forwarding](/log-forwarding/asymptote) > > Wire contract, what leaves the machine, revocation, and offline behavior. > [card] [Log forwarding](/log-forwarding) > > Review forwarding patterns and validation steps. > [card] [Endpoint agent](/cli/endpoint) > > Install and inspect the local endpoint agent. > [card] [Endpoint event schema](/telemetry-schema/event-schema) > > Review normalized Beacon JSONL fields and example events. # CI Agent Telemetry Source: https://docs.asymptotelabs.ai/cli/ci Wrap agent commands and CI actions with ephemeral Beacon telemetry ## Command overview `beacon ci` wraps supported agent commands and agent-launching CI steps with ephemeral Beacon telemetry. It runs for a single CI job without installing a persistent endpoint service or modifying runner-wide harness configuration. ```bash title="Command syntax" theme={null} beacon ci [command] ``` Use `beacon ci exec` when the workflow runs an agent command directly. For multi-step CI workflows or third-party GitHub Actions that launch agents internally, use `beacon ci start` and `beacon ci finish`. > [!NOTE] > > `beacon ci` is designed for ephemeral CI jobs. For managed endpoint rollout on laptops or workstations, use [`beacon endpoint install`](/cli/endpoint-install). For artifact upload, object storage export, and downstream SIEM handoff patterns, see [CI Telemetry Exports](/log-forwarding/ci-telemetry-exports). ## Wrap agent runs `beacon ci exec` starts a temporary local collector, injects supported telemetry configuration into one child process, writes normalized endpoint events to a CI runtime log, then validates that matching events were captured. ```bash title="Wrap one agent command" theme={null} beacon ci exec -- ``` For example, wrap a Claude Code prompt in a GitHub Actions step: ```bash title="Wrap Claude Code" theme={null} beacon ci exec -- claude -p "Review this pull request" ``` ## Wrap agent actions Some workflows call a third-party action that launches the agent internally. In those cases, start a detached Beacon session before the action and finish it in a cleanup step. ```yaml title="Wrap a CI action that launches an agent" theme={null} - name: Start Beacon telemetry uses: asymptote-labs/agent-beacon@v0.0.95 with: mode: start harnesses: claude - name: Run Claude Code Security Review uses: anthropics/claude-code-security-review@main with: claude-api-key: ${{ secrets.CLAUDE_API_KEY }} comment-pr: false upload-results: true claudecode-timeout: "10" - name: Finish Beacon telemetry if: always() uses: asymptote-labs/agent-beacon@v0.0.95 with: mode: finish min-events: "1" upload-artifact: "true" artifact-name: beacon-claude-security-review-runtime-log ``` See the [Claude Code Security Review session workflow](https://github.com/Asymptote-Labs/agent-beacon/blob/main/examples/github-actions/claude-security-review-session.yml) for the full GitHub Actions example. ## Commands > [card] [beacon ci exec](/cli/ci-exec) > > Run a command with agent telemetry captured for the CI job. > [card] [beacon ci start](/cli/ci-start) > > Start a detached telemetry session for later CI steps. > [card] [beacon ci finish](/cli/ci-finish) > > Stop, validate, and export a detached telemetry session. > [card] [beacon ci validate](/cli/ci-validate) > > Validate Beacon CI telemetry artifacts after a job step. ## Collector routing When Claude telemetry is selected, `ci exec` and `ci start` send every Claude Code signal to the session’s local collector. If the job’s environment sets a per-signal endpoint, protocol, or headers variable (such as `OTEL_EXPORTER_OTLP_LOGS_ENDPOINT`), `OTEL_EXPORTER_OTLP_HEADERS`, or `BETA_TRACING_ENDPOINT`, Beacon cancels it for Claude Code and for the steps that follow `ci start`. Variables the job did not set are left unset. ## Artifact paths By default, Beacon writes CI artifacts under `$RUNNER_TEMP/beacon` when `RUNNER_TEMP` is set. Otherwise it uses the system temp directory. | Artifact | Default path | | - | - | | Runtime log | `$RUNNER_TEMP/beacon/runtime.jsonl` | | Collector config | `$RUNNER_TEMP/beacon/otelcol.yaml` | | Collector spool | `$RUNNER_TEMP/beacon/spool/otlp.jsonl` | Use `--log-path` when your workflow needs a stable artifact path. ## Related > [card] [beacon ci exec](/cli/ci-exec) > > Run a single command with ephemeral CI telemetry. > [card] [beacon ci start](/cli/ci-start) > > Start detached telemetry across workflow steps. > [card] [beacon ci finish](/cli/ci-finish) > > Stop and validate a detached telemetry session. > [card] [beacon ci validate](/cli/ci-validate) > > Validate an existing CI runtime log. > [card] [CI Telemetry Exports](/log-forwarding/ci-telemetry-exports) > > Export CI runtime JSONL through workflow artifacts, S3, GCS, or downstream pipelines. > [card] [CI Agent Telemetry](/runtimes/claude-code-ci) > > Capture supported agent telemetry in CI workflows. > [card] [Codex CLI](/runtimes/codex-cli) > > Review Beacon support for Codex endpoint and CI telemetry. > [card] [Local testing](/guides/local-testing) > > Validate Beacon runtime logs, events, dashboards, and MCP access locally. > [card] [Endpoint agent](/cli/endpoint) > > Install persistent endpoint telemetry for managed devices. > [card] [Command reference](/cli) > > Browse Beacon commands by hierarchy. # beacon ci exec Source: https://docs.asymptotelabs.ai/cli/ci-exec Run a command with Beacon telemetry captured for a CI job ## Command overview `beacon ci exec` starts a temporary Beacon collector, runs the child command after `--`, stops the collector, validates the runtime log, and prints the artifact paths. The child command's exit code is preserved. ```bash title="Command syntax" theme={null} beacon ci exec -- ``` When `GITHUB_ACTIONS=true`, Beacon records GitHub Actions run metadata such as workflow, run ID, commit, ref, and actor in the CI session result. Other CI environments are marked as ephemeral CI runs when `CI` is set. ## Flags | Flag | Description | | - | - | | `--harness ` | CI harness to configure. Defaults to `claude`; supported values include `claude`, `codex`, or comma-separated aliases | | `--log-path ` | CI runtime JSONL log path | | `--json` | Print the execution and validation result as JSON | | `--min-events ` | Minimum matching events required during validation. Defaults to `1` | | `--keep-artifacts` | Keep CI runtime log and collector config after exit. Enabled by default | | `--forward ` | Optionally forward CI events to a customer-managed SIEM. Supported values are `splunk` and `falcon` | | `--forward-endpoint ` | SIEM HEC endpoint URL for the selected `--forward` provider. Tokens are read from `BEACON_CI_SPLUNK_HEC_TOKEN` or `BEACON_CI_FALCON_HEC_TOKEN` | | `--require-telemetry ` | Fail when telemetry validation fails. Defaults to `true`; set `false` to warn without gating the child command result | | `--upload ` | Upload the completed CI runtime JSONL after validation. Supported values are `s3` and `gcs`; repeat for multiple destinations | Hidden operational flags are available for custom runners and tests, including `--base-dir`, `--work-dir`, `--collector`, `--otlp-grpc-port`, and `--otlp-http-port`. `--upload s3` reads `BEACON_CI_S3_BUCKET` and optional `BEACON_CI_S3_PREFIX`. `--upload gcs` reads `BEACON_CI_GCS_BUCKET` and optional `BEACON_CI_GCS_PREFIX`. > [!NOTE] > > `--content-retention` is deprecated and hidden. Beacon now captures supported CI content subject to redaction, sanitization, truncation, and event-size limits; the flag is accepted as a no-op for compatibility. ## Examples Wrap an agent command in GitHub Actions: ```bash title="Wrap an agent command in GitHub Actions" theme={null} beacon ci exec -- claude -p "Run the repository test suite and summarize failures" ``` Write CI telemetry to a known artifact path: ```bash title="Write CI telemetry to a known artifact path" theme={null} beacon ci exec \ --log-path "$RUNNER_TEMP/beacon/runtime.jsonl" \ -- claude -p "Review this pull request" ``` Run with telemetry validation as a warning instead of a hard gate: ```bash title="Run with telemetry validation as a warning instead of a hard gate" theme={null} beacon ci exec \ --require-telemetry=false \ -- claude -p "Inspect the changed files" ``` Print machine-readable output: ```bash title="Print machine-readable output" theme={null} beacon ci exec --json -- claude -p "Check release readiness" ``` Upload the completed CI runtime log to S3: ```bash title="Upload the completed CI runtime log to S3" theme={null} BEACON_CI_S3_BUCKET="my-beacon-telemetry" \ BEACON_CI_S3_PREFIX="github-actions" \ beacon ci exec --upload s3 -- claude -p "Review this pull request" ``` ## Related > [card] [beacon ci](/cli/ci) > > Review CI artifact paths and command group behavior. > [card] [beacon ci validate](/cli/ci-validate) > > Validate CI runtime telemetry artifacts after a job step. > [card] [CI Telemetry Exports](/log-forwarding/ci-telemetry-exports) > > Export CI runtime JSONL through workflow artifacts, S3, GCS, or downstream pipelines. # beacon ci finish Source: https://docs.asymptotelabs.ai/cli/ci-finish Stop, validate, and export a detached Beacon CI telemetry session ## Command overview `beacon ci finish` loads the state file from `beacon ci start`, stops the collector, validates the runtime log, and optionally uploads the completed JSONL artifact. ```bash title="Command syntax" theme={null} beacon ci finish ``` Run this command in an `always()` or equivalent cleanup step so Beacon can stop the detached collector even when earlier CI steps fail. ## Flags | Flag | Description | | - | - | | `--state-path ` | CI session state path | | `--min-events ` | Minimum matching events required during validation. Defaults to `1` | | `--require-telemetry ` | Fail when telemetry validation fails. Defaults to `true`; set `false` to warn | | `--upload ` | Upload the completed CI runtime JSONL after validation. Supported values are `s3` and `gcs`; repeat for multiple destinations | ## Examples Stop and validate a detached session: ```bash title="Stop and validate a detached session" theme={null} beacon ci finish --min-events 1 ``` Upload the completed CI runtime log to GCS: ```bash title="Upload the completed CI runtime log to GCS" theme={null} BEACON_CI_GCS_BUCKET="my-beacon-telemetry" \ BEACON_CI_GCS_PREFIX="github-actions" \ beacon ci finish --upload gcs ``` ## GitHub Actions session ```yaml theme={null} - name: Start Beacon telemetry id: beacon uses: asymptote-labs/agent-beacon@v0.0.95 with: mode: start harnesses: codex - uses: openai/codex-action@main with: openai-api-key: ${{ secrets.OPENAI_API_KEY }} codex-home: ${{ steps.beacon.outputs.codex-home }} prompt: "Review this pull request" - name: Finish Beacon telemetry if: always() uses: asymptote-labs/agent-beacon@v0.0.95 with: mode: finish min-events: "1" ``` ## Related > [card] [beacon ci](/cli/ci) > > Review CI artifact paths and command group behavior. > [card] [beacon ci start](/cli/ci-start) > > Start detached telemetry across workflow steps. > [card] [beacon ci validate](/cli/ci-validate) > > Validate an existing CI runtime log. # beacon ci start Source: https://docs.asymptotelabs.ai/cli/ci-start Start a detached Beacon CI telemetry session ## Command overview `beacon ci start` starts a local collector, writes a session state file, and prints or exports telemetry environment variables for later workflow steps. ```bash title="Command syntax" theme={null} beacon ci start ``` In the GitHub Action, these variables are written to `$GITHUB_ENV` so later `run:` or `uses:` steps can inherit them. Claude Code uses environment variables; Codex uses a generated `CODEX_HOME` with Beacon OTLP configuration. ## Flags | Flag | Description | | - | - | | `--harness ` | Harnesses to configure. Defaults to `claude,codex` when omitted | | `--log-path ` | CI runtime JSONL log path | | `--state-path ` | CI session state path | | `--github-env ` | Optional GitHub Actions environment file to append exports to | | `--forward ` | Optionally forward CI events to a customer-managed SIEM. Supported values are `splunk` and `falcon` | | `--forward-endpoint ` | SIEM HEC endpoint URL for the selected `--forward` provider | ## Examples Start a detached Beacon CI telemetry session: ```bash title="Start a detached Beacon CI telemetry session" theme={null} beacon ci start --harness claude,codex ``` Start a session with a stable runtime log path: ```bash title="Start with a stable runtime log path" theme={null} beacon ci start \ --harness codex \ --log-path "$RUNNER_TEMP/beacon/runtime.jsonl" ``` ## Related > [card] [beacon ci](/cli/ci) > > Review CI artifact paths and command group behavior. > [card] [beacon ci finish](/cli/ci-finish) > > Stop, validate, and export a detached telemetry session. > [card] [CI Telemetry Exports](/log-forwarding/ci-telemetry-exports) > > Export CI runtime JSONL through workflow artifacts, S3, GCS, or downstream pipelines. # beacon ci validate Source: https://docs.asymptotelabs.ai/cli/ci-validate Validate Beacon CI runtime telemetry artifacts ## Command overview `beacon ci validate` checks that the runtime log exists, parses as Beacon JSONL, and contains at least the required number of matching harness events. ```bash title="Command syntax" theme={null} beacon ci validate ``` Use validation after a job step when telemetry collection and agent execution are managed separately. ## Flags | Flag | Description | | - | - | | `--harness ` | Required harness to validate. Defaults to `claude` | | `--log-path ` | CI runtime JSONL log path. Defaults to `$RUNNER_TEMP/beacon/runtime.jsonl` or the system temp path | | `--json` | Print validation results as JSON | | `--min-events ` | Minimum matching events required. Defaults to `1` | ## Examples Validate the default CI artifact path: ```bash title="Validate the default CI artifact path" theme={null} beacon ci validate ``` Validate a custom runtime log: ```bash title="Validate a custom runtime log" theme={null} beacon ci validate --log-path "$RUNNER_TEMP/beacon/runtime.jsonl" ``` Require at least three Claude events: ```bash title="Require at least three Claude events" theme={null} beacon ci validate --min-events 3 ``` Print machine-readable validation results: ```bash title="Print machine-readable validation results" theme={null} beacon ci validate --json ``` ## Related > [card] [beacon ci](/cli/ci) > > Review CI artifact paths and command group behavior. > [card] [beacon ci exec](/cli/ci-exec) > > Run a single command with ephemeral CI telemetry. > [card] [beacon ci finish](/cli/ci-finish) > > Stop and validate a detached telemetry session. # beacon endpoint integrations claude-cowork Source: https://docs.asymptotelabs.ai/cli/claude-cowork Set up Claude Cowork OpenTelemetry export for Beacon ## Integration command Claude Cowork exports telemetry from Anthropic's service, so its OTLP endpoint must be reachable from the public internet. Beacon can print the settings you need for the Claude admin console and validate whether Cowork events are arriving in the local runtime log. ```bash title="Command syntax" theme={null} beacon endpoint integrations claude-cowork [command] ``` ## Commands > [card] [print-config](#beacon-endpoint-integrations-claude-cowork-print-config) > > Print Claude Cowork OTLP setup guidance. > [card] [setup](#beacon-endpoint-integrations-claude-cowork-setup) > > Print or create Claude Cowork OTLP admin settings. > [card] [status](#beacon-endpoint-integrations-claude-cowork-status) > > Show Claude Cowork endpoint integration status. > [card] [validate](#beacon-endpoint-integrations-claude-cowork-validate) > > Validate whether Claude Cowork events are arriving. ## Production setup For ongoing use, run a customer-managed HTTPS OpenTelemetry Collector endpoint: ```text theme={null} https://otel.example.com ``` Generate Claude Cowork setup values: ```bash title="Generate Claude Cowork setup values" theme={null} beacon endpoint integrations claude-cowork setup \ --endpoint https://otel.example.com \ --headers "Authorization=Bearer " \ --open ``` Copy the generated values into the Claude Cowork monitoring settings: | Claude setting | Value | | - | - | | OTLP endpoint | Your public HTTPS collector endpoint | | OTLP protocol | `HTTP/protobuf` | | OTLP headers | Optional, commonly `Authorization=Bearer ` | | Resource attributes | Defaults to `deployment.environment=prod,service.name=claude-cowork` | Recommended production shape: * Use a real DNS name with TLS, such as `https://otel.company.com` * Require authentication at the public edge * Terminate TLS at a hardened reverse proxy or load balancer * Forward OTLP HTTP paths such as `/v1/logs`, `/v1/metrics`, and `/v1/traces` to the Collector's local `4318` receiver * Treat Cowork telemetry as sensitive because prompt text, tool parameters, file paths, user email addresses, model usage, and errors may be present before Beacon redaction or export ## How Cowork events are represented Beacon applies the same Claude event normalizer to Claude Cowork and Claude Code. When Anthropic emits the relevant attributes, Cowork prompts, assistant responses, approvals, commands, files, MCP activity, model usage, token counts, and runtime-reported cost use the canonical Beacon fields while the source OTLP attributes remain under `raw.attributes`. The environment describes where the task executes, not which application opened it. A task started in Claude Desktop can report `cowork.surface=remote`; Beacon records that as `origin=cloud`. Endpoint hostname and operating system fields identify the machine running the Beacon collector. Cowork may provide only an opaque `user.id` rather than an email address. Beacon preserves the identifier but does not attempt to reverse it or synthesize a display name. ## Local testing with ngrok For demos, validation, or local development only, Beacon can create a temporary authenticated ngrok tunnel to the local OTLP HTTP receiver: ```bash title="Create a temporary ngrok tunnel" theme={null} beacon endpoint install beacon endpoint integrations claude-cowork setup --ngrok --open ``` Do not use an ngrok URL, `127.0.0.1`, or a laptop endpoint for production monitoring. ## Flags | Flag | Description | | - | - | | `--endpoint ` | Public OTLP HTTPS endpoint reachable by Claude Cowork | | `--headers ` | Optional OTLP headers for Claude admin settings | | `--resource-attributes ` | Optional Claude Cowork resource attributes | | `--ngrok` | Create a temporary authenticated ngrok tunnel to the local OTLP HTTP receiver | | `--open` | Open Claude Cowork admin settings in a browser | | `--since ` | Require a Cowork event within this duration, such as `10m`. Validate only | | `--json` | Print status as JSON. Status only | ## beacon endpoint integrations claude-cowork print-config `beacon endpoint integrations claude-cowork print-config` prints Claude Cowork OTLP setup guidance without creating a tunnel or opening the admin console. ```bash title="Print the configuration" theme={null} beacon endpoint integrations claude-cowork print-config \ --endpoint https://otel.example.com \ --headers "Authorization=Bearer " ``` ### Examples Print guidance for a production collector: ```bash title="Print guidance for a production collector" theme={null} beacon endpoint integrations claude-cowork print-config \ --endpoint https://otel.example.com \ --headers "Authorization=Bearer " \ --resource-attributes "deployment.environment=prod,service.name=claude-cowork" ``` Print guidance using the local OTLP HTTP receiver from the Beacon config: ```bash title="Print guidance using the local OTLP HTTP receiver from the Beacon config" theme={null} beacon endpoint integrations claude-cowork print-config ``` ## beacon endpoint integrations claude-cowork setup `beacon endpoint integrations claude-cowork setup` prints the OTLP values to copy into Claude Cowork monitoring settings. It can also open the Claude admin console or create a temporary authenticated ngrok tunnel for local testing. ```bash title="Set up the integration" theme={null} beacon endpoint integrations claude-cowork setup \ --endpoint https://otel.example.com \ --headers "Authorization=Bearer " \ --open ``` ### Production setup For ongoing monitoring, use a durable public HTTPS OpenTelemetry Collector endpoint: ```bash title="Set up a production OTLP endpoint" theme={null} beacon endpoint integrations claude-cowork setup \ --endpoint https://otel.example.com \ --headers "Authorization=Bearer " \ --resource-attributes "deployment.environment=prod,service.name=claude-cowork" ``` ### Local testing with ngrok For demos, validation, or local development only, create a temporary authenticated ngrok tunnel to the local OTLP HTTP receiver: ```bash title="Create a temporary ngrok tunnel" theme={null} beacon endpoint install beacon endpoint integrations claude-cowork setup --ngrok --open ``` Do not use `127.0.0.1`, a laptop endpoint, or an ngrok URL for production monitoring. ## beacon endpoint integrations claude-cowork status `beacon endpoint integrations claude-cowork status` reports whether Claude Cowork is detected and whether Cowork events have been observed in the endpoint runtime log. ```bash title="Check status" theme={null} beacon endpoint integrations claude-cowork status ``` ### Examples Show status: ```bash title="Show status" theme={null} beacon endpoint integrations claude-cowork status ``` Print status as JSON: ```bash title="Print status as JSON" theme={null} beacon endpoint integrations claude-cowork status --json ``` Check a custom runtime log: ```bash title="Check a custom runtime log" theme={null} beacon endpoint integrations claude-cowork status \ --log-path /path/to/runtime.jsonl ``` ## beacon endpoint integrations claude-cowork validate `beacon endpoint integrations claude-cowork validate` checks whether Claude Cowork events have arrived in the endpoint runtime log. ```bash title="Run the validation check" theme={null} beacon endpoint integrations claude-cowork validate --since 10m ``` If validation fails, Beacon prints setup guidance using any endpoint, headers, or resource attributes you provide. ### Examples Require a Cowork event in the last 10 minutes: ```bash title="Require a Cowork event in the last 10 minutes" theme={null} beacon endpoint integrations claude-cowork validate --since 10m ``` Validate and include production setup guidance if no event is found: ```bash title="Validate and include production setup guidance if no event is found" theme={null} beacon endpoint integrations claude-cowork validate \ --since 10m \ --endpoint https://otel.example.com \ --headers "Authorization=Bearer " ``` Validate a custom runtime log: ```bash title="Validate a custom runtime log" theme={null} beacon endpoint integrations claude-cowork validate \ --log-path /path/to/runtime.jsonl ``` # beacon cloud Source: https://docs.asymptotelabs.ai/cli/cloud Configure Beacon telemetry for provider-managed cloud agents ## Overview `beacon cloud` prints setup helpers for provider-managed cloud agent environments. Supported flows capture Claude Code or Cursor cloud agent telemetry and upload the cloud session's `runtime.jsonl` to customer-managed Google Cloud Storage or Amazon S3. For complete walkthroughs, see [Claude Code Cloud Agents](/runtimes/claude-code-cloud-agents) and [Cursor Cloud Agents](/runtimes/cursor-cloud-agents). ## Commands > [card] [beacon cloud claude-web print-setup](/cli/cloud-claude-web-print-setup) > > Print a Claude Code cloud environment setup script. > [card] [beacon cloud claude-web print-hooks](/cli/cloud-claude-web-print-hooks) > > Print Claude hook settings for a cloud sandbox. > [card] [beacon cloud cursor print-setup](/cli/cloud-cursor-print-setup) > > Print a Cursor cloud environment install script that installs Beacon and its hooks. > [card] [beacon cloud cursor print-hooks](/cli/cloud-cursor-print-hooks) > > Print Cursor project hook settings for cloud agents, to commit or merge yourself. > [card] [beacon cloud gcs setup](/cli/cloud-gcs-setup) > > Create or print self-serve GCS setup commands for cloud-agent telemetry. > [card] [beacon cloud s3 setup](/cli/cloud-s3-setup) > > Create or print self-serve S3 setup commands for cloud-agent telemetry. ## Object storage setup note The GCS helper creates or validates a bucket, creates a dedicated uploader service account, grants object upload access, creates a service-account key, and prints the `BEACON_CLOUD_GCS_*` environment variables for cloud agents. The S3 helper creates or validates a bucket, blocks public access, creates a dedicated IAM user, grants prefix-scoped `s3:PutObject`, creates one access key, and prints the `BEACON_CLOUD_S3_*` and AWS credential variables. > [!WARNING] > > These self-serve flows pass a scoped Google service-account key or AWS access > key into the provider-managed cloud agent environment. Use them for > proof-of-concept testing and prototyping. For production enterprise deployments, use > [Asymptote Managed](/deployment/managed) or contact Asymptote about secure > forwarding in customer-managed infrastructure. ## Related > [card] [beacon cloud gcs setup](/cli/cloud-gcs-setup) > > Create or print self-serve GCS setup commands for cloud-agent telemetry. > [card] [beacon cloud s3 setup](/cli/cloud-s3-setup) > > Create or print self-serve S3 setup commands for cloud-agent telemetry. > [card] [Claude Code Cloud Agents](/runtimes/claude-code-cloud-agents) > > Configure Claude Code cloud agent telemetry and object-storage upload end to end. > [card] [Cursor Cloud Agents](/runtimes/cursor-cloud-agents) > > Configure Cursor cloud agent telemetry and GCS or S3 upload end to end. > [card] [Log forwarding](/log-forwarding) > > Compare direct cloud-agent uploads with local endpoint object-storage forwarding. # beacon cloud claude-web print-hooks Source: https://docs.asymptotelabs.ai/cli/cloud-claude-web-print-hooks Print Claude Code cloud hook settings ## Command overview `beacon cloud claude-web print-hooks` prints the Claude hook settings used by the setup script. ```bash title="Command syntax" theme={null} beacon cloud claude-web print-hooks ``` This command is mostly useful for debugging or custom setup scripts. `--log-path` defaults to `/tmp/beacon/runtime.jsonl` and must name a file under `/tmp/beacon`, the only directory the cloud shuttle uploads from; any other path is rejected. ## Examples Print hook settings for a cloud sandbox: ```bash title="Print hook settings for a cloud sandbox" theme={null} beacon cloud claude-web print-hooks \ --binary-path /tmp/beacon/bin/beacon-hooks \ --log-path /tmp/beacon/runtime.jsonl ``` ## Related > [card] [beacon cloud](/cli/cloud) > > Review cloud command group behavior. > [card] [beacon cloud claude-web print-setup](/cli/cloud-claude-web-print-setup) > > Print a Claude Code cloud environment setup script. > [card] [Claude Code Cloud Agents](/runtimes/claude-code-cloud-agents) > > Configure Claude Code cloud agent telemetry and GCS upload end to end. # beacon cloud claude-web print-setup Source: https://docs.asymptotelabs.ai/cli/cloud-claude-web-print-setup Print a Claude Code cloud environment setup script ## Command overview `beacon cloud claude-web print-setup` prints a Claude Code cloud environment setup script for a Beacon release. ```bash title="Command syntax" theme={null} beacon cloud claude-web print-setup ``` Paste the generated script into the Claude Code cloud environment setup field. It installs `beacon` and `beacon-hooks` into `/tmp/beacon/bin`, discovers the cloud sandbox repository root, and writes `.claude/settings.local.json` inside the sandbox clone. ## Examples Print setup for a specific Beacon release: ```bash title="Print setup for a specific Beacon release" theme={null} beacon cloud claude-web print-setup --version v0.0.95 ``` ## Related > [card] [beacon cloud](/cli/cloud) > > Review cloud command group behavior. > [card] [beacon cloud claude-web print-hooks](/cli/cloud-claude-web-print-hooks) > > Print the Claude hook settings used by the setup script. > [card] [Claude Code Cloud Agents](/runtimes/claude-code-cloud-agents) > > Configure Claude Code cloud agent telemetry and GCS upload end to end. # beacon cloud cursor print-hooks Source: https://docs.asymptotelabs.ai/cli/cloud-cursor-print-hooks Print Cursor cloud hook settings ## Command overview `beacon cloud cursor print-hooks` prints project-level Cursor hook settings for a cloud sandbox. The install script from [`beacon cloud cursor print-setup`](/cli/cloud-cursor-print-setup) already writes these hooks at Build time without committing them. Use `print-hooks` when you want the hooks committed to `.cursor/hooks.json` instead, or to merge Beacon's entries into a hooks file the repository already commits. Committed project hooks also run in every local Cursor session on the repository, where they run `/tmp/beacon/bin/beacon-hooks` from a world-writable directory: on a shared machine, whoever creates that file has it run as each developer. ```bash title="Command syntax" theme={null} beacon cloud cursor print-hooks ``` The rendered hooks set `BEACON_ORIGIN=cloud`, `BEACON_RUN_PROVIDER=cursor_cloud`, and `BEACON_RUN_EPHEMERAL=true` for Cursor cloud hook events. `--safe-hooks` leaves out the shell and edit hooks (`beforeShellExecution`, `afterShellExecution`, `afterFileEdit`) so you can prove telemetry forwarding works before the agent's commands and edits pass through Beacon. `--log-path` defaults to `/tmp/beacon/runtime.jsonl` and must name a file under `/tmp/beacon`, the only directory the cloud shuttle uploads from; any other path is rejected. The generated hook set uses supported Cursor Cloud hooks such as `beforeSubmitPrompt`, `beforeReadFile`, `beforeShellExecution`, `afterShellExecution`, `afterFileEdit`, `postToolUse`, `postToolUseFailure`, `subagentStart`, `subagentStop`, `preCompact`, `afterAgentThought`, `afterAgentResponse`, and `stop`. It currently omits broad `preToolUse`, `sessionStart`, and `sessionEnd`. `stop` also uploads the log at the end of each turn. See [Cursor's Cloud Agent hook support matrix](https://cursor.com/docs/hooks#cloud-agent-support) for the current platform support list. Beacon uses Cursor's `conversation_id` hook payload as the default `run.run_id` for Cursor Cloud telemetry unless `BEACON_RUN_ID` is already set. Prompt events are written and uploaded as soon as `beforeSubmitPrompt` runs, including prompt-only follow-up turns. ## Examples Print hook settings for a cloud sandbox: ```bash title="Print hook settings for a cloud sandbox" theme={null} mkdir -p .cursor beacon cloud cursor print-hooks \ --binary-path /tmp/beacon/bin/beacon-hooks \ --log-path /tmp/beacon/runtime.jsonl > .cursor/hooks.json git add .cursor/hooks.json ``` ## Related > [card] [beacon cloud](/cli/cloud) > > Review cloud command group behavior. > [card] [beacon cloud cursor print-setup](/cli/cloud-cursor-print-setup) > > Print a Cursor cloud agent binary setup script. # beacon cloud cursor print-setup Source: https://docs.asymptotelabs.ai/cli/cloud-cursor-print-setup Print a Cursor cloud environment install script that installs Beacon and its hooks ## Command overview `beacon cloud cursor print-setup` prints the install script for a Cursor cloud agent environment. Paste it into the environment's **Install script** field. ```bash title="Command syntax" theme={null} beacon cloud cursor print-setup --version vX.Y.Z ``` Cursor runs the install script when it creates a Build, before any agent starts. The script: * downloads `beacon-hooks` from the release you name into `/tmp/beacon/bin`, * writes Beacon's project hooks to `.cursor/hooks.json` in the checkout, with the hook set [`beacon cloud cursor print-hooks`](/cli/cloud-cursor-print-hooks) prints, * lists `.cursor/hooks.json` in `.git/info/exclude`, so agents never see it as a change to commit, * leaves the repository alone if it commits its own `.cursor/hooks.json`. The Build keeps the binary and the hooks, so every agent in the environment starts with them. Nothing is committed, and the hooks never run in local Cursor sessions. An agent started before the environment's first Build runs without them and is not recorded. `--safe-hooks` leaves out the shell and edit hooks (`beforeShellExecution`, `afterShellExecution`, `afterFileEdit`), so you can prove the upload works before the agent's commands and edits pass through Beacon. ## Examples Print the install script for a specific Beacon release: ```bash title="Print the install script for a specific Beacon release" theme={null} beacon cloud cursor print-setup --version vX.Y.Z ``` Replace `vX.Y.Z` with the latest Beacon release tag. ## Related > [card] [beacon cloud](/cli/cloud) > > Review cloud command group behavior. > [card] [beacon cloud cursor print-hooks](/cli/cloud-cursor-print-hooks) > > Print the project hooks, to commit them yourself. > [card] [Cursor Cloud Agents](/runtimes/cursor-cloud-agents) > > Configure Cursor cloud agent telemetry end to end. # beacon cloud gcs setup Source: https://docs.asymptotelabs.ai/cli/cloud-gcs-setup Create or print GCS setup commands for cloud-agent telemetry ## Command overview `beacon cloud gcs setup` creates or prints self-serve Google Cloud Storage setup commands for cloud-agent telemetry. ```bash title="Command syntax" theme={null} beacon cloud gcs setup ``` The helper creates or validates a bucket, creates a dedicated uploader service account, grants object upload access, creates a service-account key, and prints the `BEACON_CLOUD_GCS_*` environment variables for cloud agents. > [!WARNING] > > This self-serve flow passes a scoped Google service-account key into the provider-managed cloud agent environment. Use it for proof-of-concept testing and prototyping. For production enterprise deployments, use [Asymptote Managed](/deployment/managed) or contact Asymptote about secure forwarding in customer-managed infrastructure. ## Examples Create GCS resources and print cloud-agent environment variables: ```bash title="Create GCS resources and print environment variables" theme={null} beacon cloud gcs setup \ --project "$GCP_PROJECT" \ --bucket "$BEACON_CLOUD_GCS_BUCKET" \ --prefix "$BEACON_CLOUD_GCS_PREFIX" \ --service-account beacon-cloud-trace-uploader \ --apply \ --print-env ``` Print the setup commands without applying them: ```bash title="Print GCS setup commands" theme={null} beacon cloud gcs setup \ --project "$GCP_PROJECT" \ --bucket "$BEACON_CLOUD_GCS_BUCKET" \ --prefix "$BEACON_CLOUD_GCS_PREFIX" ``` ## Related > [card] [beacon cloud](/cli/cloud) > > Review cloud command group behavior. > [card] [Claude Code Cloud Agents](/runtimes/claude-code-cloud-agents) > > Configure Claude Code cloud agent telemetry and GCS upload end to end. > [card] [Cursor Cloud Agents](/runtimes/cursor-cloud-agents) > > Configure Cursor cloud agent telemetry and GCS upload end to end. > [card] [Log forwarding](/log-forwarding) > > Review local endpoint GCS forwarding for persistent endpoint deployments. # beacon cloud s3 setup Source: https://docs.asymptotelabs.ai/cli/cloud-s3-setup Create or print S3 setup commands for cloud-agent telemetry ## Command overview `beacon cloud s3 setup` creates or prints self-serve Amazon S3 setup commands for cloud-agent telemetry. ```bash title="Command syntax" theme={null} beacon cloud s3 setup ``` The helper creates or validates a bucket, blocks public access, creates a dedicated IAM user, grants prefix-scoped `s3:PutObject`, creates one access key, and prints `BEACON_CLOUD_UPLOAD=s3`, `BEACON_CLOUD_S3_BUCKET`, `BEACON_CLOUD_S3_PREFIX`, `BEACON_CLOUD_S3_REGION`, `AWS_ACCESS_KEY_ID`, and `AWS_SECRET_ACCESS_KEY` for cloud agents. > [!WARNING] > > This self-serve flow passes scoped AWS access keys into the provider-managed > cloud agent environment. Use it for proof-of-concept testing and prototyping. > For production enterprise deployments, use [Asymptote Managed](/deployment/managed) > or contact Asymptote about secure forwarding in customer-managed infrastructure. ## Examples Create S3 resources and print cloud-agent environment variables: ```bash title="Create S3 resources and print environment variables" theme={null} beacon cloud s3 setup \ --bucket "$BEACON_CLOUD_S3_BUCKET" \ --region us-east-1 \ --prefix "$BEACON_CLOUD_S3_PREFIX" \ --iam-user beacon-cloud-trace-uploader \ --apply \ --print-env ``` Print the setup commands without applying them: ```bash title="Print S3 setup commands" theme={null} beacon cloud s3 setup \ --bucket "$BEACON_CLOUD_S3_BUCKET" \ --region us-east-1 \ --prefix "$BEACON_CLOUD_S3_PREFIX" \ --iam-user beacon-cloud-trace-uploader \ --print ``` The printed policy grants only: ```text theme={null} s3:PutObject on arn:aws:s3::://* ``` Delete or rotate the generated IAM access key after the cloud-agent test is complete. ## Related > [card] [beacon cloud](/cli/cloud) > > Review cloud command group behavior. > [card] [Claude Code Cloud Agents](/runtimes/claude-code-cloud-agents) > > Configure Claude Code cloud agent telemetry and S3 upload end to end. > [card] [Cursor Cloud Agents](/runtimes/cursor-cloud-agents) > > Configure Cursor cloud agent telemetry and S3 upload end to end. > [card] [Log forwarding](/log-forwarding) > > Review local endpoint S3 forwarding for persistent endpoint deployments. # beacon endpoint cloudwatch Source: https://docs.asymptotelabs.ai/cli/cloudwatch Generate AWS CloudWatch Logs forwarding content and validation events for Beacon endpoint events. ## Forwarding command Use `beacon endpoint cloudwatch` to generate AWS CloudWatch Logs forwarding content for Beacon endpoint events. The generated pack keeps Beacon as a local JSONL producer and helps your customer-managed Vector agent ship `runtime.jsonl` to a CloudWatch Logs log group. Beacon does not store AWS credentials, profiles, IAM roles, log group retention settings, stream names, or encryption settings. Keep those values in AWS, Vector, endpoint-management policy, or deployment tooling. ```bash title="Command syntax" theme={null} beacon endpoint cloudwatch [command] ``` ## Commands > [card] [beacon endpoint cloudwatch print-config](#beacon-endpoint-cloudwatch-print-config) > > Print the Vector AWS CloudWatch Logs forwarding template for the configured runtime log. > [card] [beacon endpoint cloudwatch install-pack](#beacon-endpoint-cloudwatch-install-pack) > > Write AWS CloudWatch Logs forwarding content to a directory. > [card] [beacon endpoint cloudwatch validate](#beacon-endpoint-cloudwatch-validate) > > Write and describe a Beacon AWS CloudWatch Logs validation event. ## Runtime log paths | Mode | Path | | - | - | | User mode | `~/.beacon/endpoint/logs/runtime.jsonl` | | System mode | `/var/log/beacon-agent/runtime.jsonl` | ## beacon endpoint cloudwatch print-config `beacon endpoint cloudwatch print-config` prints a Vector configuration that tails the selected Beacon runtime JSONL log and writes parsed Beacon events to AWS CloudWatch Logs. ```bash title="Print the configuration" theme={null} beacon endpoint cloudwatch print-config ``` Use this command when you want to inspect or copy the Vector template into an existing endpoint forwarding workflow. ### Examples Print Vector config for the default per-user Beacon install: ```bash title="Print Vector config for the default per-user Beacon install" theme={null} beacon endpoint cloudwatch print-config ``` Print Vector config for a system-mode MDM deployment: ```bash title="Print Vector config for a system-mode MDM deployment" theme={null} sudo /opt/beacon/bin/beacon endpoint cloudwatch print-config --system ``` Print Vector config for a custom runtime log: ```bash title="Print Vector config for a custom runtime log" theme={null} beacon endpoint cloudwatch print-config --log-path /path/to/runtime.jsonl ``` ### Flags | Flag | Description | | - | - | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths and launch daemon | | `--log-path ` | Runtime JSONL log path | ## beacon endpoint cloudwatch install-pack `beacon endpoint cloudwatch install-pack` writes AWS CloudWatch Logs forwarding content to a directory. ```bash title="Generate the integration pack" theme={null} beacon endpoint cloudwatch install-pack --output ./beacon-cloudwatch-pack ``` The pack includes setup instructions, a Vector `aws_cloudwatch_logs` forwarding template, and sample Beacon endpoint events. ### Examples Generate a content pack for the default per-user install: ```bash title="Generate a content pack for the default per-user install" theme={null} beacon endpoint cloudwatch install-pack --output ./beacon-cloudwatch-pack ``` Generate a content pack for a system-mode deployment: ```bash title="Generate a content pack for a system-mode deployment" theme={null} sudo /opt/beacon/bin/beacon endpoint cloudwatch install-pack \ --system \ --output ./beacon-cloudwatch-pack ``` Generate a content pack for a custom runtime log: ```bash title="Generate a content pack for a custom runtime log" theme={null} beacon endpoint cloudwatch install-pack \ --output ./beacon-cloudwatch-pack \ --log-path /path/to/runtime.jsonl ``` ### Flags | Flag | Description | | - | - | | `--output ` | Output directory for the AWS CloudWatch Logs content pack. Defaults to `beacon-cloudwatch-pack` | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths and launch daemon | | `--log-path ` | Runtime JSONL log path | ## beacon endpoint cloudwatch validate `beacon endpoint cloudwatch validate` writes a Beacon validation event to the runtime JSONL log and prints the expected CloudWatch validation fields and follow-up AWS checks. ```bash title="Run the validation check" theme={null} beacon endpoint cloudwatch validate ``` ### Examples Write a validation event for the default per-user install: ```bash title="Write a validation event for the default per-user install" theme={null} beacon endpoint cloudwatch validate ``` Write a validation event for a system-mode deployment: ```bash title="Write a validation event for a system-mode deployment" theme={null} sudo /opt/beacon/bin/beacon endpoint cloudwatch validate --system ``` Write a validation event to a custom runtime log: ```bash title="Write a validation event to a custom runtime log" theme={null} beacon endpoint cloudwatch validate --log-path /path/to/runtime.jsonl ``` The validation command writes the local event only. Confirm remote delivery with AWS tooling: ```text theme={null} aws logs filter-log-events --log-group-name "$BEACON_CLOUDWATCH_LOG_GROUP" --filter-pattern '"Beacon endpoint AWS CloudWatch Logs validation event"' --region "$AWS_REGION" ``` CloudWatch Logs Insights query: ```sql theme={null} fields @timestamp, vendor, product, destination.type, destination.mode, message | filter message like /Beacon endpoint AWS CloudWatch Logs validation event/ | sort @timestamp desc | limit 20 ``` Expected validation fields: ```text theme={null} vendor=beacon product=endpoint-agent destination.type=cloudwatch destination.mode=aws_cloudwatch_logs ``` ### Flags | Flag | Description | | - | - | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths and launch daemon | | `--log-path ` | Runtime JSONL log path | ## Related > [card] [AWS CloudWatch Logs forwarding](/log-forwarding/cloudwatch) > > Configure Vector forwarding from Beacon JSONL into AWS CloudWatch Logs. > [card] [Log forwarding](/log-forwarding) > > Review forwarding patterns and validation steps. > [card] [Endpoint agent](/cli/endpoint) > > Install and inspect the local endpoint agent. > [card] [Endpoint event schema](/telemetry-schema/event-schema) > > Review normalized Beacon JSONL fields and example events. # beacon endpoint dashboard Source: https://docs.asymptotelabs.ai/cli/dashboard Run the local Beacon endpoint dashboard ## Command overview Beacon includes a local-only dashboard for investigating the runtime JSONL log. The dashboard binds to loopback by default, has no external network dependency during normal use, and is intended for local investigation rather than remote administration. ```bash title="Command syntax" theme={null} beacon endpoint dashboard ``` > [card] [beacon endpoint dashboard](#beacon-endpoint-dashboard) > > Start the local dashboard, open it in a browser, or bind it to a custom local address. ## What it shows The dashboard reads the configured runtime JSONL log and provides a read-only view of local Beacon events. It follows Beacon's local rotation pattern, so session lists and event details can include the active file and numbered archives such as `runtime.jsonl.1`. In the default CLI setup, it reads the same per-user log used by Antigravity CLI, Claude Code, Cline, Cursor, Devin CLI, Devin Desktop, Factory Droid, Grok Build, Hermes Agent, OpenCode, and the other supported hook, plugin, poll, and OTLP collection paths. * **Agent Activity Sessions:** browse grouped agent sessions with risk, prompt, harness, model, repository, duration, activity counts, and last-artifact summaries. The **All**, **Captured**, **Recurring**, and **Empty** tabs are mutually exclusive views except that All contains every active session: Captured has user-visible activity, Recurring is described below, and Empty contains only lifecycle, metric, or internal events. * **Session detail:** open a session timeline with metadata, activity and severity summaries, event filters, raw JSON, and value inspectors. * **Lenses:** add tabs to a session's page that show it from one angle: files changed with diffs, an itemized token bill, a security review, approvals, or a [lens you wrote](/concepts/lenses). Each lens runs in a sandboxed frame with no network access. * **Agent Activity:** review aggregate local activity, risk signals, harnesses, models, repositories, MCP servers, and runtime inventory. * **Memory:** inspect read-only counts and tables for local evaluations, review candidates, and approved project memories from `memory.db`. * **Token Usage:** review runtime-reported token usage and cost where sources provide it. * **Detections:** browse the active [threat-rule](/detections) set that Beacon would use for local scans: rules installed in the local store plus the built-in baseline rules the store does not replace by id. * **Findings:** run the active rules over the configured runtime log on demand and review matching evidence with severity and session filters. * **Agent Inventory:** inspect [Inventory Local Agent Runtimes](/guides/inventory) for detected harnesses, MCP servers, Agent Skills, hooks, and telemetry status. * **Runtime-log source:** see source details and warnings when a system collector may be writing OTLP events to a different log. * **Rotated archives:** open event details from active or archived runtime logs, even when older archive numbers have already been pruned. The Detections and Findings screens mirror the same local rule resolution and scan behavior used by [`beacon scan`](/cli/scan). They do not fetch rule packs, mutate telemetry, or require a hosted Beacon account. The Memory screen is also read-only. Candidate approval, rejection, superseding, Jev evaluation, and Agent Skill installation stay in [`beacon memory`](/cli/memory). ### Recurring sessions A session is recurring when at least two sessions owned by the same user have the same prompt, agent harness, and repository within the dashboard's selected date range. Beacon compares these values after trimming surrounding whitespace and converting them to lowercase; harness names also use Beacon's standard harness-name normalization. Missing harness and repository values compare consistently. Sessions without a non-blank captured prompt are never recurring. Every row in a recurring group shows **Recurring ×N**, where `N` is the number of matching sessions in the selected date range and user scope. Classification and this count are calculated before result limiting, so limiting the displayed rows does not change either value. Opening a recurring row still shows that individual session's timeline; Beacon does not merge the group. ## Flags | Flag | Description | | - | - | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths and launch daemon | | `--log-path ` | Runtime JSONL log path | | `--addr ` | Local dashboard listen address | | `--open` | Open the dashboard in a browser | ## beacon endpoint dashboard `beacon endpoint dashboard` starts a local-only dashboard for inspecting Beacon runtime JSONL events. ```bash title="Open the local dashboard" theme={null} beacon endpoint dashboard ``` The dashboard binds to loopback by default and reads the configured runtime log and its local rotated archives. It is intended for local investigation, not remote administration. The command prints the address to open, including a secret for this run: ```text title="Sample output" theme={null} Beacon endpoint dashboard: http://127.0.0.1:8765/?token=3Wq… Runtime log: /Users/you/.beacon/endpoint/logs/runtime.jsonl ``` Open that exact URL (over SSH, forward the port and open it on your machine). See [Access control](#access-control) for why the bare address is refused. ### Examples Start the dashboard: ```bash title="Start the dashboard" theme={null} beacon endpoint dashboard ``` Open the dashboard in your browser: ```bash title="Open the dashboard in your browser" theme={null} beacon endpoint dashboard --open ``` Use a custom local address: ```bash title="Use a custom local address" theme={null} beacon endpoint dashboard --addr 127.0.0.1:8765 ``` Inspect a custom runtime log: ```bash title="Inspect a custom runtime log" theme={null} beacon endpoint dashboard --log-path /path/to/runtime.jsonl ``` > [!NOTE] > > During normal use, the dashboard has no external network dependency. It reads local Beacon logs and serves a local read-only UI from a loopback address. ## Access control Every account on a machine can reach a loopback port, so loopback binding alone would let another local account read your runtime log through a dashboard you started. Each run therefore makes a fresh 256-bit secret, keeps it only in memory, and puts it in the URL it prints (and opens with `--open`). It is never written to a file, a log or JSON output. * The first request with the secret sets an `HttpOnly`, `SameSite=Strict` cookie for that port and redirects to the same page without `?token=`, so the secret leaves the address bar. * Every other request needs that cookie. Without it the dashboard answers `401` (`403` for a wrong token) and says to open the URL the command printed. Stopping and restarting the dashboard makes a new secret, so an old link or tab stops working. * The dashboard still binds only to loopback addresses and refuses requests whose `Host` is not a loopback name, which keeps DNS-rebinding pages out. * Lens frames and the data the session page hands them load with the same cookie; nothing about the [lens sandbox](/concepts/lenses) changes. The secret protects against other accounts that do not have it. It does not protect against software that already runs as you, and while a browser is starting, the URL it was handed can be visible in the process list. A browser sends cookies for `127.0.0.1` to every port, so do not open pages served by other local accounts' servers in the browser you use for the dashboard while it runs. `beacon lenses preview` uses the same scheme. ### Turning the dashboard off An administrator can turn the dashboard off for every account on a machine, root included: ```bash title="Turn the dashboard off for everyone" theme={null} sudo beacon endpoint repair --system --dashboard disabled ``` This records `"dashboard": "disabled"` in the system `config.json`, which install, repair and package upgrades keep until `--dashboard enabled` turns it back on. While it is off, `beacon endpoint dashboard` and `beacon lenses preview` refuse to start for everyone, in user mode too, and say that the administrator disabled it. Accounts that cannot read a root-only system config read the switch from a world-readable marker beside it, and a config that does not parse also refuses. `beacon endpoint status` (and `--json`, as `dashboard`) reports the setting. Package installs take it from `BEACON_DASHBOARD=enabled|disabled`. When it is not set, an unattended first package install (the `.deb` or `.rpm`, the macOS `.pkg` or the Windows MSI, with no system config or log already on the machine, installed by a configuration manager, an MDM or a silent `msiexec`) turns the dashboard off. A person who installs the package on their own machine (`sudo` at a terminal, Installer.app, the MSI's full interface) keeps it, and upgrades keep what the endpoint already has. To keep the dashboard on an unattended install, set `BEACON_DASHBOARD=enabled`, or turn it on afterwards with `sudo beacon endpoint repair --system --dashboard enabled`; see [`beacon endpoint install`](/cli/endpoint-install#local-dashboard). ## Related > [card] [Detections](/detections) > > Understand the rule format, detection flow, and findings model. > [card] [beacon scan](/cli/scan) > > Run the same active rules from the command line. > [card] [Inventory Local Agent Runtimes](/guides/inventory) > > Understand configured, detected, and observed local runtime coverage. > [card] [beacon endpoint inventory](/cli/endpoint-inventory) > > Print endpoint inventory from the command line or as JSON. # beacon endpoint datadog Source: https://docs.asymptotelabs.ai/cli/datadog Generate Datadog Agent custom log collection content and validation events for Beacon endpoint events. ## Forwarding command Use `beacon endpoint datadog` to generate Datadog Agent custom log collection content for Beacon endpoint events. The generated pack tails Beacon's local `runtime.jsonl` file with the Datadog Agent and tags events with `service:beacon-endpoint-agent`, `source:beacon`, `vendor:beacon`, and `product:endpoint-agent`. Beacon does not store Datadog API keys or site configuration. Keep Datadog credentials, site settings, and transport in the Datadog Agent or your endpoint-management secret store. ```bash title="Command syntax" theme={null} beacon endpoint datadog [command] ``` ## Commands > [card] [beacon endpoint datadog print-config](#beacon-endpoint-datadog-print-config) > > Print a Datadog Agent custom log config for the configured runtime log. > [card] [beacon endpoint datadog install-pack](#beacon-endpoint-datadog-install-pack) > > Write Datadog Agent custom log integration content to a directory. > [card] [beacon endpoint datadog validate](#beacon-endpoint-datadog-validate) > > Write and describe a Beacon Datadog validation event. ## Runtime log paths | Mode | Path | | - | - | | User mode | `~/.beacon/endpoint/logs/runtime.jsonl` | | System mode | `/var/log/beacon-agent/runtime.jsonl` | ## beacon endpoint datadog print-config `beacon endpoint datadog print-config` prints a Datadog Agent custom log config for the configured Beacon runtime JSONL log. ```bash title="Print the configuration" theme={null} beacon endpoint datadog print-config ``` Use this command when you want to copy the custom log configuration into an existing Datadog Agent configuration workflow. ### Examples Print config for the default per-user Beacon install: ```bash title="Print config for the default per-user Beacon install" theme={null} beacon endpoint datadog print-config ``` Print config for a system-mode MDM deployment: ```bash title="Print config for a system-mode MDM deployment" theme={null} sudo /opt/beacon/bin/beacon endpoint datadog print-config --system ``` Print config for a custom runtime log: ```bash title="Print config for a custom runtime log" theme={null} beacon endpoint datadog print-config --log-path /path/to/runtime.jsonl ``` ### Flags | Flag | Description | | - | - | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths and launch daemon | | `--log-path ` | Runtime JSONL log path | ## beacon endpoint datadog install-pack `beacon endpoint datadog install-pack` writes Datadog Agent custom log integration content to a directory. ```bash title="Generate the integration pack" theme={null} beacon endpoint datadog install-pack --output ./beacon-datadog-pack ``` The pack includes Datadog Agent `conf.yaml`, setup instructions, and sample Beacon endpoint events. ### Examples Generate a content pack for the default per-user install: ```bash title="Generate a content pack for the default per-user install" theme={null} beacon endpoint datadog install-pack --output ./beacon-datadog-pack ``` Generate a content pack for a system-mode deployment: ```bash title="Generate a content pack for a system-mode deployment" theme={null} sudo /opt/beacon/bin/beacon endpoint datadog install-pack \ --system \ --output ./beacon-datadog-pack ``` Generate a content pack for a custom runtime log: ```bash title="Generate a content pack for a custom runtime log" theme={null} beacon endpoint datadog install-pack \ --output ./beacon-datadog-pack \ --log-path /path/to/runtime.jsonl ``` ### Flags | Flag | Description | | - | - | | `--output ` | Output directory for the Datadog content pack. Defaults to `beacon-datadog-pack` | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths and launch daemon | | `--log-path ` | Runtime JSONL log path | ## beacon endpoint datadog validate `beacon endpoint datadog validate` writes a Beacon validation event to the runtime JSONL log and prints the expected Datadog fields and validation query. ```bash title="Run the validation check" theme={null} beacon endpoint datadog validate ``` ### Examples Write a validation event for the default per-user install: ```bash title="Write a validation event for the default per-user install" theme={null} beacon endpoint datadog validate ``` Write a validation event for a system-mode deployment: ```bash title="Write a validation event for a system-mode deployment" theme={null} sudo /opt/beacon/bin/beacon endpoint datadog validate --system ``` Write a validation event to a custom runtime log: ```bash title="Write a validation event to a custom runtime log" theme={null} beacon endpoint datadog validate --log-path /path/to/runtime.jsonl ``` The validation command prints a Datadog Log Explorer query: ```text theme={null} service:beacon-endpoint-agent "Beacon endpoint datadog validation event" ``` ### Flags | Flag | Description | | - | - | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths and launch daemon | | `--log-path ` | Runtime JSONL log path | ## Related > [card] [Datadog forwarding](/log-forwarding/datadog) > > Configure Datadog Agent custom log collection for Beacon events. > [card] [Log forwarding](/log-forwarding) > > Review forwarding patterns and validation steps. > [card] [Endpoint agent](/cli/endpoint) > > Install and inspect the local endpoint agent. > [card] [Endpoint event schema](/telemetry-schema/event-schema) > > Review normalized Beacon JSONL fields and example events. # beacon endpoint elastic Source: https://docs.asymptotelabs.ai/cli/elastic Generate Elastic content and run a local Elasticsearch, Kibana, and Filebeat validation stack for Beacon endpoint events. ## Forwarding command Use `beacon endpoint elastic` to generate Elastic integration content for Beacon endpoint events. The generated pack tails Beacon's local `runtime.jsonl` file with Filebeat or standalone Elastic Agent and installs Elasticsearch/Kibana assets around the `logs-beacon.endpoint-*` data stream pattern. Beacon does not store Elastic cluster URLs or credentials. Keep `ES_HOSTS`, `ES_API_KEY`, usernames, passwords, and TLS settings in Filebeat, Elastic Agent, or your endpoint-management secret store. ```bash title="Command syntax" theme={null} beacon endpoint elastic [command] ``` ## Commands > [card] [beacon endpoint elastic print-config](#beacon-endpoint-elastic-print-config) > > Print a Filebeat config for the configured runtime log. > [card] [beacon endpoint elastic install-pack](#beacon-endpoint-elastic-install-pack) > > Write Elasticsearch, Kibana, Filebeat, and Elastic Agent content to a directory. > [card] [beacon endpoint elastic up](#beacon-endpoint-elastic-up) > > Start a local Elasticsearch, Kibana, and Filebeat validation stack. > [card] [beacon endpoint elastic down](#beacon-endpoint-elastic-down) > > Stop the local Elastic validation stack. ## Runtime log paths | Mode | Path | | - | - | | User mode | `~/.beacon/endpoint/logs/runtime.jsonl` | | System mode | `/var/log/beacon-agent/runtime.jsonl` | ## beacon endpoint elastic print-config `beacon endpoint elastic print-config` prints a Filebeat filestream config for the configured Beacon runtime JSONL log. ```bash title="Print the configuration" theme={null} beacon endpoint elastic print-config ``` Use this command when you want to copy the Filebeat input into an existing endpoint shipper configuration. ### Examples Print config for the default per-user Beacon install: ```bash title="Print config for the default per-user Beacon install" theme={null} beacon endpoint elastic print-config ``` Print config for a system-mode MDM deployment: ```bash title="Print config for a system-mode MDM deployment" theme={null} sudo /opt/beacon/bin/beacon endpoint elastic print-config --system ``` Print config for a custom runtime log: ```bash title="Print config for a custom runtime log" theme={null} beacon endpoint elastic print-config --log-path /path/to/runtime.jsonl ``` ### Flags | Flag | Description | | - | - | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths and launch daemon | | `--log-path ` | Runtime JSONL log path | ## beacon endpoint elastic install-pack `beacon endpoint elastic install-pack` writes an Elastic content pack to a directory. ```bash title="Generate the integration pack" theme={null} beacon endpoint elastic install-pack --output ./beacon-elastic-pack ``` The pack includes Filebeat and standalone Elastic Agent configuration, Elasticsearch ILM, component templates, an index template, an ingest pipeline, starter Kibana saved objects, a sample event, and a local Docker Compose validation stack. ### Examples Generate a content pack for the default per-user install: ```bash title="Generate a content pack for the default per-user install" theme={null} beacon endpoint elastic install-pack --output ./beacon-elastic-pack ``` Generate a content pack for a system-mode deployment: ```bash title="Generate a content pack for a system-mode deployment" theme={null} sudo /opt/beacon/bin/beacon endpoint elastic install-pack \ --system \ --output ./beacon-elastic-pack ``` Generate a content pack for a custom runtime log: ```bash title="Generate a content pack for a custom runtime log" theme={null} beacon endpoint elastic install-pack \ --output ./beacon-elastic-pack \ --log-path /path/to/runtime.jsonl ``` ### Flags | Flag | Description | | - | - | | `--output ` | Output directory for the Elastic content pack. Defaults to `beacon-elastic-pack` | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths and launch daemon | | `--log-path ` | Runtime JSONL log path | ## beacon endpoint elastic up `beacon endpoint elastic up` starts a loopback-only local Elasticsearch, Kibana, and Filebeat stack for validating Beacon event ingestion. ```bash title="Command example" theme={null} beacon endpoint elastic up --pack-dir ./beacon-elastic-pack ``` The command creates the pack if it does not exist, ensures the runtime log exists, mounts the runtime log directory into Filebeat, loads Elasticsearch and Kibana assets, and starts the stack with Docker Compose. When the stack is healthy, Beacon events are searchable in the `logs-beacon.endpoint-*` data stream using the `beacon.*` fields produced by the ingest pipeline: ```bash title="When the stack is healthy, Beacon events are searchable in the logs-beacon.endpoint-* data stream using the beacon.* fields produced by the ingest pipeline" theme={null} curl "http://localhost:9200/logs-beacon.endpoint-*/_search?q=beacon.product:endpoint-agent" curl "http://localhost:9200/logs-beacon.endpoint-*/_search?q=beacon.prompt.text:%22Beacon%20E2E%22" curl "http://localhost:9200/logs-beacon.endpoint-*/_search?q=beacon.harness.name:cursor" ``` ### Examples Start the local validation stack with the default pack directory: ```bash title="Start the local validation stack with the default pack directory" theme={null} beacon endpoint elastic up ``` Start with a generated pack directory: ```bash title="Start with a generated pack directory" theme={null} beacon endpoint elastic install-pack --output ./beacon-elastic-pack beacon endpoint elastic up --pack-dir ./beacon-elastic-pack ``` Use alternate local ports: ```bash title="Use alternate local ports" theme={null} BEACON_ELASTIC_ES_PORT=19200 \ BEACON_ELASTIC_KIBANA_PORT=15601 \ beacon endpoint elastic up ``` ### Flags | Flag | Description | | - | - | | `--pack-dir ` | Elastic pack directory. Defaults to `beacon-elastic-pack` | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths and launch daemon | | `--log-path ` | Runtime JSONL log path | > [!NOTE] > > `elastic up` is a macOS local validation helper that expects Docker Desktop or Docker Compose. For production, run Filebeat or standalone Elastic Agent through your endpoint-management system instead. ## beacon endpoint elastic down `beacon endpoint elastic down` stops the local Elastic validation stack for a generated pack directory. ```bash title="Command example" theme={null} beacon endpoint elastic down --pack-dir ./beacon-elastic-pack ``` ### Examples Stop the local validation stack: ```bash title="Stop the local validation stack" theme={null} beacon endpoint elastic down ``` Stop a stack that uses a custom pack directory: ```bash title="Stop a stack that uses a custom pack directory" theme={null} beacon endpoint elastic down --pack-dir ./beacon-elastic-pack ``` ### Flags | Flag | Description | | - | - | | `--pack-dir ` | Elastic pack directory. Defaults to `beacon-elastic-pack` | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths and launch daemon | | `--log-path ` | Runtime JSONL log path | ## Related > [card] [Elastic forwarding](/log-forwarding/elastic) > > Set up local, Elastic Cloud, or self-managed Elastic forwarding. > [card] [Log forwarding](/log-forwarding) > > Review forwarding patterns and validation steps. > [card] [Endpoint agent](/cli/endpoint) > > Install and inspect the local endpoint agent. > [card] [Endpoint event schema](/telemetry-schema/event-schema) > > Review normalized Beacon JSONL fields and example events. # beacon endpoint Source: https://docs.asymptotelabs.ai/cli/endpoint Install, inspect, repair, and remove the Beacon endpoint agent ## Command overview The `beacon endpoint` command group manages the local Beacon [endpoint agent](/concepts/core-concepts#endpoint-agent). It configures agent harness telemetry, runs a [local OpenTelemetry Collector](/concepts/core-concepts#local-collector), writes Beacon [endpoint events](/concepts/core-concepts#endpoint-event) to JSONL, and exposes subcommands for local inspection and integrations. Endpoint commands use per-user paths by default; pass `--system` for root-managed package or MDM deployments. ```bash title="Command syntax" theme={null} beacon endpoint [command] ``` ## Commands > [card] [beacon endpoint install](/cli/endpoint-install) > > Configure endpoint telemetry, collector service files, and harness telemetry. > [card] [beacon endpoint status](/cli/endpoint-status) > > Show collector, service, harness, diagnostic, and runtime log status. > [card] [beacon endpoint connect](/cli/endpoint-connect) > > Enroll this device with the signed-in CLI account and start the Vector forwarder. System mode uses browser approval in the Asymptote dashboard. > [card] [beacon endpoint disconnect](/cli/endpoint-connect) > > Stop the Asymptote forwarder and remove the local device key. > [card] [beacon endpoint doctor](/cli/endpoint-doctor) > > Run local endpoint health checks with pass/fail exit behavior. > [card] [beacon endpoint repair](/cli/endpoint-repair) > > Reapply service files and telemetry configuration. > [card] [beacon endpoint uninstall](/cli/endpoint-uninstall) > > Stop services and remove managed endpoint files. > [card] [beacon endpoint config](/cli/endpoint-config) > > Inspect endpoint configuration and validate destination settings. > [card] [beacon endpoint onboarding](/cli/endpoint-onboarding) > > Show, reset, or resend the one-time onboarding record. > [card] [beacon endpoint fx](/cli/endpoint-fx) > > Collect telemetry from fx session records on this machine. > [card] [beacon endpoint harness2](/cli/endpoint-harness2) > > Collect telemetry from Harness² rollouts recorded under its runs directory. > [card] [beacon endpoint cursor](/cli/endpoint-cursor) > > Collect Cursor session records and Admin API token usage. > [card] [beacon endpoint copilot](/cli/endpoint-copilot) > > Collect telemetry from GitHub Copilot CLI session records. > [card] [beacon endpoint dsh](/cli/endpoint-dsh) > > Collect telemetry from DeepSeek Harness session records. > [card] [beacon endpoint devin](/cli/endpoint-devin) > > Collect telemetry from the Devin CLI session database. > [card] [beacon endpoint traces](/cli/endpoint-traces) > > Index, list, search, and show local traces from runtime logs. > [card] [beacon endpoint asymptote](/cli/asymptote) > > Generate the Asymptote forwarding pack for running Vector by hand. > [card] [beacon scan](/cli/scan) > > Run threat-detection rules over local endpoint telemetry. > [card] [beacon rules](/cli/rules) > > Manage local threat-detection rules used by scans. Additional endpoint commands: [`inventory`](/cli/endpoint-inventory), [`discover`](/cli/endpoint-discover), [`test-event`](/cli/endpoint-test-event), and [`bundle-diagnostics`](/cli/endpoint-bundle-diagnostics). ## Common paths | Item | User mode | System mode | | - | - | - | | Config | `~/.beacon/endpoint/config.json` | `/Library/Application Support/Beacon/Endpoint/config.json` | | Base directory | `~/.beacon/endpoint` | `/Library/Application Support/Beacon/Endpoint` | | Runtime log | `~/.beacon/endpoint/logs/runtime.jsonl` | `/var/log/beacon-agent/runtime.jsonl` | | Collector config | `~/.beacon/endpoint/otelcol.yaml` | `/Library/Application Support/Beacon/Endpoint/otelcol.yaml` | ## Related groups > [card] [Core Concepts](/concepts/core-concepts) > > Review endpoint agent, collector, harness, and runtime log terminology. > [card] [Dashboard](/cli/dashboard) > > Inspect Beacon runtime logs in a local dashboard. > [card] [Wazuh](/cli/wazuh) > > Manage Wazuh localfile, rule, and validation content. > [card] [Datadog](/cli/datadog) > > Manage Datadog Agent custom log collection content. > [card] [Runtime hooks](/cli/hooks) > > Manage supported hook-based endpoint integrations. > [card] [OpenClaw Gateway](/cli/openclaw) > > Manage OpenClaw Gateway OpenTelemetry export. Other related guides: [Claude Cowork](/cli/claude-cowork), [Rapid7 InsightIDR](/cli/rapid7), [AWS S3](/cli/s3), and [Google Cloud Storage](/cli/gcs). # beacon endpoint bundle-diagnostics Source: https://docs.asymptotelabs.ai/cli/endpoint-bundle-diagnostics Write a redacted local diagnostics bundle for Beacon endpoint support ## Command overview `beacon endpoint bundle-diagnostics` writes a redacted local diagnostics bundle for Beacon endpoint support and troubleshooting. ```bash title="Command syntax" theme={null} beacon endpoint bundle-diagnostics --output ./beacon-diagnostics ``` The bundle is designed for support workflows where an operator needs endpoint configuration, health, inventory, and runtime-log context without exposing secrets by default. Beacon redacts sensitive destination values and only includes runtime event data when explicitly requested. ## Bundle contents The diagnostics bundle can include: * Endpoint status and doctor output * Endpoint configuration with secrets redacted * Runtime inventory * Local path and service metadata * Optional redacted event summaries * Optional raw runtime JSONL events If the runtime log does not exist yet, Beacon still writes an empty summary file for requested event summaries so bundle structure remains predictable. > [!WARNING] > > `--include-raw-events` can include prompt, tool, file, and command telemetry from the endpoint runtime log. Review the bundle before sharing it outside your organization. ## Flags | Flag | Description | | - | - | | `--output ` | Output directory for the diagnostics bundle | | `--include-event-summaries` | Include redacted event summaries | | `--include-raw-events` | Include raw runtime JSONL events | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths and launch daemon | | `--log-path ` | Runtime JSONL log path | ## Examples Write a basic diagnostics bundle: ```bash title="Write a basic diagnostics bundle" theme={null} beacon endpoint bundle-diagnostics --output ./beacon-diagnostics ``` Include redacted event summaries: ```bash title="Include redacted event summaries" theme={null} beacon endpoint bundle-diagnostics \ --output ./beacon-diagnostics \ --include-event-summaries ``` Include raw runtime events for local troubleshooting: ```bash title="Include raw runtime events for local troubleshooting" theme={null} beacon endpoint bundle-diagnostics \ --output ./beacon-diagnostics \ --include-raw-events ``` Bundle diagnostics for a system-mode deployment: ```bash title="Bundle diagnostics for a system-mode deployment" theme={null} sudo beacon endpoint bundle-diagnostics \ --system \ --output ./beacon-diagnostics ``` ## Related > [card] [Endpoint doctor](/cli/endpoint-doctor) > > Run local endpoint health checks with pass/fail exit behavior. > [card] [Endpoint config](/cli/endpoint-config) > > Inspect and validate endpoint configuration with secrets redacted. # beacon endpoint config Source: https://docs.asymptotelabs.ai/cli/endpoint-config Inspect Beacon endpoint configuration and validate destination settings ## Command overview `beacon endpoint config` inspects the local Beacon endpoint configuration and validates its destination settings. It does not edit the configuration. ```bash title="Command syntax" theme={null} beacon endpoint config [command] ``` Use this command group when you need to review the effective endpoint configuration or validate configured destinations without reinstalling the endpoint agent. ## Commands > [card] [show](#beacon-endpoint-config-show) > > Print endpoint configuration with secrets redacted. > [card] [validate](#beacon-endpoint-config-validate) > > Validate endpoint configuration and destination settings. ## Flags | Flag | Description | | - | - | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths and launch daemon | | `--log-path ` | Runtime JSONL log path | ## beacon endpoint config show `beacon endpoint config show` prints the endpoint configuration with secrets redacted. ```bash title="Manage endpoint configuration" theme={null} beacon endpoint config show ``` Splunk HEC tokens and other secret destination values are not printed. Use this command before support handoffs or diagnostics collection when you need to confirm paths, ports, harnesses, and destination settings. ### Examples Show per-user endpoint config: ```bash title="Show per-user endpoint config" theme={null} beacon endpoint config show ``` Show system endpoint config: ```bash title="Show system endpoint config" theme={null} sudo beacon endpoint config show --system ``` ## beacon endpoint config validate `beacon endpoint config validate` loads the effective endpoint configuration and validates its destination settings. ```bash title="Run the validation check" theme={null} beacon endpoint config validate ``` Validation checks destination configuration. For example, Splunk HEC and Falcon LogScale HEC forwarding require both an endpoint URL and token when configured. If the endpoint config file is missing, unreadable, or malformed, Beacon currently falls back to the default effective configuration, so this command does not prove that the file itself parsed. Use `beacon endpoint doctor` to check an installed endpoint's overall health. ### Examples Validate per-user endpoint config: ```bash title="Validate per-user endpoint config" theme={null} beacon endpoint config validate ``` Validate system endpoint config: ```bash title="Validate system endpoint config" theme={null} sudo beacon endpoint config validate --system ``` ## Managed ingest block When the endpoint is connected to Asymptote managed ingest, `config.json` carries a non-secret `managed_ingest` block: | Field | Meaning | | - | - | | `enabled` | `true` while the endpoint is connected | | `ingest_url` | The `https://` ingest URL returned by enrollment | | `device_id` | This device's id in the Asymptote dashboard | | `organization_id` | The organization that approved the device | | `privacy_mode` | `standard` or `metadata_only`, rendered into the local Vector pipeline | [`beacon endpoint connect`](/cli/endpoint-connect) writes the block and `beacon endpoint disconnect` clears it. It never holds the account token or the device key; the device key lives only in `asymptote/vector-secrets.json`, and it survives re-running `beacon endpoint install`. ## Related > [card] [Endpoint install](/cli/endpoint-install) > > Configure endpoint telemetry and collector service files. > [card] [Diagnostics bundle](/cli/endpoint-bundle-diagnostics) > > Collect redacted endpoint support artifacts. # beacon endpoint connect Source: https://docs.asymptotelabs.ai/cli/endpoint-connect Connect a Beacon endpoint to Asymptote managed ingest, or disconnect it, and understand what the forwarder stores and sends. ## Command overview `beacon endpoint connect` forwards this endpoint's telemetry to Asymptote so it appears on the Asymptote dashboard. In user mode, the signed-in CLI account authorizes a device-specific ingest key without copying the account token into endpoint state or giving it to Vector. System mode retains browser approval because unattended and system installs are account-free. Forwarding is opt-in and revocable. Runtime telemetry starts at the end of the existing runtime log, so pre-connect live events are not sent, with one bounded exception: every connect uploads the last 30 days of agent sessions read from the runtimes' own session stores, so the dashboard shows recent work at once. With the [scheduled session sync](/cli/endpoint-install#scheduled-session-sync) on, its later runs keep adding session-store records to the log, and those are forwarded as they are written. Inventory starts at the beginning of `inventory_state.jsonl` so the dashboard receives the endpoint's current inventory baseline. Revoking the device from the dashboard stops ingestion within about a minute. `beacon endpoint disconnect` stops the forwarder and removes the local credentials. ```bash title="Command syntax" theme={null} beacon endpoint connect [flags] beacon endpoint disconnect [flags] ``` ## Prerequisites * Beacon endpoint installed (`beacon endpoint install`) and writing local JSONL. * A current `beacon login` session with `device:enroll` scope for user mode. * Vector 0.50 or newer on the machine. Beacon installs one for you: 0.56.0 at `/opt/beacon/bin/vector` from the macOS package and Linux `.deb`/`.rpm`, as `beacon-vector` beside `beacon` from Linux archives and Homebrew on Linux, and as the tap's `beacon-vector` keg from Homebrew on macOS. Intel Macs get 0.50.0, the last x86_64 macOS build Vector published. `connect` stops if no usable Vector is found or if Vector rejects the forwarder config. * System mode only: a browser where an organization member can approve the device. ## What connect does 1. Locates Vector: `--vector-bin`, then `BEACON_VECTOR_BIN`, then `/opt/beacon/bin/vector`, the `beacon-vector` keg in each Homebrew prefix, a linked `vector` in each Homebrew prefix, then `PATH`. The `beacon-vector` keg is tried ahead of any other Homebrew Vector because it is the copy the tap pins at a supported version. 2. Renders the forwarder config for the selected privacy mode into a scratch directory, with a placeholder key, and runs `vector validate` on it. A config Vector rejects stops `connect` here, before anything is sent to the server. 3. Runs the [session backfill](#session-backfill) sweep into the runtime log, in user and system mode. It is local and runs before a new key is issued. 4. Registers this machine's hostname, operating system, architecture, Beacon version, install id, and install mode. User mode uses the signed-in account's `device:enroll` scope; system mode uses browser approval. The server returns a separate `bcn_device_*` ingest key. 5. Writes the device key once to `asymptote/vector-secrets.json` with mode `0600`. The account token is not persisted by the endpoint flow and is never printed. 6. Renders `asymptote/vector.toml` with the selected privacy mode, runs `vector validate` on the file the service will run, stages the session backfill in `cloud-backfill.jsonl` beside the runtime log, installs a service unit, and starts it. 7. Records the non-secret enrollment, including privacy mode, in `asymptote/enrollment.json` and `config.json`'s `managed_ingest` block. A first connect that fails at `vector validate` or at loading the service saves no enrollment record, so the endpoint is not connected and `beacon endpoint disconnect` cleans up what was written. After `disconnect --keep-credentials`, status reports not connected and names the kept device id. Re-running `connect` on a connected machine reuses its install id, so the server rotates the existing device's key in place instead of creating a second device. Because that rotation invalidates the key the running forwarder holds, the new config is validated before enrollment: a re-run whose config Vector rejects leaves the forwarder, its key, and its buffer untouched. Under launchd the new forwarder is loaded only after the old one has exited (Vector drains in-flight requests first), and if the new instance has not started within the wait, `connect` fails and points at `launchctl print` for the job. Some steps can only fail after the server has issued the key: storing it, validating the config that carries the ingest URL, writing the service unit, starting the service, and recording the enrollment. `connect` writes `asymptote/connect-pending` as soon as the key arrives and removes it only when every step has succeeded. If a step in between fails, `connect` says the connect is incomplete and names the retry, and `beacon endpoint status` reports managed ingest as not connected, with `connect_incomplete: true` in `--json`. On a reconnect, the forwarder still running holds the key the server just rotated out, so the previous enrollment record and config are not treated as a working connection. On a first connect, Beacon stops and removes any partial forwarder before returning the error, so a later onboarding retry can safely select local-only telemetry. Run `beacon endpoint connect` again once the cause is fixed. An approval that is cancelled or expires before a key is issued rotates nothing and leaves an existing connection as it was. ## Session backfill Every connect, first or not and in user or system mode, uploads recent session history so the dashboard is not empty until an agent runs again. Beacon first runs the same bounded sweep as [`beacon endpoint install`](/cli/endpoint-install#session-backfill): the last 30 days of sessions from each runtime's own session store, newest first, at most 24 MiB. A system connect reads the active console user's session stores, as a system install does. `endpoint install --connect` and the onboarding wizard skip that sweep because the install has just run it. Before the forwarder starts, Beacon copies the poll events those sweeps wrote, timestamped in the last 30 days and newest kept up to 24 MiB, from the runtime log and its archives into `cloud-backfill.jsonl` beside the runtime log. The forwarder reads that file once from the beginning into the same runtime upload, through the same privacy transform as live events. Hook, OTLP, and plugin events recorded before the connection stay local. A reconnect stages the backfill again, so sessions the agents wrote while the endpoint was disconnected, or before a system endpoint had a console user to read for, still arrive. This can resend events the forwarder already shipped; every event keeps the deterministic event ID it was written with, and the dashboard collapses a resent event on it. A privacy-mode change clears the forwarder's checkpoints and replaces the staged file, so the backfill is resent in the new mode, and `disconnect` removes the file. `--no-backfill` or `BEACON_BACKFILL=0` connects without uploading history. The backfill is a one-time upload per connect. With the [scheduled session sync](/cli/endpoint-install#scheduled-session-sync) on, the job keeps reading the session stores every 15 minutes, and the forwarder ships what it writes as ordinary new runtime events. When the backfill stopped at its size limit, the job's first runs also read the rest of the last 30 days, so that history arrives over the next runs rather than not at all. ## Privacy modes The onboarding wizard records one of two modes. `connect` uses that choice unless `--privacy-mode` overrides it: | Mode | Forwarded data | | - | - | | `standard` | The complete locally sanitized event, including retained prompts, responses, reasoning, tool arguments/results, command output, and diffs. Existing local redaction and size limits still apply. | | `metadata-only` | Omits prompts, responses, reasoning, tool arguments/results, command output, raw event fields, diffs, inventory file contents, MCP definitions, tool descriptions, retrieval content, evaluation explanations, agent descriptions, request stop sequences, and free-text approval or policy reasons. Stable IDs, hashes, byte counts, actions, timestamps, harness/session/trace identity, `prompt.id`, token usage, commands, file paths, and other structured metadata remain. | The transform runs locally in Vector before batching, buffering, or HTTPS upload. Changing modes requires rerunning `beacon endpoint connect`; install, repair, and package upgrades re-render the config but keep the recorded mode. A mode change stops the forwarder and clears its disk buffer before the new config is installed, so events queued under the previous mode are not uploaded under the new one. ## Keeping the forwarder config current `connect` is not the only time `vector.toml` is written. `beacon endpoint install`, `beacon endpoint repair`, and the macOS, `.deb`, and `.rpm` package upgrades re-render it in place for an endpoint that is already connected, so a fix to the forwarder pack, such as a Metadata-only transform that removes more fields, reaches the endpoint without a reconnect, which would rotate the device key. The re-render: * keeps the recorded ingest URL and privacy mode (changing the mode is still a `connect` decision), and refuses to guess when `enrollment.json` and `config.json` disagree about it; * never enrolls, makes no network request, and does not read or rewrite the secrets file; * leaves `vector-data/`, and with it Vector's checkpoints and buffer, as it is; * validates the new config with the forwarder's own Vector exactly as `connect` does, and only then replaces the old file atomically. A config Vector rejects is reported as a warning, and the running forwarder keeps the old one; * restarts the forwarder when it is running, even when the config is current, after checking that its Vector still accepts that config. Switching to restricted log access replaces the runtime log with a copy, and Vector keeps reading the replaced file until it restarts, then resumes in the copy where it left off; an upgrade may also have installed a new Vector. A stopped forwarder is never started, and a forwarder whose config was refused, or whose Vector is missing, keeps running as it was. The forwarder also reads the first rotated log (`runtime.jsonl.1`), as the Sentinel forwarder does, so lines written to a replaced log before a restart are picked up at the next rotation instead of lost. It still ships nothing written before the device was connected. It does nothing on an endpoint that is not connected, after a connect that did not finish, when the forwarder service is not installed, or where the service manager cannot run it (supervised mode); when Vector is missing it warns and keeps the old config. An install run with `--no-start` leaves the forwarder alone; the macOS package installs that way and then runs `beacon endpoint asymptote reconcile --system` itself. Run that command by hand (add `--json` for the result) to reconcile without reinstalling. Install, repair, and package upgrades also rewrite the forwarder's launchd or systemd unit when it differs from the one Beacon writes (v1.3.46). Endpoints connected before v1.3.37 had a forwarder that logged to `/tmp`; the rewrite moves those logs to `~/Library/Logs/Beacon` or `/Library/Logs/Beacon` and restarts the forwarder if it was running. A stopped forwarder stays stopped, and the device key, enrollment, and Vector's checkpoints are left alone. ## Files and services | Item | User mode | System mode (macOS) | System mode (Linux) | | - | - | - | - | | Enrollment record | `~/.beacon/endpoint/asymptote/enrollment.json` (0600) | `/Library/Application Support/Beacon/Endpoint/asymptote/enrollment.json` | `/etc/beacon/endpoint/asymptote/enrollment.json` | | Install id | `~/.beacon/endpoint/asymptote/install-id` (0600) | `…/Endpoint/asymptote/install-id` | `/etc/beacon/endpoint/asymptote/install-id` | | Pending-connect marker (only while a connect is unfinished) | `~/.beacon/endpoint/asymptote/connect-pending` (0600, timestamp and reconnect flag only) | `…/Endpoint/asymptote/connect-pending` | `/etc/beacon/endpoint/asymptote/connect-pending` | | Device key | `~/.beacon/endpoint/asymptote/vector-secrets.json` (0600) | `…/Endpoint/asymptote/vector-secrets.json` | `/etc/beacon/endpoint/asymptote/vector-secrets.json` | | Vector config | `~/.beacon/endpoint/asymptote/vector.toml` (0644, no secret) | `…/Endpoint/asymptote/vector.toml` | `/etc/beacon/endpoint/asymptote/vector.toml` | | Staged session backfill | `~/.beacon/endpoint/logs/cloud-backfill.jsonl` (0600) | `cloud-backfill.jsonl` beside the system runtime log (0600) | `cloud-backfill.jsonl` beside the system runtime log (0600) | | Buffer and checkpoints | `~/.beacon/endpoint/asymptote/vector-data/` | `…/Endpoint/asymptote/vector-data/` | `/etc/beacon/endpoint/asymptote/vector-data/` | | Service | `~/Library/LaunchAgents/com.beacon.endpoint.asymptote-forwarder.plist` | `/Library/LaunchDaemons/com.beacon.endpoint.asymptote-forwarder.plist` | `/etc/systemd/system/beacon-asymptote-forwarder.service` (user mode: `~/.config/systemd/user/`) | The directory is `0700`. The device key appears only in the secrets file, which Vector reads through its `file` secret backend; it is in neither `vector.toml`, `config.json`, nor the forwarder's environment. `install-id` pins this machine's install id before enrollment starts, so a connect retried after a failure rotates the same device's key instead of registering a second device. ## Flags | Flag | Description | | - | - | | `--dashboard-url ` | Asymptote dashboard URL. Defaults to `https://asymptotelabs.ai` or `BEACON_DASHBOARD_URL`. Must be `https://`. In user mode it must match the signed-in account service | | `--no-browser` | System mode only: print the approval URL instead of opening a browser | | `--vector-bin ` | Vector binary to run | | `--privacy-mode ` | Override the onboarding choice with `standard` or `metadata-only` | | `--no-backfill` | Do not upload the [session backfill](#session-backfill). `BEACON_BACKFILL=0` does the same | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths and a LaunchDaemon or system unit. Requires root; the browser opens as the active console user | | `--log-path ` | Runtime JSONL log path | | `--json` | Print the result as JSON (the device key is never included) | `disconnect` accepts the same path flags and `--json` (which prints `disconnected`, `kept_credentials`, and `device_id`), plus `--keep-credentials`, which keeps the enrollment record and device key so a later `connect` can reuse this device without a new approval. ## Examples ```bash title="Connect the default per-user install" theme={null} beacon endpoint connect ``` ```bash title="Connect a system-mode install from the signed package" theme={null} sudo /opt/beacon/bin/beacon endpoint connect --system ``` ```bash title="Connect from a machine without a browser" theme={null} sudo beacon endpoint connect --system --no-browser # open the printed URL in a browser where you are signed in ``` ```bash title="Connect with metadata-only forwarding" theme={null} beacon endpoint connect --privacy-mode metadata-only ``` ```bash title="Stop forwarding and remove the local credentials" theme={null} beacon endpoint disconnect ``` ## Checking the connection `beacon endpoint status` prints one line for managed ingest: whether this endpoint is connected, to which organization, the device id, the active privacy mode, whether the forwarder service is loaded and running, whether the credential is still valid (it asks the ingest service, with a 3-second timeout), and the size of the disk buffer. `--json` exposes the same under `managed_ingest`. A system install that was never connected, usually an MDM rollout, leaves the line out, as does any install that forwards to its own S3, GCS, or Falcon LogScale bucket; status lists those forwarders instead. ```text theme={null} Asymptote managed ingest: connected to Asymptote Test as device 807c6a11-…; forwarder loaded=true running=true; privacy Metadata only; credential valid ``` `credential revoked` means the key was revoked or expired, or the approving user is no longer a member of the organization; Vector is logging 401s and dropping batches. Run `beacon endpoint connect` again to re-enroll. ## Revocation and disconnect Revoke a device, or every device a person approved, from the dashboard's **Beacon Endpoints** page. The ingest service rejects the key within about a minute. `disconnect` is the local half: it stops and removes the forwarder and its config and, unless `--keep-credentials` is given, the enrollment record and device key. `beacon endpoint uninstall` removes the forwarder and the `asymptote/` directory as part of removing the endpoint, except that `--keep-config` keeps the enrollment record and device key. Neither revokes the device server-side; the CLI tells you where to do that. ## Offline behavior Vector keeps reading into an on-disk buffer (512 MiB for runtime, 256 MiB for inventory) while the network is unavailable and drains it when connectivity returns. The ingest service accepts old timestamps and the dashboard collapses re-sent duplicates on Beacon's deterministic event id, so a laptop that was asleep or offline catches up without loss or double counting, up to the buffer size. ## Related > [card] [Asymptote Managed forwarding](/log-forwarding/asymptote) > > Wire contract, what leaves the machine, revocation, and offline behavior. > [card] [beacon endpoint asymptote](/cli/asymptote) > > The forwarder pack, for running Vector by hand. > [card] [Endpoint status](/cli/endpoint-status) > > Inspect the forwarder and credential state. > [card] [Endpoint paths](/cli/endpoint-paths) > > Every file and service Beacon writes. # beacon endpoint copilot Source: https://docs.asymptotelabs.ai/cli/endpoint-copilot Collect endpoint telemetry from GitHub Copilot CLI session records ## Command overview `beacon endpoint copilot` reads the records GitHub Copilot CLI commits under `$COPILOT_HOME/session-state` (default `~/.copilot/session-state`) and converts them into Asymptote [endpoint events](/concepts/core-concepts#endpoint-event). ```bash title="Command syntax" theme={null} beacon endpoint copilot [command] ``` This complements live OTLP export, which carries live spans and approval-like permission activity. Polling backfills assistant text, complete tool results, commands, file activity, and token usage. Every event uses `harness.collection_method=poll`; this path observes committed records after the fact and cannot hold, approve, deny, or delay a tool call, and it does not synthesize approval events. Reading is local and offline. Nothing this command does reaches the network. ## Commands | Command | Description | | - | - | | `beacon endpoint copilot sync` | Read new Copilot CLI session records into the runtime log | | `beacon endpoint copilot status` | Show local sessions and collection progress | ## Flags Both subcommands accept: | Flag | Description | | - | - | | `--copilot-dir ` | Copilot directory; defaults to `$COPILOT_HOME` when set, otherwise `~/.copilot` | | `--state ` | Cursor file; defaults to `~/.beacon/endpoint/state/copilot.json` | | `--workspace ` | Include sessions whose recorded working directory matches this workspace | | `--session-id ` | Include one Copilot CLI session | | `--json` | Print JSON output | | `--user` | Use per-user endpoint paths; enabled by default | | `--system` | Use system endpoint paths and a cursor beside the system runtime log | `sync` also accepts: | Flag | Description | | - | - | | `--log-path ` | Runtime JSONL path | | `--print` | Print mapped events without writing or advancing the cursor | | `--watch` | Sweep continuously | | `--interval ` | Watch interval; defaults to `1m`, with a 5-second floor | | `--rotate-bytes ` | Rotate the runtime log at this many bytes while this sync writes it. Defaults to 10485760, the size every Beacon writer uses; must not be smaller. See [large backfills and log rotation](/runtimes/claude-code#large-backfills-and-log-rotation) | ## Sweeping ```bash title="Sweep once" theme={null} beacon endpoint copilot sync ``` ```bash title="Preview without writing" theme={null} beacon endpoint copilot sync --print ``` `--print` neither writes the runtime log nor advances the cursor. ```bash title="Sweep continuously" theme={null} beacon endpoint copilot sync --watch --interval 5m ``` Unless the [scheduled session sync](/cli/endpoint-install#scheduled-session-sync) is on, nothing sweeps automatically. Schedule `sync`, or leave `--watch` running in the account that owns the Copilot directory. A scheduler that starts `sync` without your shell's environment needs `COPILOT_HOME` set in it, or `--copilot-dir`. ## Status ```bash title="Show session collection progress" theme={null} beacon endpoint copilot status ``` `collected` means the cursor is level with every complete record decoded from a session's `events.jsonl`. A partially written trailing record remains pending for the next sweep. ## Cursor behavior The cursor stores the last decoded line for each `events.jsonl`, along with file size and modification time for inexpensive no-op sweeps. | Mode | Default cursor path | | - | - | | User | `~/.beacon/endpoint/state/copilot.json` | | System | `copilot-state.json` beside the system runtime log | Re-reading is safe: event IDs derive from the source file, session ID, line number, and mapped event suffix, so the same source record maps to the same event. ## Related > [card] [GitHub Copilot CLI](/runtimes/github-copilot-cli) > > Review telemetry coverage and deployment guidance. > [card] [beacon endpoint discover](/cli/endpoint-discover) > > Check detection and live OTLP configuration. # beacon endpoint cursor Source: https://docs.asymptotelabs.ai/cli/endpoint-cursor Collect Cursor telemetry from its local session stores, and Cursor token usage and charges from the Cursor Admin API ## Command overview `beacon endpoint cursor` collects telemetry from [Cursor](/runtimes/cursor) that its hooks cannot see. `sync` reads the conversation records Cursor commits on this machine. `usage sync` reads Cursor's per-request token usage and charges from the Cursor Admin API, because no Cursor hook or local record carries a token count. ```bash title="Command syntax" theme={null} beacon endpoint cursor [command] ``` | Command | Description | | - | - | | `beacon endpoint cursor sync` | Read new Cursor session records into the runtime log | | `beacon endpoint cursor status` | Show Cursor's local session stores and how much Beacon has collected | | `beacon endpoint cursor usage sync` | Read new Cursor Admin API usage events into the runtime log | | `beacon endpoint cursor usage status` | Show the usage collector's progress and configuration | Every event from these commands is marked `harness.collection_method=poll`. Beacon reads what Cursor recorded after the fact, so neither path can hold, approve, deny, or delay a tool call, and neither synthesizes approval events. ## Session sync Cursor keeps Composer conversations in its global storage database (`state.vscdb`) and agent transcripts under `~/.cursor/projects`. `sync` reads those committed records and writes prompts, assistant text, tool and command activity, file activity where the record names a path, and session metadata. Reading is local and offline. ```bash title="Sweep once" theme={null} beacon endpoint cursor sync ``` ```bash title="Preview without writing anything" theme={null} beacon endpoint cursor sync --print ``` ```bash title="Sweep continuously" theme={null} beacon endpoint cursor sync --watch --interval 5m ``` `--print` neither writes the runtime log nor advances the cursor, so running it twice shows the same events. Unless the [scheduled session sync](/cli/endpoint-install#scheduled-session-sync) is on, nothing sweeps on its own: run `sync` on a schedule, or leave `--watch` running in the account that owns the Cursor data. On a system install, the backfill and the scheduled session sync skip a Cursor database over 512 MiB, so run `sync` as the user there. [`beacon endpoint install`](/cli/endpoint-install#session-backfill) runs the same sweep once for the last 30 days. ```bash title="Show Cursor's stores and collection progress" theme={null} beacon endpoint cursor status ``` ### Session sync flags Both `sync` and `status` accept: | Flag | Description | | - | - | | `--global-db ` | Cursor's global storage database. Defaults to Cursor's `state.vscdb` for the platform | | `--projects-dir ` | Cursor projects directory. Defaults to `~/.cursor/projects` | | `--state ` | Collector cursor file. Defaults to `~/.beacon/endpoint/state/cursor-sessions.json`, or `cursor-sessions-state.json` beside the system runtime log with `--system` | | `--json` | Print the result as JSON | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths | `sync` also accepts: | Flag | Description | | - | - | | `--log-path ` | Runtime JSONL log path. Defaults to the resolved endpoint log | | `--print` | Print mapped events as JSON without writing them or advancing the cursor | | `--watch` | Sweep continuously on `--interval` instead of sweeping once and exiting | | `--interval ` | Sweep interval for `--watch`. Defaults to `1m` | | `--rotate-bytes ` | Rotate the runtime log at this many bytes while this sync writes it. Defaults to 10485760, the size every Beacon writer uses; must not be smaller. See [large backfills and log rotation](/runtimes/claude-code#large-backfills-and-log-rotation) | ## Token usage from the Cursor Admin API Cursor's hooks and local records carry no token counts. The Cursor Admin API does: it reports every model request a team member made with its input, output and cache tokens and what Cursor charged for it. `usage sync` reads those events and writes one `token.usage` event per request, so [`beacon token-usage`](/cli/token-usage) and the dashboard token view include Cursor. This is the one Cursor command that uses the network. It calls `https://api.cursor.com` only when you run it; hooks and scheduled Beacon jobs never do. **1. Create an Admin API key** In the Cursor dashboard, open **Settings > Advanced > Admin API Keys**. Only team admins can create one. **2. Put it in the environment and sync** ```bash title="Sync this machine's Cursor usage" theme={null} export CURSOR_ADMIN_API_KEY=key_... beacon endpoint cursor usage sync ``` The key is read from the environment for that run only. Beacon never writes it to its config, state or logs, and never prints it; it leaves the process only as the request's basic-auth header. `--api-key-env` names a different variable. ### Whose usage is collected An admin key can read the whole team, so the default is deliberately narrow: the Cursor account signed in on this machine, read from Cursor's local storage. If no account is signed in, the sync stops and asks you to choose. Choose at most one of: | Flag | Collects | | - | - | | `--email
` | One team member | | `--user-id ` | One team member, by numeric Cursor user ID | | `--team` | Every member of the team | Each choice keeps its own cursor, because what has been collected for one member says nothing about another. ### What is recorded | Field | Value | | - | - | | `event.action` | `token.usage`, `event.fidelity=observed`, `harness.name=cursor`, `harness.collection_method=poll` | | `@timestamp` and `model` | The request's time and model, as Cursor reports them | | `gen_ai.usage` | `input_tokens`, `output_tokens`, `cache_read.input_tokens` and `cache_creation.input_tokens`, exactly as Cursor reports them, so cached input is not counted twice | | `gen_ai.usage.cost_usd` | What Cursor charged (`chargedCents / 100`). This is runtime-reported cost | | `raw.cursor` | `source=admin_api`, the request kind, Max mode, the token price (`token_cents`), the charge, and the member's user ID and email | Cursor's token price is kept under `raw.cursor` and not promoted to `cost_usd`, because a request included in a plan has a token price but no charge, and summing token prices would report a bill nobody received. Requests billed per request rather than by token, which carry neither tokens nor a charge, are not written. No session is set. The Admin API reports requests per team member, not per conversation, and nothing in an event names the Composer it came from, so Beacon does not guess one from timing. ### Windows and repeats The first sync collects the last 7 days; `--since` reaches further back (`YYYY-MM-DD` or RFC 3339), and long ranges are fetched 30 days at a time. Each later sync starts from the last one and re-reads the 48 hours behind it (`--lookback`), because Cursor posts some usage late. The API gives events no id, so Beacon names each one by a fingerprint of everything the API says about it and writes only fingerprints it has not written before. Running the sync twice, or overlapping its windows, never counts a request twice. A sync that fails partway keeps what it wrote, and the retry writes the rest. The state file holds fingerprints and timestamps, never the key. ```bash title="Preview a month of team usage without writing it" theme={null} beacon endpoint cursor usage sync --team --since 2026-10-01 --print ``` ```bash title="Show the usage collector's progress" theme={null} beacon endpoint cursor usage status ``` ### Usage flags Both `usage sync` and `usage status` accept: | Flag | Description | | - | - | | `--api-key-env ` | Environment variable holding the Admin API key. Defaults to `CURSOR_ADMIN_API_KEY` | | `--email
` | Collect usage for this team member | | `--user-id ` | Collect usage for this numeric Cursor user ID | | `--team` | Collect usage for every member of the team | | `--global-db ` | Cursor global storage database the signed-in account is read from | | `--state ` | Collector state file. Defaults to `~/.beacon/endpoint/state/cursor-usage.json`, or `cursor-usage-state.json` beside the system runtime log with `--system` | | `--json` | Print the result as JSON | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths | `usage sync` also accepts: | Flag | Description | | - | - | | `--since ` | Collect from this date (`YYYY-MM-DD` or RFC 3339). Defaults to 7 days back on the first sync, then from the last sync | | `--lookback ` | How far behind the last sync each sync re-reads, to catch late-posted events. Defaults to `48h` | | `--page-size ` | Events per Admin API request. Defaults to `100` | | `--base-url ` | Admin API base URL. Defaults to `https://api.cursor.com`; must be `https`, or plain `http` to a loopback address | | `--log-path ` | Runtime JSONL log path. Defaults to the resolved endpoint log | | `--print` | Print mapped events as JSON without writing them or advancing the collector state | ## Related > [card] [Cursor](/runtimes/cursor) > > Hooks, coverage, and what each Cursor path records. > [card] [beacon token-usage](/cli/token-usage) > > Report token usage and cost from the runtime log. # beacon endpoint devin Source: https://docs.asymptotelabs.ai/cli/endpoint-devin Collect endpoint telemetry from Devin CLI's local session database ## Command overview `beacon endpoint devin` reads the committed SQLite session store Devin CLI keeps at `~/.local/share/devin/cli/sessions.db` (`%APPDATA%\devin\cli\sessions.db` on Windows) and maps it into Beacon [endpoint events](/concepts/core-concepts#endpoint-event). ```bash title="Command syntax" theme={null} beacon endpoint devin [command] ``` This complements the live [Devin CLI hooks](/runtimes/devin). Hooks remain the real-time integration; the sync adds what the hook payload cannot carry: assistant replies, reasoning, per-message token metrics and the per-turn model. See [Session database sync](/runtimes/devin#session-database-sync). Every event from this command is marked `harness.collection_method=poll`. Beacon reads committed records after the fact, so this path cannot hold, approve, deny, or delay a tool call. Reading is local, offline and read-only. ## Commands | Command | Description | | - | - | | `beacon endpoint devin sync` | Read new Devin CLI session rows into the runtime log | | `beacon endpoint devin status` | Show Devin CLI sessions on this machine and how much has been collected | ## Flags Both subcommands accept: | Flag | Description | | - | - | | `--db ` | Devin CLI session database. Defaults to `~/.local/share/devin/cli/sessions.db`, `%APPDATA%\devin\cli\sessions.db` on Windows | | `--state ` | Collector cursor file. Defaults to `~/.beacon/endpoint/state/devin.json` | | `--json` | Print the result as JSON | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths | `sync` also accepts: | Flag | Description | | - | - | | `--log-path ` | Runtime JSONL log path. Defaults to the resolved endpoint log | | `--print` | Print mapped events as JSON without writing them or advancing the cursor | | `--watch` | Sweep continuously on `--interval` | | `--interval ` | Sweep interval for `--watch`. Defaults to `1m`, with a 5-second floor | | `--rotate-bytes ` | Rotate the runtime log at this many bytes while this sync writes it. Defaults to 10485760, the size every Beacon writer uses; must not be smaller | ## Sweeping ```bash title="Sweep once" theme={null} beacon endpoint devin sync ``` ```bash title="Preview without writing or advancing the cursor" theme={null} beacon endpoint devin sync --print ``` ```bash title="Sweep continuously" theme={null} beacon endpoint devin sync --watch --interval 5m ``` Nothing schedules a sweep automatically. Run `sync` from the scheduler used on the endpoint, or leave `--watch` running in the account that owns the Devin CLI data directory. When the runtime log shows live hook coverage for a session, the sweep skips the prompts, tool calls and results and session start the hooks already recorded and keeps only the events the hook payload cannot carry, so nothing is counted twice. ## Status ```bash title="Show sessions and collection progress" theme={null} beacon endpoint devin status ``` The cursor prevents scheduled sweeps from re-appending a session's complete history. Each source record always maps to the same deterministic event id, so a re-read after a cursor reset appends events with the ids they had before. ## Related > [card] [Devin CLI](/runtimes/devin) > > Hook installation, telemetry coverage, and the session database sync. > [card] [beacon endpoint hooks](/cli/hooks) > > Install and inspect the live Devin CLI hook integration. # beacon endpoint discover Source: https://docs.asymptotelabs.ai/cli/endpoint-discover Discover supported local agent harnesses and their Beacon telemetry state ## Command overview `beacon endpoint discover` lists supported [agent harnesses](/runtimes) detected on the local host. ```bash title="Command syntax" theme={null} beacon endpoint discover ``` Beacon discovers local runtime surfaces and reports their telemetry configuration state, including whether supported configuration appears Beacon-managed or customer-managed. By default, discover prints detected targets. Add `--all` to include every supported runtime target, including runtimes that are not detected on the host. OpenClaw Gateway is discovered through its managed plugin, and its separate gateway OTLP export is validated through the `beacon endpoint integrations openclaw` commands after Gateway diagnostics export is configured. Gemini CLI discovery looks for the `gemini` executable and `~/.gemini/settings.json`, then checks whether local OTLP telemetry is enabled for Beacon. VS Code discovery checks Copilot Chat OpenTelemetry configuration and reports Beacon-managed state when the OTLP endpoint points at Beacon's local receiver. GitHub Copilot CLI discovery looks for the `copilot` executable or `~/.copilot/config.json`, then validates that `COPILOT_OTEL_ENABLED=true` and the effective OTLP endpoint points at Beacon's local HTTP receiver, usually `http://127.0.0.1:4318`. Claude Code discovery looks for the `claude` executable and Claude settings paths; optional Claude hook status is available through `beacon endpoint hooks status --harness claude`. Antigravity CLI discovery looks for the `antigravity` or `antigravity-cli` executable, `~/.gemini/config`, or `./.agents`, then checks whether Beacon endpoint hooks are installed in `~/.gemini/config/hooks.json` or `./.agents/hooks.json`. Grok Build discovery checks whether Beacon's managed hook file is installed at `~/.grok/hooks/beacon-endpoint.json` or `./.grok/hooks/beacon-endpoint.json`. Hermes Agent discovery looks for the `hermes` executable or the Hermes home directory (`~/.hermes` by default, moved by `HERMES_HOME` and the active profile), then checks its `config.yaml` for Beacon-managed hooks, identified by the endpoint settings flags (`--log`, `--config`, `--cli`) or a legacy `BEACON_ENDPOINT_MODE=1` prefix, together with `--platform hermes`. OpenCode discovery looks for the `opencode` executable or `~/.config/opencode`, then checks whether Beacon's managed plugin is installed at `~/.config/opencode/plugins/beacon.ts`. Cline discovery looks for `~/.cline` and treats a `cline` executable as an additional signal rather than the deciding one, because Cline's VS Code and JetBrains hosts ship no executable; it then checks whether Beacon's managed plugin is installed at `~/.cline/plugins/beacon.ts`. Pi discovery looks for the `pi` executable and treats `~/.pi/agent` as an additional signal, because an npm, pnpm, or bun install is often absent from the inherited `PATH` while its state directory is not; it then reports whether Beacon's managed extension is installed at `~/.pi/agent/extensions/beacon.ts`, and reports a `beacon.ts` without Beacon's marker as disabled rather than enabled. Oh My Pi discovery looks for the `omp` executable and treats the resolved agent directory as an additional signal for the same reason as Pi; it then reports whether Beacon's managed extension is installed at `~/.omp/agent/extensions/beacon.ts`, and honors `PI_CODING_AGENT_DIR` and `PI_CONFIG_DIR` when resolving that path. OpenClaw Gateway discovery looks for the `openclaw` executable and treats the extensions directory as an additional signal, because a gateway is commonly run as a daemon under an account whose `PATH` this process did not inherit; it then reports whether Beacon's managed plugin is installed at `~/.openclaw/extensions/beacon-endpoint/`, honors `OPENCLAW_STATE_DIR` when resolving that path, and reports a plugin directory missing either manifest as disabled rather than enabled, because OpenClaw skips such a directory silently. fx discovery looks for the `fx` executable and treats `~/.fx` as an additional signal; because fx has no file Beacon writes into, its telemetry status reports how much of the session store under `~/.fx/sessions` has actually been collected rather than whether a marker is present, distinguishing "no sessions yet" from "sessions present and none collected" from "collected and current". Qwen Code discovery looks for the `qwen` executable and treats `~/.qwen` as an additional signal, because an npm or version-manager install is often absent from the inherited `PATH` while its config directory is not; it then checks `~/.qwen/settings.json` for Beacon hook commands carrying `--platform qwen`, reporting hooks turned off by `disableAllHooks` as disabled and invalid settings JSON as misconfigured rather than missing. Devin CLI discovery looks for the `devin` executable, `~/.config/devin`, or `./.devin`, then checks whether Beacon endpoint hooks are installed in `~/.config/devin/config.json` or `./.devin/hooks.v1.json`; `devin` remains a legacy alias for `devin-cli`. Devin Desktop discovery checks Cascade/Windsurf hook files at `~/.codeium/windsurf/hooks.json` or `./.windsurf/hooks.json`. Factory Droid discovery looks for the `droid` executable and validates the effective `OTEL_TELEMETRY_ENDPOINT` launch environment without treating customer-managed shell export values as Beacon-owned configuration. Set MDM-managed launch environments to Beacon's local OTLP HTTP receiver through MDM or another customer-owned launch policy. ## Flags | Flag | Description | | - | - | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths and launch daemon | | `--log-path ` | Runtime JSONL log path | | `--json` | Print discovery as JSON | | `--all` | Discover all supported runtime targets, not only detected targets | ## Examples Show detected runtimes: ```bash title="Show detected runtimes" theme={null} beacon endpoint discover ``` Print discovery results as JSON: ```bash title="Print discovery results as JSON" theme={null} beacon endpoint discover --json ``` Show all supported runtime targets: ```bash title="Show all supported runtime targets" theme={null} beacon endpoint discover --all ``` Use system endpoint paths while discovering: ```bash title="Use system endpoint paths while discovering" theme={null} sudo beacon endpoint discover --system ``` ## Related > [card] [Agent harness integrations](/runtimes) > > Compare supported runtimes and telemetry modes. > [card] [Runtime hooks](/cli/hooks) > > Install and inspect hook-based endpoint telemetry. # beacon endpoint doctor Source: https://docs.asymptotelabs.ai/cli/endpoint-doctor Run local Beacon endpoint health checks ## Command overview `beacon endpoint doctor` runs local health checks for the Beacon endpoint agent and exits non-zero when any hard check fails. Add `--fix` to apply safe remediations for supported findings. ```bash title="Command syntax" theme={null} beacon endpoint doctor ``` Use doctor when rollout automation, support scripts, or an operator needs a pass/fail health signal. For a broader status view that includes collector readiness, service state, discovered harnesses, and last-event state, use [`beacon endpoint status`](/cli/endpoint-status). `beacon doctor` is a top-level alias for `beacon endpoint doctor`. ## Checks Doctor verifies: * Endpoint configuration file * Endpoint configuration validity * Collector configuration file * Runtime JSONL log path * Runtime log permissions * Service definition: launchd plist on macOS, systemd unit on Linux * Configured harness telemetry and recent observed events * Whether DeepSeek Harness can load the hook bridge its hooks depend on (`dsh_hook_bridge`) * Whether DeepSeek Harness hooks are actually recording live events (`dsh_hook_capture`) * Whether Beacon's git hooks ran out of time recently (`git_hook_budget`) * Whether a real user's agent runtime points at the collector (system mode only) * The system log's access mode, and in the restricted mode whether the collector is serving the ingest socket (`runtime_log_access`) The runtime log itself can be missing before the first event is written. In that case, doctor reports a warning instead of a hard failure. ### `runtime_log_access` System mode only. Reports whether the system log is shared or [restricted](/cli/endpoint-install#restricted-log-access), and in the restricted mode whether everything it depends on is in place. | Evidence | Status | Meaning | | - | - | - | | `log_access_shared` | ok | Hooks append to the log directly; any local account can modify or read it | | `log_access_restricted` | ok | Only the collector writes the log; root and the `beacon-log` group read it | | `ingest_socket_missing` | fail | The collector is not serving `/var/run/beacon-agent/ingest.sock`, so hooks are spooling their events instead of recording them. Start or repair the collector | | `ingest_socket_unresponsive` | fail | The socket is there but nothing answers on it, usually because the collector was killed and left it behind. Doctor sends an empty batch rather than only checking the file. Restart the collector | | `ingest_log_mismatch` | fail | The collector behind the socket writes a different runtime log from the one in `config.json`, so hooks are spooling their events | | `ingest_socket_untrusted` | fail | Something is at the socket path that root does not own, so hooks will not send to it | | `log_access_marker_missing` | fail | `config.json` says restricted but the log is not marked, so the collector would widen it again. Run `sudo beacon endpoint repair --system` | | `log_access_mismatch` | warn | The log is marked restricted but `config.json` says shared, so hooks cannot append | | `ingest_spool_pending` | warn | Events from the account running doctor are waiting in its spool; they go to the collector with its next event | In the restricted mode, `runtime_log_permissions` checks that the log and its directory are closed to other accounts instead of checking that hooks can append. On Windows it reads the ACL of the log directory and of everything directly in it, and reports `restricted_acl` when only SYSTEM, Administrators and the `beacon-log` group (read only) can reach them, or `restricted_log_too_open` naming each grant to anyone else. Run without `sudo` (or, on Windows, unelevated), doctor cannot open a restricted log, and says so rather than reporting a failure. On Windows the suggested repair is `beacon endpoint repair --system` from an elevated shell. ### `console_user_configured` System-mode only, and worth understanding because it is the one failure that a completely healthy endpoint can still report. A system endpoint runs as root, so it has to work out whose agent settings to configure, and the collector is useless if nothing exports to it. This check asks whether that happened: ``` console_user_configured: fail target=alice (alice has no agent runtime pointed at this collector, so their sessions are not being captured) action="sudo beacon endpoint user-config repair-installed --system" ``` Everything else can be green when this fails. The collector is running, the service is loaded, and the harness check passes, because `doctor --system` runs as root and sees the settings the install wrote for root. The person whose sessions matter is the one with nothing. If no logged-in user can be identified at all, this reports a warning rather than a failure: an unattended host legitimately has nobody to configure, and that is not something an operator can act on. ### `dsh_hook_bridge` This check runs only when DeepSeek Harness is detected and Beacon's hooks for it are installed. `dsh` does not ship the Claude Code hook bridge the hooks run through, and a mount it cannot load is skipped at boot with a warning, so an install can be complete on disk and record nothing. The check reports what Beacon found about the bridge: ``` dsh_hook_bridge: warn target=deepseek_harness (DeepSeek Harness hooks are installed but dsh cannot load them: hook bridge cannot be loaded by dsh 0.2.2: dsh is 0.2.2 but @deepseek-ai/dsh-hooks-claude-code is 0.2.1-rc.2 and @deepseek-ai/dsh-hook-protocol is 0.2.1-rc.2; ...) action="run `dsh plugin --profile add @deepseek-ai/dsh-hooks-claude-code@0.2.2 @deepseek-ai/dsh-hook-protocol@0.2.2` (Beacon does not install packages), then restart dsh; ..." ``` | Evidence | Status | Meaning | | - | - | - | | `dsh_hook_bridge_loads` | ok | A bridge and protocol matching `dsh` load, from a profile, the installation, or a path mount | | `dsh_hook_bridge_partial` | warn | Some profiles have no bridge and boot without hooks; they are named | | `dsh_hook_bridge_unavailable` | warn | Nothing loads a matching bridge, most often after a `dsh` upgrade (both versions are named), or a bridge mounted by path whose `dsh` peers do not resolve from where it sits | | `dsh_version_unknown` | warn | A bridge resolves, but `dsh` is not on `PATH`, so its version cannot be compared | It is a warning, not a failure: installing packages into a `dsh` profile is the operator's step, and Beacon does not take it. `--fix` lists the check as a manual skip. See [Installing the hook bridge](/runtimes/deepseek-harness#installing-the-hook-bridge). ### `dsh_hook_capture` This check runs only when DeepSeek Harness is detected and Beacon's hooks for it are installed. It catches a failure no other check sees: the hooks are loaded, but they cannot write the runtime log because `dsh` runs them inside its session sandbox. `harness_observed` stays green in this state, because `beacon endpoint dsh sync` fills the log with poll events under the same harness name. ``` dsh_hook_capture: warn target=deepseek_harness (2 DeepSeek Harness session(s) ran without a live hook event (newest 2026-09-21T11:00:00Z; no hook event since the hooks were installed). The usual cause is dsh's sandbox: ...) action="run `beacon endpoint dsh sync` to backfill those sessions from DeepSeek's session store; ..." ``` Doctor cannot reproduce the sandbox, because running the hook command from doctor runs it outside `dsh`, where it succeeds. So the check compares evidence instead. It counts native sessions that DeepSeek wrote after the hooks were installed and more than a few minutes after the last event with `harness.collection_method=hook`. The live log and every rotated archive are searched for that event. Each of those sessions is one the live hooks did not capture. Once rotation has started discarding history, sessions older than the oldest retained event are not counted, because their hook events may have rotated out. Evidence doctor cannot read, such as a missing hooks file, is reported as a warning rather than a pass. The other cause is a `dsh` process that was already running when the hooks were installed and has not been restarted. This is a warning, not a failure. The sandbox mode is the operator's choice in `dsh`, and Beacon does not change it. `--fix` lists the check as a manual skip. See [Live hooks and the DeepSeek Harness sandbox](/runtimes/deepseek-harness#live-hooks-and-the-deepseek-harness-sandbox). ### `git_hook_budget` This check appears only when one of Beacon's [git hooks](/cli/git#hook-runs-that-run-out-of-time) ran out of time in the last seven days, in any repository. It counts the `git.hook_budget_exceeded` events in the runtime log and names the most recent. ``` git_hook_budget: warn target=/work/my-repo (2 hook run(s) ran out of time in the last 7 days, 1 cut short; last 2026-10-14T09:00:03Z: post-commit in attribute, 3.3s of 3s, cut short) action="run `beacon git status` in the repository to see its overruns, and `beacon git link ` to link a commit the hook left unlinked" ``` It warns when a run was cut short, because a commit may have been left unlinked; runs that only finished late are reported as ok. The budgets are fixed, so `--fix` lists the check as a manual skip. ## Fix mode `beacon endpoint doctor --fix` plans and applies safe remediations for supported findings. It can create a missing runtime log, and recreate managed collector configuration and the service definition (a launchd plist or a systemd unit) when the endpoint configuration is valid. On a Windows system install it also resets the log directory ACL, from an elevated shell, when interactive users cannot append to the runtime log or when they hold more than append (an older install's Modify grant): the same ACL a fresh install applies, described in [Windows](/platforms/windows#what-the-install-does). Fix mode deliberately skips cases that need operator intent, such as invalid endpoint configuration, missing harness setup, missing observed runtime events, unsafe runtime log permissions, or service repair on a host with no service manager to repair. If a collector service repair fails, Beacon rolls back the files and service state it changed where possible, then refreshes doctor results so the printed checks reflect any partial fixes that succeeded. JSON output includes applied and skipped fix details so deployment scripts can distinguish remediated checks from findings that still need manual action. ## Flags | Flag | Description | | - | - | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths and launch daemon | | `--log-path ` | Runtime JSONL log path | | `--fix` | Apply safe remediations for supported failed or warning checks | | `--json` | Print doctor results as JSON | ## Examples Run health checks with the default per-user paths: ```bash title="Run health checks with the default per-user paths" theme={null} beacon endpoint doctor ``` Run health checks and apply supported fixes: ```bash title="Run health checks and apply supported fixes" theme={null} beacon endpoint doctor --fix ``` Check a root-managed endpoint deployment: ```bash title="Check a root-managed endpoint deployment" theme={null} sudo beacon endpoint doctor --system ``` Repair supported root-managed findings: ```bash title="Repair supported root-managed findings" theme={null} sudo beacon endpoint doctor --system --fix ``` Print machine-readable check results: ```bash title="Print machine-readable check results" theme={null} beacon endpoint doctor --json ``` Print machine-readable results with applied and skipped fix details: ```bash title="Print machine-readable results with applied and skipped fix details" theme={null} beacon endpoint doctor --fix --json ``` Use the top-level alias: ```bash title="Use the top-level alias" theme={null} beacon doctor ``` ## Related > [card] [Endpoint status](/cli/endpoint-status) > > Inspect collector, service, harness, diagnostics, and runtime-log state. > [card] [Endpoint inventory](/cli/endpoint-inventory) > > Show configured, detected, and observed endpoint inventory. # beacon endpoint dsh Source: https://docs.asymptotelabs.ai/cli/endpoint-dsh Collect endpoint telemetry from DeepSeek Harness session records ## Command overview `beacon endpoint dsh` reads the native session records DeepSeek Harness commits under `$DSH_HOME/sessions` (default `~/.dsh/sessions`) and maps them into Beacon [endpoint events](/concepts/core-concepts#endpoint-event). ```bash title="Command syntax" theme={null} beacon endpoint dsh [command] ``` This complements the live [DeepSeek Harness hooks](/runtimes/deepseek-harness). Hooks observe current tool activity and optional policy decisions. Session sync backfills assistant text and reasoning, tool failure status, persisted command/file/MCP detail, and token usage that the hook bridge does not expose. See [Reading the session store](/runtimes/deepseek-harness#reading-the-session-store) for how each record maps. Every event from this command is marked `harness.collection_method=poll`. Beacon reads committed records after the fact, so this path cannot hold, approve, deny, or delay a tool call and does not synthesize approval events. Reading is local and offline. ## Commands | Command | Description | | - | - | | `beacon endpoint dsh sync` | Read new DeepSeek Harness session records into the runtime log | | `beacon endpoint dsh status` | Show DeepSeek Harness sessions and collection progress | ## Flags Both subcommands accept: | Flag | Description | | - | - | | `--dsh-home ` | DeepSeek Harness home. Defaults to `$DSH_HOME` or `~/.dsh` | | `--state ` | Collector cursor file. Defaults to `~/.beacon/endpoint/state/dsh.json` | | `--workspace ` | Only include sessions whose recorded cwd matches this workspace | | `--session-id ` | Only include one DeepSeek Harness session id | | `--json` | Print the result as JSON | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths | `sync` also accepts: | Flag | Description | | - | - | | `--log-path ` | Runtime JSONL log path. Defaults to the resolved endpoint log | | `--print` | Print mapped events without writing them or advancing the cursor | | `--watch` | Sweep continuously on `--interval` | | `--interval ` | Sweep interval for `--watch`. Defaults to `1m`, with a 5-second floor | | `--rotate-bytes ` | Rotate the runtime log at this many bytes while this sync writes it. Defaults to 10485760, the size every Beacon writer uses; must not be smaller. See [large backfills and log rotation](/runtimes/claude-code#large-backfills-and-log-rotation) | ## Sweeping ```bash title="Sweep once" theme={null} beacon endpoint dsh sync ``` ```bash title="Preview without writing or advancing the cursor" theme={null} beacon endpoint dsh sync --print ``` ```bash title="Sweep continuously" theme={null} beacon endpoint dsh sync --watch --interval 5m ``` Nothing schedules a sweep automatically. Run `sync` from the scheduler used on the endpoint, or leave `--watch` running in the account that owns `$DSH_HOME`. A partly written trailing record is left for the next sweep rather than treated as corruption. ## Status ```bash title="Show sessions and collection progress" theme={null} beacon endpoint dsh status ``` The cursor prevents scheduled sweeps from re-appending a session's complete history. Re-reading is safe: the same source record maps to the same deterministic event id. ## Related > [card] [DeepSeek Harness](/runtimes/deepseek-harness) > > Hook installation, telemetry coverage, and known limitations. > [card] [beacon endpoint hooks](/cli/hooks) > > Install and inspect the live DeepSeek Harness hook integration. # beacon endpoint fx Source: https://docs.asymptotelabs.ai/cli/endpoint-fx Collect endpoint telemetry from fx (vercel-labs/fx) session records ## Command overview `beacon endpoint fx` collects telemetry from [fx](/runtimes/vercel-fx), Vercel Labs' native coding agent, by reading the session records fx commits under `~/.fx/sessions` and converting them into Beacon [endpoint events](/concepts/core-concepts#endpoint-event). ```bash title="Command syntax" theme={null} beacon endpoint fx [command] ``` It is a command rather than an install step because fx has nothing to install into. Every other supported runtime exposes a hook config, a plugin directory, or an OTLP endpoint, so Beacon writes something once and the runtime calls it. fx has none of those: what it has is a durable session log, so collecting from it is an action rather than a configuration. Every event is marked `harness.collection_method=poll`. Beacon sees what a turn did once fx committed it, rather than observing the agent as it works, so nothing here can hold or deny a tool call. Reading is local and offline. Nothing this command does reaches the network. ## Commands | Command | Description | | - | - | | `beacon endpoint fx sync` | Read new fx session records into the runtime log | | `beacon endpoint fx status` | Show fx sessions on this machine and how much of each has been collected | ## Flags Both subcommands accept: | Flag | Description | | - | - | | `--sessions-dir ` | fx session directory. Defaults to `~/.fx/sessions` | | `--state ` | Collector cursor file. Defaults to `~/.beacon/endpoint/state/fx.json` | | `--json` | Print the result as JSON | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths. The cursor moves beside the system runtime log | `sync` also accepts: | Flag | Description | | - | - | | `--log-path ` | Runtime JSONL log path. Defaults to the resolved endpoint log | | `--print` | Print mapped events as JSON without writing them or advancing the cursor | | `--watch` | Sweep continuously on `--interval` instead of sweeping once and exiting | | `--interval ` | Sweep interval for `--watch`. Defaults to `1m`, with a 5-second floor | | `--rotate-bytes ` | Rotate the runtime log at this many bytes while this sync writes it. Defaults to 10485760, the size every Beacon writer uses; must not be smaller. See [large backfills and log rotation](/runtimes/claude-code#large-backfills-and-log-rotation) | ## Sweeping ```bash title="Sweep once" theme={null} beacon endpoint fx sync ``` ```bash title="Preview without writing anything" theme={null} beacon endpoint fx sync --print ``` `--print` is a dry run in both directions: it neither writes the runtime log nor advances the cursor, so running it twice shows the same events and running it does not quietly consume the work a later real sweep would do. ```bash title="Sweep continuously" theme={null} beacon endpoint fx sync --watch --interval 5m ``` Unless the [scheduled session sync](/cli/endpoint-install#scheduled-session-sync) is on, nothing sweeps on its own. Run `sync` under whatever scheduler the platform already uses, or leave `--watch` running. A sweep prints what it did, and says out loud the two conditions a counter would hide: ```text theme={null} fx sync: 4 sessions, 2 changed, 37 events, 0 errors 1 unreadable line(s) in fx session logs 1 session(s) had a partly written record; it will be read on the next sweep ``` A damaged session log and an empty one produce the same event count, and only one of them is a reason to look at the machine. The summary is reported even when the sweep hit an error, because a sweep that collected nine sessions and failed on the tenth did nine sessions' worth of work. ## Status ```bash title="Show fx sessions and collection progress" theme={null} beacon endpoint fx status ``` ```text theme={null} fx sessions: 2 in /Users/you/.fx/sessions 1788051418424-... collected seq 41/41 /Users/you/src/app 1788139022101-... pending seq 0/12 /Users/you/src/api ``` `collected` means the cursor is level with what fx's own manifest says it has committed, in the same log generation. A session whose manifest cannot be read is reported as pending rather than assumed collected, because it cannot say how far fx has committed. ## Cursor behavior The cursor is what keeps a scheduled sweep from re-appending every session's whole history. It stores both the sequence number and fx's log generation, because fx restarts sequence numbers when it compacts a session log; without the generation a compaction would look like a rewind. | Mode | Default cursor path | | - | - | | User | `~/.beacon/endpoint/state/fx.json` | | System | `fx-state.json` beside the system runtime log | A sweep reads each session's log only as far as the manifest's committed watermark, so a frame fx is still writing is left for the next sweep rather than counted as corruption. Re-reading is safe: each event's dedup id comes from the record's own coordinates rather than its content, so the same fx record maps to the same event every time. ## Related > [card] [fx (Vercel Labs)](/runtimes/vercel-fx) > > Telemetry coverage, discovery, and known gaps for the runtime. > [card] [beacon endpoint discover](/cli/endpoint-discover) > > Check whether fx is detected and how much has been collected. # beacon endpoint harness2 Source: https://docs.asymptotelabs.ai/cli/endpoint-harness2 Collect endpoint telemetry from Harness² (google-research/harness2) rollouts ## Command overview `beacon endpoint harness2` collects telemetry from [Harness²](/runtimes/harness2), Google Research's framework for recursive agent harnessing, by reading the executor event streams Harness² records under its runs directory and converting them into Beacon [endpoint events](/concepts/core-concepts#endpoint-event). ```bash title="Command syntax" theme={null} beacon endpoint harness2 [command] ``` It is a command rather than an install step because Harness² has nothing to install into. It runs OpenCode and Codex in environments it builds itself, so what records each rollout is the stream Harness² writes beside it, and collecting from that is an action rather than a configuration. Every event is marked `harness.collection_method=poll` and `harness.name=harness2`. Beacon sees a rollout once Harness² recorded it, so nothing here can hold or deny a tool call. Reading is local and offline. Nothing this command does reaches the network. ## Commands | Command | Description | | - | - | | `beacon endpoint harness2 sync` | Read new rollout events into the runtime log | | `beacon endpoint harness2 status` | Show rollouts on this machine and how much of each has been collected | ## Flags Both subcommands accept: | Flag | Description | | - | - | | `--runs-dir ` | Harness² runs directory. Repeatable. Defaults to `$HARNESS2_RUNS_DIR`, or `~/harness2/runs`, plus every directory an earlier `sync` was given | | `--state ` | Collector cursor file. Defaults to `~/.beacon/endpoint/state/harness2.json` | | `--json` | Print the result as JSON | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths. The cursor moves beside the system runtime log | `sync` also accepts: | Flag | Description | | - | - | | `--log-path ` | Runtime JSONL log path. Defaults to the resolved endpoint log | | `--print` | Print mapped events as JSON without writing them, advancing the cursor, or remembering a `--runs-dir` | | `--watch` | Sweep continuously on `--interval` instead of sweeping once and exiting | | `--interval ` | Sweep interval for `--watch`. Defaults to `1m`, with a 5-second floor | | `--rotate-bytes ` | Rotate the runtime log at this many bytes while this sync writes it. Defaults to 10485760, the size every Beacon writer uses; must not be smaller. See [large backfills and log rotation](/runtimes/claude-code#large-backfills-and-log-rotation) | ## Runs directories Harness² writes to `runs/` inside its own checkout unless `HARNESS2_RUNS_DIR` says otherwise, and a checkout can be anywhere. Name it once: ```bash title="Read a checkout's runs directory" theme={null} beacon endpoint harness2 sync --runs-dir ~/src/harness2/runs ``` The directory is remembered in the cursor file, so later syncs with no `--runs-dir`, and the [install-time backfill](/cli/endpoint-install#session-backfill), keep reading it alongside the default. Each new value of `HARNESS2_RUNS_DIR`, which Harness² recommends when changing models or task selection, is a new directory to name. ## Sweeping ```bash title="Sweep once" theme={null} beacon endpoint harness2 sync ``` ```bash title="Preview without writing anything" theme={null} beacon endpoint harness2 sync --print ``` ```bash title="Sweep continuously while an experiment runs" theme={null} beacon endpoint harness2 sync --watch --interval 1m ``` Unless the [scheduled session sync](/cli/endpoint-install#scheduled-session-sync) is on, nothing sweeps on its own. Run `sync` after an experiment, under whatever scheduler the platform already uses, or leave `--watch` running during one. ```text theme={null} Harness² sync: 48 rollouts, 12 changed, 1934 events, 0 errors 2 rollout(s) still being written; the rest is read on the next sweep ``` ## Status ```bash title="Show rollouts and collection progress" theme={null} beacon endpoint harness2 status ``` ```text theme={null} Harness² rollouts: 3 in /Users/you/src/harness2/runs collected opencode 52 events jb accountant/task3 h2-final-1 /Users/you/src/harness2/runs/jb/dataset/... collected codex 38 events lab antitrust-competition__t07__h2-cand-dom-1 /Users/you/src/harness2/runs/lab/results/cx/... pending opencode 0 events wb office xlsx-budget__Ab3dE /Users/you/src/harness2/runs/wb/office/... ``` `collected` means the file is unchanged since a sweep last read all of it. ## Cursor behavior The cursor keeps one entry per trajectory file: the last line whose events were all written, the file's size and modification time, and the session it held. A stream still being written is read up to its last complete line, and the rest on a later sweep. When Harness² re-rolls a run into the same path, the file names a new session and is read from its start. | Mode | Default cursor path | | - | - | | User | `~/.beacon/endpoint/state/harness2.json` | | System | `harness2-state.json` beside the system runtime log | Re-reading is safe: each event's id comes from its executor, session, line and kind, so the same line maps to the same event every time. ## Related > [card] [Harness²](/runtimes/harness2) > > What Beacon records from Harness² rollouts, and the known gaps. > [card] [beacon endpoint install](/cli/endpoint-install#session-backfill) > > The install-time backfill that runs every session collector once. # beacon endpoint install Source: https://docs.asymptotelabs.ai/cli/endpoint-install Install or update the local Beacon endpoint collector and runtime telemetry ## Command overview `beacon endpoint install` configures the local endpoint agent, writes the OpenTelemetry Collector configuration, installs the collector service, configures selected agent harnesses, and optionally adds Splunk HEC or Falcon LogScale HEC collector destinations. The service is a launchd job on macOS and a systemd unit on Linux. Where neither is available, Beacon runs a supervised collector instead and says so. See [macOS](/platforms/macos) or [Linux](/platforms/linux) for the platform setup, including the Linux packages and the `--service` flag. ```bash title="Command syntax" theme={null} beacon endpoint install ``` By default, Beacon discovers the runtimes installed for the invoking user and configures every integration it can safely install. This includes supported OTLP settings, hooks, plugins, or extensions; VS Code receives both its OTLP and hook configuration. An explicit `--harness` list disables automatic selection and configures only the runtimes it names: a hook-only list such as `--harness omp` leaves Claude Code's and Codex's settings untouched, `--harness ""` installs the collector alone, and `--harness all` forces every installable integration. If discovery finds no automatically installable runtime, Beacon installs the collector without changing runtime configuration. Discovery can also find runtimes whose collection path cannot be enabled safely by a machine-wide default. Beacon reports these without treating them as install failures: GitHub Copilot CLI needs launch-environment settings, Claude Cowork needs admin configuration, poll-only fx needs `beacon endpoint fx sync`, and OpenHands CLI/GUI coverage requires project-level hooks installed from inside each repository. Factory Droid's hooks are installed automatically when Droid is detected, while its separate OTLP endpoint remains launch-environment managed. The `claude` harness writes both Claude Code's OpenTelemetry settings and user-level hooks, because the OTLP export alone carries no session start or end, file activity, or subagent lifecycle. `beacon endpoint hooks uninstall --harness claude` removes those hooks again, and `beacon endpoint hooks install --harness claude --level project` adds project-level hooks. A hook that cannot be written, for example into a settings file whose `hooks` key is not an object, is reported as a warning with the retry command; the endpoint itself is installed and `endpoint install` still exits 0. Codex uses OTLP logs plus one selective turn trace for tokens, and its required SessionStart hook adds local OS-user context. Beacon applies redaction, sanitization, truncation, and event-size limits before writing supported content fields. ## Flags | Flag | Description | | - | - | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths and launch daemon. Requires root | | `--log-path ` | Runtime JSONL log path | | `--harness ` | Harnesses to configure. Defaults to `auto`, which installs every detected integration Beacon can configure and reports detected manual or poll-only integrations. Use `all` to force every installable integration, or pass an exact comma-separated list such as `claude,codex,cursor,kimi`. DeepSeek Harness and Kimi Code are user-level only. An explicit list preserves exact-selection behavior | | `--otlp-grpc-port ` | Local OTLP gRPC port. Defaults to `4317` | | `--otlp-http-port ` | Local OTLP HTTP port. Defaults to `4318` | | `--health-port ` | Local collector health-check port. Defaults to `13133`, moved by the same amount as `--otlp-http-port` when that changes (HTTP port `4328` gives `13143`), so a second collector on alternate OTLP ports does not collide with the first | | `--collector ` | Path to a `beacon-otelcol` binary. Without it, Beacon uses the one beside the `beacon` CLI, then one on `PATH` | | `--no-start` | Write files without starting the collector service | | `--no-browser` | During interactive setup, print the sign-in URL instead of opening a browser, and do not open the dashboard when setup finishes. Useful where no browser can be opened. Open the URL on this machine, or on another computer after forwarding the port it names over SSH | | `--service ` | Service manager to use: `auto` (default), `launchd`, `systemd`, or `none` for a supervised collector process | | `--dry-run` | Print planned actions without changing endpoint files or services | | `--include-runtime-metrics` | Include generic process, runtime, and harness operational OTLP metrics in Beacon JSONL. By default, low-signal metrics such as process CPU, memory, Node.js event loop, V8 heap, GitHub Copilot CLI, and OpenClaw operational metrics are filtered out | | `--include-codex-spans` | Include every high-volume Codex OTLP span for troubleshooting. By default, Beacon keeps semantic logs and only the usage-bearing completed turn span | | `--claude-capture-model-context` | Record context Claude Code gives the model that no other event reports: pages its WebFetch tool fetches and MCP tool descriptions it shows the model as `mcp.tool_listed`. Turns on Claude Code's API-body logs; the collector keeps only that context and drops every body. Off by default; an install without the flag turns it off. See [Claude Code: model context from API bodies](/runtimes/claude-code#model-context-from-api-bodies) | | `--splunk-hec-endpoint ` | Splunk HEC endpoint URL | | `--splunk-hec-token ` | Splunk HEC token | | `--splunk-index ` | Optional Splunk index | | `--splunk-source ` | Optional Splunk source | | `--splunk-sourcetype ` | Optional Splunk sourcetype | | `--splunk-insecure-skip-verify` | Skip Splunk HEC TLS certificate verification | | `--splunk-ca-file ` | Optional CA certificate path for Splunk HEC TLS verification | | `--falcon-hec-endpoint ` | Falcon LogScale HEC endpoint URL | | `--falcon-hec-token ` | Falcon LogScale ingest token | | `--falcon-index ` | Optional Falcon LogScale repository for multi-repository tokens | | `--falcon-source ` | Optional Falcon LogScale source | | `--falcon-sourcetype ` | Optional Falcon LogScale parser or sourcetype | | `--falcon-insecure-skip-verify` | Skip Falcon LogScale HEC TLS certificate verification | | `--falcon-ca-file ` | Optional CA certificate path for Falcon LogScale HEC TLS verification | | `--otlp-forward-endpoint ` | Also forward the Claude Code and Codex OTLP the local collector receives, with secrets redacted and raw API bodies dropped, to a second OTLP endpoint: `host:port` or a URL for gRPC, the base URL for HTTP. For runtimes that already exported to another backend before Beacon took over their OTLP settings. See [Kandji, GCS and an existing OTLP backend](/guides/kandji-otlp-forward-mdm). Omitted, install and repair keep the forward the endpoint already has | | `--otlp-forward-protocol ` | `grpc` (default) or `http/protobuf` | | `--otlp-forward-harness ` | Runtimes whose OTLP the forward carries, comma-separated. Default `claude,codex`; any other source, such as the browser extension, stays local | | `--otlp-forward-header ` | Header sent with every forwarded export, usually the backend's API key; repeatable. Values are stored in a root-only `otlp-forward-headers.json` beside `config.json`, which keeps only the names; status and doctor show names only | | `--otlp-forward-insecure` | Send the forward without TLS (plaintext gRPC) | | `--otlp-forward-insecure-skip-verify` | Skip TLS certificate verification for the forward | | `--otlp-forward-ca-file ` | Optional CA certificate path for the forward's TLS verification | | `--no-otlp-forward` | Remove a configured OTLP forward | | `--log-access ` | System log access: `shared` (the default) or `restricted`. See [Restricted log access](#restricted-log-access). Omitted, an install keeps the mode the endpoint already has. A first install from a package is restricted ([Package installs](/security/restricted-log-access#package-installs)). System installs only | | `--log-readers ` | Accounts to add to the `beacon-log` group of a restricted log, comma-separated (`DOMAIN\name` on Windows). Accounts are only added, never removed; one that cannot be added is reported without failing the install. Package installs set it from `BEACON_LOG_READERS`. System installs only | | `--dashboard ` | `enabled` (the default) or `disabled`: whether any account on this machine may run the [local dashboard](/cli/dashboard). See [Local dashboard](#local-dashboard). Omitted, an install keeps the recorded setting. System installs only | | `--no-backfill` | Skip the [session backfill](#session-backfill). `BEACON_BACKFILL=0` does the same | | `--session-sync` | Turn on the [scheduled session sync](#scheduled-session-sync): every 15 minutes, read new records from the agent runtimes' local session stores into the runtime log. Kept by repair and package upgrades | | `--no-session-sync` | Turn the scheduled session sync off and remove its job | | `--connect` | After a successful install, attempt to connect this endpoint to Asymptote managed ingest. User mode uses the signed-in CLI account; system mode opens browser approval. A connection failure does not roll back or fail the completed local install; verify with `beacon endpoint status --json` and retry with [`beacon endpoint connect`](/cli/endpoint-connect) | ## Session backfill After a successful install, user or system mode, Beacon reads the last 30 days of agent sessions from each runtime's own session store into the runtime log, so the [local dashboard](/cli/dashboard) has recent sessions before any agent runs again. It is the same sweep each runtime's sync command runs (`beacon endpoint claude sync`, `codex sync`, `cursor sync`, `opencode sync`, `copilot sync`, `cline sync`, `factory sync`, `pi sync`, `prime sync`, `hermes sync`, `devin sync`, `dsh sync`, `fx sync`, `grok sync`, `harness2 sync`, and `integrations openclaw sessions sync`). Its events carry `harness.collection_method=poll`. The sweep is local and never touches the network. The backfill is bounded so a machine with a lot of history cannot crowd live telemetry out of the runtime log's rotation window: * Only sessions modified in the last 30 days are read, newest first. * It writes at most 24 MiB in total, and no single runtime takes more than 12 MiB of that. Nothing past a limit is lost. The collector cursors move only past what was written, and sessions left out are not touched, so the runtime's sync command reads the rest; install names the command for each runtime that hit the limit. A runtime also stops early, and is reported the same way, if writing more would rotate its own backfill out of the log, which takes heavy live activity during the backfill. A runtime whose store cannot be read is reported as a warning and never fails the install. Re-running install reads only what changed since the last sweep. ### System, package, and MDM installs A system, package, or MDM install runs as root, whose home holds no agent sessions, so it reads the session stores of the active console user instead: the same person system hook repair and the scheduled inventory resolve (`SUDO_USER` or the logind seat on Linux, the console owner on macOS, the active session on Windows). Its collector cursors stay under the system base directory. Because root is reading a home that user controls, the read is confined to that home: * A link that leads out of the home, a file the user does not own (including a hard link to someone else's), and a FIFO, socket, or device are skipped rather than read. Install lists what it skipped. * SQLite stores are read from a private copy under the system base directory, retaken if the runtime rewrites its write-ahead log mid-copy. A database larger than 512 MiB with its log is not copied, and install names the runtime's sync command to run as the user instead. * A manual `beacon endpoint sync` run as the user is not confined. When nobody is logged in, install says the backfill was skipped and the next connect or manual sync reads the sessions. `--dry-run` installs skip it, and `--no-backfill` or `BEACON_BACKFILL=0` turn it off. If this install also connects to Asymptote Managed, the same history is [uploaded by the connect](/cli/endpoint-connect#session-backfill). ## Scheduled session sync The session backfill runs once, at install. To keep reading the runtimes' session stores after that, turn on the scheduled session sync: ```bash theme={null} sudo /opt/beacon/bin/beacon endpoint sessions enable --system # an endpoint that is already installed sudo /opt/beacon/bin/beacon endpoint sessions disable --system # turn it off and remove the job ``` `sessions enable` and `disable` change only this setting and the job. `install` and `repair` take `--session-sync` and `--no-session-sync` too, but repair rebuilds the endpoint from its flags: run without the ones the endpoint was set up with, it resets the harnesses and OTLP ports and drops a Splunk or Falcon HEC destination. For a package or MDM rollout, set `BEACON_SESSION_SYNC=1` in the environment of the package's install script (`/opt/beacon/scripts/install-endpoint.sh`), or run `/opt/beacon/bin/beacon endpoint sessions enable --system` on Macs that already have Beacon. `BEACON_SESSION_SYNC=0` turns it off, and leaving it unset keeps what the endpoint already has, so a package upgrade never changes it. It is off by default. Hooks and OTLP already capture sessions live, and the session stores add what only they record, such as Claude Code's per-request token usage and complete assistant text from its transcripts. Turning it on writes those records as poll events (`harness.collection_method=poll`) alongside the live ones, which matters when the runtime log is forwarded. Token reports keep live usage authoritative over poll usage for the same session. ### How it runs * The job runs `beacon endpoint sessions sync` every 15 minutes: `com.beacon.endpoint.session-sync` (a LaunchDaemon in system mode, a LaunchAgent in user mode) or `beacon-session-sync.timer` on systemd. The first run is 15 minutes after the job is loaded by the install, a repair, a reboot, or a package upgrade, never at load. * Each run is the same sweep as the backfill above, with the same 30-day window, size budget, and, in system mode, the same confined read of the console user's stores. Each runtime's cursor makes a run read only what is new. With nobody logged in, a system run reads nothing. * In system mode a SQLite store (Cursor, OpenCode, Devin CLI, Hermes Agent) is read from a private copy, as the backfill does. A copy can approach 512 MiB and those runtimes are captured live by their hooks or plugins, so the scheduled job copies each one at most once an hour. A store over 512 MiB is skipped and named in the job's output; run that runtime's sync command as the user to read it. * Only one sync runs at a time. An install, connect, `beacon endpoint sessions sync`, or `beacon endpoint sync` waits for a sync already in progress and then reads only what it left. A scheduled run or a `--watch` sweep skips its turn while another sync is running, and `--print` dry runs never wait. * When the install or a later connect skipped the backfill (`--no-backfill` or `BEACON_BACKFILL=0`), each runtime no sync had read yet is limited to sessions active since that skip, not the last 30 days. A session that continues past the skip is read from its start, a runtime that was already synced reads on from where it was, and a later backfill lifts the limit. * A user-mode job keeps the store locations the install saw (`CLAUDE_CONFIG_DIR`, `CODEX_HOME`, `COPILOT_HOME`, `XDG_DATA_HOME`, `OPENCODE_DB`, and the rest), because the scheduler does not pass a shell's environment. ### What to expect when you turn it on The first runs catch up. When the backfill stopped at its size limit, the rest of the last 30 days is left for the job, and each run writes up to another 12 MiB per runtime (24 MiB in all) until it has read everything. After that, a run writes only what the agents recorded since the previous one. On a machine with a lot of agent history the catch-up takes a few runs, and because the runtime log rotates at 10 MiB and keeps five archives, it pushes older local events out of the log sooner than live telemetry alone would. An endpoint connected to Asymptote Managed forwards the catch-up like any other new events. ### Settings and status The setting is `session_sync.enabled` in `config.json`. Repair and package upgrades keep it, and `beacon endpoint sessions disable` or `--no-session-sync` turns it off and removes the job. A scheduled run also checks the setting, so a job left behind after the config was set to off reads nothing. `beacon endpoint status` shows `Session sync: every 15m0s; job loaded=true`, and `beacon endpoint sessions sync` runs the same sweep by hand. A host without launchd or systemd cannot run the job; run `beacon endpoint sessions sync` from your own scheduler there. ## Interactive onboarding wizard On a first interactive install the [onboarding wizard](/cli/endpoint-onboarding) signs in, then asks where this machine's telemetry should go: | Answer | What happens | | - | - | | Asymptote Managed (default) | Shows what will be sent, asks for Standard or Metadata-only privacy, then installs Beacon and connects this endpoint. The confirm screen names the signed-in account and states that forwarding starts, then names the destination and the privacy mode. It also says that the last 30 days of agent sessions are uploaded, before you accept. Once connected, the install ends on a short summary and opens the dashboard. An endpoint that is already enrolled keeps its device key and is not re-enrolled. | | Local only | Explicitly opts out of managed forwarding. Nothing is sent anywhere; the session backfill stays in the local log. | `--connect` presets Asymptote Managed and skips the destination question. Whether connect was chosen in the wizard or by the flag, a failed enrollment leaves the completed local install exiting successfully and prints `beacon endpoint connect` as the retry command. Automation should verify `.managed_ingest.connected` with `beacon endpoint status --json`. `BEACON_MANAGED_INGEST=0` hides the managed answer. The wizard is never shown for system/root, package, MDM, CI, dry-run, or redirected-input installs. Customer-managed destinations remain available through the [log forwarding packs](/log-forwarding) after choosing Local. ## Examples Install with the default per-user paths: ```bash title="Install with the default per-user paths" theme={null} beacon endpoint install ``` Install without starting the collector service: ```bash title="Install without starting the collector service" theme={null} beacon endpoint install --no-start ``` Configure only one harness: ```bash title="Configure only one harness" theme={null} beacon endpoint install --harness claude ``` Override discovery with an exact harness list: ```bash title="Configure an exact harness list" theme={null} beacon endpoint install --harness claude,codex,gemini ``` Force every installable integration without checking whether its runtime is present: ```bash title="Configure all supported integrations" theme={null} beacon endpoint install --harness all ``` Configure VS Code Copilot telemetry: ```bash title="Configure VS Code Copilot telemetry" theme={null} beacon endpoint install --harness vscode ``` Configure Devin CLI and Devin Desktop hooks alongside the default OTLP harnesses: ```bash title="Configure Devin CLI and Devin Desktop hooks alongside the default OTLP harnesses" theme={null} beacon endpoint install --harness claude,codex,devin-cli,devin-desktop ``` Include low-level runtime OTLP metrics that are filtered from JSONL by default: ```bash title="Include low-level runtime OTLP metrics that are filtered from JSONL by default" theme={null} beacon endpoint install --include-runtime-metrics ``` Include raw Codex spans for troubleshooting: ```bash title="Include raw Codex spans for troubleshooting" theme={null} beacon endpoint install --include-codex-spans ``` Install with system paths for a root-managed package or MDM deployment: ```bash title="Install with system paths for a root-managed package or MDM deployment" theme={null} sudo beacon endpoint install --system --harness claude,codex ``` Install and forward to CrowdStrike Falcon LogScale HEC: ```bash title="Install and forward to CrowdStrike Falcon LogScale HEC" theme={null} sudo beacon endpoint install \ --system \ --falcon-hec-endpoint https://cloud..humio.com/api/v1/ingest/hec \ --falcon-hec-token "$FALCON_HEC_TOKEN" \ --falcon-index beacon ``` Configure Factory Droid's OTLP endpoint through MDM or another customer-owned launch policy: ```bash title="Configure Factory Droid's OTLP endpoint through MDM or another customer-owned launch policy" theme={null} export OTEL_TELEMETRY_ENDPOINT="http://127.0.0.1:4318" droid exec "review this repository" ``` Configure GitHub Copilot CLI's OTLP endpoint through MDM or another customer-owned launch policy: ```bash title="Configure GitHub Copilot CLI's OTLP endpoint through MDM or another customer-owned launch policy" theme={null} export COPILOT_OTEL_ENABLED="true" export OTEL_EXPORTER_OTLP_ENDPOINT="http://127.0.0.1:4318" ``` For richer hook telemetry, install runtime hooks after the endpoint configuration exists: ```bash title="Install runtime hooks" theme={null} beacon endpoint hooks install --harness antigravity,claude,cline,cursor,devin-cli,devin-desktop,factory,grok,hermes,opencode,qwen ``` Claude Code hooks are already installed at the user level by `endpoint install`. Add project-level hooks, or re-add user-level ones after removing them: ```bash title="Add Claude Code hooks to a project" theme={null} beacon endpoint hooks install --harness claude --level project ``` Install Grok Build hooks at the user level: ```bash title="Install Grok Build hooks at the user level" theme={null} beacon endpoint hooks install --harness grok ``` Install Hermes Agent hooks at the user level: ```bash title="Install Hermes Agent hooks at the user level" theme={null} beacon endpoint hooks install --harness hermes ``` Hermes hooks write `config.yaml` in the Hermes home directory, which follows `HERMES_HOME` and the active profile (default `~/.hermes/config.yaml`; see [Hermes home and profiles](/runtimes/hermes-agent#hermes-home-and-profiles)), and support user-level installs only. Install Qwen Code hooks at the user level: ```bash title="Install Qwen Code hooks at the user level" theme={null} beacon endpoint hooks install --harness qwen ``` Qwen Code hooks merge into `~/.qwen/settings.json`. Qwen Code has no OpenTelemetry export to configure, so `qwen` is a hook harness on this command too: `beacon endpoint install --harness qwen` installs the same hooks and writes `~/.qwen/settings.json`. Project-level Grok Build hooks write `./.grok/hooks/beacon-endpoint.json` and require `/hooks-trust` in Grok before they execute: ```bash title="Install project-level Grok Build hooks" theme={null} beacon endpoint hooks install --harness grok --level project ``` > [!NOTE] > > System-mode install (`--system`) is supported on macOS and on Linux distributions that use systemd. Omit `--system` for the default non-root local install. GitHub Copilot CLI and Factory Droid OTLP use launch-environment settings rather than Beacon-managed shell-profile edits. ## Restricted log access A system-mode endpoint keeps one runtime log, `/var/log/beacon-agent/runtime.jsonl`, for every user on the machine. By default the log is shared: hooks run as each logged-in user and append to it directly, so the file is `0666`. That also means any local account can truncate or rewrite the log, and read every other user's prompts, command output and diffs. `--log-access restricted` makes the collector the only writer: ```bash title="Install with restricted log access" theme={null} sudo beacon endpoint install --system --log-access restricted ``` * Hooks send their events to the collector over a local Unix socket, `/var/run/beacon-agent/ingest.sock`, instead of writing the file. Nothing leaves the machine. * The collector records each event under the account the operating system says sent it, not the account the event claims. * The log directory becomes `root:beacon-log` mode `2750`, the log and its archives `0640`, and its lock `0600`. Only the collector writes the log; only root and members of the `beacon-log` group read it. Switching an existing log to restricted replaces its files with fresh copies, so a handle another account opened while the log was shared stops reaching it. * If the collector is stopped or restarting, hooks keep their events in a private spool in each user's home (`~/.beacon/endpoint/spool`, `0600`) and send them with the next event once the collector is back. The agent is never held up. Install creates the `beacon-log` group when it is missing and adds nobody to it. Add each account that should read the log, such as a log shipper's service account, then restart that shipper: ```bash title="Let a log shipper read a restricted log" theme={null} # Linux sudo usermod -aG beacon-log # macOS sudo dseditgroup -o edit -a -t user beacon-log ``` The log format and every event field stay the same, so a SIEM or forwarder that parses the log needs no change. Shippers that run as root, and the Asymptote Managed forwarder, keep working without one. The mode is recorded in `config.json` as `log_access`, and in a root-owned `.beacon-log-access` marker beside the log. `beacon endpoint repair`, package upgrades, the Jamf `repair-hooks.sh` policy, and a reinstall after `uninstall --keep-logs` keep it. To go back, run `sudo beacon endpoint repair --system --log-access shared`; the log is writable by every account again at once. A first install from a package (the `.deb` or `.rpm`, the macOS `.pkg`, the Windows MSI) is restricted without any setting, and adds to `beacon-log` only the person who ran it interactively, or the accounts in `BEACON_LOG_READERS`; `BEACON_LOG_ACCESS=shared` opts out. Fleet tooling that cannot set the install script's environment sets these in `/etc/default/beacon` on Linux, managed preferences on macOS, or registry policy on Windows; see [Package installs](/security/restricted-log-access#package-installs). What this does and does not change: * Local accounts can no longer alter or delete events already in the log, or read other users' sessions. * Every event that arrives over the socket records the account that sent it, as the operating system reports it. A user still controls their own agent, so they can still send events of their own choosing, including ones that name another session's id, but always under their own account. * The collector's OTLP ports on `127.0.0.1` still accept telemetry from any local process, as they do in the shared mode. Agents that export over OTLP, such as Claude Code and Codex, and the browser extension use them. Events that arrive that way are recorded under the account that owns the sending connection, as the operating system reports it, in either mode and on Linux, macOS and Windows (with no `user` when the sender disconnected before the collector could look). That names the sender; it does not stop an account sending whatever it likes under its own name. While the endpoint is restricted, commands that read the system log as the person running them (`beacon endpoint dashboard`, `beacon scan`, `beacon traces`, and the session lookups in `beacon share`, `beacon handoff` and `beacon git` commit linking) see it only when run as root or by a `beacon-log` member. [`beacon endpoint doctor`](/cli/endpoint-doctor#runtime_log_access) connects to the socket and reports a collector that is not answering on it, including one that was killed and left its socket behind, and any events waiting in the caller's spool. On Windows the mode works the same way with Windows mechanisms: hooks send to the named pipe `\\.\pipe\beacon-agent-ingest`, the log directory's ACL gives SYSTEM and Administrators full control, the `beacon-log` local group read and nobody else anything, events record the sender's SID and account name, and the commands run from an elevated shell (see [On Windows](/security/restricted-log-access#on-windows)). For how the mode fits with log shippers such as Microsoft Sentinel, and what it does and does not protect, see [Restricted log access](/security/restricted-log-access). ## Local dashboard [`beacon endpoint dashboard`](/cli/dashboard) runs only while someone runs it, binds to loopback, and serves only the browser that opened the secret URL it printed ([access control](/cli/dashboard#access-control)). An administrator who does not want it run at all can turn it off for every account, root included: ```bash title="Turn the local dashboard off on this machine" theme={null} sudo beacon endpoint install --system --dashboard disabled ``` The setting is recorded in the system `config.json` as `"dashboard": "disabled"` and kept by `beacon endpoint repair`, package upgrades and reinstalls until `--dashboard enabled` turns it back on. While it is off, `beacon endpoint dashboard` and `beacon lenses preview` refuse to start for everyone, including a user-mode run on the same machine. The check needs no privileges. Once the system config holds a Splunk or Falcon HEC token it is readable only by root (SYSTEM and Administrators on Windows), so install and repair also keep a `dashboard-disabled` file beside it while the dashboard is off, which every account can read; an account that cannot read `config.json` goes by that file. Any value other than `enabled` (or none) reads as disabled, and a system config that does not parse refuses too, so a damaged or mistyped setting never turns the dashboard back on. If you edit `config.json` by hand, run `beacon endpoint repair --system` so the file beside it follows. `beacon endpoint status` prints `Dashboard: enabled` or `Dashboard: disabled by the administrator` (`dashboard` in `--json`). `--dashboard` is refused in user mode, whose config would switch nothing off. For package installs, set `BEACON_DASHBOARD=enabled` or `BEACON_DASHBOARD=disabled` in the environment of the package's install script (`install-endpoint.sh` on macOS and Linux, `install-endpoint.ps1` on Windows). Unset, an unattended first package install (no system config or log on the machine, and no person installing it, by the same test that decides who is added to `beacon-log`) turns the dashboard off; a person's own install keeps it, and an upgrade or a reinstall over a kept config or log keeps the endpoint's setting. Fleet tooling can set it where it writes the other install settings (`/etc/default/beacon` or `/etc/sysconfig/beacon`, the `com.beacon.endpoint` managed preferences, or the `HKLM\SOFTWARE\Policies\Beacon\Endpoint` policy key); see [Package installs](/security/restricted-log-access#package-installs). ## Running user and system mode together A user-mode collector can run beside a system-mode one on the same machine when the two use different ports. Give the user install its own OTLP ports; its health-check port moves with them: ```bash title="Install a user-mode endpoint beside the system one" theme={null} beacon endpoint install --user --otlp-grpc-port 4327 --otlp-http-port 4328 ``` That collector listens on `127.0.0.1:4327`, `127.0.0.1:4328`, and health check `127.0.0.1:13143`. Pass `--health-port` to choose the health-check port yourself. The port is recorded as `collector.health_port` in `config.json`, and `beacon endpoint status` checks the recorded port. A config written before the field existed has no `health_port` and keeps using `13133`. If a port the collector needs is already taken, the install stops before it writes anything and names that port. If the collector starts but exits before it is ready, the install error quotes the collector's last error line and gives the path of its log, then rolls back. ## Related > [card] [Endpoint status](/cli/endpoint-status) > > Inspect collector health, runtime log state, harnesses, diagnostics, and forwarding readiness. > [card] [Runtime hooks](/cli/hooks) > > Install hook-based telemetry after the endpoint collector is configured. # beacon endpoint inventory Source: https://docs.asymptotelabs.ai/cli/endpoint-inventory Show installed, configured, and observed Beacon endpoint inventory ## Command overview `beacon endpoint inventory` shows Beacon endpoint inventory across configured harnesses, detected local runtimes, hook integrations, and observed runtime events. ```bash title="Command syntax" theme={null} beacon endpoint inventory ``` Use inventory when you need a fleet-friendly view of what Beacon is configured to monitor and what the endpoint has actually observed. By default, inventory focuses on configured, detected, or observed targets. Add `--all` to include every supported target, including runtimes and configuration files that are not detected on the host. `beacon inventory` is a top-level alias for `beacon endpoint inventory`. ## Inventory data Inventory can include: * Endpoint config path, runtime log path, and configured OTLP harnesses * Detected supported runtimes and telemetry status, including MDM-managed launch-environment state for GitHub Copilot CLI and Factory Droid * Hook and managed-plugin integration status for Antigravity CLI, Claude Code, Cline, Cursor, Devin CLI, Devin Desktop, Factory Droid, Grok Build, Hermes Agent, Oh My Pi, OpenCode, Pi, and Qwen Code * Supported agent configuration files and MCP server configuration context where Beacon can inspect them locally, including Claude Code `~/.claude.json`, Cursor `mcp.json`, and fx `~/.fx/settings.json`, `~/.fx/mcp.json`, and a workspace `.mcp.json` * Local agent skill manifests discovered under supported skill roots, including symlinked Claude Code skill directories, reported as metadata and hashes by default (add `--contents` for redacted full bodies) * Recently observed Beacon runtime events when the runtime log exists * Admin-configured integration observations such as Claude Cowork and OpenClaw Gateway events Human-readable and JSON inventory use the same default filtering: configuration records, MCP server context, and skill manifests are shown when they are relevant to the local endpoint state. Use `--all` with `--json` when you need the complete supported inventory surface for fleet comparison or troubleshooting. Use the section filters when you only need one inventory surface: * `--mcp` shows MCP server inventory and the source config files that define MCP servers. * `--skills` shows local agent skill manifests. * `--hooks` shows hook integration status and hook config files. The section filters can be combined. For example, `--mcp --skills --json` prints only MCP and skill inventory buckets in the JSON output. ## Capturing full definitions By default inventory is metadata- and hash-only: it reports paths, hashes, MCP transport, command basenames, argument counts, and safe environment key names, but never the raw file bodies. Add `--contents` when you need to see the **full definitions** of config, hook, and skill files: * Each config and hook file gains a `content` block with the raw file body. * Each skill manifest gains a `content` block with the `SKILL.md` body. * Each MCP server gains a full `definition` block (complete command, arguments, URL, and environment) instead of only the summarized metadata. Captured contents are always passed through local redaction and a size limit: * Secrets are replaced with `[REDACTED]` by the same redaction Beacon applies to session telemetry: recognizable credentials (GitHub, AWS, Slack, OpenAI and Anthropic keys, JWTs), `Authorization` header credentials, values of secret flags such as `--token=…` or `"--api-key", "…"`, and URL passwords. Values held under a key with a word naming a secret (`token`, `key`, `auth`, `secret`, `password`, `credential`, as in `GITHUB_TOKEN`, `OPENAI_KEY` or `SECRET_KEY_BASE`) are replaced whatever they look like. The `content.redacted_count` field reports how many values were redacted. * Bodies are truncated to a per-file byte cap (64 KiB by default) and flagged with `content.truncated`. The `content.bytes` field always reports the original file size. ```bash title="Show full, redacted MCP definitions" theme={null} beacon endpoint inventory --mcp --contents ``` Content capture is opt-in and offline; `--contents` only reads files inventory already inspects locally. ## Inventory heartbeats A scheduled local job appends inventory telemetry to a separate `inventory_state.jsonl` file beside `runtime.jsonl`. It runs once when it is loaded (install, repair, reboot, package upgrade) and then every 6 hours, on every install in both modes: a LaunchAgent (`com.beacon.endpoint.inventory`) or LaunchDaemon on macOS, a `beacon-inventory.timer` under the user or system scope on Linux. Agent hooks no longer trigger inventory; an idle machine reports on the same schedule as a busy one. * `inventory.heartbeat` records that Beacon checked local agent configuration inventory, including counts and a snapshot digest. Every run writes one; it is the endpoint's liveness signal. * `inventory.snapshot` records the current metadata-only inventory. It is written only when the snapshot digest changed since the last run. A system-mode job runs as root and inventories the active console user's home. When nobody is logged in, or the console is held by a macOS service account such as `_mbsetupuser` at the login window, it still writes the heartbeat, with `user_scope.mode` set to `no_console_user`, and no snapshot. Runtime state files the runtime rewrites on every session (`~/.claude.json`) are reported with their hash but left out of the change digest, so `inventory.snapshot` is written when something inventory-relevant changed (a config, hook, skill, or MCP server), not on every Claude Code session. On a Mac with more than one console user the job keeps the last digest per home, so a switch between users is not reported as a change. The scheduled scan covers user-level configuration only; project-scoped files (`.cursor/mcp.json`, `.claude/settings.json` in a repository) are reported by `beacon endpoint inventory` run from that directory, not by the job. launchd and systemd start the job without your shell's environment, so a per-user `beacon endpoint install` or `repair` writes the variables that move a runtime's user directory into the job's definition, taking each value from the shell it runs in: `CODEX_HOME`, `HERMES_HOME` and `HERMES_DATA_DIR_SUFFIX`, `CLINE_DIR`, `GEMINI_CLI_HOME`, `CLAUDE_CONFIG_DIR`, `KIRO_HOME`, `KIMI_CODE_HOME`, `DSH_HOME`, `OH_PERSISTENCE_DIR`, `OPENCLAW_STATE_DIR`, `XDG_CONFIG_HOME`, `PI_CODING_AGENT_DIR`, `OMO_CODING_AGENT_DIR`, `SENPI_CODING_AGENT_DIR`, `PRIME_AGENT_CODING_AGENT_DIR`, `QWEN_HOME`, `PI_CONFIG_DIR`, `OMP_PROFILE` and `PI_PROFILE`. A relative path is recorded as the absolute path it named at install time. If you change one of them later, run `beacon endpoint repair` from a shell that has the new value. A system-mode job records none of them, since the installer's environment is root's. By default, inventory snapshots include config file metadata, MCP server metadata, skill metadata, and hook config metadata across supported local runtimes. They do not include skill instruction bodies, MCP secret values, full environment values, full command arguments, or unrelated config content. Set `include_contents` to opt the snapshot telemetry into capturing full definitions, matching the `--contents` CLI behavior. When enabled, `inventory.snapshot` events carry redacted, size-limited config/hook/skill `content` blocks and full MCP server `definition` blocks. Secret-looking values are redacted and bodies are truncated to `max_content_bytes` (64 KiB by default). This setting is off by default so the snapshot contract stays metadata-only unless an operator explicitly enables it. The job is configured in the existing endpoint config file. Omit `runtimes` to scan all supported inventory runtimes, or set it when you intentionally want a narrower snapshot. `enabled: false` removes the job on the next install, repair, or package upgrade and stops the writer; a `ttl_seconds` key written by older versions is ignored. ```json title="~/.beacon/endpoint/config.json" theme={null} { "inventory_heartbeat": { "enabled": true, "include_contents": false, "max_content_bytes": 65536 } } ``` `beacon endpoint status` prints an `Inventory heartbeat:` line with the interval, whether the job is loaded, and when it last wrote; `--json` carries the same in `inventory_heartbeat`. The hidden `beacon endpoint inventory install-daemon [--user|--system]` command re-reconciles the job with the config and loads it, which also fires a heartbeat at once; the package postinstall runs it on every upgrade. For a manual smoke test, add a harmless test MCP server to `~/.cursor/mcp.json` or `~/.claude.json`, then run `beacon endpoint inventory heartbeat --scheduled` (or `sudo ... --system`). `inventory_state.jsonl` should gain an `inventory.heartbeat` event and, because the digest changed, an `inventory.snapshot` event with the new MCP server metadata under `raw.inventory.mcp_servers`. `runtime.jsonl` should remain limited to agent runtime activity. To watch the schedule itself, set `BEACON_INVENTORY_INTERVAL_SECONDS=60` before `install-daemon` and tail the file. ## Flags | Flag | Description | | - | - | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths and launch daemon | | `--log-path ` | Runtime JSONL log path | | `--json` | Print inventory as JSON | | `--all` | Include all supported targets, not only configured, detected, or observed targets | | `--mcp` | Show only MCP server inventory and source configs | | `--skills` | Show only local agent skill inventory | | `--hooks` | Show only hook integration and hook config inventory | | `--contents` | Include redacted, size-limited config/hook/skill file contents and full MCP server definitions | | `--write-event` | Also record this inventory as snapshot events (trigger `manual`), the same events the scheduled job writes, so forwarders ship it | ## Examples Show endpoint inventory: ```bash title="Show endpoint inventory" theme={null} beacon endpoint inventory ``` Include all supported targets: ```bash title="Include all supported targets" theme={null} beacon endpoint inventory --all ``` Print machine-readable inventory: ```bash title="Print machine-readable inventory" theme={null} beacon endpoint inventory --json ``` Show only MCP server inventory: ```bash title="Show MCP inventory" theme={null} beacon endpoint inventory --mcp ``` Show only skill manifests and hook configuration: ```bash title="Show skills and hooks" theme={null} beacon endpoint inventory --skills --hooks --json ``` Inventory a system-mode endpoint: ```bash title="Inventory a system-mode endpoint" theme={null} sudo beacon endpoint inventory --system --all ``` Use the top-level alias: ```bash title="Use the top-level alias" theme={null} beacon inventory --json ``` ## Related > [card] [Inventory Local Agent Runtimes](/guides/inventory) > > Understand dashboard Inventory and common runtime coverage workflows. > [card] [Endpoint discover](/cli/endpoint-discover) > > Discover supported local agent harnesses and telemetry state. > [card] [Runtime hooks](/cli/hooks) > > Install and inspect hook-based endpoint telemetry. # beacon endpoint onboarding Source: https://docs.asymptotelabs.ai/cli/endpoint-onboarding Show, reset, or resend the one-time Beacon onboarding record ## Command overview `beacon endpoint onboarding` inspects the one-time onboarding record written the first time `beacon endpoint install` runs in a terminal. ```bash title="Command syntax" theme={null} beacon endpoint onboarding [flags] ``` The record lives in `~/.beacon/profile.json`. It survives uninstall, so reinstalling Beacon does not repeat completed setup. The destination question is asked again on the next interactive install until a destination is recorded; an Asymptote Managed answer is recorded only once the connect succeeds. ## First-run onboarding The first interactive `beacon endpoint install` opens a full-screen terminal wizard: 1. Sign in, using the same browser PKCE flow as `beacon login`. 2. Choose **Asymptote Managed** or **Local only**. 3. For Asymptote Managed, choose **Standard** or **Metadata only** forwarding. 4. Choose the agent tools to set up. Each is selected; press space to turn one off. 5. Review the destination, privacy mode and agent tools, then confirm installation. Move between choices with the arrow keys, continue with enter, and cancel with esc. Cancelling ends the install before anything is written, and the error says so: run `beacon endpoint install` again when you are ready, or set `BEACON_ONBOARDING=0` to install without the guided setup. | Answer | What happens | | - | - | | Asymptote Managed (default) | Shows what will be sent, asks for Standard or Metadata-only privacy, then installs Beacon and connects this endpoint. The confirmation screen states that forwarding starts and that the last 30 days of agent sessions are uploaded before you accept. | | Local only | Explicitly opts out of managed forwarding. Nothing is sent anywhere; the [session backfill](/cli/endpoint-install#session-backfill) stays in the local log. | ### Signing in The full-screen view stays up while your browser is open, showing the sign-in URL, a spinner, and how long is left before the attempt times out. The URL is printed before any browser is opened, so it is usable even when none can be, and esc during the wait returns to the sign-in screen rather than ending the install. Once a browser has opened, the screen also asks you to open the URL in the browser where you are signed in, and to copy it there if a different browser opened. If sign-in cannot finish -- an offline machine, no browser, or the wait expiring -- the wizard offers to try again, to show the URL for you to open yourself, or to finish setup without an account and keep telemetry on this machine. Pass `--no-browser` to `beacon endpoint install` to start in that mode. On Linux, the wizard checks for a display before it starts. With no `DISPLAY` or `WAYLAND_DISPLAY`, or in an SSH session, it goes straight to that screen and says why, because sign-in finishes by redirecting a browser back to this machine. The choices are **Finish setup without an account** (the default, a local install), **Show the sign-in URL** (open it on this machine, or on your own computer after forwarding the port it names; the wizard prints the command, for example `ssh -L 43121:127.0.0.1:43121 `), and **Cancel setup**. An SSH session with X11 forwarding (`ssh -X`) counts as having a display. Signing in establishes account identity only. It does not register a managed endpoint, start Vector, or send telemetry. ### Asymptote Managed Choosing Asymptote Managed shows a separate disclosure: your agents' activity on this machine will be sent as it happens, and `beacon endpoint disconnect` stops it. Standard sends prompts, responses, tool activity, command output, file diffs, and file contents returned by tools. Common secret formats, such as API keys and tokens, are masked on your machine before anything is sent. Masking is pattern-based and may not catch everything, and the upload may include source code, file contents, and confidential information. Metadata only removes prompts, responses, reasoning, tool arguments and results, command output, file diffs, and file contents on your machine before anything is sent; which agent and tool ran, file paths, exit codes, token counts, timestamps, repository and branch names, and full command lines (with common secret formats masked) are still sent. Change the mode later with `beacon endpoint connect --privacy-mode`. See [`beacon endpoint connect`](/cli/endpoint-connect#privacy-modes) for the exact contract. Confirming connects this endpoint in the same command, after the local install succeeds. The confirm screen names the signed-in account, the destination, and the privacy mode, and states that confirming installs Beacon and starts forwarding; that screen is where forwarding is authorized. An endpoint that is already enrolled is not re-enrolled: enrollment rotates the device key, so a connected machine keeps the key it has and simply records the destination. The install reads the last 30 days of agent sessions from each runtime's own session store into the local log (the [session backfill](/cli/endpoint-install#session-backfill)). Asymptote Managed uploads that history on the first connection, and the confirm screen says so; Local keeps it on this machine. Other pre-connect runtime history (hook, OTLP and plugin events) is not uploaded. Inventory is read from the beginning of `inventory_state.jsonl` so the dashboard receives the endpoint's current inventory baseline. The managed destination is recorded only once enrollment succeeds. If it fails, the local install still succeeds, says that the machine is not connected yet, and prints `beacon endpoint connect` as the retry command, and the next `beacon endpoint install` offers the question again. Verify forwarding with `beacon endpoint status --json`. The onboarding record itself is written only after the install succeeds, so a failed install leaves nothing behind and asks again next time. When you confirm Asymptote Managed, the install ends on a short summary rather than the list of files it wrote: the account, device and privacy mode this machine forwards with; what the session backfill read, with the sync command for any runtime that had more history than the backfill takes; and the dashboard URL. Beacon then opens the dashboard in your default browser, except with `--no-browser`, in an SSH session, or on Linux without a display; the URL is printed either way. A runtime that needs a restart or a trust prompt before it collects still says so above the summary, and warnings still go to stderr. Run `beacon endpoint status` for the paths and service state the summary leaves out. Choosing Local, setup on an endpoint that was already connected, and installs that skip the wizard keep their full output. ### Agent tools After the destination, the wizard offers the **Beacon agent skills**, selected by default, whichever destination you choose. It installs the [Beacon Skills](/concepts/beacon-skills) for every project: into `~/.agents/skills`, and into `~/.claude/skills` when Claude Code is set up. See [`beacon skills`](/cli/skills). This writes local files only and sends nothing. The skills are installed after the local install succeeds, alongside the runtime hooks. A failure is a warning that names the command to retry, never a failed install, and a skill directory of the same name that Beacon did not write is left as it is. Turning the row off writes nothing. The answer is recorded as `onboarding.agent_skills` (`installed` or `declined`). Set the skills up or remove them later with `beacon skills install|uninstall`. Every later `beacon endpoint install` and `beacon endpoint repair` updates the skill copies Beacon installed to match the new binary; it never installs skills that were turned off or removed. ### When the wizard is skipped The explicit `beacon endpoint install --connect` flag presets Asymptote Managed and skips the destination question. The destination question is also skipped on an endpoint already connected to Asymptote. The wizard never appears non-interactively. Package postinstall scripts, MDM deployments, `--system` installs, CI, `--dry-run`, `TERM=dumb`, and any piped or redirected stdin skip it silently, including a redirect to `/dev/null`. These paths remain account-free. A machine onboarded before the destination question existed is asked it once, on its next interactive install. ## Flags | Flag | Description | | - | - | | `--reset` | Clear the onboarding record so the question is asked again | | `--resend` | Retry a signup queued by a pre-account onboarding version | | `--json` | Print the onboarding record as JSON | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths | ## Unattended installs Set `BEACON_ONBOARDING=0` to suppress the wizard on an install that would otherwise be interactive. There is no CLI flag for this: it exists for unattended CI and MDM workflows. `BEACON_MANAGED_INGEST=0` hides only the Asymptote Managed answer from the destination question; `beacon endpoint install --connect` still connects when asked explicitly. ```bash title="Suppress the prompt" theme={null} BEACON_ONBOARDING=0 beacon endpoint install ``` The legacy `BEACON_ONBOARDING_EMAIL` and `BEACON_ONBOARDING_USAGE` variables remain accepted for existing fleet automation. They use the previous one-time attribution submission and do not create an account session: ```bash title="Headless attribution for MDM" theme={null} BEACON_ONBOARDING_EMAIL=it@company.com BEACON_ONBOARDING_USAGE=work \ beacon endpoint install ``` `BEACON_ONBOARDING_USAGE` accepts `work`, `personal`, or `evaluating`. An invalid value is reported on stderr and ignored rather than failing the install. ## Examples Show what was recorded, including the signed-in email and the answer to the destination question (`Telemetry destination: local only …` or `Asymptote Managed`; absent when it has not been asked, or when an Asymptote answer has not yet been carried through to a connected machine): ```bash title="Show the onboarding record" theme={null} beacon endpoint onboarding ``` The answer is stored as `onboarding.destination` in `~/.beacon/profile.json`; managed selections also store `onboarding.privacy_mode`. Setup completed through an account records `onboarding.outcome` as `authenticated` with the signed-in email; setup finished without one after a failed sign-in records `skipped` and no email. `--json` exposes all of them: | Value | Printed as | | - | - | | `local` | local only (nothing forwarded) | | `asymptote` | Asymptote Managed | `own_infra` remains readable for profiles created by older Beacon versions. New interactive installs choose Local and can configure a customer-managed [forwarding pack](/log-forwarding) afterward. Clear it so the next install asks again: ```bash title="Reset the onboarding record" theme={null} beacon endpoint onboarding --reset ``` Retry a legacy attribution submission that could not reach Asymptote. A failed submission never fails an install; the payload is kept and retried automatically on the next install or repair. ```bash title="Resend a queued signup" theme={null} beacon endpoint onboarding --resend ``` To have your record deleted, email the install ID shown by this command to [support@asymptotelabs.ai](mailto:support@asymptotelabs.ai). ## Related > [card] [Endpoint install](/cli/endpoint-install) > > Configure endpoint telemetry and collector service files. > [card] [Endpoint config](/cli/endpoint-config) > > Inspect endpoint configuration and validate destination settings. # beacon endpoint opencode Source: https://docs.asymptotelabs.ai/cli/endpoint-opencode Collect endpoint telemetry from OpenCode session records ## Command overview `beacon endpoint opencode` supplements the live [OpenCode](/runtimes/opencode) plugin by reading OpenCode's committed local session store and converting those records into Beacon [endpoint events](/concepts/core-concepts#endpoint-event). ```bash title="Command syntax" theme={null} beacon endpoint opencode [command] ``` Beacon reads `opencode.db` from OpenCode's data directory when present and falls back to OpenCode's legacy `storage/session`, `storage/message`, `storage/part`, and `storage/project` tree. The data directory is `$XDG_DATA_HOME/opencode` or `~/.local/share/opencode` on every platform, separate from the `~/.config/opencode` directory that holds plugins and configuration. When `OPENCODE_DB` is set, Beacon reads that database as OpenCode does: an absolute path as given, a relative one inside the data directory. An explicit `--data-dir` overrides discovery. This path is useful for historical sessions and sessions that ran before Beacon's OpenCode plugin was installed or loaded. Every event is marked `harness.collection_method=poll`. Beacon sees what OpenCode already wrote, so nothing here can hold or deny a tool call. Keep the managed plugin installed when you need live approval telemetry and richer hook timing. Reading is local and offline. Nothing this command does reaches the network. ## Commands | Command | Description | | - | - | | `beacon endpoint opencode sync` | Read new OpenCode session records into the runtime log | | `beacon endpoint opencode status` | Show OpenCode local sessions and how much has been collected | ## Flags Both subcommands accept: | Flag | Description | | - | - | | `--data-dir ` | OpenCode data directory or `opencode.db` path. Defaults to `$XDG_DATA_HOME/opencode` or `~/.local/share/opencode`, honoring `OPENCODE_DB` | | `--state ` | Collector cursor file. Defaults to `~/.beacon/endpoint/state/opencode-sessions.json`, or a file beside the system runtime log with `--system` | | `--json` | Print the result as JSON | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths | `sync` also accepts: | Flag | Description | | - | - | | `--log-path ` | Runtime JSONL log path. Defaults to the resolved endpoint log | | `--print` | Print mapped events as JSON without writing them or advancing the cursor | | `--watch` | Sweep continuously on `--interval` instead of sweeping once and exiting | | `--interval ` | Sweep interval for `--watch`. Defaults to `1m`, with a 5-second floor | | `--rotate-bytes ` | Rotate the runtime log at this many bytes while this sync writes it. Defaults to 10485760, the size every Beacon writer uses; must not be smaller. See [large backfills and log rotation](/runtimes/claude-code#large-backfills-and-log-rotation) | ## Sweeping ```bash title="Sweep once" theme={null} beacon endpoint opencode sync ``` ```bash title="Preview without writing anything" theme={null} beacon endpoint opencode sync --print ``` `--print` is a dry run in both directions: it neither writes the runtime log nor advances the cursor. ```bash title="Sweep continuously" theme={null} beacon endpoint opencode sync --watch --interval 5m ``` Unless the [scheduled session sync](/cli/endpoint-install#scheduled-session-sync) is on, nothing sweeps on its own. Run `sync` under whatever scheduler the platform already uses, or leave `--watch` running in the user context that owns OpenCode's data directory. A tool call that OpenCode has started but not finished is written twice: once as the invocation, and again with its output, exit code, and diff when it returns. Beacon emits both. The invocation arrives as `tool.invoked` on the sweep that first sees it, and the completion arrives on a later sweep as `command.executed`, `file.modified`, or whichever action the finished call turns out to be. OpenCode rewrites the record in place for the second one, so the cursor tracks the events it has already written by id rather than how far it read: a repeated sweep over an unchanged session writes nothing, and one over a session whose call has since returned writes only the completion. ## Status ```bash title="Show OpenCode sessions and collection progress" theme={null} beacon endpoint opencode status ``` `collected` means the cursor is level with the records Beacon read from that OpenCode session source. SQLite-backed sessions and legacy JSON sessions are tracked separately so upgrading OpenCode's storage format does not confuse the cursor. ## Related > [card] [OpenCode](/runtimes/opencode) > > Telemetry coverage, plugin setup, and known gaps for the runtime. > [card] [Hooks](/cli/hooks) > > Install the live OpenCode plugin for hook-time telemetry. # Endpoint Paths and Ports Source: https://docs.asymptotelabs.ai/cli/endpoint-paths Review Beacon user-mode and system-mode paths, ports, and hook locations ## File locations Beacon manages different paths depending on whether you install in user mode or system mode. The active runtime log stays at `runtime.jsonl` and rotates at 10 MiB, retaining five numbered local archives by default. | Item | User mode | System mode (macOS) | System mode (Linux) | System mode (Windows) | | - | - | - | - | - | | Config | `~/.beacon/endpoint/config.json` | `/Library/Application Support/Beacon/Endpoint/config.json` | `/etc/beacon/endpoint/config.json` | `%ProgramData%\Beacon\Endpoint\config.json` | | Base directory | `~/.beacon/endpoint` | `/Library/Application Support/Beacon/Endpoint` | `/etc/beacon/endpoint` | `%ProgramData%\Beacon\Endpoint` | | Runtime log | `~/.beacon/endpoint/logs/runtime.jsonl` | `/var/log/beacon-agent/runtime.jsonl` | `/var/log/beacon-agent/runtime.jsonl` | `%ProgramData%\Beacon\Endpoint\logs\runtime.jsonl` | | Staged Asymptote Managed session backfill (written by each connect) | `~/.beacon/endpoint/logs/cloud-backfill.jsonl` | `/var/log/beacon-agent/cloud-backfill.jsonl` | `/var/log/beacon-agent/cloud-backfill.jsonl` | `%ProgramData%\Beacon\Endpoint\logs\cloud-backfill.jsonl` | | Rotated runtime archives | `~/.beacon/endpoint/logs/runtime.jsonl.1` through `.5` | `/var/log/beacon-agent/runtime.jsonl.1` through `.5` | `/var/log/beacon-agent/runtime.jsonl.1` through `.5` | `%ProgramData%\Beacon\Endpoint\logs\runtime.jsonl.1` through `.5` | | Threat rule store | `~/.beacon/endpoint/rules` | `/Library/Application Support/Beacon/Endpoint/rules` | `/etc/beacon/endpoint/rules` | `%ProgramData%\Beacon\Endpoint\rules` | | Collector config | `~/.beacon/endpoint/otelcol.yaml` | `/Library/Application Support/Beacon/Endpoint/otelcol.yaml` | `/etc/beacon/endpoint/otelcol.yaml` | `%ProgramData%\Beacon\Endpoint\otelcol.yaml` | | Managed-ingest state (`beacon endpoint connect`) | `~/.beacon/endpoint/asymptote/` (`enrollment.json`, `install-id`, `vector-secrets.json`, `vector.toml`, `vector-data/`) | `/Library/Application Support/Beacon/Endpoint/asymptote/` | `/etc/beacon/endpoint/asymptote/` | Not yet supported | | Installed binaries | None | `/opt/beacon/bin` | `/opt/beacon/bin` | `%ProgramFiles%\Beacon\bin` | | OTLP gRPC | `127.0.0.1:4317` | `127.0.0.1:4317` | `127.0.0.1:4317` | `127.0.0.1:4317` | | OTLP HTTP | `127.0.0.1:4318` | `127.0.0.1:4318` | `127.0.0.1:4318` | `127.0.0.1:4318` | | Collector health check | `127.0.0.1:13133` | `127.0.0.1:13133` | `127.0.0.1:13133` | `127.0.0.1:13133` | These are the default ports. `--otlp-grpc-port`, `--otlp-http-port`, and `--health-port` change them per install. When `--otlp-http-port` changes and no `--health-port` is given, the health-check port moves by the same amount, so a user-mode collector on alternate ports can run beside the system one. The ports in use are recorded under `collector` in `config.json`. On Windows the system log directory sits under the base directory rather than in a separate location, because there is no `/var/log` equivalent. `%ProgramData%` and `%ProgramFiles%` are read from the environment rather than hardcoded, so a relocated or localized install is found rather than missed. ## Service definitions The collector runs under whichever service manager the host provides. On Linux, Beacon picks it by looking at what is actually running as PID 1, not at which tools are installed, so a container with `systemctl` on `PATH` but no systemd still gets the supervised fallback. | Platform | Service manager | System mode | User mode | | - | - | - | - | | macOS | launchd | `/Library/LaunchDaemons/com.beacon.endpoint.collector.plist` | `~/Library/LaunchAgents/com.beacon.endpoint.collector.user.plist` | | Linux | systemd | `/etc/systemd/system/beacon-collector.service` | `~/.config/systemd/user/beacon-collector.service` | | Windows | Service Control Manager | `BeaconCollector` service, defined at `HKLM\SYSTEM\CurrentControlSet\Services\BeaconCollector` | Supervised, because Windows has no per-user service manager | | Containers, no init | supervised | `/etc/beacon/endpoint/collector.pid` | `~/.beacon/endpoint/collector.pid` | The Asymptote forwarder started by `beacon endpoint connect` is a second, resident service that runs Vector: `/Library/LaunchDaemons/com.beacon.endpoint.asymptote-forwarder.plist` or `~/Library/LaunchAgents/com.beacon.endpoint.asymptote-forwarder.plist` on macOS, `/etc/systemd/system/beacon-asymptote-forwarder.service` or `~/.config/systemd/user/beacon-asymptote-forwarder.service` on Linux. It is not offered in supervised mode, because nothing would restart it; run the [Asymptote pack](/cli/asymptote) under your own supervisor there. The scheduled inventory job is a third, one-shot unit that `beacon endpoint install` writes in both modes and the package postinstall reconciles on every upgrade: `/Library/LaunchDaemons/com.beacon.endpoint.inventory.plist` or `~/Library/LaunchAgents/com.beacon.endpoint.inventory.plist` on macOS, `beacon-inventory.timer` plus `beacon-inventory.service` under `/etc/systemd/system` or `~/.config/systemd/user` on Linux. It writes `inventory_state.jsonl` and its `inventory-state.json` state file beside the runtime log. Like the forwarder it is not offered in supervised mode; run `beacon endpoint inventory heartbeat --scheduled` from your own scheduler there. The [scheduled session sync](/cli/endpoint-install#scheduled-session-sync), when turned on with `--session-sync`, is a fourth one-shot unit in the same places: `com.beacon.endpoint.session-sync.plist` on macOS, `beacon-session-sync.timer` plus `beacon-session-sync.service` on Linux. Its lock, `state/session-sweep.lock` under the endpoint base directory, sits beside the session-store cursors. It is not offered in supervised mode either; run `beacon endpoint sessions sync` from your own scheduler there. On macOS, when `~/Library/LaunchAgents` is on a volume other than the startup volume, such as a home directory on an external disk, launchd refuses to bootstrap plists from it. Beacon then bootstraps each user LaunchAgent for the current login session from a copy staged in `$TMPDIR/beacon-launchd-`, falling back to `/private/tmp/beacon-launchd-`. The canonical plist stays in `~/Library/LaunchAgents`; automatic loading after logout or restart is not guaranteed for this layout. See [Home directory on an external volume](/platforms/macos#home-directory-on-an-external-volume). Windows has no unit file to point at: the service definition lives in the registry, so that is what `beacon endpoint status` reports where the other platforms report a path. And there is no counterpart to `systemctl --user` or launchd's per-user domain, so a Windows user-mode install always gets the supervised collector. See [Windows install](/platforms/windows#user-mode-install). A supervised collector is a plain background process tracked by a pidfile. It works, but nothing restarts it if it exits or when the machine reboots. `beacon endpoint status` says so explicitly rather than reporting the same health as a real service. Hooks, plugins, and extensions install an embedded `beacon-hooks` adapter under the Beacon endpoint base directory. Hook and plugin configuration is written to: | Runtime | Global config path | Project-local config path | | - | - | - | | Antigravity CLI | `~/.gemini/config/hooks.json` | `./.agents/hooks.json` | | Claude Code | `~/.claude/settings.json` (`$CLAUDE_CONFIG_DIR/settings.json` when set) | `./.claude/settings.json` | | Cline | `~/.cline/plugins/beacon.ts` | `./.cline/plugins/beacon.ts` | | Cursor | `~/.cursor/hooks.json` | `./.cursor/hooks.json` | | Devin CLI | `~/.config/devin/config.json` | `./.devin/hooks.v1.json` | | Devin Desktop | `~/.codeium/windsurf/hooks.json` | `./.windsurf/hooks.json` | | Factory | `~/.factory/settings.json` | `./.factory/settings.json` | | Grok Build | `~/.grok/hooks/beacon-endpoint.json` | `./.grok/hooks/beacon-endpoint.json` | | Hermes Agent | `$HERMES_HOME/config.yaml` or the active profile's (default `~/.hermes/config.yaml`) | Not supported | | OpenCode | `~/.config/opencode/plugins/beacon.ts` | `./.opencode/plugins/beacon.ts` | | Pi | `$PI_CODING_AGENT_DIR/extensions/beacon.ts` (default `~/.pi/agent/extensions/beacon.ts`) | `./.pi/extensions/beacon.ts` | | Qwen Code | `~/.qwen/settings.json` | `./.qwen/settings.json` | ## Related > [card] [Endpoint telemetry](/deployment/open-source#configure-endpoint-telemetry) > > Configure the local endpoint agent and harnesses. > [card] [beacon endpoint](/cli/endpoint) > > Review endpoint command behavior and common paths. # beacon endpoint pi Source: https://docs.asymptotelabs.ai/cli/endpoint-pi Collect endpoint telemetry from Pi session records ## Command overview `beacon endpoint pi` collects telemetry from [Pi](/runtimes/pi) by reading the JSONL session records Pi commits under `~/.pi/agent/sessions` and converting them into Beacon [endpoint events](/concepts/core-concepts#endpoint-event). ```bash title="Command syntax" theme={null} beacon endpoint pi [command] ``` This is a poll path, not an install step. The managed Pi extension remains the live path for future sessions; `beacon endpoint pi sync` is for historical backfill, scheduled catch-up, or machines where the extension was not loaded. Every event is marked `harness.collection_method=poll`. Beacon sees what Pi wrote after the fact, so nothing here can hold or deny a tool call. Reading is local and offline. Nothing this command does reaches the network. ## Commands | Command | Description | | - | - | | `beacon endpoint pi sync` | Read new Pi session records into the runtime log | | `beacon endpoint pi status` | Show Pi sessions on this machine and how much of each has been collected | ## Flags Both subcommands accept: | Flag | Description | | - | - | | `--sessions-dir ` | Pi session directory. Defaults to `~/.pi/agent/sessions` | | `--state ` | Collector cursor file. Defaults to `~/.beacon/endpoint/state/pi.json` | | `--json` | Print the result as JSON | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths. The cursor moves beside the system runtime log | `sync` also accepts: | Flag | Description | | - | - | | `--log-path ` | Runtime JSONL log path. Defaults to the resolved endpoint log | | `--print` | Print mapped events as JSON without writing them or advancing the cursor | | `--watch` | Sweep continuously on `--interval` instead of sweeping once and exiting | | `--interval ` | Sweep interval for `--watch`. Defaults to `1m`, with a 5-second floor | | `--rotate-bytes ` | Rotate the runtime log at this many bytes while this sync writes it. Defaults to 10485760, the size every Beacon writer uses; must not be smaller. See [large backfills and log rotation](/runtimes/claude-code#large-backfills-and-log-rotation) | ## Sweeping ```bash title="Sweep once" theme={null} beacon endpoint pi sync ``` ```bash title="Preview without writing anything" theme={null} beacon endpoint pi sync --print ``` `--print` is a dry run in both directions: it neither writes the runtime log nor advances the cursor, so running it twice shows the same events and running it does not quietly consume the work a later real sweep would do. ```bash title="Sweep continuously" theme={null} beacon endpoint pi sync --watch --interval 5m ``` Unless the [scheduled session sync](/cli/endpoint-install#scheduled-session-sync) is on, nothing sweeps on its own. Run `sync` under whatever scheduler the platform already uses, or leave `--watch` running. ## Status ```bash title="Show Pi sessions and collection progress" theme={null} beacon endpoint pi status ``` ```text theme={null} Pi sessions: 2 in /Users/you/.pi/agent/sessions session-1 collected line 42 /Users/you/src/app session-2 pending line 0 /Users/you/src/api ``` ## Cursor behavior The cursor keeps a scheduled sweep from re-appending every session's whole history. It stores the last collected line per session file, plus the file size and modification time for a cheap unchanged check. | Mode | Default cursor path | | - | - | | User | `~/.beacon/endpoint/state/pi.json` | | System | `pi-state.json` beside the system runtime log | Re-reading is safe: each event ID is derived from the source file, session id, line number, and event position, so the same Pi record maps to the same event every time. ## Related > [card] [Pi](/runtimes/pi) > > Telemetry coverage, discovery, and known gaps for the runtime. > [card] [Hooks](/cli/hooks) > > Install the managed Pi extension for live telemetry. # beacon endpoint repair Source: https://docs.asymptotelabs.ai/cli/endpoint-repair Repair Beacon endpoint service files, collector configuration, and telemetry settings ## Command overview `beacon endpoint repair` reapplies Beacon endpoint service files, collector configuration, harness telemetry configuration, and optional destinations such as Splunk HEC or Falcon LogScale HEC. It is useful after upgrading Beacon, changing ports, changing SIEM settings, or correcting local configuration drift. ```bash title="Command syntax" theme={null} beacon endpoint repair ``` Repair preserves runtime logs while reinstalling managed endpoint files. By default it rediscovers installed runtimes and reapplies every integration Beacon can configure. Pass an explicit `--harness` list to repair only those targets; runtimes it does not name, including Claude Code and Codex, are not written. GitHub Copilot CLI and Factory Droid launch-environment settings remain customer-managed; repair does not write those environment settings. During repair, Beacon removes the existing managed service before reinstalling it so an unhealthy collector can release local OTLP ports. If reinstall cannot complete, Beacon restores the previous endpoint configuration so local state is not left partially rolled back. On an endpoint connected to Asymptote managed ingest, repair leaves the forwarder service, the device key, and Vector's checkpoints and buffer in place, and re-renders `vector.toml` from this version's forwarder pack with the recorded ingest URL and privacy mode. Vector validates the new config before it replaces the old one; a running forwarder restarts so it reads the current runtime log, which switching to restricted log access replaces with a copy, and a config Vector rejects is reported as a warning while the forwarder keeps running on the old one. Repair never re-enrolls the device or rotates its key, and `--no-start` leaves the forwarder untouched. See [Keeping the forwarder config current](/cli/endpoint-connect#keeping-the-forwarder-config-current). ## Flags | Flag | Description | | - | - | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths and launch daemon | | `--log-path ` | Runtime JSONL log path | | `--harness ` | Harnesses to configure. Defaults to `auto`, which repairs every detected integration Beacon can configure. Use `all` to force every installable integration, or pass an exact comma-separated list such as `claude,codex,cursor,kimi`. DeepSeek Harness and Kimi Code are user-level only | | `--otlp-grpc-port ` | Local OTLP gRPC port. Defaults to `4317` | | `--otlp-http-port ` | Local OTLP HTTP port. Defaults to `4318` | | `--health-port ` | Local collector health-check port. Defaults to `13133`, moved by the same amount as `--otlp-http-port` when that is changed (HTTP port `4328` gives `13143`), so a second collector on alternate OTLP ports does not collide with the first | | `--collector ` | Path to a `beacon-otelcol` binary. Without it, Beacon uses the one beside the `beacon` CLI, then one on `PATH` | | `--no-start` | Write files without starting the collector service | | `--log-access ` | Change the system log's access mode to `shared` or `restricted`. Omitted, repair keeps the current mode. See [Restricted log access](/cli/endpoint-install#restricted-log-access) | | `--session-sync` | Turn on the [scheduled session sync](/cli/endpoint-install#scheduled-session-sync): every 15 minutes, read new records from the agent runtimes' local session stores into the runtime log. Kept by repair and package upgrades | | `--no-session-sync` | Turn the scheduled session sync off and remove its job | | `--service ` | Service manager to use: `auto` (default), `launchd`, `systemd`, or `none` for a supervised collector process | | `--dry-run` | Print planned actions without changing endpoint files or services | | `--include-runtime-metrics` | Include generic process, runtime, and harness operational OTLP metrics in Beacon JSONL. By default, low-signal metrics such as process CPU, memory, Node.js event loop, V8 heap, GitHub Copilot CLI, and OpenClaw operational metrics are filtered out | | `--include-codex-spans` | Include every high-volume Codex OTLP span for troubleshooting. By default, Beacon keeps semantic logs and only the usage-bearing completed turn span | | `--claude-capture-model-context` | Record context Claude Code gives the model that no other event reports: pages its WebFetch tool fetches and MCP tool descriptions it shows the model as `mcp.tool_listed`. Pass it on every repair that should keep capture on; a repair without it turns capture off. See [Claude Code: model context from API bodies](/runtimes/claude-code#model-context-from-api-bodies) | | `--splunk-hec-endpoint ` | Splunk HEC endpoint URL | | `--splunk-hec-token ` | Splunk HEC token | | `--splunk-index ` | Optional Splunk index | | `--splunk-source ` | Optional Splunk source | | `--splunk-sourcetype ` | Optional Splunk sourcetype | | `--splunk-insecure-skip-verify` | Skip Splunk HEC TLS certificate verification | | `--splunk-ca-file ` | Optional CA certificate path for Splunk HEC TLS verification | | `--falcon-hec-endpoint ` | Falcon LogScale HEC endpoint URL | | `--falcon-hec-token ` | Falcon LogScale ingest token | | `--falcon-index ` | Optional Falcon LogScale repository for multi-repository tokens | | `--falcon-source ` | Optional Falcon LogScale source | | `--falcon-sourcetype ` | Optional Falcon LogScale parser or sourcetype | | `--falcon-insecure-skip-verify` | Skip Falcon LogScale HEC TLS certificate verification | | `--falcon-ca-file ` | Optional CA certificate path for Falcon LogScale HEC TLS verification | | `--otlp-forward-endpoint ` | Also forward the Claude Code and Codex OTLP the local collector receives, with secrets redacted and raw API bodies dropped, to a second OTLP endpoint: `host:port` or a URL for gRPC, the base URL for HTTP. For runtimes that already exported to another backend before Beacon took over their OTLP settings. See [Kandji, GCS and an existing OTLP backend](/guides/kandji-otlp-forward-mdm). Omitted, install and repair keep the forward the endpoint already has | | `--otlp-forward-protocol ` | `grpc` (default) or `http/protobuf` | | `--otlp-forward-harness ` | Runtimes whose OTLP the forward carries, comma-separated. Default `claude,codex`; any other source, such as the browser extension, stays local | | `--otlp-forward-header ` | Header sent with every forwarded export, usually the backend's API key; repeatable. Values are stored in a root-only `otlp-forward-headers.json` beside `config.json`, which keeps only the names; status and doctor show names only | | `--otlp-forward-insecure` | Send the forward without TLS (plaintext gRPC) | | `--otlp-forward-insecure-skip-verify` | Skip TLS certificate verification for the forward | | `--otlp-forward-ca-file ` | Optional CA certificate path for the forward's TLS verification | | `--no-otlp-forward` | Remove a configured OTLP forward | ## Examples Repair a default per-user install: ```bash title="Repair a default per-user install" theme={null} beacon endpoint repair ``` Repair and opt into low-level runtime OTLP metrics: ```bash title="Repair and opt into low-level runtime OTLP metrics" theme={null} beacon endpoint repair --include-runtime-metrics ``` Repair after changing Copilot CLI's customer-managed launch environment: ```bash title="Repair after changing Copilot CLI's customer-managed launch environment" theme={null} export COPILOT_OTEL_ENABLED="true" export OTEL_EXPORTER_OTLP_ENDPOINT="http://127.0.0.1:4318" beacon endpoint repair ``` Repair and opt into raw Codex spans for troubleshooting: ```bash title="Repair and opt into raw Codex spans for troubleshooting" theme={null} beacon endpoint repair --include-codex-spans ``` Repair and configure Devin CLI and Devin Desktop hooks: ```bash title="Repair and configure Devin CLI and Devin Desktop hooks" theme={null} beacon endpoint repair --harness claude,codex,devin-cli,devin-desktop ``` Repair with custom OTLP ports: ```bash title="Repair with custom OTLP ports" theme={null} beacon endpoint repair --otlp-grpc-port 14317 --otlp-http-port 14318 ``` Repair a system-mode deployment: ```bash title="Repair a system-mode deployment" theme={null} sudo beacon endpoint repair --system ``` Repair and add or update Splunk HEC export: ```bash title="Repair and add or update Splunk HEC export" theme={null} beacon endpoint repair \ --splunk-hec-endpoint https://splunk.example:8088/services/collector \ --splunk-hec-token "$SPLUNK_HEC_TOKEN" \ --splunk-index beacon ``` Repair and add or update Falcon LogScale HEC export: ```bash title="Repair and add or update Falcon LogScale HEC export" theme={null} beacon endpoint repair \ --falcon-hec-endpoint https://cloud..humio.com/api/v1/ingest/hec \ --falcon-hec-token "$FALCON_HEC_TOKEN" \ --falcon-index beacon ``` ## Related > [card] [Endpoint status](/cli/endpoint-status) > > Check collector health and runtime telemetry state after repair. > [card] [Endpoint install](/cli/endpoint-install) > > Review install options and endpoint configuration defaults. # beacon endpoint status Source: https://docs.asymptotelabs.ai/cli/endpoint-status Inspect local Beacon endpoint health, diagnostics, and runtime log state ## Command overview `beacon endpoint status` reports the current local endpoint configuration, collector status, service state, discovered harnesses, diagnostics, destination status, and the last observed Beacon event. The service state names the backend it found: `launchd` on macOS, `systemd` on Linux, or `supervised` where there is no init system to register with. A supervised collector is reported as such rather than as a healthy service, because nothing restarts it. ```bash title="Command syntax" theme={null} beacon endpoint status ``` ## Flags | Flag | Description | | - | - | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths and launch daemon | | `--log-path ` | Runtime JSONL log path | | `--json` | Print status as JSON | ## Examples Show endpoint status with the default per-user paths: ```bash title="Show endpoint status with the default per-user paths" theme={null} beacon endpoint status ``` Print machine-readable status: ```bash title="Print machine-readable status" theme={null} beacon endpoint status --json ``` Check a custom runtime log path: ```bash title="Check a custom runtime log path" theme={null} beacon endpoint status --log-path /path/to/runtime.jsonl ``` Check system-mode status for a root-managed deployment: ```bash title="Check system-mode status for a root-managed deployment" theme={null} sudo beacon endpoint status --system ``` ## Output Status includes: * Agent Beacon CLI version * Config path and runtime log path * Runtime-log source warnings if a system collector may be writing OTLP events to a different log * Collector health and configured OTLP ports * Service status, and which service manager it came from * Discovered agent harnesses, including Beacon-managed or customer-managed telemetry state for Gemini CLI, VS Code Copilot, GitHub Copilot CLI, and Factory Droid when present * Endpoint diagnostics * Destination configuration in JSON output, including Splunk HEC or Falcon LogScale HEC endpoint, index, source, and sourcetype when configured * Last Beacon event in the runtime log, when present * Asymptote managed ingest: whether this endpoint is connected (a connect that failed after the server issued the device key is reported as not connected, with `connect_incomplete: true` and the retry command), organization and device id, active privacy mode, forwarder service state, whether the device key is still accepted (`valid`, `revoked`, or `unknown` when offline), and disk-buffer size. In `--json` this is the `managed_ingest` object; account and device keys are never included. The line reports the connection for the install mode you asked about (`--user` or `--system`), even when the collector view switches to the system install because it holds the OTLP ports. * Inventory heartbeat: whether the scheduled inventory job is enabled and loaded, its interval, and when it last wrote. In `--json` this is the `inventory_heartbeat` object (`enabled`, `scheduled`, `interval`, `job`, `last_emitted_at`, `log_path`), reported for the requested install mode like managed ingest. * Session sync: `off`, or how often the [scheduled session sync](/cli/endpoint-install#scheduled-session-sync) runs and whether its job is loaded (`Session sync: every 15m0s; job loaded=true`). In `--json` this is the `session_sync` object (`enabled`, `interval`, `job`). When Splunk HEC is configured, `--json` includes a `destinations.splunk_hec` object with `configured: true` and the non-secret destination settings. When Falcon LogScale HEC is configured, `--json` includes `destinations.falcon_hec` with the same non-secret fields. HEC tokens are not printed. File-based destinations such as Wazuh, Elastic, Datadog, Sumo Logic, Rapid7, Microsoft Sentinel, and AWS S3 validate against the configured runtime log path and their generated shipper configuration. ## Related > [card] [Endpoint install](/cli/endpoint-install) > > Configure the local collector and supported runtime telemetry. > [card] [Endpoint doctor](/cli/endpoint-doctor) > > Run local health checks with pass/fail exit behavior. > [card] [Endpoint inventory](/cli/endpoint-inventory) > > Show configured, detected, and observed endpoint inventory. > [card] [Endpoint dashboard](/cli/dashboard) > > Inspect Beacon runtime logs in a local dashboard. # beacon endpoint test-event Source: https://docs.asymptotelabs.ai/cli/endpoint-test-event Write a synthetic Beacon endpoint validation event ## Command overview `beacon endpoint test-event` writes a synthetic validation event to the Beacon runtime JSONL log. ```bash title="Command syntax" theme={null} beacon endpoint test-event ``` Use a test event to validate local write permissions and downstream file-tail pipelines before relying on real agent activity. The command checks that the configured runtime log is writable, appends a known-good Beacon endpoint event, and reports the validation stages. `beacon endpoint validate-pipeline` is an alias. For destination-specific validation guidance, use the SIEM commands such as [`beacon endpoint wazuh validate`](/cli/wazuh#beacon-endpoint-wazuh-validate), [`beacon endpoint datadog validate`](/cli/datadog#beacon-endpoint-datadog-validate), [`beacon endpoint sumo validate`](/cli/sumo#beacon-endpoint-sumo-validate), or [`beacon endpoint rapid7 validate`](/cli/rapid7#beacon-endpoint-rapid7-validate). ## Flags | Flag | Description | | - | - | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths and launch daemon | | `--log-path ` | Runtime JSONL log path | | `--json` | Print validation stages as JSON | ## Examples Write a validation event to the default per-user runtime log: ```bash title="Write a validation event to the default per-user runtime log" theme={null} beacon endpoint test-event ``` Validate a custom runtime log: ```bash title="Validate a custom runtime log" theme={null} beacon endpoint test-event --log-path /path/to/runtime.jsonl ``` Print validation stages as JSON: ```bash title="Print validation stages as JSON" theme={null} beacon endpoint test-event --json ``` Use the pipeline-validation alias: ```bash title="Use the pipeline-validation alias" theme={null} beacon endpoint validate-pipeline ``` Validate a system-mode runtime log: ```bash title="Validate a system-mode runtime log" theme={null} sudo beacon endpoint test-event --system ``` ## Related > [card] [Endpoint status](/cli/endpoint-status) > > Inspect endpoint health and last-event state. > [card] [Log forwarding](/log-forwarding) > > Forward Beacon runtime JSONL to customer-managed destinations. # beacon endpoint traces Source: https://docs.asymptotelabs.ai/cli/endpoint-traces Search local endpoint traces and keep a local history of them ## Command overview `beacon endpoint traces` reads the Beacon runtime JSONL log as traces: one per session or OpenTelemetry trace, with its events in order. Use it when you want a trace-oriented view of endpoint activity without starting the dashboard. Run the top-level command on an interactive terminal to open the full-screen local trace browser: ```bash title="Browse local traces" theme={null} beacon traces ``` Use the arrow keys or `j`/`k` to move, `enter` to open a trace, `/` to search, and `1`–`4` to filter an open trace by event type. Page Up and Page Down scroll long event details. The browser reads only local Beacon state and does not contact the network. When stdout or stdin is redirected, `beacon traces` falls back to a bounded tab-separated trace list instead of emitting terminal control sequences. The `beacon endpoint traces` commands below remain the stable JSON and scripting interface. ```bash title="Command syntax" theme={null} beacon endpoint traces [command] ``` The commands read local files only and do not contact the network. Plain-text list, search, and show metadata rows collapse line breaks, tabs, and other whitespace to single spaces so each result stays on one row. JSON output retains the original text, and show keeps multiline text and commands in its indented event details. ## Local history The runtime log rotates after about 60 MB, which is a day or two of activity on a busy machine. Without a local history, trace commands can only see what is still in the log. The local history is a SQLite file, `~/.beacon/endpoint/history.db`, that keeps sessions after the log rotates them away. Every trace command catches it up with the log before answering, so it needs no background service. It also makes search faster, since it keeps a full-text index of the same text the commands search. It is off until you turn it on: * The first `beacon endpoint traces` or `beacon traces` command on an interactive terminal asks once whether to create it. "Not now" is remembered. * `beacon endpoint traces reindex` creates it without asking. * Commands run by scripts, agents, pipes, `--json` or CI are never asked. They read the log and print a one-line note on stderr. What it holds: * The same prompts, commands, output and file changes the runtime log holds, after the same redaction. The runtime's raw payload is dropped except for the few fields trace summaries read. * Nothing leaves the machine. The file is readable only by you (mode `0600`). * Traces whose last event is older than 90 days are removed, and the oldest traces are removed once the file reaches 1 GB. Change either with `reindex --retention-days` and `reindex --max-size-mb`. If the log rotates more than five times between two trace commands, the files in between are deleted before the history reads them. `status` reports this as a gap. `beacon endpoint traces reset` deletes the history. `beacon endpoint uninstall` deletes it along with the runtime logs, unless you pass `--keep-logs`. Set `BEACON_HISTORY_DB` to keep the history somewhere else. For assistant message and reasoning events, an event's `content.text` is the text retained in `gen_ai.output.messages`: what the assistant said, or its reasoning. The event's label, such as `Codex assistant message`, stays in `summary`, and fills `content.text` only when the event retained no text. The retained text went through Beacon's redaction and size limits when it was written, and `content.redacted` and `content.truncated` report either change. `beacon memory` evaluates traces from this same view. ## Commands | Command | Description | | - | - | | `beacon endpoint traces status` | Show whether the local history is set up, and its size, trace and event counts, oldest and newest event, limits, and any gaps | | `beacon endpoint traces reindex` | Create the local history, or bring it up to date with the runtime log | | `beacon endpoint traces reset` | Delete the local history. Asks first; `--yes` skips the question | | `beacon endpoint traces list` | List local traces with harness, update time, and title | | `beacon endpoint traces search ` | Search trace metadata or indexed event text | | `beacon endpoint traces show ` | Show events from one trace | ## Flags All commands accept: | Flag | Description | | - | - | | `--json` | Print results as JSON | | `--log-path ` | Runtime JSONL log path. Defaults to the resolved endpoint log | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths | `list`, `search`, and `show` also accept: | Flag | Description | | - | - | | `--limit ` | Limit returned traces or events. Defaults to `100` | | `--event-type ` | Filter trace events by comma-separated event type | `list` also accepts: | Flag | Description | | - | - | | `--query `, `-q ` | Filter traces by text | | `--page ` | Page number for trace listing. Defaults to `1` | | `--state ` | Filter by sharing state: `local_only`, `shared` for sessions shared to beacon.sh with `beacon share` (including stale ones), or `stale` for only the shared sessions with newer local activity | | `--visibility ` | Filter by sharing visibility: `private` for local-only traces, or the `public`, `direct` or `private` a shared trace was given | `search` also accepts: | Flag | Description | | - | - | | `--result-level trace` | Return matching traces. This is the default | | `--result-level event` | Return matching events with snippets | `reindex` also accepts: | Flag | Description | | - | - | | `--retention-days ` | Remove traces whose last event is older than this. Defaults to `90`, and a value you set is kept | | `--max-size-mb ` | Remove the oldest traces once the history reaches this size. Defaults to `1024`, and a value you set is kept | | `--rebuild` | Recompute search text and summaries from the stored events | `show` also accepts: | Flag | Description | | - | - | | `--offset ` | Start at this position in the filtered events. Defaults to `1` | | `--around-event ` | Center output around this event number | | `--before ` | Events before `--around-event`. Defaults to `3` | | `--after ` | Events after `--around-event`. Defaults to `3` | With `--event-type`, `--around-event` still takes the original event number, and `--before` and `--after` count matching events. ## Examples ```bash title="Check the local history" theme={null} beacon endpoint traces status ``` ```bash title="Create the local history, keeping 30 days" theme={null} beacon endpoint traces reindex --retention-days 30 ``` ```bash title="List recent traces" theme={null} beacon endpoint traces list --limit 20 ``` ```bash title="Search event text" theme={null} beacon endpoint traces search "npm install" --result-level event ``` ```bash title="Show a focused event window" theme={null} beacon endpoint traces show --around-event 42 --before 5 --after 10 ``` ## Related > [card] [Local dashboard](/cli/dashboard) > > Inspect the same local endpoint activity in the loopback dashboard. > [card] [Local JSONL](/log-forwarding/local-jsonl) > > Understand the runtime log that traces and the local history are read from. # beacon endpoint uninstall Source: https://docs.asymptotelabs.ai/cli/endpoint-uninstall Remove Beacon endpoint service files while optionally preserving logs or runtime configuration ## Command overview `beacon endpoint uninstall` unloads the local Beacon service and removes managed endpoint files. ```bash title="Command syntax" theme={null} beacon endpoint uninstall ``` Use retention flags when you want to keep local evidence or preserve harness telemetry configuration. ## Flags | Flag | Description | | - | - | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths and launch daemon | | `--log-path ` | Runtime JSONL log path | | `--keep-logs` | Keep runtime logs during uninstall | | `--keep-config` | Keep harness telemetry configuration during uninstall | ## Examples Remove the default per-user install: ```bash title="Remove the default per-user install" theme={null} beacon endpoint uninstall ``` Remove Beacon but keep runtime logs: ```bash title="Remove Beacon but keep runtime logs" theme={null} beacon endpoint uninstall --keep-logs ``` Remove Beacon but keep harness telemetry configuration: ```bash title="Remove Beacon but keep harness telemetry configuration" theme={null} beacon endpoint uninstall --keep-config ``` Keep both logs and harness configuration: ```bash title="Keep both logs and harness configuration" theme={null} beacon endpoint uninstall --keep-logs --keep-config ``` Remove a system-mode deployment: ```bash title="Remove a system-mode deployment" theme={null} sudo beacon endpoint uninstall --system --keep-logs ``` ## Removed paths Beacon removes files listed in its install manifest, including managed config, collector config, and service files, and unloads and removes the scheduled inventory and session sync jobs. Unless `--keep-logs` is set, it also removes the configured runtime JSONL log. On a macOS system install, uninstall also stops and removes the S3, GCS, and Falcon forwarders that the package's MDM helpers install (`com.beacon.endpoint.s3-forwarder`, `gcs-forwarder`, and `falcon-forwarder`). Unless `--keep-config` is set, it deletes `/Library/Application Support/Beacon/Forwarders`, which holds their credentials. `beacon endpoint repair` leaves these forwarders running. If the endpoint was connected to Asymptote managed ingest, uninstall also stops and removes the `com.beacon.endpoint.asymptote-forwarder` service (or `beacon-asymptote-forwarder.service`) and the `asymptote/` directory holding the Vector config, buffer, enrollment record and device key; `--keep-config` keeps the enrollment record and key. The device stays registered server-side until it is revoked from the dashboard's Beacon Endpoints page. ## Related > [card] [Endpoint install](/cli/endpoint-install) > > Reinstall the local endpoint collector and runtime telemetry. > [card] [Endpoint status](/cli/endpoint-status) > > Check endpoint state before or after uninstalling. # beacon endpoint gcs Source: https://docs.asymptotelabs.ai/cli/gcs Generate Google Cloud Storage forwarding content and validation events for Beacon endpoint events. ## Forwarding command Use `beacon endpoint gcs` to generate Google Cloud Storage forwarding content for Beacon endpoint events. The generated pack keeps Beacon as a local JSONL producer and helps your customer-managed Vector agent upload runtime and inventory JSONL to a GCS bucket as NDJSON. Beacon does not store Google Cloud credentials, service accounts, workload identity settings, bucket IAM, lifecycle rules, retention policies, or encryption settings. Keep those values in Google Cloud, Vector, endpoint-management policy, or deployment tooling. ```bash title="Command syntax" theme={null} beacon endpoint gcs [command] ``` ## Commands > [card] [beacon endpoint gcs print-config](#beacon-endpoint-gcs-print-config) > > Print the Vector Google Cloud Storage forwarding template for the configured runtime log. > [card] [beacon endpoint gcs install-pack](#beacon-endpoint-gcs-install-pack) > > Write Google Cloud Storage forwarding content to a directory. > [card] [beacon endpoint gcs validate](#beacon-endpoint-gcs-validate) > > Write and describe a Beacon Google Cloud Storage validation event. ## Runtime log paths | Mode | Path | | - | - | | User mode | `~/.beacon/endpoint/logs/runtime.jsonl` | | System mode | `/var/log/beacon-agent/runtime.jsonl` | ## beacon endpoint gcs print-config `beacon endpoint gcs print-config` prints a Vector configuration that tails the selected Beacon runtime JSONL log and writes NDJSON objects to Google Cloud Storage. ```bash title="Print the configuration" theme={null} beacon endpoint gcs print-config ``` Use this command when you want to inspect or copy the Vector template into an existing endpoint forwarding workflow. ### Examples Print Vector config for the default per-user Beacon install: ```bash title="Print Vector config for the default per-user Beacon install" theme={null} beacon endpoint gcs print-config ``` Print Vector config for a system-mode MDM deployment: ```bash title="Print Vector config for a system-mode MDM deployment" theme={null} sudo /opt/beacon/bin/beacon endpoint gcs print-config --system ``` Print Vector config for a custom runtime log: ```bash title="Print Vector config for a custom runtime log" theme={null} beacon endpoint gcs print-config --log-path /path/to/runtime.jsonl ``` ### Flags | Flag | Description | | - | - | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths and launch daemon | | `--log-path ` | Runtime JSONL log path | ## beacon endpoint gcs install-pack `beacon endpoint gcs install-pack` writes Google Cloud Storage forwarding content to a directory. ```bash title="Generate the integration pack" theme={null} beacon endpoint gcs install-pack --output ./beacon-gcs-pack ``` The pack includes setup instructions, a one-shot GCS upload smoke-test script, a Vector `gcp_cloud_storage` forwarding template, and sample Beacon endpoint events. Current templates keep a root prefix and write runtime activity and inventory snapshots below separate `runtime/` and `inventory/` folders. ### Examples Generate a content pack for the default per-user install: ```bash title="Generate a content pack for the default per-user install" theme={null} beacon endpoint gcs install-pack --output ./beacon-gcs-pack ``` Generate a content pack for a system-mode deployment: ```bash title="Generate a content pack for a system-mode deployment" theme={null} sudo /opt/beacon/bin/beacon endpoint gcs install-pack \ --system \ --output ./beacon-gcs-pack ``` Generate a content pack for a custom runtime log: ```bash title="Generate a content pack for a custom runtime log" theme={null} beacon endpoint gcs install-pack \ --output ./beacon-gcs-pack \ --log-path /path/to/runtime.jsonl ``` ### Flags | Flag | Description | | - | - | | `--output ` | Output directory for the Google Cloud Storage content pack. Defaults to `beacon-gcs-pack` | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths and launch daemon | | `--log-path ` | Runtime JSONL log path | ## beacon endpoint gcs validate `beacon endpoint gcs validate` writes a Beacon validation event to the runtime JSONL log and prints the expected GCS validation fields and follow-up Google Cloud checks. ```bash title="Run the validation check" theme={null} beacon endpoint gcs validate ``` ### Examples Write a validation event for the default per-user install: ```bash title="Write a validation event for the default per-user install" theme={null} beacon endpoint gcs validate ``` Write a validation event for a system-mode deployment: ```bash title="Write a validation event for a system-mode deployment" theme={null} sudo /opt/beacon/bin/beacon endpoint gcs validate --system ``` Write a validation event to a custom runtime log: ```bash title="Write a validation event to a custom runtime log" theme={null} beacon endpoint gcs validate --log-path /path/to/runtime.jsonl ``` The validation command writes the local event only. Confirm remote delivery with Google Cloud tooling: ```text theme={null} gcloud storage ls "gs://${BEACON_GCS_BUCKET}/${BEACON_GCS_PREFIX}/**" gcloud storage cat "gs://${BEACON_GCS_BUCKET}/${BEACON_GCS_PREFIX}/runtime/date=/.jsonl" | grep "Beacon endpoint GCS validation event" ``` Expected validation fields: ```text theme={null} vendor=beacon product=endpoint-agent destination.type=gcs destination.mode=google_cloud_storage_jsonl ``` ### Flags | Flag | Description | | - | - | | `--user` | Use per-user endpoint paths. Enabled by default | | `--system` | Use system endpoint paths and launch daemon | | `--log-path ` | Runtime JSONL log path | ## Packaged macOS forwarding The signed macOS endpoint package includes: ```text theme={null} /opt/beacon/jamf/claude/gcs/install-forwarder.sh /opt/beacon/jamf/claude/gcs/run-forwarder.sh /opt/beacon/jamf/claude/gcs/repair-hooks-and-forwarder.sh ``` The helper requires: * `BEACON_GCS_BUCKET` * optional root `BEACON_GCS_PREFIX`, default `beacon` * optional `BEACON_GCS_STORAGE_CLASS`, default `STANDARD` * `GOOGLE_APPLICATION_CREDENTIALS`, pointing to an externally delivered service-account JSON file outside Beacon-managed directories It writes `gcs-vector.toml` and a root-owned `gcs-vector.env` below `/Library/Application Support/Beacon/Forwarders`, then starts `com.beacon.endpoint.gcs-forwarder`. The env file stores the credential path, not the credential JSON. Vector `0.56` supports service-account JSON and GCE metadata credentials. On managed Macs, do not depend on interactive `gcloud` Application Default Credentials or Workload Identity Federation for the launchd service. Use a write-only service account with `roles/storage.objectCreator` for the endpoint and a separate reader identity for validation. An object creator cannot list or read the objects it successfully uploads. ## Related > [card] [Google Cloud Storage with Terraform](/log-forwarding/gcs-terraform) > > Create the bucket and create-only service account with Terraform. > [card] [Object storage forwarding](/guides/macos-object-storage-system) > > Configure Vector forwarding from Beacon JSONL into Google Cloud Storage. > [card] [Log forwarding](/log-forwarding) > > Review forwarding patterns and validation steps. > [card] [Endpoint agent](/cli/endpoint) > > Install and inspect the local endpoint agent. > [card] [Endpoint event schema](/telemetry-schema/event-schema) > > Review normalized Beacon JSONL fields and example events. # beacon git Source: https://docs.asymptotelabs.ai/cli/git Link git commits to the agent sessions that wrote them ## Command overview `beacon git` records which agent sessions produced a commit, as a git note on the commit. ```bash title="Command syntax" theme={null} beacon git setup [flags] beacon git status [flags] beacon git remove [flags] beacon git link [] [flags] beacon git notes [] [flags] beacon git notes push [] [flags] beacon git notes fetch [] [flags] ``` `beacon git setup` installs hooks so every new commit in the repository is linked as it is made. `beacon git link` links one commit by hand, which is also how to link commits made before setup. A link names a session by its harness and session id, for example `beacon:claude_code/0f8e2c1a-…`. The note carries identifiers only, never prompts, output, or diffs: notes can be shared with a remote, and the session's content stays in the local runtime log. `beacon handoff export ` reads a linked session back. ## How sessions are matched to a commit Beacon already records every file a supported runtime writes, so matching a commit to its sessions is a read of the local runtime log. No state file is kept and nothing touches the network. 1. **Window.** Beacon reads the log from the parent commit's time up to the commit. The window always covers at least `--min-lookback` (2 hours) and never more than `--max-lookback` (24 hours) before the commit. Events after the commit are ignored, because they cannot have produced it. 2. **Evidence.** A session wrote a file when the log has, for that session, a `file.created`, `file.modified` or `file.deleted` event, a tool event whose `file.operation` is a write, a shell command whose target is plain to read (`rm`, `mv`, `cp`, `install`, `ln`, `touch`, `truncate`, `tee`, `sed -i`, `perl -pi`, `git mv`, `git rm`, output redirection), or an `apply_patch` envelope. Reads do not count, and neither does a path that depends on a variable, a glob or a command substitution. 3. **Overlap.** Beacon compares those paths with the files the commit changes, counting both sides of a rename. A session that wrote at least one of them is linked. Sessions are ordered by how many of the commit's files they wrote, then by how recently. For a merge commit, only files where the result differs from every parent count: conflict resolutions and edits made while merging. The files a merge brings in were written by the other side's commits, so a clean merge or a `git pull` links nothing. A link is an inference, not an observation. A session that edited a file a person then rewrote by hand is still linked, and a session that wrote nothing the commit kept is not. ## `beacon git setup` Installs Beacon's git hooks in the current repository. ```bash theme={null} cd my-repo beacon git setup ``` ```text title="Example output" theme={null} created /work/my-repo/.git/hooks/post-commit (calls beacon-post-commit) created /work/my-repo/.git/hooks/post-rewrite (calls beacon-post-rewrite) set notes.rewriteRef = refs/notes/beacon ``` * **post-commit** links the new commit, exactly as `beacon git link` would. It reads the local runtime log and writes a git note, typically in tens of milliseconds, and gives up after three seconds rather than hold a commit, recording in the runtime log that it did ([see below](#hook-runs-that-run-out-of-time)). It never prints, never touches the network, and never fails a commit. * **post-rewrite** runs after `git commit --amend` and `git rebase` and tidies the note on each rewritten commit, folding the note git copied from the old commit into the one the post-commit hook just wrote. * **`notes.rewriteRef`** makes git copy a commit's links to the commit that replaces it when you amend or rebase. Rebases, cherry-picks and reverts are not attributed afresh: they replay existing commits, and their links, if any, travel with `notes.rewriteRef`. A hook already in place keeps working. Beacon writes its own `beacon-post-commit` and `beacon-post-rewrite` scripts and adds a short marked block to the top of the hook that calls them, so a hook ending in `exit 0` still runs Beacon's part. Only shell hooks are edited: if the hook is another language, `setup` stops and prints the line to add yourself. The scripts call Beacon by the absolute path it had at setup and fall back to `beacon` on `PATH`, so a GUI git client without Beacon on its `PATH` still links commits. Hooks live in the repository's shared hooks directory, so one `setup` covers every linked worktree. | Flag | Description | | - | - | | `--hooks-path` | Install into the `core.hooksPath` directory when one is set (see below) | | `--share-notes` | Share links with remotes (see [Sharing links with a team](#sharing-links-with-a-team)). `--share-notes=false` turns sharing off; without the flag, `setup` leaves it as it is | | `--share-sessions` | Also share the sessions linked to pushed commits to beacon.sh during each push (see [Share URLs in notes](#share-urls-in-notes)). Implies `--share-notes`; `--share-sessions=false`, `--share-notes=false` and `remove` turn it off | | `--share-visibility ` | With `--share-sessions`, the visibility of new traces: `direct` (default), `private` or `public` | | `--yes` | With `--share-visibility public`, set it up without asking | | `-C`, `--cwd ` | Repository to operate on | | `--json` | Print what was installed as JSON | Set `BEACON_GIT_HOOKS=0` to skip the hooks for one command: ```bash theme={null} BEACON_GIT_HOOKS=0 git commit -m "..." ``` ### Hook managers and `core.hooksPath` Tools such as husky and lefthook point `core.hooksPath` at a directory they own, often one tracked in the repository. `setup` refuses to write there by default and prints the line to add to that tool's `post-commit` hook instead: ```bash theme={null} beacon git hook post-commit || true ``` Pass `--hooks-path` to install into that directory anyway. ## `beacon git status` Shows whether each hook is installed, reports an install that is broken (a hook calling a script that is gone, or the reverse), and says whether `notes.rewriteRef` is set. The `overruns` line counts this repository's hook runs that [ran out of time](#hook-runs-that-run-out-of-time) in the last seven days, how many of them were cut short, and the most recent. `--json` prints the same as JSON, with a top-level `installed` field and the counts under `budget_overruns`. ## Sharing links with a team Links start out local. Nothing leaves the machine until you share them, and sharing is off unless you turn it on. ```bash theme={null} beacon git setup --share-notes ``` This does two things in the repository: * **Fetching.** Each remote gets a fetch refspec, `+refs/notes/beacon:refs/notes/beacon-remotes/`, so a plain `git fetch` or `git pull` brings teammates' links into a read-only copy. `beacon git notes` reads that copy alongside your own links. Your `refs/notes/beacon` is never overwritten by a fetch, so links you have not pushed yet are safe. A fetch or pull that names a refspec on the command line, such as `git pull origin main`, skips configured refspecs; run `beacon git notes fetch` to fetch links then. * **Pushing.** A `pre-push` hook shares your links whenever you `git push`. It fetches the remote's links, merges them with yours (every line of both is kept), and pushes only `refs/notes/beacon` to the same remote. It runs with `--no-verify`, so your other pre-push hooks are not run twice. It gives up after ten seconds and never fails your push: if sharing fails, it prints one line and your code is pushed as usual. This is the one Beacon hook that reaches the network, and only during a push you started, to the remote you are pushing to. `BEACON_GIT_HOOKS=0 git push` skips it for one push, and `beacon git setup --share-notes=false` turns it off. To share by hand instead, without the hook: ```bash theme={null} beacon git notes push # the branch's remote, or origin beacon git notes fetch upstream # read another remote's links ``` A note holds only `beacon:/` lines, optionally followed by the session's share URL, so sharing a link shares that a session produced the commit (and, when the session was shared, where its trace is), not what happened in it. The session itself stays in the runtime log of the machine that ran it. ## Share URLs in notes A note line can also carry the share URL of a session that was shared to beacon.sh, after the session (`beacon:/ `). Beacon takes these URLs only from local `session.shared` events in the runtime log, so writing them never touches the network, and it writes or shows only `https` URLs on `beacon.sh` or on the Beacon service the CLI is configured for: a note can come from anyone who pushes to the remote, so a URL on any other host is ignored and the link is shown without it. `beacon git notes` prints the URL after the session, and `--json` includes it as `url`. `setup --share-sessions` goes further and has the pre-push hook share the sessions linked to pushed commits (at most 100 commits and 10 sessions per push, within the hook's ten seconds, never failing the push) and write their URLs into the notes. It is off by default, uses the same `beacon login` sign-in or `BEACON_API_KEY` as `beacon share`, shares nothing without one, and is stored in the clone's own git config (`beacon.shareSessions`, `beacon.shareVisibility`). Session sharing is a beacon.sh feature, documented at [docs.beacon.sh](https://docs.beacon.sh/cli/share). ## `beacon git remove` Removes Beacon's scripts, its blocks in the hooks, its `notes.rewriteRef` value, and the fetch refspecs `--share-notes` added, leaving everything else as it was. A hook that held nothing but Beacon's block is deleted. Links already written stay in `refs/notes/beacon`. ## `beacon git link` Links a commit (default `HEAD`) and writes the note. ```bash theme={null} beacon git link beacon git link 3f6aa6c --dry-run ``` ```text title="Example output" theme={null} commit 3f6aa6c04b78 agent change window 2026-09-27 15:33:23 .. 2026-09-27 17:34:23 linked claude_code/sess-claude-e2e 3 of 3 file(s): keep.txt, src/app.go, stale.txt Wrote 1 link(s) to refs/notes/beacon. ``` Running `link` again adds only what is new. Links already on the commit, including a teammate's, are kept, as is any other text in the note. | Flag | Description | | - | - | | `--dry-run` | Show the links without writing the note | | `--min-lookback ` | Always read at least this far before the commit (default `2h`) | | `--max-lookback ` | Never read further than this before the commit (default `24h`) | | `--log-path ` | Runtime JSONL log to read (default the local runtime log) | | `-C`, `--cwd ` | Repository to operate on | | `--json` | Print the result, with every candidate session and its matching files, as JSON | ## `beacon git notes` Lists recent linked commits reachable from a revision (default `HEAD`). ```bash theme={null} beacon git notes --limit 50 beacon git notes origin/main --json ``` | Flag | Description | | - | - | | `--limit ` | Number of commits to walk (default 20); commits without links are skipped. Links fetched from remotes are included | | `-C`, `--cwd ` | Repository to operate on | | `--json` | Print commits and their links (with `url` when a link carries a share URL) as JSON | ## Runtime log events Each new link is also recorded in the runtime log as a `session.commit_linked` event in the linked session's own timeline, so the dashboard, `beacon endpoint traces`, handoff briefs, rules and any forwarding destination see the commit alongside the work that produced it. `link` and the hook record an event only for a link they add: a dry run, or a commit already linked to the session, records nothing. ```json title="Example event (abridged)" theme={null} { "event": { "action": "session.commit_linked", "category": "session", "fidelity": "inferred" }, "harness": { "name": "claude_code" }, "session": { "id": "sess-claude-e2e", "working_directory": "/work/my-repo" }, "repository": "/work/my-repo", "branch": "main", "vcs": { "ref": { "head": { "revision": "3f6aa6c04b78…", "name": "main", "type": "branch" } }, "repository": { "url": { "full": "https://github.com/org/my-repo.git" } }, "attribution": { "method": "file_overlap", "changed_files": 3, "matched_files": 3 } }, "message": "commit 3f6aa6c04b78 linked to this session: it wrote 3 of the 3 file(s) the commit changes" } ``` * `event.fidelity` is `inferred`: the link is Beacon's conclusion from file overlap, not something the runtime reported. * `vcs.ref.head.name` is the branch HEAD was on at commit time. It is empty for a detached HEAD, or for an older commit linked by hand, whose branch git cannot say. * `vcs.repository.url.full` is the URL of the remote the branch tracks, or `origin`, with any user name, token, or query string removed. * The event carries identifiers and counts only: no file paths, diff, or commit message. A rule can match on these fields, for example a commit to `main` that one session wrote in full: ```yaml theme={null} match: > e.event.action == "session.commit_linked" && e.vcs.ref.head.name == "main" && e.vcs.attribution.matched_files == e.vcs.attribution.changed_files ``` ## Hook runs that run out of time The hooks hold up a command a person is waiting on, so each gives up when its budget runs out: three seconds for post-commit and post-rewrite, ten for pre-push. Giving up is silent on the terminal, and a post-commit hook that gives up leaves the commit unlinked. So each run that runs out of time writes one `git.hook_budget_exceeded` event to the runtime log. ```json title="Example event (abridged)" theme={null} { "event": { "action": "git.hook_budget_exceeded", "category": "system", "kind": "beacon_system", "fidelity": "observed" }, "severity": "low", "harness": { "name": "beacon" }, "repository": "/work/my-repo", "vcs": { "hook": { "name": "post-commit", "phase": "attribute", "budget_ms": 3000, "elapsed_ms": 3290, "phase_elapsed_ms": 3250, "git_spawns": 14, "cut_short": true } }, "message": "post-commit hook ran out of time in attribute: 3.3s of its 3s budget, 14 git process(es); its work was cut short" } ``` * `vcs.hook.phase` is the step the hook was in when its time ran out. Post-commit runs `open_repository`, `attribute` (reading the runtime log and writing the note) and `record_link_event`; post-rewrite runs `open_repository` and `normalize_notes`; pre-push runs `open_repository`, `share_sessions` (with `--share-sessions`) and `push_notes`. * `vcs.hook.elapsed_ms` is the whole run and `vcs.hook.phase_elapsed_ms` the part of it spent in that phase, so a slow earlier step shows as the difference. Pre-push holds its share phase to six of its ten seconds, so a share phase that runs out records an elapsed time under the budget. * `vcs.hook.git_spawns` is how many git processes the run started. Each costs a few milliseconds on macOS and Linux, and can cost far more on a Windows machine that scans every new process. * `vcs.hook.cut_short` is true when running out of time left work undone: a commit left unlinked, a link event, note or share URL left unrecorded, or the notes ref left unpushed. It is false for a run whose last step finished after the deadline, which is recorded as `info` rather than `low`. * `repository` is empty when the hook ran out before it could resolve the repository. `beacon git status` counts these events for the repository, and [`beacon endpoint doctor`](/cli/endpoint-doctor#git_hook_budget) for every repository. A commit left unlinked can be linked with `beacon git link `. ## Note format Links live under `refs/notes/beacon`, one per line: ```text theme={null} beacon:/ [] ``` `` is Beacon's canonical harness name (`claude_code`, `codex_cli`, `cursor`, …). A session id has no whitespace, no control or non-ASCII characters, and at most 256 characters. The first field after whitespace is the session's [share URL](#share-urls-in-notes) when it is an allowed `https` URL (at most 512 characters); anything else after whitespace is reserved for later fields and ignored. Lines that do not start with `beacon:` are ignored. When the same link appears with and without a URL (two people's notes merged), the line with the URL is kept. Beacon updates the note with a compare-and-swap on the notes ref, so two commits made at the same moment in two worktrees of one repository never lose each other's links. To see links in `git log`, including those fetched from remotes: ```bash theme={null} git log --notes=beacon --notes='beacon-remotes/*' ``` # beacon handoff Source: https://docs.asymptotelabs.ai/cli/handoff Pick up a local agent session again, in the same runtime or another one ## Command overview `beacon handoff` finds the agent sessions stored on this machine so you can pick one up again. ```bash title="Command syntax" theme={null} beacon handoff list [flags] beacon handoff export [flags] beacon handoff resume [flags] ``` Sessions come from each runtime's own local session store, not from Beacon's runtime log. That store is what the runtime resumes from, and it keeps content the runtime log truncates. Every read is local and read-only: nothing is uploaded, and no runtime file is changed. ## Supported runtimes | Runtime | Session store | `--harness` | | - | - | - | | Claude Code | `~/.claude/projects` (`$CLAUDE_CONFIG_DIR/projects` when set) | `claude` | | Codex CLI | `$CODEX_HOME/sessions` when set; otherwise `~/.codex/sessions` | `codex` | | OpenCode | `~/.local/share/opencode` (or `$XDG_DATA_HOME/opencode`, and `OPENCODE_DB` when set; SQLite and the legacy file store) | `opencode` | | Cline | `~/.cline/data` | `cline` | | Pi | `~/.pi/agent/sessions` (or under `PI_CODING_AGENT_DIR`) | `pi` | | Prime Agent | `~/.prime/agent`, both `sessions` and `session-artifacts` (or `PRIME_AGENT_CODING_AGENT_DIR`) | `prime` | | Factory Droid | `~/.factory/sessions` | `droid` | | GitHub Copilot CLI | `$COPILOT_HOME/session-state` when set; otherwise `~/.copilot/session-state` | `copilot` | | Hermes Agent | `state.db` in the [Hermes home](/runtimes/hermes-agent#hermes-home-and-profiles): `$HERMES_HOME` or the active profile when set; otherwise `~/.hermes/state.db` (Windows: `%LOCALAPPDATA%/hermes/state.db`) | `hermes` | | DeepSeek Harness | `~/.dsh/sessions` (or under `DSH_HOME`) | `dsh` | | fx | `~/.fx/sessions` | `fx` | | Grok Build | `~/.grok/sessions` | `grok` | | OpenClaw Gateway | `~/.openclaw/agents//sessions` for every agent (or under `OPENCLAW_STATE_DIR`) | `openclaw` | | Cursor | `~/.cursor/projects` (agent transcripts) and Cursor's global storage `state.vscdb` (Composer conversations) | `cursor` | When a Codex thread has more than one rollout file, `beacon handoff` lists it once, under its newest file. Cline can hold the same task both as a CLI session and in its older task history; the CLI session is the copy that is listed. Cline kanban cards are not sessions and are not listed. Prime Agent subagent transcripts, under `session-artifacts`, are listed as subagents of the session that started them. Hermes Agent delegate subagents are listed as subagents of the session that spawned them. When Hermes compresses a long conversation it continues it in a new session; each of those sessions is listed, and reopening any of them reopens the latest. A DeepSeek Harness session that DSH spawned for delegated work is listed as a subagent of the session that started it; a fork of a session is listed as a session of its own. Grok Build keeps its subagents' child sessions in the same tree as other sessions; those whose `summary.json` has a subagent `session_kind` are listed as subagents. OpenClaw transcript ids are unique only within one agent. When two agents hold the same id, both are listed, and `export` and `resume` report the id as ambiguous rather than pick one. A Cursor conversation can be stored both as a transcript and as a Composer record under one id; it is listed once, as the transcript when `cursor-agent` can reopen it and as the Composer record otherwise. Cursor subagent transcripts are listed as subagents of the conversation that started them. OpenClaw Gateway sessions are read from the JSONL transcripts and the `sessions.json` index in each agent's `sessions` directory, as `beacon endpoint openclaw sessions sync` reads them. Recent OpenClaw releases keep live sessions in a per-agent SQLite database and treat that directory as legacy, so sessions that exist only in the database are not listed. `--store-dir =` takes the location in the table: for Pi its sessions directory, as `beacon endpoint pi sync --sessions-dir` does, and for Prime Agent the agent directory holding both of its roots. For Factory Droid it is the sessions directory, as `beacon endpoint factory sync --sessions-dir` does. For GitHub Copilot CLI it is the `~/.copilot` directory that holds `session-state`, as `beacon endpoint copilot sync --copilot-dir` does. For Hermes Agent it is the `state.db` file, as `beacon endpoint hermes sync --db` does. For DeepSeek Harness it is its `DSH_HOME`, as `beacon endpoint dsh sync --dsh-home` does. For fx it is its sessions directory, as `beacon endpoint fx sync --sessions-dir` does. For Grok Build it is its sessions directory, as `beacon endpoint grok sync --sessions-dir` does. Like that sync, `beacon handoff` does not read `GROK_HOME`; pass `--store-dir grok=$GROK_HOME/sessions` when it is set. For OpenClaw Gateway it is its state directory, as `beacon endpoint openclaw sessions sync --openclaw-dir` does. For Cursor it is the projects directory, as `beacon endpoint cursor sync --projects-dir` does. Cursor's global storage database is always read from its default location. fx records no session title, so an fx session is listed under its first prompt, and its directory is the workspace fx last bound it to. ### Runtimes Beacon starts but does not read Beacon keeps no reader for these runtimes' own session stores, so `list` does not show their sessions. `export` and `resume` still find one by id in Beacon's runtime log, and they can be the runtime another session continues in (`--agent`): | Runtime | `--agent` | | - | - | | Oh My Pi | `omp` | | Gemini CLI | `gemini` | | Qwen Code | `qwen` | | Kiro | `kiro` | | Antigravity CLI | `agy` | | Devin CLI | `devin` | | Muse Code | `muse` | | OpenHands | `openhands` | | goose | `goose` | Kimi Code can only take a prompt non-interactively, and Senpi (`omo`) moves Pi's agent directory into its own the first time it runs, so Beacon does not start them. ## `beacon handoff list` Lists resumable sessions, newest first. ```bash theme={null} beacon handoff list beacon handoff list --here # sessions that ran in this directory or below it beacon handoff list --harness codex # one runtime beacon handoff list --json ``` | Flag | Description | | - | - | | `--harness` | Only this runtime: `claude`, `codex`, `opencode`, `cline`, `pi`, `prime`, `droid`, `copilot`, `hermes`, `dsh`, `fx`, `grok`, `openclaw` or `cursor`. | | `--here` | Only sessions that ran in the current directory or below it. | | `--dir` | Only sessions that ran in this directory or below it. | | `--subagents` | Include subagent sessions. They are hidden by default, because resuming one resumes a fragment of its parent's task. | | `--limit` | Maximum sessions to list. Default `25`; `0` lists all. | | `--json` | Print `{"sessions": [...], "warnings": [...]}`. | | `--store-dir =` | Read a runtime's store from a non-default location. Repeatable. | | `--claude-projects-dir`, `--codex-dir`, `--opencode-dir`, `--cline-dir` | The same for one runtime; each wins over `--store-dir` for its runtime. | A store that cannot be read is reported as a warning (on stderr, or under `warnings` in JSON), and the sessions from the other runtimes are still listed. ## `beacon handoff export` Writes a handoff brief for one session: a Markdown summary of what it asked for, what it changed, and where it stopped, for another agent or person to continue from. ```bash theme={null} beacon handoff export 7f3c2a91 # writes ~/.beacon/endpoint/handoffs/--