diff --git a/crates/executors/default_profiles.json b/crates/executors/default_profiles.json index 299e4880..dd0d7632 100644 --- a/crates/executors/default_profiles.json +++ b/crates/executors/default_profiles.json @@ -153,6 +153,12 @@ "force": true, "model": "grok" } + }, + "COMPOSER_1": { + "CURSOR_AGENT": { + "force": true, + "model": "composer-1" + } } }, "COPILOT": { diff --git a/crates/executors/src/executors/cursor.rs b/crates/executors/src/executors/cursor.rs index e8a2ef5b..e5e20e48 100644 --- a/crates/executors/src/executors/cursor.rs +++ b/crates/executors/src/executors/cursor.rs @@ -40,7 +40,9 @@ pub struct CursorAgent { #[schemars(description = "Force allow commands unless explicitly denied")] pub force: Option, #[serde(default, skip_serializing_if = "Option::is_none")] - #[schemars(description = "auto, sonnet-4.5, sonnet-4.5-thinking, gpt-5, opus-4.1, grok")] + #[schemars( + description = "auto, sonnet-4.5, sonnet-4.5-thinking, gpt-5, opus-4.1, grok, composer-1" + )] pub model: Option, #[serde(flatten)] pub cmd: CmdOverrides, diff --git a/shared/schemas/cursor_agent.json b/shared/schemas/cursor_agent.json index 0dc4ab0a..811c428e 100644 --- a/shared/schemas/cursor_agent.json +++ b/shared/schemas/cursor_agent.json @@ -19,7 +19,7 @@ ] }, "model": { - "description": "auto, sonnet-4.5, sonnet-4.5-thinking, gpt-5, opus-4.1, grok", + "description": "auto, sonnet-4.5, sonnet-4.5-thinking, gpt-5, opus-4.1, grok, composer-1", "type": [ "string", "null"