Files
plugins/packages/devin/package.json
T
yetone e30f8ed056 devin 0.1.45: a request Devin took and then went quiet on ends in a retryable 504
wu_chong4136 on X: with the Devin plugin a session sometimes hung for
10 to 20 minutes with no reply, until the effort or the context was
changed. The plugin returns its head only with Devin's first content,
and nothing bounded the wait for Devin's head or for the next frame, so
a request Devin accepted and never answered left the agent on magpie's
keepalives with no error.

- quietFetch: Devin's head comes within QUIET (5 minutes) or the fetch
  is aborted with a Quiet error.
- quietRead: frames() waits QUIET at most between reads; on quiet the
  reader is cancelled, so the connection is let go.
- A Quiet error answers 504 "Devin sent nothing for 5 minutes; the
  request was given up so it can be sent again", stream and non-stream;
  other failures keep their 502. pingOnce uses quietFetch too.
- 5 minutes: a real probe of GetChatMessage saw the first frame 2.5s
  after the request and at most a 13s gap between frames through a
  reply, so 5 minutes of silence is not Devin thinking.

Run (mote, HOME=$(mktemp -d)):
- bun test in packages/devin: 232 pass, 0 fail (quiet.test.mjs's four
  tests among them: no head, a body that never starts, quiet after a
  frame, and frames every 50ms with QUIET at 200ms never given up).
- bun scripts/check.mjs: ok.

Broken by hand: index.mjs without quietFetch/quietRead: the three
give-up tests hang to their timeout.

Not tried: a real Devin request that goes quiet (it can't be made to);
the root suite runs on CI before publish.
2026-11-17 00:18:09 +08:00

14 lines
595 B
JSON

{
"name": "@magpie-community/opencode-devin-auth",
"version": "0.1.45",
"description": "Devin subscriptions (the devin CLI's account) in OpenCode and magpie",
"type": "module",
"main": "./index.mjs",
"exports": "./index.mjs",
"files": ["index.mjs", "README.md"],
"keywords": ["opencode", "opencode-plugin", "magpie", "devin", "windsurf"],
"license": "MIT",
"repository": { "type": "git", "url": "git+https://github.com/magpie-community/plugins.git", "directory": "packages/devin" },
"magpie": { "options": { "cacheKeepaliveInterval": 285, "cacheKeepaliveMaxPings": 6 } }
}