@debugbundle/cli 1.20.0 → 1.22.0

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 +3 -3
  2. package/dist/main.cjs +5187 -2127
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -8,7 +8,6 @@ rewriting or deleting unrelated files. Symlinked files/directories fail closed.
8
8
  Normal local stores and their existing size allowance are preserved; local state
9
9
  and processing writes use guarded atomic replacement. This supersedes earlier clients.
10
10
 
11
-
12
11
  ## Cloud cache safety in 1.19.3
13
12
 
14
13
  Upgrade to 1.19.3 for incident-ID validation before cloud requests and cache writes.
@@ -16,7 +15,6 @@ Unsafe IDs return `invalid_incident_id`; UUIDs and existing opaque IDs remain su
16
15
  Cloud cache reads, writes and retention reject symbolic links; writes use guarded
17
16
  atomic replacement. This corrects a path traversal present in earlier clients.
18
17
 
19
-
20
18
  ## Installation guidance in 1.19.2
21
19
 
22
20
  Prefer one project per system across service repositories, reuse existing connections, and keep separate projects for different access or privacy policies. Inspect existing projects before first-time connect; name matching does not infer system membership.
@@ -31,7 +29,6 @@ then explicitly rebuild from its retained event files using
31
29
  capture preset. This rebuild regenerates local incident/artifact state; it does
32
30
  not change cloud records or the retained event files.
33
31
 
34
-
35
32
  Connected `doctor` diagnostics check API health and saved member authentication with a one-incident probe restricted to `cloud_project_id`. Missing or blank connected project scope fails before any request. Incident contents are discarded and are not included in the report. Local-only diagnostics make no cloud request.
36
33
 
37
34
  In a connected workspace, `debugbundle incidents` and `--source cloud` default
@@ -145,6 +142,7 @@ for definitions, capture, full UTC day report windows, and partial coverage.
145
142
  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.
146
143
 
147
144
  ```sh
145
+ debugbundle analytics filter-options --project <project-id> --last 7d --json
148
146
  debugbundle analytics summary --project <project-id> --last 7d
149
147
  debugbundle analytics devices --project <project-id> --last 7d
150
148
  debugbundle analytics journeys --project <project-id> --last 7d
@@ -157,6 +155,8 @@ debugbundle analytics saved-funnels list --project <project-id>
157
155
  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"}]'
158
156
  ```
159
157
 
158
+ `analytics filter-options` lists observed route/dimension choices for the selected time, granularity and service/environment. Each set has bounded `values` and a `truncated` marker; current approved custom keys are included. Empty sets have no usable choices. Unsafe literals are omitted instead of changed. This read does not generate a bundle or consume generation quota.
159
+
160
160
  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.
161
161
 
162
162
  ## Documentation