default_plan_mode = false merge_all_available_skills = false telemetry = true default_model = "kimi-code/k3" [loop_control] max_retries_per_step = 3 reserved_context_size = 50000 [background] max_running_tasks = 4 keep_alive_on_exit = false [services.moonshot_search] base_url = "https://api.kimi.com/coding/v1/search" api_key = "" [services.moonshot_search.oauth] storage = "file" key = "oauth/kimi-code" [services.moonshot_fetch] base_url = "https://api.kimi.com/coding/v1/fetch" api_key = "" [services.moonshot_fetch.oauth] storage = "file" key = "oauth/kimi-code" [thinking] enabled = true effort = "high" [providers."managed:kimi-code"] type = "kimi" api_key = "" base_url = "https://api.kimi.com/coding/v1" [providers."managed:kimi-code".oauth] storage = "file" key = "oauth/kimi-code" [models."kimi-code/kimi-for-coding"] provider = "managed:kimi-code" model = "kimi-for-coding" max_context_size = 262144 capabilities = [ "thinking", "always_thinking", "image_in", "video_in", "tool_use" ] display_name = "K2.7 Coding" [models."kimi-code/kimi-for-coding-highspeed"] provider = "managed:kimi-code" model = "kimi-for-coding-highspeed" max_context_size = 262144 capabilities = [ "thinking", "always_thinking", "image_in", "video_in", "tool_use" ] display_name = "K2.7 Coding Highspeed" [models."kimi-code/k3"] provider = "managed:kimi-code" model = "k3" max_context_size = 1048576 capabilities = [ "thinking", "always_thinking", "image_in", "video_in", "tool_use" ] display_name = "K3" support_efforts = [ "low", "high", "max" ] default_effort = "high" [models."kimi-k.3.0"] provider = "managed:kimi-code" model = "kimi-k.3.0" max_context_size = 1048576 capabilities = [ "thinking", "always_thinking", "image_in", "video_in", "tool_use" ] display_name = "kimi-k.3.0" # >>> herdr kimi integration [[hooks]] event = "SessionStart" command = "bash '/Users/anton/.kimi-code/hooks/herdr-agent-state.sh' session" timeout = 10 [[hooks]] event = "UserPromptSubmit" command = "bash '/Users/anton/.kimi-code/hooks/herdr-agent-state.sh' working" timeout = 10 [[hooks]] event = "PreToolUse" matcher = "^(?!AskUserQuestion$).*$" command = "bash '/Users/anton/.kimi-code/hooks/herdr-agent-state.sh' working" timeout = 10 [[hooks]] event = "PreToolUse" matcher = "^AskUserQuestion$" command = "bash '/Users/anton/.kimi-code/hooks/herdr-agent-state.sh' blocked" timeout = 10 [[hooks]] event = "PostToolUse" matcher = "^AskUserQuestion$" command = "bash '/Users/anton/.kimi-code/hooks/herdr-agent-state.sh' working" timeout = 10 [[hooks]] event = "PostToolUseFailure" matcher = "^AskUserQuestion$" command = "bash '/Users/anton/.kimi-code/hooks/herdr-agent-state.sh' working" timeout = 10 [[hooks]] event = "SubagentStart" command = "bash '/Users/anton/.kimi-code/hooks/herdr-agent-state.sh' working" timeout = 10 [[hooks]] event = "PreCompact" command = "bash '/Users/anton/.kimi-code/hooks/herdr-agent-state.sh' working" timeout = 10 [[hooks]] event = "PermissionRequest" command = "bash '/Users/anton/.kimi-code/hooks/herdr-agent-state.sh' blocked" timeout = 10 [[hooks]] event = "PermissionResult" command = "bash '/Users/anton/.kimi-code/hooks/herdr-agent-state.sh' working" timeout = 10 [[hooks]] event = "Stop" command = "bash '/Users/anton/.kimi-code/hooks/herdr-agent-state.sh' idle" timeout = 10 [[hooks]] event = "Interrupt" command = "bash '/Users/anton/.kimi-code/hooks/herdr-agent-state.sh' idle" timeout = 10 # <<< herdr kimi integration