You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npx --yes @agent-analytics/cli@0.5.25 --demo experiments list agentanalytics-demo
16
16
```
17
17
18
18
Demo mode fetches a short-lived read-only `aas_*` session from the hosted API. It does not expose a raw `aak_*` API key, does not write local CLI config, and blocks mutating commands before making API requests.
@@ -21,19 +21,19 @@ Get the fastest path to useful analytics before installing events:
The CLI prints an `app.agentanalytics.sh` link. The human confirms the logged-in dashboard account, pays in Lemon Squeezy, and returns to the agent after Pro activates. Use `upgrade-link --wait` when the local shell should keep polling for activation.
143
143
144
144
Project management commands accept exact project names or project IDs. For local browser QA, update origins through the CLI while keeping the production origin:
Use `scan` before tracker installation when you want judgment instead of generic event lists. The preview is intentionally small: prioritized minimum viable instrumentation, what each event unlocks, current blind spots, and what not to track yet. The stable JSON is designed for agent skills to install only the high-priority events first and verify the first useful recommended event.
@@ -157,13 +157,13 @@ Bounce metrics (`insights`, `pages`, `sessions`) treat a session as a bounce whe
157
157
`query` keeps `/events` raw and lossless, but `/query` uses activation-safe dedupe (`session_then_user`) as the default for `event_count`: session-backed rows count by session, no-session rows fall back to `user_id` only when that user has no session-backed row in the same filtered/grouped result set, and fully anonymous rows fall back to event `id`. For recent signup or ingestion debugging, check `events <project> --event <actual_event_name>` first, then use `query` after verifying the raw event names the project emits. `--count-mode` only affects `event_count`. Use `--count-mode raw` when you need the old ingested-row count for debugging or audit work:
158
158
159
159
```bash
160
-
npx --yes @agent-analytics/cli@0.5.24 query my-site --metrics event_count --count-mode raw
160
+
npx --yes @agent-analytics/cli@0.5.25 query my-site --metrics event_count --count-mode raw
161
161
```
162
162
163
163
Property filters must use canonical `properties.*` fields. Built-in filter fields are only `event`, `user_id`, `date`, `country`, `session_id`, and `timestamp`. Example:
Use the CLI feedback command when Agent Analytics was confusing, a task took too long, or the agent had to do manual analysis that the product should have handled:
205
205
206
206
```bash
207
-
npx --yes @agent-analytics/cli@0.5.24 feedback \
207
+
npx --yes @agent-analytics/cli@0.5.25 feedback \
208
208
--message "The agent had to calculate the funnel drop-off manually" \
@@ -221,24 +221,24 @@ Claude Code, OpenClaw, Cursor, Codex — any AI agent that can run `npx`. Or add
221
221
claude mcp add agent-analytics --transport http https://mcp.agentanalytics.sh/mcp
222
222
```
223
223
224
-
For managed, issue-based, or remote runtimes that cannot receive a localhost callback or keep a long-running process alive, use `npx --yes @agent-analytics/cli@0.5.24 login --detached`. It prints the approval URL and exits. After browser approval, resume with the printed `login --auth-request <id> --exchange-code <code>` command.
224
+
For managed, issue-based, or remote runtimes that cannot receive a localhost callback or keep a long-running process alive, use `npx --yes @agent-analytics/cli@0.5.25 login --detached`. It prints the approval URL and exits. After browser approval, resume with the printed `login --auth-request <id> --exchange-code <code>` command.
225
225
226
226
For managed runtimes where the default home config path may not persist, point auth storage at a persistent runtime/workspace directory:
For one-off commands, use `--config-dir "$PWD/.openclaw/agent-analytics"` before or after the command. The CLI stores the same `config.json` file in that directory and does not migrate credentials from the default path.
235
235
236
-
For a local shell where it is useful to keep waiting, use `npx --yes @agent-analytics/cli@0.5.24 login --detached --wait`.
236
+
For a local shell where it is useful to keep waiting, use `npx --yes @agent-analytics/cli@0.5.25 login --detached --wait`.
237
237
238
238
If your saved session predates CLI `0.5.9`, run a fresh login before calling `projects`. Older saved agent-session tokens were minted without `projects:read`, so they will keep failing until you re-authenticate. Verify with:
0 commit comments