Repository navigation
chore: sync release/2026-11-12 back to main - #4873
Conversation
* fix(kap-server): bind the main agent when a session is created * fix(kap-server): reject a profile on prompt submissions * fix(kap-server): reject a profile change through the session profile * fix(kap-server): wait for model configuration before binding a new session
* fix(agent-core-v2): deduplicate restored task notifications * chore: add notification replay fix changeset * fix(agent-core-v2): preserve task notifications after prompt-only crashes * fix(agent-core-v2): complete prompts before ending turns * test: align lifecycle snapshots with prompt completion order * fix(agent-core-v2): settle all prompts during turn finalization
…ates (#4842) * fix(kap-server): drop reserved metadata keys from session profile updates * fix(kap-server): keep stored reserved metadata keys on profile updates
* docs: split and rewrite the server API reference * docs: redirect old server API anchors to the split pages * docs: describe profile metadata as a replacement * docs: mark question responses as answered-only
* fix(kap-server): avoid heartbeat timeout reaping after stalls or clock jumps * fix(kap-server): grace heartbeat window for short scheduling stalls * fix(kap-server): treat only clearly late heartbeats as scheduling stalls * fix(kap-server): time heartbeats on a monotonic clock and drain queued input before reaping --------- Co-authored-by: Kimi Code (Grok Bot) <[email protected]>
* docs: describe heartbeat stall handling * docs: explain the monotonic clock in the heartbeat notes
* fix(agent-core-v2): acquire session lock before loop restoration * chore: add session lock lifecycle changeset * fix(agent-core-v2): hold session lock through loop restoration - add an operation-scoped lease to the session run gate - hold it across loop initialization, reset, and pending drains - cover idle timeout and release ordering
* fix(agent-core-v2): dedupe historical tool schemas * chore: add duplicate tool schema changeset * fix(agent-core-v2): preserve first tool schema declaration * fix(agent-core-v2): remind on changed tool schemas * fix(agent-core-v2): block stale tool schema calls * fix(agent-core-v2): normalize registry schemas in pending checks * fix(agent-core-v2): import registry tool metadata type * fix(agent-core-v2): preserve abort handling during validation * fix(agent-core-v2): refine validation hook preparation * fix(agent-core-v2): make validation hooks synchronous
* fix(agent-core-v2): preserve tool result notes on fork * chore: add fork tool result note changeset * fix(agent-core-v2): scope tool result note restoration to forks * fix(agent-core-v2): normalize inherited tool result notes * fix(agent-core-v2): isolate fork note restoration
code-app: 8ab17294e031323186d357d121c5360b8353900e Co-authored-by: kimi-agent-bot <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
code-app: 5835391dac3a2b9e0c65ffbd418f0d6042a7adb2
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
commit: |
Requirement or Bug
Post-release back-sync for CLI
2.6.0(release/2026-11-12, version PR #4835). Draft only: keep in Draft until Gate ⑥ (after CDN switch and release broadcast).Brings the shipped
release/2026-11-12fixes, CLI2.6.0/ internal package version bumps, generatedCHANGELOG.mdentries, consumed.changeset/*.mdremovals, and a refreshed Web UI bundle built fromkimi-code-appmainback intomainwhile preserving all post-branchmaincommits and unconsumed changesets.Bug Reproduction Steps
N/A — post-release back-sync.
Root Cause
N/A — post-release back-sync.
Code Changes
origin/release/2026-11-12(740d6c0bdd777cd8ed0d91eb3d62766910401173, PR ci: release packages #4835) intoorigin/main(68b849c90d38f08fd1e11fdb37694e6b856eb90a):release/2026-11-12fixes and docs (fix(kap-server): avoid heartbeat timeout after scheduling stalls #4823, fix(agent-core-v2): truncate oversized skill content #4834, fix(agent-core-v2): deduplicate restored task notifications #4836, fix(kap-server): bind the main agent when a session is created #4839, docs: split and rewrite the server API reference #4841, fix(kap-server): drop reserved metadata keys from session profile updates #4842, fix(kap-server): undo a turn only once when requests race #4846, fix(agent-core-v2): acquire session lock before loop restoration #4848, docs: describe heartbeat stall handling #4849, fix(agent-core-v2): keep the output of stopped tool calls #4854, fix(kap-server): drop the partial reply of a retried step #4855, fix(agent-core-v2): dedupe historical tool schemas #4862, fix(agent-core-v2): preserve tool result notes on fork #4867) alongsidemain's post-fork commits (feat(prediction): add experimental next-prompt suggestions #4754, fix(agent-core-v2): preserve explicit loop profile binding semantics #4840, feat(tui): sweep running titles toward text and add KIMI_CODE_TUI_ANIMATION_FPS #4843/feat(tui): sweep running titles toward text and add KIMI_CODE_TUI_ANIMATION_FPS #4870, feat(tui): keep cron and MCP authorization calls out of compact transcript groups #4844, chore: sync web dist from code-app #4859, fix(agent-core-v2): disable subagent deadline when timeoutMs is 0 #4868) with zero source-file conflicts.@moonshot-ai/kimi-code2.6.0,@moonshot-ai/pi-tui0.87.0,@moonshot-ai/kimi-code-sdk0.23.1(apps/vscoderemains0.9.0with zero diff).2.6.0, including.changeset/pi-tui-animation-frame-rate.mdand.changeset/tui-animation-fps.mdfrommainfeat(tui): sweep running titles toward text and add KIMI_CODE_TUI_ANIMATION_FPS #4843 (cherry-picked torelease/2026-11-12via feat(tui): sweep running titles toward text and add KIMI_CODE_TUI_ANIMATION_FPS #4870 and published in ci: release packages #4835), while preservingmain's three unreleased changesets (compact-own-line-calls.md,feat-prompt-prediction.md,fix-subagent-zero-timeout.md).apps/kimi-code/dist-webfromMoonshotAI/kimi-code-apporigin/mainHEAD5835391dac3a2b9e0c65ffbd418f0d6042a7adb2with thekimi-codesubmodule temporarily aligned to the merged2.6.0tree (2b7b83de7b479764a00d9ad420743027a93b8579) for CLI2.6.0version injection (trailercode-app: 5835391dac3a2b9e0c65ffbd418f0d6042a7adb2), preservingcode-appmain's newer Web commits instead of overwriting them with the release-branch bundle.Behavior Changes and Affected Users
release/2026-11-12only.main(#4823, #4834, #4836, #4839, #4841, #4842, #4846, #4848, #4849, #4854, #4855, #4862, #4867).2.6.0.2.5.3with 70 consumed changesets still onmain.2.6.0(pi-tui0.87.0,kimi-code-sdk0.23.1),CHANGELOG.mdupdated, consumed changesets removed, 3 unreleasedmainchangesets retained.apps/kimi-code/dist-web)code-appdc808dbd34(#4859) at CLI2.5.3.code-appmain5835391dacagainst merged CLI2.6.0.code-appmain.Verification
node apps/kimi-code/scripts/check-web-assets.mjspassed (639 entries, CLI2.6.0version markers present).pnpm run lint,pnpm run typecheck, andpnpm run buildpassed.@moonshot-ai/pi-tui,@moonshot-ai/kimi-code405/405,@moonshot-ai/agent-core-v2262/262,@moonshot-ai/kap-serversessions.test.ts121/121).Checklist
gen-changesetsskill, or this PR needs no changeset. (Consumed2.6.0changesets removed; 3 unreleasedmainchangesets preserved.)gen-docsskill, or this PR needs no doc update. (Dedicated docs changelog PR is docs(changelog): sync 2.6.0 from apps/kimi-code/CHANGELOG.md #4872.)