An agent can send one turn's tool calls in two assistant messages in a row, answered together after. build() answered the first message's calls at the second one: toolu_a went to Devin as "Tool use was interrupted and did not produce a result." and its real result A! was dropped. joinSplitCalls now joins an assistant message onto an assistant message before it that made tool calls, as Anthropic reads consecutive assistant messages and as magpie's built-in buildDevin does since 7067fce5. A call of the split turn that really went unanswered is still answered for; two text-only assistant messages stay two. split-calls.test.mjs is #1275's request in Chat form: 3 of its 4 tests fail on 0.1.10 and pass now. HOME=$(mktemp -d) bun test (43 pass, 0 fail) and bun scripts/check.mjs pass. Not tried against a real Devin account.
13 lines
504 B
JSON
13 lines
504 B
JSON
{
|
|
"name": "@magpie-community/opencode-devin-auth",
|
|
"version": "0.1.11",
|
|
"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" }
|
|
}
|