@chibitek/chibi 0.1.207 → 0.1.209
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/dist/assets/{TerminalPanel-Cqjxle8G.js → TerminalPanel-CHGq3udb.js} +1 -1
- package/dist/assets/{abnfDiagram-O67JEVCF-XB80WX43.js → abnfDiagram-O67JEVCF-BMaKhJ-b.js} +1 -1
- package/dist/assets/{arc-BERcgYDi.js → arc-CYAiNWN8.js} +1 -1
- package/dist/assets/{architectureDiagram-NJMV4G6O-Dnc9s6SQ.js → architectureDiagram-NJMV4G6O-CxJFFlbO.js} +1 -1
- package/dist/assets/{blockDiagram-BEXU5L5S-Cxc21eYL.js → blockDiagram-BEXU5L5S-C7AbPjRB.js} +1 -1
- package/dist/assets/{c4Diagram-YGBWAQC7-CW-3gUcf.js → c4Diagram-YGBWAQC7-DfVnCJmT.js} +1 -1
- package/dist/assets/channel-DxL_mLhm.js +1 -0
- package/dist/assets/{chunk-2Q5K7J3B-Bs484eiW.js → chunk-2Q5K7J3B-CzAUFkgv.js} +1 -1
- package/dist/assets/{chunk-3FUC2YCW-qhnBgRDy.js → chunk-3FUC2YCW-BgeBXphm.js} +2 -2
- package/dist/assets/{chunk-5VM5RSS4-CsCqAEkH.js → chunk-5VM5RSS4-DPRdTAXc.js} +1 -1
- package/dist/assets/{chunk-GTNCS2PH-ChBgFjPw.js → chunk-GTNCS2PH-BS-_dIVl.js} +1 -1
- package/dist/assets/{chunk-GWA4HPMP-Df5-WClq.js → chunk-GWA4HPMP-D6I7xMmd.js} +1 -1
- package/dist/assets/{chunk-JWPE2WC7-BdMXRJhO.js → chunk-JWPE2WC7-BKSKe7C9.js} +1 -1
- package/dist/assets/{chunk-NETBCI7D-rmAqJ9nY.js → chunk-NETBCI7D-R48UYTRN.js} +1 -1
- package/dist/assets/{chunk-WEXAMYUT-DYmTw4lw.js → chunk-WEXAMYUT-C8z4mL-2.js} +1 -1
- package/dist/assets/{chunk-XXDRQBXY-C4o5SHm0.js → chunk-XXDRQBXY-Bml3ZRJ5.js} +1 -1
- package/dist/assets/{classDiagram-v2-NBCMYWYE-Bm-ZzDk5.js → classDiagram-v2-NBCMYWYE-w5wo22FO.js} +1 -1
- package/dist/assets/{cose-bilkent-JH36ORCC-CFMRSfMu.js → cose-bilkent-JH36ORCC-Cum9v--4.js} +1 -1
- package/dist/assets/{cynefin-OW5HDTMX-BDedZ5yW.js → cynefin-OW5HDTMX-BzN0-KsP.js} +1 -1
- package/dist/assets/{cynefinDiagram-VND7K2PF-i7KARSqF.js → cynefinDiagram-VND7K2PF-CkOpm32D.js} +1 -1
- package/dist/assets/{dagre-6A5THRUB-CwWpV0i_.js → dagre-6A5THRUB-BItQkKZD.js} +1 -1
- package/dist/assets/{diagram-22UHCM2B-CWIMT3-K.js → diagram-22UHCM2B-BI0zDn7c.js} +1 -1
- package/dist/assets/{diagram-3UASUU5V-C7HGc_ap.js → diagram-3UASUU5V-jwcDxsu6.js} +1 -1
- package/dist/assets/{diagram-ATOU4E4O-BeLM7ihN.js → diagram-ATOU4E4O-2RnY9egJ.js} +1 -1
- package/dist/assets/{diagram-CDSNMT55-CN1rVM-W.js → diagram-CDSNMT55-eVdEZmEF.js} +1 -1
- package/dist/assets/{diagram-MLGK6HIB-CuLcsx4e.js → diagram-MLGK6HIB-BCDGCJJ0.js} +1 -1
- package/dist/assets/{diagram-MPIPVDR6-Bie61r-h.js → diagram-MPIPVDR6-DtN5uO5w.js} +1 -1
- package/dist/assets/{ebnfDiagram-ZINNZB2B-ChMg86y3.js → ebnfDiagram-ZINNZB2B-B9GpXSEs.js} +1 -1
- package/dist/assets/{elk-276RUBZZ-DG9xXwoW.js → elk-276RUBZZ-Bk_eaK4T.js} +1 -1
- package/dist/assets/{erDiagram-OPXOYQCR-C9bl-nWK.js → erDiagram-OPXOYQCR-BiGoW6C6.js} +1 -1
- package/dist/assets/{flowDiagram-KWPJA3E3-DvdWxFI8.js → flowDiagram-KWPJA3E3-ZW5w0BaJ.js} +1 -1
- package/dist/assets/{ganttDiagram-FUAMR5RP-DDCNSEYc.js → ganttDiagram-FUAMR5RP-yyrKgsx1.js} +1 -1
- package/dist/assets/{gitGraphDiagram-X574FWY7-PFvmOSMd.js → gitGraphDiagram-X574FWY7-CeiDikzD.js} +1 -1
- package/dist/assets/{index-Ci2mINhA.js → index-CZGnshrJ.js} +83 -83
- package/dist/assets/{index-DnniNB7N.js → index-DUFlRZuA.js} +1 -1
- package/dist/assets/{infoDiagram-VRGFBTTK-HEZh-PnK.js → infoDiagram-VRGFBTTK-q2B-KJFm.js} +1 -1
- package/dist/assets/{ishikawaDiagram-OU5B5YK6-P3mmCGAU.js → ishikawaDiagram-OU5B5YK6-D8gXFuc0.js} +1 -1
- package/dist/assets/{journeyDiagram-ZHPQQLJL-dKG4AQu2.js → journeyDiagram-ZHPQQLJL-BmHL2mbq.js} +1 -1
- package/dist/assets/{kanban-definition-PNTS6WVX-BeIHeQTt.js → kanban-definition-PNTS6WVX-B9Ll2WkA.js} +1 -1
- package/dist/assets/{linear-DnEqDr6r.js → linear-CMVGYrKx.js} +1 -1
- package/dist/assets/{mermaid.core-D7hz6n4u.js → mermaid.core-qO11n1kV.js} +5 -5
- package/dist/assets/{mindmap-definition-NLK3R4M7-BxJ8p-DN.js → mindmap-definition-NLK3R4M7-CxLGFX45.js} +1 -1
- package/dist/assets/{pegDiagram-GJSIUBJH-CkQT2dHJ.js → pegDiagram-GJSIUBJH-CxK1MJG4.js} +1 -1
- package/dist/assets/{pieDiagram-5QR66LMP-DmVVhYaY.js → pieDiagram-5QR66LMP-H5jiF5Eu.js} +1 -1
- package/dist/assets/{quadrantDiagram-O4NWA36T-DsOz-qCY.js → quadrantDiagram-O4NWA36T-CKaqCruv.js} +1 -1
- package/dist/assets/{railroadDiagram-XR7U4H2S-CeYfvaki.js → railroadDiagram-XR7U4H2S-BCzKiQOd.js} +1 -1
- package/dist/assets/{requirementDiagram-PLB6GJNP-BCtM-2uN.js → requirementDiagram-PLB6GJNP-Cqtr43DT.js} +1 -1
- package/dist/assets/{sankeyDiagram-IPEJSGJF-Cu8ki35x.js → sankeyDiagram-IPEJSGJF-B2tQewX8.js} +1 -1
- package/dist/assets/{sequenceDiagram-PO4LG4MO-DKbS5Gcs.js → sequenceDiagram-PO4LG4MO-nggwQyrw.js} +1 -1
- package/dist/assets/{sizeCapture-INFHLROL-Ceut6PrE.js → sizeCapture-INFHLROL-qSPXJBv2.js} +1 -1
- package/dist/assets/{stateDiagram-v2-GCMORJYK-Bl5uMY2f.js → stateDiagram-v2-GCMORJYK-DraPbL2T.js} +1 -1
- package/dist/assets/{swimlanes-2SLR337P-CoMPbJ2k.js → swimlanes-2SLR337P-C6HVkIDA.js} +1 -1
- package/dist/assets/swimlanesDiagram-TC7HE7FX-gQUGsELo.js +8 -0
- package/dist/assets/{timeline-definition-EJHVYXUP-D0xkKp46.js → timeline-definition-EJHVYXUP-DZmPRTsx.js} +1 -1
- package/dist/assets/{usecaseDiagram-POWQR4AR-BCCL6QIf.js → usecaseDiagram-POWQR4AR-CsVuROW_.js} +1 -1
- package/dist/assets/{vennDiagram-UO4OBE2U-B7g3jK72.js → vennDiagram-UO4OBE2U-B9IRbuhp.js} +1 -1
- package/dist/assets/{wardleyDiagram-VNRHLVJA-DFhnqQKP.js → wardleyDiagram-VNRHLVJA-CGmVK53n.js} +1 -1
- package/dist/assets/{xychartDiagram-PMCCYNJV-mIXMscRS.js → xychartDiagram-PMCCYNJV-BAw-x9Y1.js} +1 -1
- package/dist/index.html +1 -1
- package/dist-server/index.js +3160 -2743
- package/dist-server/openmausbot.js +831 -654
- package/dist-server/pair-cli.js +831 -654
- package/dist-server/server/connection-cap-failover.js +8 -6
- package/dist-server/server/drivers/acp/core.js +20 -47
- package/dist-server/server/drivers/acp/custom.js +5 -0
- package/dist-server/server/drivers/acp/hermes-hosts.js +9 -0
- package/dist-server/server/drivers/acp/hermes.js +7 -9
- package/dist-server/server/drivers/acp/kimi-turn-failure.js +68 -0
- package/dist-server/server/drivers/acp/kimi.js +7 -0
- package/dist-server/server/drivers/acp/mcp-limit.js +47 -0
- package/dist-server/server/drivers/acp/rpc-error.js +35 -0
- package/dist-server/server/drivers/acp/setup-failure.js +9 -0
- package/dist-server/server/drivers/acp/vibe.js +11 -5
- package/dist-server/server/drivers/chat-text-only.js +47 -0
- package/dist-server/server/drivers/openai-chat-protocol.js +15 -0
- package/dist-server/server/drivers/openai-chat.js +8 -18
- package/dist-server/server/drivers/turn-mcp.js +3 -0
- package/dist-server/server/drivers/vibe-login.js +17 -8
- package/dist-server/server/engine-failover.js +16 -29
- package/dist-server/server/engine-rest.js +4 -3
- package/dist-server/server/engine-tiers.js +12 -9
- package/dist-server/server/index.js +16 -15
- package/dist-server/server/injected-model-rest.js +17 -0
- package/dist-server/server/model-levels/aliases.js +243 -38
- package/dist-server/server/model-levels/chibitek-rankings.js +8 -8
- package/dist-server/server/model-levels/classes.js +106 -38
- package/dist-server/server/model-levels/index.js +26 -14
- package/dist-server/server/model-levels/model-ids.js +91 -0
- package/dist-server/server/model-levels/overrides.js +7 -4
- package/dist-server/server/model-levels/sources.js +4 -1
- package/dist-server/server/pay-per-use.js +13 -1
- package/dist-server/shared/engine-tiers.js +0 -12
- package/package.json +1 -1
- package/dist/assets/channel-DaeKCO76.js +0 -1
- package/dist/assets/swimlanesDiagram-TC7HE7FX-DLJq0mAR.js +0 -8
|
@@ -1,3 +1,35 @@
|
|
|
1
|
+
// The alias table: which Artificial Analysis and LMArena names are which
|
|
2
|
+
// model Atomic runs, and which engine and model id runs it.
|
|
3
|
+
//
|
|
4
|
+
// Matching is deliberately conservative and always exact. A leaderboard name
|
|
5
|
+
// counts for a model when, after modelKey, it equals a name listed here (or
|
|
6
|
+
// in a person's alias override), or when the name without its effort part
|
|
7
|
+
// equals one of the model's ids ("Gemini 4 Neon (High)" is gemini-4-neon).
|
|
8
|
+
// Nothing is inferred from a family name or a sibling version; an unlisted
|
|
9
|
+
// name is reported as unmatched, with at most a suggestion that a person can
|
|
10
|
+
// confirm with an override.
|
|
11
|
+
//
|
|
12
|
+
// An engine's ids for one model resolve to that model whatever the spelling
|
|
13
|
+
// (model-ids.ts): "claude-fable-5.1" and "claude-fable-5-1-thinking-high"
|
|
14
|
+
// are claude-fable-5-1.
|
|
15
|
+
//
|
|
16
|
+
// Where a leaderboard lists several variants of one model (effort levels, a
|
|
17
|
+
// search build, the Codex harness), each variant is listed and the model is
|
|
18
|
+
// graded on its best one on that board.
|
|
19
|
+
//
|
|
20
|
+
// Artificial Analysis lists each effort as its own model ("GPT-6 Astra
|
|
21
|
+
// (medium)"); `aa` holds the name with the effort part taken off
|
|
22
|
+
// (parseAaName), and every effort of that name belongs to the model.
|
|
23
|
+
//
|
|
24
|
+
// Engine ids were read from the drivers' catalogs and the live /api/instances
|
|
25
|
+
// on Erick's Mac on 2026-09-25; Artificial Analysis names from its Data API
|
|
26
|
+
// the same day. The models added on 2026-11-22 take their leaderboard names
|
|
27
|
+
// from the LMArena boards of 2026-11-18 to 2026-11-20 and the Artificial
|
|
28
|
+
// Analysis rows of 2026-11-04, and their ids from the ids Erick's engines
|
|
29
|
+
// listed that day. Local Ollama models are not listed: a local tag is a
|
|
30
|
+
// quantized copy whose quality the leaderboards do not measure, so it is
|
|
31
|
+
// Añejo unless a person's override says otherwise.
|
|
32
|
+
import { lookupKeys, modelKey, partsEffort, variantKeys, variantParts, variantRank } from "./model-ids.js";
|
|
1
33
|
const run = (driverKind, model, effort) => ({ driverKind, model, ...(effort ? { effort } : {}) });
|
|
2
34
|
const claude = (model) => run("claudeAgent", model);
|
|
3
35
|
const codex = (model) => run("codex", model);
|
|
@@ -10,6 +42,11 @@ const muse = (model) => run("museCode", model);
|
|
|
10
42
|
const zai = (model) => run("hermesAgent", `zai:${model}`);
|
|
11
43
|
export const MODEL_CATALOG = [
|
|
12
44
|
// Anthropic
|
|
45
|
+
{
|
|
46
|
+
id: "claude-fable-5-2", label: "Claude Fable 5.2",
|
|
47
|
+
leaderboard: ["Claude Fable 5.2 (Max)", "Claude Fable 5.2 (xHigh)"],
|
|
48
|
+
runs: [claude("claude-fable-5-2"), cursor("claude-fable-5-2-high"), opencode("claude-fable-5-2"), hermes("anthropic/claude-fable-5.2")],
|
|
49
|
+
},
|
|
13
50
|
{
|
|
14
51
|
id: "claude-fable-5-1", label: "Claude Fable 5.1",
|
|
15
52
|
aa: ["Claude Fable 5.1"], leaderboard: ["Claude Fable 5.1 (Max)", "claude-fable-5.1-max"],
|
|
@@ -35,17 +72,47 @@ export const MODEL_CATALOG = [
|
|
|
35
72
|
aa: ["Claude Opus 4.8"], leaderboard: ["Claude Opus 4.8 (High)", "claude-opus-4-8", "claude-opus-4-8-high"],
|
|
36
73
|
runs: [opencode("claude-opus-4-8"), hermes("anthropic/claude-opus-4.8")],
|
|
37
74
|
},
|
|
75
|
+
{
|
|
76
|
+
id: "claude-sonnet-5-5", label: "Claude Sonnet 5.5",
|
|
77
|
+
aa: ["Claude Sonnet 5.5"], leaderboard: ["Claude Sonnet 5.5 (Max)", "Claude Sonnet 5.5 (xHigh)", "Claude Sonnet 5.5 (High)"],
|
|
78
|
+
runs: [claude("claude-sonnet-5-5"), cursor("claude-sonnet-5-5-high"), hermes("anthropic/claude-sonnet-5.5")],
|
|
79
|
+
},
|
|
38
80
|
{
|
|
39
81
|
id: "claude-sonnet-5", label: "Claude Sonnet 5",
|
|
40
82
|
aa: ["Claude Sonnet 5"], leaderboard: ["Claude Sonnet 5 (High)", "claude-sonnet-5-high", "claude-sonnet-5-search"],
|
|
41
83
|
runs: [claude("claude-sonnet-5"), cursor("claude-sonnet-5-thinking-high"), opencode("claude-sonnet-5"), hermes("anthropic/claude-sonnet-5"), droid("claude-sonnet-5")],
|
|
42
84
|
},
|
|
85
|
+
{
|
|
86
|
+
id: "claude-haiku-5-5", label: "Claude Haiku 5.5",
|
|
87
|
+
aa: ["Claude Haiku 5.5"], leaderboard: ["Claude Haiku 5.5 (High)"],
|
|
88
|
+
runs: [claude("claude-haiku-5-5"), cursor("claude-haiku-5-5-thinking-high"), hermes("anthropic/claude-haiku-5.5")],
|
|
89
|
+
},
|
|
43
90
|
{
|
|
44
91
|
id: "claude-haiku-4-5", label: "Claude Haiku 4.5",
|
|
45
92
|
aa: ["Claude 4.5 Haiku"], leaderboard: ["claude-haiku-4-5-20251001"],
|
|
46
93
|
runs: [claude("claude-haiku-4-5"), opencode("claude-haiku-4-5"), hermes("anthropic/claude-haiku-4.5"), droid("claude-haiku-4-5-20251001")],
|
|
47
94
|
},
|
|
48
95
|
// OpenAI
|
|
96
|
+
{
|
|
97
|
+
id: "gpt-6.2-astra", label: "GPT-6.2 Astra",
|
|
98
|
+
leaderboard: ["GPT-6.2 Astra (Max)"],
|
|
99
|
+
runs: [codex("gpt-6.2-astra"), opencode("gpt-6.2-astra"), hermes("openai/gpt-6.2-astra")],
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
id: "gpt-6.2-sol", label: "GPT-6.2 Sol",
|
|
103
|
+
leaderboard: ["GPT-6.2 Sol (Max)"],
|
|
104
|
+
runs: [codex("gpt-6.2-sol"), opencode("gpt-6.2-sol"), hermes("openai/gpt-6.2-sol")],
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
id: "gpt-6.1-sol", label: "GPT-6.1 Sol",
|
|
108
|
+
aa: ["GPT-6.1 Sol"], leaderboard: ["GPT-6.1 Sol (Max)", "GPT-6.1 Sol (Medium)"],
|
|
109
|
+
runs: [codex("gpt-6.1-sol"), opencode("gpt-6.1-sol"), hermes("openai/gpt-6.1-sol"), run("hermesAgent", "openai-codex:gpt-6.1-sol")],
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
id: "gpt-6.1-terra", label: "GPT-6.1 Terra",
|
|
113
|
+
aa: ["GPT-6.1 Terra"], leaderboard: ["GPT-6.1 Terra (Max)", "GPT-6.1 Terra (Medium)"],
|
|
114
|
+
runs: [codex("gpt-6.1-terra"), opencode("gpt-6.1-terra"), hermes("openai/gpt-6.1-terra")],
|
|
115
|
+
},
|
|
49
116
|
{
|
|
50
117
|
id: "gpt-6-astra", label: "GPT-6 Astra",
|
|
51
118
|
aa: ["GPT-6 Astra"], leaderboard: ["GPT 6 Astra (Max)", "gpt-6-astra-max"],
|
|
@@ -102,7 +169,29 @@ export const MODEL_CATALOG = [
|
|
|
102
169
|
runs: [run("grokAgent", "grok-4.5"), cursor("cursor-grok-4.5-high"), opencode("grok-4.5")],
|
|
103
170
|
},
|
|
104
171
|
// Google. Antigravity names the effort in the model id; each id is the
|
|
105
|
-
// same model, and the chip reads its effort from the id.
|
|
172
|
+
// same model, and the chip reads its effort from the id. The Gemini 4 ids
|
|
173
|
+
// with an effort ("gemini-4-neon-high") join their model when an engine
|
|
174
|
+
// offers them (withOfferedModels).
|
|
175
|
+
{
|
|
176
|
+
id: "gemini-4-carbon", label: "Gemini 4 Carbon",
|
|
177
|
+
aa: ["Gemini 4 Carbon"], leaderboard: ["Gemini 4 Carbon (High)"],
|
|
178
|
+
runs: [hermes("google/gemini-4-carbon")],
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
id: "gemini-4-neon", label: "Gemini 4 Neon",
|
|
182
|
+
leaderboard: ["Gemini 4 Neon (High)"],
|
|
183
|
+
runs: [hermes("google/gemini-4-neon")],
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
id: "gemini-4-argon", label: "Gemini 4 Argon",
|
|
187
|
+
aa: ["Gemini 4 Argon"], leaderboard: ["Gemini 4 Argon (High)"],
|
|
188
|
+
runs: [run("opencodeGo", "opencode-go/gemini-4-argon"), hermes("google/gemini-4-argon")],
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
id: "gemini-4-hydrogen", label: "Gemini 4 Hydrogen",
|
|
192
|
+
leaderboard: ["Gemini 4 Hydrogen (High)"],
|
|
193
|
+
runs: [hermes("google/gemini-4-hydrogen")],
|
|
194
|
+
},
|
|
106
195
|
{
|
|
107
196
|
id: "gemini-3.8-flash", label: "Gemini 3.8 Flash",
|
|
108
197
|
aa: ["Gemini 3.8 Flash"], leaderboard: ["Gemini 3.8 Flash (High)", "gemini-3.8-flash-high"],
|
|
@@ -120,6 +209,11 @@ export const MODEL_CATALOG = [
|
|
|
120
209
|
runs: [opencode("gemini-3.1-pro"), hermes("google/gemini-3.1-pro-preview"), droid("gemini-3.1-pro-preview")],
|
|
121
210
|
},
|
|
122
211
|
// Moonshot
|
|
212
|
+
{
|
|
213
|
+
id: "kimi-k3.1-pro", label: "Kimi K3.1 Pro",
|
|
214
|
+
aa: ["Kimi K3.1 Pro"], leaderboard: ["Kimi K3.1 Pro (Max)"],
|
|
215
|
+
runs: [opencode("kimi-k3.1-pro"), hermes("moonshotai/kimi-k3.1-pro")],
|
|
216
|
+
},
|
|
123
217
|
{
|
|
124
218
|
id: "kimi-k3", label: "Kimi K3",
|
|
125
219
|
aa: ["Kimi K3"], leaderboard: ["Kimi K3 (Max)", "kimi-k3-max"],
|
|
@@ -167,7 +261,9 @@ export const MODEL_CATALOG = [
|
|
|
167
261
|
runs: [codex("deepseek-v4-flash:cloud"), opencode("deepseek-v4-flash")],
|
|
168
262
|
},
|
|
169
263
|
// Meta, through Muse Code (ids from dev.meta.ai/docs/models, 2026-10-23).
|
|
170
|
-
// Muse Wonder 1.0 is not
|
|
264
|
+
// Muse Wonder 1.0 is not listed: the boards now carry "Muse Wonder" and
|
|
265
|
+
// "Muse Wonder Full", and which of the two it is has not been settled, so
|
|
266
|
+
// it is graded by the name Muse's own model list gives it, if that matches.
|
|
171
267
|
{
|
|
172
268
|
id: "muse-spark-1.3", label: "Muse Spark 1.3",
|
|
173
269
|
aa: ["Muse Spark 1.3"], leaderboard: ["Muse Spark 1.3 (Max)"],
|
|
@@ -179,6 +275,7 @@ export const MODEL_CATALOG = [
|
|
|
179
275
|
runs: [muse("muse-spark-1.2")],
|
|
180
276
|
},
|
|
181
277
|
// Others reachable through Hermes, OpenCode or their own API engines.
|
|
278
|
+
{ id: "qwen4-max", label: "Qwen4 Max", leaderboard: ["Qwen4-Max (xHigh)"], runs: [hermes("qwen/qwen4-max")] },
|
|
182
279
|
{
|
|
183
280
|
id: "qwen3.8-max", label: "Qwen3.8 Max",
|
|
184
281
|
aa: ["Qwen3.8 Max (0902)"], leaderboard: ["Qwen3.8 Max", "qwen3.8-max", "qwen3.8-max-0902"],
|
|
@@ -194,6 +291,7 @@ export const MODEL_CATALOG = [
|
|
|
194
291
|
aa: ["Mistral Medium 3.5"], leaderboard: ["Mistral Medium 3.5", "mistral-medium-3.5"],
|
|
195
292
|
runs: [run("mistral", "mistral-medium-3.5"), run("mistral", "mistral-medium-3-5"), run("vibeAgent", "mistral-medium-3.5")],
|
|
196
293
|
},
|
|
294
|
+
{ id: "hy4", label: "Hy4", leaderboard: ["Hy4"], runs: [hermes("tencent/hy4")] },
|
|
197
295
|
{ id: "hy4-preview", label: "Hy4 preview", leaderboard: ["Hy4 preview", "hy4-preview"], runs: [hermes("tencent/hy4-preview")] },
|
|
198
296
|
{ id: "hy3", label: "Hy3", aa: ["Hy3"], leaderboard: ["Hy3", "hy3"], runs: [hermes("tencent/hy3")] },
|
|
199
297
|
{ id: "mimo-v2.6-pro", label: "MiMo V2.6 Pro", aa: ["MiMo-V2.6-Pro"], leaderboard: ["mimo-v2.6-pro"], runs: [hermes("xiaomi/mimo-v2.6-pro")] },
|
|
@@ -206,9 +304,10 @@ export const MODEL_CATALOG = [
|
|
|
206
304
|
const ON_DEVICE_RUNS = new Set(["appleIntelligence\u0000apple-on-device"]);
|
|
207
305
|
export const onDeviceModel = (driverKind, model) => ON_DEVICE_RUNS.has(`${driverKind}\u0000${model}`);
|
|
208
306
|
/**
|
|
209
|
-
*
|
|
210
|
-
*
|
|
211
|
-
* "Qwen 3.8 27B" and "qwen3.8-27b" do not, and
|
|
307
|
+
* A leaderboard name as an id reads: lower case, brackets and spaces become
|
|
308
|
+
* hyphens, version dots kept. Names are compared with modelKey, which also
|
|
309
|
+
* folds the dots; "Qwen 3.8 27B" and "qwen3.8-27b" still do not meet, and
|
|
310
|
+
* must both be listed.
|
|
212
311
|
*/
|
|
213
312
|
export function normalizeName(name) {
|
|
214
313
|
return name.toLowerCase().replace(/[^a-z0-9.]+/g, "-").replace(/^-+|-+$/g, "");
|
|
@@ -227,26 +326,77 @@ export function suggestionFor(key, ids) {
|
|
|
227
326
|
}
|
|
228
327
|
return undefined;
|
|
229
328
|
}
|
|
230
|
-
/**
|
|
231
|
-
|
|
232
|
-
|
|
329
|
+
/** The first of an id's keys that is a model in `known`, else the id with
|
|
330
|
+
* every effort and speed part off. */
|
|
331
|
+
const baseKey = (key, known) => lookupKeys(key).find((candidate) => known.has(candidate)) ?? variantKeys(key).at(-1);
|
|
332
|
+
/** Model key -> catalog id, for every id a catalog model goes by: its own
|
|
333
|
+
* id, and each engine id with the effort and speed parts taken off (unless
|
|
334
|
+
* what is left with them on is another model's id). */
|
|
335
|
+
const idIndexes = new WeakMap();
|
|
336
|
+
function idIndex(catalog) {
|
|
337
|
+
let index = idIndexes.get(catalog);
|
|
338
|
+
if (index)
|
|
339
|
+
return index;
|
|
340
|
+
index = new Map();
|
|
233
341
|
for (const model of catalog)
|
|
234
|
-
|
|
235
|
-
index.set(
|
|
236
|
-
const ids = new Set(
|
|
342
|
+
if (!index.has(modelKey(model.id)))
|
|
343
|
+
index.set(modelKey(model.id), model.id);
|
|
344
|
+
const ids = new Set(index.keys());
|
|
345
|
+
for (const model of catalog) {
|
|
346
|
+
for (const { model: runModel } of [...model.runs, ...model.variantRuns ?? []]) {
|
|
347
|
+
const key = baseKey(modelKey(bareModelId(runModel)), ids);
|
|
348
|
+
if (!index.has(key))
|
|
349
|
+
index.set(key, model.id);
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
idIndexes.set(catalog, index);
|
|
353
|
+
return index;
|
|
354
|
+
}
|
|
355
|
+
/** Leaderboard name -> catalog id (null: a person's override ignores the
|
|
356
|
+
* name; undefined: no model). A name a model lists wins, the first listed
|
|
357
|
+
* when two models claim it, so a hand-written alias beats an engine's
|
|
358
|
+
* label. Otherwise the name is tried as an id, with and then without its
|
|
359
|
+
* effort part. */
|
|
360
|
+
export function nameResolver(catalog, names, aliasOverrides = {}) {
|
|
361
|
+
const listed = new Map();
|
|
362
|
+
for (const model of catalog) {
|
|
363
|
+
for (const name of names(model))
|
|
364
|
+
if (!listed.has(modelKey(name)))
|
|
365
|
+
listed.set(modelKey(name), model.id);
|
|
366
|
+
}
|
|
367
|
+
const ids = idIndex(catalog);
|
|
237
368
|
const overrides = new Map();
|
|
238
369
|
for (const [name, target] of Object.entries(aliasOverrides))
|
|
239
|
-
overrides.set(
|
|
370
|
+
overrides.set(modelKey(name), target);
|
|
371
|
+
return (name) => {
|
|
372
|
+
const key = modelKey(name);
|
|
373
|
+
const override = overrides.get(key);
|
|
374
|
+
if (override !== undefined)
|
|
375
|
+
return override;
|
|
376
|
+
const hit = listed.get(key);
|
|
377
|
+
if (hit !== undefined)
|
|
378
|
+
return hit;
|
|
379
|
+
for (const candidate of variantKeys(key)) {
|
|
380
|
+
const id = ids.get(candidate);
|
|
381
|
+
if (id !== undefined)
|
|
382
|
+
return id;
|
|
383
|
+
}
|
|
384
|
+
return undefined;
|
|
385
|
+
};
|
|
386
|
+
}
|
|
387
|
+
/** Credits each leaderboard row to a catalog model, or reports it. */
|
|
388
|
+
export function matchSnapshots(snapshots, catalog, aliasOverrides = {}) {
|
|
389
|
+
const resolve = nameResolver(catalog, (model) => model.leaderboard, aliasOverrides);
|
|
390
|
+
const ids = new Set(catalog.map((model) => model.id));
|
|
240
391
|
const matches = new Map();
|
|
241
392
|
const unmatched = new Map();
|
|
242
393
|
for (const snapshot of snapshots) {
|
|
243
394
|
for (const row of snapshot.rows) {
|
|
244
|
-
const
|
|
245
|
-
|
|
246
|
-
if (override === null)
|
|
395
|
+
const id = resolve(row.name);
|
|
396
|
+
if (id === null)
|
|
247
397
|
continue;
|
|
248
|
-
const id = override ?? index.get(key);
|
|
249
398
|
if (id === undefined) {
|
|
399
|
+
const key = normalizeName(row.name);
|
|
250
400
|
const seen = unmatched.get(key);
|
|
251
401
|
if (seen) {
|
|
252
402
|
if (!seen.sources.includes(snapshot.source))
|
|
@@ -272,13 +422,24 @@ export function matchSnapshots(snapshots, catalog, aliasOverrides = {}) {
|
|
|
272
422
|
* bridge spellings (`ollama::tag`, `ollama-launch::tag`) for listed tags.
|
|
273
423
|
* An id listed for another engine counts too: an engine that runs a model
|
|
274
424
|
* under the same id another engine uses (Atomic Engine running a Hermes
|
|
275
|
-
* id) runs the same model.
|
|
425
|
+
* id) runs the same model. So does any other spelling of a model's id, at
|
|
426
|
+
* any effort or speed: "claude-fable-5.1" and "claude-fable-5-1-max" are
|
|
427
|
+
* claude-fable-5-1. */
|
|
276
428
|
export function catalogIdFor(driverKind, model, catalog = MODEL_CATALOG) {
|
|
277
429
|
const tag = localTag(model);
|
|
278
430
|
if (tag !== undefined)
|
|
279
431
|
return catalog.find((entry) => entry.ollama?.includes(tag))?.id ?? null;
|
|
280
|
-
|
|
281
|
-
catalog.find((entry) => entry.runs.some((r) => r.model === model))?.id
|
|
432
|
+
const listed = catalog.find((entry) => entry.runs.some((r) => r.driverKind === driverKind && r.model === model))?.id ??
|
|
433
|
+
catalog.find((entry) => [...entry.runs, ...entry.variantRuns ?? []].some((r) => r.model === model))?.id;
|
|
434
|
+
if (listed !== undefined)
|
|
435
|
+
return listed;
|
|
436
|
+
const ids = idIndex(catalog);
|
|
437
|
+
for (const key of lookupKeys(modelKey(bareModelId(model)))) {
|
|
438
|
+
const id = ids.get(key);
|
|
439
|
+
if (id !== undefined)
|
|
440
|
+
return id;
|
|
441
|
+
}
|
|
442
|
+
return null;
|
|
282
443
|
}
|
|
283
444
|
/** What follows the colon in an Ollama id: "cloud", "latest" or a size such as "8b". */
|
|
284
445
|
const OLLAMA_TAG = /:(?:cloud|latest|\d+(?:\.\d+)?[bkm](?:[-_][\w.-]+)?)$/i;
|
|
@@ -290,36 +451,80 @@ export function bareModelId(model) {
|
|
|
290
451
|
return last;
|
|
291
452
|
return last.replace(OLLAMA_TAG, "").replace(/^[\w.-]+:/, "");
|
|
292
453
|
}
|
|
293
|
-
/**
|
|
294
|
-
*
|
|
295
|
-
*
|
|
296
|
-
*
|
|
297
|
-
|
|
454
|
+
/** A model's runs once the engines' ids are in: `plain` ids are ladder
|
|
455
|
+
* rungs, and so is an engine's best variant when it offers the model only
|
|
456
|
+
* at named efforts (Cursor's "claude-opus-5-5-high"); every other variant
|
|
457
|
+
* takes the model's class without a rung of its own. */
|
|
458
|
+
function splitRuns(listed, offered) {
|
|
459
|
+
const runs = [...listed, ...offered.filter((entry) => entry.parts.length === 0).map(({ parts: _parts, ...entry }) => entry)];
|
|
460
|
+
const variants = offered.filter((entry) => entry.parts.length > 0);
|
|
461
|
+
const promoted = new Set();
|
|
462
|
+
for (const driverKind of new Set(variants.map((entry) => entry.driverKind))) {
|
|
463
|
+
if (runs.some((entry) => entry.driverKind === driverKind))
|
|
464
|
+
continue;
|
|
465
|
+
promoted.add(variants.filter((entry) => entry.driverKind === driverKind).reduce((best, entry) => (variantRank(entry.parts) < variantRank(best.parts) ? entry : best)));
|
|
466
|
+
}
|
|
467
|
+
const withEffort = ({ parts, ...entry }) => ({ ...entry, ...(partsEffort(parts) ? { effort: partsEffort(parts) } : {}) });
|
|
468
|
+
const variantRuns = variants.filter((entry) => !promoted.has(entry)).map(withEffort);
|
|
469
|
+
return { runs: [...runs, ...[...promoted].map(withEffort)], ...(variantRuns.length ? { variantRuns } : {}) };
|
|
470
|
+
}
|
|
471
|
+
/** The catalog with every model the engines offer. An id that is a model the
|
|
472
|
+
* catalog knows, in any spelling and at any effort or speed, joins that
|
|
473
|
+
* model; ids for one unlisted model are gathered the same way into one new
|
|
474
|
+
* entry, named by its labels and its id so Artificial Analysis and LMArena
|
|
475
|
+
* rows can grade it. Local Ollama tags stay out; they are Añejo unless
|
|
476
|
+
* overridden (classOf). */
|
|
298
477
|
export function withOfferedModels(catalog, offered) {
|
|
299
|
-
const
|
|
478
|
+
const ids = idIndex(catalog);
|
|
479
|
+
const joined = new Map();
|
|
300
480
|
const added = new Map();
|
|
481
|
+
const seen = new Set();
|
|
301
482
|
for (const { driverKind, model, label } of offered) {
|
|
302
|
-
if (localTag(model) !== undefined ||
|
|
483
|
+
if (localTag(model) !== undefined || seen.has(`${driverKind}\u0000${model}`))
|
|
484
|
+
continue;
|
|
485
|
+
seen.add(`${driverKind}\u0000${model}`);
|
|
486
|
+
if (catalog.some((entry) => [...entry.runs, ...entry.variantRuns ?? []].some((r) => r.model === model)))
|
|
303
487
|
continue;
|
|
304
488
|
const bare = bareModelId(model);
|
|
305
|
-
|
|
489
|
+
const key = modelKey(bare);
|
|
490
|
+
if (!key)
|
|
306
491
|
continue;
|
|
307
|
-
|
|
308
|
-
|
|
492
|
+
const base = baseKey(key, ids);
|
|
493
|
+
const offeredRun = { driverKind, model, parts: variantParts(key, base) };
|
|
494
|
+
const known = ids.get(base);
|
|
495
|
+
if (known !== undefined) {
|
|
496
|
+
joined.set(known, [...joined.get(known) ?? [], offeredRun]);
|
|
309
497
|
continue;
|
|
310
498
|
}
|
|
311
|
-
|
|
312
|
-
if (entry)
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
499
|
+
let entry = added.get(base);
|
|
500
|
+
if (!entry) {
|
|
501
|
+
const spelled = bare.slice(0, bare.length - (key.length - base.length));
|
|
502
|
+
added.set(base, (entry = { spelled: modelKey(spelled) === base ? spelled : base, first: bare, names: [], runs: [] }));
|
|
503
|
+
}
|
|
504
|
+
if (offeredRun.parts.length === 0 && entry.id === undefined) {
|
|
505
|
+
entry.id = bare;
|
|
506
|
+
entry.label = label;
|
|
507
|
+
}
|
|
508
|
+
entry.names.push(label);
|
|
509
|
+
entry.runs.push(offeredRun);
|
|
316
510
|
}
|
|
317
511
|
return [
|
|
318
512
|
...catalog.map((entry) => {
|
|
319
|
-
const runs =
|
|
320
|
-
|
|
513
|
+
const runs = joined.get(entry.id);
|
|
514
|
+
if (!runs)
|
|
515
|
+
return entry;
|
|
516
|
+
const split = splitRuns(entry.runs, runs);
|
|
517
|
+
return { ...entry, ...split, ...(entry.variantRuns ? { variantRuns: [...entry.variantRuns, ...split.variantRuns ?? []] } : {}) };
|
|
518
|
+
}),
|
|
519
|
+
...[...added.values()].map((entry) => {
|
|
520
|
+
// Named in the engine's own spelling: the id an engine offers plainly,
|
|
521
|
+
// else a lone variant as offered ("flux-2-max" may be a model, and
|
|
522
|
+
// nothing says otherwise), else the variants' id without their parts.
|
|
523
|
+
const lone = entry.runs.length === 1;
|
|
524
|
+
const id = entry.id ?? (lone ? entry.first : entry.spelled);
|
|
525
|
+
const names = [...new Set([...entry.names, id])];
|
|
526
|
+
return { id, label: entry.label ?? (lone ? entry.names[0] : id), aa: names, leaderboard: names, ...splitRuns([], entry.runs) };
|
|
321
527
|
}),
|
|
322
|
-
...added.values(),
|
|
323
528
|
];
|
|
324
529
|
}
|
|
325
530
|
/** The Ollama tag of a bridged model id (`ollama::tag`), else undefined. */
|
|
@@ -329,7 +534,7 @@ export function localTag(model) {
|
|
|
329
534
|
/** The effort a model id itself names, for engines that put it there. */
|
|
330
535
|
export function runEffort(driverKind, model, catalog = MODEL_CATALOG) {
|
|
331
536
|
for (const entry of catalog) {
|
|
332
|
-
const found = entry.runs.find((r) => r.driverKind === driverKind && r.model === model);
|
|
537
|
+
const found = [...entry.runs, ...entry.variantRuns ?? []].find((r) => r.driverKind === driverKind && r.model === model);
|
|
333
538
|
if (found)
|
|
334
539
|
return found.effort;
|
|
335
540
|
}
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
// { "week": "2026-10-30",
|
|
9
9
|
// "models": [{ "id": "claude-opus-5.5", "class": "Mezcal", "rank": 1 }],
|
|
10
10
|
// "harnesses": { "grokAgent": 1, "ollamaCloud": 0.5 } }
|
|
11
|
-
// `id` is a catalog id or a name the alias table knows (
|
|
12
|
-
// way as leaderboard names); `class` is exactly Mezcal, Plata, Reposado or
|
|
11
|
+
// `id` is a catalog id or a name the alias table knows (compared the same
|
|
12
|
+
// way as leaderboard names, so "claude-opus-5.5" is claude-opus-5-5); `class` is exactly Mezcal, Plata, Reposado or
|
|
13
13
|
// Añejo; `rank` orders the class, 1 first. Models the document does not
|
|
14
14
|
// name keep their ordinary sources. `harnesses` is optional: driver kind to
|
|
15
15
|
// a weight from 0 to 1 that orders rungs inside a class
|
|
@@ -19,7 +19,7 @@ import { dirname } from "node:path";
|
|
|
19
19
|
import { MODEL_CLASSES } from "../../shared/engine-tiers.js";
|
|
20
20
|
import { parseHarnessWeights } from "../../shared/harness-weights.js";
|
|
21
21
|
import { writeFileAtomic } from "../atomic.js";
|
|
22
|
-
import {
|
|
22
|
+
import { modelKey } from "./model-ids.js";
|
|
23
23
|
export const CHIBITEK_RANKINGS_CACHE = "model-rankings-chibitek.json";
|
|
24
24
|
const CACHE_VERSION = 1;
|
|
25
25
|
/** Where the published document lives: beside the update feed in the public
|
|
@@ -41,12 +41,12 @@ export function parseRankings(raw, catalog, fetchedAt) {
|
|
|
41
41
|
return null;
|
|
42
42
|
const byName = new Map();
|
|
43
43
|
for (const model of catalog) {
|
|
44
|
-
byName.set(
|
|
45
|
-
byName.set(
|
|
44
|
+
byName.set(modelKey(model.id), model.id);
|
|
45
|
+
byName.set(modelKey(model.label), model.id);
|
|
46
46
|
for (const name of model.aa ?? [])
|
|
47
|
-
byName.set(
|
|
47
|
+
byName.set(modelKey(name), model.id);
|
|
48
48
|
for (const name of model.leaderboard)
|
|
49
|
-
byName.set(
|
|
49
|
+
byName.set(modelKey(name), model.id);
|
|
50
50
|
}
|
|
51
51
|
const rows = [];
|
|
52
52
|
const unknown = [];
|
|
@@ -58,7 +58,7 @@ export function parseRankings(raw, catalog, fetchedAt) {
|
|
|
58
58
|
continue;
|
|
59
59
|
if (typeof r.rank !== "number" || !Number.isFinite(r.rank) || r.rank < 1)
|
|
60
60
|
continue;
|
|
61
|
-
const catalogId = byName.get(
|
|
61
|
+
const catalogId = byName.get(modelKey(r.id));
|
|
62
62
|
if (!catalogId) {
|
|
63
63
|
unknown.push(r.id);
|
|
64
64
|
continue;
|