Skip to content

[Feature]: Automatically prepare Chrome extension installation and pairing from desktop apps #152004

Open

Description

@roboclaw-bot

Summary

Prepare the official Chrome extension and its native pairing helper automatically when setting up the OpenClaw desktop apps.

Problem to solve

The macOS app currently exposes an explicit Chrome setup action, and CLI setup still requires users to discover and run it. First-time installation also assumes Chrome has already created its user-data directory. Windows still needs manual extension pairing. Installing the desktop app should handle that plumbing.

Proposed solution

  • Reuse the browser plugin’s canonical installation and pairing owners from desktop setup/startup.
  • Register the native helper before requesting the official Chrome Web Store extension.
  • Let Chrome retain its installation/permission approval and remembered removal decisions.
  • Derive local pairing automatically, without asking users to copy credentials or silently replacing existing pairings.
  • Cover the native macOS app, Tauri desktop shell, and the separate Windows companion integration.
  • Preserve user disconnection, profile scope, existing foreign registrations, and honest pending/error states.

Alternatives considered

Requiring a terminal command or copied pairing string keeps unnecessary setup work. Force-install enterprise policies and editing Chrome profile preferences would bypass the intended consumer approval flow and are not proposed.

Impact

Affected: desktop users enabling browser automation.
Frequency: first setup and runtime installation/update.
Consequence today: extra manual steps and native-helper/extension ordering failures.

Evidence/examples

The current implementation is in extensions/browser/src/browser/extension-install.ts, extension-install-external.ts, and apps/macos/Sources/OpenClaw/ChromeExtensionSetup.swift. The official Store identity is already available. Native Windows app source lives in openclaw/openclaw-windows-node.

Do you plan to open a PR for this?

Yes. Requested by @steipete.

Activity

  1. added
    maintainer
    on Sep 18, 2026
  2. added
    P2
    clawsweeper:needs-product-decision
    clawsweeper:no-new-fix-pr
    impact:ux-friction
    issue-rating: 🌊 off-meta tidepool
    on Sep 18, 2026
  3. clawsweeper commented on Sep 18, 2026

    @clawsweeper
    Contributor

    Codex review: this still needs some work. Reviewed October 6, 2026, 9:40 AM ET / 13:40 UTC.

    Summary
    Keep open: macOS and Tauri automatic preparation is implemented and included in v2026.9.8, but Windows Companion integration remains an open draft with acceptance work outstanding. The protected maintainer label independently prevents automated closure.

    Reproducibility: not applicable. this is a feature request. Source inspection confirms the implemented desktop preparation paths, while live PR metadata confirms Windows integration remains unmerged.

    Root-cause cluster
    Relationship: canonical
    Canonical: #152004
    Summary: This protected umbrella retains cross-platform completion scope; the merged desktop implementation and open Windows consumer repair each cover only part of it.

    Members:

    Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

    Next step
    Existing Windows implementation and consumer-repair PRs own the remaining work; retain the protected umbrella without dispatching another repair. Likely related people: steipete (medium-confidence routing) and fuller-stack-dev (low-confidence Windows routing).

    Review details

    Best possible solution:

    Complete the existing Windows producer and consumer work behind the shared setup owner, with visible retry and approval states that preserve existing pairings and opt-out.

    Do we have a high-confidence way to reproduce the issue?

    Not applicable: this is a feature request. Source inspection confirms the implemented desktop preparation paths, while live PR metadata confirms Windows integration remains unmerged.

    Is this the best way to solve the issue?

    Yes: reusing the Browser plugin’s setup owner and the Windows registration owner avoids competing installers while retaining Chrome approval and existing user choices.

    AGENTS.md: found and applied where relevant.

    Remaining risk / open question:

    • Windows Companion completion still depends on current-head native and production integration acceptance; merged main-repository adapters do not establish that result.

    Codex review notes: model internal, reasoning medium; reviewed against 1a5524f70f5c.

    Label changes

    Label changes:

    No label changes.

    Label justifications:

    • P2: This is a sponsored, bounded desktop setup improvement with existing implementation work and no demonstrated core-runtime blocker.
    • impact:ux-friction: Manual browser-helper preparation and pairing add avoidable setup work; the request concerns optional browser automation rather than a blocked first useful run.
    Evidence reviewed

    What I checked:

    Likely related people:

    • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
    • fuller-stack-dev: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
    How this review workflow works
    • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
    • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
    • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
    • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
    • Maintainers can also comment @clawsweeper review to request a fresh review only.
    • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
    • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
    • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
  4. removed
    clawsweeper:no-new-fix-pr
    clawsweeper:needs-product-decision
    on Sep 25, 2026
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

    P2impact:ux-frictionissue-rating: 🌊 off-meta tidepoolmaintainer

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions