opencode-codes 1.18.5

Typed Rust SDK for the opencode agent server: serde models of its OpenAPI 3.1 HTTP/SSE protocol, plus an async (Tokio) client and a managed local-server launcher for driving opencode sessions, prompts, and permission flows.
Documentation
1
2
3
4
5
6
{
  "name": "NotFoundError",
  "data": {
    "message": "Session not found: ses_doesnotexist000000000000"
  }
}