Skip to content

open --json does not return .page despite llm-txt contract #2162

Description

@AlexBlack772

Issue Type

Both / Not sure

Operating System

macOS

Description of the bug

Summary

According to cmd/llm_txt.md, agents should capture a page id from:

browseros-cli open --json <url> | jq -r .page

However, open --json currently returns only url, without page.

### Steps to reproduce

browseros-cli open --json https://example.org

### Actual result

{"url":"https://example.org"}

### Expected result

The JSON response should include a numeric page field, for example:

{"page":123,"url":"https://example.org"}

### Why this matters

The documented agent workflow depends on .page:

page=$(browseros-cli open --json https://example.com | jq -r .page)
browseros-cli -p "$page" snapshot

Without .page, follow-up page-scoped commands cannot be used reliably.

### Steps to Reproduce

run 

browseros-cli open --json https://example.org

### Screenshots / Videos

_No response_

### BrowserOS Version

_No response_

### Additional Context

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions