mirror of
https://github.com/NCBM/plyngent.git
synced 2026-11-07 07:17:54 +08:00
10402f5be6
`[notify]` decides what the CLI does when a prompt is waiting on the human: `grace_seconds` (default 5s, roughly Claude Code's permission notice) before anything is shown, `min_interval_seconds` between two notifications, `channels` (`auto` = desktop then terminal), `actions` for the allow/deny/review buttons, `include_reason` for the one-line reason, and `protocol` to pin the terminal escape protocol. The reason stays out by default because it names commands, argv and URLs, and a notification outlives the prompt and may be mirrored to a lock screen. Unknown keys degrade to the defaults, the way `[mcp]` does, and `reload()` re-reads the section. Desktop notifications need the optional `notify` extra (`desktop-notifier`), which is the only new dependency and stays off the default install.