From 24dbe1bc8bc25367112a660cc55dc25ec6fa2894 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 29 May 2026 14:22:04 +0000 Subject: [PATCH] ci: release packages --- .changeset/bg-agent-terminal-status.md | 6 --- .changeset/compact-overflow-retry-budget.md | 6 --- .../constructable-agent-model-provider.md | 6 --- .changeset/context-overflow-responses.md | 7 --- .changeset/env-var-model-config.md | 6 --- .changeset/experimental-flags.md | 5 -- .changeset/fix-native-update-false-success.md | 5 -- .../fix-resume-missing-session-footer-leak.md | 5 -- .changeset/fix-ripgrep-cross-device-copy.md | 6 --- .changeset/footer-rotating-tips.md | 5 -- .changeset/plan-usage-percent-used.md | 5 -- .changeset/plugin-install-from-github.md | 7 --- .changeset/preserve-unsigned-thinking.md | 5 -- .changeset/project-context-messages.md | 6 --- .changeset/restrict-plugin-trust-badges.md | 7 --- .changeset/resume-cross-workdir-sessions.md | 7 --- .changeset/retry-model-token-limit.md | 7 --- .changeset/retry-terminated-stream.md | 6 --- .changeset/slim-llm-request-log.md | 6 --- .changeset/split-runtime-kaos.md | 6 --- .changeset/subagent-stop-wording.md | 6 --- .changeset/tool-support-services.md | 6 --- .changeset/unlimited-max-steps-per-turn.md | 6 --- .changeset/use-generic-datasource-stock.md | 5 -- .changeset/user-prompt-hook-context.md | 6 --- apps/kimi-code/CHANGELOG.md | 52 +++++++++++++++++++ apps/kimi-code/package.json | 2 +- flake.nix | 2 +- packages/agent-core/CHANGELOG.md | 45 ++++++++++++++++ packages/agent-core/package.json | 2 +- packages/kosong/CHANGELOG.md | 12 +++++ packages/kosong/package.json | 2 +- packages/migration-legacy/CHANGELOG.md | 7 +++ packages/migration-legacy/package.json | 2 +- packages/node-sdk/CHANGELOG.md | 12 +++++ packages/node-sdk/package.json | 2 +- 36 files changed, 134 insertions(+), 154 deletions(-) delete mode 100644 .changeset/bg-agent-terminal-status.md delete mode 100644 .changeset/compact-overflow-retry-budget.md delete mode 100644 .changeset/constructable-agent-model-provider.md delete mode 100644 .changeset/context-overflow-responses.md delete mode 100644 .changeset/env-var-model-config.md delete mode 100644 .changeset/experimental-flags.md delete mode 100644 .changeset/fix-native-update-false-success.md delete mode 100644 .changeset/fix-resume-missing-session-footer-leak.md delete mode 100644 .changeset/fix-ripgrep-cross-device-copy.md delete mode 100644 .changeset/footer-rotating-tips.md delete mode 100644 .changeset/plan-usage-percent-used.md delete mode 100644 .changeset/plugin-install-from-github.md delete mode 100644 .changeset/preserve-unsigned-thinking.md delete mode 100644 .changeset/project-context-messages.md delete mode 100644 .changeset/restrict-plugin-trust-badges.md delete mode 100644 .changeset/resume-cross-workdir-sessions.md delete mode 100644 .changeset/retry-model-token-limit.md delete mode 100644 .changeset/retry-terminated-stream.md delete mode 100644 .changeset/slim-llm-request-log.md delete mode 100644 .changeset/split-runtime-kaos.md delete mode 100644 .changeset/subagent-stop-wording.md delete mode 100644 .changeset/tool-support-services.md delete mode 100644 .changeset/unlimited-max-steps-per-turn.md delete mode 100644 .changeset/use-generic-datasource-stock.md delete mode 100644 .changeset/user-prompt-hook-context.md diff --git a/.changeset/bg-agent-terminal-status.md b/.changeset/bg-agent-terminal-status.md deleted file mode 100644 index e895d826a4..0000000000 --- a/.changeset/bg-agent-terminal-status.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/agent-core": patch -"@moonshot-ai/kimi-code": patch ---- - -Show the real terminal status of background agents in the transcript so lost, failed, and killed ones no longer appear as completed, and include the resume agent id and recovery instructions in the failure notification so the model can resume reliably. diff --git a/.changeset/compact-overflow-retry-budget.md b/.changeset/compact-overflow-retry-budget.md deleted file mode 100644 index 72b47ce16e..0000000000 --- a/.changeset/compact-overflow-retry-budget.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/agent-core": patch -"@moonshot-ai/kimi-code": patch ---- - -Back off failed compaction retries by a fixed slice of the model context window. diff --git a/.changeset/constructable-agent-model-provider.md b/.changeset/constructable-agent-model-provider.md deleted file mode 100644 index e6bd10507f..0000000000 --- a/.changeset/constructable-agent-model-provider.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/agent-core": patch -"@moonshot-ai/kimi-code": patch ---- - -Introduce `ModelProvider` interface and `SingleModelProvider` to decouple `Agent` from `ProviderManager`. diff --git a/.changeset/context-overflow-responses.md b/.changeset/context-overflow-responses.md deleted file mode 100644 index ccefcfaa50..0000000000 --- a/.changeset/context-overflow-responses.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@moonshot-ai/agent-core": patch -"@moonshot-ai/kimi-code": patch -"@moonshot-ai/kosong": patch ---- - -Handle context overflow errors consistently across provider responses. diff --git a/.changeset/env-var-model-config.md b/.changeset/env-var-model-config.md deleted file mode 100644 index 5b70ea4392..0000000000 --- a/.changeset/env-var-model-config.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/agent-core": minor -"@moonshot-ai/kimi-code": minor ---- - -Add a `KIMI_MODEL_*` environment-variable channel that lets you run Kimi Code against a specific model (provider type, base URL, API key, context size, capabilities, and thinking settings) without editing `config.toml`. diff --git a/.changeset/experimental-flags.md b/.changeset/experimental-flags.md deleted file mode 100644 index 96de96dc6e..0000000000 --- a/.changeset/experimental-flags.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/agent-core": minor ---- - -Add an experimental feature-flag system: a central registry (`flags/registry.ts`) plus an env-driven resolver. Gate a feature with `flags.enabled('id')`, toggled via `KIMI_CODE_EXPERIMENTAL_` or the `KIMI_CODE_EXPERIMENTAL_FLAG` master switch. No flags are defined yet. diff --git a/.changeset/fix-native-update-false-success.md b/.changeset/fix-native-update-false-success.md deleted file mode 100644 index b373dd7894..0000000000 --- a/.changeset/fix-native-update-false-success.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix the native self-updater reporting a successful update when the install command actually failed. diff --git a/.changeset/fix-resume-missing-session-footer-leak.md b/.changeset/fix-resume-missing-session-footer-leak.md deleted file mode 100644 index 58c2e1eede..0000000000 --- a/.changeset/fix-resume-missing-session-footer-leak.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix footer leaking onto the terminal when resuming a non-existent session. diff --git a/.changeset/fix-ripgrep-cross-device-copy.md b/.changeset/fix-ripgrep-cross-device-copy.md deleted file mode 100644 index a4b15a9cb5..0000000000 --- a/.changeset/fix-ripgrep-cross-device-copy.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/agent-core": patch -"@moonshot-ai/kimi-code": patch ---- - -Fix automatic ripgrep installation when temporary files are on another filesystem. diff --git a/.changeset/footer-rotating-tips.md b/.changeset/footer-rotating-tips.md deleted file mode 100644 index 771a8a71d6..0000000000 --- a/.changeset/footer-rotating-tips.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Expand the footer's rotating tips to surface more commands and shortcuts, featuring newer and important ones more prominently. diff --git a/.changeset/plan-usage-percent-used.md b/.changeset/plan-usage-percent-used.md deleted file mode 100644 index 57db3f142d..0000000000 --- a/.changeset/plan-usage-percent-used.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Improve the usage information display in the TUI. diff --git a/.changeset/plugin-install-from-github.md b/.changeset/plugin-install-from-github.md deleted file mode 100644 index 28e50602c2..0000000000 --- a/.changeset/plugin-install-from-github.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@moonshot-ai/agent-core": minor -"@moonshot-ai/kimi-code-sdk": minor -"@moonshot-ai/kimi-code": minor ---- - -Install plugins directly from GitHub repository URLs, and surface each install's origin and trust level (kimi-official, curated, third-party) in the plugin manager. diff --git a/.changeset/preserve-unsigned-thinking.md b/.changeset/preserve-unsigned-thinking.md deleted file mode 100644 index c489a021f1..0000000000 --- a/.changeset/preserve-unsigned-thinking.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kosong": patch ---- - -Preserve unsigned assistant thinking when serializing history for the Anthropic provider, instead of dropping it. Anthropic-compatible backends (e.g. Kimi) stream thinking without a signature yet reject a tool-call turn whose thinking is missing ("thinking is enabled but reasoning_content is missing"). api.anthropic.com always supplies a signature, so its behavior is unchanged. diff --git a/.changeset/project-context-messages.md b/.changeset/project-context-messages.md deleted file mode 100644 index 45692444e6..0000000000 --- a/.changeset/project-context-messages.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/agent-core": patch -"@moonshot-ai/kimi-code": patch ---- - -Project persisted hook and blocked prompt messages into model context. diff --git a/.changeset/restrict-plugin-trust-badges.md b/.changeset/restrict-plugin-trust-badges.md deleted file mode 100644 index fbccf1f913..0000000000 --- a/.changeset/restrict-plugin-trust-badges.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@moonshot-ai/agent-core": patch -"@moonshot-ai/kimi-code-sdk": patch -"@moonshot-ai/kimi-code": patch ---- - -Restrict plugin trust badges to Kimi-hosted plugin CDN URL patterns. diff --git a/.changeset/resume-cross-workdir-sessions.md b/.changeset/resume-cross-workdir-sessions.md deleted file mode 100644 index 1e3108e355..0000000000 --- a/.changeset/resume-cross-workdir-sessions.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@moonshot-ai/agent-core": minor -"@moonshot-ai/kimi-code-sdk": minor -"@moonshot-ai/kimi-code": minor ---- - -Support querying sessions by sessionId or workDir in listSessions, and show a helpful cd command when resuming a session from a different working directory. diff --git a/.changeset/retry-model-token-limit.md b/.changeset/retry-model-token-limit.md deleted file mode 100644 index 221a6d4160..0000000000 --- a/.changeset/retry-model-token-limit.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@moonshot-ai/agent-core": patch -"@moonshot-ai/kosong": patch -"@moonshot-ai/kimi-code": patch ---- - -Recover from provider model token limit errors during long conversations. diff --git a/.changeset/retry-terminated-stream.md b/.changeset/retry-terminated-stream.md deleted file mode 100644 index 342714e960..0000000000 --- a/.changeset/retry-terminated-stream.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/kosong": patch -"@moonshot-ai/kimi-code": patch ---- - -Automatically retry when a model response stream is dropped mid-flight (a `terminated` error) instead of failing the turn. diff --git a/.changeset/slim-llm-request-log.md b/.changeset/slim-llm-request-log.md deleted file mode 100644 index fe5ed7348f..0000000000 --- a/.changeset/slim-llm-request-log.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/agent-core": patch -"@moonshot-ai/kimi-code": patch ---- - -Slim the LLM diagnostic logs with fewer, more compact fields. diff --git a/.changeset/split-runtime-kaos.md b/.changeset/split-runtime-kaos.md deleted file mode 100644 index 59d369ab2d..0000000000 --- a/.changeset/split-runtime-kaos.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/agent-core": patch -"@moonshot-ai/kimi-code": patch ---- - -Split `RuntimeConfig` into `Kaos` and `ToolServices` and update all references accordingly. diff --git a/.changeset/subagent-stop-wording.md b/.changeset/subagent-stop-wording.md deleted file mode 100644 index 4699e6e476..0000000000 --- a/.changeset/subagent-stop-wording.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/agent-core": patch -"@moonshot-ai/kimi-code": patch ---- - -Clarify subagent and background task stop messages as user-initiated. diff --git a/.changeset/tool-support-services.md b/.changeset/tool-support-services.md deleted file mode 100644 index 1d04752ac6..0000000000 --- a/.changeset/tool-support-services.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/agent-core": patch -"@moonshot-ai/kimi-code": patch ---- - -Relocate shared tool service typing to the tool support layer. diff --git a/.changeset/unlimited-max-steps-per-turn.md b/.changeset/unlimited-max-steps-per-turn.md deleted file mode 100644 index e468847e0f..0000000000 --- a/.changeset/unlimited-max-steps-per-turn.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/agent-core": minor -"@moonshot-ai/kimi-code": minor ---- - -Remove the default per-turn step limit of 1000. Users can still set `max_steps_per_turn` in config to enforce a custom limit. diff --git a/.changeset/use-generic-datasource-stock.md b/.changeset/use-generic-datasource-stock.md deleted file mode 100644 index b41f46ab9f..0000000000 --- a/.changeset/use-generic-datasource-stock.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Align the datasource plugin with the generic two-tool workflow. diff --git a/.changeset/user-prompt-hook-context.md b/.changeset/user-prompt-hook-context.md deleted file mode 100644 index 5dcd0cdaa0..0000000000 --- a/.changeset/user-prompt-hook-context.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/agent-core": patch -"@moonshot-ai/kimi-code": patch ---- - -Keep blocked prompt hook conversations available to subsequent model turns. diff --git a/apps/kimi-code/CHANGELOG.md b/apps/kimi-code/CHANGELOG.md index fc46e5c177..ad5382fec9 100644 --- a/apps/kimi-code/CHANGELOG.md +++ b/apps/kimi-code/CHANGELOG.md @@ -1,5 +1,57 @@ # @moonshot-ai/kimi-code +## 0.6.0 + +### Minor Changes + +- [#212](https://github.com/MoonshotAI/kimi-code/pull/212) [`2bbea75`](https://github.com/MoonshotAI/kimi-code/commit/2bbea75ee4c0b11f12d2921061774426df40479a) - Add a `KIMI_MODEL_*` environment-variable channel that lets you run Kimi Code against a specific model (provider type, base URL, API key, context size, capabilities, and thinking settings) without editing `config.toml`. + +- [#221](https://github.com/MoonshotAI/kimi-code/pull/221) [`bab2da7`](https://github.com/MoonshotAI/kimi-code/commit/bab2da7b1c785d6deba25decb1411f8f5a70de8c) - Install plugins directly from GitHub repository URLs, and surface each install's origin and trust level (kimi-official, curated, third-party) in the plugin manager. + +- [#118](https://github.com/MoonshotAI/kimi-code/pull/118) [`8913440`](https://github.com/MoonshotAI/kimi-code/commit/891344054111a05171963cfa524ef749c2855321) - Support querying sessions by sessionId or workDir in listSessions, and show a helpful cd command when resuming a session from a different working directory. + +- [#186](https://github.com/MoonshotAI/kimi-code/pull/186) [`537cf20`](https://github.com/MoonshotAI/kimi-code/commit/537cf20d18b26d4238f963f793f8a8ef085ac97e) - Remove the default per-turn step limit of 1000. Users can still set `max_steps_per_turn` in config to enforce a custom limit. + +### Patch Changes + +- [#197](https://github.com/MoonshotAI/kimi-code/pull/197) [`f3269ea`](https://github.com/MoonshotAI/kimi-code/commit/f3269eacb9da9a6b66f578a864d0b9bdfb1d6d81) - Show the real terminal status of background agents in the transcript so lost, failed, and killed ones no longer appear as completed, and include the resume agent id and recovery instructions in the failure notification so the model can resume reliably. + +- [#211](https://github.com/MoonshotAI/kimi-code/pull/211) [`54590d3`](https://github.com/MoonshotAI/kimi-code/commit/54590d3d464b05eed0837a725b37f3aa491c09af) - Back off failed compaction retries by a fixed slice of the model context window. + +- [#167](https://github.com/MoonshotAI/kimi-code/pull/167) [`b5981a5`](https://github.com/MoonshotAI/kimi-code/commit/b5981a523b66ff2fd5f09a7e66075628b94683c8) - Introduce `ModelProvider` interface and `SingleModelProvider` to decouple `Agent` from `ProviderManager`. + +- [#213](https://github.com/MoonshotAI/kimi-code/pull/213) [`2388f20`](https://github.com/MoonshotAI/kimi-code/commit/2388f20bb3d039e89caefca159801059b90dc64a) - Handle context overflow errors consistently across provider responses. + +- [#214](https://github.com/MoonshotAI/kimi-code/pull/214) [`caaa6d8`](https://github.com/MoonshotAI/kimi-code/commit/caaa6d83ee262ba4c954386458ee13aacdb26e1a) - Fix the native self-updater reporting a successful update when the install command actually failed. + +- [#202](https://github.com/MoonshotAI/kimi-code/pull/202) [`14a0348`](https://github.com/MoonshotAI/kimi-code/commit/14a03488555682dde4bcd74aadf79f60a9827304) - Fix footer leaking onto the terminal when resuming a non-existent session. + +- [#198](https://github.com/MoonshotAI/kimi-code/pull/198) [`8c77cfa`](https://github.com/MoonshotAI/kimi-code/commit/8c77cfab62617e07b38f8514a8ef7cddfd9f1069) - Fix automatic ripgrep installation when temporary files are on another filesystem. + +- [#199](https://github.com/MoonshotAI/kimi-code/pull/199) [`588145d`](https://github.com/MoonshotAI/kimi-code/commit/588145dc9b266456bdb1d739975a5b9cf33d70ae) - Expand the footer's rotating tips to surface more commands and shortcuts, featuring newer and important ones more prominently. + +- [#192](https://github.com/MoonshotAI/kimi-code/pull/192) [`64964a0`](https://github.com/MoonshotAI/kimi-code/commit/64964a0dda98fc2db5e15ba923ea9414c78e0009) - Improve the usage information display in the TUI. + +- [#195](https://github.com/MoonshotAI/kimi-code/pull/195) [`3a0e060`](https://github.com/MoonshotAI/kimi-code/commit/3a0e06031ac6dfde148f64906a06cfe820ad9c63) - Project persisted hook and blocked prompt messages into model context. + +- [#221](https://github.com/MoonshotAI/kimi-code/pull/221) [`bab2da7`](https://github.com/MoonshotAI/kimi-code/commit/bab2da7b1c785d6deba25decb1411f8f5a70de8c) - Restrict plugin trust badges to Kimi-hosted plugin CDN URL patterns. + +- [#207](https://github.com/MoonshotAI/kimi-code/pull/207) [`e280f33`](https://github.com/MoonshotAI/kimi-code/commit/e280f33daf7fbf1271c872dcb224737ec9518f73) - Recover from provider model token limit errors during long conversations. + +- [#201](https://github.com/MoonshotAI/kimi-code/pull/201) [`3da4dae`](https://github.com/MoonshotAI/kimi-code/commit/3da4daeadee39573c7eeede30fa9465b411be3e2) - Automatically retry when a model response stream is dropped mid-flight (a `terminated` error) instead of failing the turn. + +- [#190](https://github.com/MoonshotAI/kimi-code/pull/190) [`1873859`](https://github.com/MoonshotAI/kimi-code/commit/1873859b0ef093a956dfd19e1530e920e7118160) - Slim the LLM diagnostic logs with fewer, more compact fields. + +- [#185](https://github.com/MoonshotAI/kimi-code/pull/185) [`114777e`](https://github.com/MoonshotAI/kimi-code/commit/114777e859680f807375760271533e2dc396af5d) - Split `RuntimeConfig` into `Kaos` and `ToolServices` and update all references accordingly. + +- [#189](https://github.com/MoonshotAI/kimi-code/pull/189) [`564721f`](https://github.com/MoonshotAI/kimi-code/commit/564721fe16e582b2774835b01dec799cbb1d0122) - Clarify subagent and background task stop messages as user-initiated. + +- [#206](https://github.com/MoonshotAI/kimi-code/pull/206) [`07d51e4`](https://github.com/MoonshotAI/kimi-code/commit/07d51e4add6ee23a56fb8745aa7754f05f3d6d36) - Relocate shared tool service typing to the tool support layer. + +- [#215](https://github.com/MoonshotAI/kimi-code/pull/215) [`b9860e9`](https://github.com/MoonshotAI/kimi-code/commit/b9860e9f6ec65eb5dfdabbad54f1a87d69f4f00a) - Align the datasource plugin with the generic two-tool workflow. + +- [#200](https://github.com/MoonshotAI/kimi-code/pull/200) [`5159af3`](https://github.com/MoonshotAI/kimi-code/commit/5159af341c7d388a158e41afb470a2281333f329) - Keep blocked prompt hook conversations available to subsequent model turns. + ## 0.5.0 ### Minor Changes diff --git a/apps/kimi-code/package.json b/apps/kimi-code/package.json index cfdfb8ca33..f62143df51 100644 --- a/apps/kimi-code/package.json +++ b/apps/kimi-code/package.json @@ -1,6 +1,6 @@ { "name": "@moonshot-ai/kimi-code", - "version": "0.5.0", + "version": "0.6.0", "description": "The Starting Point for Next-Gen Agents", "license": "MIT", "author": "Moonshot AI", diff --git a/flake.nix b/flake.nix index b4de4f080f..b9e0172364 100644 --- a/flake.nix +++ b/flake.nix @@ -190,7 +190,7 @@ inherit (finalAttrs) pname version src pnpmWorkspaces; inherit pnpm; fetcherVersion = 3; - hash = "sha256-dht627zodv/xeefY7fEvSaKXavTxi+JWA3gwL18U8dk="; + hash = "sha256-HpRlxlXZoVqAzrdMdSWhLcTRM1DvDvytVbzIGBo8QUo="; }; nativeBuildInputs = [ diff --git a/packages/agent-core/CHANGELOG.md b/packages/agent-core/CHANGELOG.md index 879d0acdfa..86522b399a 100644 --- a/packages/agent-core/CHANGELOG.md +++ b/packages/agent-core/CHANGELOG.md @@ -1,5 +1,50 @@ # @moonshot-ai/agent-core +## 0.5.0 + +### Minor Changes + +- [#212](https://github.com/MoonshotAI/kimi-code/pull/212) [`2bbea75`](https://github.com/MoonshotAI/kimi-code/commit/2bbea75ee4c0b11f12d2921061774426df40479a) - Add a `KIMI_MODEL_*` environment-variable channel that lets you run Kimi Code against a specific model (provider type, base URL, API key, context size, capabilities, and thinking settings) without editing `config.toml`. + +- [#205](https://github.com/MoonshotAI/kimi-code/pull/205) [`96bbc47`](https://github.com/MoonshotAI/kimi-code/commit/96bbc471c4aca9526e4dcfe00e6bad2b653bbe66) - Add an experimental feature-flag system: a central registry (`flags/registry.ts`) plus an env-driven resolver. Gate a feature with `flags.enabled('id')`, toggled via `KIMI_CODE_EXPERIMENTAL_` or the `KIMI_CODE_EXPERIMENTAL_FLAG` master switch. No flags are defined yet. + +- [#221](https://github.com/MoonshotAI/kimi-code/pull/221) [`bab2da7`](https://github.com/MoonshotAI/kimi-code/commit/bab2da7b1c785d6deba25decb1411f8f5a70de8c) - Install plugins directly from GitHub repository URLs, and surface each install's origin and trust level (kimi-official, curated, third-party) in the plugin manager. + +- [#118](https://github.com/MoonshotAI/kimi-code/pull/118) [`8913440`](https://github.com/MoonshotAI/kimi-code/commit/891344054111a05171963cfa524ef749c2855321) - Support querying sessions by sessionId or workDir in listSessions, and show a helpful cd command when resuming a session from a different working directory. + +- [#186](https://github.com/MoonshotAI/kimi-code/pull/186) [`537cf20`](https://github.com/MoonshotAI/kimi-code/commit/537cf20d18b26d4238f963f793f8a8ef085ac97e) - Remove the default per-turn step limit of 1000. Users can still set `max_steps_per_turn` in config to enforce a custom limit. + +### Patch Changes + +- [#197](https://github.com/MoonshotAI/kimi-code/pull/197) [`f3269ea`](https://github.com/MoonshotAI/kimi-code/commit/f3269eacb9da9a6b66f578a864d0b9bdfb1d6d81) - Show the real terminal status of background agents in the transcript so lost, failed, and killed ones no longer appear as completed, and include the resume agent id and recovery instructions in the failure notification so the model can resume reliably. + +- [#211](https://github.com/MoonshotAI/kimi-code/pull/211) [`54590d3`](https://github.com/MoonshotAI/kimi-code/commit/54590d3d464b05eed0837a725b37f3aa491c09af) - Back off failed compaction retries by a fixed slice of the model context window. + +- [#167](https://github.com/MoonshotAI/kimi-code/pull/167) [`b5981a5`](https://github.com/MoonshotAI/kimi-code/commit/b5981a523b66ff2fd5f09a7e66075628b94683c8) - Introduce `ModelProvider` interface and `SingleModelProvider` to decouple `Agent` from `ProviderManager`. + +- [#213](https://github.com/MoonshotAI/kimi-code/pull/213) [`2388f20`](https://github.com/MoonshotAI/kimi-code/commit/2388f20bb3d039e89caefca159801059b90dc64a) - Handle context overflow errors consistently across provider responses. + +- [#198](https://github.com/MoonshotAI/kimi-code/pull/198) [`8c77cfa`](https://github.com/MoonshotAI/kimi-code/commit/8c77cfab62617e07b38f8514a8ef7cddfd9f1069) - Fix automatic ripgrep installation when temporary files are on another filesystem. + +- [#195](https://github.com/MoonshotAI/kimi-code/pull/195) [`3a0e060`](https://github.com/MoonshotAI/kimi-code/commit/3a0e06031ac6dfde148f64906a06cfe820ad9c63) - Project persisted hook and blocked prompt messages into model context. + +- [#221](https://github.com/MoonshotAI/kimi-code/pull/221) [`bab2da7`](https://github.com/MoonshotAI/kimi-code/commit/bab2da7b1c785d6deba25decb1411f8f5a70de8c) - Restrict plugin trust badges to Kimi-hosted plugin CDN URL patterns. + +- [#207](https://github.com/MoonshotAI/kimi-code/pull/207) [`e280f33`](https://github.com/MoonshotAI/kimi-code/commit/e280f33daf7fbf1271c872dcb224737ec9518f73) - Recover from provider model token limit errors during long conversations. + +- [#190](https://github.com/MoonshotAI/kimi-code/pull/190) [`1873859`](https://github.com/MoonshotAI/kimi-code/commit/1873859b0ef093a956dfd19e1530e920e7118160) - Slim the LLM diagnostic logs with fewer, more compact fields. + +- [#185](https://github.com/MoonshotAI/kimi-code/pull/185) [`114777e`](https://github.com/MoonshotAI/kimi-code/commit/114777e859680f807375760271533e2dc396af5d) - Split `RuntimeConfig` into `Kaos` and `ToolServices` and update all references accordingly. + +- [#189](https://github.com/MoonshotAI/kimi-code/pull/189) [`564721f`](https://github.com/MoonshotAI/kimi-code/commit/564721fe16e582b2774835b01dec799cbb1d0122) - Clarify subagent and background task stop messages as user-initiated. + +- [#206](https://github.com/MoonshotAI/kimi-code/pull/206) [`07d51e4`](https://github.com/MoonshotAI/kimi-code/commit/07d51e4add6ee23a56fb8745aa7754f05f3d6d36) - Relocate shared tool service typing to the tool support layer. + +- [#200](https://github.com/MoonshotAI/kimi-code/pull/200) [`5159af3`](https://github.com/MoonshotAI/kimi-code/commit/5159af341c7d388a158e41afb470a2281333f329) - Keep blocked prompt hook conversations available to subsequent model turns. + +- Updated dependencies [[`2388f20`](https://github.com/MoonshotAI/kimi-code/commit/2388f20bb3d039e89caefca159801059b90dc64a), [`13e0fff`](https://github.com/MoonshotAI/kimi-code/commit/13e0fff462e2ddbec5fb4c9de8ed8e6068db09f1), [`e280f33`](https://github.com/MoonshotAI/kimi-code/commit/e280f33daf7fbf1271c872dcb224737ec9518f73), [`3da4dae`](https://github.com/MoonshotAI/kimi-code/commit/3da4daeadee39573c7eeede30fa9465b411be3e2)]: + - @moonshot-ai/kosong@0.2.3 + ## 0.4.0 ### Minor Changes diff --git a/packages/agent-core/package.json b/packages/agent-core/package.json index c73930cf47..8fe9dcb554 100644 --- a/packages/agent-core/package.json +++ b/packages/agent-core/package.json @@ -1,6 +1,6 @@ { "name": "@moonshot-ai/agent-core", - "version": "0.4.0", + "version": "0.5.0", "private": true, "description": "The unified agent engine for Kimi", "license": "MIT", diff --git a/packages/kosong/CHANGELOG.md b/packages/kosong/CHANGELOG.md index cf315481a1..e11cadc7c8 100644 --- a/packages/kosong/CHANGELOG.md +++ b/packages/kosong/CHANGELOG.md @@ -1,5 +1,17 @@ # @moonshot-ai/kosong +## 0.2.3 + +### Patch Changes + +- [#213](https://github.com/MoonshotAI/kimi-code/pull/213) [`2388f20`](https://github.com/MoonshotAI/kimi-code/commit/2388f20bb3d039e89caefca159801059b90dc64a) - Handle context overflow errors consistently across provider responses. + +- [#222](https://github.com/MoonshotAI/kimi-code/pull/222) [`13e0fff`](https://github.com/MoonshotAI/kimi-code/commit/13e0fff462e2ddbec5fb4c9de8ed8e6068db09f1) - Preserve unsigned assistant thinking when serializing history for the Anthropic provider, instead of dropping it. Anthropic-compatible backends (e.g. Kimi) stream thinking without a signature yet reject a tool-call turn whose thinking is missing ("thinking is enabled but reasoning_content is missing"). api.anthropic.com always supplies a signature, so its behavior is unchanged. + +- [#207](https://github.com/MoonshotAI/kimi-code/pull/207) [`e280f33`](https://github.com/MoonshotAI/kimi-code/commit/e280f33daf7fbf1271c872dcb224737ec9518f73) - Recover from provider model token limit errors during long conversations. + +- [#201](https://github.com/MoonshotAI/kimi-code/pull/201) [`3da4dae`](https://github.com/MoonshotAI/kimi-code/commit/3da4daeadee39573c7eeede30fa9465b411be3e2) - Automatically retry when a model response stream is dropped mid-flight (a `terminated` error) instead of failing the turn. + ## 0.2.2 ### Patch Changes diff --git a/packages/kosong/package.json b/packages/kosong/package.json index 9c9558a506..e65fd7ced1 100644 --- a/packages/kosong/package.json +++ b/packages/kosong/package.json @@ -1,6 +1,6 @@ { "name": "@moonshot-ai/kosong", - "version": "0.2.2", + "version": "0.2.3", "private": true, "description": "The LLM abstraction layer for modern AI agent applications", "license": "MIT", diff --git a/packages/migration-legacy/CHANGELOG.md b/packages/migration-legacy/CHANGELOG.md index 0adac35e5e..a7665e2cf3 100644 --- a/packages/migration-legacy/CHANGELOG.md +++ b/packages/migration-legacy/CHANGELOG.md @@ -1,5 +1,12 @@ # @moonshot-ai/migration-legacy +## 0.1.5 + +### Patch Changes + +- Updated dependencies [[`f3269ea`](https://github.com/MoonshotAI/kimi-code/commit/f3269eacb9da9a6b66f578a864d0b9bdfb1d6d81), [`54590d3`](https://github.com/MoonshotAI/kimi-code/commit/54590d3d464b05eed0837a725b37f3aa491c09af), [`b5981a5`](https://github.com/MoonshotAI/kimi-code/commit/b5981a523b66ff2fd5f09a7e66075628b94683c8), [`2388f20`](https://github.com/MoonshotAI/kimi-code/commit/2388f20bb3d039e89caefca159801059b90dc64a), [`2bbea75`](https://github.com/MoonshotAI/kimi-code/commit/2bbea75ee4c0b11f12d2921061774426df40479a), [`96bbc47`](https://github.com/MoonshotAI/kimi-code/commit/96bbc471c4aca9526e4dcfe00e6bad2b653bbe66), [`8c77cfa`](https://github.com/MoonshotAI/kimi-code/commit/8c77cfab62617e07b38f8514a8ef7cddfd9f1069), [`bab2da7`](https://github.com/MoonshotAI/kimi-code/commit/bab2da7b1c785d6deba25decb1411f8f5a70de8c), [`3a0e060`](https://github.com/MoonshotAI/kimi-code/commit/3a0e06031ac6dfde148f64906a06cfe820ad9c63), [`bab2da7`](https://github.com/MoonshotAI/kimi-code/commit/bab2da7b1c785d6deba25decb1411f8f5a70de8c), [`8913440`](https://github.com/MoonshotAI/kimi-code/commit/891344054111a05171963cfa524ef749c2855321), [`e280f33`](https://github.com/MoonshotAI/kimi-code/commit/e280f33daf7fbf1271c872dcb224737ec9518f73), [`1873859`](https://github.com/MoonshotAI/kimi-code/commit/1873859b0ef093a956dfd19e1530e920e7118160), [`114777e`](https://github.com/MoonshotAI/kimi-code/commit/114777e859680f807375760271533e2dc396af5d), [`564721f`](https://github.com/MoonshotAI/kimi-code/commit/564721fe16e582b2774835b01dec799cbb1d0122), [`07d51e4`](https://github.com/MoonshotAI/kimi-code/commit/07d51e4add6ee23a56fb8745aa7754f05f3d6d36), [`537cf20`](https://github.com/MoonshotAI/kimi-code/commit/537cf20d18b26d4238f963f793f8a8ef085ac97e), [`5159af3`](https://github.com/MoonshotAI/kimi-code/commit/5159af341c7d388a158e41afb470a2281333f329)]: + - @moonshot-ai/agent-core@0.5.0 + ## 0.1.4 ### Patch Changes diff --git a/packages/migration-legacy/package.json b/packages/migration-legacy/package.json index d56348efe8..724adba442 100644 --- a/packages/migration-legacy/package.json +++ b/packages/migration-legacy/package.json @@ -1,6 +1,6 @@ { "name": "@moonshot-ai/migration-legacy", - "version": "0.1.4", + "version": "0.1.5", "description": "Migrate kimi-cli (~/.kimi/) data into kimi-code (~/.kimi-code/).", "license": "MIT", "type": "module", diff --git a/packages/node-sdk/CHANGELOG.md b/packages/node-sdk/CHANGELOG.md index 710c5e2823..8b4cb70830 100644 --- a/packages/node-sdk/CHANGELOG.md +++ b/packages/node-sdk/CHANGELOG.md @@ -1,5 +1,17 @@ # @moonshot-ai/kimi-code-sdk +## 0.4.0 + +### Minor Changes + +- [#221](https://github.com/MoonshotAI/kimi-code/pull/221) [`bab2da7`](https://github.com/MoonshotAI/kimi-code/commit/bab2da7b1c785d6deba25decb1411f8f5a70de8c) - Install plugins directly from GitHub repository URLs, and surface each install's origin and trust level (kimi-official, curated, third-party) in the plugin manager. + +- [#118](https://github.com/MoonshotAI/kimi-code/pull/118) [`8913440`](https://github.com/MoonshotAI/kimi-code/commit/891344054111a05171963cfa524ef749c2855321) - Support querying sessions by sessionId or workDir in listSessions, and show a helpful cd command when resuming a session from a different working directory. + +### Patch Changes + +- [#221](https://github.com/MoonshotAI/kimi-code/pull/221) [`bab2da7`](https://github.com/MoonshotAI/kimi-code/commit/bab2da7b1c785d6deba25decb1411f8f5a70de8c) - Restrict plugin trust badges to Kimi-hosted plugin CDN URL patterns. + ## 0.3.0 ### Minor Changes diff --git a/packages/node-sdk/package.json b/packages/node-sdk/package.json index c0f739645e..93e91aa737 100644 --- a/packages/node-sdk/package.json +++ b/packages/node-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@moonshot-ai/kimi-code-sdk", - "version": "0.3.0", + "version": "0.4.0", "private": true, "description": "TypeScript SDK for the Kimi Code Agent", "license": "MIT",