Skip to content

fix(runtime): stabilize CDP injection and Bridge lifecycle - #1852

Open
0xTotoroX wants to merge 1 commit into
BigPizzaV3:mainfrom
0xTotoroX:codex/runtime-cdp-bridge-stability
Open

fix(runtime): stabilize CDP injection and Bridge lifecycle#1852
0xTotoroX wants to merge 1 commit into
BigPizzaV3:mainfrom
0xTotoroX:codex/runtime-cdp-bridge-stability

Conversation

@0xTotoroX

@0xTotoroX 0xTotoroX commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

变更概述

稳定 Codex++ 的 CDP 注入与 Bridge 生命周期,降低重复注入、目标选择错误和旧会话残留导致的运行时问题。

主要内容

  • 改进 Codex 页面目标识别,避免将嵌入浏览器页面误判为主页面。
  • 为 Bridge 会话增加按注入目标管理的生命周期,确保新会话接管后旧会话不再继续响应。
  • 优化 CDP 命令、绑定调用和注入过程中的异步处理与错误恢复。
  • 补充 Launcher、Bridge、CDP target 和注入生命周期测试。

验证

  • cargo test -p codex-plus-core --test cdp_bridge:106/106
  • cargo test -p codex-plus-core --test launcher:79/79
  • cargo test -p codex-plus-launcher:7/7

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.

1 participant