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

@ai-matrx/coding-sessions

v0.3.95

Published

Drive the user's own Claude Code and Codex — on their own subscription logins, no API keys — from AI Matrx, and take over chats they started elsewhere. The engine wraps Paperclip's MIT driver packages with every fix the 2026-09-27 spike found (clean envir

Readme

@ai-matrx/coding-sessions

Drive the person's own Claude Code and Codex — on their own subscription logins, with no API keys — from AI Matrx, and take over chats they started anywhere else. A clean screen, no terminal.

  • ./engine (Node) — start, follow up, stop and take over coding sessions. Wraps Paperclip's MIT driver packages (@paperclipai/adapter-claude-local, @paperclipai/adapter-codex-local, @paperclipai/adapter-utils) with every fix our 2026-09-27 spike found built in.
  • ./server (Node) — the local host: HTTP + WebSocket on 127.0.0.1 only, behind a per-launch random token. Serves the screen and bridges it to the engine.
  • ./react — the screen: Running · Recent · Your other chats, a live transcript rendered by @ai-matrx/chat (markdown answers, collapsible tool cards, streaming), a composer, and a New session flow. Light and dark.
  • . — the pure half: the types, the provider normalizers, the projection into chat messages, and the WebSocket transport.

Run the screen

npx coding-sessions host start --port 4789
# CODING_SESSIONS_URL=http://127.0.0.1:4789/?token=…

Open the printed URL. The token is read once, kept for that tab only, and removed from the address bar. The host refuses any socket without the token or from another origin.

Use the engine directly

import { createCodingSessionsEngine } from "@ai-matrx/coding-sessions/engine";

const engine = await createCodingSessionsEngine();
engine.subscribe((event) => console.log(event)); // session · run · item (normalized, both providers)

const providers = await engine.providers();       // installed, version, signed in, subscription vs API
const others = await engine.discoverSessions();    // existing Claude Code + Codex chats on this computer

const { session, run } = await engine.start({ provider: "claude", cwd: "/path/to/repo", prompt: "Fix the flaky test" });
await engine.send(session.id, "Now add a regression test"); // queues if a run is live
await engine.stop(run!.runId);

const taken = await engine.takeover({ provider: "codex", providerSessionId: others[0].providerSessionId, cwd: others[0].cwd! });
await engine.send(taken.id, "Pick up where we left off");

Transcripts stay in the providers' own files (~/.claude/projects, ~/.codex/sessions); the engine keeps only a small index of sessions and runs in ~/.matrx/coding-sessions/index.json.

Mount the screen in your own app

import { createWebSocketTransport } from "@ai-matrx/coding-sessions";
import { CodingSessionsApp } from "@ai-matrx/coding-sessions/react";

<CodingSessionsApp transport={createWebSocketTransport({ url: "ws://127.0.0.1:4789/ws", token })} />;

A desktop shell replaces the WebSocket with IPC by implementing CodingSessionsTransport on the UI side and calling createHostBridge(engine).handle(method, args) on the other — the UI and the engine never change.

Styling: the screen uses the design system's semantic Tailwind classes. A Tailwind v4 host imports @ai-matrx/design-system/theme.css, the chat package's tokens.css and styles.css, and adds this package's dist as an @source. The page served by ./server ships all of it compiled.

What it deliberately does not do

  • Tool-permission approvals. Runs bypass them (the driver default for Claude; Codex runs in its own workspace-write sandbox with network). Approvals are a later feature.
  • Copy transcripts. Reading a chat reads the provider's own file; nothing is duplicated.

License

MIT. Loads Paperclip AI's MIT-licensed driver packages at run time — see NOTICE.