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

miadi-code

v0.1.4

Published

Miadi terminal agent: Three-Universe narrative intelligence with multi-engine support (Gemini, Claude, Ollama) and coaia-narrative MCP integration.

Readme

🌌 Miadi-Code

Three-Universe Terminal Agent

A terminal agent that processes all interactions through three interpretive lenses:

  • 🧠 Mia (Engineer) - Technical precision and code quality
  • 🌸 Miette (Story) - Narrative structure and coherence
  • 🌿 Ava (Ceremony) - Relational accountability

Default engine: Claude (with sonnet model)

Installation

```bash cd Miadi-18/miadi-code npm install npm run build npm link # Makes 'miadi-code' and 'miadi' available globally ```

Usage

Interactive Mode (Default)

```bash miadi-code

or simply

miadi ```

Single Prompt

```bash miadi prompt "Create a TypeScript function to parse JSON" ```

With Specific Engine

```bash miadi --gemini "Quick refactor..." # Use Gemini miadi --ollama "Local private execution..." # Use Ollama (requires local Ollama)

Default is Claude, so no flag needed for Claude

```

Webhook Processing

```bash

For .github-hooks integration

cat webhook_payload.json | miadi webhook --type issues.opened ```

Features

  • Multi-Engine Support: Gemini, Claude, Ollama
  • Three-Universe Analysis: Every prompt analyzed through technical, relational, and narrative lenses
  • Session Persistence: Resume conversations across terminal sessions
  • Narrative Memory: Structural tension charts and story beats via coaia-narrative
  • Full Tracing: Langfuse integration for observability
  • Webhook Integration: Process GitHub webhooks as narrative events

Commands

| Command | Description | |---------|-------------| | miadi chat | Interactive terminal session (default) | | miadi prompt <text> | Run single prompt and exit | | miadi webhook | Process webhook payload from stdin | | miadi config | View/update configuration | | miadi sessions | List saved sessions |

Slash Commands (Interactive Mode)

| Command | Description | |---------|-------------| | /help | Show help | | /session | Current session info | | /sessions | List all sessions | | /universe <u> | Focus on universe (engineer/ceremony/story_engine) | | /position | Show narrative position | | /charts | List active structural tension charts | | /beat <desc> | Create a narrative beat | | /config | Show configuration | | /exit | Exit miadi-code |

STC Workspace Commands

| Command | Description | |---------|-------------| | /stc help | Show all STC commands | | /stc config list | List workspace mappings | | /stc config add <repo> <path> | Add workspace mapping | | /stc config remove <repo> | Remove workspace | | /stc load [repo] | Load STC files | | /stc status [repo] | Show workspace status | | /stc observe "<text>" | Add observation to chart | | /stc action add "<text>" | Add action step | | /stc action complete "<name>" | Complete action | | /stc goal | Show STCGOAL.md | | /stc issue | Show STCISSUE.md | | /stc mastery | Show STCMASTERY.md | | /stc sync | Sync STC files to chart | | /stc commit | Commit chart changes |

PDE (Prompt Decomposition Engine)

| Command | Description | |---------|-------------| | /pde help | Show all PDE commands | | /pde decompose "<prompt>" | Full 5-layer decomposition | | /pde quick "<prompt>" | Quick summary view | | /pde intents "<prompt>" | Layer 1: Intent extraction | | /pde deps "<prompt>" | Layer 2: Dependency graph | | /pde wheel "<prompt>" | Layer 3: Medicine Wheel mapping | | /pde workflow "<prompt>" | Layer 4: Workflow template | | /pde plan "<prompt>" | Layer 5: Execution plan | | /pde check "<prompt>" | Check prompt complexity | | /pde ceremony [type] | Show ceremony requirements | | /pde export [format] | Export last result (json/yaml/md) | | /pde last | Show last decomposition |

Chart Commands (Claude only)

| Command | Description | |---------|-------------| | /chart create | Create chart: outcome | reality | | /chart add-action | Add action: title | reality | | /chart complete | Toggle action completion | | /web | Launch chart visualizer | | /dashboard | Interactive STC dashboard (requires TTY) | | /ui | Alias for /dashboard | | /contexts | List active chart contexts | | /focus <chart> | Switch chart context |

Configuration

```bash

Set default engine

miadi config --set-engine claude

Set model

miadi config --set-model sonnet

Enable YOLO mode by default

miadi config --set-yolo true

Set Ollama host

miadi config --set-ollama-host http://localhost:11434 ```

Config file location: ~/.config/miadi-code/config.json

Architecture

``` ┌─────────────────────────────────────────────────────────────────┐ │ miadi-code CLI │ ├─────────────────────────────────────────────────────────────────┤ │ Three-Universe Processor │ │ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │ │ │ 🔧 Engineer │ │ 🙏 Ceremony │ │ 📚 Story │ │ │ └─────────────┘ └─────────────┘ └─────────────┘ │ ├─────────────────────────────────────────────────────────────────┤ │ Multi-Engine │ COAIA Memory │ Langfuse Tracing │ └─────────────────────────────────────────────────────────────────┘ ```

Related Projects

  • Miadi-18/app - Backend platform with webhook handlers
  • coaia-narrative - Structural tension charts and narrative memory
  • mcp-medicine-wheel - Four directions ceremonial wisdom
  • storytelling - Story generation with NCP

License

MIT

Author

J.Guillaume D.-Isabelle [email protected]