Skip to content

Fix Cursor always selecting fast mode - #1691

Merged
ymichael merged 9 commits into
get-bb:mainfrom
georgecollier-nqu:fix/cursor-acp-parameterized-models
Aug 25, 2026
Merged

ymichael merged 9 commits into
get-bb:mainfrom
georgecollier-nqu:fix/cursor-acp-parameterized-models

Conversation

@georgecollier-nqu

@georgecollier-nqu georgecollier-nqu commented Aug 17, 2026 •

Copy link
Copy Markdown
Contributor

What was wrong

Cursor supports a parameterized ACP model picker, but bb did not advertise the client capability. Cursor therefore entered compatibility mode: ACP sessions returned combined variant IDs while bb built the picker from separate Cursor CLI model IDs. The split contracts could omit Grok reasoning levels, and selecting bb's Default tier did not explicitly clear Cursor's persisted Fast preference.

What changed

  • Advertise clientCapabilities._meta.parameterizedModelPicker: true during both ACP model discovery and live start/resume/fork sessions.
  • Discover and select bare ACP model IDs, then apply reasoning through the advertised effort option.
  • Send fast=false for Default and fast=true for Fast. If Cursor advertises Fast but rejects the requested write, fail session construction instead of silently retaining stale provider state.
  • Probe Grok 4.6 and 4.5 first within the existing bounded discovery deadline while preserving agent catalog order.
  • Keep picker organization separate from probe priority: six bare Cursor IDs remain in the primary menu and the rest populate selectedOnlyModels under More models.
  • Preserve existing CLI-backed ACP providers' modelCli.primaryModels behavior and leave agents without a Fast option unchanged.
  • Update the current provider-plugin/ACP-bridge architecture and bump HOST_DAEMON_PROTOCOL_VERSION to 169 relative to current main.

How you verified

  • Added deterministic fake Cursor traffic covering compatibility vs parameterized discovery, discovery/live capability placement, bare IDs, effort mapping, explicit fast=false/fast=true, rejected Fast writes, unsupported Fast providers, Grok-first probing, legacy CLI catalogs, and primary vs selected-only model grouping.
  • pnpm exec turbo run test --filter=@bb/provider-bridge-acp --filter=bb-plugin-provider-acp --filter=@bb/host-daemon-contract --only
    • ACP bridge/catalog/conformance: 284 tests passed.
    • ACP provider plugin: 76 tests passed.
    • Host-daemon contract: 51 tests passed.
  • pnpm exec turbo run typecheck --filter=@bb/provider-bridge-acp --filter=bb-plugin-provider-acp --filter=@bb/host-daemon-contract: all six Turbo tasks passed.
  • Verified eight real Cursor session constructions across Grok 4.5/4.6, medium/high effort, and Default/Fast. All eight provider responses persisted the requested bare model, effort, and Fast value before prompting.
  • Browser QA confirmed the curated six-model primary menu and collapsed More models submenu.

Notes

This change is separate from #1612, which tracks recursive workflow tool schemas. The PR remains draft for maintainer review.

AGENT GENERATED

@georgecollier-nqu georgecollier-nqu changed the title Fix Cursor ACP model and Fast mode selection Fix Cursor always selecting fast mode Aug 17, 2026
@ymichael
ymichael marked this pull request as ready for review August 25, 2026 20:20
@ymichael
ymichael merged commit 5d3e7dd into get-bb:main Aug 25, 2026
15 checks passed
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.

2 participants