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-second-look

v0.1.3

Published

Second Look (过目): per-session routine and enhanced review for DeepSeek Harness.

Readme

过目 · Second Look

让 AI 动手时,多一位独立的审核助手。

过目是 DeepSeek Harness(DSH)的工具操作审核插件。在启用审查的会话里,常规低风险操作按规则放行,涉及高风险删除、整文件覆盖、可疑命令等操作时,再交给你指定的审核模型判断。需要人工决定的工具操作,会转回 DSH 的审批界面。

你可以按任务选择审查力度,也可以回看一次操作为什么被放行、拦截或转交人工。

测试版 0.1.3 · 需要 DSH >=0.2.1-rc.5 <0.3.0-0 和一个你信任的审核模型。

适合什么时候用?

  • 让 AI 改文件、跑命令时:在自动执行过程中增加独立判断,尤其关注高风险删除、覆盖、脚本与外传行为。
  • 任务复杂、想多看一层时:切换到加强审查,让审核模型进一步查看差异与脚本内容,必要时只读补充证据。
  • 想弄清一次拦截时:按工具、理由或会话找到相关记录,回看当时的判断依据。

审批记录,看得见理由

审批记录支持搜索、按审批结果筛选、手动刷新、导出脱敏 JSON 和清空当前分类记录。「最近记录」保留本次运行最近 500 条事件;「拒绝与拦截」单独保留最近 100 条事件摘要,重启后仍可查看,普通放行不计入这 100 条。

按任务选择审查力度

在会话输入栏的权限菜单中选择,无需让所有会话使用同一档位。

| 档位 | 适合的任务 | 如何审查 | | --- | --- | --- | | 日常审查 | 常规开发与工具操作 | 常规只读、新建普通文件等操作按规则放行;已有非空文件的整文件覆盖送审,风险操作交独立模型判断,最多 1 轮只读补证。 | | 加强审查 | 希望进一步检查代码改动、脚本或外传行为的任务 | 在日常规则基础上检查差异、脚本等内容,最多 3 轮只读补证,并支持交付前的文件核对。 |

审核模型由你选择,加强档也可以单独配置。启用审查后,子代理沿会话关系继承审查状态;界面和提示跟随宿主的中文或英文设置。

开始试用

  1. 安装插件:在 DSH 桌面版打开「插件 → 添加插件」,输入 [email protected]。安装后点击「立即启用」;若提示重启,退出并重新打开 DSH。 也可从 GitHub Release 下载 .tgz,不解压,在同一处输入文件的完整路径。
  2. 选择审核模型:在「设置 → 过目 → 审核设置」选择服务商和模型。送审时,工具参数、相关上下文和部分代码差异可能发给这个模型。插件无法脱敏所有敏感内容。
  3. 为会话选档:在输入栏权限菜单选择「日常审查」或「加强审查」,从非破坏性操作开始试用,并在审批记录中查看结果。

使用前了解这些边界

  • 多一层判断,不等于安全保证。 审核模型可能误报或漏报,真实环境中的判断准确率仍需持续验证;额外审核也会增加等待时间与 Token 消耗。
  • 它不是操作系统沙箱。 审查仅覆盖启用档位的会话及受管工具路径,不覆盖所有插件、自发网络请求或其他会话。敏感内容检测也有范围限制。
  • 拦截不一定伴随确认弹窗。 工具操作可转交人工审批;命中敏感内容的出站模型请求可能以脱敏副本继续,也可能直接阻断,目前没有专用的出站人工授权界面。
  • 交付前核对需要智能体配合。 加强档的汇总工具需由智能体主动调用,不能阻止最终文本回复;收到“已完成”不代表所有改动都已审查。

更完整的使用方法、配置、保留策略与安全边界见使用与技术说明。

来源与许可

过目基于 dsh-auto-review 改编,并使用了 dsh-heavy-approval 与 DSH 权限选择组件的部分代码。项目采用 Apache-2.0,所含第三方 MIT 声明与具体来源见 LICENSE 和 THIRD-PARTY-SOURCES.md。