Skip to main content

Crate supercode_opencode_frontend

Crate supercode_opencode_frontend 

Source
Expand description

Stock OpenCode frontend adapters over the canonical Supercode SDK runtime.

This removable crate projects one already-running SDK runtime into the exact HTTP vocabulary consumed by pinned OpenCode. It never owns an agent, model loop, OpenCode database, source-harness store, or canonical session.

Re-exports§

pub use opencode_http_v1_2_15::AdapterError;
pub use opencode_http_v1_2_15::OpenCodeAdapter;
pub use opencode_http_v1_2_15::OpenCodeEventProjection;
pub use opencode_http_v1_2_15::OpenCodeRequest;
pub use opencode_http_v1_2_15::OpenCodeResponse;
pub use opencode_http_v1_2_15::ResponseBody;
pub use opencode_http_v1_2_15::HISTORY_LIMIT;
pub use opencode_http_v1_2_15::OPENCODE_CLI_VERSION;
pub use opencode_http_v1_2_15::PROTOCOL_NAMESPACE;
pub use server::CredentialError;
pub use server::OpenCodeClientCredential;
pub use server::OpenCodeEndpoint;
pub use server::OpenCodeEndpointHealth;
pub use server::OpenCodeServerHandle;

Modules§

opencode_http_v1_2_15
Compatibility namespace for the HTTP protocol spoken by OpenCode 1.2.15.
server
Authenticated numeric-loopback HTTP host for the stock OpenCode adapter.