v0.2.0
Kana v0.2.0 is the largest Kana release so far. It adds a second model provider, a complete MCP stack, and a shared runtime for interactive and automated work.
Highlights
OpenAI Codex and live model switching
- Authenticate with
kana auth login openai-codex. - Switch provider, model, and reasoning effort from
/modelwithout losing the current conversation. - DeepSeek remains the default, and legacy
[model]configuration stays compatible.
MCP from local processes to authenticated HTTP
- Connect stdio servers and MCP 2025-11-25 Streamable HTTP servers.
- Manage servers from
/mcp, with OAuth 2.0/PKCE, per-server proxies, scoped authorization, and bounded tool results. - Optional servers fail independently; required servers fail closed.
Headless agent execution
- Run complete agent turns with
kana exec, including stdin prompts and session resume. - Use
--jsonfor a versioned JSONL event stream suitable for automation. --allow-all-toolsauthorizes every available tool without creating file-system or process isolation. Use it only in controlled environments.
Also included
- Automatic and manual context compaction with durable checkpoints.
- Incremental V3 session journals and interrupted-run recovery.
- Parallel tool execution with deadlines, cancellation, and hardened lifecycle handling.
- New list, glob, and grep tools, plus explicit file overwrite support.
- A redesigned TUI command flow, improved bottom layout, and interactive memory management.
- Skills installation, synchronization, and recovery improvements.
- Built-in update checks and
kana updatefor future upgrades. - A reorganized internal architecture and fully rewritten Chinese and English READMEs.
Breaking changes
- Kana now reads V3 sessions only. Existing V1/V2 session files are preserved but no longer appear or load in v0.2.0. Keep an older binary if you still need to access them.
kana install --skillsis nowkana skills install.kana install --forceis nowkana reset; usekana skills reinstallwhen only bundled Skills need to be restored./memory showand/memory compactare replaced by the interactive/memoryflow.
Upgrade
Kana v0.1.3 does not include the self-updater, so upgrade once with the install script:
curl -fsSL https://raw.githubusercontent.com/longyijdos/kana/main/install.sh | shAfter installing v0.2.0, future releases can be installed with kana update.
Full changelog: v0.1.3...v0.2.0