mini map

Regenerates the machine-readable project map for the agent.

↔ See the interactive form (/mini:…)

Usage

mini map [options]

  --file <path>  Remap only the given file incrementally (repeatable); without it a full rebuild runs
  --hook         Read the edited file path from the hook JSON on stdin (PostToolUse Edit/Write) and remap it

Description

The terminal command. Rebuilds the machine-readable project map — per-file maps under .mini/graph/ and the index .mini/graph.json with the exports, imports and signatures of source files (TS/PHP/Rust/Python/Go/Java/C#/Kotlin/Swift/Ruby). It only derives from the source files and does not touch the phase state. Use --file to remap a single file incrementally, or --hook to wire it into a PostToolUse Edit/Write hook so the map stays current as files change.

Examples

# Full rebuild of the map
mini map

# Incrementally remap a single file
mini map --file src/Controller/DocsController.php

→ How mini adapts to your project