.config opencode agent dir? why not agents? #4240

Closed
opened 2026-02-16 17:43:08 -05:00 by yindo · 4 comments
Owner

Originally created by @crper on GitHub (Jan 5, 2026).

Originally assigned to: @thdxr on GitHub.

Question

The mainstream configuration for agents makes use of the agents directory. Why doesn’t “opencode” use the plural form?

Originally created by @crper on GitHub (Jan 5, 2026). Originally assigned to: @thdxr on GitHub. ### Question The mainstream configuration for agents makes use of the agents directory. Why doesn’t “opencode” use the plural form?
yindo closed this issue 2026-02-16 17:43:08 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 5, 2026):

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.

@github-actions[bot] commented on GitHub (Jan 5, 2026): 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.
Author
Owner

@m10rten commented on GitHub (Jan 5, 2026):

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.

@m10rten commented on GitHub (Jan 5, 2026): 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.
Author
Owner

@ThomasGormley commented on GitHub (Jan 5, 2026):

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.

@ThomasGormley commented on GitHub (Jan 5, 2026): [It's likely an intentional design choice by the maintainers](https://x.com/thdxr/status/1964101709354934306). 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.
Author
Owner

@rekram1-node commented on GitHub (Jan 5, 2026):

we just use singular forms that is the preference dax has just stylistic

@rekram1-node commented on GitHub (Jan 5, 2026): we just use singular forms that is the preference dax has just stylistic
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4240