Skip to content

Cursor Bridge 7.0.0

Latest

Choose a tag to compare

@Vanyangyang Vanyangyang released this 14 Nov 21:17
· 6 commits to main since this release

Primary route shift: CCE CLI (cli) is now the primary maintenance route and the default CCE source on fresh installations (existing saved cce-source.json preferences are preserved intact). Grok Build Supervisor (0.4.3) moves to maintenance-only status.

Breaking / Default Change

  • Default CCE Source Promoted to cli: readCcePreferences now defaults to source: 'cli' when no cce-source.json file exists. Existing cce-source.json configurations are never overwritten on upgrade; switch back anytime with /cce ide or cursor_cce(action="set", source="ide").
  • 6.x → 7.0.0 Migration & Required Setup:
    1. Install the official Cursor CLI in a new terminal:
      • Windows PowerShell: irm 'https://cursor.com/install?win32=true' | iex
      • macOS / Linux: curl https://cursor.com/install -fsS | bash
    2. Reopen your terminal / client so PATH refreshes, sign in with cursor-agent login, and check cursor-agent status & cursor-agent models.
    3. Set an explicit named CCE model and effort (Auto and default are rejected), e.g. cursor_model(action="set", target="cce", model="grok-4.6-fast", effort="medium"), verify readiness with /cce doctor (cursor_cce(action="doctor")), and bind your project with cursor_init(path="...").

Highlights & Speed Improvements

  • CCE CLI MCP Isolation: Runs official CCE CLI child processes with a private CURSOR_DATA_DIR and projects/<slug>/mcp-disabled.json so CCE turns do not block on external/remote MCP servers or recursively re-spawn the bridge (CURSOR_BRIDGE_CCE_CLI_MCP=native opts out).
  • Official CLI Preflight Cache: Caches inspectCursorCli results by launcher/identity fingerprint (CURSOR_BRIDGE_CLI_INSPECT_TTL_MS=300000), deduplicates concurrent checks, force-refreshes on cursor_init, and invalidates on identity/model/source changes or errors.
  • Warm Account CLI ACP Pool (cursor-cli-acp.mjs): Reuses a persistent single-root Ask-mode ACP session with parameterized model picker (_meta.parameterizedModelPicker: true), strict pre-send read-back verification (model, effort, fast, mode="ask"), read-only permission denial, and safe pre-dispatch fallback to --print (CURSOR_BRIDGE_CCE_CLI_ACP=off disables ACP).
  • Independent CLI Concurrency Channel: Decouples CLI CCE retrieval from the IDE FIFO UI lock via CURSOR_BRIDGE_CCE_CLI_CONCURRENCY (default 3, range 1..8) while preserving uncertain-termination orphan guards and clean shutdown.
  • CLI Diagnostics & Recoverable Init: Adds non-mutating cursor_cce(action="doctor") health checks and structured recoverable cursor_init statuses (cli-unavailable, cli-auth-required, cli-model-required with availableModelsSample, cli-model-unavailable, cli-provider-unavailable) with actionable nextStep guidance.
  • Verification & Install Robustness: Adds env-isolated test runner (scripts/test.mjs), end-to-end CLI/ACP stdio smoke (npm run smoke:cli), full bundle/staging verifier (npm run verify:install), and strict CURSOR_EXE override handling.

Validation & Packages

  • Automated Checks: 583/583 repository tests at cursor-bridge--v7.0.0 (584/584 on main), 147/147 Supervisor tests + MCP smoke, smoke:mcp, smoke:cli, verify:install, and Windows + macOS basic CI passed. (Windows is the primary live-validated platform; full live end-to-end macOS/Linux validation is not claimed.)
  • Windows Live CLI/ACP Acceptance (grok-4.6-fast / medium): cursor_init 3.84s (background ACP prewarm 10.91s), warmed ACP cursor_context_engine query 19.83s vs. 6.2.0 baseline 42.9s / 45.3s (~2.2x faster), fallbacks: 0.
  • Published npm Wrappers: pi-cursor-bridge@0.5.0 and vanyangyang-cursor-bridge@0.4.0 embed Cursor Bridge 7.0.0 (grok-build-supervisor remains 0.4.3).

中文迁移与设置摘要(6.x → 7.0.0)

  • 默认来源调整:全新安装或此前未保存过 %APPDATA%\cursor-bridge\cce-source.json 的用户升级后默认使用 cli;已有 cce-source.json 配置保持不变。如需继续走桌面端 IDE(或使用 cursor_do),执行一次 /cce ide 即可持久切回。
  • 三步完成 CLI 配置:
    1. 安装官方 CLI:Windows PowerShell 执行 irm 'https://cursor.com/install?win32=true' | iex(macOS/Linux 执行 curl https://cursor.com/install -fsS | bash),重开终端/客户端后确认 cursor-agent --version。
    2. 登录账号:运行 cursor-agent login、cursor-agent status、cursor-agent models。
    3. 必选 Bridge 设置:调用 cursor_model(action="set", target="cce", model="grok-4.6-fast", effort="medium")(拒绝 Auto/default),执行 /cce doctor 确认 ready: true,再对项目运行 cursor_init(path="...")。

Full Changelog: cursor-bridge--v6.2.0...cursor-bridge--v7.0.0