Skip to content

Commit af06742

Browse files
la14-1spawn-botclaudeAhmedTMM
authored andcommitted
fix: remove --trust flag from Cursor CLI launch command (#3101)
Cursor CLI v2026.03.25 only allows --trust in headless/print mode. Launching interactively with --trust causes immediate exit with error. Co-authored-by: spawn-bot <spawn-bot@openrouter.ai> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: Ahmed Abushagur <ahmed@abushagur.com>
1 parent 7b1c1a5 commit af06742

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@openrouter/spawn",
3-
"version": "0.28.0",
3+
"version": "0.28.1",
44
"type": "module",
55
"bin": {
66
"spawn": "cli.js"

packages/cli/src/shared/agent-setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1132,7 +1132,7 @@ function createAgents(runner: CloudRunner): Record<string, AgentConfig> {
11321132
configure: () => setupCursorProxy(runner),
11331133
preLaunch: () => startCursorProxy(runner),
11341134
launchCmd: () =>
1135-
'source ~/.spawnrc 2>/dev/null; export PATH="$HOME/.local/bin:$PATH"; agent --endpoint https://api2.cursor.sh --trust',
1135+
'source ~/.spawnrc 2>/dev/null; export PATH="$HOME/.local/bin:$PATH"; agent --endpoint https://api2.cursor.sh',
11361136
updateCmd: 'export PATH="$HOME/.local/bin:$PATH"; agent update',
11371137
},
11381138
};

0 commit comments

Comments
 (0)