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

@possibl/rcrt-ui

v0.5.1

Published

React UI for RCRT apps — chat primitive, JIT-UI widget registry, stream/feed/studio widget cards, SAPL client-side renderer and App Control surfaces

Readme

@possibl/rcrt-ui

React UI for RCRT apps: the chat primitive, the JIT-UI widget registry (stream / feed / studio cards), the client-side SAPL renderer, and the App Control surfaces (advisor overlay, interpret:ui-manifest publishing). Built on @possibl/rcrt-sdk.

@possibl/rcrt-ui              everything (re-exports the subpaths below)
@possibl/rcrt-ui/chat         <Chat> primitive + breadcrumb→stream mapping
@possibl/rcrt-ui/widgets      widget registry, <WidgetRenderer>, stream/feed/studio cards
@possibl/rcrt-ui/sapl         client-side SAPL renderer + 29 primitives
@possibl/rcrt-ui/app-control  ui-manifest publish, advisor GuideOverlay, store
@possibl/rcrt-ui/layout       layout/theme config types

This is the chat / JIT-UI widget layer. It is intentionally separate from @possibl/rcrt-app-kit (the app shell + section registry + UI primitives), so an app can embed the kit without dragging in widget deps it doesn't use, and vice versa. The two share the same --rcrt-* design-token contract.

Install

npm install @possibl/rcrt-ui @possibl/rcrt-sdk react react-dom

@possibl/rcrt-sdk, react and react-dom are peer dependencies — the host owns the single SDK client instance and React copy.

The client is a seam

rcrt-ui never constructs a wire client and has no dependency on the legacy @possibl/rcrt-api. Components that talk to the platform accept a host-provided client through a structural interface (RcrtClientLike, useDataSource's client, the manifest client). Any object matching the shape — in practice a configured @possibl/rcrt-sdk RcrtClient — works:

import { RcrtClient } from '@possibl/rcrt-sdk';
import { Chat } from '@possibl/rcrt-ui/chat';

const client = new RcrtClient({ apiUrl, tokenProvider });

<Chat client={client} config={{ agent: 'advisor', show_tool_calls: true }} />;

Where the package needs a breadcrumb type it imports it directly from @possibl/rcrt-sdk (e.g. breadcrumbToStreamItem), so wire shapes stay in one place.

Widgets

import { WidgetRenderer, registerDefaultWidgets } from '@possibl/rcrt-ui/widgets';

registerDefaultWidgets();
<WidgetRenderer widget={{ type: 'fact', config: { claim: '…', status: 'verified' } }} />;

Stream/feed widgets receive their data pre-resolved (via config); page widgets resolve DataSource bindings at render time through useDataSource and the host client.

SAPL

@possibl/rcrt-ui/sapl renders interpret:renderable pipelines client-side: LiveSAPLRenderer subscribes to breadcrumb updates over SSE and re-renders as agents change the tree.

Licence

MIT.