From 3ff401261f3e8dbdced172cddcb170dd48db42f4 Mon Sep 17 00:00:00 2001 From: liruifengv Date: Thu, 2 Jul 2026 21:18:32 +0800 Subject: [PATCH] chore: refine changeset wording (#1323) Simplify the image compression and compaction handoff changesets, and set the image compression bump to patch. --- .changeset/announce-image-compression-readback.md | 4 ++-- .changeset/sharpen-compaction-handoff-prompt.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.changeset/announce-image-compression-readback.md b/.changeset/announce-image-compression-readback.md index e8ce54d58..83a0cc2e7 100644 --- a/.changeset/announce-image-compression-readback.md +++ b/.changeset/announce-image-compression-readback.md @@ -1,5 +1,5 @@ --- -"@moonshot-ai/kimi-code": minor +"@moonshot-ai/kimi-code": patch --- -Never compress images silently. Every image ingestion point (ReadMediaFile, MCP tool results, clipboard paste, REST upload/inline base64, ACP) now places a caption next to a compressed image stating the original vs. delivered dimensions, byte size, and format, and preserves the original bytes for readback: uploads point at the stored file, and in-memory images are saved into the session's `media-originals` directory (size-capped, removed with the session; a shared temp-dir cache is the fallback when no session is known). ReadMediaFile gains a `region` parameter (crop in original-image pixel coordinates, delivered at full fidelity) and a `full_resolution` flag (skip downscaling, with an explicit error when the file exceeds the per-image byte limit), so the model can zoom into fine detail instead of degrading silently. +When large images are compressed, tell the model the original and delivered image details. Keep the original image available, and support cropped or full-resolution reads for fine details. diff --git a/.changeset/sharpen-compaction-handoff-prompt.md b/.changeset/sharpen-compaction-handoff-prompt.md index b89fb25f3..52dd01744 100644 --- a/.changeset/sharpen-compaction-handoff-prompt.md +++ b/.changeset/sharpen-compaction-handoff-prompt.md @@ -2,4 +2,4 @@ "@moonshot-ai/kimi-code": patch --- -Sharpen the conversation-compaction handoff prompt so resumed sessions continue more reliably: the summary now leads with the intent of the latest request instead of re-transcribing it, carries forward tool results (not just the commands that produced them), separates settled decisions from still-open questions, names the context the next turn must re-check, matches the conversation's language, and stays proportional to the task. Also corrects the system prompt's description of the post-compaction shape. +Improve compaction handoff summaries for more reliable resumed sessions. They now keep the latest intent, key tool results, decisions, open questions, and context to re-check.