Files
plugins/packages/qoder/package.json
T
yetone 0c685fe902 qoder 0.2.70: a call Qoder sends nothing to for 120s is dropped with a 504 that says so (#1204)
xiaotao6869 (#1204): a non-streamed Qoder CN call got no bytes for 15
minutes, and magpie serve logged only the client's 499 after 60s.
Nothing bounded the chat fetch or its first event, so a call Qoder
held open with nothing sent waited for as long as the client did, and
no line said where.

The chat call now has QUEUE.silent (120s) to get its reply headers and
first event. Past that the call is aborted and answers 504
"<site> sent nothing for 120s after the request (no reply headers |
no first event); the call was dropped", with no sign-in verdict, so the
gateway can fail over and the log names the stage. A queued call
answers its 10605 at once and a thinking model streams reasoning first,
so a real answer starts well inside it; the timer ends once the first
event is read, and a long answer is not cut.

Run (mica, temp HOME): bun test in packages/qoder 447 pass, 0 fail;
bun scripts/check.mjs qoder ok.
Broken by hand: origin/main's index.mjs with silent.test.mjs: the three
silent cases hang to bun's 3s test timeout, the answered case passes.

Not tried: a real Qoder CN account; the cause of the reporter's
silent 15 minutes is not known, this only bounds it and says where.
2026-11-16 16:32:02 +08:00

31 lines
773 B
JSON

{
"name": "@magpie-community/opencode-qoder-auth",
"version": "0.2.70",
"description": "Qoder and QwenWork (千问办公) subscriptions in OpenCode and magpie: qoder.com, qoder.cn, gateway.qwenwork.cn and the enterprise flagship, VPC and dedicated domains",
"type": "module",
"main": "./opencode.mjs",
"exports": { ".": "./opencode2.mjs" },
"files": [
"index.mjs",
"opencode.mjs",
"opencode2.mjs",
"README.md",
"LICENSE-CLIProxyAPI"
],
"keywords": [
"opencode",
"opencode-plugin",
"magpie",
"qoder",
"qoder-cn",
"qwenwork",
"千问办公"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/magpie-community/plugins.git",
"directory": "packages/qoder"
}
}