Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 31 Jul 13:20
· 168 commits to main since this release

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 /model without 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 --json for a versioned JSONL event stream suitable for automation.
  • --allow-all-tools authorizes 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 update for 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 --skills is now kana skills install.
  • kana install --force is now kana reset; use kana skills reinstall when only bundled Skills need to be restored.
  • /memory show and /memory compact are replaced by the interactive /memory flow.

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 | sh

After installing v0.2.0, future releases can be installed with kana update.

Full changelog: v0.1.3...v0.2.0