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

csuite-web-ui

v0.10.0

Published

Preact team-view UI + runtime for CommandSuite — chat, objectives, files, members, tools, secrets. Host-agnostic; a host mounts it via <TeamShell>. Distributed as TypeScript source — build it with your host's bundler (Vite + @preact/preset-vite is the ref

Readme

csuite-web-ui

The team-view UI + runtime for CommandSuite — the bulk of the web front-end. A host-agnostic Preact library: a host injects an authenticated client + identity and mounts <TeamShell>, and this package owns the entire in-team experience.

Adding or changing team UI? It goes here, not in apps/web-host. That app is just the OSS auth host; this package is the actual UI.

What lives here

Everything a member sees inside a team:

  • Chat — transcript, composer, channels, DMs, threads
  • Objectives — list, detail, creation, and the TracePanel (LLM activity review)
  • Files · Members · Tools · Secrets panels
  • Chrome — command palette, activity inspector, toasts, theming
  • Runtime — the live WebSocket subscription + reconnect, roster polling, unread tracking, signals/state

Public API

The surface is intentionally narrow — <TeamShell> plus a few primitives and signal helpers (see src/index.ts). Do not deep-import lib/ or components/; those paths are internal and move without notice.

import { TeamShell } from 'csuite-web-ui';
import 'csuite-web-ui/styles.css';

<TeamShell client={authedClient} identity={identity} onSignOut={...} />

The host owns auth and any chrome around the shell; the shell owns everything inside. <TeamShell> also accepts teamSlug and leftRail for multi-team / embedded hosts.

Consumers

Two hosts mount this today:

  • apps/web-host (csuite-web-host) — the OSS self-hosted web app (TOTP auth, served by the broker).
  • The commercial hosted platform (separate repo) — Clerk auth + billing wrapped around the same <TeamShell>.

That's the whole point of the split: one shared UI, thin hosts. Don't fold it into a host.

Dev

It isn't run standalone — mount it from a host:

pnpm --filter csuite-web-host dev    # runs the OSS host, which renders this UI
pnpm --filter csuite-web-ui test
pnpm --filter csuite-web-ui typecheck

License

Apache 2.0. See the monorepo for full source.