Repository navigation
fix(core): restore browser tools in agent sessions - #630
GraciousGazelles wants to merge 22 commits into
Conversation
There was a problem hiding this comment.
Code Review
This pull request integrates the codex-browser-computer-use crate to dynamically resolve and configure browser tools at session lifecycle boundaries (such as spawns, resumes, and forks) instead of relying on persisted rollout metadata. It also updates the TUI to resolve the correct session-specific codex_home for computer-use calls. One critical issue was identified in the unit tests for app_server_events.rs, where a parenthesis mismatch in assert_eq! calls results in a compilation error.
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request updates the session and thread management to dynamically resolve and merge browser-scoped dynamic tools at lifecycle boundaries (such as fresh spawns, cold resumes, and forks) instead of relying on persisted rollout metadata. Additionally, the TUI is updated to resolve the correct codex_home directory for thread-specific computer use calls. The review feedback suggests simplifying the rollout_codex_home helper function to accept &Path directly instead of Option<&Path>, and updating the corresponding test cases to match this signature.
25d5f4a to
2c5fda0
Compare
|
Closing this stale draft in favor of active successor #751. A read-only comparison of the frozen heads found that #751 preserves the Browser/session lifecycle behavior from #630 across child spawn, cold resume, fork, and resumed-agent restoration. The two changes overlap on ten Browser/session paths; the #630-only residency-test change is a compatibility/helper adaptation, while #751 adds the child-thread listener/summary handling needed for child-scoped routing. No unique accepted Browser behavior is being discarded. The #630 branch and head remain preserved for provenance and recovery: #751 remains the active, separate delivery and is not changed by this closure. |
Restores configured Browser dynamic tools across agent session lifecycle paths and routes Browser execution through the requesting session home. Adds focused lifecycle, persistence, and routing regressions.