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

march-cli

v0.1.32

Published

March CLI — terminal-native coding agent with context reconstruction

Readme


安装

npm install -g march-cli

为什么省 Token?

March 极端地省 Token。每轮对话结束后,上下文回滚到约 8K——我们丢弃模型中间的所有执行过程,只保留两样东西:用户的问题和 AI 的最终回复。

大多数 Agent 系统用压缩、裁剪、检索、摘要来对抗上下文膨胀。March 的答案是:直接扔掉不需要的。

结果:

  • 缓存命中率 91%,单次模型调用几乎不超过 50K
  • 上下文不会越聊越大,不存在上下文腐烂
  • 你的模型永远在甜点区工作,而不是在 100K 的噪音里大海捞针

记忆系统

March 内置了记忆系统。你在对话中告诉 March 的任何东西——偏好、项目约定、技术决策——它都能记住。当你再次需要时,March 会在思考过程中自动召回相关记忆,你不需要手动检索。

不需要 Skill 文件

Skill 系统的问题是:Skill 文件在一开始就注入了上下文。Skill 多了怎么办?

March 换了一种方式:每条记忆就是一条"潜在的 Skill",由 March 在需要时动态召回,而不是常驻在上下文里。你聊过的内容就是最好的提示词。

管理记忆

March 在 ~/.march/March Memories/ 目录下以 Markdown 文件存储记忆。你可以直接编辑、删除或新增这些文件,March 会自动感知变化。

更多内置能力

生图:如果你有 ChatGPT Codex 权限,March 可以直接生图,不需要额外的 API Key 或第三方服务。

联网搜索:接入 SuperGrok 后,你配置的所有模型都会获得联网搜索能力——March 会派遣 Grok 去搜索,搜索结果注入当前对话。

更多搜索渠道:Tavily Search、Brave Search 均已内置。

配置

March 通过 ~/.march/config.json(全局)或 <project>/.march/config.json(项目级)配置模型和 provider。支持所有 OpenAI 兼容接口。

{
  "provider": "openai",
  "model": "gpt-5.1"
}

自定义 provider、多模型切换等详细配置见 文档

FAQ

和 Claude Code 有什么区别?

March 能力相当,但上下文策略截然不同。Claude Code 尽量保留上下文并用压缩应对膨胀;March 每轮重置上下文——你每次拿到的是干净的 ~8K 上下文,缓存命中率 91%。March 还用内置记忆系统替代了 Skill 文件,记忆按需召回而不是常驻注入。

和 OpenCode 有什么区别?

两者都是开源、终端原生的 Agent。March 的核心差异:极端的 Token 效率(每轮上下文重置)、内置 Markdown 记忆系统(自动召回),以及"记忆应该按需召回、而非像 Skill 一样提前注入"的设计哲学。

文档