Commit Graph
1 Commits
Author SHA1 Message Date
yetone 7c41060c2c provider: Qoder's mover min is 0.2.65 (plugins#930)
opencode-qoder-auth before 0.2.65 joined two tool calls Qoder streams at
one tool_calls index into one, even with their own ids and names, so the
client got a single tool_use whose input was {"key":"A"}{"key":"B"}
(invalid JSON) and neither call ran. 0.2.65 (plugins 34786eda) keeps them
apart. Raising the min lets keepMovedCurrent move every moved Qoder and
Qoder CN user onto it.

TestQoderMoversKeepToolCallsAtOneIndexApart holds both movers at 0.2.65 or
later, as the 0.2.53/0.2.54/0.2.61 floors do.

npm: `npm view --prefer-online @magpie-community/opencode-qoder-auth
version` prints 0.2.65, checked again just before this commit.

Run on mote (mote-run, at this tree rebased on 1ad9d157f; the same was green on fbc1808f2 first):
- gofmt -l internal/provider: empty
- go vet ./internal/provider/...: ok
- go test -count=1 -timeout 45m ./internal/provider/...: ok (156.4s)

Broken by hand: with the min put back to 0.2.64,
TestQoderMoversKeepToolCallsAtOneIndexApart fails ("the qoder mover
installs opencode-qoder-auth 0.2.64, which joins two tool calls at one
index into invalid JSON").

Not tried: no real Qoder account was moved or chatted through 0.2.65, and
keepMovedCurrent's update was not run against a real install. The
plugin's own parser fix is tested in the plugins repo, not here.
2026-11-10 17:18:32 +08:00