.config opencode agent dir? why not agents?
Question
The mainstream configuration for agents makes use of the agents directory. Why doesn’t “opencode” use the plural form?
This issue might be a duplicate of existing issues. Please check:
- #4170: Reorganize and document dirs for config, agents, auth credentials, sessions - discusses the overall directory structure and naming conventions for configuration and agent storage
Feel free to ignore if this doesn't address your specific case.
Honestly good question, but in the end I think it comes down to preference, as no tools share the opencode folder (I would hope), so naming this agent/ instead of agents/ is a mere s difference, with no functional background. No code owner, but that is what I can make of this.
It's likely an intentional design choice by the maintainers. You'll notice every directory, export, API etc is named in the singular. So for consistency within the codebase I guess that makes sense to extend to configuration.
we just use singular forms that is the preference dax has just stylistic