Skip to content

Browser first-use doc is ~56 KB, so Claude Code saves it to a file; put the selected browser and the Tab API inline #494

Closed

Description

@SSFSKIM

What happens

The first getBrowser() result is about 56 KB, so Claude Code saves it to a file instead of showing it. college-79 (MAWS, 2026-11-22) had to grep that file to find the Tab interface (goto, markHandoff). The other agent in the same evening, college-2d, never read it, and guessed browser ids instead (see the related ticket).

Wanted

The first-use result fits under Claude Code's inline limit: the selected browser, the Tab methods agents use most, and pointers to the rest (docs/cua-api, the capability docs). The full reference stays reachable on demand.

Proof

The first getBrowser() result in a fresh session is shown inline, with no file saved, on both MAWS and a Chrome profile, and the Tab interface appears in its first screen.

Activity

  1. added
    enhancement
    status:ready-for-implementer
    priority:P3
    on Nov 23, 2026
  2. SSFSKIM commented on Nov 23, 2026

    @SSFSKIM
    OwnerAuthor

    Ruling 1107: separate lane, after #493 merges, P3. Accepted split, on cua's host and in the shared browser part: inline the header, Browser, Tabs and Tab, and a slim Playwright/Locator part; turn the guidance into lookup entries with one-line pointers (keeping requiredFor honest). Don't guess the inline limit: measure the size at which Claude Code starts saving an MCP result to a file, and set the target with a clear margin below it. The vendor host's core document is the vendor's: left alone, and the PR says so. Size breakdown at b1b1548: browser doc 35.3 KB (API reference 21.6: Locator 4.7, PlaywrightAPI 2.2, Tab 1.6; guidance 12.8; header ~1), core ~19 KB on cua's host, other APIs 0.8 KB.

  3. added
    status:in-progress
    and removed
    status:ready-for-implementer
    on Nov 23, 2026
  4. SSFSKIM commented on Nov 23, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-progress: Lane started after #493 merged (ruling 1129); measure the inline limit, then split per 1107.

  5. added
    status:in-review
    and removed
    status:in-progress
    on Nov 23, 2026
  6. SSFSKIM commented on Nov 23, 2026

    @SSFSKIM
    OwnerAuthor

    [board] in-review: Draft PR #508; review clean.

  7. SSFSKIM commented on Nov 23, 2026

    @SSFSKIM
    OwnerAuthor

    [review-trail] reviewer-medium abb87194: 2bed9d8 incorrect (P1 lookup not printed; P2 reference per browser; P3 retry wording; P2 policy override -> #503, predates) -> fixed d59091a; re-review correct, no findings.

  8. removed
    status:in-review
    on Nov 23, 2026
  9. SSFSKIM commented on Nov 23, 2026

    @SSFSKIM
    OwnerAuthor

    [board] done: Landed via PR #508 (cua 0.29.5)

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

    enhancementpriority:P3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions