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

@servanda/gestures

v0.5.2-pre

Published

Servanda in-situ gestures: the confirm card, reaction-confirm, and thin platform shims for the surfaces where promises are actually spoken

Downloads

677

Readme

@servanda/gestures

In-situ capture and confirmation — surface 3 of the doctrine's seven, and the last one to exist.

"Capture and confirmation have no screens of their own by definition: they are in-situ gestures (🤝 reaction, BCC/forward, a word to any assistant, session hooks)." — ui-design.md

A promise is confirmed where it was spoken, in one tap. Visiting an app to confirm a sentence you already wrote is the failure this surface exists to prevent.

The card

One typed object answering the three questions every card must answer — what · with whom · what happens if I do nothing — with the primary action leading, so the first thing Tab reaches and the first thing a screen reader announces is the thing you probably want.

Confirm and dismiss are both flywheel labels (ADR-0012). A dismissal is data, not a discarded event: it is exactly what makes the next wrong extraction less likely.

M-1, enforced by the compiler

A gesture may confirm your own promise. It may never let one person assert another's — "they said they would" is an expectation, never a proposal on their behalf.

That is not a runtime check here. The attempt does not compile.

The two-taps problem, answered rather than claimed away

scenarios.md names it honestly: confirm-first costs two taps from two people for one sentence in a review comment.

The second tap cannot be removed. The counterparty's signature is what makes the promise bilateral (M-2); a design that dropped it would be faster and would no longer be Servanda.

What changes is its character:

  • the promiser taps in place, in the window they are already in, and their half is recorded at once;
  • the other party is never gestured at — their half arrives batched in their next brief, and interrupts nothing.

Two interrupting taps become one in-place tap and one batched line. whenTheOtherHalfArrives() states that in the type system rather than in a comment.

Adapters

Thin, injected shims over platform payloads (chat webhook, PR comment). Modelled locally; no network from any gesture path, and the gate proves it. The intents a gesture emits are exactly the §7 tools — where §7 offers no tool for an action (upstream issue #19), a typed unmapped intent is emitted rather than a tool name invented.