diff --git a/client/client.js b/client/client.js index 707fdf7..06480dc 100644 --- a/client/client.js +++ b/client/client.js @@ -55,7 +55,24 @@ window.__ModuleLoader__.load({ { key: 'binary', label: 'slopo executable', hint: 'Empty discovers it: managed install, then PATH, then ~/.local/bin.' }, { key: 'autoInstall', label: 'Install slopo with uv when missing', kind: 'boolean' }, { key: 'sourceDir', label: 'Source directory', hint: 'Empty uses the session working directory.' }, - { key: 'sourceDirExclude', label: 'Exclude patterns', kind: 'list', hint: 'Comma separated, gitignore style.' }, + { + key: 'sourceDirExclude', + label: 'Extra exclude patterns', + kind: 'list', + hint: 'Comma separated, gitignore style. Added to the defaults rather than replacing them.', + }, + { + key: 'useDefaultExcludes', + label: 'Exclude node_modules and build output', + kind: 'boolean', + hint: 'Off means slopo parses your dependencies too — on a repo with node_modules, the difference between ~1,500 and ~114,000 code units.', + }, + { + key: 'maxIndexUnits', + label: 'Refuse to embed more than this many units', + kind: 'number', + hint: 'Makes a large scope a question rather than an hours-long embed. 0 removes the limit.', + }, { key: 'stateDir', label: 'State directory', hint: 'Empty uses $DSH_HOME/dsh-slopo/workspaces/.' }, { key: 'ignoreFile', label: 'Ignore file', hint: 'Point this at the repository to version the dismissed clusters.' }, { key: 'embeddingRequestDelay', label: 'Delay between embedding requests (ms)', kind: 'number' },