mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 11:07:10 +00:00
* docs: add sanderling bird artwork to README and docs index * chore: add one-line install script for macOS and Linux Detects os/arch, resolves latest (or pre-)release, verifies sha256, and installs the binary into $HOME/.sanderling/bin. * docs: use the one-line installer in getting-started Replaces the broken `<version>` placeholder snippets with the install.sh one-liner. * docs: drop filler line under the install one-liner * docs: rename index heading to Sanderling Manual * docs(style): adopt JetBrains Mono and uppercase brand mark * docs(getting-started): use justfile flow for folio sample * docs(writing-specs): drop 'coming soon' notes for eventually and implies * docs(inspect): rewrite layout for tabbed state panels and metrics chart * docs(inspect): add UI screenshot * docs: add Inspect to sidebar and index * docs: restore mermaid bootstrap script in page template * docs(style): constrain article images to content width * docs(inspect): drop layout prose, keep what the screenshot doesn't show * docs(architecture): add d2 source for architecture diagram Replaces the in-page mermaid block with a d2-rendered SVG. Generated outputs (svg/png) stay out of git; only the .d2 source is checked in. * build(docs): render d2 diagrams into build/site/_assets/diagrams * docs(architecture): swap mermaid block for rendered d2 svg * ci(docs): install d2 before building the site * docs(architecture): tighten layout and reroute label-crossing edges Flip device/sidecar order so trace writer drops cleanly to runs/ without cutting through the JVM cell, right-align the inspect row via a pad column, and tune grid gaps to keep gRPC and Unix socket labels off the SANDERLING boundary.
1.3 KiB
1.3 KiB
title
| title |
|---|
| sanderling inspect |
sanderling inspect
Local web UI for exploring runs produced by sanderling test. Reads runs/<id>/meta.json and runs/<id>/trace.jsonl from disk.
sanderling inspect [run-or-runs-dir] [--port N] [--no-open] [--dev]
The positional argument can be a runs directory or a single run directory (auto-detected by meta.json). Defaults to ./runs.
Keyboard shortcuts
| Key | Action |
|---|---|
j, Right |
Next step |
k, Left |
Previous step |
Shift+j, Shift+Right |
Jump 10 forward |
Shift+k, Shift+Left |
Jump 10 back |
g / G |
First / last step |
. |
Next step with a violation |
Arrow keys inside a tablist or listbox yield to those widgets. Use j/k when focus is on one.
Deep links
/runs/:id/steps/:n links to a specific step. Use it in issues or PRs when pointing at a violation.
The run index auto-refreshes over SSE as new runs land, so sanderling inspect and sanderling test can run side by side.
Development
Two-process loop while iterating on the UI:
make web-dev # bun + vite on http://127.0.0.1:5173
make inspect-dev # sanderling inspect --dev, proxies non-API to 5173
Single binary with the bundle embedded:
make sanderling
