tachibot-mcp 2.32.0 → 2.34.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.
Files changed (46) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/README.md +42 -16
  3. package/dist/src/cli/init.js +1 -1
  4. package/dist/src/config/model-constants.js +47 -26
  5. package/dist/src/config/model-defaults.js +3 -3
  6. package/dist/src/optimization/model-router.js +4 -1
  7. package/dist/src/orchestrators/collaborative/services/visualization/VisualizationService.js +10 -6
  8. package/dist/src/profiles/balanced.js +3 -1
  9. package/dist/src/profiles/code_focus.js +2 -0
  10. package/dist/src/profiles/full.js +3 -1
  11. package/dist/src/profiles/heavy_coding.js +2 -0
  12. package/dist/src/profiles/minimal.js +2 -0
  13. package/dist/src/profiles/research_power.js +3 -1
  14. package/dist/src/prompt-engineer-lite.js +82 -0
  15. package/dist/src/tools/blog-writer-tool.js +55 -0
  16. package/dist/src/tools/diff-review-tool.js +1 -1
  17. package/dist/src/tools/doctor-tool.js +1 -1
  18. package/dist/src/tools/grok-enhanced.js +23 -13
  19. package/dist/src/tools/openai-tools.js +77 -33
  20. package/dist/src/tools/openrouter-tools.js +8 -5
  21. package/dist/src/tools/plan-critique-tool.js +1 -1
  22. package/dist/src/tools/prompt-technique-tools.js +40 -1
  23. package/dist/src/tools/provider-catalog.js +1 -0
  24. package/dist/src/tools/registry.js +4 -1
  25. package/dist/src/utils/ansi-styles.js +12 -0
  26. package/dist/src/workflows/tool-mapper.js +23 -22
  27. package/docs/TOOLS_REFERENCE.md +31 -6
  28. package/docs/TOOL_PROFILES.md +15 -15
  29. package/docs/superpowers/plans/2026-08-17-writing-techniques.md +637 -0
  30. package/docs/superpowers/plans/2026-08-25-file-grounded-deliberation.md +855 -0
  31. package/docs/superpowers/plans/2026-08-29-planner-split-waves.md +317 -0
  32. package/package.json +2 -2
  33. package/profiles/balanced.json +2 -1
  34. package/profiles/code_focus.json +1 -0
  35. package/profiles/full.json +2 -1
  36. package/profiles/heavy_coding.json +1 -0
  37. package/profiles/minimal.json +1 -0
  38. package/profiles/research_power.json +2 -1
  39. package/skills/council/SKILL.md +336 -0
  40. package/skills/jury/SKILL.md +149 -0
  41. package/skills/prompt/SKILL.md +4 -3
  42. package/skills/review/SKILL.md +1 -1
  43. package/skills/setup/SKILL.md +1 -1
  44. package/skills/write/SKILL.md +210 -0
  45. package/smithery.yaml +1 -1
  46. package/tools.config.json +2 -1
package/CHANGELOG.md CHANGED
@@ -5,6 +5,45 @@ 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.34.0] - 2026-09-14
9
+
10
+ ### Changed
11
+ - **OpenAI default is now GPT-6 Astra (`gpt-6-astra`).** Released Sep 3, 2026: $10/$50 per 1M tokens (2x `gpt-5.6-sol`'s input price), 1.05M context, 128K output. Verified live against `/v1/models` and `/v1/responses` on Sep 14, 2026. Every `OPENAI_MODELS.DEFAULT` caller moves — `openai_reason`, `openai_brainstorm`, `openai_code_review`, `spec_writer`, `tachi`, the GPT reviewers in `diff_review` / `plan_critique` — along with the `PRO` / `THINKING` / `FULL` / `CODEX_MAX` aliases workflows use. Astra rolled out to a limited set of orgs first, so `callOpenAI` falls back astra → `gpt-5.6-sol` → `gpt-5.6-terra` on a 403/404. `openai_brainstorm` accepts `gpt-6-astra` alongside the three GPT-5.6 tiers.
12
+ - **`openai_explain` stays on `gpt-5.6-sol`.** Low-effort explanations don't need the flagship, so the tool is pinned to the previous default rather than doubling its per-call cost. `openai_search` (terra), the jury's GPT juror (luna) and the Gemini-down judge escalation (sol) are unchanged.
13
+ - **`qwq_reason` runs Qwen3.8-27B.** `qwen/qwq-32b` is gone from OpenRouter — every call returned 404 "No endpoints found", so the tool had been failing outright. The tool, its workflow mapping and the `openrouter_multi` `qwq-32b` option now call `qwen/qwen3.8-27b` (dense 27B, 1M context, $0.21/$2.55) with `reasoning_effort: medium`, falling back to `qwen3-235b-a22b-thinking-2507`. On a probability probe it answered correctly in 2.0s for $0.0007; the 235B thinking model took 16.3s. Tool name and parameters are unchanged.
14
+
15
+ ### Fixed
16
+ - **GPT-6 models could not be called at all.** `callOpenAI` used the Responses API only for model names starting with `gpt-5.`, so `gpt-6-astra` fell through to Chat Completions with `temperature: 0.7` and no reasoning effort. OpenAI answers that with 400 "'temperature' does not support 0.7 with this model". `gpt-6-*` now goes to the Responses API without temperature.
17
+ - **Astra rejects `reasoning_effort` `none` and `minimal`** — it accepts only low/medium/high/xhigh/max. Those values are now sent as `low` for GPT-6 models instead of burning the attempt on a 400; GPT-5.6 tiers still receive `none` unchanged.
18
+ - **Workflow steps ran a different OpenAI model than the tool of the same name.** `tool-mapper` reimplemented `openai_code_review`, `openai_explain` and `openai_reason` with its own prompts and model picks, so after the Astra bump a workflow `openai_code_review` step ran `gpt-5.6-luna` while the MCP tool ran `gpt-6-astra` (`openai_explain`: luna vs sol; `openai_reason`: `high` effort and a generic prompt vs `xhigh`). The three cases now delegate to the real tools, so model, effort and prompt match; a step's custom `systemPrompt` no longer applies to them. A second, unreachable `case "openai_reason"` was removed.
19
+ - **Stale model labels.** The `diff_review` and `plan_critique` panels labelled their GPT reviewer "GPT-5.6 Sol" and "GPT-5.5", and `doctor` / `tachibot init` still advertised "GPT-5.5".
20
+ - **Version drift.** 2.33.1 bumped only `package.json`; `manifest.json`, `server.json` and `package.mcpb.json` still said 2.33.0. All now carry 2.34.0.
21
+
22
+ ## [2.33.1] - 2026-08-29
23
+
24
+ ### Changed
25
+ - **Gemini flash tier bumped to `gemini-3.7-flash`** (GA Aug 13, 2026 — 1M ctx, $0.75/$3.75 intro pricing through Dec 31, 2026, then $1.50/$7.50). Powers `gemini_search` and the Pro-quota degradation path; `gemini-3.6-flash` stays wired as the fallback. Verified live against the Gemini API. No new Pro model exists as of Aug 29, 2026 (3.5 Pro missed its June window; still in partner testing), so the reasoning/judge default remains `gemini-3.1-pro-preview`.
26
+
27
+ ### Fixed
28
+ - **`grok_search` returned the model's plan instead of its answer.** xAI's `/v1/responses` agentic runs interleave several `message` items with `web_search_call` entries — a preamble ("I'll search official docs…"), the server-side searches, then the answer as a *later* message. Extraction used `.find(type === "message")`, i.e. first-message-wins, so any run where grok-4.6 narrated a plan returned the plan and silently dropped the answer (observed 3× on Aug 29; `grok_search_lite` dodged it because the cheaper model skips the preamble). Text and `url_citation` annotations are now collected from **every** message in order, and a response with no visible text at all (e.g. `status:"incomplete"` from reasoning exhausting `max_output_tokens`) throws a descriptive error instead of the fake-success `"No response from Grok"`.
29
+ - **OpenAI tools could return an empty response as success.** The Responses API returns HTTP 200 with `status: "incomplete"` (`incomplete_details.reason: "max_output_tokens"`) and a reasoning-only output array when reasoning consumes the whole token budget before any visible text. `callOpenAI` never read `status`, masked the miss with the placeholder "No response from OpenAI", and logged SUCCESS — billing the reasoning tokens for nothing and showing the caller no error. Empty visible text now records a per-attempt error and falls through the model fallback chain, so total failure surfaces as `[OpenAI request failed …]` naming the reason for every attempt.
30
+ - **GPT-5.x output budgets sat far below OpenAI's documented reserve.** `max_output_tokens` *includes* reasoning tokens, and the docs recommend reserving at least 25,000 for reasoning models — the tools passed 4,000–8,000, which high-effort reasoning exhausts before emitting a word (the empty-response trigger above). Responses-API calls with any `reasoning_effort` other than `none` now floor the budget at 25,000; the cap is an upper bound, so only tokens actually generated bill.
31
+ - **`npm test` ran sibling worktrees' suites.** `testPathIgnorePatterns` said "don't descend into agent worktrees" but never listed `.worktrees/`, so branches checked out there injected phantom failures into the main tree's run. Added `/.worktrees/` to the ignore list.
32
+ - **`focus` progress table printed `session_` as the session id.** Ids are `session_<timestamp>_<hex>`, so slicing the first 8 chars only ever showed the literal prefix; the distinctive hex tail is displayed instead. Emoji also left the table cells — terminal renderers count them as 1–2 columns inconsistently, skewing every border.
33
+
34
+ ## [2.33.0] - 2026-08-27
35
+
36
+ ### Added
37
+ - **The writing family (`storm`, `re3`, `de_generic`)** — the library had creative *thinking* (`what_if`, `innovate`, `alt_view`, `creative_use`) and zero creative *writing*. Against a 7-stage pipeline, stage 4 (structure) and stage 5 (draft) were empty, and stage 6 (revise) fell to `reflexion`, which optimises toward *correct* — prose revision is cutting, rhythm and specificity, which is a different objective. 85 → 88 techniques.
38
+ - **`blog_writer`** — researched long-form in one call, composing `storm` and `re3` rather than carrying a private copy of their text. A copy would drift the moment either template was edited, and drift *silently*, because both paths still emit well-formed prose. `research: true` runs the persona interview first and feeds its 3 surprising answers into the four-pass write; `research: false` goes straight to the passes. 66 → 67 tools; enabled in `full`, `balanced` and `research_power`, off in `minimal`, `code_focus` and `heavy_coding`.
39
+
40
+ ### Fixed
41
+ - **`preview_prompt_technique(technique="auto")` had no route for writing intent.** `RECOMMEND_RULES` carried no matcher for it, so "write a blog post" fell through to `CORE_TECHNIQUES.slice(0, 3)` — `chain_of_note` / `astute_rag` / `spotlighting` — while `list_prompt_techniques` advertised `auto` as the way in. Writing verbs now route to `storm`, `re3`, `de_generic`.
42
+ - **`blog_writer` truncated silently at `maxTokens: 8000`.** Its output is several full renderings of the same piece (`re3`'s draft, restructure and line-edit passes, plus `storm`'s 16 marked answers on the default research path), unlike sibling tools that emit one artifact. 8000 was already at the ceiling at the word count the docs use as their own example, and nothing errored on truncation. Raised to 16000.
43
+ - **The storm → re3 seam discarded its own outline.** `blog-writer-tool.ts` dropped storm's Stage 4 outline and word budgets and re-derived them from scratch in re3's Pass 1; they are now carried across.
44
+ - **Stale doc counts.** `TOOLS_REFERENCE.md` and `TOOL_PROFILES.md` claimed `continue_focus` sits outside the profile system and is not counted — `profiles/full.json` and the golden snapshot both count it. `skills/prompt/SKILL.md` still said 37 techniques (now 88) and was missing five filter categories (retrieval, security, few_shot, tabular, writing). README's per-profile table was one release behind before this work and two behind after.
45
+ - **Anti-drift tests could not detect drift.** The "uses the template rather than a private copy" tests asserted characteristic phrases that a copy would also satisfy; they now assert the engine's exact live output.
46
+
8
47
  ## [2.32.0] - 2026-08-15
9
48
 
10
49
  ### Added
package/README.md CHANGED
@@ -4,18 +4,18 @@
4
4
 
5
5
  ### Multi-Model AI Orchestration Platform
6
6
 
7
- [![Version](https://img.shields.io/badge/version-2.30.1-blue.svg)](https://www.npmjs.com/package/tachibot-mcp)
8
- [![Tools](https://img.shields.io/badge/tools-66_active-brightgreen.svg)](#-tool-ecosystem-66-tools)
7
+ [![Version](https://img.shields.io/badge/version-2.34.0-blue.svg)](https://www.npmjs.com/package/tachibot-mcp)
8
+ [![Tools](https://img.shields.io/badge/tools-67_active-brightgreen.svg)](#-tool-ecosystem-67-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)
11
11
  [![MCP](https://img.shields.io/badge/MCP-Compatible-purple.svg)](https://modelcontextprotocol.io)
12
12
 
13
- **66 AI tools. 12 providers. One protocol.**
13
+ **67 AI tools. 12 providers. One protocol.**
14
14
 
15
- Orchestrate Perplexity, Grok 4.6, GPT-5.6, Gemini, Qwen, Kimi K3, and MiniMax M3
15
+ Orchestrate Perplexity, Grok 4.6, GPT-6 Astra, Gemini, Qwen, Kimi K3, and MiniMax M3
16
16
  from Claude Code, Claude Desktop, Cursor, or any MCP client.
17
17
 
18
- [Get Started](#-quick-start) &#183; [View Tools](#-tool-ecosystem-66-tools) &#183; [Documentation](https://tachibot.com/docs)
18
+ [Get Started](#-quick-start) &#183; [View Tools](#-tool-ecosystem-67-tools) &#183; [Documentation](https://tachibot.com/docs)
19
19
 
20
20
  <br>
21
21
 
@@ -30,6 +30,32 @@ from Claude Code, Claude Desktop, Cursor, or any MCP client.
30
30
 
31
31
  ## What's New
32
32
 
33
+ ### v2.34.0
34
+ - **GPT-6 Astra is the OpenAI default.** `gpt-6-astra` (Sep 3, 2026; $10/$50, 1.05M context) now backs `openai_reason`, `openai_brainstorm`, `openai_code_review`, `spec_writer`, `tachi` and the GPT reviewers in `diff_review` / `plan_critique`. Astra rolled out to a limited set of orgs first, so calls fall back to `gpt-5.6-sol`, then `gpt-5.6-terra`, when an org lacks access. `openai_explain` stays on sol — low-effort explanations don't need the flagship.
35
+ - **GPT-6 models could not be called at all.** `callOpenAI` only used the Responses API for names starting with `gpt-5.`, so Astra fell through to Chat Completions with `temperature: 0.7` and got a 400. `gpt-6-*` now goes to the Responses API without temperature, and the `none`/`minimal` reasoning efforts Astra rejects are sent as `low`.
36
+ - **`qwq_reason` works again.** `qwen/qwq-32b` was retired from OpenRouter (every call returned 404), so the tool now runs `qwen/qwen3.8-27b` at `reasoning_effort: medium` with the 235B thinking model as fallback — correct on a probe problem in 2.0s for $0.0007. Tool name and parameters are unchanged.
37
+ - Tool count unchanged at 67.
38
+
39
+ ### v2.33.0
40
+ - **The writing family (`storm`, `re3`, `de_generic`).** The library had creative *thinking* (`what_if`, `innovate`, `alt_view`, `creative_use`) and zero creative *writing*: against a 7-stage pipeline, stage 4 (structure) and stage 5 (draft) were empty, and stage 6 (revise) fell through to `reflexion` — which optimises toward *correct*, while prose revision is cutting, rhythm and specificity. **85 → 88 techniques.**
41
+ - **`blog_writer`** — researched long-form in one call, composing `storm` and `re3` rather than carrying a private copy of their text. A copy would drift the moment either template was edited, and drift *silently*, because both paths still emit well-formed prose. `research: true` runs the persona interview first and feeds its 3 surprising answers into the four-pass write. **66 → 67 tools**; enabled in `full`, `balanced` and `research_power`.
42
+ - **`preview_prompt_technique(technique="auto")` had no route for writing intent.** `RECOMMEND_RULES` carried no matcher, so "write a blog post" fell through to `CORE_TECHNIQUES.slice(0, 3)` — `chain_of_note` / `astute_rag` / `spotlighting` — while `list_prompt_techniques` advertised `auto` as the way in. Writing verbs now route to `storm`, `re3`, `de_generic`.
43
+ - **`blog_writer` truncated silently at `maxTokens: 8000`.** Its output is several full renderings of the same piece (`re3`'s draft, restructure and line-edit passes, plus `storm`'s 16 marked answers), unlike sibling tools that emit one artifact. 8000 was already at the ceiling at the word count the docs use as their own example, and nothing errored on truncation. Raised to 16000.
44
+ - **Anti-drift tests could not detect drift.** The "uses the template rather than a private copy" tests asserted characteristic phrases that a copy would also satisfy; they now assert the engine's exact live output.
45
+
46
+ ### v2.32.0
47
+ - **Tabular family (7 new techniques)** — data-shaped work had no coverage at all, so "filter these rows" fell through to the generic core contracts. `data_assert` states the downstream purpose first, then checks the data with executable assertions carrying counts, because a filter that silently matched zero rows is indistinguishable from one that worked. Plus `chain_of_table`, `sub_table_first`, `sql_stages`, `xlsx_map`, `table_format`, `self_debug`.
48
+ - **Retrieval family completed (3 new)** — `astute_rag` answers from memory first, then marks each source agrees/fills/conflicts and resolves every conflict out loud; `crag` grades sources correct/ambiguous/wrong and acts on the grade, since search always returns its nearest neighbours and has no way to return nothing; `hyde` drafts the answer you wish existed, searches with *its* vocabulary, then discards it.
49
+ - **Spotlighting fences carried 24 bits of entropy, not 32.** `untrustedFence()` called `randomBytes(3)` while its own comment block had reasoned its way to 4. Spotlighting's entire security property is that an attacker cannot guess the delimiter needed to close your block, so the shortfall was load-bearing. Now 8 hex characters, as documented.
50
+ - **The literal `37` survived three expansions of the catalogue** (37 → 74 → 85) inside the `list_prompt_techniques` description — the text a model reads to decide whether to call the tool at all. It is now derived from `FLAT_TECHNIQUES.length`.
51
+ - **74 → 85 techniques.** Tool count unchanged at 66.
52
+
53
+ ### v2.31.0
54
+ - **Prompt technique library goes 37 → 74**, closing three families that were at **zero** coverage. **Retrieval (4):** TachiBot ships five search tools and had no discipline for what to do with what they return — retrieved text went straight into reasoning unfiltered, which is where confidently-miscited sources come from. **Prompt-injection defence (1):** those same tools ingest untrusted web text with no isolation contract, so a page saying "ignore previous instructions" was read exactly like our own prompt; `spotlighting` fences it and states the rule. **Few-shot (5):** nothing touched example selection or ordering, despite this moving accuracy more than most reasoning tricks.
55
+ - **Eight trace-management techniques** from Jun–Aug 2026 research, including `hourglass` (compress to a rule, discard the exploration, regenerate from the rule instead of appending errors) and `backtrack` (rewind to the last validated checkpoint rather than restarting or patching).
56
+ - **Twelve original prompts rewritten to read as instructions.** The early set used telegraphic shorthand that reads as a label rather than a request, leaving the model to infer the task.
57
+ - **Recommendation rules for all of it** — 74 techniques is past the point where anyone recalls names, so `RECOMMEND_RULES` gained eight groups matched to how people actually phrase the situation. Without these the new techniques were reachable only by knowing their name in advance.
58
+
33
59
  ### v2.30.1
34
60
  - **Tool descriptions no longer name-drop model versions.** 19 descriptions were rewritten to name the provider and the task instead of pinned strings like "GPT-5.2", "Kimi K3" or "424B MoE" — those silently rot on every model bump and then actively mislead the routing model. Two were outright wrong: `openai_reason` and `openai_search` advertised "GPT-5.2" while the code calls the current OpenAI flagship tier.
35
61
  - **`grok_search` finally says why to pick it.** Its entire description was "Web search" — no way to choose it over the four other search tools. It now states its live X/news grounding edge and cross-references `grok_search_lite` as the cheaper path. The five OpenRouter reasoners (`deepseek_reason`, `glm_reason`, `stepfun_reason`, `ernie_reason`, `qwen_reason`) likewise differed only by vendor trivia; each now carries an actual routing rule for when to pick it.
@@ -57,7 +83,7 @@ from Claude Code, Claude Desktop, Cursor, or any MCP client.
57
83
 
58
84
  ### v2.27.1
59
85
  - **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).
60
- - **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).
86
+ - **Gemini 3.7 Flash** (GA Aug 13, `gemini-3.7-flash`) is the new search/workhorse tier behind `gemini_search` — 1M context at **$0.75/$3.75 intro pricing through Dec 31, 2026** (then $1.50/$7.50); `gemini-3.6-flash` stays as the fallback. Flash-Lite remains `gemini-3.5-flash-lite` ($0.30/$2.50).
61
87
  - **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.
62
88
 
63
89
  ### v2.27.0
@@ -131,7 +157,7 @@ Skills automatically adapt to your configured API keys. Even with just 1-2 provi
131
157
 
132
158
  ### Multi-Model Intelligence
133
159
  - **65 AI Tools** across 12 providers &mdash; Perplexity, Grok, GPT-5, Gemini, Qwen, Kimi, MiniMax, DeepSeek, GLM (Zhipu), StepFun, ERNIE (Baidu), plus free local models (Ollama / LM Studio / llama.cpp / vLLM)
134
- - **Gemini 3.6 Flash** (`gemini-3.6-flash`, GA Jul 21 2026) &mdash; Flash/search tier; reasoning default stays `gemini-3.1-pro-preview` (Google has still not shipped a 3.5 Pro)
160
+ - **Gemini 3.7 Flash** (`gemini-3.7-flash`, GA Aug 13 2026) &mdash; Flash/search tier; reasoning default stays `gemini-3.1-pro-preview` (Google has still not shipped a 3.5 Pro)
135
161
  - **Multi-Model Council** &mdash; planner_maker synthesizes plans from 5+ models into bite-sized TDD steps
136
162
  - **Smart Routing** &mdash; Automatic model selection for optimal results
137
163
  - **OpenRouter Gateway** &mdash; Optional single API key for all providers
@@ -145,12 +171,12 @@ Skills automatically adapt to your configured API keys. Even with just 1-2 provi
145
171
  ### Tool Profiles
146
172
  | Profile | Tools | Best For |
147
173
  |---------|-------|----------|
148
- | **Minimal** | 13 | Quick tasks, low token budget |
149
- | **Research Power** | 36 | Deep investigation, multi-source |
150
- | **Code Focus** | 42 | Software development, SWE tasks |
151
- | **Balanced** | 54 | General-purpose, mixed workflows |
152
- | **Heavy Coding** | 58 | Max code tools + agentic workflows |
153
- | **Full** (default) | 65 | Everything enabled |
174
+ | **Minimal** | 14 | Quick tasks, low token budget |
175
+ | **Research Power** | 38 | Deep investigation, multi-source |
176
+ | **Code Focus** | 43 | Software development, SWE tasks |
177
+ | **Balanced** | 56 | General-purpose, mixed workflows |
178
+ | **Heavy Coding** | 59 | Max code tools + agentic workflows |
179
+ | **Full** (default) | 67 | Everything enabled |
154
180
 
155
181
  ### Developer Experience
156
182
  - **Claude Code** &mdash; First-class support
@@ -230,13 +256,13 @@ See [Installation Guide](docs/INSTALLATION_BOTH.md) for detailed instructions.
230
256
 
231
257
  ---
232
258
 
233
- ## Tool Ecosystem (66 Tools)
259
+ ## Tool Ecosystem (67 Tools)
234
260
 
235
261
  ### Research & Search (6)
236
262
  `perplexity_ask` &#183; `perplexity_reason` &#183; `grok_search` &#183; `grok_search_lite` &#183; `openai_search` &#183; `gemini_search`
237
263
 
238
- ### Reasoning & Planning (14)
239
- `grok_reason` &#183; `openai_reason` &#183; `qwen_reason` &#183; `qwq_reason` &#183; `kimi_thinking` &#183; `kimi_decompose` &#183; `deepseek_reason` &#183; `glm_reason` &#183; `stepfun_reason` &#183; `ernie_reason` &#183; `planner_maker` &#183; `planner_runner` &#183; `list_plans` &#183; `spec_writer`
264
+ ### Reasoning & Planning (15)
265
+ `grok_reason` &#183; `openai_reason` &#183; `qwen_reason` &#183; `qwq_reason` &#183; `kimi_thinking` &#183; `kimi_decompose` &#183; `deepseek_reason` &#183; `glm_reason` &#183; `stepfun_reason` &#183; `ernie_reason` &#183; `planner_maker` &#183; `planner_runner` &#183; `list_plans` &#183; `spec_writer` &#183; `blog_writer`
240
266
 
241
267
  ### Code Intelligence (11)
242
268
  `kimi_code` &#183; `grok_code` &#183; `grok_debug` &#183; `qwen_coder` &#183; `qwen_algo` &#183; `qwen_competitive` &#183; `deepseek_algo` &#183; `minimax_code` &#183; `minimax_agent` &#183; `testgen` &#183; `debug_triage`
@@ -13,7 +13,7 @@ const KEYS = [
13
13
  { name: "OpenRouter", envVar: "OPENROUTER_API_KEY", unlocks: "DeepSeek/GLM/Kimi/Qwen/MiniMax/StepFun/ERNIE + planner (~30 tools)" },
14
14
  { name: "Perplexity", envVar: "PERPLEXITY_API_KEY", unlocks: "web research tools" },
15
15
  { name: "Gemini / Google", envVar: "GOOGLE_API_KEY", unlocks: "Gemini tools + jury judge + diff_review/plan_critique" },
16
- { name: "OpenAI", envVar: "OPENAI_API_KEY", unlocks: "GPT-5.5 tools + spec_writer" },
16
+ { name: "OpenAI", envVar: "OPENAI_API_KEY", unlocks: "OpenAI (GPT) tools + spec_writer" },
17
17
  { name: "Grok / xAI", envVar: "GROK_API_KEY", unlocks: "Grok tools + debug_triage" },
18
18
  ];
19
19
  function defaultProbe() {
@@ -6,35 +6,44 @@
6
6
  // =============================================================================
7
7
  // OPENAI MODELS (provider-based naming)
8
8
  // =============================================================================
9
- // GPT-5.6 released Jul 9, 2026 - CURRENT. Three durable tiers replace the pro/mini split:
9
+ // GPT-6 Astra released Sep 3, 2026 - CURRENT DEFAULT. `gpt-6-astra`: $10/$50 (cached $1),
10
+ // 1.05M ctx, 128K out. Verified live Sep 14, 2026 against /v1/models and /v1/responses:
11
+ // reasoning.effort accepts ONLY low|medium|high|xhigh|max ("none"/"minimal" are a 400, so
12
+ // callOpenAI maps them to "low"), and temperature must stay at the default — sending 0.7 is
13
+ // a 400. `gpt-6-astra-pro` / `gpt-astra-latest` exist on OpenRouter only (404 on the direct API).
14
+ // Rolled out to a limited set of orgs first, so callOpenAI falls back astra -> sol -> terra.
15
+ // GPT-5.6 (Jul 9, 2026) - three tiers kept as explicit picks and as Astra's runtime fallback:
10
16
  // sol (flagship $5/$30) / terra (balanced $2/$12) / luna (fast $0.20/$1.20). 1.05M ctx, 128K out.
11
17
  // Jul 30, 2026 price cut: luna -80%, terra -20%, sol unchanged. Verified Aug 12, 2026.
12
18
  // No Codex-specific API model exists (no gpt-5.6-codex / codex-max) — the CODEX* aliases
13
- // below are legacy names repointed onto the sol/terra/luna tiers.
14
- // "Pro" is no longer a model: sol + reasoning.effort (the $30/$180 gpt-5.5-pro tier is gone).
15
- // GPT-5.5 (Apr 23, 2026) kept as fallback. OpenRouter uses prefix: openai/gpt-5.6-sol etc.
19
+ // below are legacy names repointed onto current tiers.
20
+ // "Pro" is not an API model: flagship + reasoning.effort (the $30/$180 gpt-5.5-pro tier is gone).
21
+ // GPT-5.5 (Apr 23, 2026) kept as fallback. OpenRouter uses prefix: openai/gpt-6-astra etc.
16
22
  export const OPENAI_MODELS = {
17
- // GPT-5.6 tiers (Jul 9, 2026 - CURRENT)
18
- DEFAULT: "gpt-5.6-sol", // Flagship: coding/agentic SOTA, 54% more token-efficient than 5.5
19
- SOL: "gpt-5.6-sol", // Explicit tier alias (also aliased "gpt-5.6" server-side)
23
+ // GPT-6 Astra (Sep 3, 2026 - CURRENT)
24
+ DEFAULT: "gpt-6-astra", // Flagship: computer use, coding, science. $10/$50 (2x sol input)
25
+ ASTRA: "gpt-6-astra", // Explicit alias
26
+ // GPT-5.6 tiers (Jul 9, 2026)
27
+ SOL: "gpt-5.6-sol", // Previous flagship — Astra's first runtime fallback
20
28
  TERRA: "gpt-5.6-terra", // Balanced: gpt-5.5-level at $2/$12 (Jul 30, 2026 cut: -20%)
21
29
  LUNA: "gpt-5.6-luna", // Fast/cheap: $0.20/$1.20 after the Jul 30, 2026 -80% cut.
22
30
  // Now ~9x cheaper than terra, not 2.5x — worth routing to it
23
31
  // far more aggressively. (Weak long-context recall: avoid huge inputs.)
24
32
  MINI: "gpt-5.6-luna", // "mini" tier successor (was gpt-5.4-mini)
25
- PRO: "gpt-5.6-sol", // Pro tier eliminated in 5.6 — sol + reasoning.effort xhigh (was gpt-5.5-pro $30/$180)
33
+ PRO: "gpt-6-astra", // No pro API model — Astra + reasoning.effort xhigh/max (was gpt-5.5-pro $30/$180)
26
34
  // GPT-5.5 (Apr 2026) - fallback
27
35
  FALLBACK_5_5: "gpt-5.5",
28
36
  // Aliases for backward compatibility
29
- THINKING: "gpt-5.6-sol", // "Thinking" = sol with high reasoning effort
30
- FULL: "gpt-5.6-sol", // Map old FULL to DEFAULT
37
+ THINKING: "gpt-6-astra", // "Thinking" = flagship with high reasoning effort
38
+ FULL: "gpt-6-astra", // Map old FULL to DEFAULT
31
39
  CODEX: "gpt-5.6-terra", // Coding workhorse tier
32
40
  CODEX_MINI: "gpt-5.6-luna", // Cheapest tier
33
- CODEX_MAX: "gpt-5.6-sol", // Map old codex-max to flagship (use high effort)
41
+ CODEX_MAX: "gpt-6-astra", // Map old codex-max to flagship (use high effort)
34
42
  INSTANT: "gpt-5.6-luna", // Fast tier
35
43
  };
36
44
  // OpenRouter model ID mapping (add prefix when using OpenRouter gateway)
37
45
  export const OPENROUTER_PREFIX_MAP = {
46
+ "gpt-6-astra": "openai/",
38
47
  "gpt-5.6-sol": "openai/",
39
48
  "gpt-5.6-terra": "openai/",
40
49
  "gpt-5.6-luna": "openai/",
@@ -44,6 +53,7 @@ export const OPENROUTER_PREFIX_MAP = {
44
53
  };
45
54
  // OpenAI Reasoning Effort Levels (for models that support it)
46
55
  // All three GPT-5.6 tiers (sol/terra/luna) accept the full range; medium is the API default.
56
+ // gpt-6-astra rejects NONE (and "minimal") with a 400 — callOpenAI sends LOW instead.
47
57
  export const OPENAI_REASONING = {
48
58
  NONE: "none", // No extra reasoning (fastest, allows temperature)
49
59
  LOW: "low", // Light reasoning — right for grounded web-search lookups
@@ -58,24 +68,26 @@ export const OPENAI_REASONING = {
58
68
  // =============================================================================
59
69
  // GEMINI MODELS (Google)
60
70
  // =============================================================================
61
- // Gemini 3.6 Flash GA'd Jul 21, 2026 — workhorse tier, 1M ctx, $1.50/$7.50, ~17% fewer
62
- // output tokens than 3.5 Flash. It is the new FLASH/search tier. Gemini 3.5 Flash-Lite
71
+ // Gemini 3.7 Flash GA'd Aug 13, 2026 — the new workhorse/FLASH/search tier, 1M ctx,
72
+ // $0.75/$3.75 intro pricing through Dec 31, 2026 (then $1.50/$7.50). 3.6 Flash
73
+ // (Jul 21, 2026, $1.50/$7.50) stays live as the fallback. Gemini 3.5 Flash-Lite
63
74
  // shipped the same day ($0.30/$2.50) and replaces 3.1-flash-lite as the cheap tier.
64
- // Gemini 3.5 Pro STILL has not shipped (Google released three models on Jul 21 and
65
- // explicitly skipped Pro — internal perf goals unmet, "landing soon" + Gemini 4 pre-training
66
- // underway), so the reasoning DEFAULT stays on gemini-3.1-pro-preview.
75
+ // Gemini 3.5 Pro STILL has not shipped (missed its June window; "testing with partners",
76
+ // Gemini 4 pre-training underway — reverified via ai.google.dev Aug 29, 2026), so the
77
+ // reasoning DEFAULT stays on gemini-3.1-pro-preview.
67
78
  export const GEMINI_MODELS = {
68
- // Gemini 3.1 Pro - reasoning default (3.0 Pro retired Mar 9, 2026; no 3.5 Pro as of Jul 26, 2026)
79
+ // Gemini 3.1 Pro - reasoning default (3.0 Pro retired Mar 9, 2026; no 3.5 Pro as of Aug 29, 2026)
69
80
  GEMINI_3_PRO: "gemini-3.1-pro-preview", // Default: top reasoning model available
70
81
  GEMINI_3_1_PRO: "gemini-3.1-pro-preview", // Enhanced reasoning, 1M context
71
- GEMINI_3_6_FLASH: "gemini-3.6-flash", // GA Jul 21, 2026 - CURRENT flash/search tier, 1M ctx, $1.50/$7.50
82
+ GEMINI_3_7_FLASH: "gemini-3.7-flash", // GA Aug 13, 2026 - CURRENT flash/search tier, 1M ctx, $0.75/$3.75 intro
83
+ GEMINI_3_6_FLASH: "gemini-3.6-flash", // GA Jul 21, 2026 - previous flash tier (fallback), $1.50/$7.50
72
84
  GEMINI_3_5_FLASH: "gemini-3.5-flash", // GA May 19, 2026 - previous flash tier (fallback)
73
85
  GEMINI_3_FLASH: "gemini-3-flash-preview", // Legacy fast frontier (kept for model-router)
74
86
  GEMINI_3_5_FLASH_LITE: "gemini-3.5-flash-lite", // Jul 21, 2026 - cheapest tier, $0.30/$2.50
75
87
  GEMINI_3_1_FLASH_LITE: "gemini-3.1-flash-lite", // Mar 3, 2026 - previous cheap tier (legacy)
76
88
  // Aliases
77
89
  PRO: "gemini-3.1-pro-preview",
78
- FLASH: "gemini-3.6-flash", // Bumped: 3.5-flash -> 3.6-flash (Jul 21, 2026)
90
+ FLASH: "gemini-3.7-flash", // Bumped: 3.6-flash -> 3.7-flash (Aug 13, 2026 GA)
79
91
  FLASH_LITE: "gemini-3.5-flash-lite", // Bumped: 3.1-flash-lite -> 3.5-flash-lite (Jul 21, 2026)
80
92
  };
81
93
  // Perplexity Models
@@ -159,7 +171,8 @@ export const QWEN_MODELS = {
159
171
  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)
160
172
  CODER_PLUS: "qwen/qwen3-coder-plus", // Code specialist (32K context)
161
173
  CODER: "qwen/qwen3-coder", // Legacy coder - 480B MoE, SWE-Bench 69.6%
162
- QWQ_32B: "qwen/qwq-32b", // Deep reasoning - CodeElo 1261
174
+ DENSE_3_8_27B: "qwen/qwen3.8-27b", // Aug 14, 2026: dense 27B reasoning, 1M ctx, reasoning_effort, $0.21/$2.55 — powers qwq_reason
175
+ QWQ_32B: "qwen/qwq-32b", // RETIRED from OpenRouter (404 "No endpoints found", Sep 14, 2026) — do NOT call
163
176
  MAX_THINKING: "qwen/qwen3-235b-a22b-thinking-2507", // 235B MoE (22B active) thinking mode - heavy reasoning
164
177
  };
165
178
  // =============================================================================
@@ -206,6 +219,8 @@ export const DEFAULT_WORKFLOW_SETTINGS = {
206
219
  // When new models release, update ONLY this section!
207
220
  // All tools automatically use the new models.
208
221
  // ============================================================================
222
+ // UPDATED Sep 14, 2026: OpenAI default gpt-5.6-sol -> gpt-6-astra (Sep 3);
223
+ // qwq_reason qwen/qwq-32b (retired from OpenRouter) -> qwen/qwen3.8-27b.
209
224
  // UPDATED Jul 26, 2026 (full provider audit):
210
225
  // Kimi K2.7-Code -> K3 (Jul 16) · Gemini Flash 3.5 -> 3.6 + Flash-Lite 3.1 -> 3.5 (Jul 21)
211
226
  // Re-verified as still-current, NOT bumped: GPT-5.6 tiers (Jul 9), Grok 4.5 (Jul 8),
@@ -213,16 +228,16 @@ export const DEFAULT_WORKFLOW_SETTINGS = {
213
228
  // StepFun 3.7, ERNIE 4.5 VL, Qwen Coder-Next, Perplexity Sonar.
214
229
  export const CURRENT_MODELS = {
215
230
  openai: {
216
- default: OPENAI_MODELS.DEFAULT, // gpt-5.6-sol - flagship, agentic/coding SOTA (Jul 2026)
217
- reason: OPENAI_MODELS.DEFAULT, // Deep reasoning (sol + effort=high)
218
- brainstorm: OPENAI_MODELS.DEFAULT, // Creative ideation (sol + effort=medium)
231
+ default: OPENAI_MODELS.DEFAULT, // gpt-6-astra - flagship (Sep 3, 2026), $10/$50
232
+ reason: OPENAI_MODELS.DEFAULT, // Deep reasoning (astra + effort=xhigh)
233
+ brainstorm: OPENAI_MODELS.DEFAULT, // Creative ideation (astra + effort=medium)
219
234
  code: OPENAI_MODELS.TERRA, // Code tasks (gpt-5.6-terra - 5.5-level at $2/$12)
220
235
  explain: OPENAI_MODELS.LUNA, // Explanations (gpt-5.6-luna - $0.20/$1.20, fast)
221
236
  search: OPENAI_MODELS.TERRA, // Web search: $10/1k call fee is flat across tiers,
222
237
  // so terra ($2/$12) does grounded lookup at 2.5x less
223
238
  // token cost than sol. All 5.6 tiers support web_search.
224
- // Premium: the 5.5-pro tier ($30/$180) is gone — sol + effort=max replaces it at $5/$30
225
- premium: OPENAI_MODELS.PRO, // Expert mode (gpt-5.6-sol + reasoning.effort=max)
239
+ // Premium: the 5.5-pro tier ($30/$180) is gone — astra + effort=max replaces it at $10/$50
240
+ premium: OPENAI_MODELS.PRO, // Expert mode (gpt-6-astra + reasoning.effort=max)
226
241
  },
227
242
  grok: {
228
243
  reason: GROK_MODELS._4_5, // grok-4.5 (Jul 2026 flagship, high reasoning effort)
@@ -405,6 +420,7 @@ export const DEFAULT_WORKFLOW_TOOL = "openai_brainstorm";
405
420
  // Used in tool outputs, usage stats, logs - keeps display consistent
406
421
  export const MODEL_DISPLAY_NAMES = {
407
422
  // OpenAI
423
+ "gpt-6-astra": "gpt-6-astra",
408
424
  "gpt-5.6-sol": "gpt-5.6-sol",
409
425
  "gpt-5.6-terra": "gpt-5.6-terra",
410
426
  "gpt-5.6-luna": "gpt-5.6-luna",
@@ -416,6 +432,7 @@ export const MODEL_DISPLAY_NAMES = {
416
432
  "gpt-5.4-pro": "gpt-5.4-pro",
417
433
  // Gemini
418
434
  "gemini-3.1-pro-preview": "gemini-3.1-pro",
435
+ "gemini-3.7-flash": "gemini-3.7-flash",
419
436
  "gemini-3.6-flash": "gemini-3.6-flash",
420
437
  "gemini-3.5-flash-lite": "gemini-3.5-flash-lite",
421
438
  "gemini-3.5-flash": "gemini-3.5-flash",
@@ -453,6 +470,7 @@ export const MODEL_DISPLAY_NAMES = {
453
470
  "qwen/qwen3-coder-plus": "qwen-coder",
454
471
  "qwen/qwen3-coder": "qwen-coder",
455
472
  "qwen/qwq-32b": "qwq-32b",
473
+ "qwen/qwen3.8-27b": "qwen3.8-27b",
456
474
  "qwen/qwen3-max-thinking": "qwen-max",
457
475
  "qwen/qwen3-235b-a22b-thinking-2507": "qwen-235b-thinking",
458
476
  // MiniMax
@@ -468,6 +486,7 @@ export function getModelDisplayName(modelId) {
468
486
  // Model pricing per 1K tokens (input/output average) for cost tracking
469
487
  export const MODEL_PRICING = {
470
488
  // OpenAI
489
+ "gpt-6-astra": 0.030, // ($10 + $50) / 2 / 1000 (Sep 3, 2026 - current default)
471
490
  "gpt-5.6-sol": 0.0175, // ($5 + $30) / 2 / 1000 (unchanged in the Jul 30 cut)
472
491
  "gpt-5.6-terra": 0.007, // ($2 + $12) / 2 / 1000 (Jul 30, 2026 cut: -20%)
473
492
  "gpt-5.6-luna": 0.0007, // ($0.20 + $1.20) / 2 / 1000 (Jul 30, 2026 cut: -80%)
@@ -478,7 +497,8 @@ export const MODEL_PRICING = {
478
497
  "gpt-5.4-pro": 0.105, // ($30 + $180) / 2 / 1000 (Mar 2026)
479
498
  // Gemini
480
499
  "gemini-3.1-pro-preview": 0.007, // ($2 + $12) / 2 / 1000
481
- "gemini-3.6-flash": 0.0045, // ($1.50 + $7.50) / 2 / 1000 (GA Jul 21, 2026)
500
+ "gemini-3.7-flash": 0.00225, // ($0.75 + $3.75) / 2 / 1000 intro through Dec 31, 2026 (then $1.50/$7.50)
501
+ "gemini-3.6-flash": 0.0045, // ($1.50 + $7.50) / 2 / 1000 (GA Jul 21, 2026 - fallback)
482
502
  "gemini-3.5-flash-lite": 0.0014, // ($0.30 + $2.50) / 2 / 1000 (Jul 21, 2026)
483
503
  "gemini-3.5-flash": 0.00525, // ($1.50 + $9) / 2 / 1000 (GA May 19, 2026 - fallback)
484
504
  "gemini-3-flash-preview": 0.00175, // ($0.50 + $3) / 2 / 1000 (legacy)
@@ -516,6 +536,7 @@ export const MODEL_PRICING = {
516
536
  "qwen/qwen3-coder-plus": 0.0005,
517
537
  "qwen/qwen3-coder": 0.0003,
518
538
  "qwen/qwq-32b": 0.001,
539
+ "qwen/qwen3.8-27b": 0.001382, // ($0.214 + $2.55) / 2 / 1000 (Aug 14, 2026)
519
540
  "qwen/qwen3-max-thinking": 0.005,
520
541
  "qwen/qwen3-235b-a22b-thinking-2507": 0.000822, // ($0.15 + $1.50) / 2 / 1000
521
542
  // OpenRouter models - MiniMax (VERY CHEAP!)
@@ -17,9 +17,9 @@ import { GEMINI_MODELS, OPENAI_MODELS, GROK_MODELS, PERPLEXITY_MODELS, KIMI_MODE
17
17
  const MODELS = {
18
18
  // Google Gemini
19
19
  GEMINI: GEMINI_MODELS.GEMINI_3_PRO, // gemini-3.1-pro-preview
20
- // OpenAI (GPT-5.5)
21
- OPENAI: OPENAI_MODELS.THINKING, // gpt-5.5 (default - most capable, agentic)
22
- OPENAI_REASON: OPENAI_MODELS.THINKING, // gpt-5.5 (deep reasoning)
20
+ // OpenAI (GPT-6 Astra)
21
+ OPENAI: OPENAI_MODELS.THINKING, // gpt-6-astra (default - most capable, agentic)
22
+ OPENAI_REASON: OPENAI_MODELS.THINKING, // gpt-6-astra (deep reasoning)
23
23
  // xAI Grok
24
24
  GROK: GROK_MODELS._4_3, // grok-4.3 (Apr 2026 flagship, 1M ctx, $1.25/$2.50)
25
25
  // Perplexity
@@ -11,7 +11,7 @@ export var ModelTier;
11
11
  // Tier 0: Cheapest — Gemini 3.5 Flash-Lite ($0.30/$2.50, Jul 21 2026)
12
12
  ModelTier["ULTRA_CHEAP"] = "gemini-3.5-flash-lite";
13
13
  // Tier 1: Fast & Efficient
14
- ModelTier["ULTRA_EFFICIENT"] = "gemini-3.6-flash";
14
+ ModelTier["ULTRA_EFFICIENT"] = "gemini-3.7-flash";
15
15
  ModelTier["EFFICIENT"] = "gpt-5.6-luna";
16
16
  // Tier 2: Balanced — gpt-5.6-terra is gpt-5.5-level at $2/$12
17
17
  ModelTier["STANDARD"] = "gpt-5.6-terra";
@@ -25,6 +25,8 @@ export var ModelTier;
25
25
  // falls through to estimateCost()'s flat $0.001 default, so every routable tier above
26
26
  // MUST have an entry.
27
27
  const MODEL_COSTS = {
28
+ // GPT-6 Astra (Sep 3, 2026) — current OpenAI default. Latency is an estimate, not measured.
29
+ "gpt-6-astra": { input: 0.010, output: 0.050, latency: 2400 },
28
30
  // GPT-5.6 family (Jul 9, 2026; terra/luna repriced Jul 30, 2026)
29
31
  "gpt-5.6-sol": { input: 0.005, output: 0.030, latency: 2200 }, // Flagship
30
32
  "gpt-5.6-terra": { input: 0.002, output: 0.012, latency: 1300 }, // Balanced (-20%)
@@ -36,6 +38,7 @@ const MODEL_COSTS = {
36
38
  "gpt-5.4-mini": { input: 0.00075, output: 0.0045, latency: 800 },
37
39
  "gpt-5.4-pro": { input: 0.030, output: 0.180, latency: 2500 },
38
40
  // Gemini
41
+ "gemini-3.7-flash": { input: 0.00075, output: 0.00375, latency: 600 }, // Aug 13, 2026 (intro pricing through Dec 31, 2026)
39
42
  "gemini-3.6-flash": { input: 0.0015, output: 0.0075, latency: 600 }, // Jul 21, 2026
40
43
  "gemini-3.5-flash-lite": { input: 0.0003, output: 0.0025, latency: 400 }, // Jul 21, 2026
41
44
  "gemini-3.5-flash": { input: 0.0015, output: 0.009, latency: 600 }, // May 19, 2026
@@ -58,18 +58,22 @@ export class VisualizationService {
58
58
  // same step list four times (cascade, flow, progress reel, table) plus a
59
59
  // metadata block and faux "gradient" boxes — a wall of duplicated scaffold.
60
60
  // MCP clients render markdown, so a single table IS the visualization.
61
+ // Ids look like "session_<timestamp>_<hex>", so slicing the front only ever
62
+ // showed the literal "session_" — display the distinctive hex tail instead.
63
+ const shortId = session.id.split('_').pop()?.slice(0, 8) ?? session.id;
61
64
  const lines = [];
62
65
  lines.push(`**Collaborative Reasoning** · ${session.objective}`);
63
66
  lines.push(`${session.domain} · ${this.modelTurnTaking ? 'sequential' : 'parallel'} · ` +
64
- `step ${Math.min(done + 1, steps.length)}/${steps.length} · \`${session.id.slice(0, 8)}\``);
67
+ `step ${Math.min(done + 1, steps.length)}/${steps.length} · \`${shortId}\``);
65
68
  lines.push('');
66
- // One table: status · mode · model, in order. The mode already conveys each
69
+ // One table: status+number · mode · model. The mode already conveys each
67
70
  // step's job, so no "Role" column (its half-filled "AI" fallback is the bit
68
- // that read as generic). Status marks done (✓) / current (▸) / pending (·).
71
+ // that read as generic). Status marks done (✓) / current (▸) / pending (·)
72
+ // and shares the # column. Cells stay emoji-free: terminal renderers count
73
+ // emoji as 1–2 columns inconsistently, which skews every table border.
69
74
  const tableData = steps.map((step, idx) => ({
70
- '#': String(idx + 1),
71
- '': idx < done ? '✓' : idx === done ? '▸' : '·',
72
- Step: `${this.getModeIcon(step.mode)} ${step.mode}`,
75
+ '#': `${idx < done ? '✓' : idx === done ? '▸' : '·'} ${idx + 1}`,
76
+ Step: step.mode,
73
77
  Model: step.model,
74
78
  }));
75
79
  lines.push(renderTable(tableData));
@@ -1,5 +1,5 @@
1
1
  export const balancedProfile = {
2
- description: "Balanced set for general use (55 tools)",
2
+ description: "Balanced set for general use (56 tools)",
3
3
  tools: {
4
4
  think: true,
5
5
  focus: true,
@@ -66,6 +66,8 @@ export const balancedProfile = {
66
66
  list_plans: true,
67
67
  // Test generation
68
68
  testgen: true,
69
+ // Long-form writing
70
+ blog_writer: true,
69
71
  // Security audit
70
72
  security_review: true,
71
73
  // Diff-aware code review
@@ -66,6 +66,8 @@ export const codeFocusProfile = {
66
66
  list_plans: true,
67
67
  // Test generation
68
68
  testgen: true,
69
+ // Long-form writing
70
+ blog_writer: false,
69
71
  // Security audit
70
72
  security_review: true,
71
73
  // Diff-aware code review
@@ -1,5 +1,5 @@
1
1
  export const fullProfile = {
2
- description: "Default profile — all tools enabled for maximum capability (66 tools)",
2
+ description: "Default profile — all tools enabled for maximum capability (67 tools)",
3
3
  tools: {
4
4
  think: true,
5
5
  focus: true,
@@ -66,6 +66,8 @@ export const fullProfile = {
66
66
  list_plans: true,
67
67
  // Test generation
68
68
  testgen: true,
69
+ // Long-form writing
70
+ blog_writer: true,
69
71
  // Security audit
70
72
  security_review: true,
71
73
  // Diff-aware code review
@@ -73,6 +73,8 @@ export const heavyCodingProfile = {
73
73
  list_plans: true,
74
74
  // Test generation
75
75
  testgen: true,
76
+ // Long-form writing
77
+ blog_writer: false,
76
78
  // Security audit
77
79
  security_review: true,
78
80
  // Diff-aware code review
@@ -66,6 +66,8 @@ export const minimalProfile = {
66
66
  list_plans: false,
67
67
  // Test generation
68
68
  testgen: false,
69
+ // Long-form writing
70
+ blog_writer: false,
69
71
  // Security audit
70
72
  security_review: false,
71
73
  // Diff-aware code review
@@ -1,5 +1,5 @@
1
1
  export const researchPowerProfile = {
2
- description: "Research-focused with Grok search + all Perplexity + brainstorming (37 tools)",
2
+ description: "Research-focused with Grok search + all Perplexity + brainstorming (38 tools)",
3
3
  tools: {
4
4
  think: true,
5
5
  focus: true,
@@ -66,6 +66,8 @@ export const researchPowerProfile = {
66
66
  list_plans: true,
67
67
  // Test generation
68
68
  testgen: false,
69
+ // Long-form writing
70
+ blog_writer: true,
69
71
  // Security audit
70
72
  security_review: false,
71
73
  // Diff-aware code review