[PR #11123] fix: don't discover hidden agents/commands/plugins/Claude Code-style skills (resolves #11122) #13662

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

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

State: open
Merged: No


What does this PR do?

Removes the dot parameter from the agent/command/plugin/Claude Code-style skill discovery functions, preventing objects with hidden file names from being discovered by OpenCode.

Doing this would both remove a needless and confusing inconsistency and allow for the convenience of being able to temporarily disable these objects from being discovered by renaming them to prefix a . character in the event that one wanted to temporarily hide them from OpenCode while performing some sort of testing (slightly more convenient than moving them out of the relevant directory entirely, as would currently be necessary).

Before

Screenshot 2026-01-29 at 6 16 13 AM

After

Screenshot 2026-01-29 at 6 21 26 AM

Resolves #11122.

How did you verify your code works?

Manual A/B testing, bun test, bun typecheck.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/11123 **State:** open **Merged:** No --- ### What does this PR do? Removes the dot parameter from the agent/command/plugin/Claude Code-style skill discovery functions, preventing objects with hidden file names from being discovered by OpenCode. Doing this would both remove a needless and confusing inconsistency and allow for the convenience of being able to temporarily disable these objects from being discovered by renaming them to prefix a `.` character in the event that one wanted to temporarily hide them from OpenCode while performing some sort of testing (slightly more convenient than moving them out of the relevant directory entirely, as would currently be necessary). #### Before <img width="781" height="444" alt="Screenshot 2026-01-29 at 6 16 13 AM" src="https://github.com/user-attachments/assets/c2cca448-da37-4648-95e0-91c77cf72a8e" /> #### After <img width="721" height="412" alt="Screenshot 2026-01-29 at 6 21 26 AM" src="https://github.com/user-attachments/assets/b34e789a-5241-44c8-9786-4d84176c757b" /> Resolves #11122. ### How did you verify your code works? Manual A/B testing, `bun test`, `bun typecheck`.
yindo added the pull-request label 2026-02-16 18:18:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13662