Accept trust dialog for root project in claude.json
This commit is contained in:
parent
1382f55964
commit
8149a6add3
|
|
@ -163,7 +163,7 @@ async function configureEnvironment(home: string, log?: (msg: string) => void, a
|
||||||
const settingsJson = JSON.stringify(apiKey
|
const settingsJson = JSON.stringify(apiKey
|
||||||
? { apiKeyHelper: "~/.claude/api-key-helper.sh", skipDangerousModePermissionPrompt: true, hooks }
|
? { apiKeyHelper: "~/.claude/api-key-helper.sh", skipDangerousModePermissionPrompt: true, hooks }
|
||||||
: { 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
|
// Write the helper script to a temp file and copy it in so the key
|
||||||
// never appears in a process argument visible in `ps`.
|
// never appears in a process argument visible in `ps`.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user