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

mia-co

v0.1.2

Published

Miaco: Engineering World terminal agent for schema design, validation, and system architecture

Readme

🔧 miaco - Engineering World Terminal Agent

miaco (pronounced mee-AH-koh) is the Engineering World CLI Agent within the mia-code ecosystem. While miatel handles story world and miawa handles ceremony, miaco is the terminal interface for schema design, validation, and system architecture.

🗺️ Kinship Map

/src/mia-code/                              ← Parent Package
├── miaco/                                  ← Engineering World CLI (this one)
├── miatel/                                 ← Story World CLI
└── miawa/                                  ← Ceremony World CLI

CONNECTS TO:
├── /workspace/langchain/.../narrative-tracing/    ← Tracing adapters
├── /workspace/langgraph/.../narrative-intelligence/ ← Analysis toolkit
└── /src/coaia-planning/                           ← Structural tension

What miaco Does

Schema Operations

miaco schema design --name 'HeroJourney' --type story
miaco schema list --type character
miaco schema export --name hero_journey --output ./schema.json
miaco schema migrate --from v1 --to v2

Validation Operations

miaco validate ncp --file ./story.ncp.json --strict
miaco validate beat --file ./beat.json
miaco validate coherence --session session_123
miaco validate types --project ./tsconfig.json

Tracing Operations

miaco trace start --session my-session --story hero-journey --langfuse
miaco trace log --event BEAT_GENERATED --data '{"beat_id": "beat_001"}'
miaco trace end --export ./trace.json
miaco trace list --limit 10
miaco trace view trace_abc123 --format timeline
miaco trace correlation --session my-session --story hero-journey

Structural Tension Chart Operations

miaco chart create --outcome 'Working CLI' --reality 'Scaffolding exists'
miaco chart list
miaco chart add-step --chart chart_123 --title 'Build commands' --reality 'Started'
miaco chart complete --step 'Build commands'
miaco chart review --chart chart_123

Installation

cd /src/mia-code/miaco
npm install
npm run build
npm link  # optional, for global install

The Three Universes Lens

miaco primarily represents Engineering World (Mia):

| Universe | Lens | Key Question | |----------|------|--------------| | 🔧 ENGINEER | Mia (this one) | Is the schema valid? Are types correct? | | 🙏 CEREMONY | Ava8 | Is K'é honored? Is there sacred pause? | | 📖 STORY_ENGINE | Miette | Is the arc coherent? Do themes thread? |

Structural Tension Charts

Based on Robert Fritz's creative process:

┌─────────────────────────────────────────┐
│ DESIRED OUTCOME                         │
│ What you want to CREATE (not fix)       │
│                                         │
│         ↑  STRUCTURAL TENSION  ↑        │
│                                         │
│ CURRENT REALITY                         │
│ Honest factual assessment               │
└─────────────────────────────────────────┘

The tension between outcome and reality drives creative advancement.

Cross-System Tracing

miaco provides correlation headers for unified traces across:

  • LangChain narrative-tracing
  • LangGraph narrative-intelligence
  • Miadi webhooks
  • Storytelling package
miaco trace correlation --session my-session --story hero-journey
# Outputs:
#   X-Narrative-Trace-Id: trace_abc123
#   X-Session-Id: my-session
#   X-Story-Id: hero-journey

Development

# Run in development mode
npm run dev

# Build TypeScript
npm run build

# Run built version
npm start

miaco: Where architecture becomes observable.