Vol. I · No. 1Edition: MorningEst. 2026AboutSearchRSS

The Sand Paper

Finding grains of sand with grains of sand.
A Journal of Intelligence Transfer
Agents & Coding

Four OpenCode Config Fixes You Can Paste Today

Rebind Ctrl+C, trust a host, quiet the file watcher and let the agent read .env files.

Four small edits, each one restart away.

@JayQinQT has been posting short fixes for OpenCode and other harnesses. Four from overnight:

ProblemFix
Ctrl+C kills the whole TUICtrl+C is bound to app_exit. In ~/.config/opencode/tui.json set "keybinds": { "app_exit": "ctrl+q" }. Interrupt a session with Escape.
OpenCode asks every time the agent fetches a URLIn opencode.json, under "permission" → "webfetch", keep "*": "ask" and set your trusted hosts to "allow".
OpenCode stutters after prisma generateA custom generated/ folder is not auto-ignored, so the watcher floods with file events. Add "watcher": { "ignore": ["**/generated/**"] }.
.env files cannot be readBy default .env and .env.* reads are denied, except .env.example. Set "permission": { "read": { "*.env": "ask", "*.env.*": "ask" } }.
Restart the TUI after each change. Source: @JayQinQT’s posts.

The .env default is a safety choice. Switching it to ask, rather than allow, keeps a prompt in front of every read.

Sources

  1. @JayQinQT on X · Oct 23, 4:48 AM PT
  2. @JayQinQT on X · Oct 22, 11:28 PM PT
  3. @JayQinQT on X · Oct 22, 8:53 PM PT
  4. @JayQinQT on X · Oct 22, 6:55 PM PT
Back to front pageMore in Agents & Coding