Skip to content

feat(cli): add third-party source note to update prompt - #2014

Merged
liruifengv merged 6 commits into
mainfrom
feat/update-third-party-note
Jul 21, 2026
Merged

feat(cli): add third-party source note to update prompt#2014
liruifengv merged 6 commits into
mainfrom
feat/update-third-party-note

Conversation

@liruifengv

Copy link
Copy Markdown
Collaborator

Related Issue

None — see the problem description below.

Problem

Homebrew is a third-party distribution channel that we do not manage, so new releases can arrive there with a delay. Users who installed via Homebrew see the update prompt and may run brew upgrade kimi-code before the formula catches up. The README also listed Homebrew as an install method, steering new users toward a channel we do not control.

What changed

  • When the detected install source is Homebrew, the manual update message now adds a note that third-party sources may lag behind the latest release and points to the official installer (https://www.kimi.com/code). The same message is shared by the startup preflight and the kimi upgrade subcommand, so both surfaces pick it up.
  • Removed the Homebrew install section from README.md and README.zh-CN.md, leaving the official install script as the only listed macOS/Linux method.
  • Added test assertions for the new note on the Homebrew update-prompt path.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained the problem above.
  • I have added tests that prove my feature works.
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update.

@changeset-bot

changeset-bot Bot commented Jul 21, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: fec7d8a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@moonshot-ai/kimi-code Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Jul 21, 2026

Copy link
Copy Markdown
pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@fec7d8a
npx https://pkg.pr.new/@moonshot-ai/kimi-code@fec7d8a

commit: fec7d8a

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c8dee8ed24

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread apps/kimi-code/src/cli/update/preflight.ts Outdated
@liruifengv
liruifengv merged commit 576d650 into main Jul 21, 2026
14 checks passed
@liruifengv
liruifengv deleted the feat/update-third-party-note branch July 21, 2026 12:42
@github-actions github-actions Bot mentioned this pull request Jul 21, 2026
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.

1 participant