sentry-tui 0.10.0 → 0.12.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 (2) hide show
  1. package/README.md +33 -39
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -8,14 +8,14 @@ mirroring Sentry's real information architecture and screen layouts.
8
8
  Every destination in the current navigation opens a real screen across Issues,
9
9
  Explore, Dashboards, Seer, and Monitors — 30 in all, with no placeholder panes.
10
10
 
11
- | Area | What's built |
12
- | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
13
- | Issues | Query-backed views, saved views, cursor pagination, full event detail and stack traces, plus resolve, archive, bookmark, and review actions |
14
- | Explore | Traces, Logs, Metrics, Errors, Discover, Profiles, Replays, Releases, Conversations, saved queries, charts, and the trace query builder |
15
- | Dashboards | All, Sentry Built, and starred dashboard lists, with a terminal widget grid for supported chart, table, number, and categorical widgets |
16
- | Seer | Ask Seer, conversation history, rich responses, and feature-gated Code Mode workflows |
17
- | Monitors | Detector lists by type, check-in timelines, monitor detail, and Alerts workflows |
18
- | App shell | OAuth device-flow login, command palette, org and project switching, filters, Sentry URL navigation, telemetry, and self-updating compiled binaries |
11
+ | Area | What's built |
12
+ | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
13
+ | Issues | Query-backed views, saved views, cursor pagination, full event detail and stack traces, plus resolve, archive, bookmark, and review actions |
14
+ | Explore | Traces, Logs, Metrics, Errors, Discover, Profiles, Replays, Releases, Conversations, saved queries, charts, and the trace query builder |
15
+ | Dashboards | All, Sentry Built, and starred dashboard lists, with a terminal widget grid for supported chart, table, number, and categorical widgets |
16
+ | Seer | Ask Seer, conversation history, rich responses, and feature-gated Code Mode workflows |
17
+ | Monitors | Detector lists by type, check-in timelines, monitor detail, and Alerts workflows |
18
+ | App shell | OAuth device-flow login, command palette, org and project switching, filters, Sentry URL navigation, telemetry, and in-process app updates |
19
19
 
20
20
  Settings is intentionally left on sentry.io rather than mirrored as a stub.
21
21
  Most non-Issues data screens are read-only today. Next is deeper pagination,
@@ -24,7 +24,8 @@ tracked in the [open issues](https://github.com/billyvg/sentry-tui/issues).
24
24
 
25
25
  ## Install
26
26
 
27
- npm installs a self-contained binary no Bun or Node needed at runtime.
27
+ npm installs a compiled runtime host and a platform-neutral app payload no
28
+ Bun installation is needed at runtime.
28
29
 
29
30
  ```bash
30
31
  # one-off, or installed globally
@@ -32,23 +33,32 @@ npx sentry-tui
32
33
  npm install -g sentry-tui
33
34
  ```
34
35
 
35
- `sentry-tui` and `@billyvg/sentry-tui` are the same package; the platform
36
- binary arrives as an optional dependency, so you download one binary rather
37
- than four. Binaries are also attached to every
36
+ `sentry-tui` and `@billyvg/sentry-tui` are the same package; the platform host
37
+ arrives as an optional dependency, so you download one binary rather than
38
+ four. The replaceable app payload is shared by every platform. Complete host
39
+ and payload bundles are also attached to every host
38
40
  [release](https://github.com/billyvg/sentry-tui/releases).
39
41
 
40
42
  The npm install **keeps itself current**. Launching starts the app
41
- immediately on the build you already have, and a background process fetches
42
- anything newer — so a release reaches you without `npm i -g` again, and
43
- without ever making you wait on a 24MB download. Nothing about starting the
44
- app touches the network.
45
-
46
- When a new build has finished downloading, a bold pink **Update** appears in
47
- the bottom-left corner. Click it or press `U` and the app restarts into it on
48
- the spot; ignore it and you get the new version next launch either way. The
49
- app looks again every 15 minutes while it is open, and only ever offers a build
50
- it
51
- has already downloaded.
43
+ immediately on what you already have, and a background process fetches any
44
+ newer app payload — so a release reaches you without `npm i -g` again and
45
+ without waiting on a full native binary. Nothing about starting the app
46
+ touches the network.
47
+
48
+ When a new payload has finished downloading, a bold pink **Update** appears in
49
+ the bottom-left corner. Click it or press `U` and the long-lived host swaps the
50
+ app tree while keeping the process, terminal mode, renderer, and React root
51
+ alive. The app looks again every 15 minutes while it is open and only offers
52
+ bytes already on disk. A release that changes the host/payload API falls back
53
+ to the verified full-host restart path; a host-only fix is discovered through
54
+ the same independent check and offered as a restart. Routine UI and application
55
+ changes do not replace the host.
56
+
57
+ The payload swap remounts the application tree, but keeps the open organization,
58
+ screen, detail stack, filters, cursor, project selections, and active Seer run.
59
+ Fetched API bodies are deliberately reloaded by the new payload rather than
60
+ serialized. The long-lived host only carries a bounded, versioned JSON snapshot
61
+ between the two app versions; schema validation and migrations belong to the app.
52
62
 
53
63
  Set `SENTRY_TUI_NO_UPDATE=1` to pin whatever you have; `CI` is treated the same
54
64
  way. A binary downloaded by hand from the releases page never updates itself,
@@ -101,22 +111,6 @@ Use `--no-browser` to print the URL instead of opening one, and `SENTRY_URL` +
101
111
  `SENTRY_CLIENT_ID` to log in to a self-hosted install (needs Sentry ≥ 26.1.0 and
102
112
  a **public** OAuth application from Settings → Account → API → Applications).
103
113
 
104
- ### Personal token instead
105
-
106
- Create one at <https://sentry.io/settings/account/api/auth-tokens/> with these
107
- scopes — the same set `login` requests:
108
-
109
- ```
110
- org:read project:read event:read event:write member:read team:read
111
- ```
112
-
113
- ```bash
114
- export SENTRY_AUTH_TOKEN=sntryu_…
115
- ```
116
-
117
- Resolution order is `SENTRY_AUTH_TOKEN` → `SENTRY_TOKEN` → the credential file.
118
- Environment tokens are used exactly as given and never refreshed.
119
-
120
114
  ### Files
121
115
 
122
116
  | Path | Holds |
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "url": "https://github.com/billyvg/sentry-tui/issues"
12
12
  },
13
13
  "name": "sentry-tui",
14
- "version": "0.10.0",
14
+ "version": "0.12.0",
15
15
  "keywords": [
16
16
  "sentry",
17
17
  "tui",
@@ -34,6 +34,6 @@
34
34
  "node": ">=18.0.0"
35
35
  },
36
36
  "dependencies": {
37
- "@billyvg/sentry-tui": "0.10.0"
37
+ "@billyvg/sentry-tui": "0.12.0"
38
38
  }
39
39
  }