codeburn/mac/Sources/CodeBurnMenubar
AgentSeal 43a938ff9e feat(mac): add Connect Claude button to Plan pane
The Plan pane previously told users to "run claude login in your
terminal, then retry" with no way to start the flow from the app.
Added a primary Connect Claude button on both the no-credentials and
failed states that launches Terminal.app with `claude login`, so the
OAuth flow is one click away.

TerminalLauncher.openClaudeLogin() uses a hardcoded literal, so no
user input reaches AppleScript. Refactored the common path into
runInTerminal(command:preValidated:) which re-validates any non-
literal input against CodeburnCLI.isSafe as defense-in-depth.

On machines without Terminal.app (iTerm/Ghostty/Warp), the button
surfaces an inline instruction to run `claude login` manually instead
of failing silently.
2026-04-18 06:54:57 -07:00
..
Data feat(mac): native Swift menubar app + one-command install 2026-04-17 16:55:56 -07:00
Security feat(mac): add Connect Claude button to Plan pane 2026-04-18 06:54:57 -07:00
Theme feat(mac): native Swift menubar app + one-command install 2026-04-17 16:55:56 -07:00
Views feat(mac): add Connect Claude button to Plan pane 2026-04-18 06:54:57 -07:00
AppStore.swift feat(mac): hide agent tabs when fewer than two providers have spend 2026-04-18 05:07:36 -07:00
CodeBurnApp.swift feat(mac): native Swift menubar app + one-command install 2026-04-17 16:55:56 -07:00
CurrencyState.swift feat(mac): native Swift menubar app + one-command install 2026-04-17 16:55:56 -07:00