From 8046c22c344838d6f549f1e991bd4559dccbe77b Mon Sep 17 00:00:00 2001 From: lemon07r Date: Fri, 17 Apr 2026 05:06:13 -0400 Subject: [PATCH] Release v1.1.1: reorder reasoning variants (off, auto, low, medium, high) off first (the most conservative, fastest option), then auto (server-picked default), then the escalating levels. Matches the post-login config block printed by the authorize callback and the user's live config. --- README.md | 4 ++-- package.json | 2 +- src/index.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 66b78c8..5a5beab 100644 --- a/README.md +++ b/README.md @@ -51,8 +51,8 @@ Add the plugin and a provider entry to `opencode.json` (or `~/.config/opencode/o "reasoning": true, "options": {}, "variants": { - "auto": { "reasoning_effort": "auto" }, "off": { "reasoning_effort": "off" }, + "auto": { "reasoning_effort": "auto" }, "low": { "reasoning_effort": "low" }, "medium": { "reasoning_effort": "medium" }, "high": { "reasoning_effort": "high" } @@ -83,7 +83,7 @@ The plugin returns a verification URL and user code. After browser approval it p Select `kimi-for-coding-oauth/kimi-for-coding` in opencode. -Press **Ctrl+T** to pick a reasoning variant (`auto`, `off`, `low`, `medium`, `high`). `auto` lets Moonshot pick dynamically; `off` disables thinking; `low`/`medium`/`high` pin the effort level. +Press **Ctrl+T** to pick a reasoning variant (`off`, `auto`, `low`, `medium`, `high`). `off` disables thinking; `auto` lets Moonshot pick dynamically; `low`/`medium`/`high` pin the effort level. --- diff --git a/package.json b/package.json index 095a209..bed0e33 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "opencode-kimi-full", - "version": "1.1.0", + "version": "1.1.1", "description": "OpenCode plugin that adds first-class support for Kimi K2.6 (kimi-for-coding) via the official Kimi OAuth device flow, matching the upstream kimi-cli 1:1.", "license": "MIT", "repository": { diff --git a/src/index.ts b/src/index.ts index 88a1e6f..5d6381d 100644 --- a/src/index.ts +++ b/src/index.ts @@ -48,8 +48,8 @@ function buildConfigBlock(info: { model_id: string; context_length?: number; dis ...(ctx > 0 ? { limit: { context: ctx } } : {}), options: { variants: { - auto: {}, off: { reasoning_effort: "off" }, + auto: {}, low: { reasoning_effort: "low" }, medium: { reasoning_effort: "medium" }, high: { reasoning_effort: "high" },