The open source coding agent.
TypeScript
chore: update `INVALID_DIRS` to include plural 'skills' directory (#6255)
Connor Adams8a2f4ddf7081
diff --git a/packages/opencode/src/config/config.ts b/packages/opencode/src/config/config.tsindex c94a34be0e6..807cd46fd26 100644--- a/packages/opencode/src/config/config.ts+++ b/packages/opencode/src/config/config.ts@@ -155,7 +155,7 @@ export namespace Config {}})- const INVALID_DIRS = new Bun.Glob(`{${["agents", "commands", "plugins", "tools"].join(",")}}/`)+ const INVALID_DIRS = new Bun.Glob(`{${["agents", "commands", "plugins", "tools", "skills"].join(",")}}/`)async function assertValid(dir: string) {const invalid = await Array.fromAsync(INVALID_DIRS.scan({