Skip to content

[DOCS] Desktop: browser use via the opentask extension #676

Closed

Description

@edenreich

Summary

The desktop app can now drive the user's real browser through the opentask extension (inference-gateway/desktop#189, implemented in inference-gateway/desktop#228). The desktop hosts the extension bridge itself on 127.0.0.1:52789 (or extension.port from ~/.infer/browser_use.yaml) and relays the CLI's browser_* tools to the extension on every agent turn. This needs user-facing documentation.

Behavior to document:

  • Settings > General > Browser Use: the "Enable Browser Use (extension)" checkbox writes ~/.infer/browser_use.yaml (enabled: true, backend: extension, and a generated extension.token when none is set) and starts the bridge immediately.
  • Settings shows the port and token with a Copy button; the user pastes both into the opentask extension options.
  • A dot above the composer shows "Browser connected" / "Browser disconnected" while the feature is enabled and is hidden when it is off.
  • The extension stays connected between agent turns; each turn relays the CLI browser_navigate, browser_click, browser_type, browser_read, browser_screenshot and browser_tabs tools to the extension.
  • Port contention: while the desktop is running it holds the bridge port, so a standalone infer chat/headless session configured with backend: extension cannot bind it. Disable Browser Use in the desktop first.
  • A second concurrent desktop session that tries browser use gets a clear tool error instead of hijacking the controlled tab (only one real browser).
  • Troubleshooting: the CLI writes "extension bridge listening" / "failed to listen" lines to ~/.infer/logs/app-<date>.log.

Affected pages:

  • Desktop user guide: new "Browser use (opentask extension)" section next to the existing Computer Use docs.
  • opentask extension setup page: add the desktop as a connection target alongside the CLI, and link both ways.
  • CLI browser-use / extension page: note the port-contention rule with the desktop.

Source: inference-gateway/desktop#228 (README section "Browser use (opentask extension)" has the reference text).

Acceptance Criteria

  • Desktop user guide documents enabling Browser Use, copying the port/token into the extension, and the connection dot.
  • opentask extension docs list the desktop as a supported bridge host and link to the desktop guide.
  • CLI/extension docs state that the desktop holds port 52789 while running and how to hand the port back.
  • Troubleshooting mentions the CLI log file lines for bridge bind success/failure.

Activity

  1. added
    documentation
    on Sep 14, 2026
  2. added theissue type on Sep 14, 2026
  3. moved this to Todo in 2026on Sep 14, 2026
  4. edenreich commented on Sep 14, 2026

    @edenreich
    ContributorAuthor

    @claude Can you work on this? use /ponytail:ponytail

  5. inference-gateway-maintainer commented on Sep 14, 2026

    @inference-gateway-maintainer
    Contributor

    Claude finished @edenreich's task in 3m 9s —— View job • docs/issue-676-20260914-1250 • [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-676-20260914-1250?quick_pull=1&title=Issue%20%23676%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23676%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Done - PR #677 opened

    • Read existing docs (desktop.md, opentask.md) and the reference text from feat(browser): host the opentask extension bridge and relay browser tools per turn desktop#228
    • desktop.md: new Browser use (opentask extension) section - enable toggle, what it writes to ~/.infer/browser_use.yaml, copy port/token into the extension, connection indicator, relayed browser_* tools, one-browser-one-owner rule, troubleshooting table with the ~/.infer/logs/app-<date>.log lines. Settings table row + Related link updated.
    • opentask.md: new Bridge hosts subsection (CLI or desktop as bridge host), port-contention rule and how to hand 52789 back, same log lines, Related link to the desktop guide.
    • bun run lint:md, bun run format:check, bun run build all pass
    • Committed and PR opened

    Note: there is no separate CLI browser-use page - the CLI bridge docs live on opentask.md, so the port-contention rule landed there rather than in a new page.

    Indicator wording follows the issue ("Browser connected" / "Browser disconnected" above the composer); the desktop README describes it as a globe in the status bar, so worth a glance at review time.

    PR: #677
    | Branch

  6. moved this from Todo to In progress in 2026on Sep 14, 2026
  7. moved this from In progress to QA in 2026on Sep 14, 2026
  8. moved this from QA to Done in 2026on Sep 14, 2026
  9. inference-gateway-releaser commented on Sep 22, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.14 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions