From 2e216c2f81f0cbfd54802010e4de443b8b2389c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=A9=98?= Date: Fri, 17 Apr 2026 10:49:23 +0000 Subject: [PATCH] revert: restore --yolo flag for cursor agent --yolo = auto-approve permissions, needed for unattended runs. --- packages/pulse/src/workflows/roles/agent-executor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pulse/src/workflows/roles/agent-executor.ts b/packages/pulse/src/workflows/roles/agent-executor.ts index 681c74f..208f330 100644 --- a/packages/pulse/src/workflows/roles/agent-executor.ts +++ b/packages/pulse/src/workflows/roles/agent-executor.ts @@ -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 },