mirror of
https://github.com/openai/codex.git
synced 2026-09-03 14:59:03 +00:00
## What changed - Admit the curated remote Browser plugin's `Stop` and `SubagentStop` hooks when its listed `browser.turn_ended` tool matches the expected connector and is enabled by app policy. - Carry trusted app routing metadata and the MCP environment through hook registration and execution. - Register hooks from multiple executor environments, while deduplicating cleanup calls that share an event, MCP environment, server, and tool. ## Testing - Cover Browser and Computer Use cleanup through separate MCP routes, including user- and managed-policy disablement. - Verify routing metadata, environment selection, multi-environment registration, and target deduplication. GitOrigin-RevId: 66de088fd201b9ed0db8b97c23d33de88135120d