Skip to content

Add browser tab harvest and inspection support#126

Open
NathanSkene wants to merge 1 commit intosteipete:mainfrom
NathanSkene:codex/browser-reliability-harvest
Open

Add browser tab harvest and inspection support#126
NathanSkene wants to merge 1 commit intosteipete:mainfrom
NathanSkene:codex/browser-reliability-harvest

Conversation

@NathanSkene
Copy link
Copy Markdown

Summary

  • add live ChatGPT tab inspection and attachment support for browser mode
  • add session harvest/live tail commands and persisted browser harvest metadata
  • update ChatGPT browser selectors/model detection for current composer and Pro UI

What changed

  • Added --browser-tab <ref> to reuse an existing ChatGPT tab by current, target id, URL, or title substring.
  • Added oracle status --browser-tabs to inspect live ChatGPT tabs, including model label, stop/send signals, session linkage, and last assistant snippet.
  • Added oracle session <id> --harvest and oracle session <id> --live.
  • Allowed oracle session <id> --write-output <path> to write harvested browser output.
  • Added browser/session metadata to persist harvested output details.
  • Updated ChatGPT browser DOM/model detection to recognize the current composer selectors and ChatGPT + Pro state.

Validation

  • pnpm format:check
  • pnpm lint
  • pnpm build
  • pnpm test

Live browser validation

Verified from the source-built CLI against a real remote Chrome session on 127.0.0.1:9222:

  • status --browser-tabs lists live ChatGPT tabs
  • --browser-tab current reuses an existing tab and returns the expected response
  • session --harvest --write-output harvests browser output and writes it to disk
  • session --live tails the browser-backed session
  • --browser-tab "Oracle Browser Review" attaches by title substring without opening a new tab

Notes

  • README change is formatter-only alignment.
  • This PR is the source-repo version of the local browser reliability work already proven on the machine.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant