Repository navigation
·
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:readCcePreferencesnow defaults tosource: 'cli'when nocce-source.jsonfile exists. Existingcce-source.jsonconfigurations are never overwritten on upgrade; switch back anytime with/cce ideorcursor_cce(action="set", source="ide"). - 6.x → 7.0.0 Migration & Required Setup:
- 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
- Windows PowerShell:
- Reopen your terminal / client so
PATHrefreshes, sign in withcursor-agent login, and checkcursor-agent status&cursor-agent models. - Set an explicit named CCE model and effort (
Autoanddefaultare 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 withcursor_init(path="...").
- Install the official Cursor CLI in a new terminal:
Highlights & Speed Improvements
- CCE CLI MCP Isolation: Runs official CCE CLI child processes with a private
CURSOR_DATA_DIRandprojects/<slug>/mcp-disabled.jsonso CCE turns do not block on external/remote MCP servers or recursively re-spawn the bridge (CURSOR_BRIDGE_CCE_CLI_MCP=nativeopts out). - Official CLI Preflight Cache: Caches
inspectCursorCliresults by launcher/identity fingerprint (CURSOR_BRIDGE_CLI_INSPECT_TTL_MS=300000), deduplicates concurrent checks, force-refreshes oncursor_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=offdisables ACP). - Independent CLI Concurrency Channel: Decouples CLI CCE retrieval from the IDE FIFO UI lock via
CURSOR_BRIDGE_CCE_CLI_CONCURRENCY(default3, range1..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 recoverablecursor_initstatuses (cli-unavailable,cli-auth-required,cli-model-requiredwithavailableModelsSample,cli-model-unavailable,cli-provider-unavailable) with actionablenextStepguidance. - 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 strictCURSOR_EXEoverride handling.
Validation & Packages
- Automated Checks:
583/583repository tests atcursor-bridge--v7.0.0(584/584onmain),147/147Supervisor 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_init3.84s(background ACP prewarm10.91s), warmed ACPcursor_context_enginequery19.83svs. 6.2.0 baseline42.9s/45.3s(~2.2x faster),fallbacks: 0. - Published npm Wrappers:
pi-cursor-bridge@0.5.0andvanyangyang-cursor-bridge@0.4.0embed Cursor Bridge7.0.0(grok-build-supervisorremains0.4.3).
中文迁移与设置摘要(6.x → 7.0.0)
- 默认来源调整:全新安装或此前未保存过
%APPDATA%\cursor-bridge\cce-source.json的用户升级后默认使用cli;已有cce-source.json配置保持不变。如需继续走桌面端 IDE(或使用cursor_do),执行一次/cce ide即可持久切回。 - 三步完成 CLI 配置:
- 安装官方 CLI:Windows PowerShell 执行
irm 'https://cursor.com/install?win32=true' | iex(macOS/Linux 执行curl https://cursor.com/install -fsS | bash),重开终端/客户端后确认cursor-agent --version。 - 登录账号:运行
cursor-agent login、cursor-agent status、cursor-agent models。 - 必选 Bridge 设置:调用
cursor_model(action="set", target="cce", model="grok-4.6-fast", effort="medium")(拒绝Auto/default),执行/cce doctor确认ready: true,再对项目运行cursor_init(path="...")。
- 安装官方 CLI:Windows PowerShell 执行
Full Changelog: cursor-bridge--v6.2.0...cursor-bridge--v7.0.0