provider: WorkBuddy's mover min is 0.1.45, so magpie's drawings through WorkBuddy work again

iwinux on Discord (10-28 ~22:30 UTC+8, magpie v0.1.1812): the Magpie Image
MCP through WorkBuddy AI answered
  400 Bad Request: Unmarshal create image params failed with error:
  invalid character '\x1f' looking for beginning of value (11101)
from the minute plugin 0.1.43 was published (14:30Z). 0.1.43 gzipped every
non-Messages body its fetch sent, and drawWorkBuddy's JSON to
/v2/images/generations and /v2/images/edits goes through that fetch; the
images API reads plain JSON only ('\x1f' is gzip's first byte). magpie
passes the JSON through unchanged. 0.1.45 (plugins 880cd93) gzips only a
chat completion, and gives only a chat the model's default effort.

npm view @magpie-community/opencode-workbuddy-auth version --prefer-online:
0.1.45.
Run at this head (parent 87a983423): go test -timeout 45m ./internal/provider
on mote: ok; gofmt -l clean. The plugin's own record (red on 0.1.44 with
the reporter's message, 207 pass on 0.1.45) is in plugins 880cd93.
Not tried: a real WorkBuddy drawing through the plugin host.
This commit is contained in:
yetone
2026-10-29 00:41:49 +08:00
parent 87a983423e
commit b692de9c89
File diff suppressed because one or more lines are too long