LLM context transpiler that builds a synced .mira workspace view for codebases.
Project description
mira-transplier
mira-transplier turns a script or repository into a synced .mira view that is easier for coding agents and LLMs to navigate with less noise.
What MIRA builds
When you run MIRA on a folder, it generates a .mira directory with:
project.mirafor the compact file tree and public command surfaceGUIDE.txtfor public commands plus admin commands- per-file chunk metadata, skeletons, and indexes
- history baselines and runtime state for edits and managed terminals
MIRA keeps source and .mira in sync, supports history and restore, and works with regular code files, metadata-only document files, and generic 100-line chunking for unsupported text formats such as .java.
Install
pip install mira-transplier
Basic usage
Build the .mira view for the current folder:
mira .
Build a different folder:
mira path/to/project
Run a MIRA command from inside a built workspace:
mira !project
mira !list
mira !expand 12_3
mira !edit 12_3+ "new lines"
If inline text is omitted and stdin is piped, MIRA reads the piped text automatically.
Main command groups
- project navigation:
!project,!explore,!expand,!find_line,!search - edits and history:
!edit,!diff,!history,!restore - workspace metadata:
!memory,!goals, descriptions - managed terminals:
!terminals,!terminal
Admin commands
Admin commands stay in .mira/GUIDE.txt and are hidden from the public command surface.
!index,!index add <path>,!index remove <path>!environment [path|clear]
!environment lists detected virtual environments in the workspace by checking for activation scripts in Scripts. You can also configure a custom environment root with a full absolute path. Once configured, project.mira shows the selected environment as:
ENVIRONMENT: .venv (C:\path\to\workspace\.venv)
Notes
- folder indexing is shallow: subfolders need their own index entry
- dotfiles are ignored by default except
.gitignore !createand!deleteaccept relative paths, leading-slash paths, and absolute workspace paths!deletealso accepts file IDs
Requirements
- Python 3.10+
- Windows is the primary tested target right now
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mira_transplier-0.1.0.tar.gz.
File metadata
- Download URL: mira_transplier-0.1.0.tar.gz
- Upload date:
- Size: 42.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9a593f6a1d0e143d6faa3796a88d753b979dba10d17925285c021a84d1b807b
|
|
| MD5 |
ab9e1ee2f852e95aed528a4e663ee6fd
|
|
| BLAKE2b-256 |
634b400e4fb2c123885f27f9cece3927289ea1ff26f0f3430c4f4f4b2ca2006d
|
File details
Details for the file mira_transplier-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mira_transplier-0.1.0-py3-none-any.whl
- Upload date:
- Size: 44.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8346a293c540bc141d675b5b3651d9b67fa7b7d96331c79a699c9895aa3b1a28
|
|
| MD5 |
75c8194d5fc62ba4a65d485b8445f217
|
|
| BLAKE2b-256 |
b2a1d73ac944daeeb34b85bc2bbc6a36fed64976140d71674b42ecb5255208f1
|