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-contract

v0.3.0

Published

Voyager's cognitive nervous system: a versioned, model-independent contract for how one universal agent decomposes intent, discovers capabilities, orchestrates modular senses, links evidence into causal chains, acts through consent, and verifies. Contract

Readme

voyager-contract

Voyager's cognitive nervous system. One universal Voyager for the user; inside, a model-independent substrate that lets the reasoning brain (any LLM) decompose intent, discover and orchestrate modular senses, link evidence into causal chains across browser → code → host → network → cloud → data, act only through consent, verify, and get better each mission.

The senses stay separate, testable organs (@dir-ai/voyager, voyager-repo, voyager-net, …). This is not a monolith — it's the connective tissue that makes them one coherent agent. The model is the brain and can be swapped without losing memory, capabilities, or state.

npx @dir-ai/voyager-contract demo        # the canonical end-to-end mission

Three foundational layers

  1. Universal Cognitive Contract (CognitiveClaim) — one versioned, mergeable object for every step on every sense: observe / infer / simulate / act (consent-gated) / verify / learn. Carries evidence, provenance, entities, relationships, causal chains, hypotheses, contradictions, unknowns, next probes (with expected information gain), predicted impact, and memory candidates. Streams and refines over time.
  2. Capability Graph — a queryable graph of what each sense/skill/tool/model can do, with cost, environments, and a learned reliability updated from outcomes. The agent picks by expected utility, and knows its own blind spots (detectGaps).
  3. Mission Graph — a live plan, not a fixed list: goals, the claims that inform them, the entities/relationships/causes they surface. It re-plans after every claim — picking the most informative next probe, flagging cross-sense contradictions, and assembling the causal chain.

The end-to-end mission it proves

demo runs "the orders page is slow — find out why and fix it" through the real machinery: the web sense measures it and finds a slow API; the net sense rules the network out (a refuted hypothesis); the host sense finds the time is in the DB (N+1); the repo sense binds the API to the file and the commit that introduced it; the brain assembles the causal chain commit → N+1 → DB → API → page; it proposes a reversible fix that is withheld pending consent (the hands never mutate production autonomously); and it verifies the result and harvests durable memory.

Non-negotiable

Sensing can be autonomous; acting is always consent-gated, reversible, and attested. The act operation carries a blast class, a rollback, and a consent requirement — an unconsented action stays withheld.

Library

import { CognitiveClaim, CapabilityGraph, MissionGraph, newClaim } from '@dir-ai/voyager-contract'

Roadmap

Adapters that turn the shipped senses' output into CognitiveClaims; the voyager-browser sense; the World Model backed by Repotector (episodic / semantic / procedural / temporal / causal memory); a verification + evaluation loop that calibrates confidence and synthesizes new skills; counterfactual simulation.

License

MIT