tachibot-mcp 2.27.1 → 2.28.0

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 CHANGED
@@ -5,6 +5,27 @@ 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.28.0] - 2026-08-03
9
+
10
+ ### Added
11
+ - **Qwen3.8 Max** (`qwen/qwen3.8-max`) registered in `OpenRouterModel` and `QWEN_MODELS`. Alibaba's flagship 3.8-series model, general-availability on OpenRouter as of today (Aug 3, 2026). 1M context (up from the 262K of the model it replaces), multimodal input (text+image+video), 131K max completion, $2/$6 per M with cache reads at $0.25/M. It is the **first Qwen model exposing `reasoning_effort`**.
12
+ - **`reasoning_effort` option on `callOpenRouter`** (`"low" | "medium" | "high"`) — forwarded to the OpenRouter request body only when set. OpenRouter drops the parameter for models that don't list it in `supported_parameters`, so the quota-fallback chain stays safe.
13
+ - **`qwen/qwen3.7-max`** registered as the intermediate fallback tier.
14
+
15
+ ### Changed
16
+ - **`qwen_algo` and `qwen_reason` move to Qwen3.8 Max** (from `qwen/qwen3-235b-a22b-thinking-2507`). Verified live against a range-query algorithm problem (offline BIT / persistent segment tree): 3.8 Max produced the most complete answer of the five Qwen candidates tested — the only one to flag both the offline-vs-online tradeoff and the strict-inequality-with-duplicates edge case. The outgoing 235B Thinking model was correct but shallow; `qwen3.7-max` cost 1.6x for twice the wall time. `qwen/qwen3-max-thinking` was rejected outright: it returns 0 reasoning tokens, so its fast/cheap result is not a thinking pass.
17
+ - **`reasoning_effort` is pinned to `"medium"` on every Qwen3.8 call site — never left unset.** Measured on one `qwen_algo` call with the full tool prompt: default effort 302s / 14991 completion tokens / $0.091, `high` 353s / 17521 tokens / $0.106, `medium` 48s / $0.018, `low` 38s / $0.014. On the quality probe, `medium` (18s, $0.006) hit both depth markers that `high` did, while `low` dropped the online-alternative discussion. For reference the outgoing 235B model took 169s and $0.036 on the same prompt for a *shorter* answer — so `medium` is faster, cheaper, and deeper than what it replaces, while the default would have been a 6x latency and 2.5x cost regression.
18
+ - **Output budget for both tools raised 8000 → 12000 tokens** — headroom for the visible answer. Note that reasoning tokens are billed as completion tokens but are *not* charged against `max_tokens` by this provider (a 12000-cap call returned 17521 completion tokens).
19
+ - **`qwen_reason` juror** (`jury-tool.ts`) also moves to Qwen3.8 Max, likewise pinned to `"medium"` — the panel waits on its slowest juror, and default effort would have parked it at ~5 minutes.
20
+ - **`MODEL_FALLBACKS`**: `qwen3.8-max` → `qwen3.7-max` → `qwen3-235b-a22b-thinking-2507`.
21
+ - **`getOpenRouterModelTimeout()`** now routes `qwen3.8` and `qwen3.7-max` to the 600s extended bucket — neither ID contains `thinking`/`reasoning`, so they would otherwise have inherited the 180s default despite being reasoning models.
22
+ - **`TOOL_DEFAULTS.qwen_algo` / `.qwen_reason`** and `CURRENT_MODELS.openrouter.qwen_reason` updated to match the wired values.
23
+ - Tool description and system prompt for `qwen_reason` renamed from "Qwen3-Max-Thinking (>1T params, 98% HMMT)" to Qwen3.8 Max; golden tool-contract snapshot regenerated (this description is the only contract change — tool count stays 65).
24
+
25
+ ### Unchanged
26
+ - **`qwen_coder`, `qwen_competitive`, and `testgen` stay on `qwen3-coder-next`** — it is coding-specialized and ~16x cheaper ($0.12/$0.80 vs $2/$6). Qwen3.8 Max is the reasoning tier, not the codegen tier.
27
+ - `deepseek_algo` (DeepSeek V4 Pro) remains the primary recommendation for algorithmic review; `qwen_algo` is now a stronger runner-up.
28
+
8
29
  ## [2.27.1] - 2026-07-26
9
30
 
10
31
  ### Changed
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  ### Multi-Model AI Orchestration Platform
6
6
 
7
- [![Version](https://img.shields.io/badge/version-2.27.1-blue.svg)](https://www.npmjs.com/package/tachibot-mcp)
7
+ [![Version](https://img.shields.io/badge/version-2.28.0-blue.svg)](https://www.npmjs.com/package/tachibot-mcp)
8
8
  [![Tools](https://img.shields.io/badge/tools-65_active-brightgreen.svg)](#-tool-ecosystem-65-tools)
9
9
  [![License](https://img.shields.io/badge/license-AGPL--3.0-green.svg)](LICENSE)
10
10
  [![Node](https://img.shields.io/badge/node-%3E%3D22.0.0-brightgreen.svg)](https://nodejs.org)
@@ -30,6 +30,13 @@ from Claude Code, Claude Desktop, Cursor, or any MCP client.
30
30
 
31
31
  ## What's New
32
32
 
33
+ ### v2.28.0
34
+ - **Qwen3.8 Max** (Aug 3, `qwen/qwen3.8-max`) — Alibaba's new flagship, GA the same day, now powers `qwen_algo`, `qwen_reason`, and the `qwen_reason` juror. **1M context (up from 262K)**, multimodal (text+image+video in), and the first Qwen exposing **configurable reasoning effort**. $2/$6 per M.
35
+ - **Measured on a range-query algorithm problem**, 3.8 Max was the only one of five Qwen candidates to surface both the offline-vs-online tradeoff and the strict-inequality-with-duplicates edge case. The outgoing `qwen3-235b-a22b-thinking-2507` was correct but shallow; `qwen3.7-max` cost 1.6x for twice the wall time; `qwen3-max-thinking` was rejected outright — it returns zero reasoning tokens.
36
+ - **Effort is pinned to `medium`, deliberately.** This model's *default* effort behaves like `high`: 302s and $0.09 on a single `qwen_algo` call. At `medium` the same call answers at equal depth in 18–48s for $0.006–0.018 — cheaper *and* 3.5x faster than the model it replaces, which took 169s and $0.036 for a shorter answer. `low` starts dropping alternatives and is not used.
37
+ - **`reasoning_effort` pass-through for OpenRouter** — `callOpenRouter` now forwards the parameter; OpenRouter drops it for models that don't list it, so the quota fallback chain (3.8 Max → 3.7 Max → 235B Thinking) stays safe. Qwen3.8/3.7-Max also join the 600s extended-timeout bucket.
38
+ - **`qwen_coder`, `qwen_competitive`, `testgen` stay on Qwen3-Coder-Next** — it is coding-specialized and ~16x cheaper ($0.12/$0.80); 3.8 Max is the reasoning tier, not the codegen tier.
39
+
33
40
  ### v2.27.1
34
41
  - **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
42
  - **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).
@@ -131,6 +131,8 @@ export const MINIMAX_MODELS = {
131
131
  // Qwen3 235B Thinking (July 2025) - Largest reasoning model available
132
132
  // Qwen3-Coder-Next (Feb 2026) - Agentic coding specialist, 80B/3B MoE, 262K context
133
133
  export const QWEN_MODELS = {
134
+ MAX_3_8: "qwen/qwen3.8-max", // Aug 3, 2026: CURRENT flagship reasoning model — 1M ctx, multimodal (text+image+video), reasoning_effort, $2/$6
135
+ MAX_3_7: "qwen/qwen3.7-max", // May 21, 2026: previous flagship, 1M ctx, agent-centric, $1.475/$4.425 (fallback)
134
136
  PLUS_3_7: "qwen/qwen3.7-plus", // Jun 3, 2026: general-purpose flagship, 1M ctx, multimodal, $0.32/$1.28
135
137
  PLUS_3_6: "qwen/qwen3.6-plus", // Apr 2026: previous general-purpose flagship (legacy)
136
138
  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)
@@ -218,7 +220,7 @@ export const CURRENT_MODELS = {
218
220
  openrouter: {
219
221
  kimi: KIMI_MODELS.K3, // K3 (Jul 16, 2026): 2.8T MoE, 1M ctx, multimodal, agentic coding
220
222
  qwen: QWEN_MODELS.CODER_NEXT, // Qwen3-Coder-Next: 80B/3B MoE, 262K ctx, SWE >70% (no 3.6-coder yet)
221
- qwen_reason: QWEN_MODELS.MAX_THINKING, // 235B MoE thinking mode (HMMT 98%) — still best for reasoning
223
+ qwen_reason: QWEN_MODELS.MAX_3_8, // Qwen3.8 Max (Aug 3, 2026): flagship reasoning, 1M ctx, high reasoning effort
222
224
  minimax: MINIMAX_MODELS.M3, // M3: 1M ctx, MSA sparse attention, agentic/coding
223
225
  }
224
226
  };
@@ -329,13 +331,13 @@ export const TOOL_DEFAULTS = {
329
331
  temperature: 0.5,
330
332
  },
331
333
  qwen_algo: {
332
- model: QWEN_MODELS.MAX_THINKING, // 235B-Thinking (LiveCodeBench 91.4, HMMT 98%)
333
- maxTokens: 8000,
334
+ model: QWEN_MODELS.MAX_3_8, // Qwen3.8 Max at reasoning_effort "medium" (default effort ≈ high ≈ 5min)
335
+ maxTokens: 12000, // Raised from 8000 — headroom for the visible answer
334
336
  temperature: 0.2,
335
337
  },
336
338
  qwen_reason: {
337
- model: QWEN_MODELS.MAX_THINKING, // 235B-Thinking, HMMT 98%
338
- maxTokens: 8000,
339
+ model: QWEN_MODELS.MAX_3_8, // Qwen3.8 Max at reasoning_effort "medium" (default effort ≈ high ≈ 5min)
340
+ maxTokens: 12000, // Raised from 8000 — headroom for the visible answer
339
341
  temperature: 0.3, // Lower for precise reasoning
340
342
  },
341
343
  kimi_thinking: {
@@ -48,7 +48,8 @@ export function getOpenRouterModelTimeout(modelId) {
48
48
  const id = modelId.toLowerCase();
49
49
  if (id.includes('thinking') || id.includes('reasoning') ||
50
50
  id.includes('kimi') || id.includes('deepseek') || id.includes('glm') ||
51
- id.includes('stepfun') || id.includes('ernie')) {
51
+ id.includes('stepfun') || id.includes('ernie') ||
52
+ id.includes('qwen3.8') || id.includes('qwen3.7-max')) {
52
53
  return config.openrouterThinking;
53
54
  }
54
55
  return config.openrouter;
@@ -51,9 +51,12 @@ export const JUROR_REGISTRY = {
51
51
  label: "Qwen Reason (Mathematical)",
52
52
  role: "Apply rigorous mathematical and formal reasoning.",
53
53
  call: async (q) => callOpenRouter([
54
- { role: "system", content: `You are Qwen3-Max-Thinking, a flagship reasoning model. Apply rigorous formal reasoning. ${FORMAT_INSTRUCTION}` },
54
+ { role: "system", content: `You are Qwen3.8-Max, Alibaba's flagship reasoning model. Apply rigorous formal reasoning. ${FORMAT_INSTRUCTION}` },
55
55
  { role: "user", content: q }
56
- ], OpenRouterModel.QWEN3_MAX_THINKING, 0.3, JUROR_MAX_TOKENS),
56
+ // Effort MUST be set explicitly: Qwen3.8-Max's default behaves like "high"
57
+ // (~5 min/call), and the panel waits on its slowest juror. "medium" answers
58
+ // at the same depth in well under a minute.
59
+ ], OpenRouterModel.QWEN3_8_MAX, 0.3, JUROR_MAX_TOKENS, { reasoning_effort: "medium" }),
57
60
  },
58
61
  kimi: {
59
62
  label: "Kimi (Step-by-Step)",
@@ -93,13 +93,31 @@ function isPartialResponsesAPI(data) {
93
93
  const obj = data;
94
94
  return Array.isArray(obj.output);
95
95
  }
96
+ /**
97
+ * Pull the human-readable message out of an OpenAI JSON error body so the
98
+ * per-attempt log stays one line instead of an embedded JSON blob.
99
+ * Falls back to the raw (truncated) body when it isn't the expected shape.
100
+ */
101
+ function extractApiErrorMessage(body) {
102
+ try {
103
+ const parsed = JSON.parse(body);
104
+ const message = parsed?.error?.message;
105
+ if (typeof message === 'string' && message.length > 0)
106
+ return message;
107
+ }
108
+ catch {
109
+ // Not JSON — fall through to the raw body.
110
+ }
111
+ const flat = body.replace(/\s+/g, ' ').trim();
112
+ return flat.length > 200 ? `${flat.slice(0, 200)}…` : flat;
113
+ }
96
114
  // Re-export for backward compatibility
97
- // "Thinking" mode = gpt-5.4 with reasoning.effort="high"/"xhigh"
115
+ // "Thinking" mode = the flagship tier with reasoning.effort="high"/"xhigh"
98
116
  export const OpenAIModel5 = {
99
- DEFAULT: OPENAI_MODELS.DEFAULT, // gpt-5.4 (use with reasoning.effort)
100
- THINKING: OPENAI_MODELS.DEFAULT, // gpt-5.4 + high effort = "thinking"
101
- PRO: OPENAI_MODELS.PRO, // gpt-5.4-pro (expert mode)
102
- INSTANT: OPENAI_MODELS.DEFAULT, // gpt-5.4 + low effort = fast
117
+ DEFAULT: OPENAI_MODELS.DEFAULT, // gpt-5.6-sol (use with reasoning.effort)
118
+ THINKING: OPENAI_MODELS.DEFAULT, // gpt-5.6-sol + high effort = "thinking"
119
+ PRO: OPENAI_MODELS.PRO, // gpt-5.6-sol + xhigh effort (no separate pro model in 5.6)
120
+ INSTANT: OPENAI_MODELS.DEFAULT, // gpt-5.6-sol + low effort = fast
103
121
  // Legacy aliases
104
122
  FULL: OPENAI_MODELS.DEFAULT,
105
123
  CODEX_MINI: OPENAI_MODELS.DEFAULT,
@@ -150,12 +168,17 @@ reasoningEffort = "low", requireConfirmation = false, skipValidation = false) {
150
168
  "gpt-5.6-sol": ["gpt-5.6-terra", "gpt-5.5"],
151
169
  "gpt-5.6-terra": ["gpt-5.5"],
152
170
  "gpt-5.6-luna": ["gpt-5.6-terra"],
153
- "gpt-5.4": [], // No fallback - test actual gpt-5.4
154
- "gpt-5.4-mini": ["gpt-5.4"], // Mini falls back to flagship
155
- "gpt-5.4-pro": [] // No fallback - test actual gpt-5.4-pro
171
+ // Legacy 5.4 names (retired) — route to the equivalent current tier so old
172
+ // callers/configs degrade to a live model instead of 404ing on a dead one.
173
+ "gpt-5.4": ["gpt-5.6-terra", "gpt-5.5"],
174
+ "gpt-5.4-mini": ["gpt-5.6-luna", "gpt-5.6-terra"],
175
+ "gpt-5.4-pro": ["gpt-5.6-sol", "gpt-5.6-terra"]
156
176
  };
157
177
  const modelsToTry = [model, ...(modelFallbacks[model] || [])];
158
178
  console.error(`🔍 TRACE: Models to try: ${modelsToTry.join(', ')}`);
179
+ // Every attempt is recorded — reporting only the LAST one hides why the
180
+ // requested model was skipped (e.g. sol 403-gated, then terra/5.5 out of quota).
181
+ const attemptErrors = [];
159
182
  let lastError = '';
160
183
  for (const currentModel of modelsToTry) {
161
184
  console.error(`🔍 TRACE: Trying model: ${currentModel}`);
@@ -208,6 +231,7 @@ reasoningEffort = "low", requireConfirmation = false, skipValidation = false) {
208
231
  if (!response.ok) {
209
232
  const error = await response.text();
210
233
  lastError = `${currentModel}: ${response.statusText} - ${error}`;
234
+ attemptErrors.push(`${currentModel} → ${response.status} ${response.statusText}: ${extractApiErrorMessage(error)}`);
211
235
  console.error(`🔍 TRACE: ${currentModel} failed - Status: ${response.status}, Error: ${error}`);
212
236
  // Check if it's a model not found / not-yet-unlocked error
213
237
  // (403 "insufficient permissions" = org-verification-gated tier, e.g. gpt-5.6-sol)
@@ -277,11 +301,15 @@ reasoningEffort = "low", requireConfirmation = false, skipValidation = false) {
277
301
  lastError = `${currentModel}: ${error instanceof Error ? error.message : String(error)}`;
278
302
  console.error(`🔍 TRACE: ${currentModel} EXCEPTION - ${lastError}`);
279
303
  }
304
+ attemptErrors.push(lastError);
280
305
  continue; // Try next model
281
306
  }
282
307
  }
283
308
  console.error(`🔍 TRACE: ALL MODELS FAILED - Last error: ${lastError}`);
284
- return `[GPT-5 model "${model}" not available. Error: ${lastError}]`;
309
+ const attemptLog = attemptErrors.length
310
+ ? attemptErrors.map((e) => ` - ${e}`).join('\n')
311
+ : ` - ${lastError}`;
312
+ return `[OpenAI request failed. Requested "${model}"; tried ${modelsToTry.join(' → ')}.\n${attemptLog}]`;
285
313
  }
286
314
  /**
287
315
  * GPT-5 Reasoning Tool - Most advanced reasoning with confirmation
@@ -411,9 +439,9 @@ export const openAIBrainstormTool = defineModelTool({
411
439
  constraints: z.string().optional().describe("Technical constraints: language, framework, performance requirements, team size"),
412
440
  ...filesField,
413
441
  quantity: z.number().optional().describe("Number of approaches to generate (default: 5)"),
414
- model: z.enum(["gpt-5.4", "gpt-5.4-mini", "gpt-5.4-pro"])
442
+ model: z.enum(["gpt-5.6-sol", "gpt-5.6-terra", "gpt-5.6-luna"])
415
443
  .optional()
416
- .describe("Model to use - gpt-5.4 (default), gpt-5.4-mini (coding/fast), gpt-5.4-pro (expert)"),
444
+ .describe("Model to use - gpt-5.6-sol (default, flagship), gpt-5.6-terra (balanced), gpt-5.6-luna (fast/cheap)"),
417
445
  reasoning_effort: z.enum(["none", "low", "medium", "high", "xhigh"])
418
446
  .optional()
419
447
  .describe("Reasoning effort level - must be one of: none, low, medium, high, xhigh"),
@@ -26,6 +26,8 @@ export var OpenRouterModel;
26
26
  OpenRouterModel["QWEN3_30B"] = "qwen/qwen3-30b-a3b-instruct-2507";
27
27
  OpenRouterModel["QWEN3_235B_THINKING"] = "qwen/qwen3-235b-a22b-thinking-2507";
28
28
  OpenRouterModel["QWQ_32B"] = "qwen/qwq-32b";
29
+ OpenRouterModel["QWEN3_8_MAX"] = "qwen/qwen3.8-max";
30
+ OpenRouterModel["QWEN3_7_MAX"] = "qwen/qwen3.7-max";
29
31
  OpenRouterModel["QWEN3_MAX_THINKING"] = "qwen/qwen3-235b-a22b-thinking-2507";
30
32
  // Moonshot AI models (Kimi)
31
33
  OpenRouterModel["KIMI_K3"] = "moonshotai/kimi-k3";
@@ -56,6 +58,8 @@ export var OpenRouterModel;
56
58
  const MODEL_FALLBACKS = {
57
59
  [OpenRouterModel.QWEN3_CODER_NEXT]: OpenRouterModel.QWEN3_CODER, // Fall back to 480B if Coder-Next fails
58
60
  [OpenRouterModel.QWEN3_CODER]: OpenRouterModel.QWEN3_CODER,
61
+ [OpenRouterModel.QWEN3_8_MAX]: OpenRouterModel.QWEN3_7_MAX, // Fall back to the 3.7 flagship if 3.8 Max is quota-blocked
62
+ [OpenRouterModel.QWEN3_7_MAX]: OpenRouterModel.QWEN3_MAX_THINKING, // Then to the open-weight 235B thinking model
59
63
  [OpenRouterModel.KIMI_K3]: OpenRouterModel.KIMI_K2_7_CODE, // Fall back to K2.7-Code if K3 fails (also 4x cheaper)
60
64
  [OpenRouterModel.KIMI_K2_7_CODE]: OpenRouterModel.KIMI_K2_6, // Fall back to K2.6 if K2.7-Code fails
61
65
  [OpenRouterModel.KIMI_K2_6]: OpenRouterModel.KIMI_K2_THINKING, // Fall back to k2-thinking if K2.6 fails (k2.5 retired from OpenRouter)
@@ -92,6 +96,7 @@ export async function callOpenRouter(messages, model = OpenRouterModel.QWEN3_COD
92
96
  ...(options.top_k !== undefined && { top_k: options.top_k }),
93
97
  ...(options.presence_penalty !== undefined && { presence_penalty: options.presence_penalty }),
94
98
  ...(options.frequency_penalty !== undefined && { frequency_penalty: options.frequency_penalty }),
99
+ ...(options.reasoning_effort !== undefined && { reasoning_effort: options.reasoning_effort }),
95
100
  };
96
101
  const response = await fetch(OPENROUTER_API_URL, {
97
102
  method: "POST",
@@ -497,7 +502,11 @@ ${FORMAT_INSTRUCTION}`;
497
502
  ];
498
503
  // Use heartbeat to prevent MCP timeout
499
504
  const reportFn = reportProgress ?? (async () => { });
500
- return await withHeartbeat(() => callOpenRouter(messages, OpenRouterModel.QWEN3_MAX_THINKING, 0.25, 8000), reportFn);
505
+ return await withHeartbeat(
506
+ // Qwen3.8-Max. Effort is set EXPLICITLY: this model's default effort behaves like
507
+ // "high" — measured 302s/$0.09 on a single algo call, vs 18-48s/$0.006-0.018 at
508
+ // "medium" for answers of equal depth. Never leave it unset.
509
+ () => callOpenRouter(messages, OpenRouterModel.QWEN3_8_MAX, 0.25, 12000, { reasoning_effort: "medium" }), reportFn);
501
510
  }
502
511
  });
503
512
  /**
@@ -869,7 +878,7 @@ ${FORMAT_INSTRUCTION}`;
869
878
  */
870
879
  export const qwenReasonTool = defineModelTool({
871
880
  name: "qwen_reason",
872
- description: "Heavy mathematical reasoning with Qwen3-Max-Thinking (>1T params, 98% HMMT). Put your PROBLEM in the 'problem' parameter.",
881
+ description: "Heavy mathematical reasoning with Qwen3.8-Max (flagship Qwen reasoning model, 1M context). Put your PROBLEM in the 'problem' parameter.",
873
882
  parameters: z.object({
874
883
  problem: z.string().describe("The problem to reason about (REQUIRED - put your question here)"),
875
884
  ...reasoningContextField,
@@ -892,7 +901,7 @@ export const qwenReasonTool = defineModelTool({
892
901
  const messages = [
893
902
  {
894
903
  role: "system",
895
- content: `You are Qwen3-Max-Thinking, a flagship reasoning model with >1T parameters.
904
+ content: `You are Qwen3.8-Max, Alibaba's flagship reasoning model.
896
905
  ${approachPrompts[args.approach || 'mathematical']}.
897
906
  Show your complete reasoning process.
898
907
  ${args.context ? `Context: ${args.context}` : ''}
@@ -904,7 +913,9 @@ ${FORMAT_INSTRUCTION}`
904
913
  }
905
914
  ];
906
915
  const reportFn = reportProgress ?? (async () => { });
907
- return await withHeartbeat(() => callOpenRouter(messages, OpenRouterModel.QWEN3_MAX_THINKING, 0.3, 8000), reportFn);
916
+ return await withHeartbeat(
917
+ // Effort set explicitly — see the note in qwen_algo: unset behaves like "high" (~5min).
918
+ () => callOpenRouter(messages, OpenRouterModel.QWEN3_8_MAX, 0.3, 12000, { reasoning_effort: "medium" }), reportFn);
908
919
  }
909
920
  });
910
921
  /**
@@ -24,10 +24,11 @@ const nebulaTheme = {
24
24
  description: 'Modern SaaS look with soft pastels (default)',
25
25
  modelBadges: {
26
26
  // OpenAI - Emerald green (brand color)
27
- openai: { bg: 'bgGreen', fg: 'black', label: ' gpt-5.4 ' },
28
- 'gpt-5.4': { bg: 'bgGreen', fg: 'black', label: ' gpt-5.4 ' },
29
- 'gpt-5.4-mini': { bg: 'bgGreen', fg: 'black', label: ' gpt-5.4-mini ' },
30
- 'gpt-5.4-pro': { bg: 'bgGreenBright', fg: 'black', label: ' gpt-5.4-pro ' },
27
+ openai: { bg: 'bgGreen', fg: 'black', label: ' openai ' },
28
+ 'gpt-5.6-sol': { bg: 'bgGreenBright', fg: 'black', label: ' gpt-5.6-sol ' },
29
+ 'gpt-5.6-terra': { bg: 'bgGreen', fg: 'black', label: ' gpt-5.6-terra ' },
30
+ 'gpt-5.6-luna': { bg: 'bgGreen', fg: 'black', label: ' gpt-5.6-luna ' },
31
+ 'gpt-5.5': { bg: 'bgGreen', fg: 'black', label: ' gpt-5.5 ' },
31
32
  // Gemini - Google blue
32
33
  gemini: { bg: 'bgBlueBright', fg: 'black', label: ' gemini ' },
33
34
  'gemini-3.1-pro-preview': { bg: 'bgBlueBright', fg: 'black', label: ' gemini-3.1-pro ' },
@@ -108,10 +109,11 @@ const cyberpunkTheme = {
108
109
  description: 'High contrast neon on black - Blade Runner vibes',
109
110
  modelBadges: {
110
111
  // OpenAI - Electric green
111
- openai: { bg: 'bgGreenBright', fg: 'black', label: ' ⚡ GPT-5.4 ' },
112
- 'gpt-5.4': { bg: 'bgGreenBright', fg: 'black', label: ' ⚡ GPT-5.4 ' },
113
- 'gpt-5.4-mini': { bg: 'bgGreenBright', fg: 'black', label: ' ⚡ GPT-5.4-MINI ' },
114
- 'gpt-5.4-pro': { bg: 'bgGreenBright', fg: 'black', label: ' ⚡ GPT-5.4-PRO ' },
112
+ openai: { bg: 'bgGreenBright', fg: 'black', label: ' ⚡ OPENAI ' },
113
+ 'gpt-5.6-sol': { bg: 'bgGreenBright', fg: 'black', label: ' ⚡ GPT-5.6-SOL ' },
114
+ 'gpt-5.6-terra': { bg: 'bgGreenBright', fg: 'black', label: ' ⚡ GPT-5.6-TERRA ' },
115
+ 'gpt-5.6-luna': { bg: 'bgGreenBright', fg: 'black', label: ' ⚡ GPT-5.6-LUNA ' },
116
+ 'gpt-5.5': { bg: 'bgGreen', fg: 'black', label: ' ⚡ GPT-5.5 ' },
115
117
  // Gemini - Electric blue
116
118
  gemini: { bg: 'bgBlueBright', fg: 'black', label: ' ◈ GEMINI ' },
117
119
  'gemini-3.1-pro-preview': { bg: 'bgBlueBright', fg: 'black', label: ' ◈ GEMINI-3 ' },
@@ -192,10 +194,11 @@ const minimalTheme = {
192
194
  description: 'Clean Swiss typography, minimal color usage',
193
195
  modelBadges: {
194
196
  // All badges are simple, dark bg with white text
195
- openai: { bg: 'bgBlack', fg: 'green', label: ' gpt-5.4 ' },
196
- 'gpt-5.4': { bg: 'bgBlack', fg: 'green', label: ' gpt-5.4 ' },
197
- 'gpt-5.4-mini': { bg: 'bgBlack', fg: 'green', label: ' gpt-5.4-mini ' },
198
- 'gpt-5.4-pro': { bg: 'bgBlack', fg: 'greenBright', label: ' gpt-5.4-pro ' },
197
+ openai: { bg: 'bgBlack', fg: 'green', label: ' openai ' },
198
+ 'gpt-5.6-sol': { bg: 'bgBlack', fg: 'greenBright', label: ' gpt-5.6-sol ' },
199
+ 'gpt-5.6-terra': { bg: 'bgBlack', fg: 'green', label: ' gpt-5.6-terra ' },
200
+ 'gpt-5.6-luna': { bg: 'bgBlack', fg: 'green', label: ' gpt-5.6-luna ' },
201
+ 'gpt-5.5': { bg: 'bgBlack', fg: 'green', label: ' gpt-5.5 ' },
199
202
  gemini: { bg: 'bgBlack', fg: 'blue', label: ' gemini ' },
200
203
  'gemini-3.1-pro-preview': { bg: 'bgBlack', fg: 'blue', label: ' gemini-3 ' },
201
204
  'gemini-3.6-flash': { bg: 'bgBlack', fg: 'blueBright', label: ' gemini-3.6-flash ' },
@@ -269,10 +272,11 @@ const oceanTheme = {
269
272
  name: 'ocean',
270
273
  description: 'Cool blues and teals - calm and professional',
271
274
  modelBadges: {
272
- openai: { bg: 'bgGreen', fg: 'black', label: ' gpt-5.4 ' },
273
- 'gpt-5.4': { bg: 'bgGreen', fg: 'black', label: ' gpt-5.4 ' },
274
- 'gpt-5.4-mini': { bg: 'bgGreen', fg: 'black', label: ' gpt-5.4-mini ' },
275
- 'gpt-5.4-pro': { bg: 'bgGreenBright', fg: 'black', label: ' gpt-5.4-pro ' },
275
+ openai: { bg: 'bgGreen', fg: 'black', label: ' openai ' },
276
+ 'gpt-5.6-sol': { bg: 'bgGreenBright', fg: 'black', label: ' gpt-5.6-sol ' },
277
+ 'gpt-5.6-terra': { bg: 'bgGreen', fg: 'black', label: ' gpt-5.6-terra ' },
278
+ 'gpt-5.6-luna': { bg: 'bgGreen', fg: 'black', label: ' gpt-5.6-luna ' },
279
+ 'gpt-5.5': { bg: 'bgGreen', fg: 'black', label: ' gpt-5.5 ' },
276
280
  gemini: { bg: 'bgBlueBright', fg: 'black', label: ' gemini ' },
277
281
  'gemini-3.1-pro-preview': { bg: 'bgBlueBright', fg: 'black', label: ' gemini-3 ' },
278
282
  'gemini-3.6-flash': { bg: 'bgBlue', fg: 'white', label: ' gemini-3.6-flash ' },
@@ -222,7 +222,7 @@ openai_reason({
222
222
 
223
223
  ### qwen_reason
224
224
 
225
- Heavy mathematical reasoning with Qwen3-Max-Thinking (>1T params, 98% HMMT). Put your PROBLEM in the `problem` parameter.
225
+ Heavy mathematical reasoning with Qwen3.8-Max (flagship Qwen reasoning model, 1M context). Put your PROBLEM in the `problem` parameter.
226
226
 
227
227
  #### Parameters
228
228
 
@@ -59,7 +59,7 @@ The single-model reasoning tools (`grok_reason`, `deepseek_reason`, `glm_reason`
59
59
 
60
60
  Model-specific extras: `grok_reason` has `useHeavy: boolean` (Grok 4 Heavy, $3/$15, for hard problems); `kimi_thinking` has `maxSteps: integer (1-10, default 3)`.
61
61
 
62
- **Choosing among the reasoning tools** — see CLAUDE.md's Model Configuration table for current model IDs/pricing. As a rule of thumb: `deepseek_reason` for open-weight frontier math/reasoning, `qwen_reason` for the heaviest math (HMMT-grade), `qwq_reason` when you want 4-perspective debate instead of a single answer, `kimi_thinking`/`glm_reason` for agentic/tool-use planning, `stepfun_reason` for cheaper-but-strong AIME/SWE reasoning, `ernie_reason` for broad-knowledge/arena-style answers.
62
+ **Choosing among the reasoning tools** — see CLAUDE.md's Model Configuration table for current model IDs/pricing. As a rule of thumb: `deepseek_reason` for open-weight frontier math/reasoning, `qwen_reason` for the heaviest math (Qwen3.8 Max, 1M context), `qwq_reason` when you want 4-perspective debate instead of a single answer, `kimi_thinking`/`glm_reason` for agentic/tool-use planning, `stepfun_reason` for cheaper-but-strong AIME/SWE reasoning, `ernie_reason` for broad-knowledge/arena-style answers.
63
63
 
64
64
  ---
65
65
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "tachibot-mcp",
3
3
  "mcpName": "io.github.byPawel/tachibot-mcp",
4
4
  "displayName": "TachiBot MCP - Universal AI Orchestrator",
5
- "version": "2.27.1",
5
+ "version": "2.28.0",
6
6
  "type": "module",
7
7
  "main": "dist/src/server.js",
8
8
  "bin": {