--yolo = auto-approve permissions, needed for unattended runs.
This commit is contained in:
@@ -58,7 +58,7 @@ export function createCursorRunner(opts: {
|
||||
|
||||
const start = Date.now();
|
||||
const proc = Bun.spawn(
|
||||
[agentBin, '-p', '--output-format', 'text', '-f', promptFile],
|
||||
[agentBin, '--yolo', '-p', '--output-format', 'text', '-f', promptFile],
|
||||
{
|
||||
cwd,
|
||||
env: { ...process.env, CURSOR_API_KEY: cursorApiKey },
|
||||
|
||||
Reference in New Issue
Block a user