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

mova_agent

v0.1.1

Published

MOVA Agent - Deterministic interpreter runtime for MOVA envelopes

Readme

MOVA Agent (TypeScript)

Localization

Russian originals are kept in docs/ru/. This README and all docs are the English versions for the global community.

Overview

Deterministic interpreter runtime for MOVA envelopes with strict typing, atomic evidence/episode writing, plugin driver registry, and CI/CD with Docker.

Plugin Driver Registry

  • Location: src/drivers/index.ts.
  • API: registerDriver(name, factory), getDriver(name), listDrivers().
  • DriverContext supports allowlist, limits, bindings.
  • Built-in drivers: noop, http (fetch with allowlist + timeout), restricted_shell (execFile with allowlist).

Example:

import { registerDriver } from './src/drivers';

registerDriver('my_driver', () => ({
  async execute(input) {
    return { ok: true, input };
  },
}));

Linting & Formatting

npm run lint          # ESLint check
npm run format        # Prettier auto-format
npm run format:check  # Prettier check only
npm run check:structure  # Ensure .ts files stay in allowed folders
npm run check:docs       # Validate docs have headings (excluding docs/ru)

Docker Build Verification

  • Dockerfile: multi-stage on node:18-alpine, builds TS + generated types.
  • Docker Compose: docker-compose.yml exposes port 3000.
  • CI job docker-build builds mova-agent:ci and runs CLI help: docker run --rm mova-agent:ci node build/tools/mova-agent.js --help
  • Local check:
    docker compose up --build
    curl http://localhost:3000/health

SDK CLI

  • Published package: @leryk1981/mova-sdk-cli (npm). Repo: sdk-cli/ in this project.
  • Install globally: npm i -g @leryk1981/mova-sdk-cli
  • Quick use:
    mova init my-project                  # scaffold configs/episodes/plans
    mova plan -s env.mova_agent_plan_v1.json plans/plan.sample.json
    mova run plans/plan.sample.json       # local; add --endpoint <url> for MCP gateway
    mova driver:add http                  # generate/register driver skeleton
    mova policy:set --role admin --verb noop --allow
    mova episode:list --verb noop
  • More details: sdk-cli/README.md, sdk-cli/USAGE.md.

Scripts

  • npm run build — compile to build/.
  • npm run gen:types — generate .d.ts from JSON Schemas.
  • npm run lint / npm run format:check — style checks.
  • npm test — build + gen:types + unit tests (atomic writer, drivers).
  • npm run build:sdk-cli — build the MOVA SDK CLI locally.
  • npm run test:integration — smoke test CLI → Agent → Episodes flow.
  • npm run release:version — bump patch version (uses npm version patch).
  • npm publish — publish package (CI does this automatically on tags).

Compatibility

  • Matrix: see COMPATIBILITY_MATRIX.md for tested Agent / SDK CLI / schema-set versions.
  • Check locally: npm run verify:compat (runs in CI).
  • On releases: bump versions (Agent package.json, sdk-cli/package.json, @leryk1981/mova-spec dependency) and update the top row of the matrix.

Documentation

  • Architecture: docs/MOVA_AGENT_ARCHITECTURE.md
  • Roadmap: docs/MOVA_AGENT_ROADMAP.md
  • Production spec: docs/prod_tz.md
  • Token budgeting: docs/TOKEN_BUDGETING.md
  • Linting rules: docs/linting.md

CI/CD

GitHub Actions: lint → format check → tests → docker-build. Node 18, npm ci.

  • Release workflow (.github/workflows/release.yml): runs on tags v*.*.*, verifies package.json version matches the tag, builds, and publishes to npm using NPM_TOKEN secret. Release notes are generated automatically.

Release

  • Local manual publish:
    npm install
    npm run release:version   # or npm version <patch|minor|major>
    git push --follow-tags
    npm publish --access public
  • CI publish: push a tag vX.Y.Z to trigger release.yml (requires NPM_TOKEN secret set in repo settings). Docker image publishing can be added later via Docker Hub credentials.