@debugbundle/cli 1.6.3 → 1.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +19 -0
  2. package/dist/main.cjs +7056 -2582
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -35,6 +35,25 @@ debugbundle explain <incident-id> --source cloud
35
35
 
36
36
  The CLI reads local project configuration from `.debugbundle/` and can use member-token authentication for connected cloud operations. Use `debugbundle connect` to configure cloud access, or pass `--auth-file` to commands that support explicit auth state.
37
37
 
38
+ ## AnalyticsBundle
39
+
40
+ Analytics commands require connected member authentication and a project with AnalyticsBundle enabled. They query aggregate rollups or request an asynchronous analysis artifact; they do not read raw analytics events.
41
+
42
+ ```sh
43
+ debugbundle analytics summary --project <project-id> --last 7d
44
+ debugbundle analytics devices --project <project-id> --last 7d
45
+ debugbundle analytics journeys --project <project-id> --last 7d
46
+ debugbundle analytics opportunities --project <project-id>
47
+ debugbundle analytics opportunities --all-projects
48
+ debugbundle analytics bundle create --project <project-id> --kind journey_friction --last 7d
49
+ debugbundle analytics bundle list --project <project-id>
50
+ debugbundle analytics bundle list --all-projects
51
+ debugbundle analytics saved-funnels list --project <project-id>
52
+ debugbundle analytics saved-funnels create --project <project-id> --key signup --name "Signup" --steps-json '[{"step_key":"landing","display_name":"Landing"},{"step_key":"complete","display_name":"Complete"}]'
53
+ ```
54
+
55
+ Use `debugbundle analytics settings get --project <project-id>` to inspect availability and capture/retention settings. Owners and admins can enable it with `debugbundle analytics settings set --project <project-id> --enabled true`; Team projects can additionally manage approved custom dimensions. Saved funnels are reusable project definitions, not per-visit bundles; members can list them and owners/admins can create, update, or archive them within the independent tier cap. Project tokens remain SDK-ingestion-only and cannot read analytics.
56
+
38
57
  ## Documentation
39
58
 
40
59
  Full CLI documentation: https://debugbundle.com/docs/cli