It should be possible to instruct opencode which files to ignore #3054

Open
opened 2026-02-16 17:38:24 -05:00 by yindo · 1 comment
Owner

Originally created by @tiberiuichim on GitHub (Nov 22, 2025).

Originally assigned to: @rekram1-node on GitHub.

https://github.com/sst/opencode/blob/85284df72546b66854875a6bd95b3a8ca2de4adb/packages/opencode/src/tool/read.ts#L63-L70

Maybe something like this: https://geminicli.com/docs/cli/gemini-ignore/ ?

Originally created by @tiberiuichim on GitHub (Nov 22, 2025). Originally assigned to: @rekram1-node on GitHub. https://github.com/sst/opencode/blob/85284df72546b66854875a6bd95b3a8ca2de4adb/packages/opencode/src/tool/read.ts#L63-L70 Maybe something like this: https://geminicli.com/docs/cli/gemini-ignore/ ?
Author
Owner

@rekram1-node commented on GitHub (Nov 22, 2025):

yeah we should make it configurable, idk if we will do aiexclude unless other tools also have adopted it

I think we just need a better permission system so you could say:

for read tool exclude these or soemthing

@rekram1-node commented on GitHub (Nov 22, 2025): yeah we should make it configurable, idk if we will do aiexclude unless other tools also have adopted it I think we just need a better permission system so you could say: for read tool exclude these or soemthing
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3054