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

pi-daytona

v0.0.2

Published

A pi extension that runs tools inside a Daytona cloud sandbox for safe, isolated execution. v0.0.2 — per-session sandbox state supports concurrent sessions; skill files read locally first.

Readme

pi-daytona

Run pi safely inside a Daytona cloud sandbox. Every file read, write, shell command, and search runs in an isolated container — your local machine is never touched.

Why sandboxing?

When pi edits files or runs bash commands, it operates directly on your machine. A sandbox moves all of that into a secure, disposable cloud environment. If the AI does something unexpected, your real filesystem stays safe. Think of it as a safety net — you can experiment freely and throw the sandbox away when you're done.

Setup

1. Get a Daytona API key

Sign up at daytona.io and grab an API key from the dashboard.

2. Configure pi

Create ~/.pi/daytona.json:

{
  "daytonaApiKey": "dtn_YOUR_KEY_HERE"
}

3. Install

pi install npm:pi-daytona

Usage

# Create a fresh sandbox
pi --sandbox

# Create a named sandbox you can return to
pi --sandbox my-project

# Reconnect to an existing sandbox
pi --sandbox my-project

# Disable sandboxing for a session
pi --sandbox --no-sandbox

Once connected, pi works exactly the same — just safer. All file operations and commands run in the cloud. The status bar shows your sandbox name.

Cleanup

Sandboxes don't auto-delete. To clean up, ask pi:

List my sandboxes, then delete the ones I'm done with

Or use these tools directly:

  • sandbox-list — shows all your pi sandboxes with name, ID, and state
  • sandbox-delete — delete one or more sandboxes by name or ID

Sandboxes auto-stop after 30 minutes of inactivity so you won't get unexpected bills, but they stick around until you delete them.

Configuration

| Field | Default | Description | |-------|---------|-------------| | daytonaApiKey | (required) | Your Daytona API key | | daytonaApiUrl | https://app.daytona.io/api | API endpoint | | daytonaTarget | us | Region (us or eu) |

Changelog

v0.0.1

  • Per-session sandbox state: Replaced module-level globals with a Map<string, SessionState> keyed by sessionManager.getSessionId(). Each session now manages its own independent sandbox.
  • Concurrent sessions: Multiple pi sessions (e.g., in an HTTP server) can now use different sandboxes simultaneously.
  • session_shutdown handler: Properly cleans up per-session state when a session is replaced or closed.
  • sandbox-list: Shows all active sandboxes across all sessions.
  • sandbox-delete: Detaches only the affected sessions instead of killing a global state.

v0.0.0

  • Initial release with module-level global state (single sandbox per process).

Requirements

  • Node.js ≥ 18
  • A Daytona account

License

MIT