@meridian-flow/mars-schema 0.34.6-rc.1 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +48 -1
- package/fixtures/alias/exclude-glob/expected.json +1 -0
- package/fixtures/alias/exclude-glob/request.json +22 -0
- package/fixtures/alias/latest-ids-are-skipped/expected.json +1 -0
- package/fixtures/alias/latest-ids-are-skipped/request.json +19 -0
- package/fixtures/alias/meta-llama-matches-meta/expected.json +1 -0
- package/fixtures/alias/meta-llama-matches-meta/request.json +20 -0
- package/fixtures/alias/meta-matches-meta-llama/expected.json +1 -0
- package/fixtures/alias/meta-matches-meta-llama/request.json +15 -0
- package/fixtures/alias/mistral-matches-mistralai/expected.json +1 -0
- package/fixtures/alias/mistral-matches-mistralai/request.json +15 -0
- package/fixtures/alias/mistralai-matches-mistral/expected.json +1 -0
- package/fixtures/alias/mistralai-matches-mistral/request.json +20 -0
- package/fixtures/alias/newest-release-wins/expected.json +1 -0
- package/fixtures/alias/newest-release-wins/request.json +24 -0
- package/fixtures/alias/no-match-is-null/expected.json +1 -0
- package/fixtures/alias/no-match-is-null/request.json +14 -0
- package/fixtures/alias/provider-key-case-insensitive/expected.json +1 -0
- package/fixtures/alias/provider-key-case-insensitive/request.json +20 -0
- package/fixtures/alias/row-without-a-date-sorts-last/expected.json +1 -0
- package/fixtures/alias/row-without-a-date-sorts-last/request.json +18 -0
- package/fixtures/alias/shorter-id-then-alphabetical/expected.json +1 -0
- package/fixtures/alias/shorter-id-then-alphabetical/request.json +24 -0
- package/fixtures/check/claude-execution-fields-ignored/expected.json +1 -1
- package/fixtures/check/claude-policy-override-dropped/expected.json +1 -1
- package/fixtures/effort/auto-sends-nothing/expected.json +4 -0
- package/fixtures/effort/auto-sends-nothing/request.json +16 -0
- package/fixtures/effort/flow-has-no-minimal/expected.json +8 -0
- package/fixtures/effort/flow-has-no-minimal/request.json +17 -0
- package/fixtures/effort/flow-has-no-xhigh-tie-goes-up/expected.json +8 -0
- package/fixtures/effort/flow-has-no-xhigh-tie-goes-up/request.json +19 -0
- package/fixtures/effort/flow-keeps-none-and-max/expected.json +4 -0
- package/fixtures/effort/flow-keeps-none-and-max/request.json +19 -0
- package/fixtures/effort/flow-none-on-model-with-no-control/expected.json +8 -0
- package/fixtures/effort/flow-none-on-model-with-no-control/request.json +7 -0
- package/fixtures/effort/level-below-the-model-range-moves-up/expected.json +8 -0
- package/fixtures/effort/level-below-the-model-range-moves-up/request.json +17 -0
- package/fixtures/effort/minimal-never-lands-on-none/expected.json +8 -0
- package/fixtures/effort/minimal-never-lands-on-none/request.json +19 -0
- package/fixtures/effort/mixed-case-request/expected.json +4 -0
- package/fixtures/effort/mixed-case-request/request.json +17 -0
- package/fixtures/effort/model-that-does-not-reason/expected.json +8 -0
- package/fixtures/effort/model-that-does-not-reason/request.json +7 -0
- package/fixtures/effort/model-that-does-not-reason-none/expected.json +4 -0
- package/fixtures/effort/model-that-does-not-reason-none/request.json +7 -0
- package/fixtures/effort/nearest-is-above-when-closer/expected.json +8 -0
- package/fixtures/effort/nearest-is-above-when-closer/request.json +16 -0
- package/fixtures/effort/no-common-level/expected.json +8 -0
- package/fixtures/effort/no-common-level/request.json +15 -0
- package/fixtures/effort/none-on-budget-only-model-claude/expected.json +8 -0
- package/fixtures/effort/none-on-budget-only-model-claude/request.json +13 -0
- package/fixtures/effort/none-on-budget-only-model-pi/expected.json +8 -0
- package/fixtures/effort/none-on-budget-only-model-pi/request.json +13 -0
- package/fixtures/effort/none-on-claude-has-no-off/expected.json +8 -0
- package/fixtures/effort/none-on-claude-has-no-off/request.json +17 -0
- package/fixtures/effort/none-on-model-listing-none/expected.json +4 -0
- package/fixtures/effort/none-on-model-listing-none/request.json +17 -0
- package/fixtures/effort/none-on-model-with-no-control-codex/expected.json +8 -0
- package/fixtures/effort/none-on-model-with-no-control-codex/request.json +7 -0
- package/fixtures/effort/none-on-model-with-no-control-pi/expected.json +8 -0
- package/fixtures/effort/none-on-model-with-no-control-pi/request.json +7 -0
- package/fixtures/effort/none-on-toggle-only-model-pi/expected.json +4 -0
- package/fixtures/effort/none-on-toggle-only-model-pi/request.json +12 -0
- package/fixtures/effort/null-sends-nothing/expected.json +4 -0
- package/fixtures/effort/null-sends-nothing/request.json +16 -0
- package/fixtures/effort/o3-max-on-codex/expected.json +8 -0
- package/fixtures/effort/o3-max-on-codex/request.json +17 -0
- package/fixtures/effort/opencode-takes-the-models-levels/expected.json +8 -0
- package/fixtures/effort/opencode-takes-the-models-levels/request.json +19 -0
- package/fixtures/effort/unknown-model-none-claude/expected.json +8 -0
- package/fixtures/effort/unknown-model-none-claude/request.json +5 -0
- package/fixtures/effort/unknown-model-none-flow/expected.json +4 -0
- package/fixtures/effort/unknown-model-none-flow/request.json +5 -0
- package/fixtures/effort/unknown-model-pi/expected.json +4 -0
- package/fixtures/effort/unknown-model-pi/request.json +5 -0
- package/fixtures/effort/xhigh-on-toggle-only-model/expected.json +4 -0
- package/fixtures/effort/xhigh-on-toggle-only-model/request.json +12 -0
- package/fixtures/effort-levels/expected.json +9 -0
- package/fixtures/prepare/claude-reserved-keys/expected.json +1 -1
- package/fixtures/read/agent-model-policy-index/expected.json +1 -1
- package/fixtures/resolve/bounds-bytes/expected.json +29 -0
- package/fixtures/resolve/bounds-bytes/steps.json +47 -0
- package/fixtures/resolve/bounds-packages/expected.json +47 -0
- package/fixtures/resolve/bounds-packages/steps.json +76 -0
- package/fixtures/resolve/chain/expected.json +108 -0
- package/fixtures/resolve/chain/steps.json +98 -0
- package/fixtures/resolve/conflict/expected.json +58 -0
- package/fixtures/resolve/conflict/steps.json +82 -0
- package/fixtures/resolve/cycle/expected.json +85 -0
- package/fixtures/resolve/cycle/steps.json +73 -0
- package/fixtures/resolve/engine-skip/expected.json +62 -0
- package/fixtures/resolve/engine-skip/steps.json +61 -0
- package/fixtures/resolve/lock-kept/expected.json +61 -0
- package/fixtures/resolve/lock-kept/steps.json +49 -0
- package/fixtures/resolve/lock-subpath/expected.json +39 -0
- package/fixtures/resolve/lock-subpath/steps.json +52 -0
- package/fixtures/resolve/lock-tag-object/expected.json +38 -0
- package/fixtures/resolve/lock-tag-object/steps.json +35 -0
- package/fixtures/resolve/locked-commit-failed/expected.json +26 -0
- package/fixtures/resolve/locked-commit-failed/steps.json +35 -0
- package/fixtures/resolve/locked-commit-missing/expected.json +62 -0
- package/fixtures/resolve/locked-commit-missing/steps.json +64 -0
- package/fixtures/resolve/locked-commit-missing-latest/expected.json +60 -0
- package/fixtures/resolve/locked-commit-missing-latest/steps.json +64 -0
- package/fixtures/resolve/marketplace-local/expected.json +57 -0
- package/fixtures/resolve/marketplace-local/steps.json +45 -0
- package/fixtures/resolve/marketplace-remote/expected.json +75 -0
- package/fixtures/resolve/marketplace-remote/steps.json +68 -0
- package/fixtures/resolve/path-refused-fetched/expected.json +29 -0
- package/fixtures/resolve/path-refused-fetched/steps.json +44 -0
- package/fixtures/resolve/path-refused-root/expected.json +11 -0
- package/fixtures/resolve/path-refused-root/steps.json +15 -0
- package/fixtures/resolve/refresh-all/expected.json +73 -0
- package/fixtures/resolve/refresh-all/steps.json +86 -0
- package/fixtures/resolve/refresh-one/expected.json +69 -0
- package/fixtures/resolve/refresh-one/steps.json +72 -0
- package/fixtures/resolve/sibling-subpaths/expected.json +71 -0
- package/fixtures/resolve/sibling-subpaths/steps.json +53 -0
- package/fixtures/resolve/sibling-subpaths-whole/expected.json +71 -0
- package/fixtures/resolve/sibling-subpaths-whole/steps.json +57 -0
- package/fixtures/resolve/subpath-missing/expected.json +30 -0
- package/fixtures/resolve/subpath-missing/steps.json +44 -0
- package/fixtures/resolve/tree-broad-failed-then-subtree-found/expected.json +47 -0
- package/fixtures/resolve/tree-broad-failed-then-subtree-found/steps.json +53 -0
- package/fixtures/resolve/tree-later-answer-wins-failed/expected.json +34 -0
- package/fixtures/resolve/tree-later-answer-wins-failed/steps.json +53 -0
- package/fixtures/resolve/tree-later-answer-wins-found/expected.json +46 -0
- package/fixtures/resolve/tree-later-answer-wins-found/steps.json +53 -0
- package/fixtures/resolve/tree-subtree-found-then-broad-failed/expected.json +47 -0
- package/fixtures/resolve/tree-subtree-found-then-broad-failed/steps.json +53 -0
- package/fixtures/resolve/unavailable-missing/expected.json +34 -0
- package/fixtures/resolve/unavailable-missing/steps.json +44 -0
- package/index.d.ts +193 -3
- package/node/mars_schema_wasm.d.ts +30 -0
- package/node/mars_schema_wasm.js +104 -0
- package/node/mars_schema_wasm_bg.wasm +0 -0
- package/node/mars_schema_wasm_bg.wasm.d.ts +4 -0
- package/package.json +1 -1
- package/web/mars_schema_wasm.d.ts +34 -0
- package/web/mars_schema_wasm.js +100 -0
- package/web/mars_schema_wasm_bg.wasm +0 -0
- package/web/mars_schema_wasm_bg.wasm.d.ts +4 -0
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ Types are in `index.d.ts`; the shapes are pinned by the shipped `fixtures/`.
|
|
|
8
8
|
import { read } from "@meridian-flow/mars-schema";
|
|
9
9
|
|
|
10
10
|
const reading = read("agents/coder.md", text);
|
|
11
|
-
reading.fields?.effort; // "high" | ... | null
|
|
11
|
+
reading.fields?.effort; // "high" | ... | "auto" | null
|
|
12
12
|
reading.diagnostics; // [{ code, severity, path, message }]
|
|
13
13
|
```
|
|
14
14
|
|
|
@@ -39,6 +39,7 @@ await init();
|
|
|
39
39
|
| `selectVersion({available, constraints, locked?})` | Which ref a package ends at, from every `[requester, version \| null]` on it and the repository's tags: `{pin}` (a branch or commit), `{locked: true}` (the locked version still meets every semver range, whether or not the repository still has its tag), `{tag}` (the newest that meets every semver range) or `{untagged: true}` (no version tags). Throws when none qualifies. |
|
|
40
40
|
| `renderHooks(hookToml, targets, tokens?)` | A `hook.toml`'s `[hooks]` table as each target (`.claude`, `.codex`, …) takes it: finished entries or generated files, what the target leaves out, and the reader's diagnostics. |
|
|
41
41
|
| `selectItems({packages, root?, requests?})` | Which Agents, skills and bootstrap documents an install of `root` and its dependencies yields, and why. Takes each package's `prepare` result. |
|
|
42
|
+
| `resolve({root, locked?, refresh?, engine, bounds?, answers})` | Which version of which source, for a whole dependency graph: the rules of `mars sync` without the fetching. Returns the fetches it still needs, or the resolved lock rows, or the first failure. See [`resolve`](#resolve). |
|
|
42
43
|
| `version()` | The version of the schema crate this build was made from. |
|
|
43
44
|
|
|
44
45
|
A tree is a `Map<string, Uint8Array>` from `/`-separated relative paths to bytes. `prepare`, `inspect` and `normalize` read manifests, definitions and directory listings, never the bytes of a skill's other files.
|
|
@@ -133,6 +134,51 @@ Per path, `diagnostics` lists what `prepare` returns for the file and then the c
|
|
|
133
134
|
|
|
134
135
|
`mars check` can fail a package this accepts: it also reports the `requires-mars` floor, hooks, plugin output, model aliases against `mars.lock`, what a harness target loses from an Agent, and an empty package, none of which depends on the files alone. See [`mars check`](https://github.com/haowjy/mars-agents/blob/main/docs/cli/commands.md#mars-check).
|
|
135
136
|
|
|
137
|
+
### `resolve`
|
|
138
|
+
|
|
139
|
+
`resolve` is the part of `mars sync` that decides: one version per name, every requester's constraint combined, restarts, `requires-*` exclusion, source identity, conflicts. It never fetches. It asks for what it needs, and you answer from wherever you fetch. It is stateless: keep the list of answers, and each call replays the resolution from all of them.
|
|
140
|
+
|
|
141
|
+
```ts
|
|
142
|
+
const answers: Answer[] = [];
|
|
143
|
+
for (;;) {
|
|
144
|
+
const out = resolve({ root: { manifest }, locked, engine: { mars: version() }, answers });
|
|
145
|
+
if (!("needs" in out)) return out; // { resolved } or { failed }
|
|
146
|
+
answers.push(...(await Promise.all(out.needs.map(fetchAnswer))));
|
|
147
|
+
}
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
| `Need` | You | Answer |
|
|
151
|
+
|---|---|---|
|
|
152
|
+
| `{kind: "tags", url}` | list the tags | `{need, tags: [{tag, commit}]}` |
|
|
153
|
+
| `{kind: "ref", url, ref}` | resolve a branch, `HEAD` or a commit to a commit | `{need, commit}` |
|
|
154
|
+
| `{kind: "tree", url, commit, path}` | fetch the files under `path` at `commit` (`null`: the whole repository) | `{url, commit, path, files}` |
|
|
155
|
+
|
|
156
|
+
- **Needs** are every open need on the frontier (one with no answer yet), sorted (tags, then refs, then trees, each by its fields), so fetch them in parallel. A later need can depend on an earlier answer, so a call can return needs more than once. While one is open the result is `needs`, even if a failure is already certain: it waits for the needs before it.
|
|
157
|
+
- **Commits are peeled.** A tag's `commit` is the commit an annotated tag points at, never the tag object. Tags need no order, and tags that are not versions are ignored.
|
|
158
|
+
- **A tree need's `commit` can be a tag object's id.** Locks written by Mars 0.34 and earlier name annotated tags that way. Peel it (`GET /git/tags/{sha}`), or fetch through `tarball`, and answer with the id from the need.
|
|
159
|
+
- **Answers are keyed, and the later one wins.** A tags answer is keyed by `url`, a ref answer by `(url, ref)`, a tree answer by `(url, commit, path)`. Two answers with one key: the later one in the list is the answer, found, `missing` or `failed`, so a retry is appended. The result depends on which answer is last for each key, never on the order of the list.
|
|
160
|
+
- **Tree answers** also cover the folders below their `path`, so a whole-repository answer cached by commit serves every later need at that `url` and `commit`. A need takes the answer for its own key, else the one for the nearest folder above it, else the whole repository's. A found answer for the need, or for a nearer folder, beats a broader one that `failed` or is `missing`, and the reverse: a `failed` answer for the need itself is that need's answer even when a whole-repository answer was found. `files` paths are repository-relative. A package with a `subpath` asks for that folder; a package with none, and every marketplace plugin, asks for the root, because the marketplace reader needs its root `mars.toml`, the marketplace file and the local plugins' folders. Send files only (a symlink as its target's content; one that points outside the repository is an error to report as `failed`). Binary files may be left out.
|
|
161
|
+
- **`{need, missing: true}`** says the commit or ref does not exist. For a commit from `locked` it drops that row with the `locked-commit-unreachable` warning, and resolution picks again from the tags, as `mars sync` does; anywhere else it is an `unavailable` failure. **`{need, failed: reason}`** is any other error, always `unavailable`, and never drops a lock, so a transient error cannot move one.
|
|
162
|
+
- **Path dependencies** (`path = …`) are never a need: a fetched package's path names its author's disk, so it is the `path` failure. `[local-dependencies]` are never followed.
|
|
163
|
+
|
|
164
|
+
`locked` is mars.lock's `[dependencies.*]` rows. A row is kept while it meets every constraint and its source matches the declared one. `refresh` ignores it for the names listed (`mars upgrade <name>`) or for all (`"all"`). `engine.mars` judges `requires-mars`; `engine.meridian`, when given, judges `requires-meridian`; a version whose requirement is unmet is skipped for an older one, with a `requires-mars-fallback` advisory. `bounds.packages` caps the dependencies in the closure. `bounds.bytes` caps the bytes of the files Mars reads: it counts afresh at each restart and is checked at the end of each pass, so a whole-repository answer costs only the files Mars opens. A `bounds` failure's `at` is the package where the limit was crossed.
|
|
165
|
+
|
|
166
|
+
The result is one of:
|
|
167
|
+
|
|
168
|
+
- `{ needs }`
|
|
169
|
+
- `{ resolved: { lock, dependencies }, diagnostics }`: `lock` is exactly the `[dependencies.<name>]` rows of `mars.lock`, to store verbatim (urls in the lock's canonical spelling). `dependencies` has, per name, what to vendor and to give `check` and `selectItems`: `url`, `commit`, `subpath`, the `version` tag (`null` when untagged or pinned to a ref), `content` for a marketplace plugin (where its files are, in another repository or in the marketplace's own tree) and `required_by`, each requester (`"root"` for the root) with the constraint it asked for.
|
|
170
|
+
- `{ failed, diagnostics }`: the first failure, with `kind`, `message` (the text `mars sync` prints for it) and the fields of its kind (see `ResolveFailure` in `index.d.ts`). A failure of the resolution is data; only an argument that is not the shape above throws `input.invalid`.
|
|
171
|
+
|
|
172
|
+
`diagnostics` are the notes of the final pass, plus the notes of choices kept across restarts (an engine fallback, a stale lock row).
|
|
173
|
+
|
|
174
|
+
A package cycle resolves when its constraints agree, as in `mars sync`; each package is in the other's `required_by`. The edge that closes a cycle is held to its constraint like any other: `a ^1` that needs `b`, which needs `a ^2`, is a `conflict`. `supplied` (an edited manifest over a fetched tree) is reserved and throws for now.
|
|
175
|
+
|
|
176
|
+
### Effort and aliases
|
|
177
|
+
|
|
178
|
+
`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
|
+
|
|
180
|
+
`resolveAlias(rows, { match, exclude, provider })` is the rule `mars models resolve` applies to an `auto` alias: it returns the selected `id`, or `null`. Rows are models.dev rows, with `provider` the models.dev key.
|
|
181
|
+
|
|
136
182
|
### Versions and selection
|
|
137
183
|
|
|
138
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`).
|
|
@@ -167,6 +213,7 @@ Each package's edges and `uses-providers` are read from `prepared.selection`, so
|
|
|
167
213
|
| `version` | `input.json`, `expected.json` | `satisfies`, `satisfiesRequirement` and `selectVersion`, with the `code` of each refusal (the Rust leg also pins `parse-constraint` and `parse-tag`, which are not exported) |
|
|
168
214
|
| `check` | `input/`, `request.json`, optional `deps/<name>/`, `expected.json` | `check` over a root and its dependencies (each prepared first), the order of the paths included |
|
|
169
215
|
| `selection` | `request.json`, `packages/` (or `packages_from`: a sibling case's), `expected.json` | `selectItems` over packages prepared from `packages/` |
|
|
216
|
+
| `resolve` | `steps.json` (a base input and the answers each call adds, file contents as text), `expected.json` | the output of `resolve` at every call of a loop |
|
|
170
217
|
|
|
171
218
|
`node crates/mars-schema-wasm/run-fixtures.mjs` in the Mars repository runs every case against this package and compares results deeply, key order included. Run the same cases against the version you pin; a change to a pinned reader that changes a result is a change to the contract.
|
|
172
219
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"m-1"
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"rows": [
|
|
3
|
+
{
|
|
4
|
+
"id": "m-mini",
|
|
5
|
+
"provider": "openai",
|
|
6
|
+
"release_date": "2026-03-01"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"id": "m-1",
|
|
10
|
+
"provider": "openai",
|
|
11
|
+
"release_date": "2026-01-01"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"options": {
|
|
15
|
+
"match": [
|
|
16
|
+
"m-*"
|
|
17
|
+
],
|
|
18
|
+
"exclude": [
|
|
19
|
+
"*-mini"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"m-1"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"llama-4"
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"rows": [
|
|
3
|
+
{
|
|
4
|
+
"id": "llama-4",
|
|
5
|
+
"provider": "meta-llama",
|
|
6
|
+
"release_date": "2026-01-01"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"id": "gpt-5",
|
|
10
|
+
"provider": "openai",
|
|
11
|
+
"release_date": "2026-02-01"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"options": {
|
|
15
|
+
"match": [
|
|
16
|
+
"*"
|
|
17
|
+
],
|
|
18
|
+
"provider": "meta"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"llama-4"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"mistral-large"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"mistral-large"
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"rows": [
|
|
3
|
+
{
|
|
4
|
+
"id": "mistral-large",
|
|
5
|
+
"provider": "mistral",
|
|
6
|
+
"release_date": "2026-01-01"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"id": "other",
|
|
10
|
+
"provider": "openai",
|
|
11
|
+
"release_date": "2026-02-01"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"options": {
|
|
15
|
+
"match": [
|
|
16
|
+
"*"
|
|
17
|
+
],
|
|
18
|
+
"provider": "mistralai"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"m-2"
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"rows": [
|
|
3
|
+
{
|
|
4
|
+
"id": "m-1",
|
|
5
|
+
"provider": "openai",
|
|
6
|
+
"release_date": "2026-01-01"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"id": "m-2",
|
|
10
|
+
"provider": "openai",
|
|
11
|
+
"release_date": "2026-03-01"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"id": "m-0",
|
|
15
|
+
"provider": "openai",
|
|
16
|
+
"release_date": "2025-01-01"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"options": {
|
|
20
|
+
"match": [
|
|
21
|
+
"m-*"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
null
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"m-1"
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"rows": [
|
|
3
|
+
{
|
|
4
|
+
"id": "m-1",
|
|
5
|
+
"provider": "openai",
|
|
6
|
+
"release_date": "2026-01-01"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"id": "m-2",
|
|
10
|
+
"provider": "anthropic",
|
|
11
|
+
"release_date": "2026-02-01"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"options": {
|
|
15
|
+
"match": [
|
|
16
|
+
"m-*"
|
|
17
|
+
],
|
|
18
|
+
"provider": "OpenAI"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"m-1"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"m-a"
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"rows": [
|
|
3
|
+
{
|
|
4
|
+
"id": "m-aa",
|
|
5
|
+
"provider": "openai",
|
|
6
|
+
"release_date": "2026-01-01"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"id": "m-b",
|
|
10
|
+
"provider": "openai",
|
|
11
|
+
"release_date": "2026-01-01"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"id": "m-a",
|
|
15
|
+
"provider": "openai",
|
|
16
|
+
"release_date": "2026-01-01"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"options": {
|
|
20
|
+
"match": [
|
|
21
|
+
"m-*"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"path": [
|
|
16
16
|
"effort"
|
|
17
17
|
],
|
|
18
|
-
"message": "agent `g`: `effort: 2` ignored (not a string); use none, low, medium, high, xhigh or max"
|
|
18
|
+
"message": "agent `g`: `effort: 2` ignored (not a string); use auto, none, minimal, low, medium, high, xhigh or max"
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
21
|
"code": "field.execution-ignored",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"override",
|
|
22
22
|
"effort"
|
|
23
23
|
],
|
|
24
|
-
"message": "agent `g`: `model-policies.0.override.effort: \"nonsense\"` ignored (not valid here); use none, low, medium, high, xhigh or max"
|
|
24
|
+
"message": "agent `g`: `model-policies.0.override.effort: \"nonsense\"` ignored (not valid here); use auto, none, minimal, low, medium, high, xhigh or max"
|
|
25
25
|
}
|
|
26
26
|
]
|
|
27
27
|
},
|