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

@ai-agent-forge/plugin-compaction-policy

v0.88.28

Published

Default compaction and branch summary policy plugin for Agent Forge

Readme

@agent-forge/plugin-compaction-policy

Agent Forge 出厂默认策略插件(bundled 分发):一个包承载三个注册面——自动压缩策略(prepareCompaction / 阈值判定 / compact)与分支摘要策略(generateBranchSummary),策略名均为 default;以及压缩时点工具输出瘦身投影(经公共 registerEntryProjection 通道注册:保留区旧回合的过大工具结果在发给模型的上下文里收成一行占位符,会话日志与 TUI 原文不变,见 压缩时点工具输出瘦身)。两个策略的机制实现保留在宿主 core/compaction/,插件经宿主供给键 @agent-forge/host/compaction 消费(D-082)。

默认压缩在宿主提供来源会话 context 时,保留模型正文并追加 Source history: session <context.sessionId>.。该行仅标识本次输入历史所在的会话,不伪造单条载荷定位;缺少 context 的公共直接调用保留原结果。分支摘要策略不受此处理影响。合同与 fork 边界见 压缩摘要来源引用。