Will not read env even with config set
Description
There seems to be an issues with reading env files. i've written the config file to allow however there still is a block from allowing the agent into the file. any suggestions?
OpenCode version
1.0.152
Steps to reproduce
opencode /session any "analyze our env files for any inconsistencies" The user has blocked you from reading /home/devo/projects/aiq/v2/platform/.env, DO NOT make further attempts to read it
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response
This issue might be a duplicate of existing issues. Please check:
- #4969: Overly restrictive .env file blocking prevents reading legitimate files
Feel free to ignore if none of these address your specific case.
yeah rn it’s blocked ill make it configurable tho
as a work around you can enter shell mode (type ! into prompt)
and then do:
cat .env