CodexBar icon indicating copy to clipboard operation
CodexBar copied to clipboard

Currently, the tool only supports reading Chrome cookies. I would appreciate it if support could be added for other browsers, like Safari and ChatGPT Atlas.

Open sakuraine opened this issue 5 months ago • 3 comments

sakuraine avatar Jun 15 '26 08:06 sakuraine

Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed June 18, 2026, 10:39 PM ET / 02:39 UTC.

Summary Keep open for maintainer handling: current main and the latest release already show Safari plus ChatGPT Atlas-capable browser-cookie plumbing for Codex/OpenAI web cookies, but the reporter reopened the issue after that guidance and the repository profile asks for conservative personal-repo cleanup rather than auto-closing this support/auth-provider item.

Reproducibility: no. high-confidence failure reproduction is available. The issue has no body, logs, version, permission state, or exact failing path, and live browser-cookie probes were intentionally avoided under AGENTS.md because they can trigger Keychain prompts.

Ways to help us reproduce this

  • Add a screenshot or short recording showing the behavior.
  • Add expected vs actual behavior.

Next step A maintainer should decide whether to close as already supported or request exact current-release failure details; there is no safe autonomous code repair boundary yet.

Review details

Best possible solution:

Treat Safari and Atlas support as present, then have a maintainer either close with version/permission guidance or add a narrow docs/diagnostic clarification for Safari Full Disk Access and ChatGPT Atlas.

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

No high-confidence failure reproduction is available. The issue has no body, logs, version, permission state, or exact failing path, and live browser-cookie probes were intentionally avoided under AGENTS.md because they can trigger Keychain prompts.

Is this the best way to solve the issue?

Unclear as a code change: adding a new importer does not look like the right fix because current main already routes Safari and shared Chromium browser sources through Codex OpenAI web cookies. The narrow path is maintainer support triage or docs/diagnostics after current-release failure evidence is provided.

AGENTS.md: found and applied where relevant.

Remaining risk / open question:

  • The reporter reopened the issue after being told support exists, but did not provide version, browser profile, Full Disk Access state, logs, or exact failure text.
  • ChatGPT Atlas is covered through the shared Chromium-browser path, but the user-facing Codex docs name only Safari, Chrome/Chromium forks, and Firefox, so this may be a docs/discoverability gap rather than a missing importer.
  • No live cookie import was run because repository policy warns that browser-cookie and Keychain-backed validation can prompt macOS permissions.

Codex review notes: model internal, reasoning high; reviewed against e3ae6f2890f7.

Label changes

Label justifications:

  • P3: This is a low-risk support/docs/auth-provider clarification request with no reproduced current-main breakage.
  • impact:auth-provider: The issue concerns browser-cookie authentication sources for Codex/OpenAI web data.
Evidence reviewed

What I checked:

Likely related people:

  • Peter Steinberger: Blame and git history put the current Codex/OpenAI web cookie importer, Safari-first Codex browser order, SweetCookieKit browser support bump, and latest release snapshot on commits authored by Peter Steinberger. (role: recent area contributor; confidence: high; commits: 06fea2c897cc, 5db1a04718e7, 7ff8148c75e0; files: Sources/CodexBarCore/OpenAIWeb/OpenAIDashboardBrowserCookieImporter.swift, Sources/CodexBarCore/Providers/Providers.swift, Sources/CodexBarCore/BrowserCookieImportOrder.swift)
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.

clawsweeper[bot] avatar Jun 15 '26 08:06 clawsweeper[bot]

Hi! Both Safari and ChatGPT Atlas are actually already supported in the latest version.

If it's not working for you:

Safari: You probably need to grant CodexBar Full Disk Access in macOS System Settings (Privacy & Security), otherwise macOS blocks reading the cookie files. ChatGPT Atlas: Just make sure you're on the latest version of CodexBar. We probably just need to update our documentation to make this clearer!

Yuxin-Qiao avatar Jun 16 '26 16:06 Yuxin-Qiao

There are some issues with the cookie logic. The reproduction process is as follows:

  1. Log in to both Chrome and Safari to obtain valid cookies.
  2. Log out of Chrome, but retain the Safari login state.
  3. Refresh the Xiaomi Mimo status in Codexbar.

sakuraine avatar Jun 19 '26 02:06 sakuraine