feat: add additionalDirs setting for cross-directory access#13
Draft
morganhein wants to merge 1 commit intomoazbuilds:masterfrom
Draft
feat: add additionalDirs setting for cross-directory access#13morganhein wants to merge 1 commit intomoazbuilds:masterfrom
morganhein wants to merge 1 commit intomoazbuilds:masterfrom
Conversation
When security is not "unrestricted", Claude sessions are scoped to the project directory. This adds an `additionalDirs` setting so the daemon can automatically pass `--add-dir` flags, and the scope prompt dynamically includes additional allowed directories. - Settings schema, parsing, and defaults in config.ts - Dynamic DIR_SCOPE_PROMPT and --add-dir injection in runner.ts - Startup logging and hot-reload detection in start.ts - Interactive setup question in start.md - dirs add/remove/clear/list sub-commands in config.md Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Owner
|
Cool PR, thank you! before I merge it, you're can update the commit to be under your name instead of claude code, if that matters to you. |
Author
|
Honestly this is my bad. I was trying to set up a local fork that I could have my bots auto-submit PR's into, and was manually testing, and mis-clicked to upstream this. I don't mind upstreaming it, just a little premature at the moment. I don't mind who it's attributed to. I'll convert this to a draft and move back when it's tested. |
Fenrur
added a commit
to Fenrur/claudeclaw
that referenced
this pull request
Mar 13, 2026
From upstream PR moazbuilds#13 by morganhein. Allows configuring additional directories Claude can access beyond the project root, with validation and hot-reload support. Co-Authored-By: Morgan <morganhein@users.noreply.github.com>
Fenrur
added a commit
to Fenrur/claudeclaw
that referenced
this pull request
Mar 13, 2026
… and /kill command From upstream PR moazbuilds#21 by 1872-svg (streaming + verbose) and PR moazbuilds#20 (fork agent). - Streaming output via editMessageText for real-time response display - /verbose command to show tool calls in Telegram - /fork command for parallel lightweight agent using Haiku - /kill command to terminate active agent - Auto-routing to fork when main agent is busy - Merged with additionalDirs (moazbuilds#13) and session corruption fix (moazbuilds#26) Co-Authored-By: 1872-svg <1872-svg@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When security is not "unrestricted", Claude sessions are scoped to the project directory. This adds an
additionalDirssetting so the daemon can automatically pass--add-dirflags, and the scope prompt dynamically includes additional allowed directories.