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

@dir-ai/voyager-hands

v0.3.0

Published

Voyager's HANDS: the consent-gated remediation organ. Turns a verified finding into a declarative, reversible action from a known-safe catalog; previews it with a blast-radius; applies ONLY behind a hard consent gate through an injected provider; verifies

Readme

@dir-ai/voyager-hands

Voyager's hands — the consent-gated remediation organ. The senses observe (read-only, autonomous). The hands act — but never freely.

An action here is:

  • Declarative, drawn from a known-safe catalog — there is no free-form shell anywhere in the package by construction.
  • Carrying its exact inverse — an action with no inverse cannot auto-apply.
  • Classified by blast radius (B0…B3), which sets the consent tier.
  • Applied only through an injected provider, behind a hard consent gate, after a dry-run preview — then verified, auto-rolled-back on regression, and attested.

The separation is the product. Sensing is autonomous; acting is gated, reversible, and accountable. The hands never act on their own.

Install

npm i -g @dir-ai/voyager-hands

The pipeline

finding ─▶ plan ─▶ (declarative action + exact inverse, from the catalog)
                    │
                    ▼ preview  (dry-run: blast radius, consent tier, diff, blockers — touches nothing)
                    │
                    ▼ HARD CONSENT GATE  (B0 policy-auto · B1 policy+notify · B2 human · B3 two-person)
                    │
                    ▼ apply    (only with an injected provider + consent + execute:true)
                    │
                    ▼ verify   (re-sense; auto-rollback on regression)
                    │
                    ▼ attest   (a tamper-evident receipt of exactly what changed)

Use (library)

import { plan, buildAction, apply, MemoryDnsProvider } from '@dir-ai/voyager-hands'

// 1. plan a reversible remediation for a finding (e.g. voyager-net's missing-dmarc)
const [proposal] = plan({ kind: 'missing-dmarc', target: 'example.com' })

// 2. build the concrete action (validated against the catalog; carries its inverse)
const action = buildAction(proposal.kind, proposal.target, proposal.params)

// 3. apply — DRY-RUN by default; a real change needs YOUR provider + explicit consent
const provider = new MyDnsProvider(/* least-privilege, scoped credential */)
const result = await apply(action, {
  provider,
  execute: true,
  consent: { approved: true, by: '[email protected]' }, // an explicit decision, from a human/policy
})
// result.status ∈ 'previewed' | 'withheld' | 'applied' | 'rolled-back' | 'failed'
// result.attestation.receipt  ← the audit trail

The Provider is injected — the package holds no credentials and talks to no real API by itself. Implement read(target) + apply(action) with a scoped, least-privilege credential. A MemoryDnsProvider ships for tests and the demo.

CLI

voyager-hands plan --kind missing-dmarc --target example.com    # propose
voyager-hands preview --kind dns.record.add --target example.com --type TXT --name _dmarc --value "v=DMARC1; p=none;"
voyager-hands demo                                              # full pipeline on an in-memory zone

Applying to a real system is intentionally not a one-command CLI action — it needs the library with an injected provider + consent.

MCP

{ "command": "voyager-hands", "args": ["mcp"] }

Two tools, both non-mutating: plan_remediation and preview_action. There is no apply tool — an agent can propose and preview, but can never mutate a real system through MCP.

Safety invariants

  • Never free-form. Only catalog actions exist; no shell, ever.
  • Reversible or refused. No inverse ⇒ blocked (needs a runbook / two-person path).
  • Dry-run by default. Mutation requires execute:true and an injected provider and tier-appropriate consent.
  • Consent is explicit. approved:true from a finding, a config, or the model is invalid — it must be a decision passed here. B3 requires two distinct approvers.
  • Auto-rollback. A failing verification rolls back to the prior state.
  • Attested. Every outcome carries a tamper-evident receipt.
  • Least privilege. The package holds no credentials; the provider you inject does.

First slice

DNS records (SPF / DMARC / CAA), the natural pair for @dir-ai/voyager-net's DNS findings — reversible and low-blast. More catalogs (security headers via a config provider, ACME cert renewal, firewall/SG rules at higher consent tiers) follow the same pipeline. The line stays fixed: anything that changes state is declarative, reversible, gated, verified, and attested — or it is refused.

The Voyager family

The hands complete the organism: the senses (voyager, voyager-browser, voyager-repo, voyager-net) observe, the voyager-contract reasons, the voyager-agent orchestrates — and voyager-hands acts, through consent.

License

MIT © dir-ai