devin 0.1.21: a request past 8 KiB goes gzipped, as the devin CLI sends it (#275)

Run on origin/main 4fd68ba: bun test in packages/devin 98 pass 0 fail;
bun scripts/check.mjs devin ok.
This commit is contained in:
yetone
2026-10-21 00:21:58 +08:00
parent a900bab104
commit e2c3a35447
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -54,6 +54,8 @@ The plugin's `fetch` handles this:
with its result, as magpie's built-in sends them: a tool message's own
`image_url` parts, and the ones magpie's gateway puts in the user
message after the results ("[From the result of …]").
- A request past 8 KiB goes gzipped, as the CLI sends it (since 0.1.21,
#275): Devin turns a body past 10 MiB away with 413.
- It turns the streamed reply back into a chat completion, streamed or
not: text, reasoning, tool calls and usage.
- Failures keep their statuses: a refused token is a 401, a usage limit a
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@magpie-community/opencode-devin-auth",
"version": "0.1.20",
"version": "0.1.21",
"description": "Devin subscriptions (the devin CLI's account) in OpenCode and magpie",
"type": "module",
"main": "./index.mjs",