Repository navigation
feat: mise integration for runtime resolution and auto-detection - #29
Merged
Merged
Conversation
Introduce the internal/mise package with: - Executor interface for testable mise CLI abstraction - cliExecutor implementation calling real mise binary - RuntimeResolver with cached Available() and Which() with LookPath fallback - Stub implementations for WhichVersion, Detect, Install, IsInstalled, ListInstalled Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add RuntimeResolver to Core struct with optional injection via Config. Expose DetectSiteVersions, MiseStatus, CheckRuntimes, and InstallRuntime methods. Add MiseInfo and RuntimeStatus types for the API surface. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…allRuntime bindings Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…dd Site modal Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Shows Runtime Manager card with mise availability status between Appearance and About cards. Displays version when detected, or install guidance with link when not found. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… views Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… core tests, browse detection) - IsInstalled now uses ListInstalled + exact/prefix matching instead of strings.Contains on raw output, preventing false positives (e.g. "8.3" matching "8.3.1") - Core tests use a stub mise executor via NewWithExecutor instead of the real CLI, making them environment-independent - handleBrowse in AddSiteForm now calls handlePathInput() to trigger auto-detection after selecting a directory Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
internal/mise/) — shared service that shells out tomiseCLI for binary resolution, version detection, and installation; gracefully falls back to system PATH when mise is unavailable.mise.toml/.tool-versionsand pre-fills form fields (debounced, respects manual overrides)Test plan
🤖 Generated with Claude Code