Skip to content

Add settings for claude sandbox#2031

Merged
eddymoulton merged 15 commits into
mainfrom
em/add-settings-for-claude-sandbox
Jun 24, 2026
Merged

Add settings for claude sandbox#2031
eddymoulton merged 15 commits into
mainfrom
em/add-settings-for-claude-sandbox

Conversation

@eddymoulton

@eddymoulton eddymoulton commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Related to MD-2116
Related to MD-2135

Changes from many separate properties to a single json blob for sandbox settings, configured via server.

This matches the strategy we're doing for permissions configuration, where users can enter the values in json via the UI, which more closely matches how they use Claude locally + is more flexible.

We remove a lot of defaults in this change, instead we can set these on the frontend. This also gives users more flexibility.

While I'm here, I renamed Srt references to SandboxRuntime (requested by Liam)

@eddymoulton eddymoulton marked this pull request as ready for review June 23, 2026 05:22

@liam-mackie liam-mackie left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nits but lgtm

Comment thread source/Calamari.AiAgent/ClaudeCodeBehaviour/InvokeClaudeCodeBehaviour.cs Outdated
Comment thread source/Calamari.AiAgent/ClaudeCodeBehaviour/SandboxRuntimeVersionGuard.cs Outdated

public static class SandboxSettingsWriter
{
const string ClaudeDirName = ".claude";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be something we put at a top-level static somewhere instead? I've used this exact pattern too 😓

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll let you move it in your PR as a clean up

eddymoulton and others added 2 commits June 24, 2026 16:45
@eddymoulton eddymoulton merged commit 3c30219 into main Jun 24, 2026
34 checks passed
@eddymoulton eddymoulton deleted the em/add-settings-for-claude-sandbox branch June 24, 2026 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants