From 2350ea7aa741c4cd560fa61fd9b9d91f011a0ce2 Mon Sep 17 00:00:00 2001 From: yetone Date: Mon, 5 Oct 2026 14:29:15 +0800 Subject: [PATCH] =?UTF-8?q?provider:=20moved=20ZCode=20users=20get=20plugi?= =?UTF-8?q?n=200.1.9,=20where=20the=20gift's=20models=20are=20trial=20entr?= =?UTF-8?q?ies=20the=20user=20picks=20(plugins=20#21)=20=E2=80=94=200.1.8?= =?UTF-8?q?=20spent=20a=20dual=20account's=20gift=20before=20its=20GLM=20C?= =?UTF-8?q?oding=20Plan=20for=20every=20model=20the=20gift=20served,=20so?= =?UTF-8?q?=20a=20user=20who=20meant=20to=20spend=20the=20plan=20had=20no?= =?UTF-8?q?=20say.=200.1.9=20lists=20each=20live=20gift=20model=20again=20?= =?UTF-8?q?as=20-Trial=20(GLM-5.3-Flash-Trial):=20that=20entry=20sp?= =?UTF-8?q?ends=20the=20gift=20and=20answers=20429=20locally=20when=20its?= =?UTF-8?q?=20bucket=20is=20spent=20or=20blocked,=20and=20a=20plain=20mode?= =?UTF-8?q?l=20always=20spends=20the=20coding=20plan.=20Reviewed=20line=20?= =?UTF-8?q?by=20line=20and=20run=20against=20a=20fake=20upstream=20(a=20co?= =?UTF-8?q?ding-only=20account's=20trial=20entry=20is=20a=20local=20400,?= =?UTF-8?q?=20a=20streamed=20trial=20request=20reaches=20zcode.z.ai=20with?= =?UTF-8?q?=20the=20raw=20model,=20a=201113=20inside=20a=20200=20becomes?= =?UTF-8?q?=20429=20and=20keeps=20the=20entry=20off=20for=20a=20minute,=20?= =?UTF-8?q?a=20plain=20model=20still=20goes=20to=20api.z.ai);=20bun=20test?= =?UTF-8?q?=20(65=20pass)=20and=20bun=20scripts/check.mjs=20zcode=20pass.?= =?UTF-8?q?=20go=20vet=20and=20go=20test=20-tags=20nogui=20./internal/prov?= =?UTF-8?q?ider/=20under=20a=20temp=20HOME=20pass.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/provider/migrate_zcode.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/provider/migrate_zcode.go b/internal/provider/migrate_zcode.go index 07cdbbca2..79ee11fcd 100644 --- a/internal/provider/migrate_zcode.go +++ b/internal/provider/migrate_zcode.go @@ -21,7 +21,7 @@ import ( func init() { movers["zcode"] = &mover{ pkg: "@magpie-community/opencode-zcode-auth", - min: "0.1.8", // an account's ZCode gift plans spent before its GLM Coding Plan (plugins #19) + min: "0.1.9", // the gift's models are trial entries (GLM-5.3-Flash-Trial) the user picks; a plain model spends the GLM Coding Plan (plugins #21) agents: []string{"zcode"}, // a Start Plan account was never served GLM-5.3, by the built-in // or by ZCode, and the plugin lists it no more than they do; its