Cursor
CLI name: cursor · Status: in progress
Prerequisites
Section titled “Prerequisites”Install the Cursor CLI so the agent
binary is on PATH (or set WTEAM_CURSOR_BIN to another name, e.g.
cursor-agent).
Agent config
Section titled “Agent config”cli = "cursor"model = "gpt-5.2-codex" # optional; depends on your Cursor buildprofile = "edit"What wteam runs
Section titled “What wteam runs”Each turn is roughly:
agent -p --output-format stream-json --trust [--model …] [--resume <id>] --workspace <cwd> … <prompt>- Workspace: the turn working directory (main repo or pair worktree).
- First turn: role text is prepended to the user message.
- Later turns:
--resume <session_id>. - Output: JSONL.
resultevent → text and usage (inputTokens, cache fields).
Permissions may add --force (bypass) or write .cursor/cli.json under the
workspace depending on profile translation.
Permissions
Section titled “Permissions”Cursor has no ask decision — profile ask rules become denies (≈). Write rules
scope to path globs (for example scratch/** for reviewers). See
Permissions and wteam permissions --profile edit --cli cursor.
Environment
Section titled “Environment”| Variable | Effect |
|---|---|
WTEAM_CURSOR_BIN |
Agent binary name (default agent) |
See also
Section titled “See also”- Architecture
- Benchmark (
BENCH_CLI=cursordefault in the shared runner)