provider: moved Command Code accounts take plugin 0.1.14, which can ask for Zero Data Retention (plugins #246)
Raises the commandcode-plan mover's min from 0.1.13 to 0.1.14 so keepMovedCurrent updates every moved user. 0.1.14 (plugins 5f101a5) adds a "Zero Data Retention" switch (auth.options), off by default, and honours CMD_ZDR=1. While it is on, the Provider API and Go's /alpha/generate requests carry x-cmd-zdr: 1, as the CLI sends it. A model with no ZDR upstream reaches the agent as Command Code refused it: a 422 cmd_zdr_no_providers on the Provider API, a 400 typed cmd_zdr_no_providers on /alpha/generate. 0.1.14 is on npm: npm view --prefer-online @magpie-community/opencode-commandcode-auth version says 0.1.14. The publish run 39237235562 published it. That run is red only for middleware-think-tags's trusted publisher (plugins #180). Run: gofmt -l internal/provider (clean); go vet ./internal/provider/ on darwin, GOOS=linux and GOOS=windows (ok); go test -timeout 45m ./internal/provider/ (ok, 431s). The full suite was not run: only the mover's min string changed. Not tried: the switch in a running magpie's editor.
This commit is contained in:
@@ -139,7 +139,7 @@ func init() {
|
||||
|
||||
movers[CommandCodePlanID] = &mover{
|
||||
pkg: "@magpie-community/opencode-commandcode-auth",
|
||||
min: "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.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