add opencode attach command to connect to a remote opencode server
This commit is contained in:
parent
259c722208
commit
40c206c2f9
1 changed files with 58 additions and 409 deletions
|
|
@ -15,7 +15,6 @@ export namespace Plugin {
|
|||
const state = Instance.state(async () => {
|
||||
const client = createOpencodeClient({
|
||||
baseUrl: "http://localhost:4096",
|
||||
// @ts-expect-error
|
||||
fetch: async (...args) => Server.App().fetch(...args),
|
||||
})
|
||||
const config = await Config.get()
|
||||
|
|
|
|||
Loading…
Reference in a new issue