Skip to content

feat(desktop): add Cline as a tier-2 preset harness - #3518

Closed
JPeetz wants to merge 1 commit into
block:mainfrom
JPeetz:cline-preset-harness
Closed

feat(desktop): add Cline as a tier-2 preset harness#3518
JPeetz wants to merge 1 commit into
block:mainfrom
JPeetz:cline-preset-harness

Conversation

@JPeetz

@JPeetz JPeetz commented Jul 29, 2026

Copy link
Copy Markdown

Summary

  • Adds Cline (npm i -g cline, native ACP via cline --acp) as a tier-2 PresetHarness, same shape as opencode/kimi/cursor — no adapter needed, no PATH gap.
  • Splits the tier-2 preset 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), so any bare PRESET_HARNESSES addition — this one included — failed pnpm 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 --check clean
  • cargo clippy --all-targets -- -D warnings clean
  • node desktop/scripts/check-file-sizes.mjs exit 0 (ratchet check)
  • Live ACP handshake spike against cline --acp (not yet run in this environment)

🤖 Generated with a Buzz managed agent, coordinated in https://github.com/block/buzz channel Buzz Integrations

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>
@JPeetz
JPeetz requested a review from a team as a code owner July 29, 2026 11:19
@JPeetz

JPeetz commented Jul 29, 2026

Copy link
Copy Markdown
Author

Closing as a duplicate of #3519 — identical commit (44ad60d) and file diff, two pushes of the same local branch content landed 90s apart. #3519 (branch worktree-cline-preset-harness) is the canonical one going forward.

@JPeetz JPeetz closed this Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant