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

@tracebench/adapter-cursor

v0.3.1

Published

Tracebench adapter for Cursor (agent-transcripts JSONL + Composer state.vscdb).

Readme

@tracebench/adapter-cursor

Tracebench adapter for Cursor Agent session transcripts (JSONL).

Phase 1 (shipped): agent-transcripts JSONL

Cursor writes supplementary agent logs under:

~/.cursor/projects/<sanitized-project-path>/agent-transcripts/
  <session-uuid>/<session-uuid>.jsonl     # nested layout
  <session-uuid>.jsonl                   # flat layout
  <parent-uuid>/subagents/<subagent-uuid>.jsonl
  • Default root: ~/.cursor/projects (override with tracebench --cursor-dir <path>)
  • Format version: 2026-q1
  • Harness id: cursor

Limitations (JSONL only)

Cursor's JSONL export does not include:

  • tool_result lines (tool outputs are not separate events)
  • per-line timestamps (synthetic timestamps from file mtime)
  • token usage / model id (cost analytics show zeros)

The UI still renders tool_call events (Read, Write, Bash, Task, etc.) with input only.

Phase 2 (shipped): Composer SQLite (state.vscdb)

Full Composer / Ask history lives in Cursor's VS Code–style SQLite DBs. Paths by OS:

| OS | Global DB (bubbleId, composerData, …) | |----|-------------------------------------------| | macOS | ~/Library/Application Support/Cursor/User/globalStorage/state.vscdb | | Linux | ~/.config/Cursor/User/globalStorage/state.vscdb | | Windows | %APPDATA%\Cursor\User\globalStorage\state.vscdb |

Per-workspace index (Cursor ≤2.6): <User>/workspaceStorage/<id>/state.vscdb + workspace.json.

Read WAL consistently: copy state.vscdb, state.vscdb-wal, and state.vscdb-shm together.

Phase 2:

  1. Snapshots state.vscdb (+ -wal/-shm) for consistent reads while Cursor is open.
  2. Lists composers with stored bubbles; loads composerData:{id} and ordered bubbleId:{id}:{bubbleId} rows.
  3. Normalizes bubbles into CanonicalEventtool_call + tool_result (via toolFormerData), thinking (capabilityType 30), real timestamps, model id.
  4. Dedupes with JSONL: when composerId matches an agent-transcript folder UUID, the DB entry replaces JSONL.

Discovery merges both sources automatically. DB sessions use virtual paths cursor-db:{composerId}@{globalDbPath}.

CLI: tracebench --cursor-user-data-dir <path> overrides the OS-default Cursor User/ directory (see defaultCursorUserDataDir() in src/paths.ts).

SSH / WSL

Chat data stays on the machine running the Cursor UI (not the remote SSH host). Use the data dir for whichever Cursor install you actually run.