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-edit-coordinator

v0.88.28

Published

Edit-coordinator capability plugin for Agent Forge (file.coordination@1 intent leases, file_lease tool, /conflicts command)

Readme

agent-forge.plugin.edit-coordinator

意图租约协调插件(file.coordination@1):多会话/多子代理写同一文件前先声明意图,提前暴露重叠; advisory 层,不承担写入正确性(正确性由 coding-tools 的跨进程锁与版本校验保证,见 docs/design/文件写入协调设计.md)。

提供面

  • file.coordination@1 service:check / reserve / release / list 四个请求(op 区分)。coding-tools 的 edit/write 在持有文件锁期间用它检查重叠;第三方可按同一磁盘布局替换实现。
  • file_lease 工具(非 readonly 会话注册):reserve / release / list。再次 reserve 同一路径即刷新 TTL(固定 300s),waitMs(默认 5s、上限 120s)在锁外等待冲突解除。
  • 会话结束清扫:观察宿主 session.end@1,删除该 session id 名下的全部租约(只动自己的;崩溃会话仍走 TTL 自然过期)。
  • /conflicts 命令:列出活跃租约、孤儿临时记录与写锁恢复标记;/conflicts recover-lock <path> [--force] 是唯一的人工写锁恢复入口(损坏记录需 --force)。

配置(agent-forge.json config 面)

| 键 | 语义 | | --- | --- | | cwd | 路径解析基准目录(缺省进程 cwd) | | writeScope | 与子代理档案相同的相对写入 glob;file_lease reserve 越界拒绝 |

协调根不设插件配置:租约存储与 coding-tools 的写锁必须同根(设计 §8.8"同一目标文件的所有写者必须使用同一个 root"),根只由 @agent-forge/host/file-lock 的缺省解析决定,进程级可用 AGENT_FORGE_COORDINATION_DIR 覆盖;插件级旁路旋钮会让租约校验与实际写锁分叉,每次 edit 都会得到 file_lock_lost。

禁用/替换本插件只关闭 advisory 层,写锁与版本校验不受影响。