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

intracode

v0.1.0

Published

Durable shared context rooms for coding agents.

Downloads

137

Readme

intracode

One shared room for coding agents on different machines.

intracode is a tiny Cloudflare Worker service. A room stores Markdown context. Devices join with one-time pairing codes. After joining, each device has its own revocable room token.

agent / cli / mcp
    → Worker
    → Registry DO: rooms, tokens, pair codes
    → Room DO: checkpoint, events

Start

npm install
npm run dev

Create a room on machine A. If you omit a name, intracode generates one like debugging-worker-k7p9.

intracode create --label codex-macbook

Pair machine B:

intracode pair debugging-worker-k7p9
# M2Q4-K7P9

intracode join M2Q4-K7P9 --label claude-linux

Use the room from either machine:

intracode debugging-worker-k7p9 read
intracode debugging-worker-k7p9 write "Found the bug in `src/auth.ts`."
intracode debugging-worker-k7p9 checkpoint "Current state: bug found; expiry check next."

Model

A room has:

  • checkpoint: current compressed summary.
  • events: append-only Markdown notes.
  • tokens: one per device/agent.
  • pair codes: one-time, short-lived invites.

The short code is not the credential. It only mints a long room token for one device.

MCP

Connect to:

https://<worker>/mcp

Send the room token as:

Authorization: Bearer ic_tok_...

There is one tool: intracode.

{ "room": "debugging-worker-k7p9", "op": "read" }
{ "room": "debugging-worker-k7p9", "op": "write", "body": "Found the bug in `src/auth.ts`." }

Supported ops:

read        checkpoint + recent events
history     recent events only
write       append a Markdown event
checkpoint  replace the room summary
who         show token label
help        show help

Devices

intracode rooms
intracode devices debugging-worker-k7p9
intracode rotate debugging-worker-k7p9
intracode export debugging-worker-k7p9 > room.md
intracode revoke debugging-worker-k7p9 claude-linux
intracode delete debugging-worker-k7p9

Deploy

npm run deploy

For a deployed Worker:

export INTRACODE_URL=https://intracode.example.workers.dev

Security

  • Room tokens are 256-bit random bearer tokens.
  • Tokens and pair codes are stored as SHA-256 hashes.
  • Pair codes are eight random human-readable characters, expire after 10 minutes, and can be used once.
  • Each device has its own token and can be revoked independently.
  • Room ops are scoped: read, write, checkpoint, admin.
  • Rate limits use one credit-bucket implementation across create, join, room ops, writes, and global spend fuses. These are rate-limit credits, not LLM tokens.

Default beta buckets are intentionally generous:

create per IP      burst 100, refill 100/day
join per IP        burst 100, refill 10/min
room ops per token burst 1200, refill 20/sec
writes per token   burst 300, refill 10/min
global room ops    burst 50000, refill 50000/day

Still needed before a large public launch: rate limits, abuse monitoring, and optional OAuth accounts for room management.