Skip to content

feat(opencode): add categories for agents & pipe through to agent-dialog#28675

Open
bdbch wants to merge 3 commits into
anomalyco:devfrom
bdbch:feature/agent-categories
Open

feat(opencode): add categories for agents & pipe through to agent-dialog#28675
bdbch wants to merge 3 commits into
anomalyco:devfrom
bdbch:feature/agent-categories

Conversation

@bdbch
Copy link
Copy Markdown

@bdbch bdbch commented May 21, 2026

Issue for this PR

Closes #28663

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

This PR adds a new category prop on the agents schema and types + pipes it through to the Agent Dialog. This way users can categorize their Agents accordingly when having a lot of agents. I also added categories to the default agents so they can be listed with custom agents by context. (First I thought about putting them together into a "core" category but that would make no sense imho).

How did you verify your code works?

I tested this locally on my own repos, checked if agents are loaded and categorized correctly, I checked if the search picks up the categories correctly and also the core agents I could directly run (since the other agents are hidden by default).

I wrote the code by hand and used AI to do a review & fix findings it encountered. The documentation was written by my documentation agent.

Screenshots / recordings

grafik grafik grafik grafik

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions
Copy link
Copy Markdown
Contributor

Hey! Your PR title Feature/agent categories doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@bdbch bdbch changed the title Feature/agent categories Feature: Add categories for agents May 21, 2026
@bdbch bdbch changed the title Feature: Add categories for agents feat(cli): add categories for agents & pipe through to agent-dialog May 21, 2026
@bdbch bdbch changed the title feat(cli): add categories for agents & pipe through to agent-dialog feat(opencode): add categories for agents & pipe through to agent-dialog May 21, 2026
@bdbch
Copy link
Copy Markdown
Author

bdbch commented May 21, 2026

Updated the name and also added documentation, my bad. Should've read the contribution guidelines more in-depth. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: Add a "category" prop to the agents & sort + organize the Agents Modal

1 participant