mirror of
https://github.com/esengine/DeepSeek-Reasonix.git
synced 2026-11-11 17:10:38 -10:00
The workspace file panel and its change watcher reused fileref.SkipEntry, the "@" reference search's skip predicate. That predicate also skips skipDirPaths, a table of this repository's own generated-output paths keyed by workspace-relative path, so "tmp", "bin" and "stage" matched the top-level directory of every user workspace and vanished from the panel, and changes under them were dropped by the watcher. Split the predicate: fileref.SkipBrowseEntry keeps only the name-based noise (VCS stores, dependency trees, build outputs) and is what the panel and the watcher use; SkipEntry, used by "@" search, still adds the repository paths. Tests: TestWorkspacePanelListsGenericTopLevelDirectories and TestWorkspaceWatchSeesChangesUnderGenericTopLevelDirectories fail on the base (tmp, bin and stage are missing from the listing and their changes are skipped) and pass with the fix; TestSearchSkipsRepoOutputPathsThatBrowsingShows keeps "@" search skipping tmp/. TestSearchFileRefsFindsNestedBasename now holds the new contract: ListDir shows bin/, stage/, tmp/ and desktop/frontend/wailsjs while "@" search still skips them.