[FEATURE] Non-interrupting way to add directories mid-session
Problem
When Claude is working on a task and you realize you need to add another directory to the context, you must:
- Interrupt Claude mid-task
- Run
/add-dir ../some-directory - Tell Claude to continue (e.g., "sorry to interrupt, please continue")
This causes:
- Loss of focus/momentum for the AI
- Unnecessary context pollution with the interruption exchange
- Poor UX when you just want to expand the workspace
Current Workaround
Pre-configure directories in .claude/settings.json:
{
"permissions": {
"additionalDirectories": ["../other-project/"]
}
}
However, this doesn't help when you discover mid-session that you need a directory you didn't anticipate.
Proposed Solutions
Option A: Allow /add-dir to work silently without requiring a response from Claude. The directory would be added to the context, and Claude would continue its current task uninterrupted.
Option B: Add a keyboard shortcut or side-panel action to add directories that doesn't inject into the conversation flow.
Option C: Allow the user to queue commands (like /add-dir) that execute without interrupting the current generation.
Expected Behavior
Adding a directory mid-session should not require interrupting Claude's current task or polluting the conversation with "please continue" messages.
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗