You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A way to disable .gitignore-based filtering to the list tool #2517
opencode — a great tool to create LLM-based workflows with its API. Because of security, opencode is only allowed to work with files in some project. However, sometimes in workflows we need to send to its context some additional data via files. The best possible approach is to put them in the project's directory. As far as files from .gitignore are ignored, we can't add our generated files to gitignore but it lets us to a lot of files miscommited to the repository and other situations
Can we add some environment variable or CLI flag to disable this behaviour?
opencode uses ripgrep under the hood so by default it respects .gitignore, you can create a .ignore file and explicitly allow certain paths if you'd like, example:
cat .ignore
!node_modules/
In this example i am allowing node_modules to be searchable by ripgrep
Activity
rekram1-node commentedon Sep 9, 2025
opencode uses ripgrep under the hood so by default it respects .gitignore, you can create a .ignore file and explicitly allow certain paths if you'd like, example:
In this example i am allowing node_modules to be searchable by ripgrep
rekram1-node commentedon Dec 28, 2025
[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!