[PR #11393] feat: add regex command filter for slash commands #13772

Open
opened 2026-02-16 18:18:36 -05:00 by yindo · 0 comments
Owner

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

State: open
Merged: No


What does this PR do?

This PR adds a new config field, command_filter, that lets the user filter out slash-commands, regardless of source. I find this particularly helpful because many plugins add a ton of commands that are never used, which end up just bloating the interface.

Closes #11394.

How did you verify your code works?

Added tests & ran them. I also checked that the TUI commands are filtered, using bun dev.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/11393 **State:** open **Merged:** No --- ### What does this PR do? This PR adds a new config field, `command_filter`, that lets the user filter out slash-commands, regardless of source. I find this particularly helpful because many plugins add a ton of commands that are never used, which end up just bloating the interface. Closes #11394. ### How did you verify your code works? Added tests & ran them. I also checked that the TUI commands are filtered, using `bun dev`.
yindo added the pull-request label 2026-02-16 18:18:36 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13772