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

@realtimex/sdk

v2.0.47

Published

RealtimeX runtime SDK package and moderator agent skill assets.

Downloads

10,740

Readme

@realtimex/sdk

Runtime SDK and agent skill assets for RealtimeX.

Node Usage

const { createRealtimeXClient } = require("@realtimex/sdk");

const client = createRealtimeXClient({
  baseUrl: process.env.REALTIMEX_BASE_URL,
  appIdAuth: process.env.REALTIMEX_APP_ID_AUTH,
});

const workspaces = await client.request("listWorkspaces");

baseUrl is required, either as an explicit client option or through REALTIMEX_BASE_URL. Desktop and dev:all runtimes propagate the resolved dynamic /cli endpoint; the SDK does not guess a localhost port.

Webhook endpoint management

Webhook endpoints can be managed through the generated authenticated client. These control-plane operations require an authenticated, user-bound session credential.

const { createRealtimeXClient } = require("@realtimex/sdk");

const client = createRealtimeXClient({
  baseUrl: process.env.REALTIMEX_BASE_URL,
  token: process.env.REALTIMEX_AUTH_TOKEN,
});

const created = await client.createWebhookEndpoint({
  name: "Build tasks",
  workspaceId: 7,
  secret: process.env.REALTIMEX_WEBHOOK_SECRET,
  dispatchMode: "trigger_agent",
});

await client.listWebhookDeliveries({
  endpointId: created.endpoint.id,
  limit: 25,
});

The secret field is write-only. Endpoint responses report secretConfigured; they never contain the plaintext secret, ciphertext, or a secret-storage reference. Deletion additionally requires { confirmDestructive: true }.

Public webhook task delivery

Use a separate webhook client to trigger an existing public webhook endpoint.

const { createRealtimeXWebhookClient } = require("@realtimex/sdk");

const webhook = createRealtimeXWebhookClient({
  endpointUrl: process.env.REALTIMEX_WEBHOOK_URL,
  secret: process.env.REALTIMEX_WEBHOOK_SECRET,
});

const receipt = await webhook.trigger(
  { prompt: "Review this task", context: { sourceId: "task-123" } },
  { deliveryId: "task-123" }
);

The client signs the exact UTF-8 request bytes with HMAC-SHA256. Network and server-error retries reuse the serialized body, timestamp, and delivery ID so the receiving endpoint can deduplicate delivery safely. A successful receipt confirms acceptance and routing, not agent-task completion.

The package publishes a concise router at skills/realtimex-moderator-sdk and focused generated skills for workspaces, terminal agents, browser sessions, Local Apps, heartbeat, automation flows, artifacts, channels, webhooks, and plugin/skill administration. All skills use the same pinned realtimex-pp-cli binary.