Skip to content

Releases: Microck/kagi-cli

v0.14.2

Choose a tag to compare

@github-actions github-actions released this 06 Jul 21:39

[0.14.2]

Fixed

  • Assistant thread list, thread get, thread export, and thread delete now use Kagi's current Assistant conversation API, so new assistant.kagi.com/chat/<uuid> chats work instead of failing on missing legacy stream frames.

v0.14.1

Choose a tag to compare

@github-actions github-actions released this 04 Jul 16:37

[0.14.1]

Fixed

  • Assistant thread_open no longer fails on new threads after Kagi's backend URL change. When the thread.json stream frame is absent, the parser now falls back to the thread.html frame to extract thread metadata. The error message for missing thread frames now lists which stream tags were received to aid future debugging.

v0.14.0

Choose a tag to compare

@github-actions github-actions released this 29 Jun 12:07

[0.14.0]

Added

  • kagi auth now offers to install the Kagi MCP server after credentials are saved.
  • Added kagi mcp install, kagi mcp setup, and kagi mcp auth to configure Kagi MCP for supported AI agents without starting the stdio MCP server.
  • Added guided MCP setup for Claude Code, Claude Desktop, Codex, Cursor, VS Code, Windsurf, Gemini CLI, OpenCode, Cline, Roo Code, Droid, and Antigravity CLI.

Changed

  • MCP setup merges Kagi into existing agent configuration files and preserves unrelated MCP servers instead of replacing the full config.

v0.13.0

Choose a tag to compare

@github-actions github-actions released this 29 Jun 00:29

[0.13.0]

Added

  • kagi mcp now exposes CLI-parity read/query tools for Search, batch search, Summarize, Extract, Quick Answer, News, Assistant, Translate, FastGPT, enrichment, Small Web, lenses, custom bangs, redirects, auth status, history, and local site preferences.
  • Added kagi mcp --default-output <FORMAT> so MCP clients can set a server-wide default such as toon while individual tool calls can still override output where supported.
  • Added kagi mcp --enable-mutating-tools to opt into account or local-state mutation tools, including lens, custom bang, redirect, site preference, Assistant settings, and kagi_cli passthrough workflows.

Changed

  • MCP tool calls now return JSON-RPC errors for unsupported tools and recover cleanly from malformed JSON input without stopping the server.
  • MCP Extract, Assistant thread export, and other explicit JSON output modes now honor the caller's requested JSON format even when the server default output is TOON or compact.

Fixed

  • kagi_cli MCP passthrough no longer inherits the open MCP stdin connection when no explicit stdin payload is supplied, preventing stdin-reading commands from hanging the server.
  • kagi_batch_search now rejects concurrency: 0 before spawning workers instead of creating a zero-permit semaphore that never completes.

v0.12.0

Choose a tag to compare

@github-actions github-actions released this 28 Jun 22:25
df84610

[0.12.0]

Added

  • kagi assistant now supports built-in and file-backed JSON contracts for prompt responses, validates the final Assistant output before printing it, and makes one repair attempt when the model returns invalid JSON.
  • CLI failures can opt into structured JSON error envelopes with --error-format json or KAGI_ERROR_FORMAT=json.
  • kagi search --lens now accepts exact enabled lens names as well as numeric lens positions.
  • kagi extract --filter now reads HTTPS URLs from stdin and emits ordered JSONL records for pipeline-friendly batch extraction.

Changed

  • Release automation now emits explicit warnings when optional Homebrew, Scoop, AUR, or Mintlify sync credentials are missing or stale.

Fixed

  • Updated quinn-proto to clear the current RustSec cargo audit gate.

v0.11.0

Choose a tag to compare

@github-actions github-actions released this 19 Jun 14:21

[0.11.0]

Changed

  • The configuration file now lives at a fixed XDG location instead of a working-directory-relative ./.kagi.toml. It is resolved in this order: $KAGI_CONFIG (an explicit full file path), then $XDG_CONFIG_HOME/kagi-cli/config.toml, then ~/.config/kagi-cli/config.toml. The file is still created with 0600 permissions, and the KAGI_API_KEY/KAGI_API_TOKEN/KAGI_SESSION_TOKEN environment variables continue to take precedence over it.

    Breaking: credentials previously saved in a working-directory-relative ./.kagi.toml are no longer read. Run kagi auth set (or kagi auth) once to re-save them at the new location, or point KAGI_CONFIG at your existing file.

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 17 Jun 17:44

[0.10.0]

Added

  • kagi search and kagi batch now preserve related search metadata from the Search API in structured output.
  • kagi extract now supports --format json and --format compact to expose the full Extract API envelope, including retained link metadata when returned by Kagi.

Changed

  • Assistant thread output now uses folders instead of tags, matching Kagi's current thread organization model.

Fixed

  • kagi translate now reports inactive subscription failures with a clearer message when Kagi Translate rejects access.

v0.9.6

Choose a tag to compare

@github-actions github-actions released this 17 Jun 15:32

[0.9.6]

Fixed

  • MCP tool discovery now declares each tool's input schema, including required parameters, so clients can populate kagi_search, kagi_extract, kagi_news_search, and other tool calls correctly.

v0.9.5

Choose a tag to compare

@github-actions github-actions released this 12 Jun 18:04

[0.9.5]

Fixed

  • Improved CLI error messages so authentication, validation, and network failures explain what was not completed and how to recover.

v0.9.4

Choose a tag to compare

@github-actions github-actions released this 07 Jun 19:08

[0.9.4]

Fixed

  • kagi assistant prompt mode now reads a missing QUERY from non-empty stdin, including streamed prompts such as echo "hello" | kagi assistant --stream.