tachibot-mcp 2.27.0 → 2.27.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/README.md +9 -4
- package/dist/src/config/model-constants.js +45 -20
- package/dist/src/config/model-defaults.js +1 -1
- package/dist/src/config/timeout-config.js +2 -2
- package/dist/src/tools/diff-review-tool.js +6 -6
- package/dist/src/tools/jury-tool.js +2 -2
- package/dist/src/tools/openrouter-tools.js +21 -19
- package/dist/src/tools/provider-catalog.js +1 -1
- package/dist/src/tools/registry.js +1 -1
- package/dist/src/utils/ansi-styles.js +4 -0
- package/docs/TOOLS_REFERENCE.md +5 -5
- package/package.json +1 -1
- package/skills/lens/SKILL.md +3 -3
- package/skills/review/SKILL.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,34 @@ All notable changes to TachiBot MCP will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [2.27.1] - 2026-07-26
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
- **Kimi K2.7-Code → K3** (`moonshotai/kimi-k3`, released Jul 16 on OpenRouter, verified via WebSearch + grok_search against OpenRouter/Moonshot docs): 2.8T-parameter open-weight MoE — the largest open model shipped — built for long-horizon coding, reasoning, and agent workflows. 1M-token context (up from 262K), native multimodal, tool calls, structured outputs. Beats Claude Opus 4.8 and GPT-5.5 on coding and general-agent benchmarks. List price **$3/$15 per M (4x K2.7-Code's $0.75/$3.50)** — accepted per the repo's quality-over-cost model strategy. Now powers all Kimi tools — `kimi_thinking`, `kimi_code`, `kimi_decompose`, `kimi_long_context` (`openrouter-tools.ts`), the `kimi` juror (`jury-tool.ts`), and the Kimi seat on the `diff_review` panel. K2.7-Code kept as quota fallback via `MODEL_FALLBACKS` (K3 → K2.7-Code → K2.6 → K2-Thinking); the `kimi` substring already routes K3 to the 600s reasoning timeout (regression test extended).
|
|
12
|
+
- **Gemini Flash 3.5 → 3.6** (`gemini-3.6-flash`, GA Jul 21): the new workhorse/search tier — 1M ctx, **$1.50/$7.50 (down from $9 output)**, ~17% fewer output tokens than 3.5 Flash. Powers `gemini_search` and the `"flash"` choice in the workflow tool-mapper. 3.5 Flash kept as the previous tier.
|
|
13
|
+
- **Gemini Flash-Lite 3.1 → 3.5** (`gemini-3.5-flash-lite`, Jul 21, $0.30/$2.50) — catalog/pricing entry only; no tool calls this tier today.
|
|
14
|
+
- **Qwen general-purpose constant 3.6-Plus → 3.7-Plus** (`qwen/qwen3.7-plus`, Jun 3, 1M ctx, multimodal, $0.32/$1.28) — catalog/pricing entry only; `QWEN_MODELS.PLUS_*` is not wired to any tool (the Qwen tools use `CODER_NEXT` and `MAX_THINKING`).
|
|
15
|
+
- **`diff_review` panel label corrected** — the OpenAI seat was labelled "GPT-5.5" while already calling `OPENAI_MODELS.DEFAULT` (`gpt-5.6-sol`). Label and tool description now say GPT-5.6 Sol; no model change.
|
|
16
|
+
|
|
17
|
+
### Notes
|
|
18
|
+
Full provider audit run Jul 26, 2026 — every model in `model-constants.ts` checked against live provider docs/OpenRouter. Verified current, **no bump needed**:
|
|
19
|
+
- **GPT-5.6** (sol/terra/luna, Jul 9) — no GPT-5.7. Only `gpt-realtime-2.1` (specialized voice) shipped since.
|
|
20
|
+
- **Grok 4.5** (Jul 8) — no Grok 4.6/5; Grok 5 has no confirmed date. xAI's staged rollout completed (EU access Jul 17), so the `grok-4.3` fallback is now quota/region insurance rather than a rollout workaround.
|
|
21
|
+
- **Gemini 3.1 Pro** stays the reasoning/judge default — Google shipped three models on Jul 21 (3.6 Flash, 3.5 Flash-Lite, 3.5 Flash Cyber) and **explicitly skipped 3.5 Pro**; it missed internal perf goals, with Gemini 4 pre-training already underway.
|
|
22
|
+
- **DeepSeek V4 Pro/Flash** — V4 went GA Jul 20; `deepseek/deepseek-v4-pro` is unchanged and no V5/R2 is announced. DeepSeek's Jul 24 alias retirement only affects direct-API `deepseek-chat`/`deepseek-reasoner`, which this repo never calls (all DeepSeek traffic goes through OpenRouter).
|
|
23
|
+
- **GLM-5.2** — current; GLM-5.5 is an unconfirmed August target with no published endpoint.
|
|
24
|
+
- **MiniMax M3**, **StepFun Step 3.7 Flash**, **ERNIE 4.5 VL** — all still the newest available on OpenRouter (no ERNIE 5.x listing).
|
|
25
|
+
- **Perplexity** `sonar` / `sonar-pro` / `sonar-reasoning-pro` — naming unchanged.
|
|
26
|
+
- **Qwen coder** stays `qwen3-coder-next`; no `qwen4-coder` exists on OpenRouter. `qwen_reason`/`qwen_algo` deliberately stay on `qwen3-235b-a22b-thinking-2507` — Qwen3.7-Max is newer and agent-tuned, but publishes no thinking/reasoning mode, so swapping a dedicated reasoning model for it would risk a regression on the math/CP workloads those tools serve.
|
|
27
|
+
|
|
28
|
+
Second-pass sweep of the remaining constants (Jul 27) — all confirmed already-newest, nothing bumpable:
|
|
29
|
+
- **Qwen 4 Coder** (Jun 2, 32B-A3B, ~82% SWE-Verified) is real but is **not listed on OpenRouter** — no callable ID across its 76-model Qwen catalog — so it is unreachable on the gateway every Qwen tool uses. `qwen3-coder-next` remains the newest dedicated Qwen coder.
|
|
30
|
+
- **QwQ line** has no successor: only `qwen/qwq-32b` and the older `qwq-32b-preview` exist; Qwen3+ superseded the line for reasoning.
|
|
31
|
+
- **Grok specialists** verified against docs.x.ai: `grok-build-0.1` is still the only Grok Build model string (the "v0.2.73" in release notes is the *agent product*, not the model), and `grok-code-fast-2` is unannounced.
|
|
32
|
+
- **ERNIE 5.1** still has no published weights, no Hugging Face repo, and no OpenRouter listing — it is Qianfan-API-only, so `baidu/ernie-4.5-vl-424b-a47b` stays.
|
|
33
|
+
- **Grok 4.6** is the next expected bump: 2T params, confirmed by Musk Jul 18, pre-training finished the week of Jul 20, ETA "~2 weeks" (early Aug), with 4.7 ~2 weeks behind. No ID/pricing/context published yet — a watch note now sits in `GROK_MODELS`.
|
|
34
|
+
- K3's weights were due under a Modified MIT license by Jul 27; the API is live regardless, so this bump does not depend on the weight drop.
|
|
35
|
+
|
|
8
36
|
## [2.23.3] - 2026-06-17
|
|
9
37
|
|
|
10
38
|
### Changed
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
### Multi-Model AI Orchestration Platform
|
|
6
6
|
|
|
7
|
-
[](https://www.npmjs.com/package/tachibot-mcp)
|
|
8
8
|
[](#-tool-ecosystem-65-tools)
|
|
9
9
|
[](LICENSE)
|
|
10
10
|
[](https://nodejs.org)
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
**65 AI tools. 12 providers. One protocol.**
|
|
14
14
|
|
|
15
|
-
Orchestrate Perplexity, Grok, GPT-5.
|
|
15
|
+
Orchestrate Perplexity, Grok 4.5, GPT-5.6, Gemini, Qwen, Kimi K3, and MiniMax M3
|
|
16
16
|
from Claude Code, Claude Desktop, Cursor, or any MCP client.
|
|
17
17
|
|
|
18
18
|
[Get Started](#-quick-start) · [View Tools](#-tool-ecosystem-65-tools) · [Documentation](https://tachibot.com/docs)
|
|
@@ -30,6 +30,11 @@ from Claude Code, Claude Desktop, Cursor, or any MCP client.
|
|
|
30
30
|
|
|
31
31
|
## What's New
|
|
32
32
|
|
|
33
|
+
### v2.27.1
|
|
34
|
+
- **Kimi K3** (Jul 16, `moonshotai/kimi-k3`) now powers every Kimi tool, the `kimi` juror, and the Kimi seat on `diff_review`. 2.8T open-weight MoE — the largest open model shipped — with a **1M context (up from 262K)**, native multimodal input, and long-horizon agentic coding that beats Opus 4.8 and GPT-5.5 on coding/agent benchmarks. Note the price: **$3/$15 per M, 4x K2.7-Code** — K2.7-Code stays as the automatic fallback (K3 → K2.7-Code → K2.6).
|
|
35
|
+
- **Gemini 3.6 Flash** (Jul 21, `gemini-3.6-flash`) is the new search/workhorse tier behind `gemini_search` — 1M context at **$1.50/$7.50, down from $9 output**, and ~17% fewer output tokens than 3.5 Flash. Flash-Lite moves to `gemini-3.5-flash-lite` ($0.30/$2.50).
|
|
36
|
+
- **Everything else re-verified, unchanged** — a full provider audit (Jul 26) confirms GPT-5.6, Grok 4.5, DeepSeek V4 Pro, GLM-5.2, MiniMax M3, StepFun 3.7, ERNIE 4.5 VL, Qwen Coder-Next and Perplexity Sonar are all still the newest available. Gemini 3.1 Pro remains the reasoning/judge default: Google shipped three models on Jul 21 and **skipped 3.5 Pro**. xAI's staged rollout finished (EU access Jul 17), so the `grok-4.3` fallback is now quota/region insurance rather than a rollout workaround.
|
|
37
|
+
|
|
33
38
|
### v2.27.0
|
|
34
39
|
- **Grok 4.5** (Jul 8 flagship, "Opus-class") now powers all Grok tools, with automatic fallback to `grok-4.3` while xAI's region-staged rollout completes (EU mid-July) — tools keep working everywhere, and 4.5 activates by itself.
|
|
35
40
|
- **`grok_search_lite`** (new tool, 65 total) — the same Grok live search on `grok-4-1-fast` ($0.20/$0.50, 2M ctx), ~10x cheaper than `grok_search`. Use it for high-volume lookups and jury/council fan-outs.
|
|
@@ -81,7 +86,7 @@ TachiBot ships with 19 slash commands for Claude Code. These orchestrate the too
|
|
|
81
86
|
| `/decompose` | Split into sub-problems, deep-dive each one | `/decompose implement collaborative editor` |
|
|
82
87
|
| `/prompt` | Recommend the right thinking technique (31 available) | `/prompt why do users churn` |
|
|
83
88
|
| `/algo` | Algorithm analysis with 4 specialized models (DeepSeek lead) | `/algo optimize LRU cache O(1)` |
|
|
84
|
-
| `/lens` | Long-context analysis over Kimi's
|
|
89
|
+
| `/lens` | Long-context analysis over Kimi's 1M window | `/lens find inconsistencies in this spec` |
|
|
85
90
|
| `/reflect` | Grounded reflexion loop — critique vs external evidence | `/reflect harden this auth middleware` |
|
|
86
91
|
| `/tot` | Tree-of-Thought: branch → jury-prune → synthesize | `/tot design a rate limiter` |
|
|
87
92
|
| `/review` | Multi-model diff review — panel + Gemini judge verdict | `/review` (or paste a diff) |
|
|
@@ -101,7 +106,7 @@ Skills automatically adapt to your configured API keys. Even with just 1-2 provi
|
|
|
101
106
|
|
|
102
107
|
### Multi-Model Intelligence
|
|
103
108
|
- **65 AI Tools** across 12 providers — Perplexity, Grok, GPT-5, Gemini, Qwen, Kimi, MiniMax, DeepSeek, GLM (Zhipu), StepFun, ERNIE (Baidu), plus free local models (Ollama / LM Studio / llama.cpp / vLLM)
|
|
104
|
-
- **Gemini 3.
|
|
109
|
+
- **Gemini 3.6 Flash** (`gemini-3.6-flash`, GA Jul 21 2026) — Flash/search tier; reasoning default stays `gemini-3.1-pro-preview` (Google has still not shipped a 3.5 Pro)
|
|
105
110
|
- **Multi-Model Council** — planner_maker synthesizes plans from 5+ models into bite-sized TDD steps
|
|
106
111
|
- **Smart Routing** — Automatic model selection for optimal results
|
|
107
112
|
- **OpenRouter Gateway** — Optional single API key for all providers
|
|
@@ -49,20 +49,25 @@ export const OPENAI_REASONING = {
|
|
|
49
49
|
// =============================================================================
|
|
50
50
|
// GEMINI MODELS (Google)
|
|
51
51
|
// =============================================================================
|
|
52
|
-
// Gemini 3.
|
|
53
|
-
// It is the new FLASH/search tier. Gemini 3.5
|
|
54
|
-
//
|
|
52
|
+
// Gemini 3.6 Flash GA'd Jul 21, 2026 — workhorse tier, 1M ctx, $1.50/$7.50, ~17% fewer
|
|
53
|
+
// output tokens than 3.5 Flash. It is the new FLASH/search tier. Gemini 3.5 Flash-Lite
|
|
54
|
+
// shipped the same day ($0.30/$2.50) and replaces 3.1-flash-lite as the cheap tier.
|
|
55
|
+
// Gemini 3.5 Pro STILL has not shipped (Google released three models on Jul 21 and
|
|
56
|
+
// explicitly skipped Pro — internal perf goals unmet, "landing soon" + Gemini 4 pre-training
|
|
57
|
+
// underway), so the reasoning DEFAULT stays on gemini-3.1-pro-preview.
|
|
55
58
|
export const GEMINI_MODELS = {
|
|
56
|
-
// Gemini 3.1 Pro - reasoning default (3.0 Pro retired Mar 9, 2026)
|
|
59
|
+
// Gemini 3.1 Pro - reasoning default (3.0 Pro retired Mar 9, 2026; no 3.5 Pro as of Jul 26, 2026)
|
|
57
60
|
GEMINI_3_PRO: "gemini-3.1-pro-preview", // Default: top reasoning model available
|
|
58
61
|
GEMINI_3_1_PRO: "gemini-3.1-pro-preview", // Enhanced reasoning, 1M context
|
|
59
|
-
|
|
62
|
+
GEMINI_3_6_FLASH: "gemini-3.6-flash", // GA Jul 21, 2026 - CURRENT flash/search tier, 1M ctx, $1.50/$7.50
|
|
63
|
+
GEMINI_3_5_FLASH: "gemini-3.5-flash", // GA May 19, 2026 - previous flash tier (fallback)
|
|
60
64
|
GEMINI_3_FLASH: "gemini-3-flash-preview", // Legacy fast frontier (kept for model-router)
|
|
61
|
-
|
|
65
|
+
GEMINI_3_5_FLASH_LITE: "gemini-3.5-flash-lite", // Jul 21, 2026 - cheapest tier, $0.30/$2.50
|
|
66
|
+
GEMINI_3_1_FLASH_LITE: "gemini-3.1-flash-lite", // Mar 3, 2026 - previous cheap tier (legacy)
|
|
62
67
|
// Aliases
|
|
63
68
|
PRO: "gemini-3.1-pro-preview",
|
|
64
|
-
FLASH: "gemini-3.
|
|
65
|
-
FLASH_LITE: "gemini-3.
|
|
69
|
+
FLASH: "gemini-3.6-flash", // Bumped: 3.5-flash -> 3.6-flash (Jul 21, 2026)
|
|
70
|
+
FLASH_LITE: "gemini-3.5-flash-lite", // Bumped: 3.1-flash-lite -> 3.5-flash-lite (Jul 21, 2026)
|
|
66
71
|
};
|
|
67
72
|
// Perplexity Models
|
|
68
73
|
export const PERPLEXITY_MODELS = {
|
|
@@ -70,11 +75,15 @@ export const PERPLEXITY_MODELS = {
|
|
|
70
75
|
SONAR_PRO: "sonar-pro", // Advanced search
|
|
71
76
|
SONAR_REASONING: "sonar-reasoning-pro", // Reasoning model (expensive - avoid)
|
|
72
77
|
};
|
|
73
|
-
// Grok Models (xAI) -
|
|
78
|
+
// Grok Models (xAI) - Re-verified 2026-07-27 against docs.x.ai: Grok 4.5 is still the flagship.
|
|
79
|
+
// NEXT BUMP CANDIDATE: Grok 4.6 (2T params) was confirmed by Musk on Jul 18, finished pre-training
|
|
80
|
+
// the week of Jul 20, and was given a "~2 weeks" ETA — so expect it early Aug 2026, with 4.7 ~2 weeks
|
|
81
|
+
// behind it. Nothing is official yet (no ID, pricing, or context window). Check before bumping.
|
|
82
|
+
// Also verified absent: grok-code-fast-2 (unannounced) and grok-build-0.2 (docs still list 0.1 only).
|
|
74
83
|
export const GROK_MODELS = {
|
|
75
84
|
// Grok 4.5 (Jul 8, 2026) - CURRENT FLAGSHIP ("Opus-class")
|
|
76
85
|
// 500K context (SMALLER than 4.3's 1M — fine for tools, mind huge inputs), $2/$6,
|
|
77
|
-
// configurable reasoning effort. EU API
|
|
86
|
+
// configurable reasoning effort. EU API access landed Jul 17, 2026 — 4.3 kept as quota/region fallback.
|
|
78
87
|
_4_5: "grok-4.5", // Flagship: 500K ctx, $2/$6, reasoning.effort low|high
|
|
79
88
|
// Grok 4.3 (Apr 30, 2026) - previous flagship, kept as FALLBACK
|
|
80
89
|
// 1M context, $1.25/$2.50, lowest verified hallucination rate.
|
|
@@ -97,13 +106,17 @@ export const GROK_MODELS = {
|
|
|
97
106
|
_3: "grok-3", // Legacy with search: 256K→2M
|
|
98
107
|
};
|
|
99
108
|
// Kimi Models (Moonshot AI via OpenRouter)
|
|
100
|
-
//
|
|
109
|
+
// K3 released Jul 16, 2026 - 2.8T open-weight MoE, largest open model shipped; 1M ctx, native multimodal,
|
|
110
|
+
// long-horizon agentic coding (beats Opus 4.8 / GPT-5.5 on coding+agent benchmarks). $3/$15 per M.
|
|
111
|
+
// NOTE: 4x the price of K2.7-Code — quality-over-cost per repo strategy, but mind cheap/bulk call sites.
|
|
112
|
+
// K2.7-Code released Jun 12, 2026 - coding-specialized (built on K2.6), 262K ctx, $0.75/$3.50 (fallback)
|
|
101
113
|
// K2.6 released Apr 20, 2026 - 1T MoE, leads SWE-bench Pro for long-horizon coding (fallback)
|
|
102
114
|
// K2.5 released Jan 27, 2026 - kept as legacy
|
|
103
115
|
export const KIMI_MODELS = {
|
|
116
|
+
K3: "moonshotai/kimi-k3", // CURRENT (Jul 16, 2026): 2.8T MoE, 1M ctx, multimodal, $3/$15
|
|
104
117
|
K2_THINKING: "moonshotai/kimi-k2-thinking", // 1T MoE, 32B active - agentic reasoning (256k context)
|
|
105
|
-
K2_7_CODE: "moonshotai/kimi-k2.7-code", //
|
|
106
|
-
K2_6: "moonshotai/kimi-k2.6", //
|
|
118
|
+
K2_7_CODE: "moonshotai/kimi-k2.7-code", // Previous (Jun 12, 2026): coding-specialized, 262K ctx, $0.75/$3.50 (fallback)
|
|
119
|
+
K2_6: "moonshotai/kimi-k2.6", // Older (Apr 2026): 1T MoE, SWE-Pro leader (fallback)
|
|
107
120
|
K2_5: "moonshotai/kimi-k2.5", // Legacy: multimodal + agent swarm
|
|
108
121
|
};
|
|
109
122
|
// MiniMax Models (MiniMax via OpenRouter)
|
|
@@ -118,7 +131,8 @@ export const MINIMAX_MODELS = {
|
|
|
118
131
|
// Qwen3 235B Thinking (July 2025) - Largest reasoning model available
|
|
119
132
|
// Qwen3-Coder-Next (Feb 2026) - Agentic coding specialist, 80B/3B MoE, 262K context
|
|
120
133
|
export const QWEN_MODELS = {
|
|
121
|
-
|
|
134
|
+
PLUS_3_7: "qwen/qwen3.7-plus", // Jun 3, 2026: general-purpose flagship, 1M ctx, multimodal, $0.32/$1.28
|
|
135
|
+
PLUS_3_6: "qwen/qwen3.6-plus", // Apr 2026: previous general-purpose flagship (legacy)
|
|
122
136
|
CODER_NEXT: "qwen/qwen3-coder-next", // 80B/3B MoE, 262K ctx, SWE-Bench >70%, $0.14/$0.80 (still PRIMARY coder — no 3.6-coder yet)
|
|
123
137
|
CODER_PLUS: "qwen/qwen3-coder-plus", // Code specialist (32K context)
|
|
124
138
|
CODER: "qwen/qwen3-coder", // Legacy coder - 480B MoE, SWE-Bench 69.6%
|
|
@@ -169,8 +183,11 @@ export const DEFAULT_WORKFLOW_SETTINGS = {
|
|
|
169
183
|
// When new models release, update ONLY this section!
|
|
170
184
|
// All tools automatically use the new models.
|
|
171
185
|
// ============================================================================
|
|
172
|
-
// UPDATED Jul
|
|
173
|
-
//
|
|
186
|
+
// UPDATED Jul 26, 2026 (full provider audit):
|
|
187
|
+
// Kimi K2.7-Code -> K3 (Jul 16) · Gemini Flash 3.5 -> 3.6 + Flash-Lite 3.1 -> 3.5 (Jul 21)
|
|
188
|
+
// Re-verified as still-current, NOT bumped: GPT-5.6 tiers (Jul 9), Grok 4.5 (Jul 8),
|
|
189
|
+
// Gemini 3.1 Pro (no 3.5 Pro shipped), DeepSeek V4 Pro (GA Jul 20), GLM-5.2, MiniMax M3,
|
|
190
|
+
// StepFun 3.7, ERNIE 4.5 VL, Qwen Coder-Next, Perplexity Sonar.
|
|
174
191
|
export const CURRENT_MODELS = {
|
|
175
192
|
openai: {
|
|
176
193
|
default: OPENAI_MODELS.DEFAULT, // gpt-5.6-sol - flagship, agentic/coding SOTA (Jul 2026)
|
|
@@ -199,7 +216,7 @@ export const CURRENT_MODELS = {
|
|
|
199
216
|
reason: PERPLEXITY_MODELS.SONAR_REASONING, // sonar-reasoning-pro $2/$8 per M
|
|
200
217
|
},
|
|
201
218
|
openrouter: {
|
|
202
|
-
kimi: KIMI_MODELS.
|
|
219
|
+
kimi: KIMI_MODELS.K3, // K3 (Jul 16, 2026): 2.8T MoE, 1M ctx, multimodal, agentic coding
|
|
203
220
|
qwen: QWEN_MODELS.CODER_NEXT, // Qwen3-Coder-Next: 80B/3B MoE, 262K ctx, SWE >70% (no 3.6-coder yet)
|
|
204
221
|
qwen_reason: QWEN_MODELS.MAX_THINKING, // 235B MoE thinking mode (HMMT 98%) — still best for reasoning
|
|
205
222
|
minimax: MINIMAX_MODELS.M3, // M3: 1M ctx, MSA sparse attention, agentic/coding
|
|
@@ -322,7 +339,7 @@ export const TOOL_DEFAULTS = {
|
|
|
322
339
|
temperature: 0.3, // Lower for precise reasoning
|
|
323
340
|
},
|
|
324
341
|
kimi_thinking: {
|
|
325
|
-
model: KIMI_MODELS.
|
|
342
|
+
model: KIMI_MODELS.K3, // K3 (Jul 2026): 2.8T MoE, 1M ctx, long-horizon agentic reasoning
|
|
326
343
|
maxTokens: 16000,
|
|
327
344
|
temperature: 0.7,
|
|
328
345
|
},
|
|
@@ -370,6 +387,8 @@ export const MODEL_DISPLAY_NAMES = {
|
|
|
370
387
|
"gpt-5.4-pro": "gpt-5.4-pro",
|
|
371
388
|
// Gemini
|
|
372
389
|
"gemini-3.1-pro-preview": "gemini-3.1-pro",
|
|
390
|
+
"gemini-3.6-flash": "gemini-3.6-flash",
|
|
391
|
+
"gemini-3.5-flash-lite": "gemini-3.5-flash-lite",
|
|
373
392
|
"gemini-3.5-flash": "gemini-3.5-flash",
|
|
374
393
|
"gemini-3-flash-preview": "gemini-3-flash",
|
|
375
394
|
"gemini-3.1-flash-lite": "gemini-3.1-flash-lite",
|
|
@@ -392,12 +411,14 @@ export const MODEL_DISPLAY_NAMES = {
|
|
|
392
411
|
"sonar-pro": "perplexity",
|
|
393
412
|
"sonar-reasoning-pro": "perplexity-reason",
|
|
394
413
|
// Kimi (Moonshot)
|
|
414
|
+
"moonshotai/kimi-k3": "kimi-k3",
|
|
395
415
|
"moonshotai/kimi-k2-thinking": "kimi-k2",
|
|
396
416
|
"moonshotai/kimi-k2.7-code": "kimi-k2.7-code",
|
|
397
417
|
"moonshotai/kimi-k2.6": "kimi-k2.6",
|
|
398
418
|
"moonshotai/kimi-k2.5": "kimi-k2.5",
|
|
399
419
|
"moonshotai/kimi-k2.5-thinking": "kimi-k2.5",
|
|
400
420
|
// Qwen (Alibaba)
|
|
421
|
+
"qwen/qwen3.7-plus": "qwen3.7-plus",
|
|
401
422
|
"qwen/qwen3.6-plus": "qwen3.6-plus",
|
|
402
423
|
"qwen/qwen3-coder-next": "qwen-coder-next",
|
|
403
424
|
"qwen/qwen3-coder-plus": "qwen-coder",
|
|
@@ -428,7 +449,9 @@ export const MODEL_PRICING = {
|
|
|
428
449
|
"gpt-5.4-pro": 0.105, // ($30 + $180) / 2 / 1000 (Mar 2026)
|
|
429
450
|
// Gemini
|
|
430
451
|
"gemini-3.1-pro-preview": 0.007, // ($2 + $12) / 2 / 1000
|
|
431
|
-
"gemini-3.
|
|
452
|
+
"gemini-3.6-flash": 0.0045, // ($1.50 + $7.50) / 2 / 1000 (GA Jul 21, 2026)
|
|
453
|
+
"gemini-3.5-flash-lite": 0.0014, // ($0.30 + $2.50) / 2 / 1000 (Jul 21, 2026)
|
|
454
|
+
"gemini-3.5-flash": 0.00525, // ($1.50 + $9) / 2 / 1000 (GA May 19, 2026 - fallback)
|
|
432
455
|
"gemini-3-flash-preview": 0.00175, // ($0.50 + $3) / 2 / 1000 (legacy)
|
|
433
456
|
"gemini-3.1-flash-lite": 0.001, // Cheapest/fastest in 3.1 series (Mar 2026)
|
|
434
457
|
// Grok
|
|
@@ -451,13 +474,15 @@ export const MODEL_PRICING = {
|
|
|
451
474
|
"sonar-pro": 0.006,
|
|
452
475
|
"sonar-reasoning-pro": 0.006, // avoid - expensive reasoning tokens
|
|
453
476
|
// OpenRouter models - Kimi
|
|
477
|
+
"moonshotai/kimi-k3": 0.009, // ($3 + $15) / 2 / 1000 (Jul 16, 2026)
|
|
454
478
|
"moonshotai/kimi-k2-thinking": 0.002,
|
|
455
479
|
"moonshotai/kimi-k2.7-code": 0.002125, // ($0.75 + $3.50) / 2 / 1000 (Jun 12, 2026)
|
|
456
480
|
"moonshotai/kimi-k2.6": 0.0027, // ($0.74 + $4.65) / 2 / 1000 (Apr 2026)
|
|
457
481
|
"moonshotai/kimi-k2.5": 0.003,
|
|
458
482
|
"moonshotai/kimi-k2.5-thinking": 0.003,
|
|
459
483
|
// OpenRouter models - Qwen
|
|
460
|
-
"qwen/qwen3.
|
|
484
|
+
"qwen/qwen3.7-plus": 0.0008, // ($0.32 + $1.28) / 2 / 1000 (Jun 3, 2026 - promo pricing)
|
|
485
|
+
"qwen/qwen3.6-plus": 0.001138, // ($0.325 + $1.95) / 2 / 1000 (Apr 2026 - legacy)
|
|
461
486
|
"qwen/qwen3-coder-next": 0.00047, // ($0.14 + $0.80) / 2 / 1000 (verified via OpenRouter Apr 2026)
|
|
462
487
|
"qwen/qwen3-coder-plus": 0.0005,
|
|
463
488
|
"qwen/qwen3-coder": 0.0003,
|
|
@@ -28,7 +28,7 @@ const MODELS = {
|
|
|
28
28
|
// OpenRouter
|
|
29
29
|
QWEN: QWEN_MODELS.CODER_NEXT, // qwen/qwen3-coder-next (80B/3B MoE, 262K ctx)
|
|
30
30
|
QWEN_REASON: QWEN_MODELS.MAX_THINKING, // qwen/qwen3-235b-a22b-thinking (235B MoE)
|
|
31
|
-
KIMI: KIMI_MODELS.
|
|
31
|
+
KIMI: KIMI_MODELS.K3, // moonshotai/kimi-k3 (Jul 16, 2026 - 2.8T MoE, 1M ctx, multimodal)
|
|
32
32
|
MINIMAX: MINIMAX_MODELS.M3, // minimax/minimax-m3 (May 2026 - 1M ctx, MSA sparse attention)
|
|
33
33
|
};
|
|
34
34
|
/**
|
|
@@ -36,8 +36,8 @@ export function getTimeoutConfig() {
|
|
|
36
36
|
* Thinking/reasoning/swarm models get extended timeout (600s default).
|
|
37
37
|
* Standard models get 180s default.
|
|
38
38
|
*
|
|
39
|
-
* NOTE: All Kimi
|
|
40
|
-
*
|
|
39
|
+
* NOTE: All Kimi variants (incl. 'moonshotai/kimi-k3' and 'moonshotai/kimi-k2.7-code', which
|
|
40
|
+
* reason by default) need the extended timeout — but their model IDs don't contain 'thinking',
|
|
41
41
|
* so we match 'kimi' explicitly. Same applies to DeepSeek V4 and Zhipu GLM, whose
|
|
42
42
|
* reasoning passes are slow but whose IDs lack the 'thinking'/'reasoning' marker.
|
|
43
43
|
* This keeps primary and fallback consistent and lets these tools inherit 600s
|
|
@@ -58,11 +58,11 @@ function buildPanel() {
|
|
|
58
58
|
if (hasOpenRouterApiKey()) {
|
|
59
59
|
panel.push({
|
|
60
60
|
key: "kimi",
|
|
61
|
-
label: "Kimi
|
|
61
|
+
label: "Kimi K3 (SWE regressions)",
|
|
62
62
|
call: (q) => callOpenRouter([
|
|
63
|
-
{ role: "system", content: `You are Kimi
|
|
63
|
+
{ role: "system", content: `You are Kimi K3, an SWE-specialized reviewer. Hunt regressions and missed edge cases in diffs. ${FORMAT_INSTRUCTION}` },
|
|
64
64
|
{ role: "user", content: q },
|
|
65
|
-
], OpenRouterModel.
|
|
65
|
+
], OpenRouterModel.KIMI_K3, 0.3, PANELIST_MAX_TOKENS),
|
|
66
66
|
});
|
|
67
67
|
panel.push({
|
|
68
68
|
key: "deepseek",
|
|
@@ -76,11 +76,11 @@ function buildPanel() {
|
|
|
76
76
|
if (hasOpenAIApiKey()) {
|
|
77
77
|
panel.push({
|
|
78
78
|
key: "gpt",
|
|
79
|
-
label: "GPT-5.
|
|
79
|
+
label: "GPT-5.6 Sol (intent & API-contract)",
|
|
80
80
|
call: (q) => callOpenAI([
|
|
81
81
|
{ role: "system", content: `You review diffs for intent mismatches and API-contract breaks (types, error paths, backward compatibility). ${FORMAT_INSTRUCTION}` },
|
|
82
82
|
{ role: "user", content: q },
|
|
83
|
-
], OPENAI_MODELS.DEFAULT, // explicit: undefined falls back to INSTANT (
|
|
83
|
+
], OPENAI_MODELS.DEFAULT, // explicit: undefined falls back to INSTANT (cheapest tier), contradicting the flagship label
|
|
84
84
|
0.3, PANELIST_MAX_TOKENS, "high"),
|
|
85
85
|
});
|
|
86
86
|
}
|
|
@@ -88,7 +88,7 @@ function buildPanel() {
|
|
|
88
88
|
}
|
|
89
89
|
export const diffReviewTool = defineModelTool({
|
|
90
90
|
name: "diff_review",
|
|
91
|
-
description: "Multi-model diff-aware code review: 2-3 lab-diverse reviewers (Kimi
|
|
91
|
+
description: "Multi-model diff-aware code review: 2-3 lab-diverse reviewers (Kimi K3, DeepSeek V4 Pro, GPT-5.6 Sol) scoped to the changed lines, deduplicated and severity-ranked by a Gemini judge. Provide the unified diff in 'diff'.",
|
|
92
92
|
parameters: z.object({
|
|
93
93
|
diff: z.string().describe("Unified diff to review (git diff output) — REQUIRED"),
|
|
94
94
|
intent: z.string().optional().describe("What the change is SUPPOSED to do (enables intent-mismatch detection)"),
|
|
@@ -59,9 +59,9 @@ export const JUROR_REGISTRY = {
|
|
|
59
59
|
label: "Kimi (Step-by-Step)",
|
|
60
60
|
role: "Think step-by-step. Decompose the problem. Find edge cases others miss.",
|
|
61
61
|
call: async (q) => callOpenRouter([
|
|
62
|
-
{ role: "system", content: `You are Kimi
|
|
62
|
+
{ role: "system", content: `You are Kimi K3. Think step-by-step. Decompose problems. Find edge cases. ${FORMAT_INSTRUCTION}` },
|
|
63
63
|
{ role: "user", content: q }
|
|
64
|
-
], OpenRouterModel.
|
|
64
|
+
], OpenRouterModel.KIMI_K3, 0.4, JUROR_MAX_TOKENS, { top_p: 0.9 }, 240000),
|
|
65
65
|
},
|
|
66
66
|
perplexity: {
|
|
67
67
|
label: "Perplexity (Research)",
|
|
@@ -28,6 +28,7 @@ export var OpenRouterModel;
|
|
|
28
28
|
OpenRouterModel["QWQ_32B"] = "qwen/qwq-32b";
|
|
29
29
|
OpenRouterModel["QWEN3_MAX_THINKING"] = "qwen/qwen3-235b-a22b-thinking-2507";
|
|
30
30
|
// Moonshot AI models (Kimi)
|
|
31
|
+
OpenRouterModel["KIMI_K3"] = "moonshotai/kimi-k3";
|
|
31
32
|
OpenRouterModel["KIMI_K2_THINKING"] = "moonshotai/kimi-k2-thinking";
|
|
32
33
|
OpenRouterModel["KIMI_K2_7_CODE"] = "moonshotai/kimi-k2.7-code";
|
|
33
34
|
OpenRouterModel["KIMI_K2_6"] = "moonshotai/kimi-k2.6";
|
|
@@ -55,6 +56,7 @@ export var OpenRouterModel;
|
|
|
55
56
|
const MODEL_FALLBACKS = {
|
|
56
57
|
[OpenRouterModel.QWEN3_CODER_NEXT]: OpenRouterModel.QWEN3_CODER, // Fall back to 480B if Coder-Next fails
|
|
57
58
|
[OpenRouterModel.QWEN3_CODER]: OpenRouterModel.QWEN3_CODER,
|
|
59
|
+
[OpenRouterModel.KIMI_K3]: OpenRouterModel.KIMI_K2_7_CODE, // Fall back to K2.7-Code if K3 fails (also 4x cheaper)
|
|
58
60
|
[OpenRouterModel.KIMI_K2_7_CODE]: OpenRouterModel.KIMI_K2_6, // Fall back to K2.6 if K2.7-Code fails
|
|
59
61
|
[OpenRouterModel.KIMI_K2_6]: OpenRouterModel.KIMI_K2_THINKING, // Fall back to k2-thinking if K2.6 fails (k2.5 retired from OpenRouter)
|
|
60
62
|
[OpenRouterModel.DEEPSEEK_V4_PRO]: OpenRouterModel.DEEPSEEK_V4_FLASH, // Fall back to V4 Flash if Pro is rate-limited
|
|
@@ -542,13 +544,13 @@ ${FORMAT_INSTRUCTION}`
|
|
|
542
544
|
}
|
|
543
545
|
});
|
|
544
546
|
/**
|
|
545
|
-
* Kimi
|
|
546
|
-
*
|
|
547
|
-
* $
|
|
547
|
+
* Kimi K3 Thinking Tool
|
|
548
|
+
* 2.8T open-weight MoE, native multimodal, reasons by default
|
|
549
|
+
* $3/$15 per M tokens, 1M context
|
|
548
550
|
*/
|
|
549
551
|
export const kimiThinkingTool = defineModelTool({
|
|
550
552
|
name: "kimi_thinking",
|
|
551
|
-
description: "Kimi
|
|
553
|
+
description: "Kimi K3 multimodal reasoning (2.8T MoE, 1M context). Put your PROBLEM in the 'problem' parameter.",
|
|
552
554
|
parameters: z.object({
|
|
553
555
|
problem: z.string().describe("The problem to reason about (REQUIRED - put your question here)"),
|
|
554
556
|
...reasoningContextField,
|
|
@@ -572,7 +574,7 @@ export const kimiThinkingTool = defineModelTool({
|
|
|
572
574
|
const messages = [
|
|
573
575
|
{
|
|
574
576
|
role: "system",
|
|
575
|
-
content: `You are Kimi
|
|
577
|
+
content: `You are Kimi K3, an expert reasoning model. Be concise and direct.
|
|
576
578
|
${approachPrompts[args.approach || 'step-by-step']}.
|
|
577
579
|
Use ${args.maxSteps} reasoning steps max. ${args.context ? `Context: ${args.context}` : ''}
|
|
578
580
|
${FORMAT_INSTRUCTION}`
|
|
@@ -586,7 +588,7 @@ ${FORMAT_INSTRUCTION}`
|
|
|
586
588
|
// Timeout inherited from getOpenRouterModelTimeout() — Kimi → 600s (Agent Swarm
|
|
587
589
|
// needs the headroom; 180s/240s previously caused timeouts).
|
|
588
590
|
const reportFn = reportProgress ?? (async () => { });
|
|
589
|
-
return await withHeartbeat(() => callOpenRouter(messages, OpenRouterModel.
|
|
591
|
+
return await withHeartbeat(() => callOpenRouter(messages, OpenRouterModel.KIMI_K3, 0.4, 3000, {
|
|
590
592
|
top_p: 0.9,
|
|
591
593
|
presence_penalty: 0.1,
|
|
592
594
|
frequency_penalty: 0.2
|
|
@@ -595,12 +597,12 @@ ${FORMAT_INSTRUCTION}`
|
|
|
595
597
|
});
|
|
596
598
|
/**
|
|
597
599
|
* Kimi Code Tool
|
|
598
|
-
* SWE-focused code generation/fixing with Kimi
|
|
600
|
+
* SWE-focused code generation/fixing with Kimi K3 (2.8T MoE — strong at repo navigation, tools, debugging)
|
|
599
601
|
* Best for: code generation, bug fixing, refactoring, repo-level understanding
|
|
600
602
|
*/
|
|
601
603
|
export const kimiCodeTool = defineModelTool({
|
|
602
604
|
name: "kimi_code",
|
|
603
|
-
description: "SWE-focused code generation/fixing with Kimi
|
|
605
|
+
description: "SWE-focused code generation/fixing with Kimi K3 (long-horizon agentic coding). Put your REQUEST in the 'query' parameter.",
|
|
604
606
|
parameters: z.object({
|
|
605
607
|
query: z.string().describe("Your request or question (REQUIRED - put your main request here)"),
|
|
606
608
|
task: z.enum(["generate", "fix", "review", "optimize", "debug", "refactor"])
|
|
@@ -620,7 +622,7 @@ export const kimiCodeTool = defineModelTool({
|
|
|
620
622
|
debug: "Debug and identify root causes",
|
|
621
623
|
refactor: "Refactor for better structure and maintainability"
|
|
622
624
|
};
|
|
623
|
-
const systemPrompt = `You are Kimi
|
|
625
|
+
const systemPrompt = `You are Kimi K3, a coding-specialized SWE model. You excel at repo-level code understanding and changes.
|
|
624
626
|
Task: ${taskPrompts[args.task || "review"]}
|
|
625
627
|
${args.language ? `Language: ${args.language}` : ''}
|
|
626
628
|
Focus: Clean code, correct solutions, minimal changes for fixes. Understand the full repo context when reviewing.
|
|
@@ -636,7 +638,7 @@ ${FORMAT_INSTRUCTION}`;
|
|
|
636
638
|
{ role: "user", content: userPrompt + fileContext }
|
|
637
639
|
];
|
|
638
640
|
const reportFn = reportProgress ?? (async () => { });
|
|
639
|
-
return await withHeartbeat(() => callOpenRouter(messages, OpenRouterModel.
|
|
641
|
+
return await withHeartbeat(() => callOpenRouter(messages, OpenRouterModel.KIMI_K3, 0.3, 4000), reportFn, 240000);
|
|
640
642
|
}
|
|
641
643
|
});
|
|
642
644
|
// kimi_decompose configuration
|
|
@@ -645,12 +647,12 @@ const DECOMPOSE_MAX_TOKENS = 4500;
|
|
|
645
647
|
// Timeout inherited from getOpenRouterModelTimeout() — Kimi → 600s (Agent Swarm).
|
|
646
648
|
/**
|
|
647
649
|
* Kimi Decompose Tool
|
|
648
|
-
* Structured task decomposition using Kimi
|
|
650
|
+
* Structured task decomposition using Kimi K3's extended reasoning
|
|
649
651
|
* Best for: breaking complex tasks into subtasks with dependencies and acceptance criteria
|
|
650
652
|
*/
|
|
651
653
|
export const kimiDecomposeTool = defineModelTool({
|
|
652
654
|
name: "kimi_decompose",
|
|
653
|
-
description: "Structured task decomposition with Kimi
|
|
655
|
+
description: "Structured task decomposition with Kimi K3 extended reasoning. Breaks tasks into subtasks with IDs, dependencies, and acceptance criteria.",
|
|
654
656
|
parameters: z.object({
|
|
655
657
|
task: z.string().describe("The task to decompose (REQUIRED - describe the complex task)"),
|
|
656
658
|
context: z.string().optional().describe("Additional context about the project, codebase, or constraints"),
|
|
@@ -759,7 +761,7 @@ TASK REQUIREMENTS (one block per task)
|
|
|
759
761
|
RISKS
|
|
760
762
|
- [risk] > Mitigation: [approach]`
|
|
761
763
|
};
|
|
762
|
-
const systemPrompt = `You are Kimi
|
|
764
|
+
const systemPrompt = `You are Kimi K3, expert at structured task decomposition using extended reasoning.
|
|
763
765
|
|
|
764
766
|
Your job is to produce SMART decompositions — not mechanical ID/deps lists, but context-aware plans that a developer can act on immediately.
|
|
765
767
|
|
|
@@ -797,7 +799,7 @@ Wrap your final output in <output> tags. Everything outside <output> is discarde
|
|
|
797
799
|
{ role: "user", content: userPrompt }
|
|
798
800
|
];
|
|
799
801
|
const reportFn = reportProgress ?? (async () => { });
|
|
800
|
-
const raw = await withHeartbeat(() => callOpenRouter(messages, OpenRouterModel.
|
|
802
|
+
const raw = await withHeartbeat(() => callOpenRouter(messages, OpenRouterModel.KIMI_K3, DECOMPOSE_TEMPERATURE, DECOMPOSE_MAX_TOKENS, {}), reportFn);
|
|
801
803
|
// Strip reasoning leak from Kimi K2.6 (dumps CoT into message.content)
|
|
802
804
|
// Strategy: try <output> tags first, then find first section header
|
|
803
805
|
const outputMatch = raw.match(/<output>([\s\S]*?)<\/output>/);
|
|
@@ -812,12 +814,12 @@ Wrap your final output in <output> tags. Everything outside <output> is discarde
|
|
|
812
814
|
});
|
|
813
815
|
/**
|
|
814
816
|
* Kimi Long Context Tool
|
|
815
|
-
* Long-context analysis leveraging Kimi
|
|
817
|
+
* Long-context analysis leveraging Kimi K3's 1M context window
|
|
816
818
|
* Best for: analyzing large documents, codebases, or text bodies
|
|
817
819
|
*/
|
|
818
820
|
export const kimiLongContextTool = defineModelTool({
|
|
819
821
|
name: "kimi_long_context",
|
|
820
|
-
description: "Long-context analysis with Kimi
|
|
822
|
+
description: "Long-context analysis with Kimi K3 (1M context window). Put CONTENT in the 'content' parameter.",
|
|
821
823
|
parameters: z.object({
|
|
822
824
|
content: z.string().describe("The long text/document to analyze (REQUIRED - put your content here)"),
|
|
823
825
|
task: z.enum(["summarize", "extract", "analyze", "compare", "find"])
|
|
@@ -842,7 +844,7 @@ export const kimiLongContextTool = defineModelTool({
|
|
|
842
844
|
detailed: "Provide thorough analysis with supporting evidence and examples",
|
|
843
845
|
structured: "Use clear sections with headers, bullet points, and structured formatting"
|
|
844
846
|
};
|
|
845
|
-
const systemPrompt = `You are Kimi
|
|
847
|
+
const systemPrompt = `You are Kimi K3, expert at processing and analyzing large documents (best-effort 1M context window).
|
|
846
848
|
Task: ${taskPrompts[args.task || "analyze"]}
|
|
847
849
|
Format: ${formatPrompts[args.outputFormat || "detailed"]}
|
|
848
850
|
${args.query ? `Specific query: ${args.query}` : ''}
|
|
@@ -857,7 +859,7 @@ ${FORMAT_INSTRUCTION}`;
|
|
|
857
859
|
{ role: "user", content: args.content + fileContext }
|
|
858
860
|
];
|
|
859
861
|
const reportFn = reportProgress ?? (async () => { });
|
|
860
|
-
return await withHeartbeat(() => callOpenRouter(messages, OpenRouterModel.
|
|
862
|
+
return await withHeartbeat(() => callOpenRouter(messages, OpenRouterModel.KIMI_K3, 0.2, 8000), reportFn, 300000);
|
|
861
863
|
}
|
|
862
864
|
});
|
|
863
865
|
/**
|
|
@@ -1304,7 +1306,7 @@ export function getAllOpenRouterTools() {
|
|
|
1304
1306
|
kimiThinkingTool,
|
|
1305
1307
|
kimiCodeTool, // Kimi K2.6 - SWE-focused code (76.8%)
|
|
1306
1308
|
kimiDecomposeTool, // Kimi K2.6 - task decomposition
|
|
1307
|
-
kimiLongContextTool, // Kimi
|
|
1309
|
+
kimiLongContextTool, // Kimi K3 - long-context analysis (1M)
|
|
1308
1310
|
// NEW tools (Jan 2026)
|
|
1309
1311
|
qwenReasonTool, // Qwen3-Max-Thinking - heavy reasoning
|
|
1310
1312
|
minimaxCodeTool, // MiniMax M3 - 1M ctx, MSA sparse attention, agentic/coding
|
|
@@ -137,7 +137,7 @@ export const SKILLS = [
|
|
|
137
137
|
{ name: "decompose", desc: "Split into sub-problems, deep-dive each (depth-first)" },
|
|
138
138
|
{ name: "prompt", desc: "Recommends the right thinking technique" },
|
|
139
139
|
{ name: "algo", desc: "Algorithm analysis with 4 models (deepseek_algo lead)" },
|
|
140
|
-
{ name: "lens", desc: "Long-context analysis via active retrieval (
|
|
140
|
+
{ name: "lens", desc: "Long-context analysis via active retrieval (1M)" },
|
|
141
141
|
{ name: "reflect", desc: "Grounded reflexion loop vs external evidence" },
|
|
142
142
|
{ name: "tot", desc: "Tree-of-Thought: branch, prune via jury, synthesize" },
|
|
143
143
|
{ name: "review", desc: "Multi-model diff review + Gemini judge verdict" },
|
|
@@ -126,7 +126,7 @@ export async function getAllTools(inlineTools = []) {
|
|
|
126
126
|
kimiThinkingTool,
|
|
127
127
|
kimiCodeTool, // SWE-focused code (Kimi K2.5 - 76.8% SWE-Bench)
|
|
128
128
|
kimiDecomposeTool, // Task decomposition (Kimi K2.5 Agent Swarm)
|
|
129
|
-
kimiLongContextTool, // Long-context analysis (Kimi
|
|
129
|
+
kimiLongContextTool, // Long-context analysis (Kimi K3 - 1M)
|
|
130
130
|
qwenReasonTool, // Heavy reasoning (Qwen3-Max-Thinking >1T params)
|
|
131
131
|
minimaxCodeTool, // MiniMax M3 - 1M ctx, agentic/coding
|
|
132
132
|
minimaxAgentTool, // MiniMax M3 - agentic workflows
|
|
@@ -31,6 +31,7 @@ const nebulaTheme = {
|
|
|
31
31
|
// Gemini - Google blue
|
|
32
32
|
gemini: { bg: 'bgBlueBright', fg: 'black', label: ' gemini ' },
|
|
33
33
|
'gemini-3.1-pro-preview': { bg: 'bgBlueBright', fg: 'black', label: ' gemini-3.1-pro ' },
|
|
34
|
+
'gemini-3.6-flash': { bg: 'bgCyanBright', fg: 'black', label: ' gemini-3.6-flash ' },
|
|
34
35
|
'gemini-3.5-flash': { bg: 'bgCyanBright', fg: 'black', label: ' gemini-3.5-flash ' },
|
|
35
36
|
'gemini-3-flash-preview': { bg: 'bgCyanBright', fg: 'black', label: ' gemini-flash ' },
|
|
36
37
|
// Grok - Magenta/purple
|
|
@@ -114,6 +115,7 @@ const cyberpunkTheme = {
|
|
|
114
115
|
// Gemini - Electric blue
|
|
115
116
|
gemini: { bg: 'bgBlueBright', fg: 'black', label: ' ◈ GEMINI ' },
|
|
116
117
|
'gemini-3.1-pro-preview': { bg: 'bgBlueBright', fg: 'black', label: ' ◈ GEMINI-3 ' },
|
|
118
|
+
'gemini-3.6-flash': { bg: 'bgCyanBright', fg: 'black', label: ' ◈ GEMINI-3.6-FLASH ' },
|
|
117
119
|
'gemini-3.5-flash': { bg: 'bgCyanBright', fg: 'black', label: ' ◈ GEMINI-3.5-FLASH ' },
|
|
118
120
|
'gemini-3-flash-preview': { bg: 'bgCyanBright', fg: 'black', label: ' ◈ GEMINI-FLASH ' },
|
|
119
121
|
// Grok - Hot magenta
|
|
@@ -196,6 +198,7 @@ const minimalTheme = {
|
|
|
196
198
|
'gpt-5.4-pro': { bg: 'bgBlack', fg: 'greenBright', label: ' gpt-5.4-pro ' },
|
|
197
199
|
gemini: { bg: 'bgBlack', fg: 'blue', label: ' gemini ' },
|
|
198
200
|
'gemini-3.1-pro-preview': { bg: 'bgBlack', fg: 'blue', label: ' gemini-3 ' },
|
|
201
|
+
'gemini-3.6-flash': { bg: 'bgBlack', fg: 'blueBright', label: ' gemini-3.6-flash ' },
|
|
199
202
|
'gemini-3.5-flash': { bg: 'bgBlack', fg: 'blueBright', label: ' gemini-3.5-flash ' },
|
|
200
203
|
'gemini-3-flash-preview': { bg: 'bgBlack', fg: 'blueBright', label: ' gemini-flash ' },
|
|
201
204
|
grok: { bg: 'bgBlack', fg: 'magenta', label: ' grok ' },
|
|
@@ -272,6 +275,7 @@ const oceanTheme = {
|
|
|
272
275
|
'gpt-5.4-pro': { bg: 'bgGreenBright', fg: 'black', label: ' gpt-5.4-pro ' },
|
|
273
276
|
gemini: { bg: 'bgBlueBright', fg: 'black', label: ' gemini ' },
|
|
274
277
|
'gemini-3.1-pro-preview': { bg: 'bgBlueBright', fg: 'black', label: ' gemini-3 ' },
|
|
278
|
+
'gemini-3.6-flash': { bg: 'bgBlue', fg: 'white', label: ' gemini-3.6-flash ' },
|
|
275
279
|
'gemini-3.5-flash': { bg: 'bgBlue', fg: 'white', label: ' gemini-3.5-flash ' },
|
|
276
280
|
'gemini-3-flash-preview': { bg: 'bgBlue', fg: 'white', label: ' gemini-flash ' },
|
|
277
281
|
grok: { bg: 'bgMagenta', fg: 'white', label: ' grok ' },
|
package/docs/TOOLS_REFERENCE.md
CHANGED
|
@@ -271,7 +271,7 @@ qwq_reason({
|
|
|
271
271
|
|
|
272
272
|
### kimi_thinking
|
|
273
273
|
|
|
274
|
-
Kimi
|
|
274
|
+
Kimi K3 multimodal reasoning (2.8T MoE, 1M context). Put your PROBLEM in the `problem` parameter.
|
|
275
275
|
|
|
276
276
|
#### Parameters
|
|
277
277
|
|
|
@@ -296,7 +296,7 @@ kimi_thinking({
|
|
|
296
296
|
|
|
297
297
|
### kimi_decompose
|
|
298
298
|
|
|
299
|
-
Structured task decomposition with Kimi
|
|
299
|
+
Structured task decomposition with Kimi K3 extended reasoning. Breaks tasks into subtasks with IDs, dependencies, and acceptance criteria.
|
|
300
300
|
|
|
301
301
|
#### Parameters
|
|
302
302
|
|
|
@@ -544,7 +544,7 @@ spec_writer({
|
|
|
544
544
|
|
|
545
545
|
### kimi_code
|
|
546
546
|
|
|
547
|
-
SWE-focused code generation/fixing with Kimi
|
|
547
|
+
SWE-focused code generation/fixing with Kimi K3 (long-horizon agentic coding). Put your REQUEST in the `query` parameter.
|
|
548
548
|
|
|
549
549
|
#### Parameters
|
|
550
550
|
|
|
@@ -937,7 +937,7 @@ jury({
|
|
|
937
937
|
|
|
938
938
|
### diff_review
|
|
939
939
|
|
|
940
|
-
Multi-model diff-aware code review: 2-3 lab-diverse reviewers (Kimi
|
|
940
|
+
Multi-model diff-aware code review: 2-3 lab-diverse reviewers (Kimi K3, DeepSeek V4 Pro, GPT-5.6 Sol) scoped to the changed lines, deduplicated and severity-ranked by a Gemini judge. Provide the unified diff in `diff`.
|
|
941
941
|
|
|
942
942
|
#### Parameters
|
|
943
943
|
|
|
@@ -1168,7 +1168,7 @@ security_review({
|
|
|
1168
1168
|
|
|
1169
1169
|
### kimi_long_context
|
|
1170
1170
|
|
|
1171
|
-
Long-context analysis with Kimi
|
|
1171
|
+
Long-context analysis with Kimi K3 (1M context window). Put CONTENT in the `content` parameter.
|
|
1172
1172
|
|
|
1173
1173
|
#### Parameters
|
|
1174
1174
|
|
package/package.json
CHANGED
package/skills/lens/SKILL.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: lens
|
|
3
|
-
description: Long-context analysis — examine a large document or codebase under a focused lens using active retrieval over Kimi's
|
|
3
|
+
description: Long-context analysis — examine a large document or codebase under a focused lens using active retrieval over Kimi's 1M window, surfacing insights, relations, and inconsistencies
|
|
4
4
|
user-invocable: true
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Lens - Long-Context Analysis
|
|
8
8
|
|
|
9
|
-
Deeply analyze a large document, codebase, or transcript that's too big to reason about by skimming. Uses ACTIVE RETRIEVAL (map → query → synthesize) over Kimi
|
|
9
|
+
Deeply analyze a large document, codebase, or transcript that's too big to reason about by skimming. Uses ACTIVE RETRIEVAL (map → query → synthesize) over Kimi K3's 1M window instead of dumping everything in at once — which avoids the "lost in the middle" failure mode of naive long-context prompting.
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
12
12
|
```
|
|
@@ -25,7 +25,7 @@ Deeply analyze a large document, codebase, or transcript that's too big to reaso
|
|
|
25
25
|
|
|
26
26
|
| | `/lens` | `/decompose` | `gemini_analyze_text` |
|
|
27
27
|
|---|---|---|---|
|
|
28
|
-
| Input | Large existing content (≤
|
|
28
|
+
| Input | Large existing content (≤1M) | A problem to split | A single argument/text |
|
|
29
29
|
| Strategy | Map → query sections → synthesize | Split into sub-problems | Rhetoric/bias dissection |
|
|
30
30
|
| Use when | "Understand this big thing" | "Break this problem down" | "Analyze this claim" |
|
|
31
31
|
|
package/skills/review/SKILL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: review
|
|
3
|
-
description: Use when code changes are ready for review — a diff exists, the user says "review my changes/PR", or a commit is about to happen. Multi-model diff review (Kimi, DeepSeek, GPT-5.
|
|
3
|
+
description: Use when code changes are ready for review — a diff exists, the user says "review my changes/PR", or a commit is about to happen. Multi-model diff review (Kimi K3, DeepSeek, GPT-5.6 panel + Gemini judge) with a MERGEABLE verdict
|
|
4
4
|
user-invocable: true
|
|
5
5
|
---
|
|
6
6
|
|