diff --git a/src/vm.ts b/src/vm.ts index 07fa03d..4737c2c 100644 --- a/src/vm.ts +++ b/src/vm.ts @@ -163,7 +163,7 @@ async function configureEnvironment(home: string, log?: (msg: string) => void, a const settingsJson = JSON.stringify(apiKey ? { apiKeyHelper: "~/.claude/api-key-helper.sh", skipDangerousModePermissionPrompt: true, hooks } : { skipDangerousModePermissionPrompt: true, hooks }) - const claudeJson = JSON.stringify({ hasCompletedOnboarding: true, effortCalloutDismissed: true }) + const claudeJson = JSON.stringify({ hasCompletedOnboarding: true, effortCalloutDismissed: true, projects: { "/": { hasTrustDialogAccepted: true } } }) // Write the helper script to a temp file and copy it in so the key // never appears in a process argument visible in `ps`.