plugins: Qoder's mover asks for 0.2.11, so a moved Qoder CN enterprise VPC account keeps its model list and renewal mark apart from a public account with the same uid (plugins#40)
0.2.11 (magpie-community/plugins#40, AwadYoo) keys the plugin's model listings and its "renewed" marks by deployment and uid instead of uid alone. Raising min lets keepMovedCurrent update every moved Qoder user. Run: plugins bun test 1000/0 under a temp HOME at the PR head, the two new tests fail with the key reverted to cred.uid; npm view shows 0.2.11; here go test -tags nogui ./internal/provider -run Moved|Migrat|Qoder| Mover|KeepMoved ok, gofmt -l clean.
This commit is contained in:
1 parent
e119470a70
commit
6f59be4ef7
1 file changed
+1
-1
@@ -24,7 +24,7 @@ func init() {
|
||||
func qoderMover(id string) *mover {
|
||||
return &mover{
|
||||
pkg: "@magpie-community/opencode-qoder-auth",
|
||||
min: "0.2.10", // international check-in finds the device identity runtime Qoder CLI caches on macOS and Linux and the Linux desktop installs in /opt/Qoder (ARNO on Discord); sends Qoder's native device identity, without which the daily 100 credits aren't listed (#1268); Qoder CN enterprise VPC (0.2.8); the daily credits claimed through the account's fetch (ARNO on Discord); Qoder CN as "qoder-cn", its device-token chat as the built-in's; each model's credit rate; the sign-in renewed ahead of time through auth.refresh; token usage read; each model's context the largest window Qoder offers it (#722); the window a request is sent holds the reply's max_tokens (#700)
|
||||
min: "0.2.11", // a Qoder CN enterprise VPC account keeps its model list and renewal mark apart from a public account with the same uid (plugins#40); international check-in finds the device identity runtime Qoder CLI caches on macOS and Linux and the Linux desktop installs in /opt/Qoder (ARNO on Discord); sends Qoder's native device identity, without which the daily 100 credits aren't listed (#1268); Qoder CN enterprise VPC (0.2.8); the daily credits claimed through the account's fetch (ARNO on Discord); Qoder CN as "qoder-cn", its device-token chat as the built-in's; each model's credit rate; the sign-in renewed ahead of time through auth.refresh; token usage read; each model's context the largest window Qoder offers it (#722); the window a request is sent holds the reply's max_tokens (#700)
|
||||
agents: []string{id},
|
||||
out: func() ([]Moving, error) {
|
||||
// no refresh of the built-in's runs while the pairs are read
|
||||
|
||||
Reference in new issue
Block a user