Nabrila
v0.1.5Opens encrypted Nabrila bug reports from Flutter apps locally so coding agents can read them.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
open_report Open a Nabrila bug report
Downloads a Nabrila report and decrypts it locally with the key in the link fragment (#k=…; only the report id is sent to the server). Returns a summary: app, device, the tester's note, the widget they pointed at with its source file:line, context, numbered steps to reproduce, event and failure counts, the first failure and whether there is a screenshot and a replay.
| Parameter | Type | Description |
|---|---|---|
link * | string | Full report link, e.g. https://nabrila.com/r/<id>#k=<key>. |
get_events List report events
The recorded timeline of an opened report: taps, navigations, HTTP requests and logs with their stack traces, numbered #n (use #n with get_request). Filter by kind or to failures only (4xx/5xx or unanswered requests, error logs and exceptions).
| Parameter | Type | Description |
|---|---|---|
id * | string | Report id as shown by open_report (or the full report link). |
kind | string | Only this kind of event. |
only_errors | boolean | Only failures. |
get_request Show one HTTP request
Full details of one HTTP request event (#n from get_events): URL, status, timing, sizes, request and response headers and body previews (redacted on the phone) and an equivalent curl command.
| Parameter | Type | Description |
|---|---|---|
id * | string | Report id as shown by open_report (or the full report link). |
index * | integer | Event number #n from get_events or open_report. |
get_screenshot Get the report screenshot
The screenshot the tester sent (PNG, with their drawings on it). The last taps and the pointed element are given as normalized x/y (0..1) in open_report and get_events.
| Parameter | Type | Description |
|---|---|---|
id * | string | Report id as shown by open_report (or the full report link). |
get_replay Get the report replay
Writes the replay of the moments before the report (an MP4 or still frames) to a private temp folder and returns the file paths with their time t on the same clock as the events. For still frames, up to 6 evenly spaced frames are also returned as images.
| Parameter | Type | Description |
|---|---|---|
id * | string | Report id as shown by open_report (or the full report link). |
get_changes What changed since the tester's build
Lists the commits and files that changed between the commit the tester's build came from and the current HEAD, by running `git` in the local checkout (nothing leaves this machine). Also lists the last commits inside that build, where the bug may come from. Pass path= for the diff of one file or folder. Needs reports from builds made with --dart-define=NABRILA_COMMIT.
| Parameter | Type | Description |
|---|---|---|
id * | string | Report id as shown by open_report (or the full report link). |
path | string | Only the diff of this file or folder, relative to the repository. |
repo | string | The app's git checkout: the folder this server runs in (default) or one inside it. |
symbolize Symbolize a Flutter stack trace
Turns an obfuscated Flutter release stack trace (frames like "#00 abs 0000… virt …") into file:line frames by running `flutter symbolize` locally. Give either a report id (its obfuscated stack traces are used, or only event #index) or a stack_trace, plus the symbols file from `--split-debug-info` of the same build. Needs Flutter installed.
| Parameter | Type | Description |
|---|---|---|
debug_info_path * | string | Path to app.<platform>-<arch>.symbols (or to the --split-debug-info folder when it holds only one). |
id | string | Report id as shown by open_report (or the full report link). |
index | integer | Only the log event #n of the report. |
stack_trace | string | A stack trace to symbolize instead of a report. |