mirror of
https://github.com/jlengrand/Maestro.git
synced 2026-03-10 08:31:19 +00:00
feat: Always enable YOLO mode for Claude Code
Maestro requires --dangerously-skip-permissions to function properly. Removed the optional checkbox and made it always-on.
This commit is contained in:
@@ -41,17 +41,8 @@ const AGENT_DEFINITIONS: Omit<AgentConfig, 'available' | 'path'>[] = [
|
||||
name: 'Claude Code',
|
||||
binaryName: 'claude',
|
||||
command: 'claude',
|
||||
args: ['--print', '--verbose', '--output-format', 'stream-json'],
|
||||
configOptions: [
|
||||
{
|
||||
key: 'yoloMode',
|
||||
type: 'checkbox',
|
||||
label: 'YOLO',
|
||||
description: 'Skip permission prompts (runs with --dangerously-skip-permissions)',
|
||||
default: false,
|
||||
argBuilder: (enabled: boolean) => enabled ? ['--dangerously-skip-permissions'] : []
|
||||
}
|
||||
]
|
||||
// YOLO mode (--dangerously-skip-permissions) is always enabled - Maestro requires it
|
||||
args: ['--print', '--verbose', '--output-format', 'stream-json', '--dangerously-skip-permissions'],
|
||||
},
|
||||
{
|
||||
id: 'openai-codex',
|
||||
|
||||
Reference in New Issue
Block a user