Skip to main content

supercode_opencode_frontend/
lib.rs

1//! Stock OpenCode frontend adapters over the canonical Supercode SDK runtime.
2//!
3//! This removable crate projects one already-running SDK runtime into the
4//! exact HTTP vocabulary consumed by pinned OpenCode. It never owns an agent,
5//! model loop, OpenCode database, source-harness store, or canonical session.
6
7pub mod opencode_http_v1_2_15;
8pub mod server;
9
10pub use opencode_http_v1_2_15::{
11    AdapterError, OpenCodeAdapter, OpenCodeEventProjection, OpenCodeRequest, OpenCodeResponse,
12    ResponseBody, HISTORY_LIMIT, OPENCODE_CLI_VERSION, PROTOCOL_NAMESPACE,
13};
14pub use server::{
15    CredentialError, OpenCodeClientCredential, OpenCodeEndpoint, OpenCodeEndpointHealth,
16    OpenCodeServerHandle,
17};