From 96d5a45c133f108fe32413fded271f31c923ff9a Mon Sep 17 00:00:00 2001 From: JPeetz <[email protected]> Date: Tue, 4 Aug 2026 12:35:18 +0100 Subject: [PATCH] feat(desktop): add Cline as a tier-2 preset harness MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds Cline to the built-in preset harness catalog. Cline exposes a native ACP mode via 'cline --acp' — no adapter needed, no vendor CLI underlying_cli linkage required. Ships against the existing preset infrastructure (PresetHarness struct + discovery/presets.rs module extracted in #3225). Zero refactor surface — a single 9-line additive entry into PRESET_HARNESSES. Signed-off-by: JPeetz <[email protected]> --- .../src-tauri/src/managed_agents/discovery/presets.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/desktop/src-tauri/src/managed_agents/discovery/presets.rs b/desktop/src-tauri/src/managed_agents/discovery/presets.rs index 438cb5eb863..9f356c09918 100644 --- a/desktop/src-tauri/src/managed_agents/discovery/presets.rs +++ b/desktop/src-tauri/src/managed_agents/discovery/presets.rs @@ -188,6 +188,15 @@ pub(super) const PRESET_HARNESSES: &[PresetHarness] = &[ Gateway's own environment separately.", underlying_cli: None, }, + PresetHarness { + id: "cline", + label: "Cline", + command: "cline", + args: &["--acp"], + install_instructions_url: "https://docs.cline.bot/cli/overview", + install_hint: "Buzz talks to Cline through its CLI's ACP mode (cline --acp).", + underlying_cli: None, + }, ]; /// Return preset definitions for the spawn/readiness registry.