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

oh-aicoding-tool

v0.1.36

Published

Configure AI coding tools with Langfuse tracing and install the oh-ai-report issue feedback plugin.

Readme

oh-aicoding-tool

oh-aicoding-tool 是 AI 编码工具的一体化安装入口,当前聚合两类能力:

  • Langfuse 追踪配置:支持 Claude Code、OpenCode、Codex。
  • 问题反馈插件:为 OpenCode / Claude Code 安装 /report-ai-issue

当前 npm 版本:0.1.36

快速使用

建议始终带 @latest

npx oh-aicoding-tool@latest

直接命令:

npx oh-aicoding-tool@latest langfuse setup
npx oh-aicoding-tool@latest langfuse setup opencode
npx oh-aicoding-tool@latest langfuse check opencode

npx oh-aicoding-tool@latest report install opencode --email [email protected]
npx oh-aicoding-tool@latest report install claude --email [email protected]
npx oh-aicoding-tool@latest report doctor

本地开发运行:

node bin/cli.js
node bin/cli.js langfuse check
node bin/cli.js report doctor

交互式安装

运行 npx oh-aicoding-tool@latest 会打开交互式菜单。

  • 菜单默认不勾选任何安装项,避免误导用户。
  • 使用方向键移动,Space 勾选,Enter 确认。
  • 如果终端不支持原始按键输入,会自动降级为数字输入模式。
  • 选择 Langfuse 后,会进入内置的 oh-langfuse 安装向导。
  • 选择问题反馈插件后,会在 Langfuse 安装结束后再询问邮箱,避免 readline 状态影响后续方向键和空格输入。

Langfuse

Langfuse 能力来自内置的 oh-langfuse,支持:

  • Claude Code Langfuse
  • OpenCode Langfuse
  • Codex Langfuse

员工号必须匹配:

^[a-z](?:\d{8}|wx\d{7})$

示例:h00613222hwx1234567

OpenCode 在 Windows 下会生成 launch-opencode-langfuse.cmd,并写入用户级 LANGFUSE_* 环境变量。当前终端不会立即继承用户级环境变量,新开终端或使用 launcher 即可生效。check opencode 会把用户级环境变量和 launcher 都作为有效来源,避免把刚安装完的 Windows 环境误报为失败。

WSL 用户请在 WSL shell 中直接安装和检查,不做 Windows 到 WSL 转发:

npx oh-aicoding-tool@latest langfuse setup opencode --userId=h00613222 --yes
npx oh-aicoding-tool@latest langfuse check opencode

问题反馈插件

问题反馈能力来自内置的 oh-aireport。它会安装 /report-ai-issue 命令,并把运行时复制到稳定目录,避免依赖临时 npx 缓存。

npx oh-aicoding-tool@latest report install opencode --email [email protected]
npx oh-aicoding-tool@latest report install claude --email [email protected]
npx oh-aicoding-tool@latest report install both --email [email protected]

邮箱用于标识提交人,会保存到对应工具的本地配置中。也可以使用 --skip-email 跳过。

命令

oh-aicoding-tool
oh-aicoding-tool langfuse setup
oh-aicoding-tool langfuse setup claude
oh-aicoding-tool langfuse setup opencode
oh-aicoding-tool langfuse setup codex
oh-aicoding-tool langfuse check
oh-aicoding-tool langfuse check environment
oh-aicoding-tool langfuse check claude
oh-aicoding-tool langfuse check opencode
oh-aicoding-tool langfuse check codex
oh-aicoding-tool report install opencode
oh-aicoding-tool report install claude
oh-aicoding-tool report install both
oh-aicoding-tool report doctor

兼容入口:

  • code-tool-langfuse
  • opencode-ohai-report
  • ohai-report

维护命令

node --check bin/cli.js
npm pack --dry-run