fix: switch autostart from LaunchAgent to LoginItem (AppleScript)#65
Conversation
MacosLauncher::LaunchAgent creates a hidden launchd plist invisible to the user. MacosLauncher::AppleScript registers via AppleScript/System Events, making PaperCache appear in System Settings > General > Login Items as a user-manageable entry.
|
Warning Review limit reached
More reviews will be available in 41 minutes and 19 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more credits in the billing tab to continue. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Changed
MacosLauncher::LaunchAgent→MacosLauncher::AppleScriptinlib.rs:48.Before: The plugin created a hidden
.plistin~/Library/LaunchAgents/managed bylaunchd. Invisible to the user —no entry in System Settings.
After: The plugin uses AppleScript to tell System Events to register
PaperCache as a Login Item. The app now appears in System Settings >
General > Login Items where users can see and toggle it.
What stays the same:
hide_dock_icon()still runs — no dock icon, only the tray icon--silentlyflag still suppresses the window on autolaunchapp.autolaunch().enable()/disable()Note: If Launch Agent was previously enabled, toggle it off and
back on after this change to switch to the Login Item registration.