Referensi konfigurasi Agent CLI untuk cli-config.json
cli-config.json
.
Jenis | Platform | Path |
---|---|---|
Global | macOS/Linux | ~/.cursor/cli-config.json |
Global | Windows | $env:USERPROFILE\.cursor\cli-config.json |
Proyek | Semua | <project>/.cursor/cli.json |
CURSOR_CONFIG_DIR
: path direktori kustomXDG_CONFIG_HOME
(Linux/BSD): menggunakan $XDG_CONFIG_HOME/cursor/cli-config.json
Field | Type | Description |
---|---|---|
version | number | Versi skema config (saat ini: 1 ) |
editor.vimMode | boolean | Aktifkan keybinding Vim (default: false ) |
permissions.allow | string[] | Operasi yang diizinkan (lihat Permissions) |
permissions.deny | string[] | Operasi yang dilarang (lihat Permissions) |
Field | Type | Description |
---|---|---|
model | object | Konfigurasi model yang dipilih |
hasChangedDefaultModel | boolean | Flag override model yang dikelola CLI |
.bad
dan dibuat ulang