|
@@ -24,6 +24,7 @@ export namespace Plugin {
|
|
|
const state = Instance.state(async () => {
|
|
const state = Instance.state(async () => {
|
|
|
const client = createOpencodeClient({
|
|
const client = createOpencodeClient({
|
|
|
baseUrl: "http://localhost:4096",
|
|
baseUrl: "http://localhost:4096",
|
|
|
|
|
+ directory: Instance.directory,
|
|
|
// @ts-ignore - fetch type incompatibility
|
|
// @ts-ignore - fetch type incompatibility
|
|
|
fetch: async (...args) => Server.App().fetch(...args),
|
|
fetch: async (...args) => Server.App().fetch(...args),
|
|
|
})
|
|
})
|