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

@kybernesis/payments

v0.3.2

Published

Stripe Link as an eve agent's wallet, on its owner's behalf: Link's tool catalog mounted as eve tools behind the owner's link-cli sign-in, the person's approval on every purchase, and a one-time card typed into a checkout on the agent's own computer witho

Readme

@kybernesis/payments

A Link wallet for an eve agent, on its owner's behalf.

Stripe's Link eve integration gives an agent link__create_spend_request and friends: the agent names a merchant and a total, the person approves it in the Link app, and Link issues a one-time card for exactly that purchase. This package adds the two pieces that make it usable by a Kybernesis agent:

  • linkTool(name) — Link's tool catalog (@stripe/link-sdk/tools) as eve tools, one per file. create_spend_request asks the person in eve before Link asks them again; every result is stripped of card fields.
  • linkCliAuth() — the owner's link-cli sign-in as the agent's wallet credential. The owner runs npx link-cli auth login --client-name <agent> on the agent's host once (a device-code flow approved in the Link app); the CLI keeps and refreshes the tokens in its own config file, and this provider reads that file for each call. No token in env, none in source. Single-owner by design: this is a personal agent paying from its owner's wallet.
  • payOnComputerTool() (pay_on_computer) — once a spend request is approved, types the one-time card into the checkout form open in the agent's own browser via @kybernesis/computer's fill primitive. The model supplies CSS selectors; the card goes Link → page and comes back only as brand + last four.
import { linkTool } from "@kybernesis/payments";
export default linkTool("create_spend_request"); // one file per Link tool; see LINK_TOOL_NAMES
import { payOnComputerTool } from "@kybernesis/payments";
export default payOnComputerTool();

PAYMENTS_INSTRUCTIONS is the order of operations the agent follows: agree the exact total from the real checkout page, create one spend request, send the approval link, wait, fill, screenshot, submit, report with link__create_report.

Requirements

  • @kybernesis/computer ≥ 0.2.0 mounted as the root sandbox (that is where the browser is).
  • link-cli signed in on the host. Without it every wallet tool fails with a message saying exactly that; the agent cannot complete the sign-in itself.
  • The install is eve add @kybernesis/payments from the Kybernesis registry.

Gotchas

  • Stripe's own eve extension (@stripe/link-integrations-eve, built with eve 0.66) does not mount on eve 0.68 — that is why the tools are wrapped here from the SDK instead.
  • Link may require 3-D Secure or a verification step the agent cannot complete. The instructions tell it to stop and describe the screen; the person can take over the computer.