From 1c205e730f3822459754c75358607ef2be6e4141 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 14 Jul 2026 06:56:24 +0000 Subject: [PATCH] ci: release packages --- .changeset/add-v2-session-export.md | 5 - .changeset/agent-runtime-phase.md | 6 - .changeset/ask-user-question-v2-parity.md | 6 - .changeset/auto-approved-plan-signal.md | 8 -- .changeset/bash-timeout-auto-background.md | 5 - .changeset/calm-swarms-retry.md | 5 - .changeset/de-barrel-agent-core-v2.md | 5 - .changeset/execution-environment-domains.md | 6 - .../fix-background-tasks-session-close.md | 5 - .changeset/fix-fork-session-files.md | 6 - .changeset/fix-goal-resume-continuation.md | 5 - .../fix-kap-server-heartbeat-release-race.md | 5 - .changeset/fix-oauth-login-invalidation.md | 6 - .changeset/fix-oversized-media-requests.md | 5 - .changeset/fix-per-agent-task-persistence.md | 5 - .changeset/fix-provider-default-base-url.md | 6 - .../fix-server-hello-heartbeat-optional.md | 5 - .changeset/fix-skill-command-media.md | 5 - .changeset/fix-steer-media.md | 5 - .changeset/fix-tool-dedupe-ignition.md | 6 - .changeset/fix-v2-caller-mcp-servers.md | 5 - .changeset/fix-v2-config-write-reload-race.md | 5 - .changeset/fix-v2-goal-mode-startup-crash.md | 5 - .../fix-v2-oauth-provider-auth-error.md | 5 - .../fix-v2-reminder-and-question-copy.md | 5 - .changeset/fix-v2-skill-dirs-access.md | 7 -- .../fix-v2-snapshot-media-passthrough.md | 5 - .changeset/fix-v2-status-context-size.md | 5 - .changeset/fix-v2-storage-compaction-race.md | 5 - .changeset/fix-web-context-usage-zero.md | 5 - .changeset/fix-web-duplicate-user-message.md | 5 - .changeset/fix-web-image-csp.md | 5 - .changeset/fix-web-resync-step-blob.md | 5 - .changeset/fix-web-workspace-picker-width.md | 5 - .changeset/fix-wire-migration-rewrite-race.md | 5 - .changeset/kap-server-default-engine.md | 6 - .changeset/mcp-initial-load-race.md | 5 - .changeset/msys2-bash-detection.md | 5 - .changeset/preserve-empty-reasoning.md | 5 - .changeset/quiet-goals.md | 5 - .changeset/registry-fetch-user-agent.md | 5 - .changeset/reroute-blob-storage.md | 6 - .changeset/server-v2-interaction-events.md | 5 - .changeset/skill-discovery-diagnostics.md | 5 - .changeset/swarm-roster-refresh.md | 5 - .changeset/taskoutput-discourage-blocking.md | 5 - .../tool-select-progressive-disclosure.md | 5 - .changeset/typed-telemetry-registry.md | 5 - .changeset/v2-agent-lifecycle-split.md | 5 - .changeset/v2-caller-mcp-servers.md | 6 - .changeset/v2-fault-injection.md | 5 - .changeset/v2-fetch-moonshot-channel.md | 5 - .changeset/v2-graded-error-taxonomy.md | 5 - .changeset/v2-image-format-gate.md | 5 - .changeset/v2-login-env-aware-auth.md | 5 - .changeset/v2-media-caption-reroute.md | 5 - .changeset/v2-media-degraded-413.md | 5 - .changeset/v2-media-read-parity.md | 5 - .changeset/v2-messages-rehydrate-media.md | 5 - .changeset/v2-model-catalog-efforts.md | 5 - .changeset/v2-moonshot-search-config.md | 5 - .changeset/v2-msys2-bash-detection.md | 5 - .../v2-oauth-inflight-provider-change.md | 6 - .changeset/v2-plugin-robustness.md | 5 - .changeset/v2-search-host-headers.md | 5 - .changeset/v2-server-host-headers.md | 5 - .changeset/v2-telemetry-v1-wire-parity.md | 5 - .changeset/v2-v1-parity-fixes.md | 5 - .changeset/v2-video-upload-telemetry.md | 5 - .changeset/v2-wire-op-schemas.md | 5 - .changeset/v2-wire-record-parity.md | 5 - .changeset/v2-wire-v1-native-records.md | 5 - .changeset/web-backend-badge-switcher.md | 5 - .changeset/web-goal-card-refresh.md | 5 - .changeset/web-session-export.md | 5 - .changeset/web-wide-table-breakout.md | 5 - apps/kimi-code/CHANGELOG.md | 116 ++++++++++++++++++ apps/kimi-code/package.json | 2 +- packages/agent-core-v2/CHANGELOG.md | 62 ++++++++++ packages/agent-core-v2/package.json | 2 +- packages/agent-core/CHANGELOG.md | 9 ++ packages/agent-core/package.json | 2 +- packages/kap-server/CHANGELOG.md | 25 ++++ packages/kap-server/package.json | 2 +- packages/klient/CHANGELOG.md | 8 ++ packages/klient/package.json | 2 +- packages/protocol/CHANGELOG.md | 10 ++ packages/protocol/package.json | 2 +- 88 files changed, 236 insertions(+), 402 deletions(-) delete mode 100644 .changeset/add-v2-session-export.md delete mode 100644 .changeset/agent-runtime-phase.md delete mode 100644 .changeset/ask-user-question-v2-parity.md delete mode 100644 .changeset/auto-approved-plan-signal.md delete mode 100644 .changeset/bash-timeout-auto-background.md delete mode 100644 .changeset/calm-swarms-retry.md delete mode 100644 .changeset/de-barrel-agent-core-v2.md delete mode 100644 .changeset/execution-environment-domains.md delete mode 100644 .changeset/fix-background-tasks-session-close.md delete mode 100644 .changeset/fix-fork-session-files.md delete mode 100644 .changeset/fix-goal-resume-continuation.md delete mode 100644 .changeset/fix-kap-server-heartbeat-release-race.md delete mode 100644 .changeset/fix-oauth-login-invalidation.md delete mode 100644 .changeset/fix-oversized-media-requests.md delete mode 100644 .changeset/fix-per-agent-task-persistence.md delete mode 100644 .changeset/fix-provider-default-base-url.md delete mode 100644 .changeset/fix-server-hello-heartbeat-optional.md delete mode 100644 .changeset/fix-skill-command-media.md delete mode 100644 .changeset/fix-steer-media.md delete mode 100644 .changeset/fix-tool-dedupe-ignition.md delete mode 100644 .changeset/fix-v2-caller-mcp-servers.md delete mode 100644 .changeset/fix-v2-config-write-reload-race.md delete mode 100644 .changeset/fix-v2-goal-mode-startup-crash.md delete mode 100644 .changeset/fix-v2-oauth-provider-auth-error.md delete mode 100644 .changeset/fix-v2-reminder-and-question-copy.md delete mode 100644 .changeset/fix-v2-skill-dirs-access.md delete mode 100644 .changeset/fix-v2-snapshot-media-passthrough.md delete mode 100644 .changeset/fix-v2-status-context-size.md delete mode 100644 .changeset/fix-v2-storage-compaction-race.md delete mode 100644 .changeset/fix-web-context-usage-zero.md delete mode 100644 .changeset/fix-web-duplicate-user-message.md delete mode 100644 .changeset/fix-web-image-csp.md delete mode 100644 .changeset/fix-web-resync-step-blob.md delete mode 100644 .changeset/fix-web-workspace-picker-width.md delete mode 100644 .changeset/fix-wire-migration-rewrite-race.md delete mode 100644 .changeset/kap-server-default-engine.md delete mode 100644 .changeset/mcp-initial-load-race.md delete mode 100644 .changeset/msys2-bash-detection.md delete mode 100644 .changeset/preserve-empty-reasoning.md delete mode 100644 .changeset/quiet-goals.md delete mode 100644 .changeset/registry-fetch-user-agent.md delete mode 100644 .changeset/reroute-blob-storage.md delete mode 100644 .changeset/server-v2-interaction-events.md delete mode 100644 .changeset/skill-discovery-diagnostics.md delete mode 100644 .changeset/swarm-roster-refresh.md delete mode 100644 .changeset/taskoutput-discourage-blocking.md delete mode 100644 .changeset/tool-select-progressive-disclosure.md delete mode 100644 .changeset/typed-telemetry-registry.md delete mode 100644 .changeset/v2-agent-lifecycle-split.md delete mode 100644 .changeset/v2-caller-mcp-servers.md delete mode 100644 .changeset/v2-fault-injection.md delete mode 100644 .changeset/v2-fetch-moonshot-channel.md delete mode 100644 .changeset/v2-graded-error-taxonomy.md delete mode 100644 .changeset/v2-image-format-gate.md delete mode 100644 .changeset/v2-login-env-aware-auth.md delete mode 100644 .changeset/v2-media-caption-reroute.md delete mode 100644 .changeset/v2-media-degraded-413.md delete mode 100644 .changeset/v2-media-read-parity.md delete mode 100644 .changeset/v2-messages-rehydrate-media.md delete mode 100644 .changeset/v2-model-catalog-efforts.md delete mode 100644 .changeset/v2-moonshot-search-config.md delete mode 100644 .changeset/v2-msys2-bash-detection.md delete mode 100644 .changeset/v2-oauth-inflight-provider-change.md delete mode 100644 .changeset/v2-plugin-robustness.md delete mode 100644 .changeset/v2-search-host-headers.md delete mode 100644 .changeset/v2-server-host-headers.md delete mode 100644 .changeset/v2-telemetry-v1-wire-parity.md delete mode 100644 .changeset/v2-v1-parity-fixes.md delete mode 100644 .changeset/v2-video-upload-telemetry.md delete mode 100644 .changeset/v2-wire-op-schemas.md delete mode 100644 .changeset/v2-wire-record-parity.md delete mode 100644 .changeset/v2-wire-v1-native-records.md delete mode 100644 .changeset/web-backend-badge-switcher.md delete mode 100644 .changeset/web-goal-card-refresh.md delete mode 100644 .changeset/web-session-export.md delete mode 100644 .changeset/web-wide-table-breakout.md create mode 100644 packages/agent-core-v2/CHANGELOG.md create mode 100644 packages/kap-server/CHANGELOG.md create mode 100644 packages/klient/CHANGELOG.md diff --git a/.changeset/add-v2-session-export.md b/.changeset/add-v2-session-export.md deleted file mode 100644 index 908abd3c61..0000000000 --- a/.changeset/add-v2-session-export.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": minor ---- - -Add v2 session export support for packaging diagnostic zip archives. diff --git a/.changeset/agent-runtime-phase.md b/.changeset/agent-runtime-phase.md deleted file mode 100644 index 7c9b360dae..0000000000 --- a/.changeset/agent-runtime-phase.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/agent-core-v2": minor -"@moonshot-ai/protocol": minor ---- - -Track the agent's live phase (idle, running, streaming, tool call, retrying, awaiting approval, interrupted, ended) as a single model field driven by the existing turn events, and carry it on the status update channel for downstream consumers. diff --git a/.changeset/ask-user-question-v2-parity.md b/.changeset/ask-user-question-v2-parity.md deleted file mode 100644 index 98d563b8a5..0000000000 --- a/.changeset/ask-user-question-v2-parity.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/agent-core-v2": patch -"@moonshot-ai/kap-server": patch ---- - -Fix the v2 AskUserQuestion flow: answers now come back keyed by question text with option labels as values, aborting a turn or stopping a background question dismisses the pending question instead of leaking it, and duplicate question texts or option labels are rejected before the question is shown. The pending-question wire shape no longer carries a synthetic expires_at field. diff --git a/.changeset/auto-approved-plan-signal.md b/.changeset/auto-approved-plan-signal.md deleted file mode 100644 index d5ae2cc183..0000000000 --- a/.changeset/auto-approved-plan-signal.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@moonshot-ai/agent-core": patch -"@moonshot-ai/agent-core-v2": patch -"@moonshot-ai/kap-server": patch -"@moonshot-ai/kimi-code": patch ---- - -In auto permission mode, plan exits are now marked as auto-approved (not user-reviewed) in both the tool result and the transcript, so the agent no longer treats automatic plan approval as a user signal to start executing. diff --git a/.changeset/bash-timeout-auto-background.md b/.changeset/bash-timeout-auto-background.md deleted file mode 100644 index ac228999b0..0000000000 --- a/.changeset/bash-timeout-auto-background.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": minor ---- - -Move foreground Bash commands that hit their timeout to the background instead of killing them, so long-running commands survive the timeout and report back on completion. Set `bash_auto_background_on_timeout = false` under `[background]` in config.toml to restore the kill-on-timeout behavior. diff --git a/.changeset/calm-swarms-retry.md b/.changeset/calm-swarms-retry.md deleted file mode 100644 index 9518db1d35..0000000000 --- a/.changeset/calm-swarms-retry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -web: Recover transient subagent rate limits without surfacing them as session errors. diff --git a/.changeset/de-barrel-agent-core-v2.md b/.changeset/de-barrel-agent-core-v2.md deleted file mode 100644 index 62fcbe43c0..0000000000 --- a/.changeset/de-barrel-agent-core-v2.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/agent-core-v2": patch ---- - -Fix the production build by resolving internal module imports directly instead of through directory re-exports. diff --git a/.changeset/execution-environment-domains.md b/.changeset/execution-environment-domains.md deleted file mode 100644 index 22d7639cac..0000000000 --- a/.changeset/execution-environment-domains.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/agent-core-v2": patch -"@moonshot-ai/kap-server": patch ---- - -Reorganize the agent execution environment into separate filesystem, process and tool domains. diff --git a/.changeset/fix-background-tasks-session-close.md b/.changeset/fix-background-tasks-session-close.md deleted file mode 100644 index 863e75fa01..0000000000 --- a/.changeset/fix-background-tasks-session-close.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Request task-owned work to stop on session close, honoring `background.keep_alive_on_exit` for independent processes and `background.kill_grace_period_ms` before attempting force-stop. diff --git a/.changeset/fix-fork-session-files.md b/.changeset/fix-fork-session-files.md deleted file mode 100644 index 2e976747d5..0000000000 --- a/.changeset/fix-fork-session-files.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/agent-core-v2": patch -"@moonshot-ai/kimi-code": patch ---- - -Fix session fork losing everything except the conversation log: forked sessions now carry over media attachments, plan files, background task output, and cron tasks, and a failed fork no longer leaves a broken half-copy behind. diff --git a/.changeset/fix-goal-resume-continuation.md b/.changeset/fix-goal-resume-continuation.md deleted file mode 100644 index 8c79e7b881..0000000000 --- a/.changeset/fix-goal-resume-continuation.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -web: Continue blocked goals after the user resumes them from the goal controls. diff --git a/.changeset/fix-kap-server-heartbeat-release-race.md b/.changeset/fix-kap-server-heartbeat-release-race.md deleted file mode 100644 index 95ed2b8374..0000000000 --- a/.changeset/fix-kap-server-heartbeat-release-race.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix a race where a heartbeat write in flight during server shutdown could recreate the instance file right after it was removed. diff --git a/.changeset/fix-oauth-login-invalidation.md b/.changeset/fix-oauth-login-invalidation.md deleted file mode 100644 index 3beded7ad6..0000000000 --- a/.changeset/fix-oauth-login-invalidation.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/agent-core-v2": patch -"@moonshot-ai/kimi-code": patch ---- - -Fix OAuth login hanging after browser authorization when the provider configuration changes during sign-in. diff --git a/.changeset/fix-oversized-media-requests.md b/.changeset/fix-oversized-media-requests.md deleted file mode 100644 index e21361f96d..0000000000 --- a/.changeset/fix-oversized-media-requests.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Prevent oversized image reads from poisoning sessions and recover existing request-too-large failures by removing unsafe media from provider requests. diff --git a/.changeset/fix-per-agent-task-persistence.md b/.changeset/fix-per-agent-task-persistence.md deleted file mode 100644 index 9e2e919b96..0000000000 --- a/.changeset/fix-per-agent-task-persistence.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Store background task records per agent again, so tasks written by older versions are found on resume and one agent's restore no longer marks another agent's tasks as lost. diff --git a/.changeset/fix-provider-default-base-url.md b/.changeset/fix-provider-default-base-url.md deleted file mode 100644 index 38e306b23b..0000000000 --- a/.changeset/fix-provider-default-base-url.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/agent-core-v2": patch -"@moonshot-ai/kimi-code": patch ---- - -Fix providers without a configured base_url being rejected: anthropic/openai and other protocol providers now fall back to their official default endpoints again, as before. diff --git a/.changeset/fix-server-hello-heartbeat-optional.md b/.changeset/fix-server-hello-heartbeat-optional.md deleted file mode 100644 index 5bbe268858..0000000000 --- a/.changeset/fix-server-hello-heartbeat-optional.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/protocol": patch ---- - -Make the server_hello heartbeat_ms field optional so spec-compliant clients no longer reject handshakes from servers that do not advertise a heartbeat interval. diff --git a/.changeset/fix-skill-command-media.md b/.changeset/fix-skill-command-media.md deleted file mode 100644 index 60e088b137..0000000000 --- a/.changeset/fix-skill-command-media.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix pasted media being dropped from /skill and plugin command arguments. diff --git a/.changeset/fix-steer-media.md b/.changeset/fix-steer-media.md deleted file mode 100644 index 5d0f8ac61e..0000000000 --- a/.changeset/fix-steer-media.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix pasted images being dropped when steering with Ctrl-S. diff --git a/.changeset/fix-tool-dedupe-ignition.md b/.changeset/fix-tool-dedupe-ignition.md deleted file mode 100644 index 037750fbc0..0000000000 --- a/.changeset/fix-tool-dedupe-ignition.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/agent-core-v2": patch -"@moonshot-ai/kimi-code": patch ---- - -Fix the v2 engine never activating tool-call deduplication: identical tool calls issued in the same step no longer execute multiple times, and repeated identical calls across steps receive escalating reminders again. diff --git a/.changeset/fix-v2-caller-mcp-servers.md b/.changeset/fix-v2-caller-mcp-servers.md deleted file mode 100644 index ef5652d08f..0000000000 --- a/.changeset/fix-v2-caller-mcp-servers.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/agent-core-v2": patch ---- - -Fix caller-supplied MCP servers being silently dropped when creating a session through the v2 engine (experimental). diff --git a/.changeset/fix-v2-config-write-reload-race.md b/.changeset/fix-v2-config-write-reload-race.md deleted file mode 100644 index 516dce8da6..0000000000 --- a/.changeset/fix-v2-config-write-reload-race.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix a race in the experimental v2 config service that could drop a just-written setting from the config response. diff --git a/.changeset/fix-v2-goal-mode-startup-crash.md b/.changeset/fix-v2-goal-mode-startup-crash.md deleted file mode 100644 index ab79ecc386..0000000000 --- a/.changeset/fix-v2-goal-mode-startup-crash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix a server crash when the first goal-mode prompt is submitted while the v2 agent is still starting. diff --git a/.changeset/fix-v2-oauth-provider-auth-error.md b/.changeset/fix-v2-oauth-provider-auth-error.md deleted file mode 100644 index 59a033e05f..0000000000 --- a/.changeset/fix-v2-oauth-provider-auth-error.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Surface the provider's actual rejection message instead of a misleading re-login prompt when an OAuth-managed model keeps returning 401 after a token refresh. diff --git a/.changeset/fix-v2-reminder-and-question-copy.md b/.changeset/fix-v2-reminder-and-question-copy.md deleted file mode 100644 index bb67cdd241..0000000000 --- a/.changeset/fix-v2-reminder-and-question-copy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Rewrite repeated-tool-call reminders to redirect the agent toward a different action instead of prohibiting the call, and treat a dismissed question prompt as no answer rather than the recommended option. diff --git a/.changeset/fix-v2-skill-dirs-access.md b/.changeset/fix-v2-skill-dirs-access.md deleted file mode 100644 index 1bd4407be5..0000000000 --- a/.changeset/fix-v2-skill-dirs-access.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@moonshot-ai/agent-core-v2": patch -"@moonshot-ai/kap-server": patch -"@moonshot-ai/kimi-code": patch ---- - -Make file tools able to reach skill directories outside the working directory in the v2 engine (experimental), and honor --skillsDir in v2 print mode and the server's skillDirs option. diff --git a/.changeset/fix-v2-snapshot-media-passthrough.md b/.changeset/fix-v2-snapshot-media-passthrough.md deleted file mode 100644 index a5b52ee1bc..0000000000 --- a/.changeset/fix-v2-snapshot-media-passthrough.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix ReadMediaFile results losing their image rendering after a session reload or resume on the v2 server backend. diff --git a/.changeset/fix-v2-status-context-size.md b/.changeset/fix-v2-status-context-size.md deleted file mode 100644 index c1a9401d36..0000000000 --- a/.changeset/fix-v2-status-context-size.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kap-server": patch ---- - -Report the live (measured + estimated) context size in the v2 server's v1-compatible status stream instead of the measured-only count, which read 0 until the first model response of a session completed and could dip mid-turn while the context was being rewritten. diff --git a/.changeset/fix-v2-storage-compaction-race.md b/.changeset/fix-v2-storage-compaction-race.md deleted file mode 100644 index 1e5329f7e5..0000000000 --- a/.changeset/fix-v2-storage-compaction-race.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix a storage race in the experimental v2 engine that could fail value reads when writes overlap with compaction. diff --git a/.changeset/fix-web-context-usage-zero.md b/.changeset/fix-web-context-usage-zero.md deleted file mode 100644 index 50985bd383..0000000000 --- a/.changeset/fix-web-context-usage-zero.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -web: Fix the context usage indicator dropping to 0 when a session is reopened or the session list reloads (e.g. after a sidebar search) — the cached live usage is now kept instead of the session record's all-zero placeholder. diff --git a/.changeset/fix-web-duplicate-user-message.md b/.changeset/fix-web-duplicate-user-message.md deleted file mode 100644 index 615fabee18..0000000000 --- a/.changeset/fix-web-duplicate-user-message.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -web: Fix duplicate user message bubbles after a session snapshot resync. diff --git a/.changeset/fix-web-image-csp.md b/.changeset/fix-web-image-csp.md deleted file mode 100644 index ce769f7377..0000000000 --- a/.changeset/fix-web-image-csp.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -web: Fix uploaded and persisted images failing to display on non-loopback server connections. diff --git a/.changeset/fix-web-resync-step-blob.md b/.changeset/fix-web-resync-step-blob.md deleted file mode 100644 index e9b29d680e..0000000000 --- a/.changeset/fix-web-resync-step-blob.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -web: Fix a running multi-step turn rendering a duplicated wall of text after the page reconnects or refreshes mid-turn. diff --git a/.changeset/fix-web-workspace-picker-width.md b/.changeset/fix-web-workspace-picker-width.md deleted file mode 100644 index b705b0b6f8..0000000000 --- a/.changeset/fix-web-workspace-picker-width.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -web: Fix the workspace picker menu sizing too narrowly for its content. diff --git a/.changeset/fix-wire-migration-rewrite-race.md b/.changeset/fix-wire-migration-rewrite-race.md deleted file mode 100644 index 090700ac89..0000000000 --- a/.changeset/fix-wire-migration-rewrite-race.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix possible record loss when resuming sessions whose wire log needs migration, and reject session logs missing the version envelope instead of silently misreading them. diff --git a/.changeset/kap-server-default-engine.md b/.changeset/kap-server-default-engine.md deleted file mode 100644 index e902256563..0000000000 --- a/.changeset/kap-server-default-engine.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/kimi-code": minor -"@moonshot-ai/kap-server": patch ---- - -Run the local server (`kimi server run` / `kimi web`) on the agent-core-v2 engine by default — the `KIMI_CODE_EXPERIMENTAL_FLAG` opt-in is no longer needed, and the legacy v1 server package has been removed. diff --git a/.changeset/mcp-initial-load-race.md b/.changeset/mcp-initial-load-race.md deleted file mode 100644 index 38086ff231..0000000000 --- a/.changeset/mcp-initial-load-race.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix MCP tools being unavailable on the first turn after session startup. diff --git a/.changeset/msys2-bash-detection.md b/.changeset/msys2-bash-detection.md deleted file mode 100644 index b53bcf67be..0000000000 --- a/.changeset/msys2-bash-detection.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix bash auto-detection on Windows failing when git comes from a native MSYS2 toolchain (ucrt64/clang64/clangarm64). diff --git a/.changeset/preserve-empty-reasoning.md b/.changeset/preserve-empty-reasoning.md deleted file mode 100644 index 1659b30a8b..0000000000 --- a/.changeset/preserve-empty-reasoning.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Preserve empty model reasoning blocks across providers so multi-step tool calls can continue. diff --git a/.changeset/quiet-goals.md b/.changeset/quiet-goals.md deleted file mode 100644 index ff4420bb6d..0000000000 --- a/.changeset/quiet-goals.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -web: Refine goal mode controls with animated strip interactions, budget-aware progress, and design-system cancellation confirmation. diff --git a/.changeset/registry-fetch-user-agent.md b/.changeset/registry-fetch-user-agent.md deleted file mode 100644 index 4193b031ef..0000000000 --- a/.changeset/registry-fetch-user-agent.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Send the kimi-code-cli User-Agent on provider registry (api.json) and model catalog fetches, so registries can identify the client version. diff --git a/.changeset/reroute-blob-storage.md b/.changeset/reroute-blob-storage.md deleted file mode 100644 index 2daa16ee64..0000000000 --- a/.changeset/reroute-blob-storage.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/agent-core-v2": patch -"@moonshot-ai/kap-server": patch ---- - -Reroute the blob store backend from the host filesystem to the pluggable storage layer, so server-only deployments no longer require a local filesystem implementation. diff --git a/.changeset/server-v2-interaction-events.md b/.changeset/server-v2-interaction-events.md deleted file mode 100644 index 188658489d..0000000000 --- a/.changeset/server-v2-interaction-events.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix approval and question prompts not appearing in real time for web clients connected to the v2 server; they previously only showed up after a page refresh. diff --git a/.changeset/skill-discovery-diagnostics.md b/.changeset/skill-discovery-diagnostics.md deleted file mode 100644 index 09d445715c..0000000000 --- a/.changeset/skill-discovery-diagnostics.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Log a warning when a skill fails to parse instead of silently dropping it, and fix the skill catalog so scanned skill roots and policy-skipped skills are actually reported. diff --git a/.changeset/swarm-roster-refresh.md b/.changeset/swarm-roster-refresh.md deleted file mode 100644 index 41af827fd0..0000000000 --- a/.changeset/swarm-roster-refresh.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -web: Fix the AgentSwarm member list disappearing after a page refresh while subagents are still running. diff --git a/.changeset/taskoutput-discourage-blocking.md b/.changeset/taskoutput-discourage-blocking.md deleted file mode 100644 index bbca9de422..0000000000 --- a/.changeset/taskoutput-discourage-blocking.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Optimize the TaskOutput tool prompts to discourage blocking waits on background tasks. diff --git a/.changeset/tool-select-progressive-disclosure.md b/.changeset/tool-select-progressive-disclosure.md deleted file mode 100644 index 13a94cf573..0000000000 --- a/.changeset/tool-select-progressive-disclosure.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": minor ---- - -Port progressive tool disclosure to the new agent engine: MCP tool schemas stay out of the top-level tool list, and the model loads them by name on demand through the announcements plus the select_tools tool, keeping the prompt cache stable. Off by default; set KIMI_CODE_EXPERIMENTAL_TOOL_SELECT=1 to enable. diff --git a/.changeset/typed-telemetry-registry.md b/.changeset/typed-telemetry-registry.md deleted file mode 100644 index d48cb16939..0000000000 --- a/.changeset/typed-telemetry-registry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Enforce a typed registry for v2 engine telemetry events and redact URLs, tokens, and file paths from outgoing telemetry properties. diff --git a/.changeset/v2-agent-lifecycle-split.md b/.changeset/v2-agent-lifecycle-split.md deleted file mode 100644 index 6830beb472..0000000000 --- a/.changeset/v2-agent-lifecycle-split.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix the experimental v2 engine crashing when the first prompt is sent right after a new conversation is created (for example sending /goal on the web's new-conversation page): agent creation now joins the in-flight bootstrap instead of failing, and the v2 agent lifecycle is split into focused existence, sub-agent, and session MCP domains. diff --git a/.changeset/v2-caller-mcp-servers.md b/.changeset/v2-caller-mcp-servers.md deleted file mode 100644 index 6843254018..0000000000 --- a/.changeset/v2-caller-mcp-servers.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/agent-core-v2": patch -"@moonshot-ai/kimi-code": patch ---- - -Support caller-supplied MCP server configs on session create in the v2 engine (experimental), merged over the file config and under plugin servers. diff --git a/.changeset/v2-fault-injection.md b/.changeset/v2-fault-injection.md deleted file mode 100644 index 29889aae8a..0000000000 --- a/.changeset/v2-fault-injection.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -v2 engine: expose the prompt scheduler over /api/v2 for native clients, and add an experimental fault-injection service (KIMI_CODE_EXPERIMENTAL_FAULT_INJECTION) that arms a one-shot provider failure so the media-degraded / media-stripped recovery resends can be exercised end-to-end. diff --git a/.changeset/v2-fetch-moonshot-channel.md b/.changeset/v2-fetch-moonshot-channel.md deleted file mode 100644 index df9af93240..0000000000 --- a/.changeset/v2-fetch-moonshot-channel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/agent-core-v2": patch ---- - -Route FetchURL through the managed Kimi fetch service when the Kimi provider is logged in, with automatic fallback to local fetching on failure, and forward the host identity headers with the request. diff --git a/.changeset/v2-graded-error-taxonomy.md b/.changeset/v2-graded-error-taxonomy.md deleted file mode 100644 index d62d14ddb5..0000000000 --- a/.changeset/v2-graded-error-taxonomy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Introduce a graded error taxonomy for the v2 engine's filesystem, storage, and wire layers, translating raw OS and parse failures into specific error codes instead of generic internal errors. diff --git a/.changeset/v2-image-format-gate.md b/.changeset/v2-image-format-gate.md deleted file mode 100644 index f2f458db0e..0000000000 --- a/.changeset/v2-image-format-gate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -v2 engine: block unsupported image formats (AVIF, HEIC, BMP, TIFF, ICO) at every ingestion point so they can no longer poison session history, and auto-recover provider image-format rejections with a media-stripped resend. diff --git a/.changeset/v2-login-env-aware-auth.md b/.changeset/v2-login-env-aware-auth.md deleted file mode 100644 index fc1297a3e2..0000000000 --- a/.changeset/v2-login-env-aware-auth.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/agent-core-v2": patch ---- - -Fix v2 managed OAuth login ignoring `KIMI_CODE_BASE_URL` / `KIMI_CODE_OAUTH_HOST`: the login environment is now resolved env-aware (v1 parity), so the credential slot a token is written to always matches the slot the runtime reads — no more "login succeeds but every call 401s" against non-default environments. The provisioned provider entry records the login environment and credential slot explicitly, and logout deletes from the runtime (env-aware) slot. diff --git a/.changeset/v2-media-caption-reroute.md b/.changeset/v2-media-caption-reroute.md deleted file mode 100644 index b0f7267c5f..0000000000 --- a/.changeset/v2-media-caption-reroute.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/agent-core-v2": patch ---- - -Hide image-compression captions from user-visible history: captions that prompt ingestion places inside a user message are rerouted through hidden system reminders (and stripped from session titles), while the model still receives the full note. ReadMediaFile is now registered in production whenever the bound model supports image or video input, re-registering on model switches. diff --git a/.changeset/v2-media-degraded-413.md b/.changeset/v2-media-degraded-413.md deleted file mode 100644 index aedb786e94..0000000000 --- a/.changeset/v2-media-degraded-413.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -v2 engine: recover image-heavy sessions from provider request-size rejections (HTTP 413) by resending with older media degraded to text markers, re-encode oversized WebP images instead of passing them through, and keep downscaled PNGs readable by switching to JPEG below 1000px. diff --git a/.changeset/v2-media-read-parity.md b/.changeset/v2-media-read-parity.md deleted file mode 100644 index 3155cd7f87..0000000000 --- a/.changeset/v2-media-read-parity.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/agent-core-v2": patch ---- - -Align v2 media reads with v1: the ReadMediaFile summary moves to the tool result's note side channel so raw `` markup never renders in UIs, image dimensions are reported in the decoded EXIF-rotated space so portrait photos get correct coordinate guidance, the downscale cap rises from 2000px to 3000px with a gentler byte-budget fallback, and image compression and crop telemetry is reported for media reads. diff --git a/.changeset/v2-messages-rehydrate-media.md b/.changeset/v2-messages-rehydrate-media.md deleted file mode 100644 index 86577f46d2..0000000000 --- a/.changeset/v2-messages-rehydrate-media.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/agent-core-v2": patch ---- - -Fix the v2 messages API serving broken history after resume: restored `blobref:` media URLs are rehydrated to inline `data:` URIs from the agent's blob store (matching live emissions), tool results carrying media (e.g. ReadMediaFile) pass their content parts through instead of being flattened to empty text, and `created_at` uses the wire record time instead of a synthesized session-start offset. diff --git a/.changeset/v2-model-catalog-efforts.md b/.changeset/v2-model-catalog-efforts.md deleted file mode 100644 index 36a52fa378..0000000000 --- a/.changeset/v2-model-catalog-efforts.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/agent-core-v2": patch ---- - -Fix the v2 model catalog response omitting support_efforts and default_effort, restoring thinking-effort selection for clients connected to the v2 backend. diff --git a/.changeset/v2-moonshot-search-config.md b/.changeset/v2-moonshot-search-config.md deleted file mode 100644 index e871dd8fe4..0000000000 --- a/.changeset/v2-moonshot-search-config.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Support the `services.moonshot_search` api-key config for WebSearch in the v2 engine, matching v1: the tool is now available without an OAuth login, and explicit config takes precedence over the OAuth-derived provider. diff --git a/.changeset/v2-msys2-bash-detection.md b/.changeset/v2-msys2-bash-detection.md deleted file mode 100644 index 323a80f827..0000000000 --- a/.changeset/v2-msys2-bash-detection.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix bash auto-detection on Windows in the experimental v2 engine when git comes from a native MSYS2 toolchain (ucrt64/clang64/clangarm64). diff --git a/.changeset/v2-oauth-inflight-provider-change.md b/.changeset/v2-oauth-inflight-provider-change.md deleted file mode 100644 index 652b43d909..0000000000 --- a/.changeset/v2-oauth-inflight-provider-change.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/agent-core-v2": patch -"@moonshot-ai/kap-server": patch ---- - -Fix the managed OAuth device-code login getting aborted when an unrelated provider refresh fires during the login flow. diff --git a/.changeset/v2-plugin-robustness.md b/.changeset/v2-plugin-robustness.md deleted file mode 100644 index 6ff5ba692e..0000000000 --- a/.changeset/v2-plugin-robustness.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/agent-core-v2": patch ---- - -Harden plugin management: degrade sessions gracefully when plugin state fails to load, clean up temp dirs and roll back the managed copy on failed installs, restore managed endpoint env for stdio plugin MCP servers, and make update checks concurrent with per-repo failure isolation. diff --git a/.changeset/v2-search-host-headers.md b/.changeset/v2-search-host-headers.md deleted file mode 100644 index 87b6dfe9bd..0000000000 --- a/.changeset/v2-search-host-headers.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/agent-core-v2": patch ---- - -Forward the host identity headers (User-Agent and device identity) with WebSearch requests, matching v1. diff --git a/.changeset/v2-server-host-headers.md b/.changeset/v2-server-host-headers.md deleted file mode 100644 index e19b86c801..0000000000 --- a/.changeset/v2-server-host-headers.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Send the CLI identity headers (User-Agent and device identity) with outbound requests from the experimental v2 server, matching direct CLI runs. diff --git a/.changeset/v2-telemetry-v1-wire-parity.md b/.changeset/v2-telemetry-v1-wire-parity.md deleted file mode 100644 index 24659ca191..0000000000 --- a/.changeset/v2-telemetry-v1-wire-parity.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/agent-core-v2": patch ---- - -Align v2 engine telemetry with the v1 wire format: rename `tool_call_dedupe_detected` to `tool_call_dedup_detected`, carry mode/protocol tags on turn events, emit `turn_ended` unconditionally with interrupt reasons, add alias/protocol/input token fields to `api_error`, tag `tool_call` with `dup_type`, rename compaction usage fields to `input_tokens`/`output_tokens`, and add `context_projection_repaired`, `session_started`, and `session_load_failed` events. diff --git a/.changeset/v2-v1-parity-fixes.md b/.changeset/v2-v1-parity-fixes.md deleted file mode 100644 index c90a815215..0000000000 --- a/.changeset/v2-v1-parity-fixes.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/agent-core-v2": patch ---- - -Align the v2 engine with v1 on several parity gaps: the auto permission mode reminder is re-announced after compaction instead of being lost, goal reminders and the background-task reminder now match v1's exact text, and the goal tools are main-agent-only again. diff --git a/.changeset/v2-video-upload-telemetry.md b/.changeset/v2-video-upload-telemetry.md deleted file mode 100644 index 86894d5c01..0000000000 --- a/.changeset/v2-video-upload-telemetry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/agent-core-v2": patch ---- - -Report `video_upload` telemetry for ReadMediaFile video uploads — outcome, byte size, mime type, duration, and model/protocol tags; a failing telemetry sink never affects the upload. diff --git a/.changeset/v2-wire-op-schemas.md b/.changeset/v2-wire-op-schemas.md deleted file mode 100644 index 32e79ab973..0000000000 --- a/.changeset/v2-wire-op-schemas.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Declare v2 engine wire op payloads with required zod schemas and derive their types from the schemas, with ops declared on their models and every op type registered for replay classification. diff --git a/.changeset/v2-wire-record-parity.md b/.changeset/v2-wire-record-parity.md deleted file mode 100644 index d4539b55ea..0000000000 --- a/.changeset/v2-wire-record-parity.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Keep sessions from the new agent engine compatible with existing transcript replay. diff --git a/.changeset/v2-wire-v1-native-records.md b/.changeset/v2-wire-v1-native-records.md deleted file mode 100644 index e5ea8c025a..0000000000 --- a/.changeset/v2-wire-v1-native-records.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/agent-core-v2": minor ---- - -Persist v2 wire records natively in the v1 record vocabulary and remove the persist-time rewrite layer: ops now write v1-shaped records directly (todo updates persist as `tools.update_store`, `turn.prompt` carries only `input`/`origin`, `usage.record` drops request context, `plan_mode.enter` carries only the plan id), live-only state (runtime phase, task/cron registries, context size, skill activations, runtime permission rules) is declared `persist: false` instead of being stripped at write time, and the swarm-mode exit reminder removal replays from the `swarm_mode.exit` record itself. This fixes resumed sessions losing the todo list, drifting turn counters after retries, and removed reminders reappearing after resume. diff --git a/.changeset/web-backend-badge-switcher.md b/.changeset/web-backend-badge-switcher.md deleted file mode 100644 index dd099cf8e0..0000000000 --- a/.changeset/web-backend-badge-switcher.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -web: Show the connected backend engine (v1 / v2) in Settings, and add a dev-mode backend pill next to the sidebar brand that can switch the dev proxy between the two engines at runtime. diff --git a/.changeset/web-goal-card-refresh.md b/.changeset/web-goal-card-refresh.md deleted file mode 100644 index 78f905b840..0000000000 --- a/.changeset/web-goal-card-refresh.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -web: Fix the goal card disappearing after a page refresh while a session goal is active. diff --git a/.changeset/web-session-export.md b/.changeset/web-session-export.md deleted file mode 100644 index b704c67166..0000000000 --- a/.changeset/web-session-export.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": minor ---- - -web: Add session diagnostic export to download a session and bounded metadata-only troubleshooting logs as a ZIP. Run `/export` or pick Export session from a session's more menu. Web downloads are limited to 64 MiB. diff --git a/.changeset/web-wide-table-breakout.md b/.changeset/web-wide-table-breakout.md deleted file mode 100644 index f2581b6661..0000000000 --- a/.changeset/web-wide-table-breakout.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -web: Let wide Markdown tables in the desktop chat grow up to 1040px with each column capped at 700px so long cell content wraps, temporarily hiding the conversation outline while a table passes under it; anything wider still scrolls inside the table. diff --git a/apps/kimi-code/CHANGELOG.md b/apps/kimi-code/CHANGELOG.md index 19c0193e03..d69b106763 100644 --- a/apps/kimi-code/CHANGELOG.md +++ b/apps/kimi-code/CHANGELOG.md @@ -1,5 +1,121 @@ # @moonshot-ai/kimi-code +## 0.24.0 + +### Minor Changes + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Add v2 session export support for packaging diagnostic zip archives. + +- [#1591](https://github.com/MoonshotAI/kimi-code/pull/1591) [`83e1753`](https://github.com/MoonshotAI/kimi-code/commit/83e175399f4dc3dfc3bb478543ff5897a24dfa3d) Thanks [@liruifengv](https://github.com/liruifengv)! - Move foreground Bash commands that hit their timeout to the background instead of killing them, so long-running commands survive the timeout and report back on completion. Set `bash_auto_background_on_timeout = false` under `[background]` in config.toml to restore the kill-on-timeout behavior. + +- [#1617](https://github.com/MoonshotAI/kimi-code/pull/1617) [`4ec2e7f`](https://github.com/MoonshotAI/kimi-code/commit/4ec2e7fab14ab89cddf77821082c3ff4911f737b) Thanks [@sailist](https://github.com/sailist)! - Run the local server (`kimi server run` / `kimi web`) on the agent-core-v2 engine by default — the `KIMI_CODE_EXPERIMENTAL_FLAG` opt-in is no longer needed, and the legacy v1 server package has been removed. + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Port progressive tool disclosure to the new agent engine: MCP tool schemas stay out of the top-level tool list, and the model loads them by name on demand through the announcements plus the select_tools tool, keeping the prompt cache stable. Off by default; set KIMI_CODE_EXPERIMENTAL_TOOL_SELECT=1 to enable. + +- [#1646](https://github.com/MoonshotAI/kimi-code/pull/1646) [`5eb6217`](https://github.com/MoonshotAI/kimi-code/commit/5eb62178b3b67d8659788bdf91132469f6588653) Thanks [@wbxl2000](https://github.com/wbxl2000)! - web: Add session diagnostic export to download a session and bounded metadata-only troubleshooting logs as a ZIP. Run `/export` or pick Export session from a session's more menu. Web downloads are limited to 64 MiB. + +### Patch Changes + +- [#1638](https://github.com/MoonshotAI/kimi-code/pull/1638) [`7c889f3`](https://github.com/MoonshotAI/kimi-code/commit/7c889f3a960482cc9382203bda55d972b6fb6acd) Thanks [@RealKai42](https://github.com/RealKai42)! - In auto permission mode, plan exits are now marked as auto-approved (not user-reviewed) in both the tool result and the transcript, so the agent no longer treats automatic plan approval as a user signal to start executing. + +- [#1598](https://github.com/MoonshotAI/kimi-code/pull/1598) [`4feca6b`](https://github.com/MoonshotAI/kimi-code/commit/4feca6b0738ee0120ab8bea04604b8f467a72e48) Thanks [@kermanx](https://github.com/kermanx)! - web: Recover transient subagent rate limits without surfacing them as session errors. + +- [#1635](https://github.com/MoonshotAI/kimi-code/pull/1635) [`e49b3b8`](https://github.com/MoonshotAI/kimi-code/commit/e49b3b877750ba5ca0ea80e154549d5b53455575) Thanks [@sailist](https://github.com/sailist)! - Request task-owned work to stop on session close, honoring `background.keep_alive_on_exit` for independent processes and `background.kill_grace_period_ms` before attempting force-stop. + +- [#1629](https://github.com/MoonshotAI/kimi-code/pull/1629) [`0527ca2`](https://github.com/MoonshotAI/kimi-code/commit/0527ca2267f8cf355d0c158953f3dbfc0c9692ac) Thanks [@sailist](https://github.com/sailist)! - Fix session fork losing everything except the conversation log: forked sessions now carry over media attachments, plan files, background task output, and cron tasks, and a failed fork no longer leaves a broken half-copy behind. + +- [#1627](https://github.com/MoonshotAI/kimi-code/pull/1627) [`28e9dd4`](https://github.com/MoonshotAI/kimi-code/commit/28e9dd4d627f01143b715976cb071e7d16cd2001) Thanks [@chengluyu](https://github.com/chengluyu)! - web: Continue blocked goals after the user resumes them from the goal controls. + +- [#1631](https://github.com/MoonshotAI/kimi-code/pull/1631) [`2d874fb`](https://github.com/MoonshotAI/kimi-code/commit/2d874fbd73eb511e4ef4c8d4c88bd47e429580b2) Thanks [@sailist](https://github.com/sailist)! - Fix a race where a heartbeat write in flight during server shutdown could recreate the instance file right after it was removed. + +- [#1663](https://github.com/MoonshotAI/kimi-code/pull/1663) [`1294a0e`](https://github.com/MoonshotAI/kimi-code/commit/1294a0e1ad739151573163505f9c58afb2d543e4) Thanks [@7Sageer](https://github.com/7Sageer)! - Fix OAuth login hanging after browser authorization when the provider configuration changes during sign-in. + +- [#1657](https://github.com/MoonshotAI/kimi-code/pull/1657) [`32a89c3`](https://github.com/MoonshotAI/kimi-code/commit/32a89c36432f9aea452a697734102a7956e42e92) Thanks [@RealKai42](https://github.com/RealKai42)! - Prevent oversized image reads from poisoning sessions and recover existing request-too-large failures by removing unsafe media from provider requests. + +- [#1635](https://github.com/MoonshotAI/kimi-code/pull/1635) [`e49b3b8`](https://github.com/MoonshotAI/kimi-code/commit/e49b3b877750ba5ca0ea80e154549d5b53455575) Thanks [@sailist](https://github.com/sailist)! - Store background task records per agent again, so tasks written by older versions are found on resume and one agent's restore no longer marks another agent's tasks as lost. + +- [#1632](https://github.com/MoonshotAI/kimi-code/pull/1632) [`a4aae87`](https://github.com/MoonshotAI/kimi-code/commit/a4aae87cd9a240d3567601ed1a9aefaab540b075) Thanks [@sailist](https://github.com/sailist)! - Fix providers without a configured base_url being rejected: anthropic/openai and other protocol providers now fall back to their official default endpoints again, as before. + +- [#1588](https://github.com/MoonshotAI/kimi-code/pull/1588) [`2061590`](https://github.com/MoonshotAI/kimi-code/commit/20615902c2c3776d17c6c334cedec1c8723222b1) Thanks [@liruifengv](https://github.com/liruifengv)! - Fix pasted media being dropped from /skill and plugin command arguments. + +- [#1588](https://github.com/MoonshotAI/kimi-code/pull/1588) [`2061590`](https://github.com/MoonshotAI/kimi-code/commit/20615902c2c3776d17c6c334cedec1c8723222b1) Thanks [@liruifengv](https://github.com/liruifengv)! - Fix pasted images being dropped when steering with Ctrl-S. + +- [#1629](https://github.com/MoonshotAI/kimi-code/pull/1629) [`0527ca2`](https://github.com/MoonshotAI/kimi-code/commit/0527ca2267f8cf355d0c158953f3dbfc0c9692ac) Thanks [@sailist](https://github.com/sailist)! - Fix the v2 engine never activating tool-call deduplication: identical tool calls issued in the same step no longer execute multiple times, and repeated identical calls across steps receive escalating reminders again. + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Fix a race in the experimental v2 config service that could drop a just-written setting from the config response. + +- [#1614](https://github.com/MoonshotAI/kimi-code/pull/1614) [`3c0e368`](https://github.com/MoonshotAI/kimi-code/commit/3c0e368cbdfebff9632cffca3b18365615a146b8) Thanks [@chengluyu](https://github.com/chengluyu)! - Fix a server crash when the first goal-mode prompt is submitted while the v2 agent is still starting. + +- [#1631](https://github.com/MoonshotAI/kimi-code/pull/1631) [`2d874fb`](https://github.com/MoonshotAI/kimi-code/commit/2d874fbd73eb511e4ef4c8d4c88bd47e429580b2) Thanks [@sailist](https://github.com/sailist)! - Surface the provider's actual rejection message instead of a misleading re-login prompt when an OAuth-managed model keeps returning 401 after a token refresh. + +- [#1631](https://github.com/MoonshotAI/kimi-code/pull/1631) [`2d874fb`](https://github.com/MoonshotAI/kimi-code/commit/2d874fbd73eb511e4ef4c8d4c88bd47e429580b2) Thanks [@sailist](https://github.com/sailist)! - Rewrite repeated-tool-call reminders to redirect the agent toward a different action instead of prohibiting the call, and treat a dismissed question prompt as no answer rather than the recommended option. + +- [#1636](https://github.com/MoonshotAI/kimi-code/pull/1636) [`8027fe2`](https://github.com/MoonshotAI/kimi-code/commit/8027fe291b03fbfce6dc60aa06f8699ad0976ec5) Thanks [@sailist](https://github.com/sailist)! - Make file tools able to reach skill directories outside the working directory in the v2 engine (experimental), and honor --skillsDir in v2 print mode and the server's skillDirs option. + +- [#1630](https://github.com/MoonshotAI/kimi-code/pull/1630) [`0303b82`](https://github.com/MoonshotAI/kimi-code/commit/0303b82c3e691836163ecf906febfb6324c81d74) Thanks [@sailist](https://github.com/sailist)! - Fix ReadMediaFile results losing their image rendering after a session reload or resume on the v2 server backend. + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Fix a storage race in the experimental v2 engine that could fail value reads when writes overlap with compaction. + +- [#1601](https://github.com/MoonshotAI/kimi-code/pull/1601) [`dc309a7`](https://github.com/MoonshotAI/kimi-code/commit/dc309a7dfb38b6ef885b8ae80be51b49f8486207) Thanks [@kermanx](https://github.com/kermanx)! - web: Fix the context usage indicator dropping to 0 when a session is reopened or the session list reloads (e.g. after a sidebar search) — the cached live usage is now kept instead of the session record's all-zero placeholder. + +- [#1620](https://github.com/MoonshotAI/kimi-code/pull/1620) [`e91a616`](https://github.com/MoonshotAI/kimi-code/commit/e91a616f2196ab9ffc69b3fcc0f2015398d86bd4) Thanks [@wbxl2000](https://github.com/wbxl2000)! - web: Fix duplicate user message bubbles after a session snapshot resync. + +- [#1672](https://github.com/MoonshotAI/kimi-code/pull/1672) [`88629ba`](https://github.com/MoonshotAI/kimi-code/commit/88629bac3add2a8a17ae8288ee4edbdc9313d55a) Thanks [@yicun](https://github.com/yicun)! - web: Fix uploaded and persisted images failing to display on non-loopback server connections. + +- [#1609](https://github.com/MoonshotAI/kimi-code/pull/1609) [`e223549`](https://github.com/MoonshotAI/kimi-code/commit/e223549a79c80e442850947c0cf60d58b2d18667) Thanks [@wbxl2000](https://github.com/wbxl2000)! - web: Fix a running multi-step turn rendering a duplicated wall of text after the page reconnects or refreshes mid-turn. + +- [#1611](https://github.com/MoonshotAI/kimi-code/pull/1611) [`32cbd0c`](https://github.com/MoonshotAI/kimi-code/commit/32cbd0cf6109f4f3f124e6e4ee7c4c87fa344247) Thanks [@chengluyu](https://github.com/chengluyu)! - web: Fix the workspace picker menu sizing too narrowly for its content. + +- [#1635](https://github.com/MoonshotAI/kimi-code/pull/1635) [`e49b3b8`](https://github.com/MoonshotAI/kimi-code/commit/e49b3b877750ba5ca0ea80e154549d5b53455575) Thanks [@sailist](https://github.com/sailist)! - Fix possible record loss when resuming sessions whose wire log needs migration, and reject session logs missing the version envelope instead of silently misreading them. + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Fix MCP tools being unavailable on the first turn after session startup. + +- [#1580](https://github.com/MoonshotAI/kimi-code/pull/1580) [`83370f1`](https://github.com/MoonshotAI/kimi-code/commit/83370f17ef38770561a421e3b3a15f6244219aa5) Thanks [@wszqkzqk](https://github.com/wszqkzqk)! - Fix bash auto-detection on Windows failing when git comes from a native MSYS2 toolchain (ucrt64/clang64/clangarm64). + +- [#1676](https://github.com/MoonshotAI/kimi-code/pull/1676) [`d1820ff`](https://github.com/MoonshotAI/kimi-code/commit/d1820ff0f853689e84b3e9d4c482532c481eb9bd) Thanks [@RealKai42](https://github.com/RealKai42)! - Preserve empty model reasoning blocks across providers so multi-step tool calls can continue. + +- [#1669](https://github.com/MoonshotAI/kimi-code/pull/1669) [`490303d`](https://github.com/MoonshotAI/kimi-code/commit/490303db16ed374eae20572e4c6f9880db911547) Thanks [@chengluyu](https://github.com/chengluyu)! - web: Refine goal mode controls with animated strip interactions, budget-aware progress, and design-system cancellation confirmation. + +- [#1597](https://github.com/MoonshotAI/kimi-code/pull/1597) [`d601847`](https://github.com/MoonshotAI/kimi-code/commit/d601847f22366b041d949d7c9f7857471be8970c) Thanks [@7Sageer](https://github.com/7Sageer)! - Send the kimi-code-cli User-Agent on provider registry (api.json) and model catalog fetches, so registries can identify the client version. + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Fix approval and question prompts not appearing in real time for web clients connected to the v2 server; they previously only showed up after a page refresh. + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Log a warning when a skill fails to parse instead of silently dropping it, and fix the skill catalog so scanned skill roots and policy-skipped skills are actually reported. + +- [#1589](https://github.com/MoonshotAI/kimi-code/pull/1589) [`f338fcd`](https://github.com/MoonshotAI/kimi-code/commit/f338fcdac4fa8d4235c44310953e5d512f6549fb) Thanks [@wbxl2000](https://github.com/wbxl2000)! - web: Fix the AgentSwarm member list disappearing after a page refresh while subagents are still running. + +- [#1591](https://github.com/MoonshotAI/kimi-code/pull/1591) [`83e1753`](https://github.com/MoonshotAI/kimi-code/commit/83e175399f4dc3dfc3bb478543ff5897a24dfa3d) Thanks [@liruifengv](https://github.com/liruifengv)! - Optimize the TaskOutput tool prompts to discourage blocking waits on background tasks. + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Enforce a typed registry for v2 engine telemetry events and redact URLs, tokens, and file paths from outgoing telemetry properties. + +- [#1624](https://github.com/MoonshotAI/kimi-code/pull/1624) [`3215129`](https://github.com/MoonshotAI/kimi-code/commit/321512986099037acb4b2677d4455db316d27b50) Thanks [@kermanx](https://github.com/kermanx)! - Fix the experimental v2 engine crashing when the first prompt is sent right after a new conversation is created (for example sending /goal on the web's new-conversation page): agent creation now joins the in-flight bootstrap instead of failing, and the v2 agent lifecycle is split into focused existence, sub-agent, and session MCP domains. + +- [#1637](https://github.com/MoonshotAI/kimi-code/pull/1637) [`0e0a6e9`](https://github.com/MoonshotAI/kimi-code/commit/0e0a6e9a5170c28c5e6809c1b2cf6d6f8904de73) Thanks [@sailist](https://github.com/sailist)! - Support caller-supplied MCP server configs on session create in the v2 engine (experimental), merged over the file config and under plugin servers. + +- [#1626](https://github.com/MoonshotAI/kimi-code/pull/1626) [`1c85f94`](https://github.com/MoonshotAI/kimi-code/commit/1c85f94472ead2746ad6860ec0e09f4384dd95ec) Thanks [@sailist](https://github.com/sailist)! - v2 engine: expose the prompt scheduler over /api/v2 for native clients, and add an experimental fault-injection service (KIMI_CODE_EXPERIMENTAL_FAULT_INJECTION) that arms a one-shot provider failure so the media-degraded / media-stripped recovery resends can be exercised end-to-end. + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Introduce a graded error taxonomy for the v2 engine's filesystem, storage, and wire layers, translating raw OS and parse failures into specific error codes instead of generic internal errors. + +- [#1626](https://github.com/MoonshotAI/kimi-code/pull/1626) [`1c85f94`](https://github.com/MoonshotAI/kimi-code/commit/1c85f94472ead2746ad6860ec0e09f4384dd95ec) Thanks [@sailist](https://github.com/sailist)! - v2 engine: block unsupported image formats (AVIF, HEIC, BMP, TIFF, ICO) at every ingestion point so they can no longer poison session history, and auto-recover provider image-format rejections with a media-stripped resend. + +- [#1626](https://github.com/MoonshotAI/kimi-code/pull/1626) [`1c85f94`](https://github.com/MoonshotAI/kimi-code/commit/1c85f94472ead2746ad6860ec0e09f4384dd95ec) Thanks [@sailist](https://github.com/sailist)! - v2 engine: recover image-heavy sessions from provider request-size rejections (HTTP 413) by resending with older media degraded to text markers, re-encode oversized WebP images instead of passing them through, and keep downscaled PNGs readable by switching to JPEG below 1000px. + +- [#1613](https://github.com/MoonshotAI/kimi-code/pull/1613) [`b2daa40`](https://github.com/MoonshotAI/kimi-code/commit/b2daa405f075cb6847c0a313809b1bcac750b611) Thanks [@7Sageer](https://github.com/7Sageer)! - Support the `services.moonshot_search` api-key config for WebSearch in the v2 engine, matching v1: the tool is now available without an OAuth login, and explicit config takes precedence over the OAuth-derived provider. + +- [#1590](https://github.com/MoonshotAI/kimi-code/pull/1590) [`8a4ee05`](https://github.com/MoonshotAI/kimi-code/commit/8a4ee05951ebe4f804fd1fb0989aaf44b3b7a3ed) Thanks [@sailist](https://github.com/sailist)! - Fix bash auto-detection on Windows in the experimental v2 engine when git comes from a native MSYS2 toolchain (ucrt64/clang64/clangarm64). + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Send the CLI identity headers (User-Agent and device identity) with outbound requests from the experimental v2 server, matching direct CLI runs. + +- [#1593](https://github.com/MoonshotAI/kimi-code/pull/1593) [`2185237`](https://github.com/MoonshotAI/kimi-code/commit/2185237c2f5c5fb3cc6b44c01ac158c6e2b81fe6) Thanks [@kermanx](https://github.com/kermanx)! - Declare v2 engine wire op payloads with required zod schemas and derive their types from the schemas, with ops declared on their models and every op type registered for replay classification. + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Keep sessions from the new agent engine compatible with existing transcript replay. + +- [#1592](https://github.com/MoonshotAI/kimi-code/pull/1592) [`924d5c9`](https://github.com/MoonshotAI/kimi-code/commit/924d5c914143d178020c2dddc56906ce15088680) Thanks [@wbxl2000](https://github.com/wbxl2000)! - web: Show the connected backend engine (v1 / v2) in Settings, and add a dev-mode backend pill next to the sidebar brand that can switch the dev proxy between the two engines at runtime. + +- [#1606](https://github.com/MoonshotAI/kimi-code/pull/1606) [`2da45fc`](https://github.com/MoonshotAI/kimi-code/commit/2da45fc419cf5285a9353df8690bba444037ffe4) Thanks [@liruifengv](https://github.com/liruifengv)! - web: Fix the goal card disappearing after a page refresh while a session goal is active. + +- [#1587](https://github.com/MoonshotAI/kimi-code/pull/1587) [`49a8c84`](https://github.com/MoonshotAI/kimi-code/commit/49a8c84a493610c2b2cc2c7da0a8ec0261d876db) Thanks [@wbxl2000](https://github.com/wbxl2000)! - web: Let wide Markdown tables in the desktop chat grow up to 1040px with each column capped at 700px so long cell content wraps, temporarily hiding the conversation outline while a table passes under it; anything wider still scrolls inside the table. + ## 0.23.6 ### Patch Changes diff --git a/apps/kimi-code/package.json b/apps/kimi-code/package.json index 71de3e9bb2..7354d98e10 100644 --- a/apps/kimi-code/package.json +++ b/apps/kimi-code/package.json @@ -1,6 +1,6 @@ { "name": "@moonshot-ai/kimi-code", - "version": "0.23.6", + "version": "0.24.0", "description": "The Starting Point for Next-Gen Agents", "license": "MIT", "author": "Moonshot AI", diff --git a/packages/agent-core-v2/CHANGELOG.md b/packages/agent-core-v2/CHANGELOG.md new file mode 100644 index 0000000000..fa54d746bf --- /dev/null +++ b/packages/agent-core-v2/CHANGELOG.md @@ -0,0 +1,62 @@ +# @moonshot-ai/agent-core-v2 + +## 0.1.0 + +### Minor Changes + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Track the agent's live phase (idle, running, streaming, tool call, retrying, awaiting approval, interrupted, ended) as a single model field driven by the existing turn events, and carry it on the status update channel for downstream consumers. + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Persist v2 wire records natively in the v1 record vocabulary and remove the persist-time rewrite layer: ops now write v1-shaped records directly (todo updates persist as `tools.update_store`, `turn.prompt` carries only `input`/`origin`, `usage.record` drops request context, `plan_mode.enter` carries only the plan id), live-only state (runtime phase, task/cron registries, context size, skill activations, runtime permission rules) is declared `persist: false` instead of being stripped at write time, and the swarm-mode exit reminder removal replays from the `swarm_mode.exit` record itself. This fixes resumed sessions losing the todo list, drifting turn counters after retries, and removed reminders reappearing after resume. + +### Patch Changes + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Fix the v2 AskUserQuestion flow: answers now come back keyed by question text with option labels as values, aborting a turn or stopping a background question dismisses the pending question instead of leaking it, and duplicate question texts or option labels are rejected before the question is shown. The pending-question wire shape no longer carries a synthetic expires_at field. + +- [#1638](https://github.com/MoonshotAI/kimi-code/pull/1638) [`7c889f3`](https://github.com/MoonshotAI/kimi-code/commit/7c889f3a960482cc9382203bda55d972b6fb6acd) Thanks [@RealKai42](https://github.com/RealKai42)! - In auto permission mode, plan exits are now marked as auto-approved (not user-reviewed) in both the tool result and the transcript, so the agent no longer treats automatic plan approval as a user signal to start executing. + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Fix the production build by resolving internal module imports directly instead of through directory re-exports. + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Reorganize the agent execution environment into separate filesystem, process and tool domains. + +- [#1629](https://github.com/MoonshotAI/kimi-code/pull/1629) [`0527ca2`](https://github.com/MoonshotAI/kimi-code/commit/0527ca2267f8cf355d0c158953f3dbfc0c9692ac) Thanks [@sailist](https://github.com/sailist)! - Fix session fork losing everything except the conversation log: forked sessions now carry over media attachments, plan files, background task output, and cron tasks, and a failed fork no longer leaves a broken half-copy behind. + +- [#1663](https://github.com/MoonshotAI/kimi-code/pull/1663) [`1294a0e`](https://github.com/MoonshotAI/kimi-code/commit/1294a0e1ad739151573163505f9c58afb2d543e4) Thanks [@7Sageer](https://github.com/7Sageer)! - Fix OAuth login hanging after browser authorization when the provider configuration changes during sign-in. + +- [#1632](https://github.com/MoonshotAI/kimi-code/pull/1632) [`a4aae87`](https://github.com/MoonshotAI/kimi-code/commit/a4aae87cd9a240d3567601ed1a9aefaab540b075) Thanks [@sailist](https://github.com/sailist)! - Fix providers without a configured base_url being rejected: anthropic/openai and other protocol providers now fall back to their official default endpoints again, as before. + +- [#1629](https://github.com/MoonshotAI/kimi-code/pull/1629) [`0527ca2`](https://github.com/MoonshotAI/kimi-code/commit/0527ca2267f8cf355d0c158953f3dbfc0c9692ac) Thanks [@sailist](https://github.com/sailist)! - Fix the v2 engine never activating tool-call deduplication: identical tool calls issued in the same step no longer execute multiple times, and repeated identical calls across steps receive escalating reminders again. + +- [#1636](https://github.com/MoonshotAI/kimi-code/pull/1636) [`8027fe2`](https://github.com/MoonshotAI/kimi-code/commit/8027fe291b03fbfce6dc60aa06f8699ad0976ec5) Thanks [@sailist](https://github.com/sailist)! - Fix caller-supplied MCP servers being silently dropped when creating a session through the v2 engine (experimental). + +- [#1636](https://github.com/MoonshotAI/kimi-code/pull/1636) [`8027fe2`](https://github.com/MoonshotAI/kimi-code/commit/8027fe291b03fbfce6dc60aa06f8699ad0976ec5) Thanks [@sailist](https://github.com/sailist)! - Make file tools able to reach skill directories outside the working directory in the v2 engine (experimental), and honor --skillsDir in v2 print mode and the server's skillDirs option. + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Reroute the blob store backend from the host filesystem to the pluggable storage layer, so server-only deployments no longer require a local filesystem implementation. + +- [#1637](https://github.com/MoonshotAI/kimi-code/pull/1637) [`0e0a6e9`](https://github.com/MoonshotAI/kimi-code/commit/0e0a6e9a5170c28c5e6809c1b2cf6d6f8904de73) Thanks [@sailist](https://github.com/sailist)! - Support caller-supplied MCP server configs on session create in the v2 engine (experimental), merged over the file config and under plugin servers. + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Route FetchURL through the managed Kimi fetch service when the Kimi provider is logged in, with automatic fallback to local fetching on failure, and forward the host identity headers with the request. + +- [#1634](https://github.com/MoonshotAI/kimi-code/pull/1634) [`96b8328`](https://github.com/MoonshotAI/kimi-code/commit/96b83281b2da3ee479b59e8a8da990708d1d6a30) Thanks [@sailist](https://github.com/sailist)! - Fix v2 managed OAuth login ignoring `KIMI_CODE_BASE_URL` / `KIMI_CODE_OAUTH_HOST`: the login environment is now resolved env-aware (v1 parity), so the credential slot a token is written to always matches the slot the runtime reads — no more "login succeeds but every call 401s" against non-default environments. The provisioned provider entry records the login environment and credential slot explicitly, and logout deletes from the runtime (env-aware) slot. + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Hide image-compression captions from user-visible history: captions that prompt ingestion places inside a user message are rerouted through hidden system reminders (and stripped from session titles), while the model still receives the full note. ReadMediaFile is now registered in production whenever the bound model supports image or video input, re-registering on model switches. + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Align v2 media reads with v1: the ReadMediaFile summary moves to the tool result's note side channel so raw `` markup never renders in UIs, image dimensions are reported in the decoded EXIF-rotated space so portrait photos get correct coordinate guidance, the downscale cap rises from 2000px to 3000px with a gentler byte-budget fallback, and image compression and crop telemetry is reported for media reads. + +- [#1633](https://github.com/MoonshotAI/kimi-code/pull/1633) [`5d1f904`](https://github.com/MoonshotAI/kimi-code/commit/5d1f9049cab84c0f40524a2382b085dfa976c866) Thanks [@sailist](https://github.com/sailist)! - Fix the v2 messages API serving broken history after resume: restored `blobref:` media URLs are rehydrated to inline `data:` URIs from the agent's blob store (matching live emissions), tool results carrying media (e.g. ReadMediaFile) pass their content parts through instead of being flattened to empty text, and `created_at` uses the wire record time instead of a synthesized session-start offset. + +- [#1677](https://github.com/MoonshotAI/kimi-code/pull/1677) [`003e583`](https://github.com/MoonshotAI/kimi-code/commit/003e583d865d40ae7dbeb0f1e6b3974a63781950) Thanks [@sailist](https://github.com/sailist)! - Fix the v2 model catalog response omitting support_efforts and default_effort, restoring thinking-effort selection for clients connected to the v2 backend. + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Fix the managed OAuth device-code login getting aborted when an unrelated provider refresh fires during the login flow. + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Harden plugin management: degrade sessions gracefully when plugin state fails to load, clean up temp dirs and roll back the managed copy on failed installs, restore managed endpoint env for stdio plugin MCP servers, and make update checks concurrent with per-repo failure isolation. + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Forward the host identity headers (User-Agent and device identity) with WebSearch requests, matching v1. + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Align v2 engine telemetry with the v1 wire format: rename `tool_call_dedupe_detected` to `tool_call_dedup_detected`, carry mode/protocol tags on turn events, emit `turn_ended` unconditionally with interrupt reasons, add alias/protocol/input token fields to `api_error`, tag `tool_call` with `dup_type`, rename compaction usage fields to `input_tokens`/`output_tokens`, and add `context_projection_repaired`, `session_started`, and `session_load_failed` events. + +- [#1602](https://github.com/MoonshotAI/kimi-code/pull/1602) [`09c1c32`](https://github.com/MoonshotAI/kimi-code/commit/09c1c3296059255a5074fa5d4dbb22fef14cdef9) Thanks [@kermanx](https://github.com/kermanx)! - Align the v2 engine with v1 on several parity gaps: the auto permission mode reminder is re-announced after compaction instead of being lost, goal reminders and the background-task reminder now match v1's exact text, and the goal tools are main-agent-only again. + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Report `video_upload` telemetry for ReadMediaFile video uploads — outcome, byte size, mime type, duration, and model/protocol tags; a failing telemetry sink never affects the upload. + +- Updated dependencies [[`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6), [`0303b82`](https://github.com/MoonshotAI/kimi-code/commit/0303b82c3e691836163ecf906febfb6324c81d74)]: + - @moonshot-ai/protocol@0.4.0 diff --git a/packages/agent-core-v2/package.json b/packages/agent-core-v2/package.json index b48d8a1f17..6953771251 100644 --- a/packages/agent-core-v2/package.json +++ b/packages/agent-core-v2/package.json @@ -1,6 +1,6 @@ { "name": "@moonshot-ai/agent-core-v2", - "version": "0.0.0", + "version": "0.1.0", "private": true, "description": "The unified agent engine for Kimi (v2 — DI Scope architecture)", "license": "MIT", diff --git a/packages/agent-core/CHANGELOG.md b/packages/agent-core/CHANGELOG.md index 6bd19a3de7..164f62b3ea 100644 --- a/packages/agent-core/CHANGELOG.md +++ b/packages/agent-core/CHANGELOG.md @@ -1,5 +1,14 @@ # @moonshot-ai/agent-core +## 0.15.4 + +### Patch Changes + +- [#1638](https://github.com/MoonshotAI/kimi-code/pull/1638) [`7c889f3`](https://github.com/MoonshotAI/kimi-code/commit/7c889f3a960482cc9382203bda55d972b6fb6acd) Thanks [@RealKai42](https://github.com/RealKai42)! - In auto permission mode, plan exits are now marked as auto-approved (not user-reviewed) in both the tool result and the transcript, so the agent no longer treats automatic plan approval as a user signal to start executing. + +- Updated dependencies [[`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6), [`0303b82`](https://github.com/MoonshotAI/kimi-code/commit/0303b82c3e691836163ecf906febfb6324c81d74)]: + - @moonshot-ai/protocol@0.4.0 + ## 0.15.3 ### Patch Changes diff --git a/packages/agent-core/package.json b/packages/agent-core/package.json index dd8028abf6..84999b8826 100644 --- a/packages/agent-core/package.json +++ b/packages/agent-core/package.json @@ -1,6 +1,6 @@ { "name": "@moonshot-ai/agent-core", - "version": "0.15.3", + "version": "0.15.4", "private": true, "description": "The unified agent engine for Kimi", "license": "MIT", diff --git a/packages/kap-server/CHANGELOG.md b/packages/kap-server/CHANGELOG.md new file mode 100644 index 0000000000..e0933bde29 --- /dev/null +++ b/packages/kap-server/CHANGELOG.md @@ -0,0 +1,25 @@ +# @moonshot-ai/kap-server + +## 0.0.1 + +### Patch Changes + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Fix the v2 AskUserQuestion flow: answers now come back keyed by question text with option labels as values, aborting a turn or stopping a background question dismisses the pending question instead of leaking it, and duplicate question texts or option labels are rejected before the question is shown. The pending-question wire shape no longer carries a synthetic expires_at field. + +- [#1638](https://github.com/MoonshotAI/kimi-code/pull/1638) [`7c889f3`](https://github.com/MoonshotAI/kimi-code/commit/7c889f3a960482cc9382203bda55d972b6fb6acd) Thanks [@RealKai42](https://github.com/RealKai42)! - In auto permission mode, plan exits are now marked as auto-approved (not user-reviewed) in both the tool result and the transcript, so the agent no longer treats automatic plan approval as a user signal to start executing. + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Reorganize the agent execution environment into separate filesystem, process and tool domains. + +- [#1636](https://github.com/MoonshotAI/kimi-code/pull/1636) [`8027fe2`](https://github.com/MoonshotAI/kimi-code/commit/8027fe291b03fbfce6dc60aa06f8699ad0976ec5) Thanks [@sailist](https://github.com/sailist)! - Make file tools able to reach skill directories outside the working directory in the v2 engine (experimental), and honor --skillsDir in v2 print mode and the server's skillDirs option. + +- [#1601](https://github.com/MoonshotAI/kimi-code/pull/1601) [`dc309a7`](https://github.com/MoonshotAI/kimi-code/commit/dc309a7dfb38b6ef885b8ae80be51b49f8486207) Thanks [@kermanx](https://github.com/kermanx)! - Report the live (measured + estimated) context size in the v2 server's v1-compatible status stream instead of the measured-only count, which read 0 until the first model response of a session completed and could dip mid-turn while the context was being rewritten. + +- [#1617](https://github.com/MoonshotAI/kimi-code/pull/1617) [`4ec2e7f`](https://github.com/MoonshotAI/kimi-code/commit/4ec2e7fab14ab89cddf77821082c3ff4911f737b) Thanks [@sailist](https://github.com/sailist)! - Run the local server (`kimi server run` / `kimi web`) on the agent-core-v2 engine by default — the `KIMI_CODE_EXPERIMENTAL_FLAG` opt-in is no longer needed, and the legacy v1 server package has been removed. + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Reroute the blob store backend from the host filesystem to the pluggable storage layer, so server-only deployments no longer require a local filesystem implementation. + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Fix the managed OAuth device-code login getting aborted when an unrelated provider refresh fires during the login flow. + +- Updated dependencies [[`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6), [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6), [`7c889f3`](https://github.com/MoonshotAI/kimi-code/commit/7c889f3a960482cc9382203bda55d972b6fb6acd), [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6), [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6), [`0527ca2`](https://github.com/MoonshotAI/kimi-code/commit/0527ca2267f8cf355d0c158953f3dbfc0c9692ac), [`1294a0e`](https://github.com/MoonshotAI/kimi-code/commit/1294a0e1ad739151573163505f9c58afb2d543e4), [`a4aae87`](https://github.com/MoonshotAI/kimi-code/commit/a4aae87cd9a240d3567601ed1a9aefaab540b075), [`0303b82`](https://github.com/MoonshotAI/kimi-code/commit/0303b82c3e691836163ecf906febfb6324c81d74), [`0527ca2`](https://github.com/MoonshotAI/kimi-code/commit/0527ca2267f8cf355d0c158953f3dbfc0c9692ac), [`8027fe2`](https://github.com/MoonshotAI/kimi-code/commit/8027fe291b03fbfce6dc60aa06f8699ad0976ec5), [`8027fe2`](https://github.com/MoonshotAI/kimi-code/commit/8027fe291b03fbfce6dc60aa06f8699ad0976ec5), [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6), [`0e0a6e9`](https://github.com/MoonshotAI/kimi-code/commit/0e0a6e9a5170c28c5e6809c1b2cf6d6f8904de73), [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6), [`96b8328`](https://github.com/MoonshotAI/kimi-code/commit/96b83281b2da3ee479b59e8a8da990708d1d6a30), [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6), [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6), [`5d1f904`](https://github.com/MoonshotAI/kimi-code/commit/5d1f9049cab84c0f40524a2382b085dfa976c866), [`003e583`](https://github.com/MoonshotAI/kimi-code/commit/003e583d865d40ae7dbeb0f1e6b3974a63781950), [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6), [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6), [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6), [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6), [`09c1c32`](https://github.com/MoonshotAI/kimi-code/commit/09c1c3296059255a5074fa5d4dbb22fef14cdef9), [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6), [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6)]: + - @moonshot-ai/agent-core-v2@0.1.0 + - @moonshot-ai/protocol@0.4.0 diff --git a/packages/kap-server/package.json b/packages/kap-server/package.json index 3573e1d3d1..a03bfb3cff 100644 --- a/packages/kap-server/package.json +++ b/packages/kap-server/package.json @@ -1,6 +1,6 @@ { "name": "@moonshot-ai/kap-server", - "version": "0.0.0", + "version": "0.0.1", "private": true, "description": "Kimi Code server backed by the DI × Scope agent engine (agent-core-v2)", "type": "module", diff --git a/packages/klient/CHANGELOG.md b/packages/klient/CHANGELOG.md new file mode 100644 index 0000000000..e0917cbf3f --- /dev/null +++ b/packages/klient/CHANGELOG.md @@ -0,0 +1,8 @@ +# @moonshot-ai/klient + +## 0.0.1 + +### Patch Changes + +- Updated dependencies [[`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6), [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6), [`7c889f3`](https://github.com/MoonshotAI/kimi-code/commit/7c889f3a960482cc9382203bda55d972b6fb6acd), [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6), [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6), [`0527ca2`](https://github.com/MoonshotAI/kimi-code/commit/0527ca2267f8cf355d0c158953f3dbfc0c9692ac), [`1294a0e`](https://github.com/MoonshotAI/kimi-code/commit/1294a0e1ad739151573163505f9c58afb2d543e4), [`a4aae87`](https://github.com/MoonshotAI/kimi-code/commit/a4aae87cd9a240d3567601ed1a9aefaab540b075), [`0527ca2`](https://github.com/MoonshotAI/kimi-code/commit/0527ca2267f8cf355d0c158953f3dbfc0c9692ac), [`8027fe2`](https://github.com/MoonshotAI/kimi-code/commit/8027fe291b03fbfce6dc60aa06f8699ad0976ec5), [`8027fe2`](https://github.com/MoonshotAI/kimi-code/commit/8027fe291b03fbfce6dc60aa06f8699ad0976ec5), [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6), [`0e0a6e9`](https://github.com/MoonshotAI/kimi-code/commit/0e0a6e9a5170c28c5e6809c1b2cf6d6f8904de73), [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6), [`96b8328`](https://github.com/MoonshotAI/kimi-code/commit/96b83281b2da3ee479b59e8a8da990708d1d6a30), [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6), [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6), [`5d1f904`](https://github.com/MoonshotAI/kimi-code/commit/5d1f9049cab84c0f40524a2382b085dfa976c866), [`003e583`](https://github.com/MoonshotAI/kimi-code/commit/003e583d865d40ae7dbeb0f1e6b3974a63781950), [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6), [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6), [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6), [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6), [`09c1c32`](https://github.com/MoonshotAI/kimi-code/commit/09c1c3296059255a5074fa5d4dbb22fef14cdef9), [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6), [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6)]: + - @moonshot-ai/agent-core-v2@0.1.0 diff --git a/packages/klient/package.json b/packages/klient/package.json index 249536c8de..3c4ed1e28f 100644 --- a/packages/klient/package.json +++ b/packages/klient/package.json @@ -1,6 +1,6 @@ { "name": "@moonshot-ai/klient", - "version": "0.0.0", + "version": "0.0.1", "private": true, "description": "Kimi client SDK — reuse agent-core-v2 service interfaces over the /api/v2 HTTP channel.", "license": "MIT", diff --git a/packages/protocol/CHANGELOG.md b/packages/protocol/CHANGELOG.md index ee42daba02..24e74a5d0d 100644 --- a/packages/protocol/CHANGELOG.md +++ b/packages/protocol/CHANGELOG.md @@ -1,5 +1,15 @@ # @moonshot-ai/protocol +## 0.4.0 + +### Minor Changes + +- [#1441](https://github.com/MoonshotAI/kimi-code/pull/1441) [`ceb158d`](https://github.com/MoonshotAI/kimi-code/commit/ceb158dc54586f254819edbc83c27e21dca1ecf6) Thanks [@sailist](https://github.com/sailist)! - Track the agent's live phase (idle, running, streaming, tool call, retrying, awaiting approval, interrupted, ended) as a single model field driven by the existing turn events, and carry it on the status update channel for downstream consumers. + +### Patch Changes + +- [#1630](https://github.com/MoonshotAI/kimi-code/pull/1630) [`0303b82`](https://github.com/MoonshotAI/kimi-code/commit/0303b82c3e691836163ecf906febfb6324c81d74) Thanks [@sailist](https://github.com/sailist)! - Make the server_hello heartbeat_ms field optional so spec-compliant clients no longer reject handshakes from servers that do not advertise a heartbeat interval. + ## 0.3.2 ### Patch Changes diff --git a/packages/protocol/package.json b/packages/protocol/package.json index 4ed238fd32..737364efdc 100644 --- a/packages/protocol/package.json +++ b/packages/protocol/package.json @@ -1,6 +1,6 @@ { "name": "@moonshot-ai/protocol", - "version": "0.3.2", + "version": "0.4.0", "private": true, "description": "Shared REST + WS protocol schemas (envelope, error codes, pagination, ws-control) for the kimi-code daemon.", "license": "MIT",