summaryrefslogtreecommitdiffhomepage
path: root/packages
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-09-26 06:40:41 -0400
committerDax Raad <[email protected]>2025-09-26 06:40:41 -0400
commit093fbca711a23667094ffbad582bfbb9539e1f4e (patch)
treebf0e1718a44d03f18b79bde9f79ebe481d1d53b0 /packages
parent81deea855f7e89ebddf3fdb984ab2f4abe2b5cf2 (diff)
downloadopencode-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.ts2
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)