Skip to content

feat(session): add browser session import#25

Merged
eddmann merged 2 commits into
mainfrom
codex/browser-session-import
May 19, 2026
Merged

feat(session): add browser session import#25
eddmann merged 2 commits into
mainfrom
codex/browser-session-import

Conversation

@eddmann
Copy link
Copy Markdown
Owner

@eddmann eddmann commented May 19, 2026

Summary

This PR improves the first-run Claude session setup flow, based on feedback from #23.

Users can now import an existing Claude session from a browser already signed in to claude.ai, instead of manually digging through browser DevTools for the sessionKey cookie. Manual setup remains available for users who prefer to paste a raw sk-ant-... session key or a Cookie header containing sessionKey.

Changes

  • Import Claude sessions from browsers signed in to claude.ai
  • Continue to support manual setup with a pasted session key or Cookie header
  • Show clearer setup and settings copy for Claude session setup
  • Explain browser permission prompts when import needs Keychain or Full Disk Access
  • Document browser import and manual fallback setup in the README

Testing

  • xcodebuild clean build -project ClaudeMeter.xcodeproj -scheme ClaudeMeter -configuration Debug
  • xcodebuild test -project ClaudeMeter.xcodeproj -scheme ClaudeMeter -configuration Debug

Closes #23

eddmann added 2 commits May 19, 2026 11:53
Improve onboarding by letting users import an existing claude.ai browser session or continue manually with a pasted session.

Accept both raw sk-ant session keys and Cookie headers containing sessionKey, validate imported sessions before saving, and surface clearer setup/settings guidance for browser permissions.

Disable the app sandbox because SweetCookieKit needs direct read access to local browser cookie stores; with sandboxing enabled, browser session import cannot inspect those on-disk profiles.
Update README setup guidance for browser import, manual Cookie header fallback, browser permission prompts, and local data handling.

Add 1.4.0 changelog notes for Claude browser session import and Cookie header parsing.
@eddmann eddmann merged commit da44a40 into main May 19, 2026
1 check passed
@eddmann eddmann deleted the codex/browser-session-import branch May 19, 2026 11:06
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.

Session ID

1 participant