diff options
| author | Dax Raad <[email protected]> | 2025-09-26 05:33:38 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-09-26 05:33:38 -0400 |
| commit | f2b547cc45aa169a13956fb5d6f09e811c59c261 (patch) | |
| tree | 52fb4c96528468841f2249a4fc0ccbbf5bb42c55 | |
| parent | 70310a37b323f1c55a73ed3391dd956f1e0ae0ce (diff) | |
| download | opencode-f2b547cc45aa169a13956fb5d6f09e811c59c261.tar.gz opencode-f2b547cc45aa169a13956fb5d6f09e811c59c261.zip | |
fix erroring on custom tool folder
| -rw-r--r-- | packages/opencode/src/config/config.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/opencode/src/config/config.ts b/packages/opencode/src/config/config.ts index c25c6ea04..6948e1df5 100644 --- a/packages/opencode/src/config/config.ts +++ b/packages/opencode/src/config/config.ts @@ -118,7 +118,7 @@ export namespace Config { }) async function assertValid(dir: string) { - const ALLOWED_DIRS = new Set(["agent", "command", "mode", "plugin"]) + const ALLOWED_DIRS = new Set(["agent", "command", "mode", "plugin", "tool"]) const UNEXPECTED_DIR_GLOB = new Bun.Glob("*/") for await (const item of UNEXPECTED_DIR_GLOB.scan({ absolute: true, cwd: dir, onlyFiles: false })) { const dirname = path.basename(item) |
