inkstone 0.1.3 (#832, yunwang2442-creator): - Image requests are prechecked before they leave: 8 images, 10MB each, 40MB in all. - A request over a cap gets a local 400 shape refusal, so magpie asks the next account and rests none. - The plan's invalid_media / media_fetch_failed / unsupported_media_type errors become the same kind of refusal. - The body rewrite strips the reasoning fields and sets image detail to auto. - A zero-prompt browser sign-in comes first, and a second browser method reuses a pasted key. - Neither browser method is offered when no Chromium-family browser is found (#825). - The /keys calls ride the session cookie, without the pagination query. Key creation retries the console's -15100 "refresh page and retry". - The #826 metadata token read is kept, and its test is back. - The fake browser is built once per user and source hash (#824), and the title wait reads only on Windows. - maxConcurrency is 4. - The doubled comment line is dropped from every opencode2.mjs copy, agy-cli's included. Reviewed at 88e66bde, on mote (macOS, Bun 1.4.2) with a temp HOME: - full bun test: 6853 pass / 0 fail; both checks exit 0 - bun scripts/check.mjs and bun scripts/check.mjs inkstone: exit 0 - 21 hand breaks: 20 red, 1 not caught (the /keys pagination test calls protocol.listKeys directly; follow-up filed) Not tried: a real InkStone account or sign-in, Windows and Linux runs.
river
River (river.ai) with your API key, in
OpenCode and magpie. River serves an
OpenAI-compatible inference API at https://api.river.ai/v1; this plugin signs every
request with your key, so agents reach its models like any other provider —
multi-account, fallback, quotas and all.
Provider id: river
Sign-in
A River API key, created on the API Keys page of the
River Console (rv_…). The key is stored as { "type": "api", "key": "rv_…" } in
OpenCode's auth.json and magpie's plugin-auth.json (permissions 600); a key River
refuses marks the account for sign-in again.
Models
The models your key can use, listed per account from GET /v1/models. Context and
output limits come from River's docs,
prices from River's public pricing endpoint
(the same rates billing uses), and the documented reasoning efforts
(reasoning_effort) from API controls:
| Model | Efforts |
|---|---|
| DeepSeek-V4.1-Flash(-1017) | none / low / high / max |
| Kimi-K3 | none / max |
| Nemotron-3.5-Super-VL | none / high |
| GLM-5.3-Flash | low / high / max (reasoning required) |
| Qwen3.8-27B-FP8 | none / low / medium / xhigh |
Every inference model streams, reasons and calls tools. Image input is limited to the models the docs list for it (Kimi-K3, DeepSeek ×2, Nemotron, GLM-5.3-Flash, Qwen3.8-27B-FP8); GLM-5.3 is text-only, and a model the docs don't list yet defaults to text-only rather than being assumed to see images.
Usage
River meters a prepaid balance per request and publishes no endpoint that reads it, so the usage card shows the sign-in state and "Pay as you go" rather than invented numbers; spend and balance live in the River Console.
Install
magpie plugin add @magpie-community/opencode-river-auth
magpie plugin login river
magpie provider test river
In OpenCode, add the same package under plugin and sign in with opencode auth login.
Development
bun test
bun scripts/check.mjs river
MIT. Not affiliated with River.