omnilane 0.9.0 → 0.10.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/README.md CHANGED
@@ -21,120 +21,72 @@ or any hosted model via OpenRouter — on the subscriptions you already pay for,
21
21
 
22
22
  ---
23
23
 
24
- ## What's new in v0.9.0
24
+ ## 2026-07-25 update
25
25
 
26
- - **Five OpenAI-compatible direct-API vendors** `deepseek`, `zai` (GLM),
27
- `mistral`, `groq`, and `cerebras` join `openrouter` as CLI-free lanes (curl +
28
- a `<VENDOR>_API_KEY`). A one-line `lib/common.sh` registry entry adds each;
29
- see [`docs/model-capabilities-2026-07.md`](docs/model-capabilities-2026-07.md).
30
- - **Fish shell completion** — `omnilane completion fish | source`.
26
+ - Added `claude-opus-5` to default routing: first choice for `hard-judgment` and `taste-final`, plus a fallback for the hardest coding work.
27
+ - Expanded `omnilane configure` across all 13 providers: 106 selectable model entries, complete live catalogs for Codex, Claude Code, Grok Build, and Antigravity, plus verified OpenRouter/OpenCode shortcuts. Custom model IDs remain available through `c`.
31
28
 
32
- ## What's new in v0.8.3
33
-
34
- - **MCP server** — `omnilane mcp` starts a zero-dependency stdio MCP server,
35
- so any MCP-capable host (Claude Code, Codex, Gemini CLI, Cursor, OpenCode…)
36
- can discover and call omnilane without installing the skill: tools `route`,
37
- `jobs_status`, `jobs_result`, and `list_lanes`. `route` defaults to
38
- read-only advise mode; work mode requires an explicit workdir.
29
+ ---
30
+ ## 👋 New here?
39
31
 
40
- ## What's new in v0.8.2
32
+ You already drive an AI coding assistant — **Claude Code, Codex, Cursor, Gemini
33
+ CLI**, and the like. Each one talks to a single AI model, and picking the best
34
+ model for each task is left to you.
41
35
 
42
- - **`openrouter` vendor** dispatch straight to the OpenRouter API with
43
- nothing but `curl` and an `OPENROUTER_API_KEY`: hundreds of hosted models
44
- become reachable from any omnilane install, no coding-agent CLI required.
45
- Advise/consult only (it cannot edit files; work mode fails with guidance)
46
- and the model slug is mandatory, e.g.
47
- `dispatch.sh --vendor openrouter --model anthropic/claude-sonnet-5 consult "..."`.
48
- - **`deepseek`, `zai`, `mistral`, `groq`, `cerebras` vendors** — the same
49
- CLI-free direct-API path as `openrouter`, for OpenAI-compatible providers:
50
- DeepSeek, Z.ai GLM, Mistral, Groq, and Cerebras. Each needs only `curl` and
51
- its `<VENDOR>_API_KEY`; advise/consult only. A one-line `lib/common.sh`
52
- registry entry defines each endpoint, key env, and default model. See
53
- [`docs/model-capabilities-2026-07.md`](docs/model-capabilities-2026-07.md).
54
- - **`opencode` vendor** — headless dispatch through the OpenCode
55
- multi-provider aggregator CLI (`opencode run`). Advise mode pins OpenCode's
56
- built-in read-only `plan` agent; work mode uses `--auto`. Joins the default
57
- `coding-overflow` chain as its last fallback.
36
+ **omnilane picks for you.** For every piece of work it routes the task to the
37
+ model that is best (and cheapest) for it tough coding to a top coder, quick
38
+ checks to a fast cheap model, long documents to a big-context model — all on the
39
+ subscriptions and API keys you already pay for. Use the built-in defaults, or
40
+ tweak one small file. Nothing new to babysit (it runs behind your existing tool),
41
+ and `./install.sh --uninstall` removes it cleanly.
58
42
 
59
- ## What's new in v0.8.1
43
+ **[⬇ Jump to the 60-second start](#-60-second-start)**
60
44
 
61
- - **Claude Code plugin auto-loads the routing reminder** — the plugin now
62
- ships a `SessionStart` hook (`hooks/hooks.json`) that injects the routing
63
- reminder at session open (`startup|resume|clear`), so plugin installs get
64
- the persistent reminder with no edit to `~/.claude/CLAUDE.md`. The
65
- `install.sh` instruction-file reminder still covers the other CLIs.
45
+ ## What's new in v0.10.0
66
46
 
67
- ## What's new in v0.8.0
47
+ - **Gemini 3.6 Flash defaults** — the gemini candidates in `fast-agentic`,
48
+ `triage`, and `bulk-mechanical` (and the `Gemini Flash` alias) now run
49
+ Gemini 3.6 Flash (released 2026-07-21): fewer output tokens, a lower output
50
+ price, and the fastest output speed measured by Artificial Analysis.
51
+ - **Evidence re-audit** — routing comments, model capability notes, and the
52
+ Gemini price table refreshed against official sources (2026-07-21/22).
68
53
 
69
- - **Two new dispatch vendors** — `kimi` (Moonshot Kimi Code CLI) and `qwen`
70
- (Alibaba Qwen Code CLI) join the vendor set with the uniform runner
71
- contract: advise stays read-only, work auto-approves, API-key env is
72
- stripped so the CLIs use their own subscription logins, and empty output
73
- is a loud failure. Pin them with `--vendor kimi|qwen`.
74
- - **coding-overflow grows a chain** — the quota relief valve now falls back
75
- grok → kimi → qwen before `off`, so it works with any one of the three
76
- vendors installed. Runners are contract-tested against fake binaries;
77
- real-model reports welcome.
54
+ ## What's new in v0.9.1
78
55
 
79
- ## What's new in v0.7.1
56
+ - **Fix:** `configure set` no longer deletes hand-written comments from
57
+ `routing.local.yaml` — it rewrites only its own stamp header and the lane
58
+ being replaced.
80
59
 
81
- - **Routing refresh (2026-07 model data)** — hardest-coding now dispatches
82
- GPT-5.6 Sol at **max** effort: Artificial Analysis Coding Agent Index v1.1
83
- scores Sol (max) at 80, the current state of the art, retiring the older
84
- xhigh-beats-max snapshot.
85
- - **Claude backups sharpened** — the Claude Opus 4.8 fallback on
86
- hardest-coding and hard-judgment moves to **xhigh** effort, following
87
- Anthropic's guidance to use extra effort for difficult tasks and
88
- long-running work.
89
-
90
- ## What's new in v0.7.0
91
-
92
- - **Preview any dispatch first** — `--dry-run` prints the fully resolved plan
93
- (vendor, model, mode, timeouts, side-effect decision) with no provider call
94
- and no job state.
95
- - **Automate with versioned JSON** — one `--json` envelope for `--list`,
96
- `--explain`, `--validate`, and `jobs list|status|result|stats`, plus
97
- read-only `jobs wait`, `jobs audit`, and an offline `omnilane release-audit`
98
- gate with a deterministic manifest.
99
- - **Drive local jobs end to end** — `jobs tail` peeks at live output,
100
- `jobs retry` re-dispatches a completed job fail-closed,
101
- `prune --older-than` ages out old jobs, and `--help` covers every command.
102
- - **Install and complete safely** — `install.sh --check`/`--dry-run` report
103
- drift without writing, `omnilane completion bash|zsh` ships safe tab
104
- completion, and five macOS stock Bash 3.2 crashes are fixed.
60
+ ## What's new in v0.9.0
105
61
 
106
- ## What's new in v0.6.0
62
+ - **Five OpenAI-compatible direct-API vendors** — `deepseek`, `zai` (GLM),
63
+ `mistral`, `groq`, and `cerebras` join `openrouter` as CLI-free lanes (curl +
64
+ a `<VENDOR>_API_KEY`). A one-line `lib/common.sh` registry entry adds each;
65
+ see [`docs/model-capabilities-2026-07.md`](docs/model-capabilities-2026-07.md).
66
+ - **Fish shell completion** — `omnilane completion fish | source`.
107
67
 
108
- - **Explain and validate routes offline** — inspect every fallback candidate
109
- with `--explain`, or lint the complete effective table with `--validate`,
110
- without invoking a provider or creating job state.
111
- - **Inspect local health and outcomes** — bounded `jobs.sh stats` aggregates and
112
- `omnilane doctor --json` make local automation observable without exposing
113
- task or result bodies.
114
- - **Compare runs in Live Board** — pin one loaded job as a memory-only reference
115
- and compare its model path and public result with the current selection.
116
- - **Keep lock recovery quiet** — transient owner-file read races no longer leak
117
- misleading missing-file diagnostics.
68
+ ## 60-second start
118
69
 
119
- ## What's new in v0.5.1
70
+ **The quick way install from npm:**
120
71
 
121
- - **Use Codex work outside Git** — ordinary directories remain supported;
122
- Omnilane never requires or runs `git init`.
123
- - **Stop non-Git hangs cleanly** — the resolved per-call watchdog becomes an
124
- automatic process-group fuse when no whole-job timeout was configured, while
125
- explicit timeout precedence and exit semantics remain intact.
126
- - **Trust the displayed version** — `VERSION` now drives `omnilane --version`
127
- and both plugin manifests, with CI checking the changelog and all five READMEs.
72
+ ```bash
73
+ npm i -g omnilane # install the CLI
74
+ omnilane route hardest-coding "fix the flaky auth token refresh"
75
+ omnilane doctor # see which AI CLIs / keys you have
76
+ omnilane ui start # optional: watch jobs live in your browser
77
+ ```
128
78
 
129
- ## 60-second start
79
+ **Or clone the repo** (gets you the routing table and skill to customise):
130
80
 
131
81
  ```bash
132
82
  git clone https://github.com/Seraphim0916/omnilane && cd omnilane
133
83
  ./install.sh # finds your CLIs, links the skill, speaks your language
134
84
  omnilane route hardest-coding "fix the flaky auth token refresh"
135
- omnilane ui start # optional: watch jobs live in your browser
136
85
  ```
137
86
 
87
+ > New to this? Run `omnilane doctor` first — it tells you which model CLIs and
88
+ > API keys omnilane can already reach, so you know what will actually run.
89
+
138
90
  ## 🧭 How it works
139
91
 
140
92
  omnilane lets the main loop of **any** agentic CLI classify subtasks into
@@ -147,7 +99,7 @@ flowchart LR
147
99
  M["main loop<br/><i>any CLI you drive</i>"] --> T{{"routing.yaml<br/>one shared table"}}
148
100
  T -->|hardest-coding| C1["Codex — GPT-5.6 Sol"]
149
101
  T -->|bulk-mechanical| C2["Codex — GPT-5.6 Terra"]
150
- T -->|taste-final| C3["Claude — Opus 4.8"]
102
+ T -->|taste-final| C3["Claude — Opus 5"]
151
103
  T -->|long-context| C4["Gemini — 3.1 Pro"]
152
104
  T -->|live-search| C5["Grok — 4.5"]
153
105
  T -->|"arbitrate (opt-in)"| C6["vote — 1-4 model panel"]
@@ -179,15 +131,15 @@ flowchart LR
179
131
 
180
132
  | Lane | First choice | Backup | When |
181
133
  |---|---|---|---|
182
- | 🔥 hardest-coding | GPT-5.6 Sol (max) | Claude Opus 4.8 (xhigh) | Hardest implementation, deep root-cause debug, correctness-critical edits |
134
+ | 🔥 hardest-coding | GPT-5.6 Sol (max) | Claude Opus 5 (max) | Hardest implementation, deep root-cause debug, correctness-critical edits |
183
135
  | 🏗️ bulk-mechanical | GPT-5.6 Terra (max) | Claude Sonnet 5 (high) | Refactors, migrations, tests, review sweeps — mechanical endurance |
184
- | 🧹 triage | GPT-5.6 Luna (medium) | Gemini 3.5 Flash (Low) | High-volume scans, first-pass filtering |
185
- | ⚖️ hard-judgment | GPT-5.6 Sol (max) | Claude Opus 4.8 (xhigh) | Architecture arbitration, deep reasoning, second opinions |
186
- | ✒️ taste-final | Claude Opus 4.8 (high) | GPT-5.6 Sol (max) | User-facing prose, prompt/doc polish, style arbitration |
136
+ | 🧹 triage | GPT-5.6 Luna (medium) | Gemini 3.6 Flash (Low) | High-volume scans, first-pass filtering |
137
+ | ⚖️ hard-judgment | Claude Opus 5 (max) | GPT-5.6 Sol (max) | Architecture arbitration, deep reasoning, second opinions |
138
+ | ✒️ taste-final | Claude Opus 5 (high) | GPT-5.6 Sol (max) | User-facing prose, prompt/doc polish, style arbitration |
187
139
  | 💬 consult | Explicit named vendor/model | — (no fallback) | Direct natural-language consultation; always keep `--vendor` |
188
- | 🎨 ui-draft | GPT-5.6 Sol (xhigh) | Claude Opus 4.8 (high) | UI drafts only WITH a design system / reference images |
189
- | 📚 long-context | Gemini 3.1 Pro (High) | Claude Opus 4.8 (high) | 1M-token synthesis analysis only, never agentic loops |
190
- | ⚡ fast-agentic | Gemini 3.5 Flash (High) | GPT-5.6 Luna (high) | Fast multi-step agentic loops, multimodal checks |
140
+ | 🎨 ui-draft | GPT-5.6 Sol (xhigh) | Claude Opus 5 (high) | UI drafts only WITH a design system / reference images |
141
+ | 📚 long-context | Gemini 3.1 Pro (High) | Claude Opus 5 (high) | 1M-token synthesis; Pro is agentic-capable, while fast repeated loops prefer Flash |
142
+ | ⚡ fast-agentic | Gemini 3.6 Flash (High) | GPT-5.6 Luna (high) | Fast multi-step agentic loops, multimodal checks |
191
143
  | 📡 live-search | Grok 4.5 | — (off) | Realtime X/web search and social context |
192
144
  | 🚰 coding-overflow | Grok 4.5 | Kimi K3 → Qwen3 Coder Plus → OpenCode | Codex-quota relief valve for mid-tier coding |
193
145
  | 🗳️ arbitrate | off (opt-in vote panel) | — | Built-in opinion panel for big calls — disabled by default; enable it in `routing.local.yaml`, one call per voter per round |
@@ -198,7 +150,9 @@ lane is such a chain; when nothing in it is installed the lane degrades to `off`
198
150
 
199
151
  > **Where is Claude Fable 5?** Deliberately not in the defaults: the top
200
152
  > Claude tier is usually the *main loop itself*, not a dispatched worker, and
201
- > it prices above Opus. It is offered in the configurator's model menu
153
+ > it prices above Opus. This is a cost / guardrail / main-loop policy choice,
154
+ > not a capability verdict; Anthropic positions Fable 5 above Opus 5. It is
155
+ > offered in the configurator's model menu —
202
156
  > route to it if you disagree (e.g. `taste-final: claude claude-fable-5 high`
203
157
  > in `routing.local.yaml`).
204
158
 
@@ -226,11 +180,11 @@ already are that model, so no second call) versus **dispatch**. Your harness's
226
180
  `omnilane` skill applies the right row automatically; this is the human view.
227
181
 
228
182
  - **Claude Code · Fable 5** — self-execute: hard-judgment, taste-final, the hardest correctness-critical fixes. Dispatch mechanical coding volume → Codex, long-context → Gemini, live-search → Grok.
229
- - **Claude Code · Opus 4.8** — self-execute: taste-final. Dispatch hard-judgment to Codex Sol (it out-scores Opus on raw intelligence), all coding to the Codex lanes, long-context → Gemini, live-search → Grok.
183
+ - **Claude Code · Opus 5** — self-execute: hard-judgment and taste-final. Dispatch bulk coding to Codex lanes, long-context → Gemini, live-search → Grok.
230
184
  - **Codex · Sol** — self-execute: hardest-coding, hard-judgment, ui-draft. Dispatch taste-final → Claude, long-context → Gemini, live-search → Grok, bulk → Codex Terra.
231
185
  - **Codex · Terra** — self-execute: bulk-mechanical. Escalate the genuinely hardest pieces to Sol; dispatch taste → Claude, long-context → Gemini, live-search → Grok.
232
186
  - **Grok Build · Grok 4.5** — self-execute: live-search, coding-overflow (mid-tier coding). Dispatch everything hard to Codex/Claude/Gemini — and verify every API signature and cited fact first.
233
- - **Antigravity · Gemini** — self-execute: long-context (3.1 Pro) and fast-agentic (Flash). Dispatch coding/judgment/taste to Codex/Claude; live-search → Grok. Never take agentic tool-loop chains on 3.1 Pro.
187
+ - **Antigravity · Gemini** — self-execute: long-context and context-heavy agentic work on 3.1 Pro, fast repeated loops on Flash. Dispatch hardest coding/judgment/taste to Codex/Claude; live-search → Grok.
234
188
 
235
189
  </details>
236
190
 
@@ -467,6 +421,110 @@ configurator and `routing.local.yaml` exist so you can disagree.
467
421
  a Git worktree, so the automatic fuse above bounds that case and cleans the
468
422
  supervised process group. Omnilane neither initializes nor requires a repository.
469
423
 
424
+ ## 📜 Release history
425
+
426
+ <details>
427
+ <summary>Older releases (v0.8.3 and earlier)</summary>
428
+
429
+ ## What's new in v0.8.3
430
+
431
+ - **MCP server** — `omnilane mcp` starts a zero-dependency stdio MCP server,
432
+ so any MCP-capable host (Claude Code, Codex, Gemini CLI, Cursor, OpenCode…)
433
+ can discover and call omnilane without installing the skill: tools `route`,
434
+ `jobs_status`, `jobs_result`, and `list_lanes`. `route` defaults to
435
+ read-only advise mode; work mode requires an explicit workdir.
436
+
437
+ ## What's new in v0.8.2
438
+
439
+ - **`openrouter` vendor** — dispatch straight to the OpenRouter API with
440
+ nothing but `curl` and an `OPENROUTER_API_KEY`: hundreds of hosted models
441
+ become reachable from any omnilane install, no coding-agent CLI required.
442
+ Advise/consult only (it cannot edit files; work mode fails with guidance)
443
+ and the model slug is mandatory, e.g.
444
+ `dispatch.sh --vendor openrouter --model anthropic/claude-sonnet-5 consult "..."`.
445
+ - **`deepseek`, `zai`, `mistral`, `groq`, `cerebras` vendors** — the same
446
+ CLI-free direct-API path as `openrouter`, for OpenAI-compatible providers:
447
+ DeepSeek, Z.ai GLM, Mistral, Groq, and Cerebras. Each needs only `curl` and
448
+ its `<VENDOR>_API_KEY`; advise/consult only. A one-line `lib/common.sh`
449
+ registry entry defines each endpoint, key env, and default model. See
450
+ [`docs/model-capabilities-2026-07.md`](docs/model-capabilities-2026-07.md).
451
+ - **`opencode` vendor** — headless dispatch through the OpenCode
452
+ multi-provider aggregator CLI (`opencode run`). Advise mode pins OpenCode's
453
+ built-in read-only `plan` agent; work mode uses `--auto`. Joins the default
454
+ `coding-overflow` chain as its last fallback.
455
+
456
+ ## What's new in v0.8.1
457
+
458
+ - **Claude Code plugin auto-loads the routing reminder** — the plugin now
459
+ ships a `SessionStart` hook (`hooks/hooks.json`) that injects the routing
460
+ reminder at session open (`startup|resume|clear`), so plugin installs get
461
+ the persistent reminder with no edit to `~/.claude/CLAUDE.md`. The
462
+ `install.sh` instruction-file reminder still covers the other CLIs.
463
+
464
+ ## What's new in v0.8.0
465
+
466
+ - **Two new dispatch vendors** — `kimi` (Moonshot Kimi Code CLI) and `qwen`
467
+ (Alibaba Qwen Code CLI) join the vendor set with the uniform runner
468
+ contract: advise stays read-only, work auto-approves, API-key env is
469
+ stripped so the CLIs use their own subscription logins, and empty output
470
+ is a loud failure. Pin them with `--vendor kimi|qwen`.
471
+ - **coding-overflow grows a chain** — the quota relief valve now falls back
472
+ grok → kimi → qwen before `off`, so it works with any one of the three
473
+ vendors installed. Runners are contract-tested against fake binaries;
474
+ real-model reports welcome.
475
+
476
+ ## What's new in v0.7.1
477
+
478
+ - **Routing refresh (2026-07 model data)** — hardest-coding now dispatches
479
+ GPT-5.6 Sol at **max** effort: Artificial Analysis Coding Agent Index v1.1
480
+ scores Sol (max) at 80, the current state of the art, retiring the older
481
+ xhigh-beats-max snapshot.
482
+ - **Claude backups sharpened** — the Claude Opus 4.8 fallback on
483
+ hardest-coding and hard-judgment moves to **xhigh** effort, following
484
+ Anthropic's guidance to use extra effort for difficult tasks and
485
+ long-running work.
486
+
487
+ ## What's new in v0.7.0
488
+
489
+ - **Preview any dispatch first** — `--dry-run` prints the fully resolved plan
490
+ (vendor, model, mode, timeouts, side-effect decision) with no provider call
491
+ and no job state.
492
+ - **Automate with versioned JSON** — one `--json` envelope for `--list`,
493
+ `--explain`, `--validate`, and `jobs list|status|result|stats`, plus
494
+ read-only `jobs wait`, `jobs audit`, and an offline `omnilane release-audit`
495
+ gate with a deterministic manifest.
496
+ - **Drive local jobs end to end** — `jobs tail` peeks at live output,
497
+ `jobs retry` re-dispatches a completed job fail-closed,
498
+ `prune --older-than` ages out old jobs, and `--help` covers every command.
499
+ - **Install and complete safely** — `install.sh --check`/`--dry-run` report
500
+ drift without writing, `omnilane completion bash|zsh` ships safe tab
501
+ completion, and five macOS stock Bash 3.2 crashes are fixed.
502
+
503
+ ## What's new in v0.6.0
504
+
505
+ - **Explain and validate routes offline** — inspect every fallback candidate
506
+ with `--explain`, or lint the complete effective table with `--validate`,
507
+ without invoking a provider or creating job state.
508
+ - **Inspect local health and outcomes** — bounded `jobs.sh stats` aggregates and
509
+ `omnilane doctor --json` make local automation observable without exposing
510
+ task or result bodies.
511
+ - **Compare runs in Live Board** — pin one loaded job as a memory-only reference
512
+ and compare its model path and public result with the current selection.
513
+ - **Keep lock recovery quiet** — transient owner-file read races no longer leak
514
+ misleading missing-file diagnostics.
515
+
516
+ ## What's new in v0.5.1
517
+
518
+ - **Use Codex work outside Git** — ordinary directories remain supported;
519
+ Omnilane never requires or runs `git init`.
520
+ - **Stop non-Git hangs cleanly** — the resolved per-call watchdog becomes an
521
+ automatic process-group fuse when no whole-job timeout was configured, while
522
+ explicit timeout precedence and exit semantics remain intact.
523
+ - **Trust the displayed version** — `VERSION` now drives `omnilane --version`
524
+ and both plugin manifests, with CI checking the changelog and all five READMEs.
525
+
526
+ </details>
527
+
470
528
  ## 🌱 Status
471
529
 
472
530
  omnilane now spans thirteen dispatch vendors — four harness natives (codex,
package/README.zh-CN.md CHANGED
@@ -21,97 +21,64 @@
21
21
 
22
22
  ---
23
23
 
24
- ## v0.9.0 新功能
25
-
26
- - **新增 5 个 OpenAI-compatible direct-API vendor** — `deepseek`、`zai`(GLM)、`mistral`、`groq`、`cerebras`,与 `openrouter` 同为免 CLI 通道(curl 加一把 `<VENDOR>_API_KEY`);`lib/common.sh` registry 一行即加一个。详见 [`docs/model-capabilities-2026-07.md`](docs/model-capabilities-2026-07.md)。
27
- - **fish shell 补全** — `omnilane completion fish | source`。
28
-
29
- ## v0.8.3 新功能
24
+ ## 2026-07-25 更新
30
25
 
31
- - **MCP server** — `omnilane mcp` 启动零依赖的 stdio MCP server,任何支持
32
- MCP 的宿主(Claude Code、CodexGemini CLI、Cursor、OpenCode……)无需安装
33
- skill 即可发现并调用 omnilane:提供 `route`、`jobs_status`、`jobs_result`、
34
- `list_lanes` 四个工具。`route` 默认只读 advise 模式;work 模式必须明确
35
- 指定 workdir。
26
+ - 默认路由加入 `claude-opus-5`:成为 `hard-judgment`、`taste-final` 第一顺位,也纳入最高难度编程任务的备选。
27
+ - `omnilane configure` 已扩展全部 13 个提供商:共 106 个可选模型,完整收录 Codex、Claude Code、Grok BuildAntigravity 实时列表,并加入已验证的 OpenRouter/OpenCode 快捷项;仍可用 `c` 输入自定义模型 ID。
36
28
 
37
- ## v0.8.2 新功能
29
+ ---
30
+ ## 👋 第一次用?
38
31
 
39
- - **`openrouter` vendor** — 只需 `curl` 加一个 `OPENROUTER_API_KEY`,
40
- 即可直连 OpenRouter API 派工:任何 omnilane 安装都能访问数百个
41
- 托管模型,无需再装任何代理 CLI。仅限 advise/consult(不能改文件,
42
- work 模式会明确报错指路),模型 slug 必填,例如
43
- `dispatch.sh --vendor openrouter --model anthropic/claude-sonnet-5 consult "..."`。
44
- - **`opencode` vendor** — 通过 OpenCode 多供应商聚合 CLI 无头派工
45
- (`opencode run`)。advise 模式锁定内置只读 `plan` agent;work 模式
46
- 用 `--auto`。加入默认 `coding-overflow` 链作为最后回退。
32
+ 你已经在用某个 AI 写程式助手——**Claude Code、Codex、Cursor、Gemini
33
+ CLI** 之类。每个一次只接一个 AI 模型,而「每件工作该用哪个模型最好」得你自己决定。
47
34
 
48
- ## v0.8.1 新功能
35
+ **omnilane 帮你决定。** 每一件工作,它会自动派给对那件事最强(也最省)的模型——硬派程式
36
+ 交给顶尖程式模型、随手的小检查交给又快又便宜的、长文件交给大脉络模型——全部用你本来就在
37
+ 付费的订阅与 API 金钥。用内建预设值就好,或改一个小设定档就能微调。不用另外顾一套东西
38
+ (它躲在你现有工具背后跑),`./install.sh --uninstall` 可干净移除。
49
39
 
50
- - **Claude Code 插件开场自动载入路由提醒** — 插件新增 `SessionStart`
51
- hook(`hooks/hooks.json`),在会话开始(`startup|resume|clear`)时自动
52
- 注入路由提醒,安装插件即生效,无需修改 `~/.claude/CLAUDE.md`。其他
53
- CLI 仍使用 `install.sh` 的指令文件提醒。
40
+ **[⬇ 直接跳到 60 秒上手](#-60-秒上手)**
54
41
 
55
- ## v0.8.0 新功能
42
+ ## v0.10.0 新功能
56
43
 
57
- - **两个新派工 vendor** `kimi`(Moonshot Kimi Code CLI)与 `qwen`
58
- (Alibaba Qwen Code CLI)加入,沿用统一 runner 契约:advise 只读、
59
- work 自动批准、剥除 API key 环境变量改用 CLI 自身订阅登录、空输出
60
- 视为失败。可用 `--vendor kimi|qwen` 直接指定。
61
- - **coding-overflow 新增备选链** — 额度溢流道改为 grok → kimi → qwen
62
- 再到 `off`,三家装任一家即可用。runner 以假可执行文件完成契约测试;
63
- 欢迎反馈真实模型实测结果。
44
+ - **Gemini 3.6 Flash 默认路由**——`fast-agentic`、`triage`、`bulk-mechanical`
45
+ 的 gemini 候选( `Gemini Flash` 别名)改用 2026-07-21 发布的 Gemini 3.6
46
+ Flash:输出 token 更少、输出单价更低、Artificial Analysis 实测输出速度第一。
47
+ - **证据重审计**——路由注释、模型能力笔记与 Gemini 价格表对官方来源刷新
48
+ (2026-07-21/22)。
64
49
 
65
- ## v0.7.1 新功能
50
+ ## v0.9.1 新功能
66
51
 
67
- - **路由表更新(2026-07 模型数据)** hardest-coding 首选改为 GPT-5.6 Sol
68
- **max** 档位:Artificial Analysis Coding Agent Index v1.1 测得 Sol (max)
69
- 80 分为当前最高,替换旧的「xhigh 胜 max」快照。
70
- - **Claude 备选升档** — hardest-coding 与 hard-judgment 的 Claude Opus 4.8
71
- 备选改为 **xhigh**,依 Anthropic 官方对困难任务与长时间工作的建议。
52
+ - **修复**:`configure set` 不再删除 `routing.local.yaml` 中手写的注释——
53
+ 只改写自身的戳记行与被替换的 lane。
72
54
 
73
- ## v0.7.0 新功能
74
-
75
- - **先预览再派工** — `--dry-run` 打印完整解析后的派工计划(vendor、模型、
76
- 模式、超时、副作用判定),不调用模型、不创建作业状态。
77
- - **版本化 JSON 自动化** — `--list`/`--explain`/`--validate` 与
78
- `jobs list|status|result|stats` 都提供 `--json` 信封;另有只读 `jobs wait`、
79
- `jobs audit`,以及带可复现 manifest 的离线 `omnilane release-audit` 发布审计。
80
- - **本地作业一条龙** — `jobs tail` 查看实时输出、`jobs retry` 以 fail-closed
81
- 方式重派已完成作业、`prune --older-than` 按时间清理,`--help` 覆盖所有命令。
82
- - **安装与补全更安全** — `install.sh --check`/`--dry-run` 只读报告漂移,
83
- `omnilane completion bash|zsh` 提供安全的 tab 补全,并修复五个 macOS 自带
84
- Bash 3.2 崩溃。
55
+ ## v0.9.0 新功能
85
56
 
86
- ## v0.6.0 新功能
57
+ - **新增 5 个 OpenAI-compatible direct-API vendor** — `deepseek`、`zai`(GLM)、`mistral`、`groq`、`cerebras`,与 `openrouter` 同为免 CLI 通道(curl 加一把 `<VENDOR>_API_KEY`);`lib/common.sh` registry 一行即加一个。详见 [`docs/model-capabilities-2026-07.md`](docs/model-capabilities-2026-07.md)。
58
+ - **fish shell 补全** — `omnilane completion fish | source`。
87
59
 
88
- - **离线理解并验证路由** 使用 `--explain` 查看每个备用候选,或使用
89
- `--validate` 检查完整生效路由表;都不会调用模型或创建作业状态。
90
- - **用机器可读数据观察本地状态** — `jobs.sh stats` 提供有界统计,
91
- `omnilane doctor --json` 提供健康检查,同时不会泄漏任务或结果正文。
92
- - **在 Live Board 比较两条作业** — 将一条已加载作业固定为仅存在于内存中的
93
- 参考快照,并排比较模型路径与公开结果。
94
- - **让锁恢复更安静** — 所有者文件在检查与读取之间消失时,不再泄漏容易误判的
95
- 缺失文件诊断,同时保持 fail-closed。
60
+ ## 60 秒上手
96
61
 
97
- ## v0.5.1 新功能
62
+ **最快的方式——用 npm 装:**
98
63
 
99
- - **在非 Git 目录使用 Codex work** — 普通文件夹仍完整支持;Omnilane 不要求,
100
- 也绝不会自动执行 `git init`。
101
- - **干净停止非 Git 卡死** — 未设置整体上限时,解析后的单次看门狗会自动成为
102
- 进程组保险丝,同时保留手动 timeout 的优先级和退出码语义。
103
- - **让版本显示可信** `VERSION` 现在统一提供给 `omnilane --version` 和两份
104
- plugin manifest,CI 会检查变更记录和五种语言 README 是否一致。
64
+ ```bash
65
+ npm i -g omnilane # 装 CLI
66
+ omnilane route hardest-coding "修掉会间歇失败的 auth token 更新测试"
67
+ omnilane doctor # 看你手上有哪些 AI CLI / 金钥
68
+ omnilane ui start # 选配:在浏览器即时看派工
69
+ ```
105
70
 
106
- ## 60 秒上手
71
+ **或 clone 整包**(拿到路由表与可自订的技能):
107
72
 
108
73
  ```bash
109
74
  git clone https://github.com/Seraphim0916/omnilane && cd omnilane
110
- ./install.sh # 检测你的 CLI、接好技能、说你的语言
111
- omnilane route hardest-coding "修掉间歇失败的 auth token 刷新测试"
112
- omnilane ui start # 可选:在浏览器实时查看派发
75
+ ./install.sh # 侦测你的 CLI、接好技能、说你的语言
76
+ omnilane route hardest-coding "修掉会间歇失败的 auth token 更新测试"
113
77
  ```
114
78
 
79
+ > 第一次用?先跑 `omnilane doctor`——它会告诉你 omnilane 现在能接到哪些模型 CLI 与
80
+ > API 金钥,你就知道实际会跑什么。
81
+
115
82
  ## 🧭 工作原理
116
83
 
117
84
  omnilane 让**任何**一个 agentic CLI 的主循环把子任务分类到通道(lane),
@@ -123,7 +90,7 @@ flowchart LR
123
90
  M["主循环<br/><i>你在用的任一 CLI</i>"] --> T{{"routing.yaml<br/>一张共用路由表"}}
124
91
  T -->|hardest-coding| C1["Codex — GPT-5.6 Sol"]
125
92
  T -->|bulk-mechanical| C2["Codex — GPT-5.6 Terra"]
126
- T -->|taste-final| C3["Claude — Opus 4.8"]
93
+ T -->|taste-final| C3["Claude — Opus 5"]
127
94
  T -->|long-context| C4["Gemini — 3.1 Pro"]
128
95
  T -->|live-search| C5["Grok — 4.5"]
129
96
  T -->|"arbitrate(可选)"| C6["vote — 1-4 模型评审团"]
@@ -152,15 +119,15 @@ flowchart LR
152
119
 
153
120
  | 通道 | 首选模型 | 备选模型 | 用途 |
154
121
  |---|---|---|---|
155
- | 🔥 hardest-coding | GPT-5.6 Sol (max) | Claude Opus 4.8 (xhigh) | 最难的实现、深度调试、正确性攸关的修改 |
122
+ | 🔥 hardest-coding | GPT-5.6 Sol (max) | Claude Opus 5 (max) | 最难的实现、深度调试、正确性攸关的修改 |
156
123
  | 🏗️ bulk-mechanical | GPT-5.6 Terra (max) | Claude Sonnet 5 (high) | 重构、迁移、测试、大面积扫描——机械耐力活 |
157
- | 🧹 triage | GPT-5.6 Luna (medium) | Gemini 3.5 Flash (Low) | 高量初筛、第一轮过滤 |
158
- | ⚖️ hard-judgment | GPT-5.6 Sol (max) | Claude Opus 4.8 (xhigh) | 架构仲裁、深度推理、第二意见 |
159
- | ✒️ taste-final | Claude Opus 4.8 (high) | GPT-5.6 Sol (max) | 对外文字、prompt 与文档打磨、风格终审 |
124
+ | 🧹 triage | GPT-5.6 Luna (medium) | Gemini 3.6 Flash (Low) | 高量初筛、第一轮过滤 |
125
+ | ⚖️ hard-judgment | Claude Opus 5 (max) | GPT-5.6 Sol (max) | 架构仲裁、深度推理、第二意见 |
126
+ | ✒️ taste-final | Claude Opus 5 (high) | GPT-5.6 Sol (max) | 对外文字、prompt 与文档打磨、风格终审 |
160
127
  | 💬 consult | 明确指定的厂商/模型 | —(不降级) | 自然语言直接咨询;必须保留 `--vendor` |
161
- | 🎨 ui-draft | GPT-5.6 Sol (xhigh) | Claude Opus 4.8 (high) | 有设计规范/参考图时的 UI 出稿;开放式视觉品味交给 taste-final |
162
- | 📚 long-context | Gemini 3.1 Pro (High) | Claude Opus 4.8 (high) | 百万 token 长文整合——仅限分析,不派 agentic 长链 |
163
- | ⚡ fast-agentic | Gemini 3.5 Flash (High) | GPT-5.6 Luna (high) | 快速多步骤 agentic 循环、多模态检查 |
128
+ | 🎨 ui-draft | GPT-5.6 Sol (xhigh) | Claude Opus 5 (high) | 有设计规范/参考图时的 UI 出稿;开放式视觉品味交给 taste-final |
129
+ | 📚 long-context | Gemini 3.1 Pro (High) | Claude Opus 5 (high) | 百万 token 长文整合;Pro 可跑 agentic 工作,高速重复循环仍优先 Flash |
130
+ | ⚡ fast-agentic | Gemini 3.6 Flash (High) | GPT-5.6 Luna (high) | 快速多步骤 agentic 循环、多模态检查 |
164
131
  | 📡 live-search | Grok 4.5 | —(off) | 实时 X/网络搜索与社群脉络 |
165
132
  | 🚰 coding-overflow | Grok 4.5 | Kimi K3 → Qwen3 Coder Plus → OpenCode | Codex 额度吃紧时的中量级编码溢流道;事实性声明须另行查证 |
166
133
  | 🗳️ arbitrate | off(可选评审团) | — | 内置意见评审团,重大决定用——默认关闭,要用在 `routing.local.yaml` 打开;每评审每轮烧一次额度 |
@@ -168,7 +135,8 @@ flowchart LR
168
135
  **备选模型**是候选链的下一位——首选那家的厂商 CLI 没装时,派发就降到它。
169
136
 
170
137
  > **Claude Fable 5 去哪了?** 默认表刻意不放:Claude 顶级档通常就是*主循环本人*,
171
- > 不是被派发的工人,且定价高于 Opus。设置菜单的模型清单里有它——
138
+ > 不是被派发的工人,且定价高于 Opus。这是成本/护栏/主循环策略,不代表能力
139
+ > 不如 Opus;Anthropic 将 Fable 5 定位在 Opus 5 之上。设置菜单的模型清单里有它——
172
140
  > 不同意就自己路由过去(例如在 `routing.local.yaml` 写
173
141
  > `taste-final: claude claude-fable-5 high`)。
174
142
 
@@ -192,11 +160,11 @@ flowchart LR
192
160
  的 `omnilane` 技能会自动套对的那一行,这里是给人看的版本。
193
161
 
194
162
  - **Claude Code · Fable 5** — 自己做:hard-judgment、taste-final、最吃正确性的硬修。派出去:机械编码量 → Codex、长文 → Gemini、实时搜索 → Grok。
195
- - **Claude Code · Opus 4.8** — 自己做:taste-final。hard-judgment 派给 Codex Sol(智力分高于 Opus)、所有编码走 Codex 通道、长文 → Gemini、实时搜索 → Grok。
163
+ - **Claude Code · Opus 5** — 自己做:hard-judgment、taste-final。大量编码走 Codex 通道、长文 → Gemini、实时搜索 → Grok。
196
164
  - **Codex · Sol** — 自己做:hardest-coding、hard-judgment、ui-draft。派出去:taste-final → Claude、长文 → Gemini、实时搜索 → Grok、粗活 → Codex Terra。
197
165
  - **Codex · Terra** — 自己做:bulk-mechanical。真正最硬的往上升给 Sol;taste → Claude、长文 → Gemini、实时搜索 → Grok。
198
166
  - **Grok Build · Grok 4.5** — 自己做:live-search、coding-overflow(中量级编码)。所有硬活派给 Codex/Claude/Gemini——先验每个 API 签名与引用事实。
199
- - **Antigravity · Gemini** — 自己做:long-context(3.1 Pro)、fast-agentic(Flash)。编码/判断/文字派给 Codex/Claude;实时搜索 → Grok。3.1 Pro 绝不接 agentic 工具长链。
167
+ - **Antigravity · Gemini** — 自己做:3.1 Pro 的长文与重上下文 agentic 工作、Flash 的高速重复循环。最难的编码/判断/文字派给 Codex/Claude;实时搜索 → Grok。
200
168
 
201
169
  </details>
202
170
 
@@ -394,6 +362,90 @@ configure.sh set|get|unset|list|diff LANE [SPEC] # 非交互编辑/查看 rou
394
362
  外卡住,因此上面的自动保险丝会限制这个场景并清理受监工的进程组。Omnilane
395
363
  不会自动执行 `git init`,也不要求用户创建仓库。
396
364
 
365
+ ## 📜 版本历程
366
+
367
+ <details>
368
+ <summary>旧版本(v0.8.3 以前)</summary>
369
+
370
+ ## v0.8.3 新功能
371
+
372
+ - **MCP server** — `omnilane mcp` 启动零依赖的 stdio MCP server,任何支持
373
+ MCP 的宿主(Claude Code、Codex、Gemini CLI、Cursor、OpenCode……)无需安装
374
+ skill 即可发现并调用 omnilane:提供 `route`、`jobs_status`、`jobs_result`、
375
+ `list_lanes` 四个工具。`route` 默认只读 advise 模式;work 模式必须明确
376
+ 指定 workdir。
377
+
378
+ ## v0.8.2 新功能
379
+
380
+ - **`openrouter` vendor** — 只需 `curl` 加一个 `OPENROUTER_API_KEY`,
381
+ 即可直连 OpenRouter API 派工:任何 omnilane 安装都能访问数百个
382
+ 托管模型,无需再装任何代理 CLI。仅限 advise/consult(不能改文件,
383
+ work 模式会明确报错指路),模型 slug 必填,例如
384
+ `dispatch.sh --vendor openrouter --model anthropic/claude-sonnet-5 consult "..."`。
385
+ - **`opencode` vendor** — 通过 OpenCode 多供应商聚合 CLI 无头派工
386
+ (`opencode run`)。advise 模式锁定内置只读 `plan` agent;work 模式
387
+ 用 `--auto`。加入默认 `coding-overflow` 链作为最后回退。
388
+
389
+ ## v0.8.1 新功能
390
+
391
+ - **Claude Code 插件开场自动载入路由提醒** — 插件新增 `SessionStart`
392
+ hook(`hooks/hooks.json`),在会话开始(`startup|resume|clear`)时自动
393
+ 注入路由提醒,安装插件即生效,无需修改 `~/.claude/CLAUDE.md`。其他
394
+ CLI 仍使用 `install.sh` 的指令文件提醒。
395
+
396
+ ## v0.8.0 新功能
397
+
398
+ - **两个新派工 vendor** — `kimi`(Moonshot Kimi Code CLI)与 `qwen`
399
+ (Alibaba Qwen Code CLI)加入,沿用统一 runner 契约:advise 只读、
400
+ work 自动批准、剥除 API key 环境变量改用 CLI 自身订阅登录、空输出
401
+ 视为失败。可用 `--vendor kimi|qwen` 直接指定。
402
+ - **coding-overflow 新增备选链** — 额度溢流道改为 grok → kimi → qwen
403
+ 再到 `off`,三家装任一家即可用。runner 以假可执行文件完成契约测试;
404
+ 欢迎反馈真实模型实测结果。
405
+
406
+ ## v0.7.1 新功能
407
+
408
+ - **路由表更新(2026-07 模型数据)** — hardest-coding 首选改为 GPT-5.6 Sol
409
+ **max** 档位:Artificial Analysis Coding Agent Index v1.1 测得 Sol (max)
410
+ 80 分为当前最高,替换旧的「xhigh 胜 max」快照。
411
+ - **Claude 备选升档** — hardest-coding 与 hard-judgment 的 Claude Opus 4.8
412
+ 备选改为 **xhigh**,依 Anthropic 官方对困难任务与长时间工作的建议。
413
+
414
+ ## v0.7.0 新功能
415
+
416
+ - **先预览再派工** — `--dry-run` 打印完整解析后的派工计划(vendor、模型、
417
+ 模式、超时、副作用判定),不调用模型、不创建作业状态。
418
+ - **版本化 JSON 自动化** — `--list`/`--explain`/`--validate` 与
419
+ `jobs list|status|result|stats` 都提供 `--json` 信封;另有只读 `jobs wait`、
420
+ `jobs audit`,以及带可复现 manifest 的离线 `omnilane release-audit` 发布审计。
421
+ - **本地作业一条龙** — `jobs tail` 查看实时输出、`jobs retry` 以 fail-closed
422
+ 方式重派已完成作业、`prune --older-than` 按时间清理,`--help` 覆盖所有命令。
423
+ - **安装与补全更安全** — `install.sh --check`/`--dry-run` 只读报告漂移,
424
+ `omnilane completion bash|zsh` 提供安全的 tab 补全,并修复五个 macOS 自带
425
+ Bash 3.2 崩溃。
426
+
427
+ ## v0.6.0 新功能
428
+
429
+ - **离线理解并验证路由** — 使用 `--explain` 查看每个备用候选,或使用
430
+ `--validate` 检查完整生效路由表;都不会调用模型或创建作业状态。
431
+ - **用机器可读数据观察本地状态** — `jobs.sh stats` 提供有界统计,
432
+ `omnilane doctor --json` 提供健康检查,同时不会泄漏任务或结果正文。
433
+ - **在 Live Board 比较两条作业** — 将一条已加载作业固定为仅存在于内存中的
434
+ 参考快照,并排比较模型路径与公开结果。
435
+ - **让锁恢复更安静** — 所有者文件在检查与读取之间消失时,不再泄漏容易误判的
436
+ 缺失文件诊断,同时保持 fail-closed。
437
+
438
+ ## v0.5.1 新功能
439
+
440
+ - **在非 Git 目录使用 Codex work** — 普通文件夹仍完整支持;Omnilane 不要求,
441
+ 也绝不会自动执行 `git init`。
442
+ - **干净停止非 Git 卡死** — 未设置整体上限时,解析后的单次看门狗会自动成为
443
+ 进程组保险丝,同时保留手动 timeout 的优先级和退出码语义。
444
+ - **让版本显示可信** — `VERSION` 现在统一提供给 `omnilane --version` 和两份
445
+ plugin manifest,CI 会检查变更记录和五种语言 README 是否一致。
446
+
447
+ </details>
448
+
397
449
  ## 🌱 状态
398
450
 
399
451
  omnilane 现有 13 个派工 vendor——4 个框架原生(codex、claude、grok、gemini)、3 个聚合/溢流 CLI(kimi、qwen、opencode),加上 6 个免 CLI 的 OpenAI-compatible direct-API vendor(openrouter、deepseek、zai、mistral、groq、cerebras)——全部走统一 runner 契约并附 contract 测试,另有 Claude Code `SessionStart` 自动提醒与 MCP stdio server 介面(`omnilane mcp`)。direct-API 与聚合 runner 皆以假可执行档做过契约测试;欢迎反馈真实模型使用经验。Grok/Antigravity 命令壳行为仍可能随 CLI 版本变动。欢迎提交 issue 与 PR。