Skip to main content

Crate opencode_sdk

Crate opencode_sdk 

Source
Expand description

Rust SDK for OpenCode (HTTP-first hybrid with SSE streaming).

This crate provides a native Rust interface to OpenCode’s HTTP REST API and SSE streaming capabilities.

Re-exports§

pub use crate::client::Client;
pub use crate::client::ClientBuilder;
pub use crate::error::OpencodeError;
pub use crate::error::Result;

Modules§

client
High-level client API for OpenCode.
error
Error types for opencode_rs.
http
HTTP client for OpenCode REST API.
sse
SSE (Server-Sent Events) streaming support.
types
Core types for opencode_rs.

Constants§

VERSION