Skip to content

fix(kimi): bump supported Kimi version and fix Windows native install - #628

Open
Erithiel wants to merge 1 commit into
codemie-ai:mainfrom
Erithiel:EPMCDME-15521-kimi-supported-version
Open

Erithiel wants to merge 1 commit into
codemie-ai:mainfrom
Erithiel:EPMCDME-15521-kimi-supported-version

Conversation

@Erithiel

Copy link
Copy Markdown

Summary

Bumps the Kimi supported version pin to 2.1.1 (minimum moves to the previous pin, 0.42.0) and fixes native installation on Windows, where the PowerShell installer couldn't receive a version argument.

Changes

  • Bump KIMI_SUPPORTED_VERSION to 2.1.1 and KIMI_MINIMUM_SUPPORTED_VERSION to 0.42.0.
  • Pass the target version via the KIMI_VERSION env var on Windows, since irm | iex can't take positional args (install.sh takes it positionally and rejects both forms at once).
  • Build a dedicated powershell -Command "irm <url> | iex" command in native-installer.ts for .ps1 installer URLs on Windows.
  • Route kimi/kimi-acp updates through installVersion (native installer) instead of the npm install path, so codemie update doesn't leave the checked binary stale.
  • Add doctor-check tests covering a pinned supportedVersion match (ok) and mismatch (warn).

Testing

  • Tests added/updated (doctor-checks.test.ts)
  • Manual testing done

Checklist

  • Code follows project standards
  • CI is green (npm run ci)
  • No merge conflicts with main

Bumps the Kimi supported/minimum version pins (0.42.0 -> 2.1.1), passes
the target version via env on the Windows PowerShell installer (irm | iex
can't take positional args), routes kimi/kimi-acp updates through the
native installer instead of npm, and adds doctor-check coverage for a
pinned-version match/mismatch.

Generated with AI

Co-Authored-By: codemie-ai <codemie.ai@gmail.com>

This branch has not been deployed

No deployments
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