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

ai-agent-harness

v0.1.2

Published

Arnés de gobernanza, control y seguridad para agentes de IA agnóstico de proveedor

Readme

AI Agent Harness (ai-agent-harness)

Framework de gobernanza, control y seguridad para agentes de IA agnóstico de proveedor, estructurado como paquete NPM reutilizable.

Este no es un estándar oficial de OpenAI, Anthropic, Google o GitHub. Es un estándar independiente basado en documentación oficial y prácticas operativas locales de control de agentes.

Uso rápido (Scaffolding instantáneo)

Puedes inicializar todo el arnés de políticas y sensores de manera instantánea en cualquier repositorio existente ejecutando:

npx ai-agent-harness init

O si deseas forzar la sobreescritura de archivos preexistentes:

npx ai-agent-harness init --force

En Windows, usar Git Bash para los scripts .sh o los wrappers PowerShell:

git init
powershell -ExecutionPolicy Bypass -File .agent/sensors/preflight.ps1 --staged
powershell -ExecutionPolicy Bypass -File .agent/sensors/verify.ps1

Qué genera

  • AGENTS.md como contrato universal.
  • .agent/ con políticas, memoria, journal, sensores, hooks y templates.
  • .agent/state/ con feature activa y progreso durable entre sesiones.
  • Adaptadores opcionales para Claude Code, Gemini, GitHub Copilot, Cursor y VS Code.
  • Guía de desarrollo guiado por especificaciones con GitHub Spec-Kit en .agent/policy/spec-kit.md.
  • Hooks Codex en .codex/hooks.json.
  • Hooks Git livianos y versionables en .githooks/.
  • Sensores locales Bash y PowerShell para whitespace, secretos, archivos críticos y validación por stack.
  • Página operativa en docs/index.html.

Página local

Abrir docs/index.html para ver la guía visual de instalación, capas, ciclo de sesión y verificación. Está inspirada en la estructura educativa de Learn Harness Engineering, pero adaptada a este harness lean y portable.

Política principal

  • Cambios pequeños, verificables y reversibles.
  • Archivos críticos requieren backup o rollback plan.
  • Hooks automáticos livianos; validaciones pesadas en cierre de tarea, pre-push manual o CI.
  • No producción, DB destructiva, secretos, deploy o infraestructura real sin aprobación explícita.

Cambios v4

  • Parser de argumentos robusto: --help y opciones antes/después de posicionales funcionan.
  • preflight.sh ya no falla en modo default --worktree.
  • verify.sh deja de ocultar fallos de tests/compilación.
  • log-run.sh genera JSONL válido.
  • post-tool-log.sh registra metadata saneada en vez del payload completo.
  • .gitignore conserva .gitkeep y no ignora directorios completos.
  • Detección de archivos críticos menos ruidosa: no marca secrets-scan.sh solo por el nombre.
  • Claude settings agregan denegación de lectura para .env y rutas sensibles.

Cambios v4.1

  • preflight --staged falla con mensaje claro si no hay repo Git, evitando falsos OK.
  • Agrega sensores y hooks PowerShell para Windows.
  • .codex/hooks.json usa comandos Codex y commandWindows; ya no depende de variables de Claude.
  • Documenta matriz de cobertura: instrucciones, riesgo y verificación quedan cubiertos; multi-agente/evals quedan fuera del core lean.

Cambios v4.2

  • Agrega página estática docs/index.html.
  • Agrega .agent/state/feature_list.json y .agent/state/progress.md.
  • Agrega ciclo de sesión con init-session y finish-session en Bash/PowerShell.
  • Agrega template .agent/templates/session-handoff.md.

Ver docs_manual.html para el manual completo.