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-codex-review-sidebar

v0.2.0

Published

把 Codex 侧栏里的「审查」装进 DSH 右侧栏:未暂存/已暂存/提交/分支/上轮对话、行内评论、暂存与还原。

Readme

审查

把 Codex 应用右侧栏里的 审查 装进 DeepSeek Harness(DSH)自己的右侧栏。

打开会话后,在侧栏的添加菜单里选择「审查」,或点会话标题旁的「审查」。面板反映的是 Git 仓库的状态,不限于这一轮助手改过的文件。

能做什么

  • 范围:未暂存、已暂存、某一次提交、相对基础分支、上轮对话
  • 统一差异 / 拆分差异、自动换行、隐藏空白、文字差异、加载完整文件
  • 暂存、取消暂存、还原,作用到全部、单个文件或单个代码块;还原前会确认
  • 分支范围可以把文件标成已查看
  • 悬停一行,点 + 留下行内评论,再让当前会话处理这些评论
  • 「代码审查」会按 Codex 的 /review 范围起草只读审查请求
  • 提交、推送,以及在安装了 gh 时创建拉取请求

/review、/review uncommitted、/review branch main、/review commit <sha> 和 /review 你的要求 走 DSH 的命令面。审查请求要求模型只读,并用 :::review 块把发现贴回对应行。

Diff UI

审查差异与文件树基于 Pierre 开源包渲染:@pierre/diffs(语法高亮 unified/split 差异、行内注释插槽)与 @pierre/trees(侧栏文件树、Git 状态与搜索)。宿主 Git 能力(暂存/还原/提交/推送/PR、/review)保持不变。

The review diff surface and file tree are rendered with Pierre’s open-source packages: @pierre/diffs (highlighted unified/split diffs and annotation slots) and @pierre/trees (sidebar file tree with git status and search). Host Git capabilities (stage/discard/commit/push/PR, /review) are unchanged.

安装

需要 DSH 0.1.5 或更新(自带右侧栏),以及 Node.js 22.19+。

dsh plugin --profile web add dsh-codex-review-sidebar

本地目录也可以:dsh plugin --profile web add file:/path/to/dsh-codex-review-sidebar。

cordis.patch.yml 会把插件写进 profile。装完后重启 DSH。客户端改动刷新页面即可,宿主改动需要重启。

卸掉:

dsh plugin --profile web remove dsh-codex-review-sidebar

本地看面板

仓库自带一个和插件共用同一套面板的预览。它会在临时目录准备一个带暂存、未暂存和未跟踪文件的演示仓库。

npm install
npm test
npm run dev

预览地址是 http://127.0.0.1:43127。

npm run build

会生成 lib/index.js(宿主)和 lib/client.js(浏览器)。浏览器包通过 window.__ModuleLoader__ 注册,React 由 DSH 提供。