Releases: Microck/kagi-cli
Releases · Microck/kagi-cli
Release list
v0.14.2
[0.14.2]
Fixed
- Assistant
thread list,thread get,thread export, andthread deletenow use Kagi's current Assistant conversation API, so newassistant.kagi.com/chat/<uuid>chats work instead of failing on missing legacy stream frames.
v0.14.1
[0.14.1]
Fixed
- Assistant
thread_openno longer fails on new threads after Kagi's backend URL change. When thethread.jsonstream frame is absent, the parser now falls back to thethread.htmlframe 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
[0.14.0]
Added
kagi authnow offers to install the Kagi MCP server after credentials are saved.- Added
kagi mcp install,kagi mcp setup, andkagi mcp authto 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
[0.13.0]
Added
kagi mcpnow 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 astoonwhile individual tool calls can still override output where supported. - Added
kagi mcp --enable-mutating-toolsto opt into account or local-state mutation tools, including lens, custom bang, redirect, site preference, Assistant settings, andkagi_clipassthrough 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_cliMCP 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_searchnow rejectsconcurrency: 0before spawning workers instead of creating a zero-permit semaphore that never completes.
v0.12.0
[0.12.0]
Added
kagi assistantnow 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 jsonorKAGI_ERROR_FORMAT=json. kagi search --lensnow accepts exact enabled lens names as well as numeric lens positions.kagi extract --filternow 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-prototo clear the current RustSeccargo auditgate.
v0.11.0
[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 with0600permissions, and theKAGI_API_KEY/KAGI_API_TOKEN/KAGI_SESSION_TOKENenvironment variables continue to take precedence over it.Breaking: credentials previously saved in a working-directory-relative
./.kagi.tomlare no longer read. Runkagi auth set(orkagi auth) once to re-save them at the new location, or pointKAGI_CONFIGat your existing file.
v0.10.0
[0.10.0]
Added
kagi searchandkagi batchnow preserve related search metadata from the Search API in structured output.kagi extractnow supports--format jsonand--format compactto 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 translatenow reports inactive subscription failures with a clearer message when Kagi Translate rejects access.
v0.9.6
[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
[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
[0.9.4]
Fixed
kagi assistantprompt mode now reads a missingQUERYfrom non-empty stdin, including streamed prompts such asecho "hello" | kagi assistant --stream.