Skip to main content

MIRA-ENGINE

MIRA-ENGINE is a modular Python CLI for project-aware file operations and LLM-friendly tool wrappers.

Commands

AI-facing commands:

  • mira help or any unknown command prints only the visible AI-facing command list instead of trying to index a path.
  • mira create creates files or folders. Interactive file creation asks for the file description only after CONTINUE or after the immediate edit flow.
  • mira delete removes files or folders after confirmation, using root-style paths for root-style input and absolute paths only for absolute input.
  • mira edit replaces selected lines in a file, with optional explore checks and targeted comment or description updates for the affected ranges.
  • mira project prints the project tree with root files listed before folders. Empty workspaces show Use <tool_use>create</tool_use> guidance.
  • mira explore analyzes a file, offers VIEW / EDIT / EXIT / ADD OR EDIT DESCRIPTION, and only asks for chunk comments when the full chunk range was actually viewed.
  • mira memory and mira plan manage .mira/memory.md and .mira/plan.md.
  • mira terminal runs commands through one of two persistent PowerShell-backed terminals.

Admin commands:

  • mira . or mira sync [path] updates the stateful index and only reprocesses changed files.
  • mira configs [view|init|set|reset] views or updates mira.config.json.
  • mira index add <path> and mira index remove <path> manage manual include or exclude rules.
  • mira history shows grouped session history versions like V1, V2, and so on.
  • mira diff [version] [other_version] compares file versions. mira diff --history <version> shows a compact + / - batch summary for one history version.
  • mira restore <version> restores one file version. mira restore --history <version> restores an entire recorded history version as a batch.

LLM wrappers

Use --llm to wrap output in configurable tags from mira.config.json:

<tool_use>
create
path: notes.txt
</tool_use>
<tool_response>
Created file: notes.txt
</tool_response>

Chunking

Python files use AST-aware structure extraction. Other files use fallback chunking from languages/default/analyzer.py, targeting 80 lines with chunk boundaries selected at nearby blank lines up to 200 lines, then falling back to 100 lines when no natural boundary is found.

Stateful Index

Running mira . materializes a lightweight project state under .mira/:

  • .mira/project.txt stores the tracked project tree with file descriptions.
  • .mira/commands.txt stores the command catalog with one-line descriptions.
  • .mira/files/<path>/skeleton.txt stores the explore-style file summary.
  • .mira/versions/<path>/<version>.txt stores the first retained snapshot for a file.
  • .mira/versions/<path>/<version>.ndiff stores later retained revisions as independent ndiff payloads instead of full snapshots.

History is also grouped into retained history versions so one sync or restore batch can be inspected and replayed as a unit.

Descriptions and structure comments are manual metadata. They are added or updated through interactive create, explore, and edit flows instead of being autogenerated from AST docstrings or fallback heuristics. Skeleton output omits empty description, dependency, and comment metadata to keep low-noise files compact.

The sync path skips unchanged files by mtime, size, hash, and artifact presence, so rerunning mira . stays cheap when only a few files changed.

Metadata

Release files for mira-process 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mira-process 0.1.1
File Size Uploaded Provenance Actions
mira_process-0.1.1.tar.gz 32.9 kB Without provenance Details for mira_process-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mira-process 0.1.1
File Interpreter ABI Platform Actions
mira_process-0.1.1-py3-none-any.whl Python 3 none any Details for mira_process-0.1.1-py3-none-any.whl

Total release size: 70.3 kB

Release files / mira_process-0.1.1.tar.gz

Download URL mira_process-0.1.1.tar.gz
Size 32.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b53681ace9912508e918ce2f37552bf0106c81721f846a5e89792dcbfa1f2b62
BLAKE2b-256 checksum
How to use checksums
116d6f6307b29426060e698152b0b17905ae9288991de4caf9e12d780cfa03b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release files / mira_process-0.1.1-py3-none-any.whl

Download URL mira_process-0.1.1-py3-none-any.whl
Size 37.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b03f6f1f603e67b22699d711e67afb02e423faa35936318aa3929f06d4ee0adc
BLAKE2b-256 checksum
How to use checksums
01631b0ce83e43d5bb8eddc150d52e2fe8637312582edf0ac7ba6b589c5346ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Security for mira-process 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page