Releases
v0.7.0
Compare
Sorry, something went wrong.
No results found
guess
released this
10 Feb 07:18
Added
:strict_mcp_config option - Control MCP server loading behavior ([a095516 ])
When true, ignores global MCP server configurations
Useful for disabling all MCP tools: tools: [], strict_mcp_config: true
Or using only built-in tools: tools: :default, strict_mcp_config: true
Changed
BREAKING: ClaudeCode.query now returns full %Result{} struct instead of just text
Before: {:ok, "response text"} or {:error, {:claude_error, "message"}}
After: {:ok, %ClaudeCode.Message.Result{result: "response text", ...}} or {:error, %ClaudeCode.Message.Result{is_error: true, ...}}
Provides access to metadata: session_id, is_error, subtype, duration_ms, usage, etc.
Migration: Change {:ok, text} to {:ok, result} and use result.result to access the response text
Result implements String.Chars, so IO.puts(result) prints just the text
Removed
:input_format option - No longer exposed in public API ([c7ebab2 ])
:output_format option - No longer exposed in public API ([c7ebab2 ])
You can’t perform that action at this time.