Repository navigation
feat: 2.13.0 - beginner friendly, Find mods, signed macOS builds - #87
Merged
Merged
Conversation
Beginner-friendly Scope B: a server on this computer with no suitable
Java should not send a kid to install a JDK by hand. MineUI downloads the
Eclipse Temurin JRE of the major the Minecraft version needs into its own
app-wide folder and uses it.
- New scoped command install_java { major } -> JavaCheck (§3.1).
- JavaCheck gains managed; java_check resolution order is now override,
then MineUI-managed Java of a compatible major, then JAVA_HOME / PATH /
well-known roots, so a Java MineUI installed is the one it runs.
- DownloadKind gains "java"; progress events carry the requesting
server's id (§4.3).
- §6.3a fixes the download rules: Adoptium API v3 only, https, redirect
hops limited to the observed host chain (api.adoptium.net, github.com,
release-assets.githubusercontent.com), 300 MB cap, sha256 from the API
response, traversal-safe extraction into a temp dir renamed into place,
and java -version must report the requested major.
- Audit action java.install (§3.11), §5 mode row, §8 javainstall module.
- §7 re-synced with app/lib/ipc.ts.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
Start here needs to know which Java a Minecraft version wants before
create_instance runs, so it can offer "Get Java for me" up front instead
of parsing a JAVA_NOT_FOUND message.
- New app-wide command required_java_major { mcVersion } -> number | null
(§3.6): Mojang's javaVersion.majorVersion for the version, "LATEST"
resolving to the latest release first; null when it cannot be resolved.
- The same function picks create_container's image tag (§3.13), now
shared from mojang (§8); §5 row; §7 re-synced with app/lib/ipc.ts.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
install_java fetches the Eclipse Temurin JRE of the requested major from the Adoptium API v3 into <app data>/java/temurin-<major>-jre/, shared by every server profile: https only, redirects only to api.adoptium.net, github.com and release-assets.githubusercontent.com, 300 MB cap, sha256 from the API response, tar/zip entries with absolute paths, .. or links leaving the target refused, extracted beside the target and renamed into place, and the result must report the requested major. One install per major at a time. Progress uses the download-progress event with kind "java"; audited as java.install. java_check now looks for MineUI-managed Java after an explicit override and before JAVA_HOME / PATH, preferring the exact major. required_java_major (moved to mojang) gives the screens the Java a Minecraft version needs before a server exists. 273 unit tests; the live test downloaded Temurin 21.0.13+9 once for two concurrent requests and reused it. Windows and macOS layouts are covered by unit tests on synthetic archives only. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
…t's this? A labelled Simple / Advanced switch in the header (and in App Settings, Appearance) sets how much MineUI shows. It is a view setting only, kept in localStorage (mineui-view-level, default simple), and calls no IPC: the 2.9.0 header toggle was removed because it re-pointed a server between running on this computer and in a container. Simple hides Status, Console and Config (opening one shows a notice with Show Advanced), Scheduled tasks, Network and ports and the Advanced section of Server Settings, and on the Dashboard the metric readings and trend lines, with the live log behind a disclosure. The two server kinds read "On this computer" and "In a container" on screen so the words Simple and Advanced only name the view. The IPC Mode enum is unchanged. What's this?: a glossary of 25 terms written for kids and teens and a Term component (popover, keyboard and touch) used on the settings, status, console, config, players and mods pages. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
Start here replaces the empty Dashboard when the only server is not set up yet: two questions (normal Minecraft or with mods; just me, people at home, or friends in other places too), one sentence naming the setup MineUI picks and why, a check of what this computer needs (Java, or Podman / Docker with the install help and Check again), a name and the EULA, then the same create calls and defaults as the existing flows, Start, and the Dashboard with How players join (its internet steps open for friends elsewhere). "I know what I want" opens the existing flows. Get Java for me (install_java with progress) appears in Start here, in the server-on-this-computer flow's requirements step, and on the Dashboard when Start fails with JAVA_NOT_FOUND or JAVA_INCOMPATIBLE, followed by Start again. A Java MineUI downloaded is named as such. The create flows keep type, version, pack and EULA up front; container name, ports, memory, network and extra ports are under a collapsed More options with unchanged defaults, and a problem inside it is named next to Create. Getting started: five steps with live ticks from server state, the audit log, player history and backups, a Show me for each, dismissible per server. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
…gs and the container flow The add-server choice said Plain Minecraft server and Nothing else to install; it now matches On this computer and says MineUI can get Java. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
zip 9 returns an entry name as a Result; one that does not decode now refuses the Java archive. Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
…lebrations, server pass Rolling digits (NumberFlow) on players, ping and TPS; a breathing StatusPulse ring on every server state dot; TextShimmer on in-progress labels; press ripple on the main actions; a progress ring and one-time celebrations (check spring, All done moment, first server and first friend toasts) in Getting started; the join address as a HoloCard server pass. Everything is off or static under reduce-motion, uses semantic tokens only and plays sounds through useUISound. Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
Developer ID Application certificate plus notarization through the App Store Connect API key. The key is written to RUNNER_TEMP on the macOS jobs only and handed to tauri as APPLE_API_KEY_PATH. Secrets: APPLE_CERTIFICATE, APPLE_CERTIFICATE_PASSWORD, APPLE_SIGNING_IDENTITY, APPLE_API_KEY, APPLE_API_ISSUER, APPLE_API_KEY_P8_B64. Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
… installed; glossary count Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
…gle (2.13.0) Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
…2.13.0) Beginner-friendly part G: find mods and plugins on Modrinth for the current server and install them with their required dependencies, every file checked against the sha512 Modrinth publishes. - New scoped commands (section 3.5a): get_mod_support (what the server can load, read from its own state: container TYPE/VERSION, vanilla on this computer), search_mods (Modrinth search with project type, loader, game version and server_side facets, installed flag from version_files) and install_mod (newest compatible version, release over beta over alpha, required dependencies resolved transitively with cycle guard, pinned versions, skip of installed ones and a 50-file cap; all files downloaded before any is placed; placed files rolled back on failure). - set_mod_enabled renames name.jar <-> name.jar.disabled in either server kind, never overwriting a file (section 3.5). - Section 6.3b: api.modrinth.com and cdn.modrinth.com only, https, every redirect hop re-checked, sha512 required and verified, 256 MB cap. - Error codes reused: WRONG_MODE for a server that cannot load mods or plugins, INVALID_INPUT, DOWNLOAD_FAILED, CHECKSUM_MISMATCH, FILE_TOO_LARGE. New audit actions mod.install, mod.enable, mod.disable. - Section 7 gains the matching ipc.ts types and wrappers. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
…disable Beginner-friendly part G backend (contract sections 3.5, 3.5a, 6.3b). - modrinth module: get_mod_support reads what the server can load from its own state (container TYPE/VERSION; vanilla on this computer, modpack containers and unknown types say why). search_mods queries Modrinth with project type, loader categories, game version and server_side facets, drops client-only hits, and marks installed projects from the sha1s of the files in the folder via POST /v2/version_files (cached per hash set). - install_mod picks the newest compatible version (release over beta over alpha, preferred loader, newest), resolves required dependencies breadth first with a cycle guard, pinned versions, skip of installed projects or file names and a 50-file cap, downloads every file through a client that only talks https to api.modrinth.com and cdn.modrinth.com (every redirect hop re-checked), verifies sha512 (and sha1), stages the files and places them in one step, removing what it placed if placing fails. Audited as mod.install per file. - DownloadRequest gains expected_sha512 (sha2 already a dependency). - set_mod_enabled renames name.jar <-> name.jar.disabled with a constant script whose paths arrive as positional arguments, refusing to overwrite; audited as mod.enable / mod.disable. - Tauri: get_mod_support, search_mods, install_mod, set_mod_enabled (thin delegation); ipc.ts equals contract section 7. 306 unit tests (was 273) on recorded Modrinth fixtures. Live tests: the real search, resolution of Chunky + Fabric API, download with sha512 and a version_files lookup pass; the full install, installed flag, re-install refusal and enable/disable (running and stopped) pass on a throwaway TYPE=FABRIC container on rootless Podman. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
list_mods reports a disabled mod as <name>.jar.disabled and set_mod_enabled makes such names, but the 6.2 filename rule only allowed .jar/.zip, so a disabled mod could not be deleted without enabling it first. New rule 3a: delete_mod also accepts a name ending .jar.disabled, with the bare-name, charset and length checks on the whole name and rule 3 on the name without the final .disabled. Nothing else changes; section 7 is unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
Contract 6.2 rule 3a: delete_mod also takes a name ending .jar.disabled (case-insensitive), as list_mods reports a disabled mod and set_mod_enabled makes it. The length check applies to the whole name; the bare-name, charset and leading-character checks and rule 3 apply to the name without the final .disabled, which must end in .jar. x.disabled, x.jar.disabled.disabled, x.txt.disabled, x.zip.disabled and traversal names stay refused. The container side moved into delete_in_container so both paths (exec when running, the helper when stopped) are unit-tested with FakeRuntime, whose exec and helper now record their argv. 309 unit tests. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
Add a Find tab to Add a mod or plugin: search Modrinth for what the server can load, install with the other mods it needs, progress per file, plain errors. A server that cannot load mods says why. The link tab is Advanced only, with a warning. Mod cards get a switch to turn a .jar off and on. Glossary gains Modrinth. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
Changelog, README and SECURITY cover Find mods (Modrinth search and install with a sha512 check), the on/off switch for mods, and the link tab moving to the Advanced view. Test and IPC command counts updated. Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
list_mc_versions gains an optional serverType (a ContainerLoader wire name). Absent or "vanilla" keeps today's list. Otherwise the Mojang list is restricted, in Mojang order and with the same McVersion shape, to the versions that type publishes builds for: Paper (Fill v3), Purpur, Fabric and Quilt meta, Forge promotions_slim, NeoForge maven (the NeoForge to Minecraft version rule, released builds only, plus 1.20.1). Per-type 15-minute cache, stale cache over an error, and a fall-back to the unfiltered list whenever the type's list cannot be had, so creation is never blocked. New 6.3c for the fixed hosts, client and size cap; 3.13 says how the UI picks mcVersion and when it may send LATEST; section 7 and the module map follow. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
New loader_versions module (contract 3.6, 6.3c): list_mc_versions takes an optional serverType and restricts the Mojang list, in Mojang order, to the versions that type publishes builds for - Paper (Fill v3), Purpur, Fabric and Quilt meta, Forge promotions_slim, NeoForge maven. NeoForge versions map to Minecraft the way NeoForge's docs and itzg's install-neoforge do (A.B.n -> 1.A[.B], Y.A.B.n -> Y.A[.B]); only released builds count, since the image skips betas by default, and 1.20.1 is added for the older net.neoforged:forge artifact the image uses there. One client with a six-host https allowlist re-checked on every redirect, 10 s timeout, the I4cTime/mineui User-Agent, 4 MiB body cap. Per-type 15-minute cache on Core; a stale cache beats an error, and any failure (or an empty intersection) falls back to the unfiltered list with one stderr line, so creation is never blocked. Unknown serverType is INVALID_INPUT. The Tauri command stays a thin delegation. 18 unit tests on fixtures trimmed from today's real answers (327 total) and an ignored live test fetching all six. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
The container create form reloads the version list for the chosen server type (a late answer for an earlier type is ignored), resets a picked version the new type lacks, and offers "Latest release" only when the type has a build for Mojang's newest release; otherwise it picks the type's newest version and says why under the picker. Start here's no-mods Fabric path asks for Fabric's list and sends LATEST only when Fabric has the newest release. If a list cannot be had, the form and Start here behave as before. Modpacks keep their own versions. listMcVersions gains serverType, matching contract section 7. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
Version bump in every manifest, changelog section dated, install table filenames. The release carries Start here, MineUI gets Java, the Simple and Advanced view, What's this?, the Getting started checklist, the alive touches, Find mods on Modrinth with a mod on/off switch, Minecraft versions per server type, and macOS signing and notarization in the release workflow. Co-Authored-By: Claude Fable 5.2 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
… installed (2.13.0) Section 3.13: the UI resolves "Latest release" (and Start here's default) to a concrete version id from the server type's list and sends LATEST only when that list cannot be loaded. Section 3.5a: a .jar.disabled file does not count as installed for the installed flag, dependency resolution or the refusal of the project asked for; a fresh x.jar is placed beside x.jar.disabled and never replaces it. Section 7 ModSearchHit.installed comment follows. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
installed_index no longer looks up files ending .jar.disabled (any case): their project is not installed for the installed flag on search hits, for dependency resolution or for the refusal of the project asked for. With Fabric API switched off, installing Sodium now installs Fabric API too instead of reporting it under alreadyInstalled. Every name still counts for the name checks; a planned file is always a .jar, so a fresh x.jar is placed beside x.jar.disabled and never replaces it. The index is built by build_index, tested without the network. ipc.ts follows the section 7 comment on ModSearchHit.installed. 328 core tests. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
…d Start here answers
- The container create form resolves "Latest release" to the newest
concrete version in the server type's list at create time and shows it
("Latest release (26.4)"); newestVersionFor returns that version, so
Start here's no-mods Fabric path does too. LATEST is sent only when the
list cannot be loaded (contract 3.13). Find mods can then tell the
version of a new container, and it no longer moves to each new release
on restart.
- Get Java for me reads the returned JavaCheck: when the server still
cannot use a Java of that major it says why instead of "Java N is
ready." (the Java location in Server Settings wins over the download)
and offers Check again. The Dashboard shows "Java is ready" and Start
again only when the check says so.
- Start here locks its answers once the server is made but did not
start, and says so in the error box; Try again only starts it.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XgcbjaB3r6DZJEwWqR8xyv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
MineUI 2.13.0. Makes the app usable by someone who has never run a server, adds mod search, and signs the macOS builds.
Type
Checklist
pnpm lintpassespnpm exec tsc --noEmitpassespnpm buildpassescargo fmt --all --checkpasses (if Rust touched)cargo clippy -p mineui-core --all-targets -- -D warningspasses (if Rust touched)cargo test -p mineui-corepasses (if Rust touched)CHANGELOG.mdupdated under[Unreleased](for user-facing changes)docs/v2-contract.mdupdated if the Tauri IPC surface changed (commands, args, events)docs/theme-contract.mdupdated if theme tokens changedVerification
328 core tests; contract §7 equals
app/lib/ipc.ts; five headless UI checks on mocked IPC (start here, view level, alive, find mods, type versions) with no console problems. Live tests run once by hand: a real Temurin download on Linux, Modrinth search and install on a real Fabric container under rootless Podman, and all six server type version lists.Not verified:
Review: an independent review of the diff found four defects (Find mods on a Latest release server, Get Java with a Java location override, Start here answers after a failed start, switched-off copies counted as installed); all four are fixed in this PR, on mocked IPC and unit tests only.
Known gaps: for about a second after a server type change Create can still send the previous version; servers created before this release with "Latest release" still cannot use Find mods; reinstalling a mod whose switched-off copy exists leaves both files.
Breaking changes
None. The server kinds are renamed on screen only; IPC additions are backwards compatible.
🤖 Generated with Claude Code