From e149b6a977929c34891e951b40677dca4e24c205 Mon Sep 17 00:00:00 2001 From: dsh-slopo agent Date: Tue, 22 Sep 2026 13:23:49 +0100 Subject: [PATCH] Surface the scope settings on the card Extra exclude patterns, the default-excludes switch, and the backlog budget, each with the number that motivates it. --- client/client.js | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) 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' },