devin 0.1.25: the plugin loads in OpenCode 2 (a default export with setup), beside OpenCode 1.
Also: v2Usage leaves the uncached count undefined when prompt_tokens is missing, instead of NaN.
Run at the reviewed head 6b151dba3c7cc1056026629bf2e4e4c8e312a6d0, on mote:
- HOME=$(mktemp -d) bun test packages/devin: 125 pass, 0 fail
- bun scripts/check.mjs: ok
- HOME=$(mktemp -d) bun test: 2920 pass, 8 skip, 0 fail
- Broken by hand: with 1ed15ef's noCache line back, "v2Usage takes cached tokens out of the uncached count" goes red (NaN), green once restored.
Not tried: a real Devin chat in OpenCode 2 (no Devin account here).