[PR #1999] tweak(config): make markdown agent files in subfolder discoverable .opencode/agent/some-folder/*.md #10155

Closed
opened 2026-02-16 18:14:46 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/1999

State: closed
Merged: Yes


Summary

Allow discovery of nested agent markdown files and include folder path in agent names.

image

Changes

  • Search for agent markdown using recursive glob patterns (agent//*.md and .opencode/agent//*.
    md) so nested files are discovered.
  • Minor refactor to handle agent name extraction and avoid collisions for nested agents.
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/1999 **State:** closed **Merged:** Yes --- ## Summary Allow discovery of nested agent markdown files and include folder path in agent names. <img width="247" height="73" alt="image" src="https://github.com/user-attachments/assets/7f9bfc00-c573-4e03-9134-7a4c4f8a49b2" /> ## Changes - Search for agent markdown using recursive glob patterns (agent/**/*.md and .opencode/agent/**/*. md) so nested files are discovered. - Minor refactor to handle agent name extraction and avoid collisions for nested agents.
yindo added the pull-request label 2026-02-16 18:14:46 -05:00
yindo closed this issue 2026-02-16 18:14:46 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10155