github Kilo-Org/kilocode v4.140.0
Release v4.140.0

latest release: cli-v0.17.1
5 hours ago

4.140.0

Minor Changes

Patch Changes

  • #4530 782347e Thanks @alvinward! - Add GLM-4.6V model support for z.ai provider

  • #4509 8a9fddd Thanks @kevinvandijk! - Include changes from Roo Code v3.36.6

    • Add tool alias support for model-specific tool customization, allowing users to configure how tools are presented to different AI models (PR #9989 by @daniel-lxs)
    • Sanitize MCP server and tool names for API compatibility, ensuring special characters don't cause issues with API calls (PR #10054 by @daniel-lxs)
    • Improve auto-approve timer visibility in follow-up suggestions for better user awareness of pending actions (PR #10048 by @brunobergher)
    • Fix: Cancel auto-approval timeout when user starts typing, preventing accidental auto-approvals during user interaction (PR #9937 by @roomote)
    • Add WorkspaceTaskVisibility type for organization cloud settings to support team visibility controls (PR #10020 by @roomote)
    • Fix: Extract raw error message from OpenRouter metadata for clearer error reporting (PR #10039 by @daniel-lxs)
    • Fix: Show tool protocol dropdown for LiteLLM provider, restoring missing configuration option (PR #10053 by @daniel-lxs)
    • Add: GPT-5.2 model to openai-native provider (PR #10024 by @hannesrudolph)
    • Fix: Handle empty Gemini responses and reasoning loops to prevent infinite retries (PR #10007 by @hannesrudolph)
    • Fix: Add missing tool_result blocks to prevent API errors when tool results are expected (PR #10015 by @daniel-lxs)
    • Fix: Filter orphaned tool_results when more results than tool_uses to prevent message validation errors (PR #10027 by @daniel-lxs)
    • Fix: Add general API endpoints for Z.ai provider (#9879 by @richtong, PR #9894 by @roomote)
    • Remove: Deprecated list_code_definition_names tool (PR #10005 by @hannesrudolph)
    • Add error details modal with on-demand display for improved error visibility when debugging issues (PR #9985 by @roomote)
    • Fix: Prevent premature rawChunkTracker clearing for MCP tools, improving reliability of MCP tool streaming (PR #9993 by @daniel-lxs)
    • Fix: Filter out 429 rate limit errors from API error telemetry for cleaner metrics (PR #9987 by @daniel-lxs)
    • Fix: Correct TODO list display order in chat view to show items in proper sequence (PR #9991 by @roomote)
    • Refactor: Unified context-management architecture with improved UX for better context control (PR #9795 by @hannesrudolph)
    • Add new search_replace native tool for single-replacement operations with improved editing precision (PR #9918 by @hannesrudolph)
    • Streaming tool stats and token usage throttling for better real-time feedback during generation (PR #9926 by @hannesrudolph)
    • Add versioned settings support with minPluginVersion gating for Roo provider (PR #9934 by @hannesrudolph)
    • Make Architect mode save plans to /plans directory and gitignore it (PR #9944 by @brunobergher)
    • Add ability to save screenshots from the browser tool (PR #9963 by @mrubens)
    • Refactor: Decouple tools from system prompt for cleaner architecture (PR #9784 by @daniel-lxs)
    • Update DeepSeek models to V3.2 with new pricing (PR #9962 by @hannesrudolph)
    • Add minimal and medium reasoning effort levels for Gemini models (PR #9973 by @hannesrudolph)
    • Update xAI models catalog with latest model options (PR #9872 by @hannesrudolph)
    • Add DeepSeek V3-2 support for Baseten provider (PR #9861 by @AlexKer)
    • Tweaks to Baseten model definitions for better defaults (PR #9866 by @mrubens)
    • Fix: Add xhigh reasoning effort support for gpt-5.1-codex-max (#9891 by @andrewginns, PR #9900 by @andrewginns)
    • Fix: Add Kimi, MiniMax, and Qwen model configurations for Bedrock (#9902 by @jbearak, PR #9905 by @app/roomote)
    • Configure tool preferences for xAI models (PR #9923 by @hannesrudolph)
    • Default to using native tools when supported on OpenRouter (PR #9878 by @mrubens)
    • Fix: Exclude apply_diff from native tools when diffEnabled is false (#9919 by @denis-kudelin, PR #9920 by @app/roomote)
    • Fix: Always show tool protocol selector for openai-compatible provider (#9965 by @bozoweed, PR #9966 by @hannesrudolph)
    • Fix: Respect explicit supportsReasoningEffort array values for proper model configuration (PR #9970 by @hannesrudolph)
    • Add timeout configuration to OpenAI Compatible Provider Client (PR #9898 by @dcbartlett)
    • Revert default tool protocol change from xml to native for stability (PR #9956 by @mrubens)
    • Improve OpenAI error messages to be more useful for debugging (PR #9639 by @mrubens)
    • Better error logs for parseToolCall exceptions (PR #9857 by @cte)
    • Improve cloud job error logging for RCC provider errors (PR #9924 by @cte)
    • Fix: Display actual API error message instead of generic text on retry (PR #9954 by @hannesrudolph)
    • Add API error telemetry to OpenRouter provider for better diagnostics (PR #9953 by @daniel-lxs)
    • Fix: Sanitize removed/invalid API providers to prevent infinite loop (PR #9869 by @hannesrudolph)
    • Fix: Use foreground color for context-management icons (PR #9912 by @hannesrudolph)
    • Fix: Suppress 'ask promise was ignored' error in handleError (PR #9914 by @daniel-lxs)
    • Fix: Process finish_reason to emit tool_call_end events properly (PR #9927 by @daniel-lxs)
    • Fix: Add finish_reason processing to xai.ts provider (PR #9929 by @daniel-lxs)
    • Fix: Validate and fix tool_result IDs before API requests (PR #9952 by @daniel-lxs)
    • Fix: Return undefined instead of 0 for disabled API timeout (PR #9960 by @hannesrudolph)
    • Stop making unnecessary count_tokens requests for better performance (PR #9884 by @mrubens)
    • Refactor: Consolidate ThinkingBudget components and fix disable handling (PR #9930 by @hannesrudolph)
    • Forbid time estimates in architect mode for more focused planning (PR #9931 by @app/roomote
  • #4568 b1702cd Thanks @marius-kilocode! - Remove redundant "New Agent" and "Refresh messages" buttons from agent manager session detail header.

  • #4228 a128228 Thanks @lambertjosh! - Change the default value of auto-approval for reading outside workspace to false

Don't miss a new kilocode release

NewReleases is sending notifications on new releases.