v1.29.0
- Core: Support hierarchical
AGENTS.mdloading — the CLI now discovers and mergesAGENTS.mdfiles from the git project root down to the working directory, including.kimi/AGENTS.mdat each level; deeper files take priority under a 32 KiB budget cap, ensuring the most specific instructions are never truncated - Core: Fix empty sessions lingering on disk after exit — sessions created but never used are now cleaned up on all exit paths (failure exit, session switch, unexpected errors), not just on successful exit
- Shell: Add
KIMI_CLI_PASTE_CHAR_THRESHOLDandKIMI_CLI_PASTE_LINE_THRESHOLDenvironment variables to control when pasted text is folded into a placeholder — lowering these thresholds works around CJK input method breakage after multiline paste on some terminals (e.g., XShell over SSH) - Shell: Fix diff panel rendering corruption on terminals without truecolor support (e.g. Xshell) —
render_to_ansino longer hardcodes 24-bit color; Rich now auto-detects terminal capability viaCOLORTERM/TERMenvironment variables - Web: Fix white screen after CLI upgrade caused by browser caching stale
index.html— the server now returnsCache-Control: no-cachefor HTML andimmutablefor hashed assets, preventing 404s on renamed chunks - Core: Fix file write converting LF to CRLF on Windows —
writetextnow opens files withnewline=""to prevent Python's universal newline translation from silently converting\nto\r\n - Core: Support
socks://proxy scheme — proxy tools like V2RayN setALL_PROXY=socks://...which httpx/aiohttp don't recognise; the CLI now normalisessocks://tosocks5://at startup so all HTTP clients and subprocesses work correctly behind a SOCKS proxy - Shell: Add
/title(alias/rename) command to manually set session titles — titles are now stored instate.jsonalongside other session state; legacymetadata.jsonis automatically migrated on first load - Shell: Fix garbled pager output when
MANPAGERis set (e.g.bat) — the console pager now ignoresMANPAGERand delegates topydoc.pager(), preservingPAGERand all platform-specific fallbacks - Explore: Enhance explore agent with specialist role, thoroughness levels, and automatic environment context — explore agents now gather repository environment information at launch to improve investigation quality; the main agent is guided to prefer explore for codebase research and plan mode encourages explore-first investigation
- Shell: Fix tool call display showing raw OSC 8 escape bytes (e.g.
8;id=391551;https://…) instead of clean text — hyperlink sequences are now wrapped as zero-width escapes for prompt_toolkit compatibility, preserving clickable links in supported terminals - Core: Add OS and shell information to the system prompt — the model now knows which platform it is running on and receives a Windows-specific instruction to prefer built-in tools over Shell commands, preventing Linux command errors in PowerShell
- Shell: Fix
commandparameter description saying "bash command" regardless of platform — the description is now platform-neutral - Web: Fix auto-title overwriting manual session rename — when a user renames a session through the web UI, the new title is now preserved and no longer replaced by the auto-generated title
Fetched June 4, 2026


