champollion 0.5.2 → 0.5.3
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/lib/command-help.js +2 -1
- package/lib/commands/models.js +50 -0
- package/lib/config.js +3 -1
- package/lib/fallback.js +23 -13
- package/lib/methods/anthropic.js +2 -1
- package/lib/methods/gemini.js +2 -1
- package/lib/methods/openai.js +4 -3
- package/lib/model-defaults.js +113 -0
- package/package.json +1 -1
- package/shared/docent/corpus.json +13573 -0
- package/shared/model-defaults.json +47 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_comment": "THE default model for every role in the toolset — one exact id each, read by the CLI (cli/lib/model-defaults.js), the harness (mt_eval_harness/model_defaults.py), forge, the MCP server (through the CLI) and the docent edge function. Never hand-edit a default anywhere else. A default is an exact id, never an alias or a floating '-latest' name: a run must say which model translated, and the translation cache is keyed by model, so a default that moved by itself would re-bill everything. `rule` is how `champollion models check` reads the provider's live list: the newest id matching `match` (named group `v` = version, compared numerically; `date` = a dated snapshot, newest wins) is the candidate. check fails when a pinned id is no longer listed, and names the rule's current candidate when it differs; `node cli/scripts/check-model-defaults.mjs --update` writes the candidates here, as a reviewed change. `checked` is the date the id was last confirmed live.",
|
|
3
|
+
"roles": {
|
|
4
|
+
"translate": {
|
|
5
|
+
"describe": "The CLI's default translation model (method llm, through OpenRouter).",
|
|
6
|
+
"provider": "openrouter",
|
|
7
|
+
"model": "google/gemini-3.8-flash",
|
|
8
|
+
"rule": { "match": "^google/gemini-(?<v>\\d+(?:\\.\\d+)?)-flash$" },
|
|
9
|
+
"checked": "2026-10-07"
|
|
10
|
+
},
|
|
11
|
+
"openai": {
|
|
12
|
+
"describe": "The openai method's default (OpenAI's own API name: a dated snapshot).",
|
|
13
|
+
"provider": "openai",
|
|
14
|
+
"model": "gpt-5.4-mini-2026-03-17",
|
|
15
|
+
"rule": { "match": "^gpt-(?<v>\\d+(?:\\.\\d+)?)-mini-(?<date>\\d{4}-\\d{2}-\\d{2})$" },
|
|
16
|
+
"checked": "2026-10-07"
|
|
17
|
+
},
|
|
18
|
+
"gemini": {
|
|
19
|
+
"describe": "The gemini method's default (Google's own API name).",
|
|
20
|
+
"provider": "gemini",
|
|
21
|
+
"model": "gemini-3.8-flash",
|
|
22
|
+
"rule": { "match": "^gemini-(?<v>\\d+(?:\\.\\d+)?)-flash$" },
|
|
23
|
+
"checked": "2026-10-07"
|
|
24
|
+
},
|
|
25
|
+
"anthropic": {
|
|
26
|
+
"describe": "The anthropic method's default (Anthropic's own API name).",
|
|
27
|
+
"provider": "anthropic",
|
|
28
|
+
"model": "claude-sonnet-4-6",
|
|
29
|
+
"rule": { "match": "^claude-sonnet-(?<v>\\d+(?:-\\d+)?)(?:-(?<date>\\d{8}))?$" },
|
|
30
|
+
"checked": "2026-10-07"
|
|
31
|
+
},
|
|
32
|
+
"harness": {
|
|
33
|
+
"describe": "mt-eval's default model for a run with no -m.",
|
|
34
|
+
"provider": "openrouter",
|
|
35
|
+
"model": "google/gemini-3.1-pro-preview",
|
|
36
|
+
"rule": { "match": "^google/gemini-(?<v>\\d+(?:\\.\\d+)?)-pro(?:-preview)?$" },
|
|
37
|
+
"checked": "2026-10-07"
|
|
38
|
+
},
|
|
39
|
+
"docent": {
|
|
40
|
+
"describe": "champollion.dev's site docent (the docent-chat edge function), through OpenRouter with data collection denied (founder, 2026-10-07: run it on Luna).",
|
|
41
|
+
"provider": "openrouter",
|
|
42
|
+
"model": "openai/gpt-6-luna",
|
|
43
|
+
"rule": { "match": "^openai/gpt-(?<v>\\d+(?:\\.\\d+)?)-luna$" },
|
|
44
|
+
"checked": "2026-10-07"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|