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

@appilots/sdk

v0.13.0

Published

AI-powered chat component and navigation SDK for React Native apps

Downloads

774

Readme

@appilots/sdk

AI-powered chat component and navigation SDK for React Native apps.

Installation

npm install @appilots/sdk
# or
yarn add @appilots/sdk
# or
pnpm add @appilots/sdk

Quick Start

import { AppilotsProvider, AppilotsNavigationContainer, AppilotsChat } from '@appilots/sdk';
import { NavigationContainer } from '@react-navigation/native';

function App() {
  return (
    <AppilotsProvider
      config={{
        projectId: 'your-project-id',
      }}
    >
      <AppilotsNavigationContainer>
        <NavigationContainer>{/* Your app screens */}</NavigationContainer>
      </AppilotsNavigationContainer>
      <AppilotsChat />
    </AppilotsProvider>
  );
}

What happens when Appilots breaks

The SDK renders inside your app, so a bug of ours must never become an outage of yours. Both render surfaces sit behind an error boundary:

  • If the provider throws, your app keeps rendering. The assistant goes inert — AppilotsChat renders nothing, and useAppilots() keeps returning a context (with degraded: true) so your own code does not throw either.
  • If the chat throws, only the chat disappears.
  • If the auto-tracking interceptor throws on some element, that element renders untouched; the agent just does not see it.

In every case we log a console.error that says plainly it is our bug, not yours, and the failure is reported to the Appilots dashboard on the next session so we find out without you having to file anything.

Degradation lasts for the session — a surface that crashed once usually crashes again, and an assistant blinking in and out of your product is worse than an absent one. An exception thrown by your components is never swallowed: it propagates to your own error boundary as it would without us.

Native confirmation dialogs

When the user approves a destructive action on the chat's confirm card and your code then calls Alert.alert to double-check, the SDK answers that dialog once on their behalf — otherwise they are asked the same question twice and the second dialog is one the agent cannot press.

Doing that means briefly replacing Alert.alert, a global that belongs to your app. The replacement is refcounted, restored even if the action throws, answers at most one dialog, never presses a style: 'cancel' button, and expires about a second after the press so unrelated alerts (background sync, push handlers) are never touched. To turn it off and show your own dialog instead:

<AppilotsProvider config={{ projectId: '…', suppressNativeConfirm: false }}>

Documentation

Full documentation available at docs.appilots.com