Repository navigation
fix(remote): scope desktop event listener to webview - #1085
Merged
xintaofei merged 2 commits intoNov 2, 2026
Merged
Conversation
Tauri routes emit_to(EventTarget::webview(label)) to every listener with the Any target in every webview, so Rust-side targeting alone does not isolate windows sharing one remote connection.
Collaborator
|
codeg work task |
xintaofei
added a commit
that referenced
this pull request
Nov 2, 2026
This release renders inline math more reliably, fixes duplicated terminal output in remote workspaces, makes the execution timeline easier to read, and updates five agents. ## New - **ZCode supports `/rename` to rename the current session**, and the conversation title in codeg updates to match unless you have already renamed the conversation yourself. - **OpenCode's reserved space before automatic compaction can be set as a share of the context window**, such as `20%`, as well as a token count. ## Improved - **Resumed delegations appear as delegation rows in the execution timeline**, marked as resumed and showing the reason for resuming. - **Read and search steps inside explore groups use the same layout as command rows**, and the secondary text of non-text steps has higher contrast. - **Updated OpenCode to 2.2.5, CodeBuddy to 2.179.2, Kimi Code to 2.4.1, Antigravity to 1.4.5 and the ZCode bridge to 0.82.0.** - **Kimi Code can read text files up to 16 MiB**, so files larger than 2 MiB no longer fail to load. ## Fixed - **Single-dollar inline formulas such as `$T$` now render as math**, while amounts, shell variables and code stay exactly as written. (#1081, @xy3xy3) - **Opening another window in a remote workspace no longer duplicates terminal output**, including the window for importing local conversations. (#1085, @xyalter) - **Background command and image generation cards in OpenCode history now show their final results** and no longer stay stuck as running. ## Note - **OpenCode's `/goal`, `/init` and `/review` commands currently show no progress after you send them**, and the session can stop responding if a step needs your approval. - **OpenCode's background command and image generation results appear after you reopen the conversation**, not while they are still running. ----------------------------- # 发布版本 0.41.4 这一版改进了行内公式的渲染,修复了远程工作区终端输出重复的问题,让执行过程时间线更易阅读,并更新了五个智能体。 ## 新增 - **ZCode 支持用 `/rename` 重命名当前会话**,codeg 中的会话标题会同步更新,你自己改过的标题不会被覆盖。 - **OpenCode 自动压缩前预留的空间可以按上下文窗口占比填写**,例如 `20%`,也可以继续填写 token 数。 ## 改进 - **恢复后的委派在执行过程时间线中显示为委派行**,并带有已恢复标记和恢复原因。 - **探索分组里的读取和搜索步骤改用与命令行一致的布局**,非文字步骤的次要文字也更加清晰。 - **OpenCode 更新至 2.2.5,CodeBuddy 更新至 2.179.2,Kimi Code 更新至 2.4.1,Antigravity 更新至 1.4.5,ZCode 桥接更新至 0.82.0。** - **Kimi Code 支持读取最大 16 MiB 的文本文件**,查看超过 2 MiB 的文件时不再失败。 ## 修复 - **`$T$` 这类单美元符号行内公式现在可以正常渲染**,金额、Shell 变量和代码内容仍按原样显示。(#1081, @xy3xy3) - **在远程工作区打开其他窗口时,终端输出不再重复显示**,打开导入本地会话的窗口也是如此。(#1085, @xyalter) - **OpenCode 历史会话中的后台命令和图片生成卡片会显示最终结果**,不再一直停留在运行中。 ## 注意 - **OpenCode 的 `/goal`、`/init`、`/review` 命令发出后暂时看不到执行进度**,如果中途需要授权,会话可能停止响应。 - **OpenCode 后台命令和图片生成的结果需要重新打开会话才会显示**,运行期间暂时无法实时看到。
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Opening additional windows from a remote workspace, such as the local conversation import window, duplicates terminal echoes and command output while commands execute normally.
The Rust proxy already targets individual webviews, but the frontend's global listener also consumes copies addressed to other webviews on the same remote connection.
Changes
listen()withgetCurrentWebview().listen().Validation
git diff --checkpasses.Fixes #1082