mirror of
https://github.com/sst/opencode.git
synced 2025-08-21 21:44:08 +00:00
sync
This commit is contained in:
parent
5eb917abba
commit
dd9c0c8309
1 changed files with 6 additions and 2 deletions
|
@ -111,8 +111,7 @@ type IssueQueryResponse = {
|
|||
}
|
||||
}
|
||||
|
||||
const host = "localhost"
|
||||
const server = await createOpencodeServer({ host })
|
||||
const server = await createOpencodeServer()
|
||||
const client = createOpencodeClient({ baseUrl: server.url })
|
||||
|
||||
let input = {
|
||||
|
@ -147,6 +146,11 @@ try {
|
|||
|
||||
// Setup opencode session
|
||||
const repoData = await fetchRepo()
|
||||
|
||||
// TODO
|
||||
const d = await client.app.get<true>()
|
||||
console.log("!@#!@#!", d)
|
||||
|
||||
session = await client.session.create<true>().then((r) => r.data)
|
||||
subscribeSessionEvents()
|
||||
shareId = await (async () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue