Skip to content

v0.17.0 | CC 2.1.29

Choose a tag to compare

@guess guess released this 10 Feb 07:21
· 329 commits to main since this release

Added

  • :max_thinking_tokens option - Maximum tokens for thinking blocks (integer)
    • Available for both session and query options
    • Maps to --max-thinking-tokens CLI flag
  • :continue option - Continue the most recent conversation in the current directory (boolean)
    • Maps to --continue CLI flag
    • Aligns with Python/TypeScript SDK continue option
  • :plugins option - Load custom plugins from local paths (list of paths or maps)
    • Accepts ["./my-plugin"] or [%{type: :local, path: "./my-plugin"}]
    • Plugin type uses atom :local (only supported type currently)
    • Maps to multiple --plugin-dir CLI flags
    • Aligns with Python/TypeScript SDK plugins option
  • :output_format option - Structured output format configuration (replaces :json_schema)
    • Format: %{type: :json_schema, schema: %{...}}
    • Currently only :json_schema type is supported
    • Maps to --json-schema CLI flag
    • Aligns with Python/TypeScript SDK outputFormat option
  • context_management field in AssistantMessage - Support for context window management metadata in assistant messages ([f4ea348])
  • CLI installer - Automatic CLI binary management following phoenixframework/esbuild patterns
    • mix claude_code.install - Mix task to install CLI with --version, --if-missing, --force flags
    • ClaudeCode.Installer module for programmatic CLI management
    • Uses official Anthropic install scripts (https://claude.ai/install.sh)
    • Binary resolution checks: explicit path → bundled → PATH → common locations
  • :cli_path option - Specify a custom path to the Claude CLI binary
  • Configuration options for CLI management:
    • cli_version - Version to install (default: SDK's tested version)
    • cli_path - Explicit path to CLI binary (highest priority)
    • cli_dir - Directory for downloaded binary (default: priv/bin/)