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

dsh-replay-studio

v0.1.0

Published

DSH plugin: visual session replay — browse, compare, and debug agent sessions in a local web UI.

Readme

dsh-replay-studio

DSH 插件:会话回放可视化工具 — 用 Web UI 浏览、调试、对比 Agent 会话。

功能

  • 会话列表:按时间倒序浏览所有历史会话
  • 时间线视图:每个 turn/step/tool call 以彩色时间线展示
  • 统计面板:turns / tool calls / errors 一目了然
  • 一键启动:Agent 调用 open_replay_studio 即可打开

使用

User: 打开 replay studio 看看上次的会话

Agent: → open_replay_studio()
Replay Studio running at http://localhost:3090

打开浏览器访问即可。

也可独立启动

cd dsh-replay-studio
node src/server.ts
# → http://localhost:3090

配置

- insert:
    - id: replay-studio
      name: dsh-replay-studio
      config:
        sessionsDir: ~/.dsh/sessions   # 会话存储目录
        port: 3090                      # Web UI 端口

界面预览

┌─────────────────────────────────────────┐
│  DSH Replay Studio                       │
├─────────────────────────────────────────┤
│  ┌─────────────────────────────────┐    │
│  │ a1b2c3d4...                     │    │
│  │ 2026-08-14 15:30 · 5 turns      │    │
│  └─────────────────────────────────┘    │
│  ┌─────────────────────────────────┐    │
│  │ e5f6g7h8...                     │    │
│  │ 2026-08-14 14:00 · 3 turns      │    │
│  └─────────────────────────────────┘    │
└─────────────────────────────────────────┘

点击进入会话:

┌─────────────────────────────────────────┐
│ ← Back    [5 Turns] [12 Tools] [1 Error]│
├─────────────────────────────────────────┤
│ ── Turn 1 ──                            │
│ │→ bash("ls -la")                       │
│ │← OK                                   │
│ │→ read("src/index.ts")                 │
│ │← OK                                   │
│ │💬 assistant response                  │
│ │⏹ turn end: completed                  │
│ ── Turn 2 ──                            │
│ │→ edit("src/index.ts")                 │
│ │← ERROR                                │
│ ...                                      │
└─────────────────────────────────────────┘

Roadmap

  • [ ] 对比模式:两个会话并排查看差异
  • [ ] Token 用量柱状图
  • [ ] 搜索:按工具名/错误信息/关键词过滤
  • [ ] 导出为 Markdown 报告
  • [ ] 性能火焰图(tool call 耗时分布)

License

MIT