From 5452eb30673256cf674daee9f4cec1314c1ad861 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 17 Jul 2026 12:35:33 +0000 Subject: [PATCH] ci: release packages --- .changeset/add-copy-command.md | 5 --- .../apikey-managed-provider-model-refresh.md | 5 --- .changeset/btw-panel-compaction-priority.md | 5 --- .changeset/debug-rpc-surface.md | 5 --- .changeset/debug-zip-timestamped-filename.md | 5 --- .changeset/fix-agents-md-symlink.md | 5 --- .../fix-whitespace-thinking-blank-line.md | 5 --- .../fix-windows-workspace-duplicates.md | 5 --- .changeset/great-math-spoons.md | 5 --- .changeset/minidb-durability-hardening.md | 6 --- .changeset/minidb-perf-hardening.md | 6 --- .changeset/minidb-reader-catchup.md | 6 --- .changeset/minidb-review-hardening.md | 6 --- .changeset/oauth-connection-error-cause.md | 5 --- .changeset/record-unexecuted-tool-calls.md | 5 --- .changeset/secure-fetch-url-ssrf.md | 5 --- .changeset/web-drop-workspace-git-badges.md | 5 --- .changeset/web-per-model-thinking.md | 5 --- .../web-prompt-queue-stale-attachments.md | 5 --- apps/kimi-code/CHANGELOG.md | 44 +++++++++++++++++++ apps/kimi-code/package.json | 2 +- packages/agent-core-v2/CHANGELOG.md | 7 +++ packages/agent-core-v2/package.json | 2 +- packages/minidb/CHANGELOG.md | 15 +++++++ packages/minidb/package.json | 2 +- 25 files changed, 69 insertions(+), 102 deletions(-) delete mode 100644 .changeset/add-copy-command.md delete mode 100644 .changeset/apikey-managed-provider-model-refresh.md delete mode 100644 .changeset/btw-panel-compaction-priority.md delete mode 100644 .changeset/debug-rpc-surface.md delete mode 100644 .changeset/debug-zip-timestamped-filename.md delete mode 100644 .changeset/fix-agents-md-symlink.md delete mode 100644 .changeset/fix-whitespace-thinking-blank-line.md delete mode 100644 .changeset/fix-windows-workspace-duplicates.md delete mode 100644 .changeset/great-math-spoons.md delete mode 100644 .changeset/minidb-durability-hardening.md delete mode 100644 .changeset/minidb-perf-hardening.md delete mode 100644 .changeset/minidb-reader-catchup.md delete mode 100644 .changeset/minidb-review-hardening.md delete mode 100644 .changeset/oauth-connection-error-cause.md delete mode 100644 .changeset/record-unexecuted-tool-calls.md delete mode 100644 .changeset/secure-fetch-url-ssrf.md delete mode 100644 .changeset/web-drop-workspace-git-badges.md delete mode 100644 .changeset/web-per-model-thinking.md delete mode 100644 .changeset/web-prompt-queue-stale-attachments.md create mode 100644 packages/minidb/CHANGELOG.md diff --git a/.changeset/add-copy-command.md b/.changeset/add-copy-command.md deleted file mode 100644 index 1f3200ea43..0000000000 --- a/.changeset/add-copy-command.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": minor ---- - -Add the /copy slash command to copy the last assistant message to the clipboard. diff --git a/.changeset/apikey-managed-provider-model-refresh.md b/.changeset/apikey-managed-provider-model-refresh.md deleted file mode 100644 index b5439ea64d..0000000000 --- a/.changeset/apikey-managed-provider-model-refresh.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": minor ---- - -Using an API key for Kimi coding models now also fetches the latest model list automatically. diff --git a/.changeset/btw-panel-compaction-priority.md b/.changeset/btw-panel-compaction-priority.md deleted file mode 100644 index fa1741b9b5..0000000000 --- a/.changeset/btw-panel-compaction-priority.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix Esc and Ctrl+C cancelling compaction instead of closing an open /btw panel. diff --git a/.changeset/debug-rpc-surface.md b/.changeset/debug-rpc-surface.md deleted file mode 100644 index 0162b8a9ea..0000000000 --- a/.changeset/debug-rpc-surface.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Mount the dev-only /api/v1/debug RPC surface behind the --debug-endpoints flag, exposing every scoped service for local debugging on loopback binds. Pass --debug-endpoints to kimi server run to enable it. diff --git a/.changeset/debug-zip-timestamped-filename.md b/.changeset/debug-zip-timestamped-filename.md deleted file mode 100644 index 3ddb2f9559..0000000000 --- a/.changeset/debug-zip-timestamped-filename.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix `/export-debug-zip` and `kimi export` overwriting the previous ZIP archive when run repeatedly on the same session; the default export filename now includes a timestamp. diff --git a/.changeset/fix-agents-md-symlink.md b/.changeset/fix-agents-md-symlink.md deleted file mode 100644 index c33b30f6f8..0000000000 --- a/.changeset/fix-agents-md-symlink.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix AGENTS.md files installed as symbolic links being ignored by the web backend. diff --git a/.changeset/fix-whitespace-thinking-blank-line.md b/.changeset/fix-whitespace-thinking-blank-line.md deleted file mode 100644 index 56c34a4d3e..0000000000 --- a/.changeset/fix-whitespace-thinking-blank-line.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix whitespace-only thinking content rendering as a blank bullet line in the transcript, both while streaming and when replaying session history. diff --git a/.changeset/fix-windows-workspace-duplicates.md b/.changeset/fix-windows-workspace-duplicates.md deleted file mode 100644 index 31e141738c..0000000000 --- a/.changeset/fix-windows-workspace-duplicates.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -web: Fix duplicate workspace groups on Windows when the same folder is opened with different path spellings, such as a different drive-letter casing; all of the folder's sessions now list under the single merged group. diff --git a/.changeset/great-math-spoons.md b/.changeset/great-math-spoons.md deleted file mode 100644 index 74e301a442..0000000000 --- a/.changeset/great-math-spoons.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -web: Fix LaTeX formulas rendering as garbled overlapping text when the web UI is accessed over the network; the server's content security policy now allows the inline styles that math and code highlighting rely on, while scripts remain strictly restricted. diff --git a/.changeset/minidb-durability-hardening.md b/.changeset/minidb-durability-hardening.md deleted file mode 100644 index 1a3a441494..0000000000 --- a/.changeset/minidb-durability-hardening.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/minidb": patch -"@moonshot-ai/kimi-code": patch ---- - -Harden the embedded key-value engine's durability: WAL compaction now always terminates under sustained write storms instead of chasing the tail forever, a committed write can no longer slip through a compaction rotation undetected, torn WAL tails no longer misplace later disk-mode value pointers, read-only opens never create or modify database files or compact under a live writer, corrupt index-definition files no longer force a full rebuild, stale compaction temp files are cleaned on open, and the process lock can no longer be taken over by several processes at once. diff --git a/.changeset/minidb-perf-hardening.md b/.changeset/minidb-perf-hardening.md deleted file mode 100644 index fbff2a2e20..0000000000 --- a/.changeset/minidb-perf-hardening.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/minidb": patch -"@moonshot-ai/kimi-code": patch ---- - -Speed up the embedded key-value engine under stress: queries with skip/limit now stream candidates instead of decoding every match first, LRU eviction picks victims in O(1) instead of scanning every key, bursts of simultaneously expired TTL keys are drained within seconds, existence checks and size counting no longer read values when they only need metadata, and one oversized token can no longer poison the full-text index. diff --git a/.changeset/minidb-reader-catchup.md b/.changeset/minidb-reader-catchup.md deleted file mode 100644 index 72f91bc451..0000000000 --- a/.changeset/minidb-reader-catchup.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/minidb": minor -"@moonshot-ai/kimi-code": patch ---- - -Cluster readers of the embedded key-value engine now catch up incrementally by replaying only newly appended WAL frames after another process writes, instead of fully reopening the shard on every read; cross-process read latency drops by orders of magnitude at larger shard sizes, and readers still fall back to a full reopen after WAL rotation or truncation. diff --git a/.changeset/minidb-review-hardening.md b/.changeset/minidb-review-hardening.md deleted file mode 100644 index a85dbef338..0000000000 --- a/.changeset/minidb-review-hardening.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@moonshot-ai/minidb": patch -"@moonshot-ai/kimi-code": patch ---- - -Keep the embedded key-value engine writable when a WAL compaction rotation fails mid-way instead of wedging it until reopen, stop a rolled-back write from erasing a concurrently committed value for the same key, let the RESP server survive aborted connections, recover after oversized requests, and answer each pipelined command independently, and keep the previous full-text index intact when a postings rebuild fails. diff --git a/.changeset/oauth-connection-error-cause.md b/.changeset/oauth-connection-error-cause.md deleted file mode 100644 index 6765491599..0000000000 --- a/.changeset/oauth-connection-error-cause.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Include the underlying network cause (DNS failure, refused connection, TLS or timeout errors) in OAuth connection error messages instead of a bare "fetch failed". diff --git a/.changeset/record-unexecuted-tool-calls.md b/.changeset/record-unexecuted-tool-calls.md deleted file mode 100644 index b23bf49d3b..0000000000 --- a/.changeset/record-unexecuted-tool-calls.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix repeated request rejections after an interrupted model response by recording tool calls that never ran and closing them with an interrupted result. diff --git a/.changeset/secure-fetch-url-ssrf.md b/.changeset/secure-fetch-url-ssrf.md deleted file mode 100644 index eba3c7622f..0000000000 --- a/.changeset/secure-fetch-url-ssrf.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -Fix the built-in URL fetch tool's network safeguards: crafted domains and redirect chains can no longer reach loopback or internal network services. diff --git a/.changeset/web-drop-workspace-git-badges.md b/.changeset/web-drop-workspace-git-badges.md deleted file mode 100644 index 49c42059d6..0000000000 --- a/.changeset/web-drop-workspace-git-badges.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -web: Remove per-workspace git repo badges and branch labels; branch, PR, and diff status remain shown for the active session. diff --git a/.changeset/web-per-model-thinking.md b/.changeset/web-per-model-thinking.md deleted file mode 100644 index a3d8672b38..0000000000 --- a/.changeset/web-per-model-thinking.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -web: Remember the thinking level per model, fixing an empty and unresponsive thinking picker when the active model does not support a previously stored level. diff --git a/.changeset/web-prompt-queue-stale-attachments.md b/.changeset/web-prompt-queue-stale-attachments.md deleted file mode 100644 index 340604fb20..0000000000 --- a/.changeset/web-prompt-queue-stale-attachments.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonshot-ai/kimi-code": patch ---- - -web: Fix queued messages silently re-sending previously uploaded files when a session is reopened. diff --git a/apps/kimi-code/CHANGELOG.md b/apps/kimi-code/CHANGELOG.md index b54a7b4e0c..ef5c9e17ac 100644 --- a/apps/kimi-code/CHANGELOG.md +++ b/apps/kimi-code/CHANGELOG.md @@ -1,5 +1,49 @@ # @moonshot-ai/kimi-code +## 0.27.0 + +### Minor Changes + +- [#1822](https://github.com/MoonshotAI/kimi-code/pull/1822) [`a5c568d`](https://github.com/MoonshotAI/kimi-code/commit/a5c568dc7a84962bae70a16858709c453fc90a07) Thanks [@liruifengv](https://github.com/liruifengv)! - Add the /copy slash command to copy the last assistant message to the clipboard. + +- [#1824](https://github.com/MoonshotAI/kimi-code/pull/1824) [`bfecd01`](https://github.com/MoonshotAI/kimi-code/commit/bfecd0128fe7d88971a84095e24ef8a56ba34e71) Thanks [@liruifengv](https://github.com/liruifengv)! - Using an API key for Kimi coding models now also fetches the latest model list automatically. + +### Patch Changes + +- [#1811](https://github.com/MoonshotAI/kimi-code/pull/1811) [`cec15e2`](https://github.com/MoonshotAI/kimi-code/commit/cec15e2188b24e0f904e5ca660a2e72c06364647) Thanks [@liruifengv](https://github.com/liruifengv)! - Fix Esc and Ctrl+C cancelling compaction instead of closing an open /btw panel. + +- [#1806](https://github.com/MoonshotAI/kimi-code/pull/1806) [`9b49694`](https://github.com/MoonshotAI/kimi-code/commit/9b496946dcb3c7fa9507e6d5c251c1941e44a316) Thanks [@sailist](https://github.com/sailist)! - Mount the dev-only /api/v1/debug RPC surface behind the --debug-endpoints flag, exposing every scoped service for local debugging on loopback binds. Pass --debug-endpoints to kimi server run to enable it. + +- [#1788](https://github.com/MoonshotAI/kimi-code/pull/1788) [`365ba00`](https://github.com/MoonshotAI/kimi-code/commit/365ba0001de206863ff1de8e106c85d7f187c192) Thanks [@RealKai42](https://github.com/RealKai42)! - Fix `/export-debug-zip` and `kimi export` overwriting the previous ZIP archive when run repeatedly on the same session; the default export filename now includes a timestamp. + +- [#1840](https://github.com/MoonshotAI/kimi-code/pull/1840) [`fa7e4ba`](https://github.com/MoonshotAI/kimi-code/commit/fa7e4ba4218703bb1ef3112ab2493496983b0539) Thanks [@7Sageer](https://github.com/7Sageer)! - Fix AGENTS.md files installed as symbolic links being ignored by the web backend. + +- [#1829](https://github.com/MoonshotAI/kimi-code/pull/1829) [`1b907b0`](https://github.com/MoonshotAI/kimi-code/commit/1b907b07cdcc0e9cba5203fe40dacae85a4b768d) Thanks [@RealKai42](https://github.com/RealKai42)! - Fix whitespace-only thinking content rendering as a blank bullet line in the transcript, both while streaming and when replaying session history. + +- [#1809](https://github.com/MoonshotAI/kimi-code/pull/1809) [`56a321d`](https://github.com/MoonshotAI/kimi-code/commit/56a321d4d127c0b4cf7a3e15e2959ebf3eded192) Thanks [@sailist](https://github.com/sailist)! - web: Fix duplicate workspace groups on Windows when the same folder is opened with different path spellings, such as a different drive-letter casing; all of the folder's sessions now list under the single merged group. + +- [#1847](https://github.com/MoonshotAI/kimi-code/pull/1847) [`56ba8e0`](https://github.com/MoonshotAI/kimi-code/commit/56ba8e0196a3053ad1115a7e8f8b8c4c0cd1b320) Thanks [@wbxl2000](https://github.com/wbxl2000)! - web: Fix LaTeX formulas rendering as garbled overlapping text when the web UI is accessed over the network; the server's content security policy now allows the inline styles that math and code highlighting rely on, while scripts remain strictly restricted. + +- [#1816](https://github.com/MoonshotAI/kimi-code/pull/1816) [`44f3341`](https://github.com/MoonshotAI/kimi-code/commit/44f334191989183d21920f6867c405581347c748) Thanks [@sailist](https://github.com/sailist)! - Harden the embedded key-value engine's durability: WAL compaction now always terminates under sustained write storms instead of chasing the tail forever, a committed write can no longer slip through a compaction rotation undetected, torn WAL tails no longer misplace later disk-mode value pointers, read-only opens never create or modify database files or compact under a live writer, corrupt index-definition files no longer force a full rebuild, stale compaction temp files are cleaned on open, and the process lock can no longer be taken over by several processes at once. + +- [#1816](https://github.com/MoonshotAI/kimi-code/pull/1816) [`44f3341`](https://github.com/MoonshotAI/kimi-code/commit/44f334191989183d21920f6867c405581347c748) Thanks [@sailist](https://github.com/sailist)! - Speed up the embedded key-value engine under stress: queries with skip/limit now stream candidates instead of decoding every match first, LRU eviction picks victims in O(1) instead of scanning every key, bursts of simultaneously expired TTL keys are drained within seconds, existence checks and size counting no longer read values when they only need metadata, and one oversized token can no longer poison the full-text index. + +- [#1816](https://github.com/MoonshotAI/kimi-code/pull/1816) [`44f3341`](https://github.com/MoonshotAI/kimi-code/commit/44f334191989183d21920f6867c405581347c748) Thanks [@sailist](https://github.com/sailist)! - Cluster readers of the embedded key-value engine now catch up incrementally by replaying only newly appended WAL frames after another process writes, instead of fully reopening the shard on every read; cross-process read latency drops by orders of magnitude at larger shard sizes, and readers still fall back to a full reopen after WAL rotation or truncation. + +- [#1816](https://github.com/MoonshotAI/kimi-code/pull/1816) [`44f3341`](https://github.com/MoonshotAI/kimi-code/commit/44f334191989183d21920f6867c405581347c748) Thanks [@sailist](https://github.com/sailist)! - Keep the embedded key-value engine writable when a WAL compaction rotation fails mid-way instead of wedging it until reopen, stop a rolled-back write from erasing a concurrently committed value for the same key, let the RESP server survive aborted connections, recover after oversized requests, and answer each pipelined command independently, and keep the previous full-text index intact when a postings rebuild fails. + +- [#1808](https://github.com/MoonshotAI/kimi-code/pull/1808) [`b53e00d`](https://github.com/MoonshotAI/kimi-code/commit/b53e00db91872efc602743d07d2283f7938eaea2) Thanks [@wbxl2000](https://github.com/wbxl2000)! - Include the underlying network cause (DNS failure, refused connection, TLS or timeout errors) in OAuth connection error messages instead of a bare "fetch failed". + +- [#1790](https://github.com/MoonshotAI/kimi-code/pull/1790) [`373abb0`](https://github.com/MoonshotAI/kimi-code/commit/373abb02f03ef817e2e1937e1cdc4423ef0cd149) Thanks [@RealKai42](https://github.com/RealKai42)! - Fix repeated request rejections after an interrupted model response by recording tool calls that never ran and closing them with an interrupted result. + +- [#1791](https://github.com/MoonshotAI/kimi-code/pull/1791) [`3144972`](https://github.com/MoonshotAI/kimi-code/commit/31449728b72df94e22bcb2de350a1e7624895e30) Thanks [@sailist](https://github.com/sailist)! - Fix the built-in URL fetch tool's network safeguards: crafted domains and redirect chains can no longer reach loopback or internal network services. + +- [#1787](https://github.com/MoonshotAI/kimi-code/pull/1787) [`319001a`](https://github.com/MoonshotAI/kimi-code/commit/319001ae5cde6df383579214a126564b9ed2b114) Thanks [@sailist](https://github.com/sailist)! - web: Remove per-workspace git repo badges and branch labels; branch, PR, and diff status remain shown for the active session. + +- [#1838](https://github.com/MoonshotAI/kimi-code/pull/1838) [`9e12484`](https://github.com/MoonshotAI/kimi-code/commit/9e1248416faa22d9f0b777b91ad092bbf1e19182) Thanks [@wbxl2000](https://github.com/wbxl2000)! - web: Remember the thinking level per model, fixing an empty and unresponsive thinking picker when the active model does not support a previously stored level. + +- [#1833](https://github.com/MoonshotAI/kimi-code/pull/1833) [`03021b6`](https://github.com/MoonshotAI/kimi-code/commit/03021b6db7166c750dd34043edaa85c423d3202f) Thanks [@wbxl2000](https://github.com/wbxl2000)! - web: Fix queued messages silently re-sending previously uploaded files when a session is reopened. + ## 0.26.0 ### Minor Changes diff --git a/apps/kimi-code/package.json b/apps/kimi-code/package.json index 9fb63d05ac..e2c207c79b 100644 --- a/apps/kimi-code/package.json +++ b/apps/kimi-code/package.json @@ -1,6 +1,6 @@ { "name": "@moonshot-ai/kimi-code", - "version": "0.26.0", + "version": "0.27.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 index fa54d746bf..f8d759fa22 100644 --- a/packages/agent-core-v2/CHANGELOG.md +++ b/packages/agent-core-v2/CHANGELOG.md @@ -1,5 +1,12 @@ # @moonshot-ai/agent-core-v2 +## 0.1.1 + +### Patch Changes + +- Updated dependencies [[`44f3341`](https://github.com/MoonshotAI/kimi-code/commit/44f334191989183d21920f6867c405581347c748), [`44f3341`](https://github.com/MoonshotAI/kimi-code/commit/44f334191989183d21920f6867c405581347c748), [`44f3341`](https://github.com/MoonshotAI/kimi-code/commit/44f334191989183d21920f6867c405581347c748), [`44f3341`](https://github.com/MoonshotAI/kimi-code/commit/44f334191989183d21920f6867c405581347c748)]: + - @moonshot-ai/minidb@0.2.0 + ## 0.1.0 ### Minor Changes diff --git a/packages/agent-core-v2/package.json b/packages/agent-core-v2/package.json index 6953771251..0f469f2f1f 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.1.0", + "version": "0.1.1", "private": true, "description": "The unified agent engine for Kimi (v2 — DI Scope architecture)", "license": "MIT", diff --git a/packages/minidb/CHANGELOG.md b/packages/minidb/CHANGELOG.md new file mode 100644 index 0000000000..f46ba96d5d --- /dev/null +++ b/packages/minidb/CHANGELOG.md @@ -0,0 +1,15 @@ +# @moonshot-ai/minidb + +## 0.2.0 + +### Minor Changes + +- [#1816](https://github.com/MoonshotAI/kimi-code/pull/1816) [`44f3341`](https://github.com/MoonshotAI/kimi-code/commit/44f334191989183d21920f6867c405581347c748) Thanks [@sailist](https://github.com/sailist)! - Cluster readers of the embedded key-value engine now catch up incrementally by replaying only newly appended WAL frames after another process writes, instead of fully reopening the shard on every read; cross-process read latency drops by orders of magnitude at larger shard sizes, and readers still fall back to a full reopen after WAL rotation or truncation. + +### Patch Changes + +- [#1816](https://github.com/MoonshotAI/kimi-code/pull/1816) [`44f3341`](https://github.com/MoonshotAI/kimi-code/commit/44f334191989183d21920f6867c405581347c748) Thanks [@sailist](https://github.com/sailist)! - Harden the embedded key-value engine's durability: WAL compaction now always terminates under sustained write storms instead of chasing the tail forever, a committed write can no longer slip through a compaction rotation undetected, torn WAL tails no longer misplace later disk-mode value pointers, read-only opens never create or modify database files or compact under a live writer, corrupt index-definition files no longer force a full rebuild, stale compaction temp files are cleaned on open, and the process lock can no longer be taken over by several processes at once. + +- [#1816](https://github.com/MoonshotAI/kimi-code/pull/1816) [`44f3341`](https://github.com/MoonshotAI/kimi-code/commit/44f334191989183d21920f6867c405581347c748) Thanks [@sailist](https://github.com/sailist)! - Speed up the embedded key-value engine under stress: queries with skip/limit now stream candidates instead of decoding every match first, LRU eviction picks victims in O(1) instead of scanning every key, bursts of simultaneously expired TTL keys are drained within seconds, existence checks and size counting no longer read values when they only need metadata, and one oversized token can no longer poison the full-text index. + +- [#1816](https://github.com/MoonshotAI/kimi-code/pull/1816) [`44f3341`](https://github.com/MoonshotAI/kimi-code/commit/44f334191989183d21920f6867c405581347c748) Thanks [@sailist](https://github.com/sailist)! - Keep the embedded key-value engine writable when a WAL compaction rotation fails mid-way instead of wedging it until reopen, stop a rolled-back write from erasing a concurrently committed value for the same key, let the RESP server survive aborted connections, recover after oversized requests, and answer each pipelined command independently, and keep the previous full-text index intact when a postings rebuild fails. diff --git a/packages/minidb/package.json b/packages/minidb/package.json index 1974c8466f..ad8d807db9 100644 --- a/packages/minidb/package.json +++ b/packages/minidb/package.json @@ -1,6 +1,6 @@ { "name": "@moonshot-ai/minidb", - "version": "0.1.0", + "version": "0.2.0", "private": true, "description": "A pure-Node.js embedded key-value database mixing Redis-style in-memory KV with SQLite-style durable persistence (WAL + snapshot).", "license": "MIT",