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

@adrive/sdk

v1.0.1

Published

TypeScript SDK for AgentDrive — cross-agent artifact workspace with provenance, semantic recall, and portable storage.

Readme

@adrive/sdk

TypeScript SDK for AgentDrive — the cross-agent artifact workspace with provenance, semantic recall, and portable storage across Claude Code, Codex, Cursor, and LangGraph.

npm install @adrive/sdk

Quick start

import { AgentDrive } from '@adrive/sdk';

const drive = new AgentDrive({
  apiKey: process.env.AGENTDRIVE_API_KEY!,
  agentPlatform: 'codex',   // claude-code, codex, cursor, langgraph, crewai, mcp, cli, ...
  agentRole: 'planner',     // free-text label; appears in provenance
});

// Write what your agent produced
await drive.writeFile(workspaceId, 'plan.md', '# the plan');

// Pull the context another agent left for you
const { artifacts } = await drive.context({ task: 'implement plan.md', limit: 5 });

// Semantic search across every artifact in the org
const { hits } = await drive.search({ query: 'shipping checklist' });

// Log the run so the next agent in the chain sees what you did
await drive.logRun({
  task: 'implement plan.md',
  status: 'success',
  artifacts_referenced: ['plan.md'],
  artifacts_produced: ['src/foo.ts'],
});

Surface

Files: writeFile, readFile, listFilesPage, listAllFiles, deleteFile, getVersionsPage, getAllVersions Memory: search, context Provenance: logRun, getRun Workspaces: createWorkspace, listWorkspacesPage, listWorkspaces Collaboration: createShareLink, addComment, getCommentsPage, getAllComments, getActivityPage, getAllActivity Sandbox: sandboxClone, sandboxExec, sandboxRead, sandboxCommit Escape hatch: rawFetch(path, init) returns the raw Response

Errors throw ApiError carrying the HTTP status. Use instanceof ApiError to branch.

Cross-agent identity

Every request gets stamped with X-Agent-Platform and X-Agent-Role headers. The same API key (= principal) can run in many sessions; the headers distinguish "Codex on Tuesday" from "Claude Code on Wednesday" in provenance records and metadata indexes. Configure once at construction.

Pagination

List endpoints use cursors. listAllPages walks them to exhaustion, capped at maxPages (default 10) to prevent runaway loops on large workspaces. For finer control, call the *Page variant and loop the cursor yourself.