diff options
| author | opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> | 2026-03-27 13:53:59 +0000 |
|---|---|---|
| committer | opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> | 2026-03-27 13:53:59 +0000 |
| commit | d8ad8338f5311ac6692ebc362d28389e028f6aad (patch) | |
| tree | f2da2829b1ff1ccb3b64132d7c731d9ef4b21805 /packages | |
| parent | 7b449181498252f64eff7410c39aeebe7d2f1a88 (diff) | |
| download | opencode-d8ad8338f5311ac6692ebc362d28389e028f6aad.tar.gz opencode-d8ad8338f5311ac6692ebc362d28389e028f6aad.zip | |
chore: generate
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/opencode/src/tool/registry.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/opencode/src/tool/registry.ts b/packages/opencode/src/tool/registry.ts index 1e2b72ee2..eeb733480 100644 --- a/packages/opencode/src/tool/registry.ts +++ b/packages/opencode/src/tool/registry.ts @@ -92,8 +92,8 @@ export namespace ToolRegistry { if (matches.length) yield* config.waitForDependencies() for (const match of matches) { const namespace = path.basename(match, path.extname(match)) - const mod = yield* Effect.promise(() => - import(process.platform === "win32" ? match : pathToFileURL(match).href), + const mod = yield* Effect.promise( + () => import(process.platform === "win32" ? match : pathToFileURL(match).href), ) for (const [id, def] of Object.entries<ToolDefinition>(mod)) { custom.push(fromPlugin(id === "default" ? namespace : `${namespace}_${id}`, def)) |
