Référence de configuration de l’Agent CLI pour cli-config.json
cli-config.json
.
Type | Plateforme | Chemin |
---|---|---|
Global | macOS/Linux | ~/.cursor/cli-config.json |
Global | Windows | $env:USERPROFILE\.cursor\cli-config.json |
Projet | Toutes | <project>/.cursor/cli.json |
CURSOR_CONFIG_DIR
: chemin de répertoire personnaliséXDG_CONFIG_HOME
(Linux/BSD) : utilise $XDG_CONFIG_HOME/cursor/cli-config.json
Champ | Type | Description |
---|---|---|
version | number | Version du schéma de config (actuelle : 1 ) |
editor.vimMode | boolean | Activer les raccourcis Vim (par défaut : false ) |
permissions.allow | string[] | Opérations autorisées (voir Permissions) |
permissions.deny | string[] | Opérations interdites (voir Permissions) |
Champ | Type | Description |
---|---|---|
model | object | Configuration du modèle sélectionné |
hasChangedDefaultModel | boolean | Indicateur de remplacement du modèle géré par la CLI |
.bad
puis recréés