Skip to content

chore: sync web dist from code-app - #4555

Merged
liruifengv merged 1 commit into
MoonshotAI:release/2026-10-30from
kimi-agent-bot:chore/sync-web-dist-20261030-f577aba
Oct 30, 2026
Merged

liruifengv merged 1 commit into
MoonshotAI:release/2026-10-30from
kimi-agent-bot:chore/sync-web-dist-20261030-f577aba

Conversation

@kimi-agent-bot

Copy link
Copy Markdown
Collaborator

Requirement or Bug

本期 release/2026-10-30 需要携带 code-app 当期最新 release 分支的 Web UI 产物,并将内置 CLI 版本从上一轮的 2.3.3 更新到当前候选基线的 2.4.0。

Bug Reproduction Steps

N/A

Root Cause

N/A

Code Changes

  • 在 code-app release/2026-10-30(当期最新 release 分支)提交 f577aba576614806a9ae1e2660eb8ff728488417 构建 apps/web,以核心仓 9140ea0d980fc27c5c5ff983b2efe82191eb2b4a 为 CLI 基线,并通过 scripts/sync-web-to-kimi-code.mjs 同步产物。
  • 仅更新 apps/kimi-code/dist-web 生成文件并添加一条 patch 汇总 changeset,不修改核心仓源码。
  • code-app 上一同步源 0ca916b71a9d4a175112dadbe013a4a4e1612984 到本次源仅有 Desktop changelog / release notes 变化;本次 bundle 差异来自在当前 core 候选基线重新构建及资源哈希更新。

Behavior Changes and Affected Users

Behavior Before After Who relies on the old behavior Escape hatch
CLI 内置 Web UI 产物 上一次同步、注入 CLI 2.3.3 的生成 bundle 来自 code-app 当期最新 release 分支、注入当前 core 2.4.0 的 bundle 使用 kimi web 及内置 Web UI 的用户 无,发布产物整体升级
核心仓源码、命令、配置与服务端契约 当前 release 基线 不变;本 PR 不含这些路径的改动 CLI / VS Code / API 用户 不需要

验证:

  • code-app pnpm --filter kimi-code-web run build 成功。
  • 构建前 KIMI_WEB_DESKTOP 与 VITE_KIMI_SERVER_HTTP_URL 已清除,且不存在 apps/web/.env.local;构建后已恢复 code-app submodule 工作树。
  • node apps/kimi-code/scripts/check-web-assets.mjs 通过(528 entries)。
  • 生成产物的凭据、内部发版主机与构建环境变量扫描均为 0 命中。

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. (N/A — generated dist assets and one summary changeset; web build and asset check completed)
  • The behavior-change table above is complete, and every removed behavior or flipped default is named in the changeset and either has an escape hatch or was explicitly approved by a maintainer in this PR. (Generated bundle sync only)
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update. (No core source or documentation changes)

code-app: f577aba576614806a9ae1e2660eb8ff728488417
@changeset-bot

changeset-bot Bot commented Oct 30, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: c47ff33

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-30T09:31:25.368404Z c47ff33 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@pkg-pr-new

pkg-pr-new Bot commented Oct 30, 2026

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

commit: c47ff33

@chatgpt-codex-connector

Copy link
Copy Markdown

💡 Codex Review

https://github.com/MoonshotAI/kimi-code/blob/c47ff33042c3212d92fa71c91bfd1f26f9099d69/apps/kimi-code/dist-web/assets/index-9agYyXUg.js#L1139
P2 Badge Stamp the bundle with the post-changeset version

Once this patch changeset is consumed, the release workflow's changeset version step (package.json:28-29, .github/workflows/release.yml:33-38) advances the currently 2.4.0 package to 2.4.1. This bundle nevertheless uses 2.4.0 as X-Kimi-Client-Version on every REST request and as the displayed build version (the other copies are on line 1142), so all Web clients shipped in 2.4.1 will identify themselves as the previous release—the same lag this sync is intended to fix. Regenerate and re-sync the bundle with the post-version value (or avoid creating the bump) so the package and client identity remain aligned.

AGENTS.md reference: AGENTS.md:L18-L18

ℹ️ 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".

@liruifengv
liruifengv merged commit 480a9b0 into MoonshotAI:release/2026-10-30 Oct 30, 2026
26 of 27 checks passed
@github-actions github-actions Bot mentioned this pull request Oct 30, 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.

2 participants