#!/bin/sh
# MMI CLI launcher. Shipped in the plugin's bin/, which Claude Code auto-adds to the agent's
# Bash PATH — so `mmi-cli` is a bare command in every session the moment the plugin is enabled,
# with no hook, no PATH mutation, no install step. Resolves the bundled engine relative to its
# own location, so it stays correct across plugin updates (version-pinned root, stable layout).
exec node "$(dirname "$0")/../cli/dist/index.cjs" "$@"
