Files
magpie/internal
yetone 741b843cd0 agent: a stopped distro's Claude Code offers efforts as effort, not models
A stopped WSL distro's Claude Code took magpie's model list for every
field but model, effort and login, so each tier's effort, the
subagents' effort and ultracode offered model ids; picking one was then
refused by the running field's Set. The efforts now offer the levels of
the model last seen (tierEfforts, as a running distro's do), and
ultracode keeps its own options, which read only the last-seen model.
Found while giving the WSL card the Claude rows (cybercaius, Discord).

Run (mote): go test ./internal/agent -run TestWSLClaudeStopped -count=1, ok.
Broken by hand: with the old wsl.go, TestWSLClaudeStoppedEfforts fails
(opus_effort offers "relay/glm-4.6").
Not tried: a real stopped distro on the Windows box.
2026-10-29 12:22:05 +08:00
..
…
…
…
…
…
…