Skip to content

Commit 010b72a

Browse files
cooooooooooodeBryceRyan
authored andcommitted
fix: add directory parameter to plugin client for multi-project support (anomalyco#11344)
Co-authored-by: cooooooooooode <[email protected]>
1 parent 3910324 commit 010b72a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/opencode/src/plugin/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export namespace Plugin {
2424
const state = Instance.state(async () => {
2525
const client = createOpencodeClient({
2626
baseUrl: "http://localhost:4096",
27+
directory: Instance.directory,
2728
// @ts-ignore - fetch type incompatibility
2829
fetch: async (...args) => Server.App().fetch(...args),
2930
})

0 commit comments

Comments
 (0)