notify

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Digest added in v0.7.0

func Digest(waitingSessions, pendingReviews, featureWork int) error

Digest sends a periodic summary notification. Only sends if there is something actionable.

func PRMerged

func PRMerged(prNumber int, prTitle string) error

PRMerged notifies about a PR merge.

func PRReview

func PRReview(prNumber int, prTitle, author, repo string) error

PRReview notifies about a new PR review request.

func PRUpdated added in v0.12.0

func PRUpdated(prNumber int, prTitle, repo string) error

PRUpdated notifies that an existing review worktree was fast-forwarded to a new GitHub head. Quieter than PRReview; sent once per SHA after a successful refresh, not every poll.

func Send

func Send(title, message, subtitle string) error

Send sends a desktop notification. On Linux it uses notify-send (libnotify); elsewhere it uses macOS osascript.

func SendWithAction added in v0.7.0

func SendWithAction(title, message, subtitle, executeOnClick string) error

SendWithAction sends a notification with an optional click action. If terminal-notifier is installed (macOS only), clicking the notification runs executeOnClick. Otherwise falls back to Send with the command appended to the subtitle so it stays visible.

func SessionWaiting added in v0.7.0

func SessionWaiting(worktreeName, model, resumeCmd string) error

SessionWaiting notifies that a Claude session is waiting for user input.

func StaleWorktrees

func StaleWorktrees(count int) error

StaleWorktrees notifies about stale worktrees found.

func WorktreeReady

func WorktreeReady(prNumber int, worktreePath string) error

Clicking opens a terminal tab in the worktree (requires terminal-notifier).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL