Skip to content

Commit 5329814

Browse files
fix: add directory parameter to plugin client for multi-project support (#11344)
Co-authored-by: cooooooooooode <[email protected]>
1 parent 2c58dd6 commit 5329814

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)