Configure OpenCode browser-harness to default to existing ULAA browser session with active visible tab
Maintainer thường phản hồi trong vòng 1 ngày
@SyedFahad7 đang làm issue này rồi.
Từ ngày 29/9/2026.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 68/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python, typescript
Hướng nghiên cứu
Start with ~/.config/opencode/skills/browser-harness/tool.py and inspect the existing BU_CDP_URL, current_tab(), switch_tab(), activate_tab(), new_tab(), and goto_url() flows. Run the browser-harness commands against a running ULAA instance at http://localhost:9222; done means the active tab is attached and visible by default, navigation and actions are visibly performed, and new_tab() activates its tab without an environment variable.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Configure the OpenCode browser-harness skill to strictly connect to the user's existing running ULAA browser (CDP at http://localhost:9222) and by default attach to/activate the currently active visible tab — matching BrowserCode's default behavior.
Current Behavior
- browser-harness requires explicit
BU_CDP_URL=http://localhost:9222env var new_tab()creates background tabs that aren't visually activatedswitch_tab()attaches CDP but doesn't callTarget.activateTargetby default- User must manually call
activate_tab()to see actions
Desired Behavior (matching bcode)
- Default to existing ULAA browser on port 9222 (no env var needed)
- Automatically attach to
current_tab()(the active visible tab) - Automatically call
Target.activateTargetso actions are visible new_tab()should activate the new tab by default- Zero-config: works out of the box with running ULAA
Technical Approach
- Modify
~/.config/opencode/skills/browser-harness/tool.pyto injectBU_CDP_URL=http://localhost:9222by default - Update skill to auto-attach to active tab on first command
- Make
activate_tab()the default for navigation actions - Test end-to-end on running ULAA instance
Acceptance Criteria
- No
export BU_CDP_URLneeded - works automatically - First command attaches to currently active ULAA tab
- Navigation (
goto_url) happens in the visible tab - Click/type actions are visibly performed in ULAA
-
new_tab()creates and activates a new visible tab
- Ngôn ngữ chính
- TypeScript
- Star
- 775
- Fork
- 90
- Merge trung bình
- 30 phút
- Pull request đã merge (30 ngày)
- 8
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của browser-use/browsercode
-
Session.invalidate() leaves in-flight CDP calls pendingCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
browser-use/browsercode#154 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
docs(browser): clarify snippet persistenceCó thể đã có người làm @MagMueller đã nhận 85 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
browser-use/browsercode#132 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
docs(browser): clarify browser execute timeout scopeCó thể đã có người làm @MagMueller đã nhận 85 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
browser-use/browsercode#130 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
docs(browser): clarify page global scopeCó thể đã có người làm @MagMueller đã nhận 85 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
browser-use/browsercode#131 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
browser-use/browsercode#168 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của browser-use/browsercode
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
awesome-dsh-plugin/awesome-dsh-plugin#9184 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
farion1231/cc-switch#8829 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[core-client] Remove unused hand-maintained transport helpers after the definition-table cutoverĐang mởdoc-audit enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100