zcode: stop advertising ZCode's free Start Plan — zcode.z.ai serves it only to requests carrying the official ZCode client's system prompt and answers others HTTP 405 'request has been blocked due to unusual activity'; the plugin, like magpie, never rewrites prompts or poses as the official client, so the plan can't be used through it. registry.json's summary (en/zh), the root README's table, the package's description and its README now name the GLM Coding Plan and team seats only, and the package README says why the Start Plan isn't usable. Text only; no code or version change.

This commit is contained in:
yetone
2026-10-01 23:11:00 +08:00
parent 09053e36d3
commit bd5e91ee00
4 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ subscription and makes its requests. The packages work in OpenCode and in
| [qoder](packages/qoder) | Qoder subscription, with Qoder's device sign-in | `qoder` |
| [workbuddy](packages/workbuddy) | WorkBuddy (China build, CodeBuddy plan) | `workbuddy` |
| [workbuddy](packages/workbuddy) | WorkBuddy (international build) | `workbuddy-ai` |
| [zcode](packages/zcode) | ZCode: Z.ai / BigModel (智谱) GLM Coding Plan, team seats, Start Plan | `zcode` |
| [zcode](packages/zcode) | ZCode: Z.ai / BigModel (智谱) GLM Coding Plan, team seats | `zcode` |
| [zed](packages/zed) | Zed (Pro, Pro Trial, Student, Business): Anthropic, OpenAI, Google and xAI models hosted by Zed | `zed` |
## Use
+8 -1
View File
@@ -16,10 +16,17 @@ over Anthropic's Messages API. Provider id: `zcode`.
`open.bigmodel.cn/api/anthropic`.
- If the account has no plan of its own, it looks for a seat on a team's
plan and uses that team project's `zcode-team-api-key`.
- Failing both, it uses ZCode's free **Start Plan**, served by zcode.z.ai
- Failing both, it tries ZCode's free **Start Plan**, served by zcode.z.ai
with ZCode's session token and ZCode's own headers.
- The Start Plan's token can't be refreshed. When it runs out, sign in
again.
> **ZCode's free Start Plan (and its trial) can't be used through this
> plugin.** zcode.z.ai only serves that plan to requests carrying the
> official ZCode client's own system prompt, and refuses others with
> HTTP 405 "request has been blocked due to unusual activity". The plugin
> (like magpie) never rewrites prompts or poses as the official client, so
> a GLM Coding Plan — your own or a team seat — is needed.
- **ZCode app's sign-in**
- Uses the account the ZCode app on this computer is signed in to. For
every request it reads ZCode's own credentials (`~/.zcode/v2`), so it
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@magpie-community/opencode-zcode-auth",
"version": "0.1.6",
"description": "OpenCode provider plugin: signs in to Z.ai's or BigModel's (智谱) GLM Coding Plan as ZCode does, including team seats and ZCode's Start Plan",
"description": "OpenCode provider plugin: signs in to Z.ai's or BigModel's (智谱) GLM Coding Plan as ZCode does, including team seats",
"type": "module",
"main": "./index.mjs",
"exports": "./index.mjs",
+1 -1
View File
@@ -2,7 +2,7 @@
"version": 1,
"plugins": [
{ "package": "@magpie-community/opencode-zcode-auth", "name": "ZCode", "icon": "zcode", "providers": ["zcode"], "community": true, "replaces": "zcode",
"summary": { "en": "Z.ai and BigModel GLM Coding Plan, team seats and ZCode's free Start Plan.", "zh": "Z.ai 与智谱 GLM Coding Plan,支持团队席位和 ZCode 免费 Start Plan。" } },
"summary": { "en": "Z.ai and BigModel GLM Coding Plan, with team seats.", "zh": "Z.ai 与智谱 GLM Coding Plan,支持团队席位。" } },
{ "package": "@magpie-community/opencode-qoder-auth", "name": "Qoder", "icon": "qoder", "providers": ["qoder"], "community": true, "replaces": "qoder",
"summary": { "en": "Your Qoder subscription, with Qoder's own device sign-in.", "zh": "用 Qoder 自己的设备登录使用 Qoder 订阅。" } },
{ "package": "@magpie-community/opencode-devin-auth", "name": "Devin", "icon": "devin", "providers": ["devin"], "community": true, "replaces": "devin",