@meridian-flow/mars-schema 0.35.1 → 0.36.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 +9 -3
- package/fixtures/alias-candidates/auto-sonnet/expected.json +7 -0
- package/fixtures/alias-candidates/auto-sonnet/request.json +100 -0
- package/fixtures/alias-candidates/no-match-is-empty/expected.json +1 -0
- package/fixtures/alias-candidates/no-match-is-empty/request.json +94 -0
- package/fixtures/alias-candidates/pinned-alone/expected.json +3 -0
- package/fixtures/alias-candidates/pinned-alone/request.json +92 -0
- package/fixtures/alias-candidates/pinned-widened-by-match/expected.json +10 -0
- package/fixtures/alias-candidates/pinned-widened-by-match/request.json +98 -0
- package/fixtures/alias-narrow/all-providers/expected.json +27 -0
- package/fixtures/alias-narrow/all-providers/request.json +32 -0
- package/fixtures/alias-narrow/default-list/expected.json +18 -0
- package/fixtures/alias-narrow/default-list/request.json +29 -0
- package/fixtures/alias-narrow/named-list/expected.json +11 -0
- package/fixtures/alias-narrow/named-list/request.json +33 -0
- package/fixtures/alias-resolve-all/meridian-base-real-rows/expected.json +21 -0
- package/fixtures/alias-resolve-all/meridian-base-real-rows/request.json +2759 -0
- package/fixtures/read/manifest-broken-tables/expected.json +78 -0
- package/fixtures/read/manifest-broken-tables/mars.toml +24 -0
- package/fixtures/read/manifest-consumer-invalid/expected.json +50 -0
- package/fixtures/read/manifest-consumer-invalid/mars.toml +13 -0
- package/fixtures/read/manifest-consumer-no-package/expected.json +16 -0
- package/fixtures/read/manifest-consumer-no-package/mars.toml +5 -0
- package/fixtures/read/manifest-dependencies/expected.json +12 -1
- package/fixtures/read/manifest-every-table/expected.json +211 -0
- package/fixtures/read/manifest-every-table/mars.toml +95 -0
- package/fixtures/read/manifest-meridian-base/expected.json +235 -0
- package/fixtures/read/manifest-meridian-base/mars.toml +161 -0
- package/fixtures/read/manifest-unsafe-dependencies/expected.json +82 -0
- package/fixtures/read/manifest-unsafe-dependencies/mars.toml +14 -0
- package/fixtures/read/manifest-unsafe-values/expected.json +100 -0
- package/fixtures/read/manifest-unsafe-values/mars.toml +28 -0
- package/fixtures/resolve/engine-skip/expected.json +1 -1
- package/fixtures/resolve/locked-commit-missing-latest/expected.json +4 -2
- package/fixtures/version/select-latest-constraint-keeps-lock/expected.json +3 -0
- package/index.d.ts +147 -15
- package/node/mars_schema_wasm.d.ts +30 -11
- package/node/mars_schema_wasm.js +97 -34
- package/node/mars_schema_wasm_bg.wasm +0 -0
- package/node/mars_schema_wasm_bg.wasm.d.ts +7 -4
- package/package.json +1 -1
- package/web/mars_schema_wasm.d.ts +37 -15
- package/web/mars_schema_wasm.js +94 -34
- package/web/mars_schema_wasm_bg.wasm +0 -0
- package/web/mars_schema_wasm_bg.wasm.d.ts +7 -4
- package/fixtures/version/select-latest-constraint-ignores-lock/expected.json +0 -3
- /package/fixtures/version/{select-latest-constraint-ignores-lock → select-latest-constraint-keeps-lock}/input.json +0 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# `@meridian-flow/mars-schema`
|
|
2
2
|
|
|
3
|
-
WebAssembly build of [Mars schema v1](https://github.com/haowjy/mars-agents/blob/main/docs/config/schema-v1.md): the one reader of agent definitions (`agents/<slug>.md`), skills (`skills/<slug>/SKILL.md`) and
|
|
3
|
+
WebAssembly build of [Mars schema v1](https://github.com/haowjy/mars-agents/blob/main/docs/config/schema-v1.md): the one reader of agent definitions (`agents/<slug>.md`), skills (`skills/<slug>/SKILL.md`) and `mars.toml` (`[package]`, the dependency tables and every consumer table: `[settings]`, `[models]`, `[agents]`, `[skills]`, `[plugin]`), the YAML emitter that lossless editors splice with, the tool vocabulary, and the code that reads a whole repository as Mars packages. The Mars CLI uses the same code, so a file means the same thing to an editor and to `mars sync`.
|
|
4
4
|
|
|
5
5
|
Types are in `index.d.ts`; the shapes are pinned by the shipped `fixtures/`.
|
|
6
6
|
|
|
@@ -26,6 +26,8 @@ await init();
|
|
|
26
26
|
| Function | Does |
|
|
27
27
|
|---|---|
|
|
28
28
|
| `read(path, text)` | Reads one file. The package-relative `path` picks the reader: `mars.toml`, `agents/<slug>.md` or `skills/<slug>/SKILL.md`. Any other path throws `read.unrecognized-path`. |
|
|
29
|
+
| `narrowRows(rows, providers?)` | The rows of a project's `catalog_providers`, which `mars models resolve` resolves over. |
|
|
30
|
+
| `resolveAlias(rows, alias)`, `aliasCandidates(rows, alias)`, `resolveAliases(manifest, rows)` | Resolve a `[models.<alias>]` over models.dev rows, as `mars models resolve` does. See Effort and aliases. |
|
|
29
31
|
| `emitValue(value, indent)` | YAML for one value, to splice after a key. |
|
|
30
32
|
| `rewriteBlock(frontmatter)` | The whole frontmatter block between the `---` fences for ordered `[key, value]` pairs. |
|
|
31
33
|
| `vocabulary()` | The tool capabilities, their aliases, and the native tools of each host. |
|
|
@@ -177,11 +179,15 @@ A package cycle resolves when its constraints agree, as in `mars sync`; each pac
|
|
|
177
179
|
|
|
178
180
|
`resolveEffort(requested, model, host)` is the effort rule `mars build launch-bundle` and `mars sync` apply, so a gateway and Mars agree on what is sent. The ladder is `none < minimal < low < medium < high < xhigh < max` (`effortLevels()`); `"auto"` and `null` both mean "send no effort". `model` is the models.dev row's `reasoning` and `reasoning_options`, or `null` for an unknown model; `host` is a harness or `meridian-flow`. A level that is on neither the model's list nor the host's moves to the nearest level on the ladder that both take, below or above (a tie goes up), and never lands on `none` unless `none` was asked (off is not less thinking); the result is `{ level, moved }`, with `moved.why` one of `model_does_not_reason`, `model_levels`, `harness_levels`, `no_common_level`. A model that reasons but lists no effort values (toggle only, budget only, no control) takes every level, less `none` unless it has a toggle, so `none` moves up to the lowest level the host takes; an unknown model (`null`) takes any level; a model that does not reason gets none. Each host's levels are recorded, with the version they were checked against, on `harness_levels` in the crate.
|
|
179
181
|
|
|
180
|
-
`
|
|
182
|
+
`read('mars.toml', text)` returns every table Mars reads, so a caller needs no second reader: beside `fields` (`[package]`) and `dependencies` / `local-dependencies` it has `models`, `settings`, `agents`, `skills` and `plugin`, each left out when empty. A `mars.toml` with no `[package]` is consumer configuration: `fields` is `null`, nothing is reported for the missing table, and the dependencies and the other tables are returned. The CLI loads `mars.toml` through the same code, so the diagnostics match what `mars validate` prints. Each table is read on its own: `[settings]`, each `[models.<alias>]`, each `[agents.<name>]`, each `[skills.<name>]`. One that breaks a rule is left out with a `config.invalid` error whose `path` names it (`["models", "a"]`), and every other table is returned; a broken table never hides another error. A refusal (`[settings.tools]` with a `*`, a `min_mars_version` that is not a requirement) is an error at its path with the table kept. (`mars sync` refuses a project's own `mars.toml` whole on any of these; a caller that wants the same refusal treats any `config.invalid` error as one.) A key Mars does not read is a `field.unknown` info. Table fields come back as Mars writes them (`default_effort`, `managed_root`, `model-invocable`), not as the file spelled them: `network_allow` reads as `network-allow`. Every table is plain JSON like `fields`' `frontmatter`: a TOML datetime is its text, and an integer beyond ±(2^53 − 1) or a `__proto__` key is left out with a `toml.non-json-value` error at its path.
|
|
183
|
+
|
|
184
|
+
`resolveAlias(rows, alias)` is the rule `mars models resolve` applies to an alias: it returns the model id, or `null`. `alias` is a `ModelAlias`, the object `read` returns under `models` or one built in code. A pinned `model` is taken as written; an `auto` alias selects among the rows by `match`, `exclude` and `provider` (newest `release_date` first). The old call form, `{ match, exclude, provider }`, is an `auto` alias and still works. `aliasCandidates(rows, alias)` lists every id the alias accepts in the same order: a pinned `model` first, then the selected rows. `resolveAliases(manifest, rows)` resolves each alias of a parsed manifest's `models` and returns `{ [name]: id | null }`. The three check an alias the same way: a key `ModelAlias` does not have throws `input.invalid`. Rows are models.dev rows, with `provider` the models.dev key; a row from Mars's own snapshot may carry `provider_key`, which then wins.
|
|
185
|
+
|
|
186
|
+
**Narrow the rows first.** `mars models resolve` resolves over the providers the project's `catalog_providers` names (`anthropic`, `openai`, `google`, `meta`, `deepseek`, `xai` and `openrouter` when it sets none), not over all of models.dev. Handed every row, `resolveAlias` can pick a different model, because a provider the project does not read has a newer or shorter id. `narrowRows(rows, providers)` is that rule: pass the project's `settings.catalog_providers` (`["*"]` keeps every provider, `undefined` the default list) and resolve over what it returns.
|
|
181
187
|
|
|
182
188
|
### Versions and selection
|
|
183
189
|
|
|
184
|
-
The version functions are the rules `mars sync` applies, so a caller that resolves its own dependencies agrees with it. `selectVersion` is the whole decision for one package: it settles the constraints first (one pin wins; two pins, or a pin beside a range, throw), ignores tags that are not versions (`latest`, `nightly-2024`), treats `latest` and `null` constraints as any version, and with no version tag left answers `{untagged: true}`. Tags are strings (`v1.2.3` or `1.2.3`).
|
|
190
|
+
The version functions are the rules `mars sync` applies, so a caller that resolves its own dependencies agrees with it. `selectVersion` is the whole decision for one package: it settles the constraints first (one pin wins; two pins, or a pin beside a range, throw), ignores tags that are not versions (`latest`, `nightly-2024`), treats `latest` and `null` constraints as any version (a locked package stays), and with no version tag left answers `{untagged: true}`. Tags are strings (`v1.2.3` or `1.2.3`).
|
|
185
191
|
|
|
186
192
|
Every export throws an `Error` with a `code` (`MarsSchemaError` in `index.d.ts`), so a caller maps failures by code and never by message.
|
|
187
193
|
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
{
|
|
2
|
+
"rows": [
|
|
3
|
+
{
|
|
4
|
+
"id": "claude-fable-5",
|
|
5
|
+
"provider": "anthropic",
|
|
6
|
+
"release_date": "2026-06-07"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"id": "claude-fable-5-1",
|
|
10
|
+
"provider": "anthropic",
|
|
11
|
+
"release_date": "2026-09-01"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"id": "claude-haiku-4-5",
|
|
15
|
+
"provider": "anthropic",
|
|
16
|
+
"release_date": "2025-10-15"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"id": "claude-haiku-4-5-20251001",
|
|
20
|
+
"provider": "anthropic",
|
|
21
|
+
"release_date": "2025-10-15"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"id": "claude-haiku-5-5",
|
|
25
|
+
"provider": "anthropic",
|
|
26
|
+
"release_date": "2026-10-07"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": "claude-opus-4-5",
|
|
30
|
+
"provider": "anthropic",
|
|
31
|
+
"release_date": "2025-11-24"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "claude-opus-4-5-20251101",
|
|
35
|
+
"provider": "anthropic",
|
|
36
|
+
"release_date": "2025-11-24"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "claude-opus-4-6",
|
|
40
|
+
"provider": "anthropic",
|
|
41
|
+
"release_date": "2026-02-04"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"id": "claude-opus-4-7",
|
|
45
|
+
"provider": "anthropic",
|
|
46
|
+
"release_date": "2026-04-14"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"id": "claude-opus-4-8",
|
|
50
|
+
"provider": "anthropic",
|
|
51
|
+
"release_date": "2026-05-28"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"id": "claude-opus-5",
|
|
55
|
+
"provider": "anthropic",
|
|
56
|
+
"release_date": "2026-07-24"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"id": "claude-opus-5-5",
|
|
60
|
+
"provider": "anthropic",
|
|
61
|
+
"release_date": "2026-09-22"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"id": "claude-sonnet-4-5",
|
|
65
|
+
"provider": "anthropic",
|
|
66
|
+
"release_date": "2025-09-29"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "claude-sonnet-4-5-20250929",
|
|
70
|
+
"provider": "anthropic",
|
|
71
|
+
"release_date": "2025-09-29"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"id": "claude-sonnet-4-6",
|
|
75
|
+
"provider": "anthropic",
|
|
76
|
+
"release_date": "2026-02-17"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"id": "claude-sonnet-5",
|
|
80
|
+
"provider": "anthropic",
|
|
81
|
+
"release_date": "2026-06-29"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "claude-sonnet-5-5",
|
|
85
|
+
"provider": "anthropic",
|
|
86
|
+
"release_date": "2026-09-28"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"alias": {
|
|
90
|
+
"harness": "claude",
|
|
91
|
+
"description": "Daily implementation, frontend polish, documents and bounded review.",
|
|
92
|
+
"default_effort": "high",
|
|
93
|
+
"match": [
|
|
94
|
+
"claude*sonnet*"
|
|
95
|
+
],
|
|
96
|
+
"exclude": [
|
|
97
|
+
"*:*"
|
|
98
|
+
]
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[]
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
{
|
|
2
|
+
"rows": [
|
|
3
|
+
{
|
|
4
|
+
"id": "claude-fable-5",
|
|
5
|
+
"provider": "anthropic",
|
|
6
|
+
"release_date": "2026-06-07"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"id": "claude-fable-5-1",
|
|
10
|
+
"provider": "anthropic",
|
|
11
|
+
"release_date": "2026-09-01"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"id": "claude-haiku-4-5",
|
|
15
|
+
"provider": "anthropic",
|
|
16
|
+
"release_date": "2025-10-15"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"id": "claude-haiku-4-5-20251001",
|
|
20
|
+
"provider": "anthropic",
|
|
21
|
+
"release_date": "2025-10-15"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"id": "claude-haiku-5-5",
|
|
25
|
+
"provider": "anthropic",
|
|
26
|
+
"release_date": "2026-10-07"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": "claude-opus-4-5",
|
|
30
|
+
"provider": "anthropic",
|
|
31
|
+
"release_date": "2025-11-24"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "claude-opus-4-5-20251101",
|
|
35
|
+
"provider": "anthropic",
|
|
36
|
+
"release_date": "2025-11-24"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "claude-opus-4-6",
|
|
40
|
+
"provider": "anthropic",
|
|
41
|
+
"release_date": "2026-02-04"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"id": "claude-opus-4-7",
|
|
45
|
+
"provider": "anthropic",
|
|
46
|
+
"release_date": "2026-04-14"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"id": "claude-opus-4-8",
|
|
50
|
+
"provider": "anthropic",
|
|
51
|
+
"release_date": "2026-05-28"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"id": "claude-opus-5",
|
|
55
|
+
"provider": "anthropic",
|
|
56
|
+
"release_date": "2026-07-24"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"id": "claude-opus-5-5",
|
|
60
|
+
"provider": "anthropic",
|
|
61
|
+
"release_date": "2026-09-22"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"id": "claude-sonnet-4-5",
|
|
65
|
+
"provider": "anthropic",
|
|
66
|
+
"release_date": "2025-09-29"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "claude-sonnet-4-5-20250929",
|
|
70
|
+
"provider": "anthropic",
|
|
71
|
+
"release_date": "2025-09-29"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"id": "claude-sonnet-4-6",
|
|
75
|
+
"provider": "anthropic",
|
|
76
|
+
"release_date": "2026-02-17"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"id": "claude-sonnet-5",
|
|
80
|
+
"provider": "anthropic",
|
|
81
|
+
"release_date": "2026-06-29"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "claude-sonnet-5-5",
|
|
85
|
+
"provider": "anthropic",
|
|
86
|
+
"release_date": "2026-09-28"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"alias": {
|
|
90
|
+
"match": [
|
|
91
|
+
"nothing-*"
|
|
92
|
+
]
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
{
|
|
2
|
+
"rows": [
|
|
3
|
+
{
|
|
4
|
+
"id": "claude-fable-5",
|
|
5
|
+
"provider": "anthropic",
|
|
6
|
+
"release_date": "2026-06-07"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"id": "claude-fable-5-1",
|
|
10
|
+
"provider": "anthropic",
|
|
11
|
+
"release_date": "2026-09-01"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"id": "claude-haiku-4-5",
|
|
15
|
+
"provider": "anthropic",
|
|
16
|
+
"release_date": "2025-10-15"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"id": "claude-haiku-4-5-20251001",
|
|
20
|
+
"provider": "anthropic",
|
|
21
|
+
"release_date": "2025-10-15"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"id": "claude-haiku-5-5",
|
|
25
|
+
"provider": "anthropic",
|
|
26
|
+
"release_date": "2026-10-07"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": "claude-opus-4-5",
|
|
30
|
+
"provider": "anthropic",
|
|
31
|
+
"release_date": "2025-11-24"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "claude-opus-4-5-20251101",
|
|
35
|
+
"provider": "anthropic",
|
|
36
|
+
"release_date": "2025-11-24"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "claude-opus-4-6",
|
|
40
|
+
"provider": "anthropic",
|
|
41
|
+
"release_date": "2026-02-04"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"id": "claude-opus-4-7",
|
|
45
|
+
"provider": "anthropic",
|
|
46
|
+
"release_date": "2026-04-14"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"id": "claude-opus-4-8",
|
|
50
|
+
"provider": "anthropic",
|
|
51
|
+
"release_date": "2026-05-28"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"id": "claude-opus-5",
|
|
55
|
+
"provider": "anthropic",
|
|
56
|
+
"release_date": "2026-07-24"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"id": "claude-opus-5-5",
|
|
60
|
+
"provider": "anthropic",
|
|
61
|
+
"release_date": "2026-09-22"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"id": "claude-sonnet-4-5",
|
|
65
|
+
"provider": "anthropic",
|
|
66
|
+
"release_date": "2025-09-29"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "claude-sonnet-4-5-20250929",
|
|
70
|
+
"provider": "anthropic",
|
|
71
|
+
"release_date": "2025-09-29"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"id": "claude-sonnet-4-6",
|
|
75
|
+
"provider": "anthropic",
|
|
76
|
+
"release_date": "2026-02-17"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"id": "claude-sonnet-5",
|
|
80
|
+
"provider": "anthropic",
|
|
81
|
+
"release_date": "2026-06-29"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "claude-sonnet-5-5",
|
|
85
|
+
"provider": "anthropic",
|
|
86
|
+
"release_date": "2026-09-28"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"alias": {
|
|
90
|
+
"model": "claude-opus-4-1"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
{
|
|
2
|
+
"rows": [
|
|
3
|
+
{
|
|
4
|
+
"id": "claude-fable-5",
|
|
5
|
+
"provider": "anthropic",
|
|
6
|
+
"release_date": "2026-06-07"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"id": "claude-fable-5-1",
|
|
10
|
+
"provider": "anthropic",
|
|
11
|
+
"release_date": "2026-09-01"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"id": "claude-haiku-4-5",
|
|
15
|
+
"provider": "anthropic",
|
|
16
|
+
"release_date": "2025-10-15"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"id": "claude-haiku-4-5-20251001",
|
|
20
|
+
"provider": "anthropic",
|
|
21
|
+
"release_date": "2025-10-15"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"id": "claude-haiku-5-5",
|
|
25
|
+
"provider": "anthropic",
|
|
26
|
+
"release_date": "2026-10-07"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": "claude-opus-4-5",
|
|
30
|
+
"provider": "anthropic",
|
|
31
|
+
"release_date": "2025-11-24"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "claude-opus-4-5-20251101",
|
|
35
|
+
"provider": "anthropic",
|
|
36
|
+
"release_date": "2025-11-24"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "claude-opus-4-6",
|
|
40
|
+
"provider": "anthropic",
|
|
41
|
+
"release_date": "2026-02-04"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"id": "claude-opus-4-7",
|
|
45
|
+
"provider": "anthropic",
|
|
46
|
+
"release_date": "2026-04-14"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"id": "claude-opus-4-8",
|
|
50
|
+
"provider": "anthropic",
|
|
51
|
+
"release_date": "2026-05-28"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"id": "claude-opus-5",
|
|
55
|
+
"provider": "anthropic",
|
|
56
|
+
"release_date": "2026-07-24"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"id": "claude-opus-5-5",
|
|
60
|
+
"provider": "anthropic",
|
|
61
|
+
"release_date": "2026-09-22"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"id": "claude-sonnet-4-5",
|
|
65
|
+
"provider": "anthropic",
|
|
66
|
+
"release_date": "2025-09-29"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "claude-sonnet-4-5-20250929",
|
|
70
|
+
"provider": "anthropic",
|
|
71
|
+
"release_date": "2025-09-29"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"id": "claude-sonnet-4-6",
|
|
75
|
+
"provider": "anthropic",
|
|
76
|
+
"release_date": "2026-02-17"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"id": "claude-sonnet-5",
|
|
80
|
+
"provider": "anthropic",
|
|
81
|
+
"release_date": "2026-06-29"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"id": "claude-sonnet-5-5",
|
|
85
|
+
"provider": "anthropic",
|
|
86
|
+
"release_date": "2026-09-28"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"alias": {
|
|
90
|
+
"model": "claude-opus-4-1",
|
|
91
|
+
"match": [
|
|
92
|
+
"claude*opus*"
|
|
93
|
+
],
|
|
94
|
+
"exclude": [
|
|
95
|
+
"*:*"
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "deepseek-v4-flash",
|
|
4
|
+
"provider": "deepseek",
|
|
5
|
+
"release_date": "2026-01-01"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"id": "deepseek-v4-flash-x",
|
|
9
|
+
"provider": "nvidia",
|
|
10
|
+
"release_date": "2026-03-01"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"id": "claude-opus-4",
|
|
14
|
+
"provider": "Anthropic",
|
|
15
|
+
"provider_key": "anthropic",
|
|
16
|
+
"release_date": "2026-02-01"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"id": "llama-4",
|
|
20
|
+
"provider": "Meta",
|
|
21
|
+
"provider_key": "meta-llama"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"id": "mistral-large",
|
|
25
|
+
"provider": "mistral"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"rows": [
|
|
3
|
+
{
|
|
4
|
+
"id": "deepseek-v4-flash",
|
|
5
|
+
"provider": "deepseek",
|
|
6
|
+
"release_date": "2026-01-01"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"id": "deepseek-v4-flash-x",
|
|
10
|
+
"provider": "nvidia",
|
|
11
|
+
"release_date": "2026-03-01"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"id": "claude-opus-4",
|
|
15
|
+
"provider": "Anthropic",
|
|
16
|
+
"provider_key": "anthropic",
|
|
17
|
+
"release_date": "2026-02-01"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"id": "llama-4",
|
|
21
|
+
"provider": "Meta",
|
|
22
|
+
"provider_key": "meta-llama"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"id": "mistral-large",
|
|
26
|
+
"provider": "mistral"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"providers": [
|
|
30
|
+
"*"
|
|
31
|
+
]
|
|
32
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "deepseek-v4-flash",
|
|
4
|
+
"provider": "deepseek",
|
|
5
|
+
"release_date": "2026-01-01"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"id": "claude-opus-4",
|
|
9
|
+
"provider": "Anthropic",
|
|
10
|
+
"provider_key": "anthropic",
|
|
11
|
+
"release_date": "2026-02-01"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"id": "llama-4",
|
|
15
|
+
"provider": "Meta",
|
|
16
|
+
"provider_key": "meta-llama"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"rows": [
|
|
3
|
+
{
|
|
4
|
+
"id": "deepseek-v4-flash",
|
|
5
|
+
"provider": "deepseek",
|
|
6
|
+
"release_date": "2026-01-01"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"id": "deepseek-v4-flash-x",
|
|
10
|
+
"provider": "nvidia",
|
|
11
|
+
"release_date": "2026-03-01"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"id": "claude-opus-4",
|
|
15
|
+
"provider": "Anthropic",
|
|
16
|
+
"provider_key": "anthropic",
|
|
17
|
+
"release_date": "2026-02-01"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"id": "llama-4",
|
|
21
|
+
"provider": "Meta",
|
|
22
|
+
"provider_key": "meta-llama"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"id": "mistral-large",
|
|
26
|
+
"provider": "mistral"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"rows": [
|
|
3
|
+
{
|
|
4
|
+
"id": "deepseek-v4-flash",
|
|
5
|
+
"provider": "deepseek",
|
|
6
|
+
"release_date": "2026-01-01"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"id": "deepseek-v4-flash-x",
|
|
10
|
+
"provider": "nvidia",
|
|
11
|
+
"release_date": "2026-03-01"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"id": "claude-opus-4",
|
|
15
|
+
"provider": "Anthropic",
|
|
16
|
+
"provider_key": "anthropic",
|
|
17
|
+
"release_date": "2026-02-01"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"id": "llama-4",
|
|
21
|
+
"provider": "Meta",
|
|
22
|
+
"provider_key": "meta-llama"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"id": "mistral-large",
|
|
26
|
+
"provider": "mistral"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"providers": [
|
|
30
|
+
"Meta",
|
|
31
|
+
"mistralai"
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"composer": "composer-2.5",
|
|
3
|
+
"deepseek": "deepseek-flash",
|
|
4
|
+
"deepseekpro": "deepseek-v4-pro",
|
|
5
|
+
"opus": "claude-opus-5-5",
|
|
6
|
+
"sonnet": "claude-sonnet-5-5",
|
|
7
|
+
"haiku": "claude-haiku-5-5",
|
|
8
|
+
"fable": "claude-fable-5-1",
|
|
9
|
+
"glm": "opencode-go/glm-5.2",
|
|
10
|
+
"kimi": "kimi-k3",
|
|
11
|
+
"muse": "muse-spark-1.3",
|
|
12
|
+
"muse-contributor": "opencode-go/muse-spark-1.3-contributor",
|
|
13
|
+
"grok": "grok-4.7",
|
|
14
|
+
"argon": "gemini-4-argon",
|
|
15
|
+
"hydrogen": null,
|
|
16
|
+
"argon-contributor": "opencode-go/gemini-4-argon-contributor",
|
|
17
|
+
"sol": "gpt-6.1-sol",
|
|
18
|
+
"terra": "gpt-5.6-terra",
|
|
19
|
+
"luna": "gpt-6-luna",
|
|
20
|
+
"astra": "gpt-6-astra"
|
|
21
|
+
}
|