Files
plugins/packages/zcode/package.json
T
Pr1p 081c4cb8f0 zcode 0.1.41: a nothing-to-claim check-in asks again in half an hour (#600)
A plan feed answer of nothing to claim (`inactive`) now carries an `until` half an hour out, so magpie's check-in loop asks again during the day and a gift plan dropped into the feed after the day's first ask (the 19:00 Beijing weekend plan) is claimed before it expires. captcha, claimed, done and failed answers still stand for the day. Bumps the package to 0.1.41. By Pr1p.

Run at c655b088ef0eba6e130b78c867e429b6c39ac09c on the Mac mini (Bun 1.4.2, temp HOME):
- `bun test` in packages/zcode: 184 pass, 0 fail.
- `bun scripts/check.mjs zcode`: ok, exit 0.
- Broken by hand: putting `until` on the captcha answer turns "an inactive says until half an hour out…" red (1 fail); removing it from inactive turns 3 tests red.
- package.json changes only the version (0.1.40 to 0.1.41).

Not tried: a real ZCode account over a day. The README and the RECHECK comment still name "a reset card" among what arrives in the plan feed; reset cards are customer-package-reset and are not claimed here. That wording is fixed in a follow-up commit.
2026-11-01 23:54:51 +08:00

21 lines
734 B
JSON

{
"name": "@magpie-community/opencode-zcode-auth",
"version": "0.1.41",
"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, and claims its gift plans daily",
"type": "module",
"main": "./index.mjs",
"exports": "./index.mjs",
"files": ["index.mjs", "prompt.mjs", "README.md"],
"keywords": ["opencode", "opencode-plugin", "magpie", "zcode", "z.ai", "bigmodel", "glm", "coding-plan"],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/magpie-community/plugins.git",
"directory": "packages/zcode"
},
"magpie": {
"maxConcurrency": 3,
"maxAccounts": 2
}
}