OpenTUI is here (#2685)
This commit is contained in:
parent
81c617770d
commit
96bdeb3c7b
1 changed files with 8455 additions and 712 deletions
|
|
@ -14,6 +14,7 @@ export namespace Plugin {
|
|||
const state = Instance.state(async () => {
|
||||
const client = createOpencodeClient({
|
||||
baseUrl: "http://localhost:4096",
|
||||
// @ts-ignore - fetch type incompatibility
|
||||
fetch: async (...args) => Server.App().fetch(...args),
|
||||
})
|
||||
const config = await Config.get()
|
||||
|
|
|
|||
Loading…
Reference in a new issue