From 35e1bfda03ce569fc19325d39d6b1890b9fa7745 Mon Sep 17 00:00:00 2001 From: Muse Sweep Date: Sun, 25 Oct 2026 09:25:17 -0500 Subject: [PATCH] fix(home): correct dead opencode env vars (#698) OPENCODE_EXPERIMENTAL_DISABLE_FILEWATCHER was read nowhere in opencode; the file watcher gate (packages/cli/src/server-process.ts) reads OPENCODE_DISABLE_FILEWATCHER. Rename so Drew's watcher-off intent (2026-10-20) actually takes effect. OPENCODE_EXPERIMENTAL_LSP_TOOL has no reader in opencode (opencode#105 adjudicated it dead); drop it, mirroring PR #695's cleanup. --- home/common/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/home/common/default.nix b/home/common/default.nix index ff99340838..5a30aaf1b1 100644 --- a/home/common/default.nix +++ b/home/common/default.nix @@ -1425,7 +1425,6 @@ in OPENCODE_EXPERIMENTAL_PLAN_MODE = "1"; OPENCODE_EXPERIMENTAL_SCOUT = "1"; OPENCODE_EXPERIMENTAL_WORKSPACES = "1"; - OPENCODE_EXPERIMENTAL_LSP_TOOL = "1"; OPENCODE_EXPERIMENTAL_OXFMT = "1"; OPENCODE_EXPERIMENTAL_EXA = "1"; OPENCODE_EXPERIMENTAL_EVENT_SYSTEM = "1"; @@ -1440,7 +1439,10 @@ in # File watcher off by default (Drew, 2026-10-20): the working trees # are giant, and watching costs more than the live-external-edit # awareness it buys. Diffs are git-computed on demand either way. - OPENCODE_EXPERIMENTAL_DISABLE_FILEWATCHER = "1"; + # (Name corrected 2026-10-25 per #698: opencode's server-process.ts + # reads OPENCODE_DISABLE_FILEWATCHER; the EXPERIMENTAL_ name was + # read nowhere, so the watcher was silently still on.) + OPENCODE_DISABLE_FILEWATCHER = "1"; # XDG_CACHE_HOME = "$HOME/.cache"; # XDG_CONFIG_DIRS = "/etc/xdg"; # XDG_CONFIG_HOME = "$HOME/.config";