Smart Files
Use node {baseDir}/smart-files.js only for an explicitly requested part of the workspace. SMART_FILES_WORKSPACE is an operator setting; --dir <path> narrows the scan without expanding the workspace. Symlinks and other linked file paths cannot expand access. --force does not bypass this boundary.
--search <query> [--dir <path>] [--snippets] [--quiet]: search names and bounded text content. Snippets are off by default; turn them on only if approved for display.--quietsuppresses snippets.--info <file>: inspect metadata and detect type.--dedup,--organize,--cleanup,--status: report duplicate groups, categories, cleanup candidates, or workspace statistics. These commands do not move or delete files.--rename <file> <old>:<new>: preview a literal filename substitution without renaming.--watch <directory> [interval-seconds]: monitor in the foreground. This saves paths, hashes, and up to 1,000 change records tomemory/smart-files-journal.json; it does not save file contents. Only start it on request.
Version 2.2.4 applies workspace checks across modes, bounds watch hashing, and uses literal rename matching.
