opencode icon indicating copy to clipboard operation
opencode copied to clipboard

[FEATURE]: Show included Agents.MD in the sidebar

Open zRelux opened this issue 1 month ago • 4 comments

Feature hasn't been suggested before.

  • [x] I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Would be nice to show in the sidebar the auto loaded AGENTS.md files, given that I have many in the codebase I would like to know how many have been loaded

zRelux avatar Nov 28 '25 18:11 zRelux

This issue might be a duplicate of existing issues. Please check:

  • #4479: [FEATURE]: Configurable instruction file search boundary and file types
  • #4758: Issue Report: Custom instruction files in opencode.jsonc not being loaded
  • #4483: [BUG]: Subagents inappropriately inherit main agent instructions from CLAUDE.md/AGENTS.md

Feel free to ignore if none of these address your specific case.

github-actions[bot] avatar Nov 28 '25 18:11 github-actions[bot]

idk if the sidebar is the best place but I think we should have some /context or something to help you understand whats been loaded

rekram1-node avatar Nov 28 '25 22:11 rekram1-node

Yes that would work for me as well! Also I was wondering does OpenCode inject AGENTS.md in subfolder when I file gets read? The docs don't mention it but to me seems like it doesn't

zRelux avatar Nov 29 '25 10:11 zRelux

it doesnt rn we did talk about doing that at one point tho

rekram1-node avatar Nov 29 '25 17:11 rekram1-node