Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Configure OpenCode browser-harness to default to existing ULAA browser session with active visible tab

Offen
#166 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@SyedFahad7 arbeitet bereits daran.

Seit 29.9.2026.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
68/100
Issue-Typ
Feature
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
python, typescript
Bereich
devtools, web-dev

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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:9222 env var
  • new_tab() creates background tabs that aren't visually activated
  • switch_tab() attaches CDP but doesn't call Target.activateTarget by 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.activateTarget so actions are visible
  • new_tab() should activate the new tab by default
  • Zero-config: works out of the box with running ULAA

Technical Approach

  1. Modify ~/.config/opencode/skills/browser-harness/tool.py to inject BU_CDP_URL=http://localhost:9222 by default
  2. Update skill to auto-attach to active tab on first command
  3. Make activate_tab() the default for navigation actions
  4. Test end-to-end on running ULAA instance

Acceptance Criteria

  • No export BU_CDP_URL needed - 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
Vorherrschende Sprache
TypeScript
Sterne
775
Forks
90
Ø Merge
30 Min.
Gemergte PRs (30 T.)
8

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus browser-use/browsercode

Alle Issues in browser-use/browsercode

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.