Skip to content

feat(agents): streamline version update UX with interactive prompts#225

Merged
8nevil8 merged 2 commits intocodemie-ai:mainfrom
homich1991:feat/streamline-version-update-ux
Mar 24, 2026
Merged

feat(agents): streamline version update UX with interactive prompts#225
8nevil8 merged 2 commits intocodemie-ai:mainfrom
homich1991:feat/streamline-version-update-ux

Conversation

@homich1991
Copy link
Contributor

@homich1991 homich1991 commented Mar 24, 2026

Summary

This PR streamlines the user experience when Claude Code (or other agents) version mismatches are detected. Instead of cryptic exits or binary yes/no confirmations, users are now presented with clear, actionable list prompts that guide them through the version update process.

Changes

  • Scenario 0 (below minimum version): Replaced hard process.exit(1) with a 2-option interactive prompt — install the supported version now and continue, or exit with manual update instructions. Also surfaces the recommended version alongside the minimum.
  • Scenario 1 (running newer than supported): Replaced confirm prompt ("Continue anyway?") with a 3-option list — install supported version, continue with current, or exit showing relevant install commands.
  • Scenario 2 (update available): Replaced confirm prompt ("Continue with current version?") with a 3-option list — install new version, continue with current, or exit with the update command.
  • All scenarios now use an else if chain to prevent stale compatibility state from triggering multiple prompts after an install action.
  • Removed duplicate success messages (npm already outputs its own).

Impact

Before: Users hit silent exits or ambiguous yes/no confirmations when version issues were detected.

After: Users see a clear list of options and are guided with exact commands to run if they choose to exit manually.

Checklist

  • Self-reviewed
  • Manual testing performed
  • Documentation updated (if needed)
  • No breaking changes (or clearly documented)

@8nevil8 8nevil8 merged commit 617394c into codemie-ai:main Mar 24, 2026
5 checks passed
@homich1991 homich1991 deleted the feat/streamline-version-update-ux branch March 24, 2026 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants