diff options
| author | OpeOginni <[email protected]> | 2025-09-02 16:46:00 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-09-02 09:46:00 -0500 |
| commit | 3ee4280dfa56e05cf2cc80a50fc97176da99cf29 (patch) | |
| tree | 025ffccc6f10c527a463295f96fbc333e73d4cf9 | |
| parent | 26fbf9e647c87252038125f72d32003f00b2f08e (diff) | |
| download | opencode-3ee4280dfa56e05cf2cc80a50fc97176da99cf29.tar.gz opencode-3ee4280dfa56e05cf2cc80a50fc97176da99cf29.zip | |
fix: local subdirectory subagents not being picked up (#2376)
| -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 135c0e80c..fbb99512f 100644 --- a/packages/opencode/src/config/config.ts +++ b/packages/opencode/src/config/config.ts @@ -45,7 +45,7 @@ export namespace Config { result.agent = result.agent || {} const markdownAgents = [ ...(await Filesystem.globUp("agent/**/*.md", Global.Path.config, Global.Path.config)), - ...(await Filesystem.globUp(".opencode/agent/*.md", Instance.directory, Instance.worktree)), + ...(await Filesystem.globUp(".opencode/agent/**/*.md", Instance.directory, Instance.worktree)), ] for (const item of markdownAgents) { const content = await Bun.file(item).text() |
