OpenTUI is here (#2685)

This commit is contained in:
Dax 2025-10-31 15:07:36 -04:00 • committed by GitHub
commit 96bdeb3c7b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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()