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

omp-cn

v17.3.5

Published

omp coding agent 的简体中文本地化分支,包含设置、供应商配置、提示和 CLI 文案中文化

Readme

omp-cn(@oh-my-pi/pi-coding-agent)

这是 oh-my-pi-cn 仓库中编程代理的核心实现包,也是中文本地化 CLI 的主要代码目录。

本分支由 yequ172672 维护,B 站 ID 为 夜曲_flac,对外发布的本地化 CLI 包名为 omp-cn。内部 workspace 包名仍保持为 @oh-my-pi/pi-coding-agent,以维持源码导入和上游兼容性。

本包基于 can1357/oh-my-pi,重点维护设置中心、 供应商配置、首次启动向导、随机提示和常用 CLI 文案的简体中文本地化。上游原作者 Mario Zechner、Can Bölük 及其版权信息保留不变,项目继续使用 MIT 协议。

安装、供应商配置、模型角色、斜杠命令和完整 CLI 参考见:

本软件包的其他参考资料:

记忆后端

代理支持三种互斥的记忆后端,由 memory.backend 设置选择(设置 → 记忆,或 ~/.omp/config.yml):

  • off(默认):不运行记忆子系统;
  • local:使用现有的会话摘要流程,将 memory_summary.md 和汇总产物写入代理目录;
  • hindsight:连接 Hindsight 服务器(云服务或自托管 Docker),每隔若干个用户回合保存记录,在会话第一回合召回记忆,并提供 retain、recall 和 reflect 工具。

Hindsight 快速开始

  1. 运行 Hindsight 服务器:可以使用云服务,也可以执行 docker run -p 8888:8888 ghcr.io/vectorize-io/hindsight:latest。
  2. 设置 memory.backend = hindsight,并将 hindsight.apiUrl 设置为 http://localhost:8888 或你的云服务地址。
  3. 可选的环境变量覆盖项(环境变量优先于设置):
    • HINDSIGHT_API_URL、HINDSIGHT_API_TOKEN:连接信息;
    • HINDSIGHT_BANK_ID、HINDSIGHT_DYNAMIC_BANK_ID、HINDSIGHT_AGENT_NAME:记忆库地址;
    • HINDSIGHT_AUTO_RECALL、HINDSIGHT_AUTO_RETAIN、HINDSIGHT_RETAIN_MODE:生命周期;
    • HINDSIGHT_RECALL_BUDGET、HINDSIGHT_RECALL_MAX_TOKENS:召回规模;
    • HINDSIGHT_BANK_MISSION、HINDSIGHT_DEBUG:记忆库任务和调试选项。

在会话中切换后端会立即替换当前后端、记忆工具、监听器和系统提示词上下文。已有用户的 memories.enabled = true 或 false 配置只会在首次启动时迁移一次,分别转换为 memory.backend = local 或 off;之后 memory.backend 将成为唯一的运行时选择器。