Skip to content

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

Merged
wbxl2000 merged 1 commit into
MoonshotAI:release/2026-11-13-2from
kimi-agent-bot:chore/sync-web-dist-20261113-2-b0b6d9c
Nov 13, 2026
Merged

wbxl2000 merged 1 commit into
MoonshotAI:release/2026-11-13-2from
kimi-agent-bot:chore/sync-web-dist-20261113-2-b0b6d9c

Conversation

@kimi-agent-bot

Copy link
Copy Markdown
Collaborator

Requirement or Bug

The release/2026-11-13-2 hotfix candidate includes Web UI fixes, but the committed bundle in apps/kimi-code/dist-web was still built from code-app 8ab17294e031323186d357d121c5360b8353900e. This PR refreshes the bundle from the matching code-app release HEAD so the CLI ships those fixes.

Bug Reproduction Steps

N/A — this PR syncs generated release artifacts; the behavior fixes and their regression coverage landed in the linked code-app changes.

Root Cause

N/A — this is a release artifact synchronization, not a source-code fix in this repository.

Code Changes

  • Rebuilt apps/web at code-app b0b6d9c7a45c96ca48039ff05789c6e90f76ef20 (release/2026-11-13-2) and synced apps/web/dist into apps/kimi-code/dist-web with scripts/sync-web-to-kimi-code.mjs.
  • Pinned the build-time kimi-code submodule checkout to this PR's base, d532f4f9adf8633a515d0628bc97247dd91dcfbc, for CLI version injection, then restored the original code-app submodule checkout. No submodule pointer, package manifest, lockfile, or core source file changed.
  • Included the Web input changes from code-app#1306, code-app#1309, and code-app#1313.
  • Added the standard summary patch changeset. The generated diff contains 75 dist paths plus that changeset; no other release material changed.

Behavior Changes and Affected Users

Behavior Before After Who relies on the old behavior Escape hatch
Conversation load failures in the Web UI The previous bundled error path could leave the renderer unresponsive. The bundle includes the conversation-load failure handling from code-app#1306. Web users opening a conversation that fails to load N/A — bug fix
Loading conversation history History loading could move the conversation viewport. The bundle keeps the viewport steady using code-app#1309. Web users scrolling or restoring conversation history N/A — bug fix
Code-block automatic wrapping Toggling automatic wrapping in a conversation did not take effect. The bundle restores the wrapping toggle using code-app#1313. Web users reading code blocks N/A — bug fix

Affected module: apps/kimi-code/dist-web only, plus the summary changeset. The code-app source changes carry their own regression tests; this PR adds no core source tests because it contains generated assets only.

Build and verification
  • pnpm install: passed with the release lockfile unchanged.
  • env -u KIMI_WEB_DESKTOP -u VITE_KIMI_SERVER_HTTP_URL GITHUB_REF_NAME=release/2026-11-13-2 pnpm --filter kimi-code-web run build: passed in 1m11s; 638 output files.
  • KIMI_CODE_REPO=<core checkout> pnpm run sync:web: passed; source apps/web/dist and synced apps/kimi-code/dist-web compare byte-for-byte equal.
  • node apps/kimi-code/scripts/check-web-assets.mjs: passed (Web assets OK, 639 entries including the target directory).
  • Scope guards: only apps/kimi-code/dist-web and .changeset/web-interaction-polish.md are committed; no package.json, pnpm-lock.yaml, or submodule change. The code-app worktree remains clean at 90d8e31ba34eef50d25b9e8020501c4e46a59d9d for kimi-code.
  • New-content audit: no new URLs, local user paths, or credential-pattern strings relative to the previous bundle.

Checklist

  • I have read the CONTRIBUTING document.
  • I have explained the release requirement above; there is no separate related issue.
  • I have added tests that prove my feature works. (N/A — generated dist assets and a summary changeset only; source regression tests are in the linked code-app PRs.)
  • 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.
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update. (No doc update needed for generated release artifacts.)

code-app: b0b6d9c7a45c96ca48039ff05789c6e90f76ef20
@changeset-bot

changeset-bot Bot commented Nov 13, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: a7c8251

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 Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-13T16:18:03.900914Z a7c8251 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 Nov 13, 2026

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

commit: a7c8251

@wbxl2000
wbxl2000 merged commit 102bc1f into MoonshotAI:release/2026-11-13-2 Nov 13, 2026
15 checks passed
@github-actions github-actions Bot mentioned this pull request Nov 13, 2026

@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: a7c8251aac

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

"@moonshot-ai/kimi-code": patch
---

web: Improved interactions and fixed known bugs.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Name the concrete web fixes in the changeset

When this patch is consumed into the public CLI changelog, Improved interactions and fixed known bugs gives users no indication that conversation-load failures, history-position preservation, and code-block wrapping changed; it also uses the changeset skill's explicitly forbidden vague word “improve.” Replace it with concrete user-visible behavior (and split unrelated fixes) so the release note states what shipped.

AGENTS.md reference: AGENTS.md:L90-L90

Useful? React with 👍 / 👎.

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