feat(desktop): add Cline as a tier-2 preset harness - #3518
Closed
JPeetz wants to merge 1 commit into
Closed
Conversation
Cline ships a standalone CLI (npm i -g cline) with native ACP support via `cline --acp`, matching the shape of the other flag-preset harnesses (opencode, kimi, cursor). No adapter needed. Split the tier-2 PresetHarness block (struct, PRESET_HARNESSES, and its two accessor fns) out of discovery.rs into a new sibling module, discovery/preset_harnesses.rs. discovery.rs had already reached the desktop file-size ratchet (1860 lines); any further PresetHarness addition — this one included — failed the ratchet check. The split gives both files headroom again for future presets. Signed-off-by: JPeetz <88510961+JPeetz@users.noreply.github.com>
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
npm i -g cline, native ACP viacline --acp) as a tier-2PresetHarness, same shape asopencode/kimi/cursor— no adapter needed, no PATH gap.PRESET_HARNESSES, and its two accessor fns) out ofdiscovery.rsinto a new sibling modulediscovery/preset_harnesses.rs.discovery.rshad already reached the desktop file-size ratchet (1860 lines), so any barePRESET_HARNESSESaddition — this one included — failedpnpm check:file-sizes. The split gives both files headroom for future presets (this repo's Gemini CLI preset PR hit the identical ratchet independently and needed the same split).Test plan
cargo fmt --checkcleancargo clippy --all-targets -- -D warningscleannode desktop/scripts/check-file-sizes.mjsexit 0 (ratchet check)cline --acp(not yet run in this environment)🤖 Generated with a Buzz managed agent, coordinated in https://github.com/block/buzz channel Buzz Integrations