Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/anthropic-max-tokens-fallback.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/kimi-code": patch
---

Fix 400 rejections from Anthropic-compatible providers that enforce a lower max_tokens output limit than the default 128000 fallback. Custom endpoints now use a conservative 32768 default, and a rejected request is automatically retried with the provider's declared limit.
5 changes: 5 additions & 0 deletions .changeset/bound-git-diff-output.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/kimi-code": patch
---

Limit file diff output by UTF-8 byte size while it is read so large changes no longer cause excessive memory use.
5 changes: 5 additions & 0 deletions .changeset/calm-usage-count.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/kimi-code": patch
---

Prevent partial OpenAI-compatible usage reports from producing negative uncached input token counts.
5 changes: 5 additions & 0 deletions .changeset/clean-catalog-payloads.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/kimi-code-sdk": patch
---

Reject invalid catalog payloads consistently.
5 changes: 5 additions & 0 deletions .changeset/fix-acp-multi-question-prompts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/kimi-code": patch
---

Fix ACP clients dropping questions after the first prompt and preserve multi-select answers and skipped-question notes.
5 changes: 5 additions & 0 deletions .changeset/fix-bun-global-install-detection.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/kimi-code": patch
---

Fix install-source detection for bun global installs by recognizing the `~/.bun/node_modules/` layout used by recent bun versions.
5 changes: 5 additions & 0 deletions .changeset/fix-headless-signal-output.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/kimi-code": patch
---

Preserve buffered headless output when a signal arrives during prompt cleanup.
7 changes: 7 additions & 0 deletions .changeset/fix-interrupted-thinking-resume.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@moonshot-ai/agent-core": patch
"@moonshot-ai/kimi-code": patch
"@moonshot-ai/kosong": patch
---

Fix resumed sessions failing after an assistant response is interrupted during thinking.
5 changes: 5 additions & 0 deletions .changeset/fix-kimi-mcp-required-schema.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/kimi-code": patch
---

Fix Kimi-compatible APIs rejecting MCP tools with malformed required fields.
5 changes: 5 additions & 0 deletions .changeset/git-status-untracked-all.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/agent-core-v2": patch
---

Fix git status collapsing untracked directories: files created inside an untracked directory now appear individually in the Changes panel instead of being hidden behind the directory entry.
5 changes: 5 additions & 0 deletions .changeset/globstar-zero-directories.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/kimi-code": patch
---

Fix glob patterns with `**/` so they also match files in the starting directory.
6 changes: 6 additions & 0 deletions .changeset/inline-multi-skill-prompts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@moonshot-ai/kimi-code": minor
"@moonshot-ai/kimi-code-sdk": minor
---

Add atomic multi-Skill activation within a single prompt. Type multiple `/skill:<name>` tokens in one message to activate them together.
5 changes: 5 additions & 0 deletions .changeset/kkm-release-brand.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/kimi-code": patch
---

Add the `kkm` command and publish native KKM release artifacts while retaining `kimi` as a compatibility alias.
5 changes: 5 additions & 0 deletions .changeset/mcp-http1-remote-transports.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/kimi-code": patch
---

Fix remote MCP servers over HTTP/2 hanging during startup: the stream and requests now use HTTP/1.1 connections.
5 changes: 5 additions & 0 deletions .changeset/pi-tui-above-viewport-inplace.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/pi-tui": patch
---

Skip the destructive full redraw when lines above the viewport change in place, so scrollback and scroll position survive above-viewport status ticks.
5 changes: 5 additions & 0 deletions .changeset/quiet-pandas-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/kimi-code": patch
---

Fix Python-based MCP servers failing to start under HTTP proxies while preserving Node launchers' IPv6 loopback bypass.
5 changes: 5 additions & 0 deletions .changeset/quiet-terminal-exits.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/kimi-code": patch
---

Persist terminal stream failure diagnostics before emergency exits.
8 changes: 8 additions & 0 deletions .changeset/skill-load-failed-warning.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@moonshot-ai/kimi-code": patch
"@moonshot-ai/agent-core": patch
"@moonshot-ai/agent-core-v2": patch
"@moonshot-ai/kap-server": patch
---

Fix a skill with a `SKILL.md` that fails to parse (e.g. invalid frontmatter) being dropped from the skill list with no signal. A session-start warning now names the skill file and the reason it was not loaded, in both the CLI/TUI engine and `kimi web`/print mode.
6 changes: 6 additions & 0 deletions .changeset/skill-load-warning.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@moonshot-ai/agent-core": patch
"@moonshot-ai/kimi-code": patch
---

Surface a warning when a skill file fails to parse at session start, instead of dropping it silently. The warning names the offending file and appears in the TUI status line.
5 changes: 5 additions & 0 deletions .changeset/skip-legacy-wire-records.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/kimi-code": patch
---

Fix spurious "Unknown wire record type" errors when restoring sessions whose history contains records the engine deliberately no longer replays, such as those from the retired micro-compaction experiment.
5 changes: 5 additions & 0 deletions .changeset/steady-session-metadata.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/kimi-code": patch
---

Write session metadata atomically to avoid unreadable sessions after interrupted updates.
5 changes: 5 additions & 0 deletions .changeset/stream-agent-task-events.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/kimi-code": patch
---

Stream live subagent events into the background task output buffer. While a subagent launched through the `Agent` tool is still running, `TaskOutput` and the `/tasks` panel now show its turns, tool calls, and thinking/assistant text as they happen, instead of only the final summary after completion.
5 changes: 5 additions & 0 deletions .changeset/stream-wire-jsonl-reads.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/kimi-code": patch
---

Read session wire logs line-by-line instead of loading whole files into memory, cutting peak memory when serving session snapshots, history transcripts, and debug exports of long sessions.
5 changes: 5 additions & 0 deletions .changeset/strict-teams-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/pi-tui": patch
---

fix(pi-tui): skip Kitty keyboard protocol on Windows Terminal to prevent Cyrillic doubling
5 changes: 5 additions & 0 deletions .changeset/tidy-rivers-merge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/kimi-code": patch
---

Fix streamed assistant replies rendering one token per line with OpenAI-compatible providers that pad empty reasoning fields into every chunk.
5 changes: 5 additions & 0 deletions .changeset/tool-args-type-coercion.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/kimi-code": patch
---

Fix tool calls failing validation when a model sends numeric or boolean arguments as strings.
5 changes: 5 additions & 0 deletions .changeset/tui-usage-flicker.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/kimi-code": patch
---

Fix the TUI flickering and losing scroll position when live agent status updates continue above the visible viewport, such as after opening /usage during a running task.
5 changes: 5 additions & 0 deletions .changeset/windows-git-bash-path-bridge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/kimi-code": patch
---

Fix file tools failing to open files referenced by Git Bash paths such as /tmp or /home on Windows.
8 changes: 4 additions & 4 deletions .github/workflows/_native-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
description: 'Prefix for uploaded artifact name'
required: false
type: string
default: 'kimi-code-native'
default: 'kkm-native'
retention-days:
description: 'Artifact retention in days'
required: false
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
if: runner.os == 'macOS' && inputs.sign-macos
uses: ./.github/actions/macos-notarize
with:
binary-path: ${{ github.workspace }}/apps/kimi-code/dist-native/bin/${{ matrix.target }}/kimi
binary-path: ${{ github.workspace }}/apps/kimi-code/dist-native/bin/${{ matrix.target }}/kkm
notarization-key-p8: ${{ secrets.APPLE_NOTARIZATION_KEY_P8 }}
notarization-key-id: ${{ secrets.APPLE_NOTARIZATION_KEY_ID }}
notarization-issuer-id: ${{ secrets.APPLE_NOTARIZATION_ISSUER_ID }}
Expand All @@ -125,6 +125,6 @@ jobs:
name: ${{ inputs.upload-artifact-prefix }}-${{ matrix.target }}
retention-days: ${{ inputs.retention-days }}
path: |
apps/kimi-code/dist-native/artifacts/kimi-code-${{ matrix.target }}.zip
apps/kimi-code/dist-native/artifacts/kimi-code-${{ matrix.target }}.zip.sha256
apps/kimi-code/dist-native/artifacts/kkm-${{ matrix.target }}.zip
apps/kimi-code/dist-native/artifacts/kkm-${{ matrix.target }}.zip.sha256
if-no-files-found: ignore
66 changes: 66 additions & 0 deletions .github/workflows/kkm-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: KKM Release

on:
push:
branches:
- main
paths:
- .github/workflows/kkm-release.yml
- apps/kimi-code/KKM_RELEASE

permissions:
contents: write

jobs:
native-artifacts:
name: Build KKM native artifacts
uses: ./.github/workflows/_native-build.yml
with:
upload-artifact-prefix: kkm-native
retention-days: 7
sign-macos: false

publish:
name: Publish KKM release
needs: native-artifacts
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v6

- name: Download native artifacts
uses: actions/download-artifact@v8
with:
pattern: kkm-native-*
path: dist-kkm-release
merge-multiple: true

- name: Resolve release tag
id: release
shell: bash
run: echo "tag=$(tr -d '[:space:]' < apps/kimi-code/KKM_RELEASE)" >> "$GITHUB_OUTPUT"

- name: Produce manifest
env:
RELEASE_TAG: ${{ steps.release.outputs.tag }}
shell: bash
run: |
test "$(find dist-kkm-release -maxdepth 1 -name 'kkm-*.zip' | wc -l)" -eq 6
test "$(find dist-kkm-release -maxdepth 1 -name 'kkm-*.zip.sha256' | wc -l)" -eq 6
node apps/kimi-code/scripts/native/produce-manifest.mjs dist-kkm-release "$RELEASE_TAG"

- name: Create or update GitHub release
env:
GH_TOKEN: ${{ github.token }}
RELEASE_TAG: ${{ steps.release.outputs.tag }}
shell: bash
run: |
if gh release view "$RELEASE_TAG" >/dev/null 2>&1; then
gh release upload "$RELEASE_TAG" dist-kkm-release/* --clobber
else
gh release create "$RELEASE_TAG" dist-kkm-release/* \
--target "$GITHUB_SHA" \
--title "KKM ${RELEASE_TAG#v}" \
--generate-notes
fi
2 changes: 1 addition & 1 deletion .github/workflows/manual-native-bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build:
uses: ./.github/workflows/_native-build.yml
with:
upload-artifact-prefix: kimi-code-native
upload-artifact-prefix: kkm-native
retention-days: 3
sign-macos: true
secrets:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ coverage/
.vitest-results/
.vite/
.DS_Store
.idea/
.playwright-mcp/
.claude
.conductor
Expand Down
Loading
Loading