diff options
| author | Dax Raad <[email protected]> | 2025-09-26 06:40:41 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-09-26 06:40:41 -0400 |
| commit | 093fbca711a23667094ffbad582bfbb9539e1f4e (patch) | |
| tree | bf0e1718a44d03f18b79bde9f79ebe481d1d53b0 /packages | |
| parent | 81deea855f7e89ebddf3fdb984ab2f4abe2b5cf2 (diff) | |
| download | opencode-093fbca711a23667094ffbad582bfbb9539e1f4e.tar.gz opencode-093fbca711a23667094ffbad582bfbb9539e1f4e.zip | |
core: add themes to allowed config directories
Diffstat (limited to 'packages')
| -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 6948e1df5..9446c012e 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", "tool"]) + const ALLOWED_DIRS = new Set(["agent", "command", "mode", "plugin", "tool", "themes"]) 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) |
