joycode 0.2.6: verified 900k context for GPT-6.1 Sol and GLM-5.3 (#711)

GPT-6.1 Sol and GLM-5.3 join the measured-cap list from #707: when the
account's catalogue offers a larger extJson.contextWindowByPlatform["JoyCode
Desktop"] (1,000,000 for both), limit.context becomes the smaller of that and
900,000, floored to 100k. Only those exact ids: GLM-5.3-jcloud, GLM-5.3-agent
and GPT-6.1 Sol-preview stay at the catalogue's maxTotalTokens. Output limits,
missing or malformed metadata and the static fallback are unchanged. The caps
come from the author's real probes on 2026-11-04 (Sol ok at 900,064 input and
refused with context_length_exceeded near 1,000k; GLM-5.3 ok at 900,074 and
refused with code 1261 near 1,000k), so 900k is a verified tier, not a maximum.

Review: no new host, credential, dependency or workflow change; the diff is
the two map entries, tests, README/CHANGELOG and the version. 0.2.6 is free
(main 0.2.5, dist has up to 0.2.5; joycode is published to dist, not npm).
Head 69227598 is on current main (29555323).

Run at 69227598 on mote (Bun 1.4.2, Node 22): node --test
packages/joycode/*.test.mjs 82 pass 0 fail; bun scripts/check.mjs joycode
and bun scripts/check.mjs (all) exit 0. PR CI green.
Broken by hand: dropping the Sol entry, dropping the GLM-5.3 entry, and
matching ids by prefix instead of exactly each turn the exact-ids test red
(1 fail each).

Not tried: no JoyCode account here, so the probes were not re-run by the
reviewer.
This commit is contained in:
liangmouse
2026-11-04 15:21:20 +08:00
committed by GitHub
parent 2955532344
commit fec25163ab
5 changed files with 44 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@magpie-community/opencode-joycode-auth",
"version": "0.2.5",
"version": "0.2.6",
"description": "OpenCode provider plugin: JoyCode (JD Cloud JoyCoder IDE credits)",
"type": "module",
"main": "./opencode.mjs",