provider: Command Code's mover min is 0.1.21, which writes out the $refs Google refuses
kthink on Discord: dsh on Gemini 3.8 Flash through Command Code was refused 400 "Google schema conversion only supports references to direct children of root-level $defs or definitions ... #/properties/func/properties/triggers/items". commandcode 0.1.21 (magpie-community/plugins d05f55e) writes such refs out for Google models only; npm view --prefer-online shows 0.1.21. Run on mote at this tree: go test -timeout 45m ./internal/provider/ ok. gofmt -l clean. Not tried: a real Command Code request (both keys here answer 401); other plugins' Gemini models are plugins#557.
This commit is contained in:
@@ -139,7 +139,7 @@ func init() {
|
||||
|
||||
movers[CommandCodePlanID] = &mover{
|
||||
pkg: "@magpie-community/opencode-commandcode-auth",
|
||||
min: "0.1.20", // 0.1.20: a Go, GOAT or Pro account's Credits window says the month in credits, the usage-value units Command Code counts those plans in ("0.20 / 70.00 credits", GOAT's 70 being its "up to $100"), not as dollars, with bought and free credits said beside it; a Provider account, pay as you go, shows its balance, not a $15 month (plugins #556, NeuroPaw); 0.1.19: a key Command Code refuses (a 401 or 403 that /alpha/whoami confirms) marks the account signed out, on a usage read and on a request's answer, so it is passed over and its row offers Sign in again, and a clean usage read takes the mark off (blue12345655 on Discord); 0.1.18: Jev (typesafe/jev), Command Code's decision model, which its model list doesn't name, is listed and marked as one, and its questions go to /provider/v1/systemone as command-code 1.88.2 asks them, so it can be a group's classifier and answer /v1/systemone (joeliu96872540 on X); 0.1.17: a plan account's Credits window goes second, after its 5 hours, so the account line and the menu bar, which show two windows, show the dollars left (01huadalang on Discord); 0.1.16: the Go catalog goes with the CLI's own User-Agent and /alpha/generate with the working folder's slug, as command-code 1.88.0 sends them, not "magpie" (plugins #352); 0.1.15: DeepSeek V4 Pro, V4 Flash, V4 Flash Vision, V4.1 Flash and V4.1 Flash Fast offer an off level, sent to the Provider API as reasoning_effort "off" (plugins #334); 0.1.14: a Zero Data Retention switch (or CMD_ZDR=1) sends x-cmd-zdr: 1 on the Provider API and /alpha/generate, as the CLI does (plugins #246); 0.1.13: the Credits window resets at the plan's period end (#2454); the models the built-in counted free are marked free; max_tokens capped at 200,000 as the built-in; 0.1.12: each plan lists only the models its plan may use, as the CLI's table has it, so a Go account no longer lists GOAT's (plugins 49e9d89, 01huadalang on Discord); 0.1.11: a streamed Go reply the upstream cuts off after it has said something ends cut short with a note, not a lost turn (plugins #91); 0.1.10: a Go request says the agent's folder and git repository as magpie tells them, not the home's (plugins #86); 0.1.9: a Go key the Provider API refuses is taken as Go's and asked at /alpha/generate (#969); a failure's status and its sign-in mark as the built-in's; a Go account lists Go's models; a model the plugin doesn't know takes pictures as models.dev says
|
||||
min: "0.1.21", // 0.1.21: a Google model's tool schemas have a $ref Google refuses (one into properties, not a direct child of $defs, such as dsh's #/properties/func/properties/triggers/items) written out, on the Provider API and on Go's /alpha/generate, so Gemini 3.8 Flash takes them; other models' schemas go as they came (kthink on Discord); 0.1.20: a Go, GOAT or Pro account's Credits window says the month in credits, the usage-value units Command Code counts those plans in ("0.20 / 70.00 credits", GOAT's 70 being its "up to $100"), not as dollars, with bought and free credits said beside it; a Provider account, pay as you go, shows its balance, not a $15 month (plugins #556, NeuroPaw); 0.1.19: a key Command Code refuses (a 401 or 403 that /alpha/whoami confirms) marks the account signed out, on a usage read and on a request's answer, so it is passed over and its row offers Sign in again, and a clean usage read takes the mark off (blue12345655 on Discord); 0.1.18: Jev (typesafe/jev), Command Code's decision model, which its model list doesn't name, is listed and marked as one, and its questions go to /provider/v1/systemone as command-code 1.88.2 asks them, so it can be a group's classifier and answer /v1/systemone (joeliu96872540 on X); 0.1.17: a plan account's Credits window goes second, after its 5 hours, so the account line and the menu bar, which show two windows, show the dollars left (01huadalang on Discord); 0.1.16: the Go catalog goes with the CLI's own User-Agent and /alpha/generate with the working folder's slug, as command-code 1.88.0 sends them, not "magpie" (plugins #352); 0.1.15: DeepSeek V4 Pro, V4 Flash, V4 Flash Vision, V4.1 Flash and V4.1 Flash Fast offer an off level, sent to the Provider API as reasoning_effort "off" (plugins #334); 0.1.14: a Zero Data Retention switch (or CMD_ZDR=1) sends x-cmd-zdr: 1 on the Provider API and /alpha/generate, as the CLI does (plugins #246); 0.1.13: the Credits window resets at the plan's period end (#2454); the models the built-in counted free are marked free; max_tokens capped at 200,000 as the built-in; 0.1.12: each plan lists only the models its plan may use, as the CLI's table has it, so a Go account no longer lists GOAT's (plugins 49e9d89, 01huadalang on Discord); 0.1.11: a streamed Go reply the upstream cuts off after it has said something ends cut short with a note, not a lost turn (plugins #91); 0.1.10: a Go request says the agent's folder and git repository as magpie tells them, not the home's (plugins #86); 0.1.9: a Go key the Provider API refuses is taken as Go's and asked at /alpha/generate (#969); a failure's status and its sign-in mark as the built-in's; a Go account lists Go's models; a model the plugin doesn't know takes pictures as models.dev says
|
||||
agents: []string{CommandCodePlanID},
|
||||
out: func() ([]Moving, error) {
|
||||
var out []Moving
|
||||
|
||||
Reference in New Issue
Block a user