[pull] main from xintaofei:main#148
Merged
Merged
Conversation
Closing and reopening the right sidebar no longer loses the command launcher's state. - Run/Stop linkage now lives in a module-level store keyed by command id, so it survives the panel unmounting, and is derived against live terminals — a command whose terminal ended while the panel was closed reads as not running instead of a stale Stop. - The last selected or run command is restored per folder on reopen; it is persisted only on an explicit pick or run and no longer resets to the first command.
Registry, managed install (whole-tree binary distribution), history parser for Cursor's protobuf store.db sessions, native MCP management (~/.cursor/mcp.json), and per-launch codeg-mcp delegation for Cursor. - structured config panel: model, permission mode, Run Everything toggle, sandbox mode, and auth status - history parser renders turns, thinking, tool cards, user images, shell command cards, delegation cards with "view session", and the session context-window meter from store.db (data lives in the WAL) - delegation cards work despite Cursor announcing every MCP call as "MCP: tool" with empty input: call-time identity restore renames delegate/status/cancel calls as they run, and the broker enriches bindings, tool meta, and snapshots with task preview + task id - per-turn timing journal recorded by the connection layer supplies the clocks Cursor's store lacks: fills tool-free turns and replaces sub-turn tool spans with the full prompt-to-end wall span, guarded by ordinal/hash tail matching so stale lines can never mislabel a turn - merged assistant sub-turns surface completion time from any sub-turn in the reply's footer - task sub-agent cards fold the wire title into the card description - README agent matrix and the ten locales cover the new agent
Picking an agent on the new-session screen now fully switches to it, instead of leaving the composer on the previously selected agent and silently accepting an uninstalled pick. - The connection at a tab is keyed by a stable tab id, so a just-switched draft (or one whose switch was blocked by the not-installed preflight) could still describe the previous agent. The composer's model/config selectors, ready state, mode preference, and send gate now reconcile against the selected agent and fall back to that agent's own cached selectors, so they can no longer show the previous agent's lists or route a prompt to the wrong agent. - Selecting an enabled, platform-available agent whose CLI/SDK is not installed now shows a persistent install prompt that opens Agent Settings and skips the doomed auto-connect, replacing a connect-time toast that could be deduped or superseded away. - Not-installed agents are flagged in the picker with a badge and tooltip while staying selectable.
…eader With a workspace background image set, the right sidebar's top tab strip now goes transparent to reveal the image — matching the column body and the conversation/file tab strips — and draws a hairline bottom border to separate it from the tab content, instead of the frosted surface that left the top reading as a detached panel. Without a background image the strip is unchanged.
# Conflicts: # src-tauri/src/acp/connection.rs # src-tauri/src/paths.rs # src/components/message/message-list-view.test.tsx # src/components/message/message-list-view.tsx
The Cursor settings panel now lists the account's models and offers only the authentication the cursor-agent CLI actually supports. - Authentication is a choice of official subscription (browser sign-in) or a Cursor API key for headless/server machines; the custom API-endpoint field is removed, since the CLI reaches only Cursor's own backend and has no bring-your-own-endpoint support. - The default model is a searchable picker of the account's models (id and display name) parsed from `cursor-agent models`, shown once a real list loads; the chosen id launches the CLI as its --model. - The sign-in command uses the managed binary's absolute path (not on PATH), and the auth status shows the account email. - Permission mode defaults to Run Everything for a fresh agent; an explicit "Ask before running" choice is kept. - Subscription mode uses the browser-login credential: any inherited CURSOR_API_KEY / CURSOR_API_BASE_URL is cleared for the settings probes and the launched session, and the probes test the on-screen key. - The ten locales are updated.
Allow the mask opacity up to 99% and the panel opacity down to 0%.
- feat(acp): **Cursor joins as the 12th coding agent.** Sign in with your subscription or an API key, pick a model, and use it like any other agent — with full session history, MCP, and delegation. - fix(chat): **Images now work with Grok and other embedded-context agents.** Pasted images show as thumbnails and appear in your sent bubbles, and they survive reopening a session. - perf(chat): **Streaming conversations render more smoothly.** Several rendering optimizations cut the work repeated on every streamed update. - fix(files): **Editors no longer leak memory.** Monaco models are released when file tabs close and when diff editors unmount. - fix(chat): **The new-session composer tracks your agent and focuses on open.** It stays in sync with the agent you pick and takes focus the moment a conversation opens, rather than waiting for the ACP connection. - fix(commands): **A command's run state survives reopening the sidebar.** Closing and reopening the sidebar keeps the command's run state and your selection instead of resetting them. - fix(workspace): **Background-image refinements.** The image now shows through the right sidebar header, and the opacity sliders reach further — the mask up to 99% and panels down to a fully transparent 0%. ----------------------------- # 发布版本 0.21.1 - 功能(智能体):**Cursor 作为第 12 个编码智能体接入。** 用订阅账号或 API Key 登录、选择模型,即可像其它智能体一样使用,支持完整会话历史、MCP 与委托。 - 修复(聊天):**Grok 等嵌入式上下文智能体现在能正常处理图片。** 粘贴的图片会显示为缩略图并出现在你发送的气泡中,重开会话也不会丢失。 - 性能(聊天):**流式会话渲染更顺滑。** 多项渲染优化减少了每次流式更新时的重复计算。 - 修复(文件):**编辑器不再泄漏内存。** 关闭文件标签或卸载 diff 编辑器时,Monaco model 会被正确释放。 - 修复(聊天):**新会话输入框跟随所选智能体并在打开时聚焦。** 输入框会与你选择的智能体保持同步,并在会话一打开就获得焦点,而不再等到 ACP 连接建立之后。 - 修复(命令):**命令的运行状态在侧边栏重开后得以保留。** 关闭再打开侧边栏时,命令会保留其运行状态与你的选择,而不会被重置。 - 修复(工作台):**背景图打磨。** 背景图现在会透过右侧栏头显示,不透明度滑块范围也更大——遮罩最高可达 99%,面板最低可至完全透明的 0%。
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )