sryimnoob123 measured amr-link with reasoning_effort high and low on all
11 models (magpie 0.1.1254, Windows): every one answered 200, and all but
gpt-6-luna streamed reasoning, four the catalog calls "standard" too.
Their install showed all 11 with reasoning false and no levels. Two
causes:
- provider.models gave the live list in the config's shape
(reasoning: true, modalities: [...]). magpie's plugin host reads a
listed model's thinking from capabilities.reasoning and its kinds from
capabilities.input, so for a signed-in account every model read as not
reasoning, with no image input. It now gives OpenCode's model shape
(servedOf: api, capabilities, variants), as minimax/workbuddy do.
- No model had levels: nothing declared variants, and magpie shows a
model's levels only from them. models.mjs now records the measured
levels (efforts): ["low", "high"] on the 10 that thought, [] on
gpt-6-luna (took it, never thought). Only the two levels the table
shows were given. A model with levels reasons whatever its capability
word; one the seed doesn't know keeps the old rule (advanced reasons)
with no levels. refresh-models.mjs keeps efforts like names.
Run:
- bun test packages/opendesign: 21 pass, 0 fail. New: "a signed-in
account's models reason at the levels amr-link took (#137)", "the
seed's models carry the measured levels as the config's variants";
the live-list test now pins the OpenCode shape.
- Broken by hand: modelsOf back on modelOf (config shape) -> 2 fail;
efforts not passed from the seed to the live list -> 1 fail.
- magpie origin/main internal/plugin/host.js run under bun with a
preloaded fetch stub serving a 3-model catalog (init + providers, a
stored oauth account): with 0.1.4 gpt-6-luna, deepseek-v4-pro and
claude-haiku-5.5 all list reasoning=false variants=[] image=false;
with this change luna false/[]/image true, v4-pro true/[low high],
haiku true/[low high]/image true, url the amr-link base.
- refresh-models.mjs against the same stub: efforts kept per model.
- bun scripts/check.mjs: every package ok.
- TMPDIR/HOME isolated bun test (whole repo): 1526 pass, 0 fail. A first
run had 1 fail, packages/grok/login.test.mjs "a login's link is still
handed on" timing out at 5s with load average ~100; alone 3/3 pass and
the rerun of the whole repo passed. Untouched package; not filed.
Not tried: a real Open Design account (none here) or magpie's
`model efforts` command end to end; the levels rest on the reporter's
table.
Full suite: bun test (whole repo, with factory 0.1.30 below it): 1527 pass, 0 fail