mirror of
https://github.com/sst/opencode.git
synced 2025-08-31 10:17:26 +00:00
chore: add export types in js-sdk (#1923)
Co-authored-by: zwingzheng <zwingzheng@tencent.com>
This commit is contained in:
parent
bca523eb63
commit
b1e584ca1d
1 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,10 @@ import { createClient } from "./gen/client/client.js"
|
|||
import { type Config } from "./gen/client/types.js"
|
||||
import { OpencodeClient } from "./gen/sdk.gen.js"
|
||||
export * from "./gen/types.gen.js"
|
||||
export {
|
||||
type Config,
|
||||
OpencodeClient
|
||||
}
|
||||
import { spawn } from "child_process"
|
||||
|
||||
export function createOpencodeClient(config?: Config) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue