kumiro
猫Kumiro
English | Русский
Kumiro is an early-stage package and environment manager for Minecraft projects. It is intended to manage mods, plugins, datapacks, resource packs, and shaders through a small declarative manifest and a deterministic lock file.
Kumiro behaves like a package manager, not a launcher. It does not launch Minecraft, manage accounts, or infer ownership of arbitrary JAR files.
kumiro.toml
↓
dependency resolution
↓
kumiro.lock
↓
verified artifacts
↓
Minecraft instance
The complete architecture and behavioral contract are defined in
SPECS.md. When this README and the specification differ,
SPECS.md is authoritative.
Project status
The current development version is 0.1. It is not yet a complete release.
The following functionality is implemented:
- interactive project initialization with
kumiro init; - Modrinth project lookup by slug, project ID, or URL;
- search fallback for non-exact project references;
- selection by Minecraft version, platform, and project side;
- required transitive dependency resolution and deduplication;
- conflict detection for incompatible pinned dependency versions;
- transaction preview and confirmation before installation;
- SHA-512 verification of downloaded artifacts;
- reuse of existing artifacts whose hashes match;
- atomic individual metadata writes and rollback-oriented installation;
- interactive Modrinth search using the same installation workflow as
add.
install, sync, update, and doctor are currently command stubs. scan
is experimental. Do not rely on these commands until their behavior described
in SPECS.md is implemented and tested.
Building
Kumiro currently requires the Go version declared in go.mod.
go build -o ./bin/kumiro ./cmd/kumiro
go test ./...
Run the local binary with:
./bin/kumiro --help
Quick start
Initialize a project in an existing Minecraft instance or an empty directory:
kumiro init
Add one or more Modrinth projects:
kumiro add sodium
kumiro add sodium lithium ferrite-core
kumiro add https://modrinth.com/mod/sodium
Kumiro resolves the complete required dependency graph, displays the planned
downloads, asks for confirmation, verifies downloaded files, and then updates
kumiro.toml and kumiro.lock.
Interactive search is also available:
kumiro search sodium
kumiro search
Manifest
A minimal kumiro.toml looks like this:
version = 1
[project]
name = "My Instance"
minecraft = "1.21.1"
platform = "fabric"
side = "client"
[dependencies]
sodium = "*"
fabric-api = "0.116.4+1.21.1"
[paths]
mods = "./mods"
Dependency keys are Modrinth slugs or project IDs. A dependency may also use an explicit stable project ID:
[dependencies]
sodium = { project_id = "AANobbMI", version = "*" }
Version selection
Kumiro deliberately supports only two forms of remote version selection:
"*"selects a compatible version using provider metadata;- any other value must exactly match the provider's
version_numberor immutableversion_id.
Comparison operators and version ranges are not supported:
# Unsupported
sodium = ">=0.6.2"
Modrinth version numbers are provider-defined opaque strings and are not
guaranteed to follow Semantic Versioning. Treating strings such as
mc1.21.1-0.6.2 as SemVer would require ambiguous guessing, so Kumiro only
matches them exactly.
Lock file and integrity
kumiro.lock records the exact resolved project, version, artifact path,
SHA-512 hash, and dependency edges. It is intended to be committed to version
control so that the same managed environment can be reproduced on another
machine.
An existing file is reused only when its SHA-512 hash matches the resolved artifact. A matching filename alone is not considered sufficient proof.
Unknown and explicitly local files are not automatically converted into Modrinth-managed packages and must not be silently deleted.
Commands
| Command | Current status |
|---|---|
kumiro init |
Implemented |
kumiro add <project...> |
Implemented |
kumiro search [query] |
Implemented |
kumiro version |
Implemented |
kumiro scan |
Experimental |
kumiro install |
Planned; command stub |
kumiro sync |
Planned; command stub |
kumiro update |
Planned; command stub |
kumiro doctor |
Planned; command stub |
Design principles
- Prefer explicit configuration over guessing.
- Keep user intent in
kumiro.tomland exact resolved state inkumiro.lock. - Resolve the complete graph before changing the installed environment.
- Use immutable provider identities and cryptographic hashes where possible.
- Preserve unmanaged and local files.
- Keep common integrity checks local and inexpensive.
- Expose all core behavior through the CLI.
See SPECS.md for the full project model, command semantics,
transaction requirements, and long-term direction.