Files
yetone c8125b92b5 commandcode 0.1.24: a Go, GOAT or Pro Credits window tells its count in credits, so magpie adds accounts up
chen2652 on magpie's Discord (v0.1.3361): three Command Code Go
accounts, folded together on the Routing page, showed no summed
credits. The Credits window of a units plan said only its share and
a display string, so magpie's mergeQuotas could only take the mean of
the shares, and only for cards on one plan. It now carries amount (the
credits used, as the display rounds them), limit (the month's pool)
and unit "credits", so magpie adds them up: "16.40 / 30 credits".

Bought and free credits (dollars at model cost) left the display's
"+ $X extra" for the account's balance, a row of its own under the
windows on magpie's Usage card. With a limit set, magpie's GUI and TUI
say the count from amount and limit, not the display, so the extra
would have been lost from the card otherwise.

Not changed: Max, Ultra and Teams Pro, whose Credits pool is dollars,
keep display and share only (magpie would print "$" as a unit after
the numbers).

Run: bun test in packages/commandcode on mote (100 pass, 1 skip, as
before), bun scripts/check.mjs (all ok). The test expectations for
the units plans' Credits window now include amount, limit and unit,
and GOAT's bought credits are the balance.
2026-11-09 12:26:36 +08:00

2.2 KiB

Changelog

0.1.24

  • A Go, GOAT or Pro account's Credits window tells its count as well as its share: the credits used of the month's, in credits (amount, limit, unit). magpie adds several accounts' credits up where it puts them together, as the Usage page's "All N accounts" strip and a folded Routing fold of accounts, "16.40 / 30 credits", instead of a mean of their shares (chen2652 on magpie's Discord). Bought and free credits, dollars at model cost, are the account's balance, a row of their own under the windows, no longer "+ $5.00 extra" after the count.

0.1.22

  • Reflection's Beam (reflection/beam:free) is sent each earlier assistant message's reasoning in reasoning_content: its own when the history kept it, the thinking sent back as reasoning, else a period. Beam answered a one-turn chat and turned the second turn away with 400 "Missing required parameter: 'messages[N].reasoning_content'", a reply another model made included (EDwinpzy on magpie's Discord). Another model the Provider API turns away the same way is asked once more with it filled, and is sent it from then on. Other models' requests go as they came.

0.1.20

  • The Credits window of a Go, GOAT or Pro account says credits, not dollars: "0.20 / 70.00 credits". Command Code counts those plans in usage-value units ("on Go, GOAT and Pro, credits are usage-value units", docs/resources/usage-limits, read 2026-10-31). GOAT's 70 credits a month are the "up to $100" its pricing page now says on a $100 model like Ling 3.1 Flash, and $70 on GLM-5.2; Pro's 80 are "up to $110". The 5-hour and weekly caps billing/credits returns (GOAT's 14 and 35) are in the same units, so the month stays 70 and 80, as the official CLI's table has it, and the card no longer calls it a dollar pool (plugins #556).
  • On those plans, bought and free credits (dollars at model cost) are said beside the month ("+ $5.00 extra") and no longer added to a pool of another unit. Max, Ultra and Teams Pro, where a credit is a dollar, keep the CLI's pool in dollars.
  • Provider is pay as you go: its $15 a month carries no credits, so its card shows the balance and no longer a "$x / $15.00" month.