docs: clarify embedded sdk roadmap
This commit is contained in:
Vendored
+14
-5
@@ -1,12 +1,21 @@
|
|||||||
---
|
---
|
||||||
title: "SDK"
|
title: "SDK"
|
||||||
description: "Embed an OpenCode host in an Effect application."
|
description: "Embed OpenCode directly in your application."
|
||||||
---
|
---
|
||||||
|
|
||||||
`@opencode-ai/sdk-next` is the Effect-native SDK for applications that need to
|
We're working on a general-purpose SDK for embedding OpenCode directly inside
|
||||||
host OpenCode in-process. Unlike the [network client](/build/client), it assembles the
|
your application. The regular SDK is coming soon.
|
||||||
OpenCode server and routes API calls through its HTTP router in memory. It opens
|
|
||||||
no HTTP listener and adds no network hop between the client and server.
|
An Effect-native version is available now for applications built with Effect.
|
||||||
|
Its current documentation is below. For other applications, run OpenCode as a
|
||||||
|
server and use the [TypeScript client](/build/client) in the meantime.
|
||||||
|
|
||||||
|
## Effect
|
||||||
|
|
||||||
|
`@opencode-ai/sdk-next` hosts OpenCode in-process. Unlike the
|
||||||
|
[network client](/build/client), it assembles the OpenCode server and routes API
|
||||||
|
calls through its HTTP router in memory. It opens no HTTP listener and adds no
|
||||||
|
network hop between the client and server.
|
||||||
|
|
||||||
<Warning>
|
<Warning>
|
||||||
The V2 SDK is beta and currently private to the OpenCode workspace. It is not
|
The V2 SDK is beta and currently private to the OpenCode workspace. It is not
|
||||||
|
|||||||
Reference in New Issue
Block a user