[FEATURE] Interactive /add-dir: accept multiple paths + load named directory bundles
Problem
The in-session /add-dir slash command accepts only one path per invocation. Adding several directories mid-session means typing /add-dir once per directory — five repos, five commands.
The launch-time --add-dir flag is variadic and permissions.additionalDirectories can pre-load dirs, but neither helps once a session is already running. If you decide after starting which related repos to pull in, the only options are repeating the slash command N times or restarting the session — which defeats doing it mid-session.
Requests
- Multiple paths in a single
/add-dir— mirror the variadic launch flag:/add-dir /path/a /path/b /path/c. - Named, reusable directory bundles — define a set of directories once (e.g. in settings) and load the whole set in one in-session command, instead of retyping the same paths every session. Sketch:
/add-dir @my-bundle.
Why
Common in multi-repo work — related services living in sibling directories as independent git repos — where which siblings you need only becomes clear after the session is underway. Both features remove repetitive typing without forcing a relaunch.
🤖 Generated with Claude Code
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗