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

@koredev/artemis-react-native-ui-sdk

v1.0.0

Published

React Native UI SDK for Artemis agent chat.

Readme

Artemis React Native UI SDK

React Native UI SDK for embedding Artemis agent chat in iOS and Android apps. This package provides the chat screen, modal wrapper, message bubbles, rich content renderers, theme resolution, and configuration helpers on top of the published React Native socket SDK.

Package: @koredev/artemis-react-native-ui-sdk

Current version: 1.0.0

Install:

npm install @koredev/[email protected]

Development Setup

This UI SDK depends on the published React Native socket SDK package:

{
  "dependencies": {
    "@koredev/artemis-react-native-socket-sdk": "0.0.1"
  }
}

Install dependencies and build the UI SDK:

npm install
npm run build

npm pack runs the build first and packages the generated dist/ folder.

Example App

An example React Native app lives in example/. It is wired to the local UI SDK source through Metro and uses the published socket SDK dependency.

npm run example:start
npm run example:android
npm run example:ios

Use this when Android/iOS tooling is available. See example/README.md for credentials, install, and run steps.

For a quick non-native verification, run:

npm test

That currently performs a TypeScript build and declaration check.

Integration Steps

  1. Install the UI SDK in your React Native app:
npm install @koredev/[email protected]
  1. Make sure your app uses compatible React and React Native versions:
{
  "react": ">=18.0.0",
  "react-native": ">=0.72.0"
}
  1. Import AgentChatModal or AgentChatScreen from the package:
import {
  AgentChatModal,
  SDKConfigurationLoader,
} from '@koredev/artemis-react-native-ui-sdk';
  1. Create the SDK configuration using your Artemis project values:
const configuration = SDKConfigurationLoader.createDefault({
  projectId: 'your-project-id',
  endpoint: 'https://your-runtime.example.com',
  apiKey: 'YOUR_PUBLIC_API_KEY',
  channelId: 'your-channel-id',
});
  1. Render the chat UI:
import React, {useState} from 'react';
import {Button, View} from 'react-native';
import {
  AgentChatModal,
  SDKConfigurationLoader,
} from '@koredev/artemis-react-native-ui-sdk';

const configuration = SDKConfigurationLoader.createDefault({
  projectId: 'your-project-id',
  endpoint: 'https://your-runtime.example.com',
  apiKey: 'YOUR_PUBLIC_API_KEY',
  channelId: 'your-channel-id',
});

export function App() {
  const [visible, setVisible] = useState(false);

  return (
    <View style={{flex: 1}}>
      <Button title="Open Chat" onPress={() => setVisible(true)} />
      <AgentChatModal
        visible={visible}
        configuration={configuration}
        title="Agent Chat"
        keyboardVerticalOffset={0}
        onRequestClose={() => setVisible(false)}
      />
    </View>
  );
}

Keyboard Handling

AgentChatScreen and AgentChatModal keep the footer input visible when the keyboard opens. Full-screen modals usually work with the default keyboardVerticalOffset={0}.

If you embed AgentChatScreen below a native header or another fixed top bar, pass that header height as keyboardVerticalOffset:

<AgentChatScreen
  configuration={configuration}
  keyboardVerticalOffset={64}
/>

Public API

  • AgentChatScreen
  • AgentChatModal
  • useAgentChat
  • SDKConfigurationLoader
  • RichTemplateRegistry
  • defaultRichTemplateRegistry

The package also re-exports the socket SDK AgentSDK, configuration types, message/event types, and logger.

Current Status

Core chat UI, socket SDK integration, theme resolution, message models, rich-content parsing, rich template renderers, and the local example app are in place.

See docs/flutter-ui-parity-spec.md for the remaining Flutter parity plan.