Repository navigation
wiretap v0.2.14
wiretap v0.2.14
This release adds first-class application themes to the desktop workbench and modernizes syntax highlighting without weakening Wiretap's large-payload safeguards.
A workbench that follows you
Choose an application theme from Settings > Interface > Application theme. The selection applies immediately and is saved locally for that desktop.
Included presets:
- System follows the operating system's light or dark appearance.
- Wiretap Dark keeps the original charcoal and mint workbench.
- Wiretap Light provides a clear, low-glare light appearance.
- Nord uses an arctic blue palette.
- Catppuccin Mocha provides a soft pastel dark palette.
- Catppuccin Latte provides the corresponding light palette.
Themes cover the complete application rather than recolouring only the page background. Navigation, panels, request and response inspectors, settings, dialogs, form controls, status indicators, CodeMirror, and payload syntax now share semantic design tokens. Text size and row-density preferences continue to work independently.
Lighter syntax highlighting
Compatible webviews now use the vendored Microlighter 2.1.0 runtime for JSON, JavaScript, HTML/XML, CSS, YAML, TOML, and GraphQL. It uses the CSS Custom Highlight API, keeping the payload as a single text node instead of inserting a DOM span for each token.
Older webviews degrade safely to Wiretap's existing JSON span highlighter or plain text. Syntax colours are driven by the active application theme in both implementations.
Large payloads remain bounded
Range-based highlighting reduces DOM overhead, but parsing and tokenizing a multi-megabyte structured document can still monopolize the UI thread. Testing with https://models.opencode.ai/api.json confirmed a valid 4,640,280-byte JSON payload and reproduced that cost.
Wiretap therefore retains:
- the 100 KiB syntax-highlighting limit;
- the 256 KiB initial body preview;
- progressive Show more loading; and
- the single-text-node plain-text renderer for large captures.
This keeps the inspector responsive while preserving explicit copy, save, and incremental inspection controls.
Documentation and development
- Added a dedicated theming guide covering preset architecture and extension points.
- Documented the Microlighter compatibility fallback and large-payload policy.
- Pinned the Tailwind CLI as a development dependency and exposed the reproducible
npm run cssbuild command.
Verification
The release was validated with the full Go suite, GUI-tagged tests, a production GUI build, frontend module syntax checks, a production dependency audit, and visual inspection across dark and light theme families.
Full changelog: v0.2.13...v0.2.14