yukta-cli notify raises a native desktop notification for each new item, so you do not need a browser tab open.
Read and acknowledge
ACTION) is answered with yukta-cli inputs answer; reading or dismissing never answers it. You see only what your key may see.
Desktop notifications
notify runs the tool of your system, with no extra software: notify-send on Linux, osascript on macOS and PowerShell on Windows. With none of them found it prints instead. Titles and bodies reach the tool as arguments, never inside a shell string. For a question the text ends with the ready command, yukta-cli inputs answer <execution> <request> --decision .... Where notify-send supports actions, the notification has an Open button that opens the item in the web UI.
It reconnects by itself. After a gap, such as a laptop that slept, the server replays what you missed. It honours your preferences: a category set to OFF or INBOX, and muted sessions, raise nothing here.
Run your own command
--exec runs a command for each item instead, with no shell. The line is split into words first, then each word may use {{.Title}}, {{.Body}}, {{.Severity}}, {{.Kind}}, {{.Category}}, {{.ID}}, {{.Session}}, {{.Execution}}, {{.Request}}, {{.Link}} and {{.Answer}}, so a title with spaces stays one argument:
Run it at login
- Linux (systemd)
- macOS (launchd)
Save as Put
~/.config/systemd/user/yukta-notify.service, then systemctl --user enable --now yukta-notify:YUKTA_TOKEN=... in ~/.config/yukta/env (mode 600) rather than in the unit.Pick one place for desktop notifications. A browser tab with the Yukta UI open, and
yukta-cli notify, would each raise one for the same item.