The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu
Go agent-ai-cliagent-harnessesagent-securitybrowser-extensionciclaude-codecloudcodexcursordetection-engineeringjevknowledge-basememorymobile-device-managementobservabilitysecuritysecurity-information-and-event-managementsecurity-toolstelemetrytraces
Merge remote-tracking branch 'origin/claude/affectionate-dijkstra-os6gl2-share-account' into HEAD
Claude039df35bde88
diff --cc docs/cli/account-auth.mdxindex 6c5350ea,45a2389e..bd9d94d1--- a/docs/cli/account-auth.mdx+++ b/docs/cli/account-auth.mdx@@@ -98,7 -98,7 +98,7 @@@ The CLI uses the versioned `2026-09-01- `GET /cli/auth?state=...&port=...&scopes=...` authenticates the person, lists every requested scope (space-separated in `scopes`), and redirects to the loopback callback with `state` and a one-time `exchange_code`.- `POST /api/cli/auth/exchange` accepts the exchange code, state, and PKCE verifier. It returns a scoped access token, expiry, user identity, organization memberships, and optional active organization.- `POST /api/cli/mcp/tokens` accepts `{"name": ..., "expires_in_days": ...}` with the access token as a Bearer credential and returns a personal Beacon Cloud MCP token (`token`, `access_token` metadata, `mcp_url`). It requires `mcp:token:create`.- - `PUT /v1/traces/{external_id}`, `POST /v1/traces/{external_id}/messages/batch` and `GET /v1/traces/{external_id}` create, fill and read back a shared trace for [`beacon share`](/cli/share), with the access token (or a `bcn_api_` API key) as a Bearer credential. They require `traces:write`.-- `PUT /v1/traces/{external_id}`, `POST /v1/traces/{external_id}/events/batch` and `GET /v1/traces/{external_id}` create a shared trace from its `beacon.trace.v1` summary, upsert its trace events, and read it back (with the id of the last event held) for `beacon share`, with the access token (or a `bcn_api_` API key) as a Bearer credential. They require `traces:write`.++- `PUT /v1/traces/{external_id}`, `POST /v1/traces/{external_id}/events/batch` and `GET /v1/traces/{external_id}` create a shared trace from its `beacon.trace.v1` summary, upsert its trace events, and read it back (with the id of the last event held) for [`beacon share`](/cli/share), with the access token (or a `bcn_api_` API key) as a Bearer credential. They require `traces:write`.- `POST /api/cli/auth/revoke` accepts the access token as a Bearer credential and revokes it.`beacon login` requests `profile:read`, `device:enroll`, `mcp:token:create` and `traces:write`. A later `beacon endpoint connect` can use `device:enroll` to mint a device-specific ingest key without treating the account token as an ingest credential, and `beacon mcp token create` uses `mcp:token:create` to mint a personal MCP token. beacon.sh approves the sign-in only when the permissions its page showed match the ones the CLI registered, so a crafted link cannot hide one. `beacon share` uses `traces:write` to upload a session you choose to share. A session from an older `beacon login` lacks `mcp:token:create` or `traces:write`; run `beacon login` again to create MCP tokens or share traces from the CLI.