npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@wrongstack/webui

v1.1.11

Published

Browser-based WebUI for WrongStack — React + Vite frontend. The WebSocket backend lives in the separate @wrongstack/webui-server package (extracted in PR #018b to remove the CLI -> @wrongstack/webui/server cross-package edge).

Readme

@wrongstack/webui

React 19 + Vite browser client for WrongStack. The WebSocket and HTTP backend is published separately as @wrongstack/webui-server; the CLI starts both surfaces with wstack --webui (equivalent to wstack webui).

Development

From the workspace root:

bun run --filter @wrongstack/webui dev
bun run --filter @wrongstack/webui build
bun run --filter @wrongstack/webui typecheck
bun run --filter @wrongstack/webui test
bun run --filter @wrongstack/webui test:coverage

The Vite development server serves the frontend. A functional agent session also requires the WrongStack WebUI backend; use wstack --webui for the integrated surface.

Visual system and browser checks

src/index.css owns the theme palettes and the global square-corner contract; radius tokens and rendered CSS corners stay at zero, including portaled overlays. SVG artwork and provider brand paths retain their original shapes. src/workbench.css defines shared surfaces, component motion and responsive welcome layouts. src/pages.css defines page headers, metric cards, content panels and responsive detail layouts. WorkbenchArt.tsx and PageMotif.tsx supply inline vectors that follow the active palette and distinguish workflow, knowledge and system pages. src/interactions.css adds state-driven tool indicators, disclosure transitions, selection feedback, session tabs, queue cards and toast progress. ActivitySignal renders running, success, error and pending states with inline SVG. Motion respects prefers-reduced-motion, and animations pause in parked views.

Run bun run --filter @wrongstack/webui test:workbench-visual-browser with the installed Playwright Chromium runtime to check light/dark layouts at desktop, tablet and phone widths, launcher folding, navigation, dialog focus restoration, menus and reduced motion. It discovers every route from VIEW_REGISTRY and renders each at desktop/phone widths in both themes, including setup and diagnostic views. Populated Kanban, agent and memory fixtures additionally check card movement, usable agent details on mobile, and memory search. Interaction checks cover 320/390/768/1440px in both themes: advancing tool motion, result states, model search and Escape focus, real clipboard writes, queue removal, inspector dismissal, toast lifetime styling and reduced motion. Set WEBUI_VISUAL_INTERACTIONS_ONLY=1 to run just these interaction checks. Set WEBUI_VISUAL_PROVIDERS_ONLY=1 to check provider key cards, catalog and saved profiles at 320/390/1440px in both themes, including local SVG loading and custom provider fallbacks. Logos live in public/provider-logos/ with their pinned source and license; ProviderLogo is shared by setup, settings and account sign-in. Screenshots are saved under .temp_files/webui-workbench-visual/ at the workspace root. The fixture replaces the WebSocket transport; it does not validate live provider requests or backend operations.

Package boundaries

  • src/components/, src/hooks/, and src/stores/ implement the browser UI.
  • src/lib/ contains browser-side protocol and formatting utilities.
  • @wrongstack/webui-server owns the Node.js server implementation used by the CLI.
  • src/server/index.ts is a temporary compatibility re-export of @wrongstack/webui-server; it is not a second backend implementation.

See TESTING.md for the package test and coverage policy.

License

MIT